/* =============================================================================
   Quis (quis.co marketing site)
   "Golden Hour" design system. Mirrors the app's brand (Fraunces + Manrope,
   Sunset Coral / Warm Sand / Deep Indigo / Sage). Light + dark.
   ============================================================================= */

@import url("assets/fonts/fonts.css");

/* ---------------------------------------------------------------- tokens --- */
:root {
  /* Brand: Golden Hour */
  --coral: #ff6b6b;
  --coral-deep: #e85555;
  --coral-soft: #ffecec;
  --gold: #f6b26b;          /* the literal "golden hour" warmth, used in glows */
  --sage: #16c79a;          /* sync / success / "live" cues */
  --sage-soft: #e3f9f1;

  /* Ink + surfaces (light) */
  --ink: #23282b;
  --ink-soft: #4a5560;
  --muted: #6b7680;
  --canvas: #f9f7f2;        /* warm sand */
  --surface: #fffffb;
  --surface-2: #f3efe7;
  --divider: #e7e0d4;
  --pin: var(--coral);

  /* Effects */
  --shadow-sm: 0 1px 2px rgba(45, 52, 54, .06), 0 2px 8px rgba(45, 52, 54, .05);
  --shadow-md: 0 8px 24px rgba(45, 52, 54, .08), 0 2px 6px rgba(45, 52, 54, .05);
  --shadow-lg: 0 24px 60px rgba(45, 52, 54, .14), 0 6px 16px rgba(45, 52, 54, .07);
  --shadow-coral: 0 14px 34px rgba(255, 107, 107, .32);

  --r-sm: 10px;
  --r: 16px;
  --r-lg: 24px;
  --r-xl: 32px;
  --r-pill: 999px;

  --maxw: 1180px;
  --gutter: clamp(20px, 5vw, 40px);
  --section-y: clamp(64px, 9vw, 120px);

  --font-display: "Fraunces", Georgia, "Times New Roman", serif;
  --font-body: "Manrope", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;

  --ease: cubic-bezier(.22, 1, .36, 1);
}

[data-theme="dark"] {
  --ink: #f3efe7;
  --ink-soft: #cdd3d2;
  --muted: #9aa4a3;
  --canvas: #14181a;
  --surface: #1c2123;
  --surface-2: #232a2c;
  --divider: #2c3438;
  --coral-soft: #2a1f20;
  --sage-soft: #15241f;
  --shadow-sm: 0 1px 2px rgba(0, 0, 0, .4);
  --shadow-md: 0 10px 28px rgba(0, 0, 0, .45);
  --shadow-lg: 0 28px 64px rgba(0, 0, 0, .55);
  --shadow-coral: 0 14px 40px rgba(255, 107, 107, .28);
}

/* Honor system preference unless the user explicitly picked light. */
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --ink: #f3efe7;
    --ink-soft: #cdd3d2;
    --muted: #9aa4a3;
    --canvas: #14181a;
    --surface: #1c2123;
    --surface-2: #232a2c;
    --divider: #2c3438;
    --coral-soft: #2a1f20;
    --sage-soft: #15241f;
    --shadow-sm: 0 1px 2px rgba(0, 0, 0, .4);
    --shadow-md: 0 10px 28px rgba(0, 0, 0, .45);
    --shadow-lg: 0 28px 64px rgba(0, 0, 0, .55);
    --shadow-coral: 0 14px 40px rgba(255, 107, 107, .28);
  }
}

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

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .001ms !important; transition-duration: .001ms !important; }
}

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 1.0625rem;
  line-height: 1.65;
  color: var(--ink);
  background: var(--canvas);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 600;
  line-height: 1.08;
  letter-spacing: -0.01em;
  color: var(--ink);
  margin: 0 0 .5em;
  font-optical-sizing: auto;
}

p { margin: 0 0 1rem; }
a { color: inherit; text-decoration: none; }
img, svg { max-width: 100%; display: block; }
ul { margin: 0; padding: 0; }

