/* wellfolded.com: shared site styles, ported from the approved prototype (docs/prototype/site.css),
   values from the Wellfolded design system. Cream only, no dark mode.
   Text floor on the site is 16px: nothing rendered smaller, including captions, chips and legal tables.
   App screenshots render at 90% or more of their capture width so the text inside them stays readable.
   The prototype's artboard container queries are ordinary media queries here (max-width: 760px). */
@font-face { font-family: "Spectral"; font-weight: 400; font-style: normal; font-display: swap; src: url("fonts/spectral-latin-400-normal.woff2") format("woff2"); }
@font-face { font-family: "Spectral"; font-weight: 500; font-style: normal; font-display: swap; src: url("fonts/spectral-latin-500-normal.woff2") format("woff2"); }
@font-face { font-family: "Inter"; font-weight: 400; font-style: normal; font-display: swap; src: url("fonts/inter-latin-400-normal.woff2") format("woff2"); }
@font-face { font-family: "Inter"; font-weight: 500; font-style: normal; font-display: swap; src: url("fonts/inter-latin-500-normal.woff2") format("woff2"); }
@font-face { font-family: "Inter"; font-weight: 600; font-style: normal; font-display: swap; src: url("fonts/inter-latin-600-normal.woff2") format("woff2"); }
@font-face { font-family: "Castoro"; font-weight: 400; font-style: normal; font-display: swap; src: url("fonts/castoro-latin-400-normal.woff2") format("woff2"); }

:root {
  --bg: #FCF9F4; --surface: #FFFFFF; --stage: #FFFFFF; --sunken: #F0EDE8;
  --text: #1C1C19; --text-2: #434843; --border: #DCD8CF; --dash: #C7C2B6;
  --navy: #17281C; --navy-hover: #22382A; --on-navy: #FFFFFF; --brass: #944936;
  --burgundy: #6E1F2B; --hunter: #2D4630; --placeholder-ink: #6B6F69; --lane: rgba(23,40,28,0.035);
  --shadow-1: 0 1px 2px rgba(30,24,16,0.03), 0 4px 20px rgba(30,24,16,0.05);
  --shadow-2: 0 2px 4px rgba(30,24,16,0.04), 0 10px 30px rgba(30,24,16,0.08);
  --font-display: "Spectral", Georgia, serif;
  --font-body: "Inter", system-ui, sans-serif;
  --font-wordmark: "Castoro", Georgia, serif;
  --ease: cubic-bezier(.2,0,0,1);
}

