/* Indaba Desk — marketing site. Tokens follow DESIGN.md (Concept A2 · Tangerine on Forest). */

@font-face {
  font-family: "Geist";
  src: url("assets/fonts/Geist-Variable.woff2") format("woff2");
  font-weight: 100 900;
  font-display: swap;
}
@font-face {
  font-family: "Geist Mono";
  src: url("assets/fonts/GeistMono-Variable.woff2") format("woff2");
  font-weight: 100 900;
  font-display: swap;
}

:root {
  --forest: #0f2e24;
  --forest-2: #1c4436;
  --tangerine: #f2782e;
  --tangerine-700: #be5618;
  --tangerine-800: #a84b14;
  --apricot: #fdebdd;
  --paper: #f7f6f2;
  --paper-2: #f2f1ec;
  --stone: #ecebe5;
  --graphite: #1c2321;
  --muted: #4a524f;
  --muted-2: #737a77;
  --line: #e2e0d8;
  --line-2: #dfddd5;
  --line-3: #c9ccc6;
  --on-forest: #f7f6f2;
  --on-forest-muted: #c9ddd2;
  --mint: #9fd3b8;
  --peach: #f9b98c;
  --success: #059669;
  --max: 1240px;
  --ease: cubic-bezier(0.16, 1, 0.3, 1);
  --sans: "Geist", ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;
  --mono: "Geist Mono", ui-monospace, "SFMono-Regular", Menlo, monospace;
}

*,
*::before,
*::after { box-sizing: border-box; }

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  margin: 0;
  background: var(--paper);
  color: var(--graphite);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

img, svg { display: block; }
[hidden] { display: none !important; }
a { color: var(--tangerine-700); }
a:hover { color: var(--forest); }
:focus-visible { outline: 3px solid var(--tangerine); outline-offset: 3px; border-radius: 4px; }

h1, h2, h3 { margin: 0; letter-spacing: -0.03em; font-weight: 600; }
p { margin: 0; }

.container { max-width: var(--max); margin: 0 auto; padding-inline: 24px; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: 16px; top: -60px; z-index: 100; padding: 10px 16px; background: var(--forest); color: var(--on-forest); border-radius: 8px; }
.skip:focus { top: 12px; }

.eyebrow { font-family: var(--mono); font-size: 12px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--tangerine-700); }
.h2 { font-size: clamp(34px, 3.6vw, 48px); line-height: 1.1; color: var(--forest); }
.lead { font-size: 17px; line-height: 1.55; color: var(--muted); }

