/* Naturalize — "the quiet ledger", for the web.
   Warm paper, confident ink, one harbor accent. Serif for figures and titles only.
   Colors mirror Naturalize/Design/Theme.swift. */

:root {
  --paper: #F6F3EC;
  --card: #FFFDF8;
  --sunk: #ECE7DC;
  --ink: #1C1A17;
  --ink2: #5F5A51;
  --ink3: #857F74;
  --rule: rgba(28, 26, 23, .14);
  --rule-soft: rgba(28, 26, 23, .08);
  --harbor: #1F4E5F;
  --harbor-deep: #173E4C;
  --harbor-wash: rgba(31, 78, 95, .10);
  --on-harbor: #F6F3EC;
  --amber: #875A0A;
  --amber-wash: rgba(135, 90, 10, .12);
  --brick: #A23B2A;
  --brick-wash: rgba(162, 59, 42, .10);
  --fern: #2E6845;
  --fern-wash: rgba(46, 104, 69, .12);
  --bezel: #1C1A17;
  --shadow-phone: 0 40px 80px -36px rgba(23, 62, 76, .45), 0 18px 36px -24px rgba(28, 26, 23, .35);
  --shadow-card: 0 1px 0 rgba(28, 26, 23, .04), 0 18px 40px -28px rgba(28, 26, 23, .28);
  --header-bg: rgba(246, 243, 236, .82);

  --serif: ui-serif, "New York", "Iowan Old Style", "Palatino Linotype", Palatino, Georgia, serif;
  --sans: -apple-system, BlinkMacSystemFont, "SF Pro Text", "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;

  --wrap: 1120px;
  --gutter: clamp(16px, 4vw, 32px);
  --radius: 22px;
  color-scheme: light dark;
}

@media (prefers-color-scheme: dark) {
  :root {
    --paper: #141311;
    --card: #1F1D1A;
    --sunk: #1A1816;
    --ink: #EFEBE3;
    --ink2: #ACA597;
    --ink3: #8A8478;
    --rule: rgba(239, 235, 227, .14);
    --rule-soft: rgba(239, 235, 227, .08);
    --harbor: #86BCCF;
    --harbor-deep: #A9D3E2;
    --harbor-wash: rgba(134, 188, 207, .12);
    --on-harbor: #141311;
    --amber: #E2B565;
    --amber-wash: rgba(226, 181, 101, .14);
    --brick: #EE9581;
    --brick-wash: rgba(238, 149, 129, .12);
    --fern: #86C9A0;
    --fern-wash: rgba(134, 201, 160, .14);
    --bezel: #2E2B27;
    --shadow-phone: 0 40px 80px -36px rgba(0, 0, 0, .8), 0 0 0 1px rgba(239, 235, 227, .06);
    --shadow-card: 0 0 0 1px rgba(239, 235, 227, .05), 0 18px 40px -28px rgba(0, 0, 0, .7);
    --header-bg: rgba(20, 19, 17, .8);
  }
}

/* ---------- Base ---------- */

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 88px; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font: 17px/1.6 var(--sans);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
img, svg { display: block; max-width: 100%; }
a { color: var(--harbor); text-underline-offset: .18em; text-decoration-thickness: 1px; }
a:hover { text-decoration-thickness: 2px; }
:focus-visible { outline: 2px solid var(--harbor); outline-offset: 3px; border-radius: 6px; }
::selection { background: var(--harbor-wash); }
p { margin: 0 0 1em; }
h1, h2, h3 { font-family: var(--serif); font-weight: 600; letter-spacing: -.01em; margin: 0; color: var(--ink); text-wrap: balance; }
.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gutter); }
.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: -48px; z-index: 100; background: var(--ink); color: var(--paper); padding: 8px 14px; border-radius: 999px; }
.skip:focus { top: 12px; }

/* The signature: a double harbor rule. */
.double-rule { height: 5px; border-top: 1.5px solid var(--harbor); border-bottom: 1.5px solid var(--harbor); }

.eyebrow {
  font: 600 13px/1.3 var(--sans);
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--harbor);
  margin: 0 0 16px;
}
.lead { font-size: clamp(18px, 1.6vw, 20px); color: var(--ink2); line-height: 1.55; }
.muted { color: var(--ink2); }
.figure { font-family: var(--serif); font-variant-numeric: lining-nums tabular-nums; }