::selection { background: var(--coral); color: #fff; }

:focus-visible {
  outline: 3px solid var(--coral);
  outline-offset: 2px;
  border-radius: 4px;
}

/* --------------------------------------------------------------- layout --- */
.wrap { width: 100%; max-width: var(--maxw); margin-inline: auto; padding-inline: var(--gutter); }
.section { padding-block: var(--section-y); }
/* Keep the sticky header from covering anchored targets on jump. */
#features, #privacy, #story, #get, #updates { scroll-margin-top: 84px; }
.eyebrow {
  font-family: var(--font-body);
  font-weight: 700;
  font-size: .8rem;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--coral-deep);
  margin: 0 0 .9rem;
}
.lead { font-size: clamp(1.06rem, 1.6vw, 1.22rem); color: var(--ink-soft); max-width: 56ch; }
.center { text-align: center; margin-inline: auto; }
.center .lead { margin-inline: auto; }

/* ------------------------------------------------------------- buttons --- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .55em;
  font-family: var(--font-body); font-weight: 700; font-size: 1rem;
  padding: .9em 1.5em; border-radius: var(--r-pill);
  border: 1.5px solid transparent; cursor: pointer;
  transition: transform .25s var(--ease), box-shadow .25s var(--ease), background .2s, color .2s, border-color .2s;
  white-space: nowrap;
}
.btn-primary { background: var(--coral); color: #fff; box-shadow: var(--shadow-coral); }
.btn-primary:hover { transform: translateY(-2px); background: var(--coral-deep); }
.btn-ghost { background: transparent; color: var(--ink); border-color: var(--divider); }
.btn-ghost:hover { border-color: var(--coral); color: var(--coral-deep); transform: translateY(-2px); }
/* Compact nav download button (avoids the oversized pill in the header). */
.btn-nav { padding: .5em 1.15em; font-size: .94rem; }

/* ------------------------------------------------------- store badges --- */
/* Official Apple + Google Play badges (self-contained black pills that read
   correctly on both light and dark backgrounds). */
.store-row { display: flex; flex-wrap: wrap; gap: .75rem; align-items: center; }
.store-badge {
  display: inline-flex; border-radius: 11px;
  transition: transform .25s var(--ease), box-shadow .25s var(--ease);
}
.store-badge img { height: 52px; width: auto; display: block; border-radius: 11px; }
.store-badge:hover { transform: translateY(-2px); }
.store-badge:focus-visible { outline-offset: 4px; }
/* Black badges need a faint ring so they stay defined on dark surfaces. */
[data-theme="dark"] .store-badge { box-shadow: 0 0 0 1px rgba(255,255,255,.18); border-radius: 11px; }
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) .store-badge { box-shadow: 0 0 0 1px rgba(255,255,255,.18); border-radius: 11px; }
}

/* ----------------------------------------------------------------- nav --- */
.nav {
  position: sticky; top: 0; z-index: 60;
  backdrop-filter: saturate(160%) blur(14px);
  -webkit-backdrop-filter: saturate(160%) blur(14px);
  background: color-mix(in srgb, var(--canvas) 80%, transparent);
  border-bottom: 1px solid transparent;
  transition: border-color .3s, background .3s;
}
.nav.scrolled { border-bottom-color: var(--divider); }
.nav-inner { display: flex; align-items: center; justify-content: space-between; height: 68px; }
.brand { display: inline-flex; align-items: center; gap: .6rem; font-family: var(--font-display); font-weight: 600; font-size: 1.32rem; letter-spacing: -.02em; white-space: nowrap; }
.brand img { width: 30px; height: 30px; border-radius: 8px; box-shadow: var(--shadow-sm); }
.nav-links { display: flex; align-items: center; gap: 1.7rem; }
.nav-links a.navlink { font-weight: 600; font-size: .96rem; color: var(--ink-soft); transition: color .2s; }
.nav-links a.navlink:hover,
.nav-links a.navlink[aria-current="page"] { color: var(--coral-deep); }
.nav-links a.navlink[aria-current="page"] { font-weight: 700; }
.nav-cta { display: inline-flex; align-items: center; gap: 1rem; }