html { background: var(--bg); }
body { margin: 0; background: var(--bg); color: var(--text); font: 400 16px/1.55 var(--font-body); -webkit-font-smoothing: antialiased; }
a { color: var(--navy); }
a:hover { color: var(--navy-hover); text-decoration-color: var(--brass); }
:focus-visible { outline: 2px solid var(--brass); outline-offset: 2px; }
[hidden] { display: none !important; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

.wrap { max-width: 1200px; margin: 0 auto; padding: 0 40px; box-sizing: border-box; }

/* header */
.hdr { border-bottom: 1px solid var(--border); background: var(--bg); }
.hdr__row { height: 72px; display: flex; align-items: center; gap: 24px; }
.lockup { display: inline-flex; align-items: baseline; gap: 10px; font: 400 28px/1 var(--font-wordmark); letter-spacing: -.015em; color: var(--text); text-decoration: none; white-space: nowrap; padding: 12px 0; margin: -12px 0; }
.lockup:hover { color: var(--text); }
.lockup svg { width: 30px; height: auto; color: var(--navy); fill: currentColor; margin-bottom: -1.4px; flex: none; }
.nav { margin-left: auto; display: flex; align-items: center; gap: 28px; }
.nav a.navlink { font: 600 16px/1 var(--font-body); color: var(--text-2); text-decoration: none; min-height: 44px; display: inline-flex; align-items: center; }
.nav a.navlink:hover { color: var(--navy); text-decoration: underline; text-decoration-color: var(--brass); text-underline-offset: 4px; text-decoration-thickness: 1.5px; }
.nav a.navlink[aria-current="page"] { color: var(--navy); }

/* buttons */
.btn { appearance: none; cursor: pointer; font: 600 16px/1.5 var(--font-body); display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 52px; padding: 0 24px; border-radius: 12px; border: 1px solid transparent; text-decoration: none; white-space: nowrap; box-sizing: border-box; transition: background 160ms var(--ease), transform 120ms var(--ease); }
.btn--primary { background: var(--navy); color: var(--on-navy); border-color: var(--navy); }
.btn--primary:hover { background: var(--navy-hover); color: var(--on-navy); }
.btn--primary:active { transform: translateY(1px); }
.btn--ghost { background: var(--bg); color: var(--text); border-color: var(--border); }
.btn--ghost:hover { background: var(--sunken); }
.btn--sm { min-height: 44px; padding: 0 18px; font-size: 16px; }
.btn:disabled { cursor: default; opacity: .72; }
.textlink { font: 600 16px/1.3 var(--font-body); color: var(--navy); text-decoration: none; display: inline-flex; align-items: center; gap: 6px; min-height: 44px; }
.textlink:hover { text-decoration: underline; text-decoration-color: var(--brass); text-decoration-thickness: 1.5px; text-underline-offset: 3px; }
.textlink--button { background: none; border: 0; padding: 0; cursor: pointer; }

/* type */
.h1 { font: 400 60px/1.06 var(--font-display); letter-spacing: -.02em; margin: 0; text-wrap: balance; }
.h2 { font: 400 40px/1.12 var(--font-display); letter-spacing: -.015em; margin: 0; text-wrap: balance; }
.h3 { font: 400 28px/1.2 var(--font-display); letter-spacing: -.01em; margin: 0; text-wrap: balance; }
.lede { font: 400 19px/1.55 var(--font-body); color: var(--text-2); margin: 0; max-width: 34em; }
.body { font: 400 16px/1.6 var(--font-body); color: var(--text-2); margin: 0; }
.small { font: 400 16px/1.45 var(--font-body); color: var(--text-2); margin: 0; }
.prose { max-width: 68ch; }
.prose p, .prose li { font: 400 17px/1.7 var(--font-body); color: var(--text); }
.prose h2 { font: 400 30px/1.2 var(--font-display); margin: 48px 0 12px; }
.prose h3 { font: 600 17px/1.4 var(--font-body); margin: 28px 0 6px; }

/* fields */
.field { display: grid; gap: 8px; }
.field label { font: 600 16px/1.3 var(--font-body); color: var(--text-2); }
.input { width: 100%; box-sizing: border-box; min-height: 52px; padding: 0 16px; background: var(--surface); border: 1px solid var(--border); border-radius: 12px; font: 400 16px/1.3 var(--font-body); color: var(--text); }
.input::placeholder { color: var(--placeholder-ink); font-size: 17px; }
.input:focus { outline: none; border-color: var(--navy); box-shadow: 0 0 0 1px var(--navy); }
.joinform { display: flex; gap: 10px; max-width: 520px; }
.joinform .input { flex: 1 1 auto; min-width: 0; }
.trap { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.join { display: grid; gap: 10px; }
.joinerr { margin: 0; font: 600 16px/1.45 var(--font-body); color: var(--burgundy); max-width: 520px; }

/* cards and stage */
.card { background: var(--surface); border: 1px solid var(--border); border-radius: 16px; }
.shot { display: block; width: 100%; height: auto; border-radius: 16px; border: 1px solid var(--border); background: var(--stage); }
.shot-crop { overflow: hidden; border-radius: 16px; border: 1px solid var(--border); background: var(--stage); }
.shot-crop img { display: block; width: 100%; height: auto; }

/* hero */
.hero { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); gap: 56px; align-items: center; padding: 56px 0 64px; }
.hero__copy { display: grid; gap: 24px; align-content: center; }
.hero__visual { display: flex; justify-content: center; }
.hero__visual .shot-crop { width: 100%; max-width: 380px; box-shadow: var(--shadow-2); }
.confirm { display: flex; gap: 12px; align-items: flex-start; padding: 16px 18px; border-radius: 12px; background: var(--surface); border: 1px solid var(--border); max-width: 520px; box-sizing: border-box; }
.confirm svg { flex: none; width: 22px; height: 22px; color: var(--navy); margin-top: 2px; }

/* stories */
.section { padding: 72px 0; border-top: 1px solid var(--border); }
.section__head { display: grid; gap: 12px; margin-bottom: 40px; max-width: 720px; }
.stories { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 56px 40px; }
.story { display: grid; gap: 12px; align-content: start; }
.story .shot-crop { aspect-ratio: 4 / 5; }
.story .shot-crop img { height: 100%; object-fit: cover; object-position: top; }
.story h3 { font: 400 30px/1.2 var(--font-display); margin: 12px 0 0; letter-spacing: -.012em; }
.story .body { max-width: 40ch; }

/* trust */
.trust { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 48px; align-items: start; }
.trust__points { display: grid; gap: 0; }
.point { display: flex; gap: 14px; padding: 18px 0; border-top: 1px solid var(--border); }
.point:first-child { border-top: 0; padding-top: 0; }
.point svg { flex: none; width: 20px; height: 20px; color: var(--navy); margin-top: 3px; fill: none; stroke: currentColor; stroke-width: 1.75; stroke-linecap: round; stroke-linejoin: round; }

/* access band */
.access { background: var(--navy); color: var(--on-navy); border-radius: 20px; padding: 48px; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 40px; align-items: center; }
.access .h2 { color: var(--on-navy); }
.access .body { color: rgba(255,255,255,.82); }
.access .input { border-color: transparent; }
.btn--cream { background: var(--bg); color: var(--navy); border-color: var(--bg); }
.btn--cream:hover { background: #fff; color: var(--navy); }
.access .small { color: rgba(255,255,255,.78); }

/* faq */
.faq { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 0 48px; }
.faq details { border-top: 1px solid var(--border); }
.faq details:last-child { border-bottom: 1px solid var(--border); }
.faq summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; gap: 16px; align-items: center; min-height: 64px; font: 600 17px/1.4 var(--font-body); color: var(--text); }
.faq summary::-webkit-details-marker { display: none; }
.faq summary svg { flex: none; width: 20px; height: 20px; fill: none; stroke: var(--text-2); stroke-width: 1.75; stroke-linecap: round; transition: transform 160ms var(--ease); }
.faq details[open] summary svg { transform: rotate(45deg); }
.faq details p { margin: 0 0 20px; font: 400 16px/1.6 var(--font-body); color: var(--text-2); max-width: 46ch; }

/* final + footer */
.final { text-align: center; display: grid; gap: 20px; justify-items: center; padding: 96px 0; border-top: 1px solid var(--border); }
.ftr { border-top: 1px solid var(--border); padding: 40px 0 48px; }
.ftr__row { display: flex; flex-wrap: wrap; gap: 12px 28px; align-items: center; }
.ftr__links { display: flex; flex-wrap: wrap; gap: 4px 24px; margin-left: auto; }
.ftr__links a { font: 500 16px/1 var(--font-body); color: var(--text-2); text-decoration: none; min-height: 44px; display: inline-flex; align-items: center; }
.ftr__links a:hover { color: var(--navy); text-decoration: underline; text-decoration-color: var(--brass); text-underline-offset: 4px; }
.ftr .lockup { font-size: 22px; }
.ftr .lockup svg { width: 24px; }

/* utility pages */
.page-head { padding: 64px 0 32px; display: grid; gap: 16px; max-width: 760px; }
.two-col { display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr); gap: 56px; align-items: start; padding-bottom: 80px; }
.aside { padding: 28px; display: grid; gap: 16px; }
.steps { display: flex; gap: 8px; align-items: center; flex-wrap: wrap; }
.step { display: inline-flex; align-items: center; gap: 8px; min-height: 36px; padding: 0 14px; border-radius: 999px; font: 500 16px/1 var(--font-body); color: var(--text-2); background: var(--sunken); }
.step.is-on { background: var(--navy); color: var(--on-navy); }
.step.is-done { background: var(--surface); border: 1px solid var(--border); color: var(--navy); }
.datatable { width: 100%; border-collapse: collapse; font: 400 16px/1.5 var(--font-body); }
.datatable th { text-align: left; font: 600 16px/1.3 var(--font-body); color: var(--text-2); padding: 12px 16px 12px 0; border-bottom: 1px solid var(--border); }
.datatable td { padding: 14px 16px 14px 0; border-bottom: 1px solid var(--border); vertical-align: top; color: var(--text); }
.tablebox { overflow-x: auto; }
.toc { display: grid; gap: 2px; position: sticky; top: 24px; }
.toc a { font: 500 16px/1.3 var(--font-body); color: var(--text-2); text-decoration: none; min-height: 44px; display: flex; align-items: center; padding: 0 12px; border-radius: 8px; }
.toc a:hover { background: var(--sunken); color: var(--navy); }
.crumb { font: 500 16px/1 var(--font-body); color: var(--text-2); text-decoration: none; display: inline-flex; align-items: center; gap: 6px; min-height: 44px; }
.placeholder { background: #F6E9E3; color: var(--brass); border-radius: 4px; padding: 0 4px; font-weight: 600; }

/* phone width */
@media (max-width: 760px) {
  .wrap { padding: 0 16px; }
  .hdr__row { height: 60px; gap: 12px; }
  .lockup { font-size: 22px; }
  .lockup svg { width: 24px; }
  .nav { gap: 16px; }
  .nav .navlink.hide-sm { display: none; }
  .h1 { font-size: 40px; }
  .h2 { font-size: 30px; }
  .lede { font-size: 17px; }
  .hero { grid-template-columns: minmax(0, 1fr); gap: 32px; padding: 32px 0 48px; }
  .hero__visual .shot-crop { max-width: 300px; }
  .joinform { flex-direction: column; }
  .joinform .btn { width: 100%; }
  .section { padding: 48px 0; }
  .section__head { margin-bottom: 28px; }
  .stories { grid-template-columns: minmax(0, 1fr); gap: 40px; }
  .story h3 { font-size: 24px; }
  .trust, .access, .faq, .two-col { grid-template-columns: minmax(0, 1fr); gap: 28px; }
  .faq { gap: 0; }
  .faq > div:first-child:not(:last-child) details:last-child { border-bottom: 0; }
  .access { padding: 28px 20px; border-radius: 16px; }
  .final { padding: 64px 0; }
  .ftr__links { margin-left: 0; }
  .page-head { padding: 36px 0 20px; }
  .toc { display: none; }
  .prose p, .prose li { font-size: 16px; }
  .prose h2 { font-size: 26px; margin-top: 36px; }
}
@media (prefers-reduced-motion: reduce) { *, *::before, *::after { transition: none !important; } }
@media (prefers-reduced-motion: no-preference) { html { scroll-behavior: smooth; } }
#plan, #join { scroll-margin-top: 12px; }

/* ---- Home v2: banded sections, plan-it/wear-it, callouts, AI ---- */
.band { padding: 96px 0; }
.band--cream { background: var(--bg); }
.band--white { background: #FFFFFF; border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }
.band--sand { background: #F4F0E9; }
.band--forest { background: var(--navy); color: #FFFFFF; }
.kicker { font: 600 16px/1.3 var(--font-body); color: var(--navy); margin: 0; }
.band--forest .kicker { color: #D9C3A5; }
.band__head { display: grid; gap: 14px; max-width: 760px; margin-bottom: 48px; }
.lede--lg { font-size: 20px; }

.heroimg { position: relative; width: 100%; max-width: 470px; justify-self: end; margin-bottom: 40px; }
.photo { border-radius: 18px; overflow: hidden; aspect-ratio: 4 / 5; background: #E9E4DA; }
.photo img { width: 100%; height: 100%; object-fit: cover; display: block; }
.heroimg .photo { box-shadow: var(--shadow-2); }
.minicard { position: absolute; left: -64px; bottom: -40px; width: 220px; background: #FFFFFF; border: 1px solid var(--border); border-radius: 16px; padding: 10px 10px 14px; box-shadow: var(--shadow-2); display: grid; gap: 8px; box-sizing: border-box; }
.minicard .stage { border-radius: 10px; }
.minicard__t { font: 600 16px/1.3 var(--font-body); margin: 2px 4px 0; }
.minicard__s { font: 400 16px/1.3 var(--font-body); color: var(--text-2); margin: 0 4px; }
@media (min-width: 761px) and (max-width: 1366px) { .heroimg { max-width: 440px; } }
.strip { height: 10px; border-radius: 5px; box-shadow: inset 0 0 0 1px rgba(28,28,25,.12); margin: 0 4px; }

/* The scene plate is an <img> under the garments (lazy, srcset) where the
   prototype used a CSS background; it covers and centers the same way. */
.stage { position: relative; aspect-ratio: 4 / 5; border-radius: 16px; border: 1px solid var(--border); background-color: #FFFFFF; overflow: hidden; }
.stage .scene { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center; display: block; }
.stage .g { position: absolute; height: auto; display: block; }
.stage.has-scene .g { filter: drop-shadow(0 8px 12px rgba(0,0,0,.32)); }

.benefits { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 48px; }
.benefit { display: grid; gap: 10px; align-content: start; }
.benefit .ico-tile { width: 48px; height: 48px; border-radius: 14px; background: #EEF1EC; color: var(--navy); display: grid; place-items: center; }
.benefit h2 { font: 400 26px/1.25 var(--font-display); letter-spacing: -.01em; margin: 6px 0 0; }

.planbar { display: flex; flex-wrap: wrap; gap: 16px 24px; align-items: center; justify-content: space-between; margin-bottom: 24px; }
.seg { display: inline-flex; flex-wrap: wrap; padding: 4px; gap: 4px; border-radius: 14px; background: #E8E3D9; }
.seg--moments { justify-self: start; }
.segb { appearance: none; cursor: pointer; font: 500 16px/1 var(--font-body); min-height: 44px; padding: 0 18px; border: 1px solid transparent; border-radius: 10px; background: transparent; color: var(--text-2); transition: background 160ms var(--ease), box-shadow 160ms var(--ease); }
.segb[aria-pressed="true"] { background: #FFFFFF; border-color: var(--border); color: var(--text); font-weight: 600; box-shadow: var(--shadow-1); }
.plan { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 32px; }
.plan__col { display: grid; gap: 14px; align-content: start; }
.plan__label { font: 600 16px/1.3 var(--font-body); color: var(--text-2); margin: 0; display: flex; align-items: center; gap: 10px; }
.plan__label .dot { width: 10px; height: 10px; border-radius: 50%; background: var(--navy); }
.piecechips { display: flex; flex-wrap: wrap; gap: 8px; }
.pchip { display: inline-flex; align-items: center; min-height: 38px; padding: 0 14px; border-radius: 999px; background: #FFFFFF; border: 1px solid var(--border); font: 400 16px/1 var(--font-body); color: var(--text); }
.pchip--acc { border-color: #CDBFA8; background: #FBF6EE; }

.feature { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 80px; align-items: center; }
.feature--flip .shotwrap { order: 2; }
.shotwrap { position: relative; width: 400px; max-width: 100%; justify-self: center; }
.shotwrap img { display: block; width: 100%; height: auto; border-radius: 22px; border: 1px solid var(--border); box-shadow: var(--shadow-2); background: var(--bg); box-sizing: border-box; }
.marker { position: absolute; width: 36px; height: 36px; border-radius: 50%; background: var(--navy); color: #FFFFFF; font: 600 16px/36px var(--font-body); text-align: center; transform: translate(-50%, -50%); box-shadow: 0 0 0 3px #FFFFFF, var(--shadow-2); }
.calls { list-style: none; margin: 0; padding: 0; display: grid; }
.calls li { display: flex; gap: 16px; padding: 20px 0; border-top: 1px solid var(--border); }
.calls li:first-child { border-top: 0; padding-top: 4px; }
.calls .num { flex: none; width: 36px; height: 36px; border-radius: 50%; background: var(--navy); color: #FFFFFF; font: 600 16px/36px var(--font-body); text-align: center; }
.calls .t { display: grid; gap: 4px; font: 400 17px/1.5 var(--font-body); color: var(--text-2); }
.calls .t b { font-weight: 600; color: var(--text); font-size: 18px; }

.ai-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }
.ai-card { background: #22382A; border: 1px solid rgba(255,255,255,.12); border-radius: 18px; padding: 30px; display: grid; gap: 12px; align-content: start; }
.ai-card h3 { font: 400 28px/1.2 var(--font-display); color: #FFFFFF; margin: 4px 0 0; letter-spacing: -.01em; }
.ai-card p { font: 400 17px/1.6 var(--font-body); color: rgba(255,255,255,.84); margin: 0; }
.ai-card .ask { font: 400 17px/1.5 var(--font-display); color: #FFFFFF; background: rgba(255,255,255,.07); border-radius: 12px; padding: 12px 16px; }
.ai-icon { width: 48px; height: 48px; border-radius: 14px; background: rgba(255,255,255,.09); display: grid; place-items: center; color: #FFFFFF; }
.ai-icon svg, .benefit svg { width: 24px; height: 24px; fill: none; stroke: currentColor; stroke-width: 1.75; stroke-linecap: round; stroke-linejoin: round; }
.tag { display: inline-flex; align-items: center; min-height: 32px; padding: 0 12px; border-radius: 999px; border: 1px solid rgba(255,255,255,.32); color: #FFFFFF; font: 500 16px/1 var(--font-body); justify-self: start; }
.tag--plus { background: #E9D9BF; border-color: #E9D9BF; color: var(--navy); font-weight: 600; }
.band--forest .lede { color: rgba(255,255,255,.84); }
.band--forest .h2 { color: #FFFFFF; }
.ai-note { margin-top: 28px; font: 400 17px/1.5 var(--font-body); color: rgba(255,255,255,.84); }

.finalcard { background: var(--navy); color: #FFFFFF; border-radius: 22px; padding: 56px; display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); gap: 48px; align-items: center; }
.finalcard .h2 { color: #FFFFFF; }
.finalcard .body, .finalcard .small { color: rgba(255,255,255,.84); }
.finalcard .input { border-color: transparent; }
.finalcard .joinerr { color: #FFFFFF; }

@media (max-width: 760px) {
  .band { padding: 56px 0; }
  .band__head { margin-bottom: 28px; }
  .lede--lg { font-size: 18px; }
  /* On a phone the planned-outfit card sits under the photo, never on it:
     floated over the photo it covered the woman's outfit and face. The stage
     takes the left column; the strip, name and day stack beside it. */
  .heroimg { justify-self: center; max-width: 100%; margin-bottom: 0; }
  .minicard { position: static; width: 100%; margin-top: 12px; padding: 10px; grid-template-columns: 104px minmax(0, 1fr); grid-template-rows: auto auto 1fr; column-gap: 14px; row-gap: 6px; align-items: start; }
  .minicard .stage { grid-column: 1; grid-row: 1 / span 3; }
  .minicard .strip { grid-column: 2; grid-row: 1; margin: 10px 0 0; }
  .minicard__t { grid-column: 2; grid-row: 2; margin: 4px 0 0; }
  .minicard__s { grid-column: 2; grid-row: 3; margin: 0; }
  .benefits, .plan, .feature, .ai-grid, .finalcard { grid-template-columns: minmax(0, 1fr); gap: 28px; }
  .feature--flip .shotwrap { order: 0; }
  /* SPEC 3: screenshots never under 90% of their 400px width, so the phone
     rule is the full column (380px at 412) where the artboard had 92%. */
  .shotwrap { width: 100%; max-width: 400px; }
  .ai-card { padding: 24px; }
  .ai-card h3 { font-size: 24px; }
  .finalcard { padding: 28px 20px; border-radius: 18px; }
  .planbar { flex-direction: column; align-items: stretch; }
  .planbar .seg, .seg--moments { display: grid; grid-auto-flow: column; grid-auto-columns: minmax(0, 1fr); justify-self: stretch; }
  .planbar .seg .segb, .seg--moments .segb { white-space: normal; line-height: 1.25; padding: 6px 10px; min-height: 52px; }
  /* The artboard's inline padding: 0 on the hero wrap (meant to cancel the
     hero's vertical padding) also removed the side gutter; on a phone that
     put the text against the screen edge, so the gutter comes back here. */
  .wrap.hero { padding-left: 16px !important; padding-right: 16px !important; }
  /* Lockup, Support and the CTA overran the 412px row by 13px; a tighter
     nav gap and button padding fit them inside the gutter. */
  .nav { gap: 12px; }
  .hdr .btn--sm { padding: 0 12px; }
}
/* Narrower than 400px the three still cannot fit: Support stays in the footer. */
@media (max-width: 400px) {
  .nav a.navlink { display: none; }
}



/* ==== Content pages: support, about, guides, privacy, terms, 404 ====
   One appended block, built from the Support, About, Guide and Privacy
   artboards. The 16px text floor holds here too, including the legal
   tables and the app template's fine print. */
.h1--page { font-size: 52px; }
.not-found { min-height: 40vh; align-content: start; }
.faq--single { grid-template-columns: minmax(0, 1fr); }
.aside__links { display: grid; border-top: 1px solid var(--border); padding-top: 8px; }
.founder-note { padding: 28px; border: 1px dashed var(--dash); border-radius: 16px; }
.press-tiles { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.press-tile { aspect-ratio: 1; display: grid; place-items: center; overflow: hidden; border-radius: 16px; border: 1px solid var(--border); background: var(--stage); }
.press-tile svg { width: 56%; height: auto; color: var(--navy); fill: currentColor; }
.press-tile img { display: block; width: 64%; height: auto; }
/* guides: the Guide artboard's article plus side column. The side column is
   360px at desktop and the full 380px on a phone, so the capture never
   renders under 90% of its capture width. */
.guide { display: flex; flex-wrap: wrap; gap: 56px; padding: 40px 0 96px; align-items: flex-start; }
.guide__main { flex: 999 1 560px; min-width: 0; max-width: 704px; display: grid; gap: 24px; }
.guide__copy { display: grid; gap: 24px; }
.guide .prose { display: grid; gap: 16px; }
.guide .prose > * { margin: 0; }
.guide .prose ul { padding-left: 22px; display: grid; gap: 10px; }
.guide__invite { padding: 24px 28px; display: flex; flex-wrap: wrap; gap: 16px 24px; align-items: center; justify-content: space-between; }
.guide__invite p { flex: 1 1 280px; margin: 0; font: 400 17px/1.6 var(--font-body); color: var(--text); }
.guide__aside { flex: 1 1 360px; min-width: 0; max-width: 400px; display: grid; gap: 20px; }
.guide__shot { aspect-ratio: 520 / 620; }
.guide__more { display: grid; gap: 4px; }
.guide__more-t { margin: 0; font: 600 16px/1.45 var(--font-body); color: var(--text); }
.guide-index { max-width: 760px; padding-bottom: 96px; }
.guide-list { list-style: none; margin: 0; padding: 0; display: grid; }
.guide-list li { display: grid; gap: 6px; padding: 24px 0; border-top: 1px solid var(--border); }
.guide-list a { color: var(--text); text-decoration: none; display: inline-flex; align-items: center; min-height: 44px; }
.guide-list a:hover { color: var(--navy); text-decoration: underline; text-decoration-color: var(--brass); text-decoration-thickness: 1.5px; text-underline-offset: 4px; }

/* privacy and terms: the Privacy artboard's contents list beside a 68ch body.
   The app template's data table sits in an overflow box (it scrolls inside
   the box on a phone, never the page) and its fine print and table type are
   brought up to the 16px floor. */
.legal { display: flex; flex-wrap: wrap; gap: 48px; padding-bottom: 96px; align-items: flex-start; }
.legal .toc { flex: 0 0 220px; }
.legal__body.prose { flex: 999 1 560px; min-width: 0; max-width: 860px; }
.legal__body > :not(.tablebox) { max-width: 68ch; }
.legal__body h2 { scroll-margin-top: 24px; }
.legal__body p { margin: 0 0 16px; overflow-wrap: break-word; }
.legal__body ul { margin: 0 0 16px; padding-left: 22px; }
.legal__body li { margin: 0 0 8px; overflow-wrap: break-word; }
.legal__body strong { font-weight: 600; }
.legal__body .legal-fine-print { font-size: 17px; }
.legal__body .tablebox { margin: 0 0 24px; border: 1px solid var(--border); border-radius: 12px; background: linear-gradient(90deg, #FFFFFF 30%, rgba(255,255,255,0)) 0 0 / 40px 100% no-repeat local, linear-gradient(270deg, #FFFFFF 30%, rgba(255,255,255,0)) 100% 0 / 40px 100% no-repeat local, linear-gradient(90deg, rgba(28,28,25,.10), rgba(28,28,25,0)) 0 0 / 14px 100% no-repeat scroll, linear-gradient(270deg, rgba(28,28,25,.10), rgba(28,28,25,0)) 100% 0 / 14px 100% no-repeat scroll, #FFFFFF; }
.legal-data { width: 100%; min-width: 760px; border-collapse: collapse; font: 400 16px/1.5 var(--font-body); }
.legal-data th { text-align: left; font: 600 16px/1.3 var(--font-body); color: var(--text-2); padding: 14px 16px; border-bottom: 1px solid var(--border); vertical-align: bottom; }
.legal-data td { padding: 14px 16px; border-bottom: 1px solid var(--border); vertical-align: top; color: var(--text); font-size: 16px; }
.legal-data tr:last-child td { border-bottom: 0; }
.legal-data td:first-child { font-weight: 600; }

@media (max-width: 760px) {
  .h1--page { font-size: 40px; }
  .legal { padding-bottom: 64px; }
  .legal__body .legal-fine-print { font-size: 16px; }
  .guide { gap: 40px; padding: 24px 0 64px; }
  .guide__invite { padding: 20px; }
  .guide-index { padding-bottom: 64px; }
}