/* ---------- Buttons ---------- */

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 48px; padding: 0 24px;
  border-radius: 999px; border: 1px solid transparent;
  font: 600 16px/1 var(--sans);
  text-decoration: none; white-space: nowrap;
  transition: transform .15s ease, background-color .15s ease, box-shadow .15s ease;
}
.btn:hover { text-decoration: none; transform: translateY(-1px); }
.btn:active { transform: translateY(0); }
.btn-primary { background: var(--harbor); color: var(--on-harbor); box-shadow: 0 10px 24px -12px rgba(23, 62, 76, .6); }
.btn-primary:hover { background: var(--harbor-deep); }
.btn-quiet { color: var(--ink); border-color: var(--rule); background: transparent; }
.btn-quiet:hover { background: var(--card); }
.btn svg { width: 18px; height: 18px; flex: none; }
.btn-small { min-height: 38px; padding: 0 16px; font-size: 15px; }

/* ---------- Header ---------- */

.site-header {
  position: sticky; top: 0; z-index: 50;
  background: var(--header-bg);
  -webkit-backdrop-filter: saturate(1.4) blur(18px);
  backdrop-filter: saturate(1.4) blur(18px);
  border-bottom: 1px solid transparent;
  transition: border-color .2s ease;
}
.site-header.is-scrolled { border-bottom-color: var(--rule); }
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; height: 68px; gap: 16px; }
.brand { display: inline-flex; align-items: center; gap: 10px; color: var(--ink); text-decoration: none; font: 600 20px/1 var(--serif); }
.brand:hover { text-decoration: none; }
.brand img { width: 32px; height: 32px; border-radius: 8px; box-shadow: 0 4px 10px -4px rgba(23, 62, 76, .5); }
.site-nav { display: flex; align-items: center; gap: 28px; }
.site-nav a:not(.btn) { color: var(--ink2); text-decoration: none; font-size: 15px; font-weight: 500; }
.site-nav a:not(.btn):hover, .site-nav a[aria-current="page"] { color: var(--ink); }
@media (max-width: 760px) {
  .site-nav a:not(.btn) { display: none; }
}

/* ---------- Phone frame ---------- */

.phone {
  --w: 300px;
  width: var(--w);
  padding: calc(var(--w) * .034);
  border-radius: calc(var(--w) * .16);
  background: var(--bezel);
  box-shadow: var(--shadow-phone);
  position: relative;
  flex: none;
}
.phone::after {
  content: ""; position: absolute; inset: 0; border-radius: inherit; pointer-events: none;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .08);
}
.phone img { width: 100%; height: auto; border-radius: calc(var(--w) * .13); background: var(--paper); }

/* ---------- Hero ---------- */

.hero { position: relative; padding: clamp(40px, 7vw, 96px) 0 clamp(56px, 8vw, 112px); overflow: hidden; }
.hero::before {
  content: ""; position: absolute; inset: -20% -10% auto auto; width: 70vw; height: 70vw; max-width: 900px; max-height: 900px;
  background: radial-gradient(closest-side, var(--harbor-wash), transparent);
  pointer-events: none;
}
.hero .wrap { display: grid; grid-template-columns: 1.12fr .88fr; gap: clamp(32px, 5vw, 72px); align-items: center; position: relative; }
.hero h1 { font-size: clamp(42px, 5.4vw, 68px); line-height: 1.02; letter-spacing: -.025em; margin-bottom: 24px; }
.hero h1 em { font-style: italic; font-weight: 500; color: var(--harbor); }
.hero .lead { max-width: 34em; margin-bottom: 32px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-bottom: 28px; }
.hero-facts { display: flex; flex-wrap: wrap; gap: 8px 20px; padding: 0; margin: 0; list-style: none; color: var(--ink2); font-size: 15px; }
.hero-facts li { display: inline-flex; align-items: center; gap: 8px; }
.hero-facts svg { width: 16px; height: 16px; color: var(--fern); }

.hero-visual { position: relative; display: flex; justify-content: center; min-height: 560px; }
.hero-visual .phone.front { --w: clamp(240px, 26vw, 310px); z-index: 2; }
.hero-visual .phone.back { --w: clamp(210px, 22vw, 262px); position: absolute; right: 0; top: 64px; z-index: 1; opacity: .96; }
.hero-visual .phone.front { margin-right: clamp(80px, 11vw, 150px); }
.hero-badge {
  position: absolute; z-index: 3; left: -12px; bottom: 40px;
  background: var(--card); border-radius: 18px; padding: 16px 18px 14px; width: 208px;
  box-shadow: var(--shadow-card);
}
.hero-badge .label { font-size: 13px; color: var(--ink2); margin: 0 0 4px; }
.hero-badge .value { font: 600 30px/1.05 var(--serif); margin: 0 0 10px; }
.hero-badge .value small { font: 400 14px var(--sans); color: var(--ink2); }
.hero-badge .double-rule { margin-bottom: 8px; }
.hero-badge .note { font-size: 13px; color: var(--ink2); margin: 0; }