.theme-toggle {
  width: 40px; height: 40px; border-radius: var(--r-pill);
  border: 1.5px solid var(--divider); background: var(--surface);
  display: grid; place-items: center; cursor: pointer; color: var(--ink-soft);
  transition: border-color .2s, color .2s, transform .25s var(--ease);
}
.theme-toggle:hover { border-color: var(--coral); color: var(--coral-deep); transform: rotate(-12deg); }
.theme-toggle svg { width: 19px; height: 19px; }
.theme-toggle .moon { display: none; }
[data-theme="dark"] .theme-toggle .sun { display: none; }
[data-theme="dark"] .theme-toggle .moon { display: block; }
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) .theme-toggle .sun { display: none; }
  :root:not([data-theme="light"]) .theme-toggle .moon { display: block; }
}

.hamburger { display: none; width: 42px; height: 42px; border: 1.5px solid var(--divider); background: var(--surface); border-radius: 12px; cursor: pointer; padding: 0; position: relative; }
.hamburger span { position: absolute; left: 11px; right: 11px; height: 2px; background: var(--ink); border-radius: 2px; transition: transform .3s var(--ease), opacity .2s; }
.hamburger span:nth-child(1) { top: 14px; }
.hamburger span:nth-child(2) { top: 20px; }
.hamburger span:nth-child(3) { top: 26px; }
body.menu-open .hamburger span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
body.menu-open .hamburger span:nth-child(2) { opacity: 0; }
body.menu-open .hamburger span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

/* mobile slide-in menu */
.mobile-menu {
  position: fixed; inset: 68px 0 0; z-index: 55;
  background: var(--canvas);
  transform: translateX(100%); transition: transform .35s var(--ease);
  display: flex; flex-direction: column; gap: .4rem; padding: 1.4rem var(--gutter);
  visibility: hidden;
}
body.menu-open .mobile-menu { transform: translateX(0); visibility: visible; }
.mobile-menu a { font-family: var(--font-display); font-size: 1.5rem; font-weight: 600; padding: .7rem 0; border-bottom: 1px solid var(--divider); }
.mobile-menu a[aria-current="page"] { color: var(--coral-deep); }
.mobile-menu a.mobile-menu-legal { margin-top: .5rem; padding-top: 1.1rem; border-top: 1px solid var(--divider); }
.mobile-menu .btn { margin-top: 1rem; }

/* ---------------------------------------------------------------- hero --- */
.hero { position: relative; padding-top: clamp(40px, 6vw, 80px); padding-bottom: var(--section-y); overflow: clip; }
.hero::before {
  content: ""; position: absolute; z-index: 0; top: -22%; right: -12%;
  width: 60vw; height: 60vw; max-width: 760px; max-height: 760px; border-radius: 50%;
  background: radial-gradient(circle at 30% 30%, color-mix(in srgb, var(--gold) 55%, transparent), transparent 62%),
              radial-gradient(circle at 70% 60%, color-mix(in srgb, var(--coral) 42%, transparent), transparent 60%);
  filter: blur(20px); opacity: .8; pointer-events: none;
}
.hero-grid { position: relative; z-index: 1; display: grid; grid-template-columns: 1.05fr .95fr; gap: clamp(2rem, 5vw, 4.5rem); align-items: center; }
.hero h1 { font-size: clamp(2.6rem, 6.2vw, 4.4rem); font-weight: 600; letter-spacing: -.025em; }
.hero h1 .accent { color: var(--coral); font-style: italic; }
.hero .lead { font-size: clamp(1.12rem, 1.8vw, 1.35rem); margin-bottom: 1.8rem; }
.hero-cta { margin-top: 1.6rem; }
.hero-note { margin-top: 1rem; font-size: .9rem; color: var(--muted); display: flex; align-items: center; gap: .5rem; }
.hero-note svg { width: 16px; height: 16px; color: var(--sage); }

