/* ============================================================
   Coco — marketing microsite. Premium navy build.
   Fraunces + Inter. Three navy depths, cream, terracotta, sage.
   Mobile-first; WCAG AA; tested 390 + 1280.
   ============================================================ */

:root {
  --bg:        #0F2240;   /* page */
  --card:      #152941;   /* lifted card */
  --card-2:    #1B3050;   /* raised / hover */
  --deep:      #0A1A30;   /* code, footer, phone */
  --cream:     #F5EDE0;
  --cream-hi:  #FBF7EF;
  --ink:       #0A1F3D;   /* on cream */
  --text:      #E7DECF;
  --muted:     #9AABC4;
  --accent:    #E0926A;   /* terracotta on navy */
  --accent-deep:#9C4527;  /* terracotta on cream (AA) */
  --sage:      #7FA582;
  --line:      rgba(245,237,224,0.08);
  --line-soft: rgba(245,237,224,0.05);
  --inner:     rgba(245,237,224,0.09);
  --shadow:    0 1px 2px rgba(0,0,0,.25), 0 18px 50px rgba(0,0,0,.30);
  --r:   22px;
  --r-sm: 13px;
  --serif: "Fraunces", Georgia, serif;
  --sans:  "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --wrap: 1120px;
  --pad: clamp(20px, 5vw, 36px);
  --ease: cubic-bezier(.2,.65,.3,1);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

/* Visible keyboard focus + skip link (WCAG 2.4.7 / 2.4.1) */
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 4px; }
.skip-link { position: absolute; left: 12px; top: -48px; z-index: 100; background: var(--cream); color: var(--ink); font-family: var(--sans); font-weight: 600; font-size: .9rem; padding: 10px 16px; border-radius: 10px; transition: top .18s var(--ease); }
.skip-link:focus { top: 12px; color: var(--ink); }

body {
  margin: 0; font-family: var(--sans); color: var(--text);
  background: var(--bg); line-height: 1.58; font-size: 17px;
  letter-spacing: -0.006em; -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility;
}
body::before {
  content: ""; position: fixed; inset: 0; z-index: 0; pointer-events: none; opacity: .4;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='180' height='180'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2' stitchTiles='stitch'/%3E%3CfeColorMatrix type='saturate' values='0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.03'/%3E%3C/svg%3E");
}
main, .site-header, .site-footer { position: relative; z-index: 1; }

.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 var(--pad); }

h1,h2,h3,h4 { font-family: var(--serif); color: var(--cream-hi); font-weight: 600; line-height: 1.08; letter-spacing: -0.02em; font-optical-sizing: auto; margin: 0; }

a { color: var(--accent); text-decoration: none; transition: color .18s var(--ease); }
a:hover { color: #ECA982; }

::selection { background: rgba(224,146,106,.28); color: var(--cream-hi); }

/* ── Buttons ── */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 9px;
  font-family: var(--sans); font-weight: 600; font-size: 1rem; letter-spacing: -0.01em;
  padding: 15px 28px; border-radius: 14px; border: 1px solid transparent; cursor: pointer; text-decoration: none;
  transition: transform .2s var(--ease), box-shadow .2s var(--ease), background .2s var(--ease), border-color .2s var(--ease), color .18s var(--ease);
}
.btn:hover { text-decoration: none; }
.btn-sm { padding: 9px 16px; font-size: .88rem; border-radius: 11px; }
.btn-primary { background: var(--cream); color: var(--ink); box-shadow: 0 1px 0 rgba(255,255,255,.4) inset, var(--shadow); }
.btn-primary:hover { transform: translateY(-2px); background: var(--cream-hi); }
.btn-ghost { background: transparent; color: var(--cream-hi); border-color: var(--line); }
.btn-ghost:hover { border-color: rgba(245,237,224,.3); color: var(--cream-hi); }
.header-cta { display: none; }

/* ── Badges / misc ── */
.badge { font-family: var(--sans); font-size: .68rem; font-weight: 600; padding: 3px 9px; border-radius: 999px; line-height: 1.4; background: rgba(224,146,106,.16); color: var(--accent); }
.sparkle { color: var(--accent); filter: drop-shadow(0 0 6px rgba(224,146,106,.5)); }

/* ── Header ── */
.site-header { position: sticky; top: 0; z-index: 50; background: rgba(15,34,64,.62); backdrop-filter: saturate(150%) blur(16px); border-bottom: 1px solid var(--line-soft); }
.header-inner { display: flex; align-items: center; gap: 16px; height: 66px; }
.brand { display: flex; align-items: center; gap: 9px; color: var(--cream-hi); font-family: var(--serif); font-weight: 600; font-size: 1.26rem; letter-spacing: -0.02em; }
.brand:hover { color: var(--cream-hi); }
.brand-mark { font-size: 1.1em; }
.nav { display: none; margin-left: auto; gap: 32px; }
.nav a { color: var(--muted); font-weight: 500; font-size: .93rem; }
.nav a:hover { color: var(--cream-hi); }

/* Editorial masthead credit — a quiet "by [author]" line, opposite the wordmark.
   margin-left:auto pushes it to the far right on mobile (where nav/cta are
   hidden); on >=720px the nav's auto-margin already right-clusters the group, so
   the credit just needs spacing after the CTA (see the 720px breakpoint). */
.masthead-credit { margin-left: auto; font-family: var(--serif); font-style: italic; font-weight: 400; font-size: .8rem; color: var(--muted); letter-spacing: .015em; white-space: nowrap; }

/* ── Section rhythm ── */
.section { padding: clamp(72px, 9vw, 124px) 0; }
.section-eyebrow { color: var(--accent); font-weight: 600; font-size: .95rem; margin: 0 0 16px; text-align: center; }
.section-title { font-size: clamp(2rem, 4.6vw, 3.1rem); margin: 0 0 18px; text-align: center; }
.section-lede { max-width: 600px; margin: 0 auto 52px; text-align: center; color: var(--muted); font-size: 1.12rem; }