@media (max-width: 900px) {
  .hero .wrap { grid-template-columns: 1fr; }
  .hero-visual { min-height: 0; padding-top: 8px; }
  .hero-visual .phone.front { margin-right: 96px; }
  .hero-visual .phone.back { right: calc(50% - 230px); }
}
@media (max-width: 520px) {
  .hero-visual .phone.front { --w: 228px; margin-right: 64px; }
  .hero-visual .phone.back { --w: 190px; right: 0; top: 48px; }
  .hero-badge { left: 0; bottom: 24px; width: 196px; padding: 12px 14px; }
  .hero-badge .value { font-size: 24px; }
}

/* ---------- Ledger strip ---------- */

.ledger { padding: 8px 0 clamp(56px, 8vw, 96px); }
.ledger-grid { display: grid; grid-template-columns: repeat(4, 1fr); border-top: 1.5px solid var(--harbor); border-bottom: 1.5px solid var(--harbor); position: relative; }
.ledger-grid::before, .ledger-grid::after { content: ""; position: absolute; left: 0; right: 0; height: 1.5px; background: var(--harbor); }
.ledger-grid::before { top: 3px; }
.ledger-grid::after { bottom: 3px; }
.ledger-cell { padding: 32px 24px 28px; border-left: 1px solid var(--rule); }
.ledger-cell:first-child { border-left: 0; padding-left: 0; }
.ledger-cell .figure { display: block; font-size: clamp(36px, 4vw, 52px); line-height: 1; font-weight: 500; margin-bottom: 10px; }
.ledger-cell p { margin: 0; color: var(--ink2); font-size: 15px; line-height: 1.45; }
@media (max-width: 820px) {
  .ledger-grid { grid-template-columns: 1fr 1fr; }
  .ledger-cell:nth-child(3) { border-left: 0; padding-left: 0; }
  .ledger-cell:nth-child(n+3) { border-top: 1px solid var(--rule); }
}
@media (max-width: 420px) {
  .ledger-cell { padding: 24px 12px 22px 16px; }
}

/* ---------- Sections ---------- */

.section { padding: clamp(64px, 9vw, 128px) 0; }
.section-head { max-width: 680px; margin-bottom: clamp(36px, 5vw, 56px); }
.section-head h2, .feature h2, .counter h2 { font-size: clamp(32px, 4.2vw, 50px); line-height: 1.08; letter-spacing: -.02em; margin-bottom: 18px; }
.section-head.center { margin-left: auto; margin-right: auto; text-align: center; }
.band { background: var(--sunk); }

/* ---------- Counter (interactive) ---------- */

.counter { display: grid; grid-template-columns: 1fr 1.05fr; gap: clamp(32px, 5vw, 72px); align-items: start; }
.quote {
  margin: 28px 0 0; padding: 22px 24px; background: var(--card); border-radius: var(--radius); box-shadow: var(--shadow-card);
}
.quote p { font: italic 400 20px/1.45 var(--serif); color: var(--ink); margin: 0 0 12px; }
.quote cite { font-style: normal; font-size: 14px; color: var(--ink2); }

.calc { background: var(--card); border-radius: 28px; padding: clamp(22px, 3vw, 32px); box-shadow: var(--shadow-card); }
.calc-title { font: 600 13px/1.3 var(--sans); letter-spacing: .14em; text-transform: uppercase; color: var(--harbor); margin: 0 0 18px; }
.calc-fields { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-bottom: 24px; }
.calc label { display: block; font-size: 14px; color: var(--ink2); margin-bottom: 6px; }
.calc input[type="date"] {
  width: 100%; min-height: 48px; padding: 10px 14px;
  font: 500 16px var(--sans); color: var(--ink);
  background: var(--paper); border: 1px solid var(--rule); border-radius: 14px;
  -webkit-appearance: none; appearance: none;
}
.calc input[type="date"]:focus { outline: 2px solid var(--harbor); outline-offset: 1px; border-color: transparent; }
.calc-result { display: flex; align-items: baseline; gap: 10px; margin: 0 0 6px; }
.calc-result .figure { font-size: clamp(56px, 7vw, 76px); line-height: 1; font-weight: 500; }
.calc-result span:last-child { color: var(--ink2); font-size: 17px; }
.calc .double-rule { width: 160px; margin: 10px 0 18px; }
.calc-explain { color: var(--ink); margin: 0 0 22px; min-height: 3.2em; }