/* -------------------------------------------------------- phone mockup --- */
.phone {
  position: relative; width: min(330px, 78vw); margin-inline: auto;
  aspect-ratio: 330 / 670;
  background: var(--ink); border-radius: 44px; padding: 11px;
  box-shadow: var(--shadow-lg); border: 1px solid rgba(255,255,255,.08);
}
[data-theme="dark"] .phone { background: #05080a; }
.phone::after { /* notch */
  content: ""; position: absolute; top: 18px; left: 50%; transform: translateX(-50%);
  width: 36%; height: 22px; background: var(--ink); border-radius: var(--r-pill); z-index: 3;
}
[data-theme="dark"] .phone::after { background: #05080a; }
.phone-screen { position: relative; width: 100%; height: 100%; border-radius: 34px; overflow: hidden; background: var(--surface); }
.phone-float { position: absolute; z-index: 4; background: var(--surface); border-radius: var(--r); box-shadow: var(--shadow-md); padding: .7rem .85rem; display: flex; align-items: center; gap: .6rem; border: 1px solid var(--divider); }
.phone-float .pin { width: 30px; height: 30px; border-radius: 9px; background: var(--coral-soft); display: grid; place-items: center; color: var(--coral); flex: none; }
.phone-float .pin svg { width: 17px; height: 17px; }
.phone-float small { display: block; font-size: .68rem; color: var(--muted); font-weight: 600; letter-spacing: .03em; }
.phone-float b { font-size: .9rem; font-family: var(--font-display); font-weight: 600; }
.hero .phone-float { top: 16%; left: -8%; animation: floaty 6s ease-in-out infinite; }
.hero .phone-float.f2 { top: auto; bottom: 12%; left: auto; right: -6%; animation-delay: -3s; }
@keyframes floaty { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-10px); } }

/* ------------------------------------------------------- trust strip --- */
.trust { background: var(--surface); border-block: 1px solid var(--divider); }
.trust .wrap { padding-block: clamp(40px, 5vw, 56px); }
.trust-head { text-align: center; font-family: var(--font-display); font-size: clamp(1.1rem, 2vw, 1.4rem); color: var(--ink-soft); margin-bottom: 2.2rem; font-weight: 500; }
.trust-head b { color: var(--ink); }
.trust-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.4rem; }
.trust-card { text-align: center; padding: 1.2rem; }
.trust-ico { width: 52px; height: 52px; margin: 0 auto 1rem; border-radius: 15px; display: grid; place-items: center; background: var(--coral-soft); color: var(--coral-deep); }
.trust-ico svg { width: 26px; height: 26px; }
.trust-card h3 { font-size: 1.18rem; margin-bottom: .3rem; }
.trust-card p { color: var(--muted); font-size: .96rem; margin: 0; }

/* ---------------------------------------------------------- features --- */
.feat { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2rem, 6vw, 5rem); align-items: center; }
.feat + .feat { margin-top: clamp(64px, 9vw, 116px); }
.feat.reverse .feat-media { order: -1; }
/* Feature NAME is the hero of the block; the line below is a smaller tagline. */
.feat-name { font-size: clamp(2rem, 4.2vw, 3rem); line-height: 1.04; margin-bottom: .55rem; }
.feat-sub { color: var(--ink-soft); font-family: var(--font-body); font-weight: 500;
  font-size: clamp(1.08rem, 1.7vw, 1.28rem); line-height: 1.45; max-width: 40ch; margin: 0; }
.feat-list { list-style: none; margin-top: 1.4rem; display: flex; flex-direction: column; gap: .85rem; }
.feat-list li { display: flex; gap: .8rem; align-items: center; font-size: 1rem; color: var(--ink-soft); }
.feat-list li .ic { width: 32px; height: 32px; border-radius: 10px; background: var(--sage-soft);
  color: var(--sage); display: grid; place-items: center; flex: none; }
.feat-list li .ic svg { width: 18px; height: 18px; }
.feat-list li b { color: var(--ink); }
/* Shared privacy reassurance note (card scanner, insights). */
.privnote { margin-top: 1.3rem; display: flex; gap: .65rem; align-items: flex-start;
  font-size: .88rem; line-height: 1.5; color: var(--ink-soft);
  background: var(--sage-soft); border: 1px solid color-mix(in srgb, var(--sage) 24%, var(--divider));
  border-radius: 14px; padding: .8rem .95rem; max-width: 44ch; }
