/* Brochure styles. Matches the app's Plum palette, fonts and radii (app-v3/web/css/app.css and dark.css). No gradients. */
@font-face { font-family: 'Brochure Outfit'; src: url('/assets/fonts/outfit-var.ttf') format('truetype'); font-style: normal; font-weight: 100 900; font-display: swap; }
@font-face { font-family: 'Brochure Sans'; src: url('/assets/fonts/dm-sans-latin.woff') format('woff'); font-style: normal; font-weight: 100 1000; font-display: swap; }

:root {
  color-scheme: light;
  --bg: #fbfaf8; --surface: #ffffff; --sunk: #f3f0ee; --line: rgba(34, 26, 31, .08); --line-ui: #8c7f86;
  --ink: #221a1f; --soft: #64595f; --heading: #2f1726;
  --plum: #8a2f5d; --plum-deep: #2f1726; --plum-tint: #f6e9f0; --accent: #8a2f5d; --accent-fill: #8a2f5d; --on-fill: #ffffff;
  --forest: #2f6249; --forest-tint: #e5f0ea; --gold: #f2c97a; --gold-tint: #fbf0d6; --gold-ink: #7f5810; --gold-line: #a87a1f;
  --coral-tint: #fbe6df; --coral-ink: #8e3523;
  --band: #f3f0ee; --cta-bg: #2f1726; --cta-ink: #ffffff;
  --focus: #8a2f5d;
  --r: 20px; --r-sm: 12px; --r-pill: 999px;
  --shadow: 0 1px 2px rgba(34, 26, 31, .04), 0 6px 20px -12px rgba(34, 26, 31, .12);
  --display: 'Brochure Outfit', 'Brochure Sans', system-ui, sans-serif;
  --ui: 'Brochure Sans', -apple-system, system-ui, 'Segoe UI', sans-serif;
}
@media (prefers-color-scheme: dark) {
  :root {
    color-scheme: dark;
    --bg: #161415; --surface: #201d1f; --sunk: #2a2629; --line: rgba(241, 236, 239, .10); --line-ui: #7a7075;
    --ink: #f1ecef; --soft: #cfc6cb; --heading: #ffffff;
    --plum-tint: #33232c; --accent: #e3a2c2; --accent-fill: #8a2f5d;
    --forest-tint: #1e2d26; --gold-tint: #33291b; --gold-ink: #f2c97a; --gold-line: #a87a1f;
    --coral-tint: #36221d; --coral-ink: #f29a82;
    --band: #1d1a1c; --cta-bg: #2a2027; --cta-ink: #ffffff;
    --focus: #f2c97a;
    --shadow: 0 1px 2px rgba(0, 0, 0, .3), 0 6px 20px -12px rgba(0, 0, 0, .6);
  }
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: 16px; }
body { margin: 0; background: var(--bg); color: var(--ink); font: 450 17px/1.55 var(--ui); letter-spacing: -.005em; -webkit-font-smoothing: antialiased; overflow-wrap: break-word; }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--accent); text-underline-offset: 2px; }
a:hover { text-decoration-thickness: 2px; }
:focus-visible { outline: 3px solid var(--focus); outline-offset: 2px; border-radius: 6px; }
h1, h2, h3, h4 { font-family: var(--display); color: var(--heading); font-weight: 600; letter-spacing: -.02em; line-height: 1.15; margin: 0 0 12px; }
h1 { font-size: clamp(32px, 7vw, 52px); line-height: 1.06; }
h2 { font-size: clamp(26px, 5vw, 36px); }
h3 { font-size: 22px; }
h4 { font-size: 19px; }
p { margin: 0 0 14px; }
ul, ol { margin: 0 0 14px; padding-left: 22px; }
li { margin-bottom: 6px; }
code { font-size: .9em; background: var(--sunk); padding: 1px 6px; border-radius: 6px; overflow-wrap: anywhere; }

.wrap { width: 100%; max-width: 1120px; margin: 0 auto; padding: 0 16px; }
.narrow { max-width: 760px; }
.fine { font-size: 15px; color: var(--soft); }
.lede { font-size: clamp(18px, 2.4vw, 21px); color: var(--soft); max-width: 36em; }
.section-lede { font-size: 19px; color: var(--soft); max-width: 36em; margin-bottom: 32px; }
.eyebrow { font-size: 13px; letter-spacing: .08em; text-transform: uppercase; color: var(--soft); font-weight: 600; margin-bottom: 8px; }
.skip { position: absolute; left: -9999px; top: 8px; z-index: 50; background: var(--surface); color: var(--ink); padding: 10px 16px; border-radius: var(--r-sm); }
.skip:focus { left: 8px; }