.meter { margin: 0 0 18px; }
.meter-track { position: relative; height: 8px; border-radius: 99px; background: var(--sunk); overflow: visible; display: flex; gap: 3px; }
.meter-track i { display: block; height: 100%; border-radius: 99px; }
.meter-track i:nth-child(1) { flex: 150; background: var(--sunk); }
.meter-track i:nth-child(2) { flex: 30; background: var(--amber-wash); }
.meter-track i:nth-child(3) { flex: 185; background: var(--brick-wash); }
.meter-track i:nth-child(4) { flex: 15; background: var(--brick); opacity: .55; }
@media (prefers-color-scheme: light) { .meter-track i:nth-child(1) { background: #E6E0D3; } }
.meter-dot {
  position: absolute; top: 50%; width: 20px; height: 20px; margin: -10px 0 0 -10px; border-radius: 50%;
  background: var(--fern); border: 3px solid var(--card); box-shadow: 0 2px 6px rgba(0, 0, 0, .2);
  transition: left .35s cubic-bezier(.2, .8, .2, 1), background-color .2s ease;
}
.meter-scale { position: relative; height: 22px; margin-top: 8px; font: 14px var(--serif); color: var(--ink2); }
.meter-scale span { position: absolute; transform: translateX(-50%); }
.meter-scale span:first-child { transform: none; }

.tier { display: flex; gap: 12px; align-items: flex-start; padding: 14px 16px; border-radius: 16px; background: var(--fern-wash); }
.tier svg { width: 20px; height: 20px; flex: none; margin-top: 2px; color: var(--fern); }
.tier strong { display: block; color: var(--fern); font-size: 15px; }
.tier span { color: var(--ink); font-size: 15px; line-height: 1.5; }
.tier[data-tier="review"] { background: var(--amber-wash); }
.tier[data-tier="review"] svg, .tier[data-tier="review"] strong { color: var(--amber); }
.tier[data-tier="important"], .tier[data-tier="serious"] { background: var(--brick-wash); }
.tier[data-tier="important"] svg, .tier[data-tier="important"] strong,
.tier[data-tier="serious"] svg, .tier[data-tier="serious"] strong { color: var(--brick); }
.tier[data-tier="error"] { background: var(--sunk); }
.tier[data-tier="error"] svg, .tier[data-tier="error"] strong { color: var(--ink2); }
.calc-foot { font-size: 13px; color: var(--ink2); margin: 16px 0 0; }

@media (max-width: 900px) { .counter { grid-template-columns: 1fr; } }
@media (max-width: 420px) { .calc-fields { grid-template-columns: 1fr; } }

/* ---------- Feature rows ---------- */

.feature { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 6vw, 96px); align-items: center; padding: clamp(48px, 7vw, 96px) 0; }
.feature + .feature { border-top: 1px solid var(--rule); }
.feature.flip .feature-media { order: -1; }
.feature-media { display: flex; justify-content: center; align-items: flex-start; gap: 20px; position: relative; }
.feature-media .phone { --w: clamp(240px, 24vw, 300px); }
.feature-media.pair .phone:last-child { --w: clamp(200px, 20vw, 250px); margin-top: 72px; }
.feature p { color: var(--ink2); }
.tag {
  display: inline-flex; align-items: center; gap: 6px; padding: 5px 12px; border-radius: 999px;
  font: 600 13px/1 var(--sans); background: var(--harbor-wash); color: var(--harbor); margin-bottom: 18px;
}
.checklist { list-style: none; padding: 0; margin: 24px 0 0; display: grid; gap: 14px; }
.checklist li { display: grid; grid-template-columns: 22px 1fr; gap: 12px; color: var(--ink); line-height: 1.5; }
.checklist li svg { width: 20px; height: 20px; margin-top: 2px; color: var(--harbor); }
.checklist li span { color: var(--ink2); }
.checklist li b { font-weight: 600; color: var(--ink); }

.tiers { display: grid; gap: 10px; margin-top: 24px; }
.tiers div { display: grid; grid-template-columns: 96px 1fr; gap: 14px; align-items: baseline; padding: 14px 0; border-top: 1px solid var(--rule); }
.tiers div:last-child { border-bottom: 1px solid var(--rule); }
.tiers dt { font: 500 20px var(--serif); }
.tiers dd { margin: 0; color: var(--ink2); }
.tiers dd b { font-weight: 600; }
.tiers .t-review b { color: var(--amber); }
.tiers .t-important b, .tiers .t-serious b { color: var(--brick); }

@media (max-width: 900px) {
  .feature { grid-template-columns: 1fr; }
  .feature.flip .feature-media { order: 0; }
  .feature-media { order: 2; }
}
@media (max-width: 520px) {
  .feature-media.pair .phone { --w: 168px; }
  .feature-media.pair .phone:last-child { --w: 150px; margin-top: 48px; }
  .feature-media.pair { gap: 12px; }
}

/* ---------- Privacy ---------- */

.privacy-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.privacy-item { background: var(--card); border-radius: var(--radius); padding: 26px 24px; box-shadow: var(--shadow-card); }
.privacy-item svg { width: 28px; height: 28px; color: var(--harbor); margin-bottom: 18px; }
.privacy-item h3 { font-size: 21px; margin-bottom: 6px; }
.privacy-item p { margin: 0; color: var(--ink2); font-size: 16px; }
.label-card { margin-top: 16px; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px; padding: 22px 24px; border-radius: var(--radius); border: 1px solid var(--rule); }
.label-card p { margin: 0; color: var(--ink2); }
.label-card strong { font: 600 21px var(--serif); color: var(--ink); display: block; margin-bottom: 2px; }
@media (max-width: 900px) { .privacy-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 600px) { .privacy-grid { grid-template-columns: 1fr; } }

/* ---------- FAQ ---------- */

.faq { max-width: 760px; margin: 0 auto; border-top: 1px solid var(--rule); }
.faq details { border-bottom: 1px solid var(--rule); }
.faq summary {
  list-style: none; cursor: pointer; padding: 22px 44px 22px 0; position: relative;
  font: 600 20px/1.35 var(--serif); color: var(--ink);
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: ""; position: absolute; right: 6px; top: 50%; width: 12px; height: 12px; margin-top: -9px;
  border-right: 2px solid var(--ink3); border-bottom: 2px solid var(--ink3); transform: rotate(45deg);
  transition: transform .2s ease, margin .2s ease;
}
.faq details[open] summary::after { transform: rotate(-135deg); margin-top: -3px; }
.faq details > div { padding: 0 0 22px; color: var(--ink2); max-width: 64ch; }
.faq details > div p:last-child { margin-bottom: 0; }

/* ---------- Final CTA ---------- */

.cta { text-align: center; padding: clamp(72px, 10vw, 136px) 0; }
.cta img.mark { width: 96px; height: 96px; margin: 0 auto 28px; border-radius: 22px; box-shadow: 0 20px 40px -18px rgba(23, 62, 76, .6); }
.cta h2 { font-size: clamp(34px, 5vw, 58px); line-height: 1.06; letter-spacing: -.02em; margin-bottom: 18px; }
.cta .lead { max-width: 32em; margin: 0 auto 32px; }
.cta .btn-row { display: flex; justify-content: center; flex-wrap: wrap; gap: 12px; }
.cta .fine { margin-top: 18px; font-size: 14px; color: var(--ink2); }

/* ---------- Footer ---------- */

.site-footer { border-top: 1px solid var(--rule); padding: 48px 0 56px; font-size: 15px; color: var(--ink2); }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 32px; }
.site-footer h3 { font: 600 13px/1 var(--sans); letter-spacing: .12em; text-transform: uppercase; color: var(--ink); margin-bottom: 14px; }
.site-footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.site-footer a { color: var(--ink2); text-decoration: none; }
.site-footer a:hover { color: var(--ink); text-decoration: underline; }
.site-footer .brand { margin-bottom: 14px; }
.footer-legal { margin-top: 40px; padding-top: 20px; border-top: 1px solid var(--rule-soft); display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; font-size: 13px; }
.footer-legal p { margin: 0; max-width: 62ch; }
@media (max-width: 760px) { .footer-grid { grid-template-columns: 1fr 1fr; } .footer-grid > :first-child { grid-column: 1 / -1; } }