.privnote svg { width: 18px; height: 18px; color: var(--sage); flex: none; margin-top: 1px; }
.feat-copy .btn-ghost { margin-top: 1.4rem; }

.feat-media { position: relative; }
.media-card {
  position: relative; border-radius: var(--r-xl); padding: clamp(1.2rem, 3vw, 2rem);
  background: linear-gradient(160deg, color-mix(in srgb, var(--gold) 16%, var(--surface)), var(--surface));
  border: 1px solid var(--divider); box-shadow: var(--shadow-md); overflow: hidden;
}
.media-card.tealish { background: linear-gradient(160deg, color-mix(in srgb, var(--sage) 14%, var(--surface)), var(--surface)); }
.media-card svg.art { width: 100%; height: auto; display: block; }

/* --------------------------------------------------------- CTA band --- */
.ctaband { position: relative; overflow: hidden; }
.ctaband .panel {
  position: relative; border-radius: var(--r-xl);
  background: linear-gradient(135deg, var(--coral), var(--coral-deep) 70%, #d94b4b);
  color: #fff; text-align: center; padding: clamp(2.6rem, 6vw, 4.4rem) var(--gutter);
  box-shadow: var(--shadow-lg);
}
.ctaband .panel::before {
  content: ""; position: absolute; inset: 0; opacity: .5; pointer-events: none;
  background: radial-gradient(circle at 15% 20%, rgba(255,255,255,.25), transparent 40%),
              radial-gradient(circle at 85% 80%, color-mix(in srgb, var(--gold) 70%, transparent), transparent 45%);
}
.ctaband h2 { color: #fff; font-size: clamp(1.9rem, 4vw, 3rem); position: relative; }
.ctaband p { color: rgba(255,255,255,.92); max-width: 48ch; margin-inline: auto; position: relative; font-size: 1.1rem; }
.ctaband .store-row { justify-content: center; margin-top: 1.8rem; position: relative; }
.ctaband .store-badge { background: rgba(0,0,0,.28); border-color: rgba(255,255,255,.18); }
.ctaband .store-badge:hover { background: rgba(0,0,0,.42); }

/* --------------------------------------------------------- founder --- */
.founder .panel { display: grid; grid-template-columns: 280px 1fr; gap: clamp(1.6rem, 4vw, 3.4rem); align-items: center; background: var(--surface); border: 1px solid var(--divider); border-radius: var(--r-xl); padding: clamp(1.6rem, 4vw, 3rem); box-shadow: var(--shadow-md); }
.founder-photo { position: relative; }
.founder-photo img { width: 100%; border-radius: var(--r-lg); aspect-ratio: 1; object-fit: cover; box-shadow: var(--shadow-md); }
.founder-photo .badge-pin { position: absolute; bottom: -14px; right: -14px; background: var(--surface); border: 1px solid var(--divider); border-radius: var(--r); padding: .5rem .8rem; box-shadow: var(--shadow-md); display: flex; align-items: center; gap: .5rem; font-size: .82rem; font-weight: 700; }
.founder-photo .badge-pin svg { width: 16px; height: 16px; color: var(--coral); }
.founder h2 { font-size: clamp(1.7rem, 3vw, 2.3rem); }
.founder blockquote { margin: 0; }
.founder blockquote p { font-size: 1.06rem; color: var(--ink-soft); }
.founder blockquote p:first-of-type::first-letter { initial-letter: 2; -webkit-initial-letter: 2; color: var(--coral); font-family: var(--font-display); margin-right: .6rem; font-weight: 600; }
.founder .sign { display: flex; align-items: center; gap: .8rem; margin-top: 1.2rem; }
.founder .sign .name { font-family: var(--font-display); font-weight: 600; font-size: 1.15rem; }
.founder .sign .role { color: var(--muted); font-size: .9rem; }
.founder .sign a { display: inline-grid; place-items: center; width: 38px; height: 38px; border-radius: 10px; background: var(--surface-2); transition: transform .2s var(--ease), background .2s; }
.founder .sign a:hover { transform: translateY(-2px); background: var(--coral-soft); }
.founder .sign a svg, .founder .sign a img { width: 20px; height: 20px; }

/* --------------------------------------------------------- signup --- */
.signup .panel {
  border-radius: var(--r-xl); padding: clamp(1.8rem, 4vw, 3.2rem);
  background: linear-gradient(165deg, var(--surface), color-mix(in srgb, var(--sage) 8%, var(--surface)));
  border: 1px solid var(--divider); box-shadow: var(--shadow-md);
  display: grid; grid-template-columns: 1fr 1fr; gap: clamp(1.6rem, 4vw, 3rem); align-items: start;
}
.signup h2 { font-size: clamp(1.7rem, 3.2vw, 2.4rem); }
.signup .roadmap { list-style: none; margin-top: 1.2rem; display: flex; flex-direction: column; gap: .85rem; }
.signup .roadmap li { display: flex; gap: .7rem; align-items: flex-start; color: var(--ink-soft); }
.signup .roadmap .soon { font-size: .62rem; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; color: var(--sage); background: var(--sage-soft); padding: .2em .55em; border-radius: var(--r-pill); margin-top: 3px; flex: none; }
form.signup-form { display: flex; flex-direction: column; gap: .9rem; }
.field label { display: block; font-weight: 700; font-size: .9rem; margin-bottom: .35rem; }
.field input, .field textarea {
  width: 100%; font-family: var(--font-body); font-size: 1rem; color: var(--ink);
  background: var(--canvas); border: 1.5px solid var(--divider); border-radius: var(--r-sm);
  padding: .8em .95em; transition: border-color .2s, box-shadow .2s;
}
.field textarea { resize: vertical; min-height: 96px; }
.field input:focus, .field textarea:focus { outline: none; border-color: var(--coral); box-shadow: 0 0 0 3px var(--coral-soft); }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form-note { font-size: .82rem; color: var(--muted); margin: 0; }
.form-status { font-size: .92rem; font-weight: 600; min-height: 1.2em; margin: 0; }
.form-status.ok { color: var(--sage); }
.form-status.err { color: var(--coral-deep); }
button[disabled] { opacity: .6; cursor: not-allowed; }

/* ---------------------------------------------------------- footer --- */
.footer { background: var(--surface); border-top: 1px solid var(--divider); padding-block: clamp(48px, 6vw, 72px) 2rem; }
.footer-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr; gap: 2rem; }
.footer .brand { margin-bottom: .8rem; }
.footer .tagline { color: var(--muted); max-width: 30ch; font-size: .96rem; }
.footer h4 { font-family: var(--font-body); font-size: .78rem; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); margin-bottom: .9rem; }
.footer-col a { display: block; color: var(--ink-soft); padding: .3rem 0; font-size: .98rem; transition: color .2s; }
.footer-col a:hover { color: var(--coral-deep); }
.footer-col a[aria-current="page"] { color: var(--coral-deep); font-weight: 700; }
.footer-bottom { display: flex; flex-wrap: wrap; gap: 1rem; justify-content: space-between; align-items: center; margin-top: 2.6rem; padding-top: 1.6rem; border-top: 1px solid var(--divider); color: var(--muted); font-size: .88rem; }
.footer-bottom .store-badge img { height: 40px; }
.legal-footer { margin-top: 0; border-top: none; padding-top: 0; }
.legal-footer-links { display: flex; flex-wrap: wrap; gap: 1rem 1.4rem; }
.legal-footer-links a { color: var(--ink-soft); font-weight: 600; transition: color .2s; }
.legal-footer-links a:hover { color: var(--coral-deep); }