/* ── Buttons ─────────────────────────────── */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 44px; padding: 0 18px; border-radius: 10px;
  font: 600 15px/1 var(--sans); text-decoration: none; cursor: pointer;
  border: 1px solid transparent; transition: background 0.2s, border-color 0.2s, color 0.2s, transform 0.2s var(--ease);
}
.btn:active { transform: translateY(1px); }
.btn-lg { min-height: 52px; padding: 0 24px; border-radius: 12px; font-size: 16px; }
.btn-primary { background: var(--tangerine-700); color: #fff; }
.btn-primary:hover { background: var(--tangerine-800); color: #fff; }
.btn-ghost { border-color: var(--line-3); color: var(--forest); background: transparent; font-weight: 500; }
.btn-ghost:hover { background: rgba(15, 46, 36, 0.06); color: var(--forest); }
.btn-ghost-dark { border-color: rgba(247, 246, 242, 0.35); color: var(--on-forest); background: transparent; font-weight: 500; }
.btn-ghost-dark:hover { background: rgba(247, 246, 242, 0.1); color: var(--on-forest); }
.btn-block { display: flex; width: 100%; min-height: 48px; border-radius: 12px; }

/* ── Pen accent ──────────────────────────── */
.pen { position: relative; display: inline-block; white-space: nowrap; }
.pen-circle { padding: 0 0.12em; }
.pen svg { position: absolute; pointer-events: none; overflow: visible; }
.pen-circle svg { left: -0.3em; top: -0.14em; width: calc(100% + 0.6em); height: calc(100% + 0.32em); }
.pen-under svg { left: 0; top: 100%; width: 100%; height: auto; margin-top: -0.18em; }
.pen path { fill: none; stroke: var(--tangerine); stroke-linecap: round; }
.js .pen path { stroke-dasharray: 1; stroke-dashoffset: 1; transition: stroke-dashoffset 1.1s var(--ease) 0.2s; }
.js .pen.drawn path { stroke-dashoffset: 0; }
@media (prefers-reduced-motion: reduce) { .js .pen path { stroke-dashoffset: 0; transition: none; } }

/* ── Reveal ──────────────────────────────── */
.js .reveal { opacity: 0; transform: translateY(16px); transition: opacity 0.7s var(--ease), transform 0.7s var(--ease); }
.js .reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .js .reveal { opacity: 1; transform: none; transition: none; } }

/* ── Header ──────────────────────────────── */
.site-header { position: sticky; top: 0; z-index: 50; background: rgba(247, 246, 242, 0.88); backdrop-filter: saturate(1.4) blur(12px); -webkit-backdrop-filter: saturate(1.4) blur(12px); border-bottom: 1px solid var(--line); }
.nav { display: flex; align-items: center; justify-content: space-between; gap: 20px; min-height: 72px; }
.logo { display: inline-flex; align-items: center; gap: 10px; color: var(--forest); text-decoration: none; }
.logo:hover { color: var(--forest); }
.logo-word { font-size: 22px; letter-spacing: -0.035em; font-weight: 400; }
.logo-word b { font-weight: 700; }
.nav-links { display: flex; gap: 28px; font-size: 15px; }
.nav-links a { color: var(--graphite); text-decoration: none; }
.nav-links a:hover { color: var(--tangerine-700); }
.nav-actions { display: flex; align-items: center; gap: 10px; }
.nav-signin { color: var(--graphite); text-decoration: none; font-size: 15px; padding: 0 8px; }
.menu-btn { display: none; width: 44px; height: 44px; border: 1px solid var(--line-3); border-radius: 10px; background: transparent; cursor: pointer; align-items: center; justify-content: center; }
.mobile-menu { display: none; }

@media (max-width: 960px) {
  .nav-links, .nav-actions .nav-signin, .nav-actions .btn-ghost { display: none; }
  .menu-btn { display: inline-flex; }
  .mobile-menu[data-open="true"] { display: block; border-top: 1px solid var(--line); padding: 12px 24px 24px; }
  .mobile-menu a { display: block; padding: 12px 0; color: var(--graphite); text-decoration: none; font-size: 17px; border-bottom: 1px solid var(--line); }
  .mobile-menu .btn { margin-top: 16px; width: 100%; }
}
@media (max-width: 420px) { .nav-actions .btn-primary { display: none; } }

/* ── Hero ────────────────────────────────── */
.hero { display: flex; flex-wrap: wrap; }
.hero-copy {
  flex: 1 1 560px; background: var(--forest); color: var(--on-forest);
  padding: 96px 56px 96px max(24px, calc((100vw - var(--max)) / 2 + 24px));
  display: flex; flex-direction: column; justify-content: center; gap: 28px;
}
.pill { align-self: flex-start; padding: 6px 12px; border: 1px solid rgba(247, 246, 242, 0.25); border-radius: 999px; font-size: 13px; color: var(--on-forest-muted); }
.hero h1 { font-size: clamp(44px, 5.2vw, 72px); line-height: 1.04; letter-spacing: -0.035em; max-width: 640px; }
.hero-lead { font-size: 19px; line-height: 1.55; color: var(--on-forest-muted); max-width: 540px; }
.cta-row { display: flex; gap: 12px; flex-wrap: wrap; }
.hero-facts { display: flex; flex-wrap: wrap; gap: 8px 20px; padding: 0; margin: 0; list-style: none; font-size: 14px; color: var(--mint); }
.hero-facts li { display: flex; align-items: center; gap: 8px; }
.hero-facts li::before { content: ""; width: 5px; height: 5px; border-radius: 50%; background: var(--tangerine); }
.hero-visual {
  flex: 1 1 560px; background-color: var(--paper-2);
  background-image: linear-gradient(#e4e2da 1px, transparent 1px), linear-gradient(90deg, #e4e2da 1px, transparent 1px);
  background-size: 32px 32px; padding: 72px 40px; display: flex; align-items: center; justify-content: center;
}
@media (max-width: 640px) {
  .hero-copy { padding: 64px 24px; }
  .hero-visual { padding: 40px 16px; }
}

/* Product mock */
.mock { width: 100%; max-width: 600px; background: #fff; border: 1px solid var(--line-2); border-radius: 18px; box-shadow: 0 24px 48px -16px rgba(15, 46, 36, 0.25); overflow: hidden; display: flex; }
.mock-rail { width: 64px; flex: none; background: var(--forest); padding: 18px 0; display: flex; flex-direction: column; align-items: center; gap: 18px; }
.mock-rail span { width: 22px; height: 4px; border-radius: 2px; background: rgba(247, 246, 242, 0.4); }
.mock-rail span:first-of-type { background: var(--on-forest); }
.mock-main { flex: 1; min-width: 0; padding: 22px; display: flex; flex-direction: column; gap: 16px; }
.mock-head { display: flex; justify-content: space-between; align-items: center; gap: 12px; flex-wrap: wrap; }
.mock-date { font-size: 12px; color: var(--muted); }
.mock-title { font-size: 18px; font-weight: 600; color: var(--forest); }
.timer { display: inline-flex; align-items: center; gap: 8px; padding: 6px 10px; border-radius: 999px; background: var(--apricot); font: 12px var(--mono); color: #6b2e0b; }
.timer i { width: 7px; height: 7px; border-radius: 50%; background: var(--tangerine-700); animation: blink 1.6s ease-in-out infinite; }
@keyframes blink { 50% { opacity: 0.3; } }
@media (prefers-reduced-motion: reduce) { .timer i { animation: none; } }
.kpis { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; }
.kpi { border: 1px solid #e6e4dd; border-radius: 12px; padding: 12px; }
.kpi small { display: block; font-size: 11px; color: var(--muted); }
.kpi-num { font-size: 26px; font-weight: 600; color: var(--forest); margin-top: 2px; }
.kpi-money { font: 500 16px var(--mono); color: var(--forest); margin-top: 10px; white-space: nowrap; }
.kpi-ok { display: flex; align-items: center; gap: 6px; font-size: 14px; font-weight: 600; color: var(--forest); margin-top: 10px; }
.upcoming { border: 1px solid #e6e4dd; border-radius: 12px; overflow: hidden; }
.upcoming-h { padding: 10px 14px; font-size: 12px; font-weight: 600; color: var(--muted); background: var(--paper); letter-spacing: 0.04em; }
.upcoming-row { display: flex; justify-content: space-between; gap: 10px; padding: 11px 14px; border-top: 1px solid var(--stone); font-size: 13px; }
.upcoming-row span:last-child { white-space: nowrap; color: var(--muted); }
.upcoming-row.hot span:last-child { color: var(--tangerine-700); font-weight: 600; }
@media (max-width: 480px) { .mock-rail { display: none; } .kpis { grid-template-columns: 1fr 1fr; } .kpi:last-child { grid-column: span 2; } }

/* ── SA strip ────────────────────────────── */
.strip { border-bottom: 1px solid var(--line); }
.strip .container { padding-block: 28px; display: flex; flex-wrap: wrap; gap: 16px 40px; align-items: center; justify-content: space-between; }
.strip .label { font: 12px var(--mono); letter-spacing: 0.12em; color: var(--muted); }
.strip ul { display: flex; flex-wrap: wrap; gap: 12px 32px; padding: 0; margin: 0; list-style: none; font-size: 15px; font-weight: 500; color: var(--forest); }

/* ── Sections ────────────────────────────── */
.section { padding-block: 112px; }
.section-tight-b { padding-bottom: 56px; }
.section-tight-t { padding-top: 56px; }
.section-head { display: flex; flex-direction: column; gap: 16px; max-width: 760px; margin-bottom: 48px; }
.section-head.split { max-width: none; flex-direction: row; flex-wrap: wrap; justify-content: space-between; align-items: flex-end; gap: 20px; }
.section-head.split > div { display: flex; flex-direction: column; gap: 16px; max-width: 640px; }
.section-head.split .lead { max-width: 420px; }
.section-head.center { align-items: center; text-align: center; margin-inline: auto; }
@media (max-width: 640px) { .section { padding-block: 72px; } .section-tight-b { padding-bottom: 36px; } .section-tight-t { padding-top: 36px; } }

/* Compare */
.compare { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 20px; }
.compare-card { border-radius: 20px; padding: 36px; display: flex; flex-direction: column; gap: 18px; }
.compare-card.before { background: var(--stone); }
.compare-card.after { background: #fff; border: 1px solid var(--line); }
.compare-card h3 { font-size: 14px; letter-spacing: 0; color: var(--muted); }
.compare-card.after h3 { color: var(--tangerine-700); }
.compare-card ul { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 18px; }
.compare-card li { display: flex; gap: 12px; font-size: 16px; line-height: 1.5; }
.compare-card li svg { flex: none; margin-top: 3px; }
@media (max-width: 640px) { .compare-card { padding: 28px; } }

/* Bento */
.bento { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; }
.tile { border-radius: 20px; background: #fff; border: 1px solid var(--line); padding: 32px; display: flex; flex-direction: column; gap: 12px; min-width: 0; }
.tile h3 { font-size: 21px; letter-spacing: -0.01em; color: var(--forest); }
.tile p { font-size: 15px; line-height: 1.55; color: var(--muted); }
.tile.tint { background: var(--apricot); border-color: transparent; }
.tile.feature { grid-column: span 2; background: var(--forest); border-color: transparent; color: var(--on-forest); flex-direction: row; flex-wrap: wrap; align-items: center; gap: 28px; padding: 36px; }
.tile.feature .copy { flex: 1 1 240px; display: flex; flex-direction: column; gap: 12px; }
.tile.feature .tag { font-size: 13px; font-weight: 600; color: var(--mint); letter-spacing: 0.04em; }
.tile.feature h3 { font-size: 28px; line-height: 1.15; color: var(--on-forest); letter-spacing: -0.02em; }
.tile.feature p { color: var(--on-forest-muted); }
.prebill { flex: 1 1 240px; background: var(--paper); color: var(--graphite); border-radius: 14px; padding: 18px; display: flex; flex-direction: column; gap: 10px; }
.prebill-row { display: flex; justify-content: space-between; gap: 12px; font-size: 14px; }
.prebill-row span:last-child { font-family: var(--mono); white-space: nowrap; }
.prebill-top { font-size: 12px; color: var(--muted); }
.prebill-top span:last-child { font-family: var(--sans); color: var(--tangerine-700); font-weight: 600; }
.prebill-rule { border-top: 1px solid #e6e4dd; padding-top: 10px; }
.prebill-total { font-weight: 600; }
@media (max-width: 1100px) { .bento { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 640px) { .bento { grid-template-columns: 1fr; } .tile.feature { grid-column: auto; padding: 28px; } .tile { padding: 28px; } }

/* White label */
.dark { background: var(--forest); color: var(--on-forest); }
.wl { display: flex; flex-wrap: wrap; gap: 56px; align-items: center; padding-block: 104px; }
.wl-copy { flex: 1 1 440px; display: flex; flex-direction: column; gap: 20px; }
.wl-copy .eyebrow { color: var(--peach); }
.wl-copy .h2 { color: var(--on-forest); }
.wl-copy .lead { color: var(--on-forest-muted); max-width: 520px; }
.dots { display: flex; flex-wrap: wrap; gap: 12px 28px; list-style: none; margin: 0; padding: 0; font-size: 15px; }
.dots li { display: flex; align-items: center; gap: 8px; }
.dots li::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--tangerine); }
.wl-demo { flex: 1 1 440px; display: flex; flex-direction: column; gap: 14px; }
.tenant { --firm: #1f3a5f; background: var(--paper); color: var(--graphite); border-radius: 16px; padding: 22px; display: flex; flex-direction: column; gap: 16px; transition: --firm 0.3s; }
.tenant-head { display: flex; justify-content: space-between; align-items: center; gap: 12px; flex-wrap: wrap; }
.tenant-firm { display: flex; align-items: center; gap: 10px; font-weight: 600; }
.tenant-logo { width: 36px; height: 36px; border-radius: 8px; background: var(--firm); color: #fff; display: flex; align-items: center; justify-content: center; font-weight: 700; font-size: 14px; transition: background 0.3s; }
.swatches { display: flex; gap: 6px; }
.swatch { width: 32px; height: 32px; border-radius: 50%; border: 0; padding: 0; cursor: pointer; display: inline-flex; align-items: center; justify-content: center; background: transparent; }
.swatch span { width: 22px; height: 22px; border-radius: 50%; background: var(--c); }
.swatch[aria-pressed="true"] span { box-shadow: 0 0 0 2px var(--paper), 0 0 0 4px var(--c); }
.tenant-kpis { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.tenant-kpis div { border: 1px solid #e6e4dd; border-radius: 10px; padding: 12px; }
.tenant-kpis small { display: block; font-size: 11px; color: var(--muted); }
.tenant-kpis b { font-size: 22px; font-weight: 600; color: var(--firm); transition: color 0.3s; }
.tenant-foot { display: flex; justify-content: space-between; align-items: center; gap: 12px; flex-wrap: wrap; }
.tenant-btn { display: inline-flex; align-items: center; min-height: 38px; padding: 0 14px; border-radius: 8px; background: var(--firm); color: #fff; font-size: 14px; font-weight: 600; transition: background 0.3s; }
.powered { display: flex; align-items: center; gap: 6px; font-size: 12px; color: var(--muted); }
.powered b { color: var(--forest); }
.powered em { font-style: normal; color: var(--forest); }
.wl-note { font-size: 13px; color: var(--mint); }

/* Steps */
.steps { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 20px; list-style: none; margin: 0; padding: 0; }
.step { border-top: 2px solid var(--forest); padding-top: 24px; display: flex; flex-direction: column; gap: 12px; }
.step-num { position: relative; width: 56px; height: 44px; display: flex; align-items: center; justify-content: center; font: 500 20px var(--mono); color: var(--forest); }
.step-num.pen svg { left: 0; top: 0; width: 100%; height: 100%; }
.step h3 { font-size: 21px; letter-spacing: -0.01em; color: var(--forest); }
.step p { font-size: 15px; line-height: 1.55; color: var(--muted); }

/* Security */
.secure { border-radius: 24px; background: #fff; border: 1px solid var(--line); padding: clamp(28px, 4vw, 56px); display: flex; flex-wrap: wrap; gap: 48px; }
.secure-copy { flex: 1 1 340px; display: flex; flex-direction: column; gap: 16px; }
.secure-copy h2 { font-size: clamp(30px, 3vw, 40px); line-height: 1.12; color: var(--forest); }
.secure-grid { flex: 2 1 520px; display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 24px 32px; list-style: none; margin: 0; padding: 0; }
.secure-grid li { display: flex; flex-direction: column; gap: 6px; }
.secure-grid b { font-size: 16px; font-weight: 600; color: var(--forest); }
.secure-grid span { font-size: 14px; line-height: 1.5; color: var(--muted); }

/* Pricing */
.pricing { background: var(--stone); }
.plans { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; align-items: stretch; }
@media (max-width: 1100px) { .plans { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 640px) { .plans { grid-template-columns: 1fr; } }
.plan { border-radius: 20px; padding: 28px; display: flex; flex-direction: column; gap: 18px; min-width: 0; background: #fff; border: 1px solid var(--line-2); }
.plan-top { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 8px; min-height: 28px; }
.plan h3 { font-size: 19px; letter-spacing: -0.01em; color: var(--forest); }
.plan { position: relative; }
.badge { position: absolute; top: -13px; right: 20px; padding: 5px 12px; border-radius: 999px; background: var(--tangerine); color: #2b1206; font-size: 12px; font-weight: 600; white-space: nowrap; }
.price { font-size: 40px; font-weight: 600; letter-spacing: -0.03em; color: var(--forest); line-height: 1.1; }
.unit { font-size: 13px; color: var(--muted); }
.seats { font-size: 14px; font-weight: 500; }
.rule { height: 1px; background: #e6e4dd; }
.includes { font-size: 13px; font-weight: 600; color: var(--tangerine-700); }
.feats { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 10px; }
.feats li { display: flex; gap: 10px; font-size: 14px; line-height: 1.4; }
.feats li svg { flex: none; margin-top: 1px; }
.feats li.off { color: var(--muted-2); }
.feats .yes { stroke: var(--forest); }
.feats .no { stroke: var(--line-3); }
.plan.featured { background: var(--forest); border-color: transparent; color: var(--on-forest); box-shadow: 0 24px 48px -20px rgba(15, 46, 36, 0.45); }
.plan.featured h3, .plan.featured .price { color: var(--on-forest); }
.plan.featured .unit { color: var(--on-forest-muted); }
.plan.featured .rule { background: rgba(247, 246, 242, 0.18); }
.plan.featured .includes { color: var(--peach); }
.plan.featured .feats li.off { color: rgba(247, 246, 242, 0.55); }
.plan.featured .feats .yes { stroke: var(--tangerine); }
.plan.featured .feats .no { stroke: rgba(247, 246, 242, 0.35); }
.pricing-note { margin-top: 44px; text-align: center; font-size: 14px; color: var(--muted); }

/* FAQ */
.faq { max-width: 880px; }
.faq h2 { text-align: center; margin-bottom: 32px; font-size: clamp(32px, 3.4vw, 44px); }
.faq-list { border-top: 1px solid var(--line-2); }
.faq details { border-bottom: 1px solid var(--line-2); }
.faq summary { list-style: none; cursor: pointer; min-height: 64px; display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 18px 0; font-size: 18px; font-weight: 500; color: var(--forest); }
.faq summary::-webkit-details-marker { display: none; }
.faq summary:hover { color: var(--tangerine-700); }
.faq summary::after { content: "+"; flex: none; font-size: 26px; font-weight: 300; line-height: 1; color: var(--tangerine-700); transition: transform 0.2s var(--ease); }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { margin: 0 0 22px; font-size: 16px; line-height: 1.6; color: var(--muted); max-width: 720px; }

/* Final CTA */
.final { padding: 0 24px 112px; }
.final-card { max-width: 1192px; margin: 0 auto; border-radius: 28px; background: var(--forest); color: var(--on-forest); padding: clamp(40px, 6vw, 88px) clamp(24px, 5vw, 72px); display: flex; flex-wrap: wrap; gap: 40px; align-items: center; justify-content: space-between; position: relative; overflow: hidden; }
.final-ring { position: absolute; right: -80px; bottom: -110px; width: 380px; height: 380px; opacity: 0.14; }
.final-copy { flex: 1 1 480px; display: flex; flex-direction: column; gap: 16px; position: relative; }
.final-copy h2 { font-size: clamp(34px, 4vw, 56px); line-height: 1.05; letter-spacing: -0.035em; }
.final-copy p { font-size: 18px; line-height: 1.55; color: var(--on-forest-muted); max-width: 520px; }
.final .cta-row { position: relative; }

/* Footer */
.footer { border-top: 1px solid var(--line); }
.footer-top { padding-block: 48px; display: flex; flex-wrap: wrap; gap: 32px; justify-content: space-between; align-items: flex-start; }
.footer-brand { display: flex; flex-direction: column; gap: 12px; max-width: 320px; font-size: 14px; color: var(--muted); }
.footer-cols { display: flex; gap: 56px; flex-wrap: wrap; font-size: 14px; }
.footer-cols div { display: flex; flex-direction: column; gap: 10px; }
.footer-cols h4 { margin: 0; font-size: 14px; font-weight: 600; color: var(--forest); }
.footer-cols a { color: var(--muted); text-decoration: none; }
.footer-cols a:hover { color: var(--tangerine-700); }
.footer-bottom { padding-bottom: 32px; font-size: 13px; color: var(--muted); }

/* ── Request dialog ──────────────────────── */
.dialog { width: min(560px, calc(100vw - 32px)); max-height: calc(100vh - 32px); border: 0; border-radius: 20px; padding: 0; background: #fff; color: var(--graphite); box-shadow: 0 40px 80px -20px rgba(15, 46, 36, 0.45); }
.dialog::backdrop { background: rgba(15, 46, 36, 0.55); backdrop-filter: blur(4px); }
.dialog-inner { padding: 32px; display: flex; flex-direction: column; gap: 20px; }
.dialog-head { display: flex; justify-content: space-between; align-items: flex-start; gap: 16px; }
.dialog h2 { font-size: 26px; color: var(--forest); letter-spacing: -0.02em; }
.dialog .sub { font-size: 15px; color: var(--muted); margin-top: 6px; }
.close { width: 44px; height: 44px; flex: none; border: 0; border-radius: 10px; background: var(--paper); cursor: pointer; display: inline-flex; align-items: center; justify-content: center; }
.close:hover { background: var(--stone); }
.seg { margin-top: 20px; display: grid; grid-template-columns: 1fr 1fr; gap: 6px; padding: 4px; background: var(--paper); border-radius: 12px; border: 0; margin: 0; }
.seg legend { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
.seg label { position: relative; display: flex; align-items: center; justify-content: center; min-height: 44px; border-radius: 9px; font-size: 15px; font-weight: 500; cursor: pointer; color: var(--muted); }
.seg input { position: absolute; opacity: 0; }
.seg input:checked + span { color: var(--forest); }
.seg label:has(input:checked) { background: #fff; box-shadow: 0 1px 3px rgba(15, 46, 36, 0.12); color: var(--forest); }
.seg label:has(input:focus-visible) { outline: 3px solid var(--tangerine); outline-offset: 1px; }
.fields { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
.field { display: flex; flex-direction: column; gap: 6px; }
.field.full { grid-column: 1 / -1; }
.field label { font-size: 13px; font-weight: 500; color: var(--graphite); }
.field input, .field select, .field textarea { font: 15px var(--sans); color: var(--graphite); min-height: 44px; padding: 10px 12px; border: 1px solid var(--line-3); border-radius: 10px; background: #fff; }
.field textarea { min-height: 88px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--tangerine-700); box-shadow: 0 0 0 3px rgba(190, 86, 24, 0.2); }
.consent { font-size: 13px; line-height: 1.5; color: var(--muted); }
.form-error { font-size: 14px; color: #ba1a1a; }
.success { display: flex; flex-direction: column; align-items: flex-start; gap: 14px; }
.success h2 .pen svg { stroke-width: 3; }
@media (max-width: 520px) { .fields { grid-template-columns: 1fr; } .dialog-inner { padding: 24px; } }

/* ── Legal pages (privacy.html, paia.html, terms.html) ── */
.legal-actions { display: flex; align-items: center; gap: 10px; }
.legal-actions .nav-signin { display: inline-flex; align-items: center; min-height: 44px; }
@media (max-width: 560px) { .legal-actions .btn-ghost { display: none; } }
@media (max-width: 400px) { .legal-actions .nav-signin { display: none; } }

.legal-hero { background: var(--forest); color: var(--on-forest); }
.legal-hero .container { padding-block: 72px 64px; display: flex; flex-direction: column; gap: 20px; }
.legal-hero .eyebrow { color: var(--peach); }
.legal-hero h1 { font-size: clamp(38px, 4.6vw, 60px); line-height: 1.05; letter-spacing: -0.035em; max-width: 820px; }
.legal-hero .lead { color: var(--on-forest-muted); max-width: 680px; }
.legal-meta { font: 13px var(--mono); color: var(--mint); }

.legal-tabs { border-bottom: 1px solid var(--line); background: var(--paper); }
.legal-tabs .container { display: flex; gap: 8px; overflow-x: auto; padding-block: 12px; }
.legal-tabs a { flex: none; padding: 8px 14px; border-radius: 999px; font-size: 14px; font-weight: 500; color: var(--muted); text-decoration: none; }
.legal-tabs a:hover { color: var(--forest); background: rgba(15, 46, 36, 0.06); }
.legal-tabs a[aria-current="page"] { background: var(--forest); color: var(--on-forest); }

.legal { display: grid; grid-template-columns: 240px minmax(0, 760px); gap: 64px; padding-block: 64px 112px; }
.toc { position: sticky; top: 96px; align-self: start; max-height: calc(100vh - 120px); overflow-y: auto; }
.toc p { font: 12px var(--mono); letter-spacing: 0.12em; text-transform: uppercase; color: var(--muted); margin-bottom: 12px; }
.toc ol { list-style: none; margin: 0; padding: 0; border-left: 1px solid var(--line-2); display: flex; flex-direction: column; }
.toc a { display: block; padding: 6px 0 6px 16px; margin-left: -1px; border-left: 2px solid transparent; font-size: 14px; line-height: 1.4; color: var(--muted); text-decoration: none; }
.toc a:hover { color: var(--forest); border-left-color: var(--tangerine); }
@media (max-width: 960px) {
  .legal { grid-template-columns: minmax(0, 1fr); gap: 40px; padding-block: 40px 72px; }
  .toc { position: static; max-height: none; background: #fff; border: 1px solid var(--line); border-radius: 16px; padding: 20px; }
}

.doc { font-size: 16px; line-height: 1.7; color: var(--graphite); counter-reset: section; }
.doc > section { padding-top: 8px; scroll-margin-top: 96px; }
.doc > section + section { margin-top: 48px; padding-top: 48px; border-top: 1px solid var(--line); }
.doc h2 { font-size: clamp(24px, 2.4vw, 30px); line-height: 1.2; color: var(--forest); margin-bottom: 16px; display: flex; gap: 14px; align-items: baseline; }
.doc h2::before { counter-increment: section; content: counter(section, decimal-leading-zero); font: 500 15px var(--mono); color: var(--tangerine-700); letter-spacing: 0; }
.doc h3 { font-size: 18px; letter-spacing: -0.01em; color: var(--forest); margin: 28px 0 8px; }
.doc p + p, .doc p + ul, .doc ul + p, .doc p + ol, .doc ol + p, .doc table + p, .doc p + table, .doc p + dl, .doc dl + p { margin-top: 14px; }
.doc ul, .doc ol { margin: 0; padding-left: 22px; }
.doc li + li { margin-top: 6px; }
.doc li::marker { color: var(--tangerine-700); }
.doc strong { font-weight: 600; color: var(--forest); }
.doc .note { color: var(--muted); font-size: 15px; }

.summary { background: var(--apricot); border-radius: 16px; padding: 24px 28px; margin-bottom: 48px; }
.summary h2 { font-size: 15px; font-weight: 600; letter-spacing: 0; color: var(--tangerine-800); margin-bottom: 10px; }
.summary h2::before { content: none; }
.summary ul { padding-left: 20px; }

.facts { display: grid; grid-template-columns: max-content minmax(0, 1fr); gap: 10px 24px; margin: 0; padding: 20px 24px; background: #fff; border: 1px solid var(--line); border-radius: 14px; font-size: 15px; }
.facts dt { color: var(--muted); }
.facts dd { margin: 0; color: var(--graphite); overflow-wrap: anywhere; }
@media (max-width: 520px) { .facts { grid-template-columns: 1fr; gap: 2px; } .facts dd + dt { margin-top: 10px; } }

.table-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: 14px; background: #fff; }
.doc table { width: 100%; border-collapse: collapse; font-size: 14px; line-height: 1.5; }
.doc th, .doc td { text-align: left; vertical-align: top; padding: 12px 16px; border-top: 1px solid var(--stone); }
.doc thead th { border-top: 0; background: var(--paper); font-size: 13px; font-weight: 600; color: var(--muted); }
.doc tbody th { font-weight: 600; color: var(--forest); min-width: 150px; }
.doc .table-wrap + p, .doc p + .table-wrap { margin-top: 14px; }
.doc li > ul { margin-top: 6px; }