/* ---------- Document pages (privacy, terms, support) ---------- */

.doc-hero { padding: clamp(48px, 7vw, 88px) 0 0; }
.doc-hero h1 { font-size: clamp(40px, 6vw, 64px); line-height: 1.04; letter-spacing: -.025em; margin-bottom: 14px; }
.doc-hero .meta { color: var(--ink2); margin: 0 0 22px; font-size: 15px; }
.doc-hero .double-rule { margin-bottom: 0; }
.doc-layout { display: grid; grid-template-columns: 220px minmax(0, 1fr); gap: clamp(32px, 6vw, 88px); padding: 40px 0 clamp(64px, 8vw, 112px); }
.toc { position: sticky; top: 96px; align-self: start; font-size: 14px; }
.toc p { font: 600 12px/1 var(--sans); letter-spacing: .12em; text-transform: uppercase; color: var(--ink3); margin: 6px 0 14px; }
.toc ol { list-style: none; margin: 0; padding: 0; display: grid; gap: 2px; border-left: 1px solid var(--rule); }
.toc a { display: block; padding: 5px 0 5px 14px; margin-left: -1px; border-left: 1.5px solid transparent; color: var(--ink2); text-decoration: none; line-height: 1.35; }
.toc a:hover { color: var(--ink); }
.toc a.is-active { color: var(--harbor); border-left-color: var(--harbor); }
.prose { max-width: 680px; }
.prose h2 { font-size: 26px; line-height: 1.2; margin: 48px 0 12px; }
.prose h2:first-child { margin-top: 0; }
.prose h3 { font-size: 19px; margin: 28px 0 8px; }
.prose p, .prose li { color: var(--ink2); }
.prose strong { color: var(--ink); font-weight: 600; }
.prose ul, .prose ol { padding-left: 1.25em; margin: 0 0 1em; }
.prose li { margin-bottom: .45em; }
.prose li::marker { color: var(--ink3); }
.summary-card { background: var(--card); border-radius: var(--radius); padding: 24px 26px; box-shadow: var(--shadow-card); margin: 0 0 40px; }
.summary-card h2 { margin: 0 0 10px !important; font-size: 21px; }
.summary-card ul { margin: 0; padding: 0; list-style: none; display: grid; gap: 10px; }
.summary-card li { display: grid; grid-template-columns: 22px 1fr; gap: 10px; margin: 0; color: var(--ink); }
.summary-card li svg { width: 20px; height: 20px; color: var(--fern); margin-top: 3px; }
.callout { border-left: 3px solid var(--harbor); background: var(--harbor-wash); padding: 16px 20px; border-radius: 0 14px 14px 0; margin: 0 0 1.2em; }
.callout p { color: var(--ink); margin: 0; }
.contact-card { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px; margin-top: 48px; padding: 24px 26px; border-radius: var(--radius); border: 1px solid var(--rule); }
.contact-card p { margin: 0; color: var(--ink2); }
.contact-card strong { display: block; font: 600 20px var(--serif); color: var(--ink); margin-bottom: 2px; }
@media (max-width: 860px) {
  .doc-layout { grid-template-columns: 1fr; }
  .toc { position: static; }
  .toc ol { grid-template-columns: 1fr 1fr; border-left: 0; gap: 0 16px; }
  .toc a { padding-left: 0; border-left: 0; }
}