/* ---------------------------------------------------------- legal --- */
.legal-hero { padding-top: clamp(40px, 6vw, 72px); padding-bottom: clamp(24px, 3vw, 36px); }
.legal-hero h1 { font-size: clamp(2.1rem, 4.6vw, 3.2rem); }
.legal-hero .dates { color: var(--muted); font-size: .92rem; font-weight: 600; }
.legal { max-width: 820px; margin-inline: auto; padding-bottom: var(--section-y); }
.legal-toc { background: var(--surface); border: 1px solid var(--divider); border-radius: var(--r); padding: 1.2rem 1.4rem; margin-bottom: 2.6rem; }
.legal-toc h4 { font-family: var(--font-body); text-transform: uppercase; letter-spacing: .1em; font-size: .74rem; color: var(--muted); margin: 0 0 .7rem; }
.legal-toc ol { margin: 0; padding-left: 1.2rem; columns: 2; gap: 1.4rem; }
.legal-toc a { color: var(--ink-soft); font-size: .92rem; }
.legal-toc a:hover { color: var(--coral-deep); }
.legal h2 { font-size: clamp(1.3rem, 2.4vw, 1.7rem); margin-top: 2.4rem; scroll-margin-top: 88px; padding-top: .3rem; }
.legal h3 { font-family: var(--font-body); font-size: 1.05rem; font-weight: 700; margin-top: 1.5rem; }
.legal p, .legal li { color: var(--ink-soft); }
.legal ul { padding-left: 1.2rem; margin: 0 0 1rem; }
.legal ul li { margin-bottom: .4rem; list-style: disc; }
.legal a:not(.btn) { color: var(--coral-deep); text-decoration: underline; text-underline-offset: 2px; }
.legal .intro { font-size: 1.12rem; color: var(--ink); }
.legal table { width: 100%; border-collapse: collapse; margin: 1.2rem 0; font-size: .94rem; }
.legal th, .legal td { text-align: left; padding: .7rem .8rem; border: 1px solid var(--divider); vertical-align: top; }
.legal th { background: var(--surface-2); font-family: var(--font-body); }
.legal .callout { background: var(--sage-soft); border: 1px solid color-mix(in srgb, var(--sage) 30%, var(--divider)); border-radius: var(--r); padding: 1.1rem 1.3rem; margin: 1.4rem 0; }
.legal .callout p:last-child { margin-bottom: 0; }
.legal strong { color: var(--ink); }

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