/* ── Hero ── */
.hero { position: relative; overflow: hidden; padding: clamp(72px, 13vw, 160px) 0 clamp(56px, 9vw, 104px); text-align: center; }
.hero-glow { position: absolute; left: 50%; top: -8%; width: min(900px, 120vw); height: 620px; transform: translateX(-50%);
  background: radial-gradient(54% 60% at 50% 38%, rgba(224,146,106,.16), rgba(224,146,106,0) 70%),
              radial-gradient(70% 70% at 50% 0%, rgba(40,72,128,.55), rgba(15,34,64,0) 72%);
  pointer-events: none; }
.hero-inner { position: relative; }
.eyebrow { color: var(--accent); font-weight: 600; font-size: 1rem; margin: 0 0 24px; }
.eyebrow .sparkle { margin: 0 7px; }
.hero-title { font-size: clamp(3rem, 9.2vw, 6.6rem); line-height: .98; letter-spacing: -0.035em; max-width: 16ch; margin: 0 auto 28px; color: var(--cream-hi); }
.hero-title em { font-style: italic; color: var(--accent); font-weight: 500; }
.hero-lede { max-width: 600px; margin: 0 auto 38px; font-size: clamp(1.15rem, 2.2vw, 1.4rem); color: var(--text); line-height: 1.5; }
.hero-cta { display: flex; flex-direction: column; align-items: center; gap: 14px; margin-bottom: 40px; }
.hero-cta .btn-primary { font-size: 1.05rem; padding: 17px 34px; }
.hero-demo { color: var(--muted); font-size: .9rem; }
.hero-facts { display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; }
.hero-fact { background: var(--card); border: 1px solid var(--inner); border-radius: 999px; padding: 9px 17px; font-size: .88rem; color: var(--text); }

/* word reveal */
.hero-title .word { display: inline-block; }
.reveal-words .word { opacity: 0; transform: translateY(.5em); animation: wordIn .7s var(--ease) forwards; }