/* Support page */
.help-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin: 40px 0 0; }
.help-card { background: var(--card); border-radius: var(--radius); padding: 24px; box-shadow: var(--shadow-card); text-decoration: none; color: var(--ink); display: block; transition: transform .15s ease; }
.help-card:hover { transform: translateY(-2px); text-decoration: none; }
.help-card svg { width: 26px; height: 26px; color: var(--harbor); margin-bottom: 16px; }
.help-card strong { display: block; font: 600 20px/1.25 var(--serif); margin-bottom: 4px; }
.help-card span { color: var(--ink2); font-size: 15px; }
.faq-group { margin: 56px 0 0; }
.faq-group > h2 { font-size: 28px; margin: 0 0 18px; }
.support .faq { max-width: none; }
@media (max-width: 760px) { .help-cards { grid-template-columns: 1fr; } }

/* ---------- Reveal on scroll ---------- */

.js .reveal { opacity: 0; transform: translateY(18px); transition: opacity .7s ease, transform .7s cubic-bezier(.2, .8, .2, 1); }
.js .reveal.is-in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .js .reveal { opacity: 1; transform: none; transition: none; }
  .btn, .help-card, .meter-dot { transition: none; }
}
.nowrap { white-space: nowrap; }
.meter-scale span:nth-child(2) { transform: translateX(calc(-100% - 4px)); }
.meter-scale span:nth-child(3) { transform: translateX(4px); }
.meter-scale span:nth-child(4) { left: auto !important; right: 0; transform: none; }