/* ----------------------------------------------------- responsive --- */
@media (max-width: 940px) {
  .hero-grid { grid-template-columns: 1fr; text-align: center; }
  .hero .lead { margin-inline: auto; }
  .hero-cta .store-row { justify-content: center; }
  .hero-note { justify-content: center; }
  .hero-media { margin-top: 1rem; }
  .feat, .feat.reverse { grid-template-columns: 1fr; gap: 2rem; }
  .feat.reverse .feat-media { order: 0; }
  .feat-media { max-width: 460px; margin-inline: auto; }
  .feat p, .feat .feat-list { margin-inline: auto; }
  .founder .panel { grid-template-columns: 1fr; text-align: center; }
  .founder-photo { max-width: 240px; margin: 0 auto 1.4rem; }
  .founder .sign { justify-content: center; }
  .founder blockquote p { text-align: left; }
  .signup .panel { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-col.brand-col { grid-column: 1 / -1; }
}

@media (max-width: 960px) and (min-width: 721px) {
  .nav-links { gap: 1.05rem; }
  .nav-links a.navlink { font-size: .88rem; }
  .brand { font-size: 1.12rem; }
  .nav-cta { gap: .65rem; }
  .btn-nav { padding: .45em .95em; font-size: .88rem; }
}

@media (max-width: 720px) {
  .nav-links { display: none; }
  .hamburger { display: block; }
  .trust-grid { grid-template-columns: 1fr; gap: .6rem; }
  .legal-toc ol { columns: 1; }
  .footer-grid { grid-template-columns: 1fr; }
}

@media (max-width: 520px) {
  .nav-inner { height: 64px; }
  .nav-cta { gap: .55rem; }
  .nav-cta .btn-nav { display: none; }
  .brand { font-size: 1.16rem; gap: .5rem; }
  .mobile-menu { inset: 64px 0 0; }
  .legal-hero { padding-top: 34px; padding-bottom: 18px; }
  .legal-toc { padding: 1rem 1.05rem; margin-bottom: 2rem; }
}

@media (min-width: 721px) { .mobile-menu { display: none; } }
