/* Printpile marketing site. Tokens from the Claude Design canvas (brand-system). */
:root {
  --ink: #1B1A1F;
  --paper: #F6F1EA;
  --pink: #E84A7A;      /* Collage Pink: mark and graphics only */
  --pink-600: #CF3566;  /* buttons */
  --coral: #FF8A5B;
  --sun: #FFD27A;
  --kraft: #C9A27A;
  --link: #B42A57;
  --link-hover: #8E1F44;
  --text-2: #3A3640;
  --text-3: #4A4650;
  --text-4: #5E5964;
  --pink-tint: #FFE8EF;
  --line: rgba(27, 26, 31, .12);
  --display: 'Bricolage Grotesque', Inter, system-ui, sans-serif;
  --body: Inter, system-ui, -apple-system, 'Segoe UI', sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--body);
  overflow-x: hidden;
}
img { display: block; max-width: 100%; height: auto; }
a { color: var(--link); }
a:hover { color: var(--link-hover); }
h1, h2, h3 { font-family: var(--display); margin: 0; }
p { margin: 0; }
:focus-visible { outline: 3px solid rgba(207, 53, 102, .5); outline-offset: 3px; }
.sr-only {
  position: absolute; width: 1px; height: 1px; overflow: hidden;
  clip: rect(0 0 0 0); white-space: nowrap;
}
.skip {
  position: absolute; left: 16px; top: -60px; z-index: 10;
  background: var(--ink); color: #fff; padding: 10px 16px; border-radius: 12px;
}
.skip:focus { top: 12px; }

.wrap { max-width: 1200px; margin: 0 auto; padding-left: 24px; padding-right: 24px; }