/* Draft and beta notices */
.draft { background: var(--coral-tint); color: var(--coral-ink); border-bottom: 2px solid var(--coral-ink); padding: 10px 16px; text-align: center; font-size: 15px; font-weight: 500; }
.draft strong { letter-spacing: .1em; margin-right: 6px; }
mark.blank { background: var(--gold-tint); color: var(--gold-ink); outline: 1.5px dashed var(--gold-line); outline-offset: 1px; border-radius: 4px; padding: 0 3px; font-weight: 600; }
.beta-strip { display: flex; align-items: center; justify-content: center; gap: 10px; padding: 8px 16px; line-height: 1.35; background: var(--plum-tint); color: var(--heading); font-size: 15px; font-weight: 500; text-align: center; }
.beta-strip .pill { flex: none; }
.pill { display: inline-block; padding: 2px 10px; border-radius: var(--r-pill); background: var(--accent-fill); color: var(--on-fill); font-size: 12px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; }

/* Header */
.site-head { border-bottom: 1px solid var(--line); background: var(--bg); }
.head-row { display: flex; align-items: center; gap: 12px 24px; flex-wrap: wrap; padding-top: 12px; padding-bottom: 12px; }
.wordmark { font: 650 24px/1 var(--display); letter-spacing: -.02em; color: var(--heading); text-decoration: none; margin: 0; }
.site-nav { display: flex; gap: 4px 18px; flex-wrap: wrap; order: 3; width: 100%; font-size: 15px; }
.site-nav a { color: var(--soft); text-decoration: none; padding: 6px 0; font-weight: 500; }
.site-nav a:hover { color: var(--heading); text-decoration: underline; }
.head-row .btn-sm { margin-left: auto; }
@media (min-width: 820px) {
  .site-nav { order: 0; width: auto; margin-left: 12px; }
}

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; min-height: 48px; padding: 12px 24px; border-radius: var(--r-pill); font: 600 17px/1.2 var(--ui); text-decoration: none; border: 1.5px solid transparent; text-align: center; }
.btn-sm { min-height: 44px; padding: 10px 18px; font-size: 15px; }
.btn-primary { background: var(--accent-fill); color: var(--on-fill); }
.btn-primary:hover { background: var(--plum-deep); text-decoration: none; }
.btn-soft { background: transparent; color: var(--accent); border-color: var(--line-ui); }
.btn-soft:hover { background: var(--plum-tint); }
.btn-light { background: #ffffff; color: #2f1726; }
.btn-light:hover { background: #f6e9f0; }
.cta-row { display: flex; flex-wrap: wrap; gap: 12px; margin: 24px 0 16px; }

/* Hero */
.hero { padding: 40px 0 48px; }
.hero-grid { display: grid; gap: 40px; align-items: center; }
.badge { display: inline-flex; align-items: center; gap: 10px; flex-wrap: nowrap; background: var(--gold-tint); color: var(--gold-ink); border: 1px solid var(--gold-line); border-radius: var(--r-pill); padding: 6px 16px 6px 6px; font-weight: 600; font-size: 15px; line-height: 1.3; margin-bottom: 20px; }
.badge .pill { flex: none; }
.hero-phone { justify-self: center; }
@media (min-width: 860px) {
  .hero { padding: 64px 0 72px; }
  .hero-grid { grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); }
}

/* Phone screenshots */
.phone { margin: 0; width: 100%; max-width: 300px; border-radius: 32px; border: 1px solid var(--line-ui); overflow: hidden; box-shadow: var(--shadow); background: var(--surface); }
.phone img { width: 100%; }

/* Sections */
.band { background: var(--band); padding: 56px 0; }
.features, .coverage { padding: 56px 0; }
@media (min-width: 860px) { .band, .features, .coverage { padding: 80px 0; } }

.steps { list-style: none; padding: 0; margin: 32px 0 0; display: grid; gap: 16px; }
.steps li { background: var(--surface); border-radius: var(--r); padding: 24px; margin: 0; box-shadow: var(--shadow); }
.step-n { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; background: var(--accent-fill); color: var(--on-fill); font: 650 20px/1 var(--display); margin-bottom: 14px; }
.steps p { color: var(--soft); margin: 0; }
@media (min-width: 760px) { .steps { grid-template-columns: repeat(3, 1fr); } }

.feature { display: grid; gap: 28px; align-items: center; margin: 0 0 56px; }
.feature .phone { justify-self: center; max-width: 280px; }
.feature-text p { color: var(--soft); max-width: 34em; }
@media (min-width: 760px) {
  .feature { grid-template-columns: 300px minmax(0, 1fr); gap: 56px; margin-bottom: 72px; }
  .feature.flip { grid-template-columns: minmax(0, 1fr) 300px; }
  .feature.flip .phone { order: 2; }
}

.grid-title { margin-top: 8px; font-size: 26px; }
.cards { list-style: none; padding: 0; margin: 20px 0 0; display: grid; gap: 16px; }
.card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r); padding: 22px; margin: 0; }
.card p { color: var(--soft); margin: 0; font-size: 16px; }
@media (min-width: 640px) { .cards { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 980px) { .cards { grid-template-columns: repeat(3, 1fr); } }

.privacy-grid { display: grid; gap: 40px; align-items: center; }
.privacy-grid .phone { justify-self: center; max-width: 280px; }
@media (min-width: 860px) { .privacy-grid { grid-template-columns: minmax(0, 1fr) 300px; gap: 64px; } }
.ticks { list-style: none; padding: 0; margin: 24px 0; }
.ticks li { position: relative; padding-left: 36px; margin-bottom: 16px; color: var(--soft); }
.ticks li strong { color: var(--ink); }
.ticks li::before { content: ''; position: absolute; left: 0; top: 3px; width: 22px; height: 22px; border-radius: 50%; background: var(--forest-tint); }
.ticks li::after { content: ''; position: absolute; left: 7px; top: 8px; width: 8px; height: 5px; border-left: 2.5px solid var(--forest); border-bottom: 2.5px solid var(--forest); transform: rotate(-45deg); }
@media (prefers-color-scheme: dark) { .ticks li::after { border-color: #a6d6bd; } }

.coverage-grid { display: grid; gap: 8px 40px; align-items: center; }
.big-number { font: 650 clamp(88px, 18vw, 160px)/1 var(--display); color: var(--accent); letter-spacing: -.04em; margin: 0; }
@media (min-width: 760px) { .coverage-grid { grid-template-columns: auto minmax(0, 1fr); } }

details { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-sm); margin-bottom: 12px; }
summary { cursor: pointer; padding: 16px 48px 16px 20px; font-weight: 600; position: relative; list-style: none; min-height: 48px; }
summary::-webkit-details-marker { display: none; }
summary::after { content: '+'; position: absolute; right: 20px; top: 50%; transform: translateY(-50%); font: 500 24px/1 var(--display); color: var(--accent); }
details[open] summary::after { content: '–'; }
details p { padding: 0 20px 6px; color: var(--soft); }

.cta-band { background: var(--cta-bg); color: var(--cta-ink); padding: 56px 0; text-align: center; }
.cta-band h2 { color: var(--cta-ink); }
.cta-band p { color: #e9dfe5; }

/* Footer */
.site-foot { border-top: 1px solid var(--line); padding: 40px 0 32px; }
.foot-grid { display: grid; gap: 24px; margin-bottom: 16px; }
.foot-links { list-style: none; padding: 0; margin: 0; }
.foot-links li { margin-bottom: 10px; }
@media (min-width: 760px) { .foot-grid { grid-template-columns: 1fr auto; } }

/* Legal pages */
.prose { max-width: 780px; padding-top: 40px; padding-bottom: 64px; }
.prose h2 { font-size: 26px; margin-top: 40px; }
.prose h3 { font-size: 20px; margin-top: 28px; }
.prose .h-sm { font-size: 20px; margin-top: 0; }
.summary { background: var(--plum-tint); border-radius: var(--r); padding: 20px 24px 8px; margin: 24px 0; }
.toc { border: 1px solid var(--line); border-radius: var(--r); padding: 16px 24px 4px; margin: 24px 0; background: var(--surface); }
.toc ol { columns: 1; }
@media (min-width: 640px) { .toc ol { columns: 2; column-gap: 32px; } }
.facts { list-style: none; padding: 16px 20px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-sm); }
.table-wrap { overflow-x: auto; margin: 0 0 16px; border: 1px solid var(--line); border-radius: var(--r-sm); background: var(--surface); }
table { border-collapse: collapse; width: 100%; font-size: 15.5px; }
th, td { text-align: left; vertical-align: top; padding: 12px 14px; border-bottom: 1px solid var(--line); }
th { background: var(--sunk); color: var(--heading); font-weight: 600; }
tr:last-child td { border-bottom: 0; }
@media (max-width: 560px) {
  /* Stack table rows on phones, so nothing scrolls sideways. */
  table, thead, tbody, tr, th, td { display: block; }
  thead { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
  tr { border-bottom: 1px solid var(--line); padding: 8px 0; }
  tr:last-child { border-bottom: 0; }
  td { border: 0; padding: 4px 14px; }
  td:first-child { font-weight: 600; color: var(--heading); }
}

@media (prefers-reduced-motion: no-preference) { html { scroll-behavior: smooth; } }

/* Brand lockup (approved warm-plum logo, docs/brand-2026-11-15) */
.wordmark img { display: block; height: 40px; width: auto; }