/* ── Pick-your-path cards (lane signposts) ── */
.lane-cards { display: grid; grid-template-columns: 1fr; gap: 16px; margin-top: clamp(26px, 4vw, 36px); }
.lane-card { display: flex; flex-direction: column; align-items: flex-start; gap: 10px; color: var(--text); }
.lane-card:hover { color: var(--text); border-color: rgba(224,146,106,.42); }
.lane-card-tier { font-family: var(--serif); font-weight: 600; font-size: 1.4rem; color: var(--cream-hi); margin: 0; }
.lane-card-effort { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin: 0; font-size: .9rem; color: var(--muted); }
.lane-card-desc { margin: 2px 0 0; color: var(--muted); font-size: 1rem; }
.lane-card-need { list-style: none; margin: 6px 0 0; padding: 0; display: flex; flex-direction: column; gap: 5px; font-size: .9rem; color: var(--muted); }
.lane-card-need li { position: relative; padding-left: 20px; }
.lane-card-need li::before { content: ""; position: absolute; left: 3px; top: 6px; width: 5px; height: 9px; border: solid var(--sage); border-width: 0 2px 2px 0; transform: rotate(45deg); }
.lane-card-actions { margin-top: auto; padding-top: 16px; display: flex; align-items: center; gap: 18px; flex-wrap: wrap; }
.lane-card-cta { color: var(--accent); font-weight: 600; font-size: .96rem; transition: color .18s var(--ease); text-decoration: none; }
.lane-card-cta:hover { color: #ECA982; }
.lane-card:hover .lane-card-cta { color: #ECA982; }
.lane-card-repo { color: var(--muted); font-weight: 500; font-size: .9rem; text-decoration: none; transition: color .18s var(--ease); }
.lane-card-repo:hover { color: var(--cream-hi); }

/* ── The problem ── */
.problem { padding: clamp(48px, 7vw, 92px) 0; }
.problem-wrap { max-width: 760px; margin: 0 auto; text-align: center; }
.problem-text { font-family: var(--serif); font-weight: 400; font-size: clamp(1.4rem, 3.2vw, 2.1rem); line-height: 1.32; letter-spacing: -0.02em; color: var(--cream-hi); margin: 0; }
.problem-text em { font-style: italic; color: var(--accent); }

/* ── Benefit cards (pain points + wow moments) ── */
.benefit-grid { display: grid; grid-template-columns: 1fr; gap: 20px; }
.benefit-card { display: flex; flex-direction: column; align-items: flex-start; gap: 14px; padding: 18px; }
/* Screenshot treatment (Phase 1.5): the CAPTURE defines the crop — each shot is
   shown IN FULL (object-fit: contain), never re-cropped by the browser. A
   consistent navy panel with a faint top glow unifies portrait + landscape
   crops into one family; the light shot floats with 13px radius + one soft
   drop-shadow (follows the rounded alpha edge on opaque shots and cut-outs). */
.benefit-shot { width: 100%; aspect-ratio: 4 / 3; border-radius: var(--r); overflow: hidden; display: flex; align-items: center; justify-content: center; padding: clamp(14px, 2.4vw, 22px); border: 1px solid var(--inner); background: radial-gradient(135% 90% at 50% 0%, rgba(224,146,106,.09), transparent 58%), linear-gradient(180deg, #1B3050, #0E2039); }
.benefit-shot .art { max-width: 100%; max-height: 100%; width: auto; height: auto; object-fit: contain; border-radius: var(--r-sm); filter: drop-shadow(0 16px 34px rgba(0,0,0,.42)); display: block; transition: transform .3s var(--ease); }
.benefit-card:hover .benefit-shot .art { transform: translateY(-3px); }
.benefit-label { font-family: var(--serif); font-weight: 600; font-size: 1.22rem; color: var(--cream-hi); margin: 2px 0 0; letter-spacing: -0.015em; }
.benefit-claim { margin: 0; color: var(--muted); font-size: 1rem; line-height: 1.5; }
/* Caption under the second benefit grid — frames the varied screenshots as one
   admin serving different lives (a pro, a parent, a caregiver). */
.set-note { text-align: center; max-width: 620px; margin: clamp(34px, 5vw, 52px) auto 0; color: var(--muted); font-size: .98rem; font-style: italic; font-family: var(--serif); }

/* ── Featured benefit bands (Phase 1.7) — one large legible shot per benefit,
   claim beside it, alternating sides on desktop, shot-over-text on mobile. The
   shot panel reuses the navy/terracotta treatment; each shot is captured 2x and
   cropped tight to the one element that proves the claim. ── */
.band-list { margin-top: clamp(16px, 2.5vw, 28px); }
.band { display: grid; grid-template-columns: 1fr; gap: clamp(20px, 3vw, 30px); align-items: center; margin-bottom: clamp(56px, 8vw, 104px); }
.band:last-child { margin-bottom: 0; }
.band-shot { border-radius: var(--r); border: 1px solid var(--inner); display: flex; align-items: center; justify-content: center; padding: clamp(18px, 3vw, 34px); min-height: 248px;
  background: radial-gradient(135% 90% at 50% 0%, rgba(224,146,106,.09), transparent 58%), linear-gradient(180deg, #1B3050, #0E2039); }
.band-shot .art { max-width: 100%; max-height: 430px; width: auto; height: auto; object-fit: contain; border-radius: var(--r-sm); filter: drop-shadow(0 16px 34px rgba(0,0,0,.42)); display: block; transition: transform .3s var(--ease); }
.band:hover .band-shot .art { transform: translateY(-3px); }
.band-vs { margin: 0 0 14px; font-size: .9rem; font-weight: 500; line-height: 1.45; }
.band-vs .them { color: var(--muted); }
.band-vs .us { color: var(--accent); font-weight: 600; }
.band-title { font-family: var(--serif); font-weight: 600; font-size: clamp(1.5rem, 3vw, 2.1rem); color: var(--cream-hi); margin: 0 0 14px; letter-spacing: -0.02em; line-height: 1.1; }
.band-claim { color: var(--text); font-size: 1.05rem; line-height: 1.55; margin: 0 0 18px; }
.band-proof { margin: 0; padding-left: 14px; border-left: 2px solid rgba(224,146,106,.55); color: var(--muted); font-size: .92rem; line-height: 1.5; }
@media (min-width: 860px) {
  .band { grid-template-columns: 1fr 1fr; gap: clamp(40px, 5vw, 72px); }
  .band-list .band:nth-child(even) .band-shot { order: 2; }
}

/* ── Cards ── */
.card { position: relative; background: var(--card); border: 1px solid var(--inner); border-radius: var(--r); padding: 30px; transition: transform .25s var(--ease), border-color .25s var(--ease), background .25s var(--ease); overflow: hidden; }
.card::after { content: ""; position: absolute; inset: 0; border-radius: inherit; opacity: 0; transition: opacity .25s var(--ease);
  background: radial-gradient(120% 90% at 50% 0%, rgba(224,146,106,.12), transparent 60%); pointer-events: none; }
.card:hover { transform: translateY(-4px); border-color: rgba(245,237,224,.18); background: var(--card-2); }
.card:hover::after { opacity: 1; }

/* ── Capabilities ── */
.cap-grid { display: grid; grid-template-columns: 1fr; gap: 20px; max-width: 880px; margin: 0 auto; align-items: start; }
.cap-col { background: var(--card); border: 1px solid var(--inner); border-radius: var(--r); padding: 30px 32px; }
.cap-col.can { border-top: 2px solid var(--sage); }
.cap-col.next { border-top: 2px solid var(--accent); }
.cap-head { font-family: var(--sans); font-weight: 600; font-size: .92rem; color: var(--cream-hi); margin: 0 0 18px; }
.cap-list { list-style: none; margin: 0; padding: 0; }
.cap-list li { position: relative; padding-left: 26px; margin-bottom: 15px; color: var(--muted); font-size: .98rem; line-height: 1.5; }
.cap-list strong { color: var(--cream-hi); font-weight: 600; }
.cap-list li::before { position: absolute; left: 0; top: 0; font-weight: 700; }
.can .cap-list li::before { content: ""; left: 4px; top: 7px; width: 5px; height: 9px; border: solid var(--sage); border-width: 0 2px 2px 0; transform: rotate(45deg); }
.next .cap-list li::before { content: "→"; color: var(--accent); }
/* "What it never does" column — mirrors .next, with a distinct minus marker. */
.cap-col.never { border-top: 2px solid var(--accent); }
.never .cap-list li::before { content: ""; left: 2px; top: 10px; width: 10px; height: 2px; background: var(--accent); border-radius: 2px; }

/* How it works — keep the numbered step list a readable, CENTERED single column.
   (Higher specificity than `.steps` below, which sets margin:0 and would
   otherwise win on source order and left-align this.) */
.steps.how-steps { max-width: 720px; margin-left: auto; margin-right: auto; }

/* Is-it-safe footnote (SECURITY.md pointer under the two columns). */
.safe-note { text-align: center; max-width: 680px; margin: 40px auto 0; color: var(--muted); font-size: .98rem; }

/* ── Before / cost ── */
.before-block { max-width: 760px; margin: clamp(40px, 5vw, 56px) auto 40px; }
.cost-table { width: 100%; border-collapse: collapse; background: var(--card); border: 1px solid var(--inner); border-radius: var(--r); overflow: hidden; }
.cost-table th, .cost-table td { text-align: left; padding: 15px 22px; border-bottom: 1px solid var(--line-soft); font-size: .98rem; }
.cost-table thead th { background: rgba(0,0,0,.16); font-family: var(--sans); font-size: .8rem; font-weight: 600; color: var(--muted); }
.cost-table tbody td { color: var(--text); }
.cost-table tbody tr:last-child td { border-bottom: none; }
.cost-table tbody tr { transition: background .15s var(--ease); }
.cost-table tbody tr:hover { background: rgba(245,237,224,.025); }
.cost-table .num { font-variant-numeric: tabular-nums; font-feature-settings: "tnum"; font-weight: 600; color: var(--cream-hi); white-space: nowrap; }
.cost-table .per { color: var(--muted); font-weight: 400; }
.cost-table td:nth-child(3) { color: var(--muted); }
.cost-note { text-align: center; margin: 18px 0 0; color: var(--muted); font-size: 1rem; }
.cost-note b { color: var(--cream-hi); }
.callout { display: flex; gap: 14px; align-items: flex-start; padding: 18px 22px; border-radius: var(--r-sm); margin: 26px 0 0; background: rgba(224,146,106,.09); border: 1px solid rgba(224,146,106,.26); }
.callout p { margin: 0; font-size: .96rem; color: var(--text); }
.callout strong { color: var(--cream-hi); }

.privacy-line { text-align: center; max-width: 640px; margin: 0 auto 40px; color: var(--muted); font-size: .98rem; }

/* ── Lane tabs (chip + sliding underline) ── */
.lane-picker { position: relative; display: flex; gap: 6px; max-width: 720px; margin: 0 auto 40px; padding-bottom: 12px; overflow-x: auto; scrollbar-width: none; }
.lane-picker::-webkit-scrollbar { display: none; }
.lane-tab { flex: 1 0 auto; text-align: center; background: transparent; border: 0; cursor: pointer; font-family: var(--sans); color: var(--muted); padding: 8px 16px 14px; display: flex; flex-direction: column; gap: 3px; font-weight: 600; font-size: 1.02rem; transition: color .2s var(--ease); white-space: nowrap; }
.lane-tab span { font-weight: 400; font-size: .8rem; color: var(--muted); opacity: .8; }
.lane-tab:hover { color: var(--text); }
.lane-tab.is-active { color: var(--cream-hi); }
.lane-tab.is-active span { color: var(--accent); opacity: 1; }
.lane-ind { position: absolute; bottom: 6px; height: 2px; background: var(--accent); border-radius: 2px; transition: left .28s var(--ease), width .28s var(--ease); box-shadow: 0 0 10px rgba(224,146,106,.6); }

.lane { max-width: 760px; margin: 0 auto; }
.lane[hidden] { display: none; }
.lane-anim { animation: fadeUp .3s var(--ease); }
.lane-intro { color: var(--muted); margin: 0 0 30px; text-align: center; font-size: 1.05rem; }
.path-label { display: flex; align-items: center; gap: 10px; font-family: var(--serif); font-weight: 600; color: var(--cream-hi); font-size: 1.25rem; margin: 6px 0 18px; }
.path-divider { text-align: center; margin: 44px 0 26px; color: var(--muted); font-size: .95rem; position: relative; }
.path-divider span { background: var(--bg); padding: 0 16px; position: relative; z-index: 1; }
.path-divider::before { content: ""; position: absolute; left: 0; right: 0; top: 50%; height: 1px; background: linear-gradient(90deg, transparent, var(--line), transparent); }

/* ── Steps ── */
.steps { list-style: none; counter-reset: step; padding: 0; margin: 0; }
.step { position: relative; counter-increment: step; padding: 22px 26px 22px 66px; margin-bottom: 14px; background: var(--card); border: 1px solid var(--inner); border-radius: var(--r-sm); transition: border-color .2s var(--ease), background .2s var(--ease); }
.step:hover { border-color: rgba(245,237,224,.16); background: var(--card-2); }
.step::before { content: counter(step); position: absolute; left: 20px; top: 22px; width: 30px; height: 30px; border-radius: 9px; background: rgba(245,237,224,.07); color: var(--cream-hi); border: 1px solid var(--inner); font-family: var(--serif); font-weight: 600; display: grid; place-items: center; font-size: .92rem; }
.step h4 { font-size: 1.1rem; margin: 2px 0 7px; }
.step p { margin: 0; color: var(--muted); font-size: .98rem; }
.step h4 .badge { vertical-align: middle; margin-left: 4px; }

code { font-family: ui-monospace, "SF Mono", Menlo, Consolas, monospace; font-size: .85em; background: rgba(245,237,224,.07); color: var(--cream-hi); padding: 2px 7px; border-radius: 6px; border: 1px solid var(--line-soft); }
kbd { font-family: ui-monospace, "SF Mono", Menlo, Consolas, monospace; font-size: .8em; background: rgba(245,237,224,.09); color: var(--cream-hi); padding: 1px 7px; border-radius: 6px; border: 1px solid var(--line); box-shadow: 0 1.5px 0 rgba(0,0,0,.3); white-space: nowrap; }
.env-list { margin: 12px 0 0; padding: 0; list-style: none; display: flex; flex-wrap: wrap; gap: 8px; }
.env-list code { font-size: .82em; }
.env-note { margin: 12px 0 0; color: var(--muted); font-size: .92rem; }
.how-list { margin: 10px 0 0; padding-left: 20px; }
.how-list li { margin-bottom: 7px; color: var(--muted); font-size: .95rem; }
.sub-list { margin: 10px 0 0; padding-left: 20px; }
.sub-list li { margin-bottom: 7px; color: var(--muted); font-size: .95rem; }
.file-list { list-style: none; padding-left: 0; }

.step details { margin-top: 13px; }
.step summary { cursor: pointer; font-size: .88rem; font-weight: 600; color: var(--accent); list-style: none; display: inline-flex; align-items: center; gap: 7px; }
.step summary::-webkit-details-marker { display: none; }
.step summary::before { content: "›"; font-size: 1.15em; transition: transform .15s var(--ease); }
.step details[open] summary::before { transform: rotate(90deg); }
.step details > p { margin-top: 10px; font-size: .92rem; color: var(--muted); }

.privacy-callout { margin: 16px 0 0; padding: 14px 16px; background: rgba(224,146,106,.08); border: 1px solid rgba(224,146,106,.2); border-radius: var(--r-sm); font-size: .92rem; color: var(--muted); }
.privacy-callout strong { color: var(--cream-hi); }

/* ── Code blocks + copy ── */
.code-wrap { position: relative; }
.code-block { margin: 12px 0 0; padding: 18px 20px; overflow-x: auto; background: var(--deep); border: 1px solid var(--inner); border-radius: var(--r-sm); }
.code-block code { display: block; background: none; border: none; padding: 0; color: #e7eef9; font-size: .82rem; line-height: 1.6; white-space: pre; }
.code-block .c { color: #7e93b3; } .code-block .s { color: #e0b48f; } .code-block .k { color: #9fc0e8; }
.dispatch-brief { margin: 12px 0 0; padding: 18px 20px; background: var(--deep); border: 1px solid var(--inner); border-radius: var(--r-sm); color: #e7eef9; font-family: ui-monospace, Menlo, monospace; font-size: .84rem; line-height: 1.6; white-space: pre-wrap; }
.copy-btn { position: absolute; top: 10px; right: 10px; z-index: 2; background: rgba(245,237,224,.08); border: 1px solid var(--inner); color: var(--muted); font-family: var(--sans); font-size: .72rem; font-weight: 600; padding: 5px 10px; border-radius: 8px; cursor: pointer; transition: all .18s var(--ease); }
.copy-btn:hover { color: var(--cream-hi); background: rgba(245,237,224,.14); }
.copy-btn.done { color: var(--sage); border-color: rgba(127,165,130,.4); }

/* ── FAQ ── */
.qa-list { max-width: 760px; margin: 0 auto; }
.qa-item { background: var(--card); border: 1px solid var(--inner); border-radius: var(--r-sm); margin-bottom: 12px; overflow: hidden; transition: border-color .2s var(--ease); }
.qa-item:hover { border-color: rgba(245,237,224,.16); }
.qa-item summary { cursor: pointer; list-style: none; padding: 19px 24px; font-family: var(--serif); font-weight: 600; color: var(--cream-hi); font-size: 1.08rem; display: flex; justify-content: space-between; align-items: center; gap: 14px; letter-spacing: -0.01em; }
.qa-item summary::-webkit-details-marker { display: none; }
.qa-item summary::after { content: "+"; color: var(--accent); font-size: 1.4rem; line-height: 1; transition: transform .2s var(--ease); }
.qa-item[open] summary::after { transform: rotate(45deg); }
.qa-item .qa-body { padding: 0 24px 20px; color: var(--muted); font-size: .96rem; }
.qa-item .qa-body p { margin: 0; }
.qa-fix { display: inline-block; font-size: .72rem; font-weight: 700; color: var(--sage); margin-right: 7px; text-transform: uppercase; letter-spacing: .03em; }
.trouble-title { text-align: center; font-size: 1.4rem; margin: 56px 0 24px; color: var(--cream-hi); }

/* ── Legal pages (privacy, terms) — long-form editorial prose, navy broadsheet.
   Reuses the palette + serif/sans tokens; a single readable measure (~720px). ── */
.legal { padding: clamp(64px, 9vw, 112px) 0 clamp(56px, 8vw, 96px); }
.legal-wrap { max-width: 760px; margin: 0 auto; }
.legal-head { max-width: 720px; }
.legal-eyebrow { color: var(--accent); font-weight: 600; font-size: .95rem; margin: 0 0 14px; }
.legal-title { font-size: clamp(2.3rem, 5.4vw, 3.4rem); line-height: 1.04; letter-spacing: -0.03em; margin: 0 0 18px; color: var(--cream-hi); }
.legal-meta { color: var(--muted); font-size: .92rem; margin: 0; }
.legal-meta a { color: var(--accent); }
.legal-lede { color: var(--text); font-size: clamp(1.12rem, 1.8vw, 1.24rem); line-height: 1.55; margin: 22px 0 0; }

/* In-page contents — quiet chips that jump to each H2. */
.legal-toc { margin: clamp(34px, 5vw, 48px) 0 0; padding: 22px 24px; background: var(--card); border: 1px solid var(--inner); border-radius: var(--r-sm); }
.legal-toc h2 { font-family: var(--sans); font-size: .78rem; font-weight: 600; letter-spacing: .04em; text-transform: uppercase; color: var(--muted); margin: 0 0 14px; }
.legal-toc ol { list-style: none; margin: 0; padding: 0; counter-reset: toc; columns: 2; column-gap: 32px; }
.legal-toc li { counter-increment: toc; margin-bottom: 8px; font-size: .94rem; break-inside: avoid; }
.legal-toc li::before { content: counter(toc, decimal-leading-zero); color: var(--accent); font-variant-numeric: tabular-nums; margin-right: 10px; font-size: .82em; }
.legal-toc a { color: var(--text); }
.legal-toc a:hover { color: var(--cream-hi); }
@media (max-width: 560px) { .legal-toc ol { columns: 1; } }

.legal-body { margin-top: clamp(40px, 6vw, 64px); }
.legal-body section { scroll-margin-top: 84px; }
.legal-body section + section { margin-top: clamp(40px, 5vw, 56px); }
.legal-body h2 { font-size: clamp(1.5rem, 2.8vw, 1.95rem); line-height: 1.12; letter-spacing: -0.02em; margin: 0 0 16px; color: var(--cream-hi); }
.legal-body h3 { font-family: var(--serif); font-weight: 600; font-size: 1.14rem; letter-spacing: -0.01em; color: var(--cream-hi); margin: 26px 0 8px; }
.legal-body p { color: var(--text); font-size: 1.02rem; line-height: 1.64; margin: 0 0 16px; }
.legal-body p:last-child { margin-bottom: 0; }
.legal-body strong { color: var(--cream-hi); font-weight: 600; }
.legal-body a { color: var(--accent); }
.legal-body ul { list-style: none; margin: 0 0 18px; padding: 0; }
.legal-body ul li { position: relative; padding-left: 24px; margin-bottom: 11px; color: var(--text); font-size: 1.02rem; line-height: 1.55; }
.legal-body ul li::before { content: ""; position: absolute; left: 4px; top: 9px; width: 5px; height: 9px; border: solid var(--sage); border-width: 0 2px 2px 0; transform: rotate(45deg); }
.legal-body ul.legal-x li::before { border-color: var(--accent); width: 10px; height: 2px; top: 11px; left: 2px; background: var(--accent); transform: none; }
.legal-body ul li strong { color: var(--cream-hi); }
/* Third-party / scope rows — term then explanation on one line. */
.legal-body dl { margin: 0 0 18px; }
.legal-body dl div { padding: 14px 0; border-bottom: 1px solid var(--line-soft); }
.legal-body dl div:first-child { border-top: 1px solid var(--line-soft); }
.legal-body dt { font-family: var(--serif); font-weight: 600; color: var(--cream-hi); font-size: 1.04rem; margin-bottom: 5px; }
.legal-body dd { margin: 0; color: var(--muted); font-size: .97rem; line-height: 1.55; }
.legal-body dd a { color: var(--accent); }
.legal-updated { margin-top: clamp(44px, 6vw, 64px); padding-top: 24px; border-top: 1px solid var(--line); color: var(--muted); font-size: .92rem; }

/* ── Pricing page — one prominent plan card on the navy broadsheet, reusing the
   palette + serif/sans tokens. Centered hero, a single lifted card with the
   included list, a quiet trust strip, the shared FAQ, then a final CTA strip. ── */
.pricing { padding: clamp(56px, 8vw, 104px) 0 clamp(8px, 2vw, 24px); }
.pricing-head { max-width: 640px; margin: 0 auto clamp(40px, 5vw, 56px); text-align: center; }
.pricing-title { font-size: clamp(2.6rem, 6vw, 4rem); line-height: 1.02; letter-spacing: -0.03em; color: var(--cream-hi); margin: 0 0 18px; }
.pricing-sub { color: var(--muted); font-size: clamp(1.12rem, 1.9vw, 1.28rem); line-height: 1.5; margin: 0; }

.plan-card { position: relative; max-width: 560px; margin: 0 auto; background: var(--card); border: 1px solid var(--inner); border-top: 2px solid var(--accent); border-radius: var(--r); padding: clamp(28px, 4vw, 42px); text-align: center; box-shadow: var(--shadow); }
.plan-name { font-family: var(--serif); font-weight: 600; font-size: 1.5rem; color: var(--cream-hi); margin: 0; letter-spacing: -0.015em; }
.plan-price { margin: 12px 0 0; line-height: 1; }
.plan-amount { font-family: var(--serif); font-weight: 600; font-size: clamp(3rem, 7vw, 4rem); color: var(--cream-hi); letter-spacing: -0.03em; }
.plan-period { font-family: var(--sans); font-weight: 500; font-size: 1.05rem; color: var(--muted); letter-spacing: -0.01em; }
.plan-trial { margin: 14px 0 0; color: var(--text); font-size: 1.02rem; }
.plan-pill-row { margin: 14px 0 0; }
.plan-pill { display: inline-block; font-family: var(--sans); font-size: .74rem; font-weight: 600; letter-spacing: .02em; padding: 5px 13px; border-radius: 999px; background: rgba(224,146,106,.16); color: var(--accent); }
.plan-value { max-width: 430px; margin: 22px auto 0; color: var(--muted); font-size: 1rem; line-height: 1.55; }
.plan-cta { margin-top: 26px; width: 100%; max-width: 320px; font-size: 1.05rem; padding: 17px 34px; }
.plan-included { margin-top: clamp(26px, 4vw, 34px); padding-top: clamp(24px, 3.5vw, 30px); border-top: 1px solid var(--line); text-align: left; }
.plan-included-head { font-family: var(--sans); font-weight: 600; font-size: .92rem; color: var(--cream-hi); margin: 0 0 18px; }
.plan-list { list-style: none; margin: 0; padding: 0; }
.plan-list li { position: relative; padding-left: 28px; margin-bottom: 14px; color: var(--text); font-size: 1rem; line-height: 1.5; }
.plan-list li:last-child { margin-bottom: 0; }
.plan-list li::before { content: ""; position: absolute; left: 5px; top: 7px; width: 5px; height: 9px; border: solid var(--sage); border-width: 0 2px 2px 0; transform: rotate(45deg); }

.trust-strip { max-width: 560px; margin: clamp(28px, 4vw, 36px) auto 0; text-align: center; }
.trust-strip p { margin: 0 0 8px; color: var(--muted); font-size: .92rem; line-height: 1.5; }
.trust-strip .trust-links { margin-top: 6px; }
.trust-strip .trust-links a { color: var(--accent); font-weight: 500; }

/* FAQ block sits tighter to the plan card on the pricing page. */
.pricing-faq { padding-top: clamp(48px, 7vw, 88px); }

/* Final CTA strip — a calm serif call, button beneath, in a softly glowing card. */
.cta-section { padding: 0 0 clamp(72px, 9vw, 124px); }
.cta-strip { max-width: 680px; margin: 0 auto; text-align: center; display: flex; flex-direction: column; align-items: center; gap: 24px; padding: clamp(36px, 5vw, 52px) clamp(24px, 4vw, 44px); border: 1px solid var(--inner); border-radius: var(--r);
  background: radial-gradient(135% 120% at 50% 0%, rgba(224,146,106,.10), transparent 60%), var(--card); }
.cta-text { font-family: var(--serif); font-weight: 500; font-size: clamp(1.5rem, 3.2vw, 2.1rem); line-height: 1.18; letter-spacing: -0.02em; color: var(--cream-hi); margin: 0; max-width: 20ch; }
.cta-strip .btn-primary { font-size: 1.05rem; padding: 17px 34px; }

/* ── Help center — an index of section cards over the navy broadsheet, and
   focused article pages that reuse the legal prose measure. Same palette +
   serif/sans tokens; warm, calm, plain. ── */
.help-index { padding: clamp(56px, 8vw, 104px) 0 clamp(64px, 9vw, 112px); }
.help-head { max-width: 640px; margin: 0 auto clamp(40px, 5vw, 56px); text-align: center; }
.help-eyebrow { color: var(--accent); font-weight: 600; font-size: .95rem; margin: 0 0 14px; }
.help-title { font-size: clamp(2.6rem, 6vw, 4rem); line-height: 1.02; letter-spacing: -0.03em; color: var(--cream-hi); margin: 0 0 18px; }
.help-sub { color: var(--muted); font-size: clamp(1.12rem, 1.9vw, 1.28rem); line-height: 1.5; margin: 0; }

.help-sections { display: grid; grid-template-columns: 1fr; gap: 20px; max-width: 900px; margin: 0 auto; }
.help-card { background: var(--card); border: 1px solid var(--inner); border-top: 2px solid var(--accent); border-radius: var(--r); padding: 28px 30px; transition: border-color .25s var(--ease), background .25s var(--ease); }
.help-card:hover { border-color: rgba(245,237,224,.18); background: var(--card-2); }
.help-card-title { font-family: var(--serif); font-weight: 600; font-size: 1.32rem; color: var(--cream-hi); margin: 0 0 4px; letter-spacing: -0.015em; }
.help-card-blurb { color: var(--muted); font-size: .94rem; margin: 0 0 18px; line-height: 1.5; }
.help-card-list { list-style: none; margin: 0; padding: 0; }
.help-card-list li { position: relative; padding-left: 22px; margin-bottom: 12px; line-height: 1.45; }
.help-card-list li:last-child { margin-bottom: 0; }
.help-card-list li::before { content: ""; position: absolute; left: 3px; top: 7px; width: 5px; height: 9px; border: solid var(--sage); border-width: 0 2px 2px 0; transform: rotate(45deg); }
.help-card-list a { color: var(--text); font-size: 1rem; font-weight: 500; }
.help-card-list a:hover { color: var(--accent); }

/* ── Changelog: a calm, single-column shipping log. Date kicker (tracked,
   uppercase) over a serif headline, Inter body, a coral tag pill. ── */
.changelog { padding: clamp(56px, 8vw, 104px) 0 clamp(64px, 9vw, 112px); }
.changelog-wrap { max-width: 720px; margin: 0 auto; }
.changelog-head { max-width: 640px; margin: 0 0 clamp(40px, 5vw, 56px); }
.changelog-eyebrow { color: var(--accent); font-weight: 600; font-size: .95rem; margin: 0 0 14px; }
.changelog-title { font-size: clamp(2.6rem, 6vw, 4rem); line-height: 1.02; letter-spacing: -0.03em; color: var(--cream-hi); margin: 0 0 18px; }
.changelog-sub { color: var(--muted); font-size: clamp(1.12rem, 1.9vw, 1.28rem); line-height: 1.5; margin: 0; }

.cl-marker { font-family: var(--serif); font-weight: 600; font-size: 1.18rem; color: var(--cream-hi); letter-spacing: -0.015em; margin: clamp(40px, 5vw, 56px) 0 6px; padding-bottom: 14px; border-bottom: 1px solid var(--line); }
.cl-marker:first-of-type { margin-top: 0; }

.cl-entry { padding: clamp(28px, 4vw, 38px) 0; border-bottom: 1px solid var(--line-soft); }
.cl-entry:last-of-type { border-bottom: 0; }
.cl-date { font-family: var(--sans); font-weight: 600; font-size: .76rem; letter-spacing: .09em; text-transform: uppercase; color: var(--muted); margin: 0 0 10px; }
.cl-headline { font-family: var(--serif); font-weight: 600; font-size: clamp(1.4rem, 3vw, 1.85rem); line-height: 1.1; letter-spacing: -0.02em; color: var(--cream-hi); margin: 0 0 12px; }
.cl-body { color: var(--text); font-size: 1.04rem; line-height: 1.62; margin: 0 0 16px; }
.cl-tags { margin: 0; }
.cl-tag { display: inline-block; font-family: var(--sans); font-size: .74rem; font-weight: 600; letter-spacing: .02em; padding: 5px 13px; border-radius: 999px; background: rgba(224,146,106,.16); color: var(--accent); }

.cl-footnote { color: var(--muted); font-size: .98rem; line-height: 1.55; margin: clamp(40px, 5vw, 56px) 0 0; padding-top: 28px; border-top: 1px solid var(--line); }
.cl-footnote a { color: var(--accent); }

/* Article pages reuse .legal / .legal-body. These add the breadcrumb, the
   "Was this helpful?" footer, and the related-articles list. */
.help-breadcrumb { font-size: .9rem; color: var(--muted); margin: 0 0 18px; }
.help-breadcrumb a { color: var(--accent); }
.help-breadcrumb span.sep { margin: 0 8px; color: var(--line); }
.help-breadcrumb span.here { color: var(--muted); }

.help-feedback { margin-top: clamp(44px, 6vw, 64px); padding-top: 28px; border-top: 1px solid var(--line); display: flex; flex-wrap: wrap; align-items: center; gap: 16px; }
.help-feedback-q { font-family: var(--serif); font-weight: 600; color: var(--cream-hi); font-size: 1.04rem; margin: 0; }
.help-feedback-btns { display: flex; gap: 10px; }
.help-thumb { font-family: var(--sans); font-weight: 600; font-size: .9rem; color: var(--text); background: rgba(245,237,224,.06); border: 1px solid var(--inner); border-radius: 11px; padding: 9px 20px; cursor: pointer; transition: border-color .18s var(--ease), background .18s var(--ease), color .18s var(--ease); }
.help-thumb:hover { border-color: rgba(224,146,106,.42); color: var(--cream-hi); }
.help-thumb.is-picked { border-color: var(--sage); color: var(--cream-hi); background: rgba(127,165,130,.12); }
.help-feedback-thanks { color: var(--sage); font-size: .94rem; margin: 0; }

.help-related { margin-top: clamp(40px, 5vw, 56px); }
.help-related-head { font-family: var(--sans); font-weight: 600; font-size: .78rem; letter-spacing: .04em; text-transform: uppercase; color: var(--muted); margin: 0 0 16px; }
.help-related-list { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: 1fr; gap: 10px; }
.help-related-list li { position: relative; padding-left: 22px; }
.help-related-list li::before { content: "→"; position: absolute; left: 0; top: 0; color: var(--accent); }
.help-related-list a { color: var(--text); font-weight: 500; font-size: 1rem; }
.help-related-list a:hover { color: var(--accent); }

@media (min-width: 720px) {
  .help-sections { grid-template-columns: 1fr 1fr; }
  .help-related-list { grid-template-columns: 1fr 1fr; column-gap: 28px; }
}

/* ── Blog: a quiet reading surface. Index reuses the changelog rhythm; the
   post itself is a narrow column — Fraunces headings, Inter body, a tracked
   date kicker over the title, a small byline, and generous line height. ── */
.blog-index { padding: clamp(56px, 8vw, 104px) 0 clamp(64px, 9vw, 112px); }
.blog-wrap { max-width: 720px; margin: 0 auto; }
.blog-head { max-width: 640px; margin: 0 0 clamp(40px, 5vw, 56px); }
.blog-eyebrow { color: var(--accent); font-weight: 600; font-size: .95rem; margin: 0 0 14px; }
.blog-title { font-size: clamp(2.6rem, 6vw, 4rem); line-height: 1.02; letter-spacing: -0.03em; color: var(--cream-hi); margin: 0 0 18px; }
.blog-sub { color: var(--muted); font-size: clamp(1.12rem, 1.9vw, 1.28rem); line-height: 1.5; margin: 0; }

.post-list { list-style: none; margin: 0; padding: 0; }
.post-card { border-top: 1px solid var(--line); }
.post-card:last-child { border-bottom: 1px solid var(--line); }
.post-card-link { display: block; padding: clamp(28px, 4vw, 38px) 0; }
.post-card-date { font-family: var(--sans); font-weight: 600; font-size: .76rem; letter-spacing: .09em; text-transform: uppercase; color: var(--muted); margin: 0 0 10px; }
.post-card-title { font-family: var(--serif); font-weight: 600; font-size: clamp(1.5rem, 3.2vw, 2rem); line-height: 1.1; letter-spacing: -0.02em; color: var(--cream-hi); margin: 0 0 12px; transition: color .2s var(--ease); }
.post-card-link:hover .post-card-title { color: var(--accent); }
.post-card-excerpt { color: var(--text); font-size: 1.04rem; line-height: 1.62; margin: 0 0 14px; }
.post-card-more { font-family: var(--sans); font-weight: 600; font-size: .9rem; color: var(--accent); }

/* The post: a comfortable ~640px reading column. */
.post { padding: clamp(56px, 8vw, 104px) 0 clamp(56px, 8vw, 96px); }
.post-wrap { max-width: 640px; margin: 0 auto; }
.post-breadcrumb { font-size: .9rem; color: var(--muted); margin: 0 0 26px; }
.post-breadcrumb a { color: var(--accent); }
.post-breadcrumb span.sep { margin: 0 8px; color: var(--line); }
.post-breadcrumb span.here { color: var(--muted); }

.post-head { margin: 0 0 clamp(36px, 5vw, 52px); }
.post-kicker { font-family: var(--sans); font-weight: 600; font-size: .82rem; letter-spacing: .1em; text-transform: uppercase; color: var(--accent); margin: 0 0 16px; }
.post-title { font-size: clamp(2.3rem, 5.4vw, 3.4rem); line-height: 1.04; letter-spacing: -0.03em; color: var(--cream-hi); margin: 0 0 16px; }
.post-byline { font-family: var(--sans); color: var(--muted); font-size: .98rem; margin: 0; }
.post-lede { color: var(--text); font-size: clamp(1.12rem, 1.8vw, 1.24rem); line-height: 1.6; margin: 22px 0 0; }

.post-body { color: var(--text); }
.post-body p { font-size: 1.08rem; line-height: 1.75; margin: 0 0 22px; }
.post-body h2 { font-family: var(--serif); font-weight: 600; font-size: clamp(1.5rem, 2.8vw, 1.95rem); line-height: 1.14; letter-spacing: -0.02em; color: var(--cream-hi); margin: clamp(40px, 5vw, 52px) 0 18px; }
.post-body em { font-style: italic; color: var(--cream-hi); }
.post-body strong { color: var(--cream-hi); font-weight: 600; }
.post-body a { color: var(--accent); }

.post-subscribe { margin-top: clamp(44px, 6vw, 64px); padding-top: 28px; border-top: 1px solid var(--line); }
.post-subscribe p { color: var(--muted); font-size: 1rem; line-height: 1.55; margin: 0; }
.post-subscribe a { color: var(--accent); font-weight: 500; }

.post-nav { margin-top: clamp(32px, 4vw, 44px); }
.post-nav a { color: var(--text); font-weight: 500; font-size: 1rem; }
.post-nav a:hover { color: var(--accent); }

/* ── Footer ── */
.site-footer { background: var(--deep); padding: 40px 0; border-top: 1px solid var(--line-soft); }
.footer-inner { display: flex; flex-direction: column; gap: 18px; align-items: flex-start; }
.footer-brand { display: flex; align-items: center; gap: 8px; font-family: var(--serif); color: var(--cream-hi); font-weight: 600; font-size: 1.1rem; }
.footer-links { list-style: none; margin: 0; padding: 0; display: flex; gap: 24px; }
.footer-links a { color: var(--muted); font-size: .92rem; }
.footer-links a:hover { color: var(--cream-hi); }

/* ── Reveal ── */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity .6s var(--ease), transform .6s var(--ease); }
.reveal.in { opacity: 1; transform: none; }

@keyframes wordIn { to { opacity: 1; transform: none; } }
@keyframes fadeUp { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }

/* ── Responsive ── */
@media (min-width: 720px) {
  .nav { display: flex; }
  .header-cta { display: inline-flex; }
  .masthead-credit { margin-left: 18px; }
  .cap-grid { grid-template-columns: 1fr 1fr; }
  .footer-inner { flex-direction: row; justify-content: space-between; align-items: center; }
  .lane-cards { grid-template-columns: repeat(3, 1fr); gap: 20px; }
  .benefit-grid { grid-template-columns: repeat(3, 1fr); gap: 22px; }
}
@media (max-width: 560px) {
  .hero-cta .btn-primary { width: 100%; max-width: 320px; }
  /* Calmer mobile hero type scale: a quiet kicker, a headline that breathes,
     a clear step down to the lede — fewer competing sizes than the desktop clamp. */
  .hero .eyebrow { font-size: .82rem; line-height: 1.5; letter-spacing: .01em; margin-bottom: 18px; }
  .hero-title { font-size: 2.55rem; line-height: 1.06; letter-spacing: -0.02em; margin-bottom: 22px; }
  .hero-lede { font-size: 1.08rem; line-height: 1.55; margin-bottom: 32px; }
}

@media (prefers-reduced-motion: reduce) {
  * { scroll-behavior: auto !important; transition: none !important; animation: none !important; }
  .reveal { opacity: 1; transform: none; }
  .reveal-words .word { opacity: 1; transform: none; }
}