/* ---------- Header ---------- */
.site-header {
  padding-top: 20px; padding-bottom: 20px;
  display: flex; flex-wrap: wrap; align-items: center; gap: 16px 32px;
}
.brand {
  display: flex; align-items: center; gap: 10px;
  color: var(--ink); text-decoration: none;
  font-family: var(--display); font-weight: 800; font-size: 20px; letter-spacing: -0.3px;
}
.brand:hover { color: var(--ink); }
.main-nav {
  display: flex; flex-wrap: wrap; gap: 4px 24px; flex: 1;
  font-size: 15px; font-weight: 500;
}
.main-nav a { color: var(--text-2); text-decoration: none; }
.main-nav a:hover { color: var(--ink); }
.main-nav a[aria-current="page"] { color: var(--ink); font-weight: 700; }
.btn-header {
  height: 44px; padding: 0 20px; border-radius: 22px;
  background: var(--ink); color: #fff; text-decoration: none;
  display: flex; align-items: center; font-weight: 600; font-size: 15px;
}
.btn-header:hover { color: #fff; background: #000; }

.menu-toggle { display: none; }

/* Mobile header: brand, CTA and a menu button on one row; links in a drop-down card. */
@media (max-width: 759px) {
  .site-header { position: relative; flex-wrap: nowrap; gap: 8px; padding-top: 14px; padding-bottom: 14px; }
  .brand { flex: 1; min-width: 0; }
  .btn-header { height: 40px; padding: 0 16px; border-radius: 20px; font-size: 14px; white-space: nowrap; }
  .menu-toggle {
    display: inline-flex; align-items: center; justify-content: center; flex: 0 0 auto;
    width: 44px; height: 44px; padding: 0; border-radius: 22px;
    border: 1.5px solid rgba(27, 26, 31, .18); background: #fff; color: var(--ink); cursor: pointer;
  }
  .menu-toggle path { transition: transform .2s ease, opacity .2s ease; transform-origin: 12px 12px; }
  .is-open .menu-toggle { background: var(--ink); border-color: var(--ink); color: #fff; }
  .is-open .menu-toggle .l1 { transform: translateY(5px) rotate(45deg); }
  .is-open .menu-toggle .l2 { opacity: 0; }
  .is-open .menu-toggle .l3 { transform: translateY(-5px) rotate(-45deg); }

  /* Without JS the toggle is useless, so keep the links visible as a wrapped row. */
  html:not(.js) .site-header { flex-wrap: wrap; }
  html:not(.js) .menu-toggle { display: none; }
  html:not(.js) .main-nav { order: 3; flex-basis: 100%; }

  .js .main-nav {
    display: none;
    position: absolute; z-index: 20; left: 16px; right: 16px; top: calc(100% - 4px);
    flex-direction: column; gap: 0; padding: 8px;
    background: #fff; border-radius: 28px;
    box-shadow: 0 24px 50px rgba(60, 25, 40, .18), 0 0 0 1px rgba(27, 26, 31, .06);
  }
  .js .is-open .main-nav { display: flex; animation: menu-in .18s ease-out; }
  .js .main-nav a {
    display: flex; align-items: center; min-height: 52px; padding: 0 18px; border-radius: 20px;
    font-size: 17px; font-weight: 600; color: var(--ink);
  }
  .js .main-nav a:hover, .js .main-nav a:active { background: var(--paper); }
  .js .main-nav a[aria-current="page"] { background: var(--pink-tint); color: #6B1F3D; }
}
@media (max-width: 759px) and (prefers-reduced-motion: reduce) {
  .js .is-open .main-nav { animation: none; }
  .menu-toggle path { transition: none; }
}
@media (max-width: 349px) {
  .btn-header { display: none; }
}
@keyframes menu-in { from { opacity: 0; transform: translateY(-6px); } to { opacity: 1; transform: none; } }

/* ---------- Buttons ---------- */
.btn {
  height: 56px; padding: 0 26px; border-radius: 28px;
  display: inline-flex; align-items: center; gap: 10px;
  font-weight: 600; font-size: 17px; text-decoration: none;
}
.btn-primary { background: var(--pink-600); color: #fff; box-shadow: 0 12px 28px rgba(207, 53, 102, .3); }
.btn-primary:hover { color: #fff; background: #BC2C59; }
.btn-outline { padding: 0 24px; border: 1.5px solid var(--ink); color: var(--ink); }
.btn-outline:hover { color: var(--ink); background: rgba(27, 26, 31, .05); }

/* ---------- Shared type ---------- */
.h-section { font-size: clamp(34px, 4vw, 52px); line-height: 1; font-weight: 800; letter-spacing: -0.03em; }
.lede { font-size: 17px; line-height: 1.5; color: var(--text-3); }

/* ---------- Hero ---------- */
.hero {
  padding-top: 48px; padding-bottom: 96px;
  display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 440px), 1fr));
  gap: 48px; align-items: center;
}
.hero-copy { display: flex; flex-direction: column; gap: 24px; }
.hero h1 { font-size: clamp(46px, 7vw, 88px); line-height: .95; font-weight: 800; letter-spacing: -0.04em; }
.hero-sub { font-size: clamp(18px, 1.6vw, 21px); line-height: 1.5; color: var(--text-3); max-width: 520px; }
.cta-row { display: flex; flex-wrap: wrap; gap: 12px; }

.pile { position: relative; width: 100%; max-width: 560px; aspect-ratio: 1 / 1; justify-self: center; }
.pile .print {
  position: absolute; object-fit: cover; border-radius: 14px; border: 6px solid #fff;
  box-shadow: 0 24px 50px rgba(60, 25, 40, .22);
}
.pile .p-polaroid { left: 2%; top: 10%; width: 36%; aspect-ratio: 9 / 16; transform: rotate(-10deg); }
.pile .p-taped { right: 0; top: 30%; width: 42%; aspect-ratio: 1 / 1; transform: rotate(8deg); }
.pile .p-scrap { left: 24%; top: 2%; width: 48%; aspect-ratio: 4 / 5; box-shadow: 0 30px 60px rgba(60, 25, 40, .3); }
.share-chip {
  position: absolute; left: 20%; bottom: 6%;
  padding: 12px 16px; border-radius: 20px;
  background: rgba(255, 255, 255, .7);
  -webkit-backdrop-filter: blur(18px) saturate(180%); backdrop-filter: blur(18px) saturate(180%);
  border: 1px solid rgba(255, 255, 255, .9);
  box-shadow: 0 16px 40px rgba(60, 25, 40, .18);
  display: flex; align-items: center; gap: 12px;
}
.share-chip span { display: flex; flex-direction: column; font-size: 14px; }
.share-chip strong { font-weight: 700; }
.share-chip small { font-size: 14px; color: var(--text-3); }

/* ---------- How it works ---------- */
.how { padding-bottom: 112px; display: flex; flex-direction: column; gap: 40px; }
.how .h-section { max-width: 680px; }
.steps {
  margin: 0; padding: 0; list-style: none;
  display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 260px), 1fr)); gap: 16px;
}
.card { background: #fff; border-radius: 28px; padding: 28px; }
.step { display: flex; flex-direction: column; gap: 14px; }
.step-num { font-family: var(--display); font-size: 56px; font-weight: 800; line-height: 1; color: var(--pink-600); }
.step h3 { font-size: 22px; font-weight: 700; }
.step p { font-size: 16px; line-height: 1.5; color: var(--text-3); }

/* ---------- Looks ---------- */
.looks { background: var(--ink); color: var(--paper); padding: 104px 24px; }
.looks-inner { max-width: 1200px; margin: 0 auto; display: flex; flex-direction: column; gap: 48px; }
.looks-head { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 16px 48px; }
.looks-head .h-section { max-width: 620px; }
.looks-head p { font-size: 17px; line-height: 1.5; color: #CFC8D2; max-width: 420px; }
.looks-grid {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 240px), 1fr));
  gap: 20px; align-items: start;
}
.look { margin: 0; display: flex; flex-direction: column; gap: 14px; }
.look img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; border-radius: 16px; }
.look figcaption { display: flex; flex-direction: column; gap: 4px; }
.look strong { font-size: 18px; }
.look span { font-size: 15px; color: #B9B1BD; }

/* ---------- Sizes ---------- */
.sizes {
  padding-top: 112px; padding-bottom: 112px;
  display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 380px), 1fr));
  gap: 48px; align-items: center;
}
.sizes-copy { display: flex; flex-direction: column; gap: 16px; }
.sizes-copy .lede { max-width: 460px; }
.shapes { display: flex; align-items: flex-end; gap: clamp(10px, 2vw, 20px); }
.shape { display: flex; flex-direction: column; gap: 10px; min-width: 0; }
.shape-box {
  border-radius: 14px; border: 2px solid var(--ink); background: #fff;
  display: flex; align-items: center; justify-content: center;
  font-family: var(--display); font-size: clamp(20px, 2.4vw, 30px); font-weight: 800;
}
.shape-label { font-size: 14px; color: var(--text-3); }
.shape-label strong { color: var(--ink); }

/* ---------- Privacy band ---------- */
.privacy-band { padding-bottom: 112px; }
.privacy-card {
  background: #fff; border-radius: 36px; padding: clamp(28px, 5vw, 64px);
  display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 320px), 1fr)); gap: 40px;
}
.privacy-card h2 { font-size: clamp(32px, 3.6vw, 48px); line-height: 1.02; font-weight: 800; letter-spacing: -0.03em; }
.checks { margin: 0; padding: 0; list-style: none; display: flex; flex-direction: column; gap: 20px; }
.checks li { display: flex; gap: 14px; align-items: flex-start; }
.checks svg { flex: 0 0 auto; margin-top: 2px; }
.checks span { font-size: 17px; line-height: 1.45; }

/* ---------- Pricing ---------- */
.pricing { padding-bottom: 112px; display: flex; flex-direction: column; gap: 40px; }
.plans { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 320px), 1fr)); gap: 16px; }
.plan { border-radius: 32px; padding: 32px; display: flex; flex-direction: column; gap: 20px; }
.plan-free { border: 2px solid var(--ink); }
.plan-pro { background: var(--ink); color: var(--paper); }
.plan-head { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; flex-wrap: wrap; }
.plan h3 { font-size: 26px; font-weight: 800; }
.plan-price { font-size: 18px; font-weight: 600; }
.plan ul { margin: 0; padding: 0 0 0 20px; display: flex; flex-direction: column; gap: 10px; font-size: 16px; line-height: 1.4; color: var(--text-2); }
.plan-pro ul { color: #E4DEE6; }
.plan-note { margin-top: -8px; font-size: 15px; line-height: 1.4; color: #CFC8D2; }
.plan-note strong { color: #fff; font-weight: 600; }
.btn-pro {
  margin-top: auto; align-self: flex-start; height: 48px; padding: 0 22px; border-radius: 24px;
  background: var(--pink-600); color: #fff; text-decoration: none;
  display: flex; align-items: center; font-weight: 600;
}
.btn-pro:hover { color: #fff; background: #BC2C59; }

/* ---------- Android waitlist ---------- */
.android { padding-bottom: 96px; }
.android-card {
  background: var(--pink-600); color: #fff; border-radius: 36px; padding: clamp(28px, 5vw, 64px);
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 24px;
}
.android-copy { display: flex; flex-direction: column; gap: 10px; max-width: 560px; }
.android-copy h2 { font-size: clamp(30px, 3.4vw, 46px); line-height: 1.02; font-weight: 800; letter-spacing: -0.03em; }
.android-copy p { font-size: 17px; line-height: 1.5; color: #FFE3EC; }
.waitlist { display: flex; flex-wrap: wrap; gap: 10px; flex: 1 1 320px; max-width: 460px; min-width: 0; }
.waitlist input {
  flex: 1 1 200px; min-width: 0; height: 52px; border-radius: 26px; border: 0; padding: 0 20px;
  font: inherit; font-size: 16px; color: var(--ink); background: #fff;
}
.waitlist input:focus-visible { outline: 3px solid var(--ink); outline-offset: 2px; }
.waitlist button {
  height: 52px; padding: 0 22px; border-radius: 26px; border: 0;
  background: var(--ink); color: #fff; font: inherit; font-weight: 600; font-size: 16px; cursor: pointer;
}
.waitlist button:focus-visible { outline: 3px solid #fff; outline-offset: 2px; }

/* ---------- Footer ---------- */
.site-footer {
  padding-top: 32px; padding-bottom: 48px; border-top: 1px solid var(--line);
  display: flex; flex-wrap: wrap; justify-content: space-between; gap: 16px;
  font-size: 14px; color: var(--text-3);
}
.site-footer nav { display: flex; flex-wrap: wrap; gap: 8px 24px; }

/* ---------- Document pages (privacy, terms, support) ---------- */
.doc-main { padding-top: 48px; padding-bottom: 96px; }
.doc { max-width: 720px; margin: 0 auto; display: flex; flex-direction: column; gap: 28px; }
.doc-head { display: flex; flex-direction: column; gap: 12px; }
.doc-date { font-size: 14px; font-weight: 600; color: var(--text-4); }
.doc h1, .doc-title { font-size: clamp(40px, 6vw, 64px); line-height: 1; font-weight: 800; letter-spacing: -0.03em; }
.doc-intro { font-size: 18px; line-height: 1.6; color: var(--text-3); }
.doc-section { display: flex; flex-direction: column; gap: 10px; }
.doc-section h2 { font-size: 26px; font-weight: 800; }
.doc-section p, .doc-section ul { font-size: 17px; line-height: 1.65; color: var(--text-2); }
.doc-section ul { margin: 0; padding-left: 22px; display: flex; flex-direction: column; gap: 8px; }
.doc-section.contact { border-top: 1px solid var(--line); padding-top: 24px; }
.summary-card { display: flex; flex-direction: column; gap: 14px; }
.summary-card h2 { font-size: 22px; font-weight: 800; }
.summary-card ul { margin: 0; padding: 0; list-style: none; display: flex; flex-direction: column; gap: 12px; font-size: 16px; line-height: 1.5; }
.summary-card li { display: flex; gap: 12px; align-items: flex-start; }
.summary-card svg { flex: 0 0 auto; margin-top: 1px; }
.draft-note {
  padding: 12px 16px; border-radius: 14px; background: var(--pink-tint);
  color: #6B1F3D; font-size: 15px; font-weight: 600;
}
.doc-section a, .doc-intro a { overflow-wrap: anywhere; }

/* ---------- Support ---------- */
.support-main { display: flex; flex-direction: column; gap: 48px; }
.support-col { max-width: 720px; margin: 0 auto; width: 100%; }
.faq { display: flex; flex-direction: column; gap: 12px; }
.faq > h2 { margin: 0 0 4px; font-size: 26px; font-weight: 800; }
.faq details { background: #fff; border-radius: 22px; padding: 20px 24px; }
.faq summary {
  list-style: none; cursor: pointer;
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  font-size: 17px; font-weight: 700;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary:focus-visible { outline: 3px solid rgba(207, 53, 102, .5); outline-offset: 4px; border-radius: 12px; }
.faq .chev { flex: 0 0 auto; transition: transform .2s ease; }
.faq details[open] .chev { transform: rotate(180deg); }
.faq details p { margin-top: 12px; font-size: 16px; line-height: 1.6; color: var(--text-2); }
.contact-card {
  background: var(--ink); color: var(--paper); border-radius: 32px; padding: clamp(24px, 4vw, 40px);
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 20px;
}
.contact-card div { display: flex; flex-direction: column; gap: 6px; max-width: 420px; }
.contact-card h2 { font-size: 28px; font-weight: 800; }
.contact-card p { font-size: 16px; line-height: 1.5; color: #D9D2DC; }
.btn-mail {
  height: 52px; padding: 0 22px; border-radius: 26px; max-width: 100%;
  background: var(--pink-600); color: #fff; text-decoration: none;
  display: flex; align-items: center; font-weight: 600; font-size: 16px;
}
.btn-mail:hover { color: #fff; background: #BC2C59; }
