/* Liva's website — the same "Glas" idiom as the app (theme/tokens.ts): a cool
   grey ground with a blue glow at the top, white cards on soft shadows, glass
   chrome, and Liva blue as the one accent. */

:root {
  --ground: #F2F3F7;
  --glow: #E3EBFF;
  --surface: #FFFFFF;
  --surface-2: #F7F8FB;
  --border: #E6E7EE;
  --hairline: rgba(11, 11, 15, 0.06);
  --text: #0B0B0F;
  --text-2: #3E3F47;
  --muted: #68686F;
  --faint: #A0A1AA;
  --blue: #2D69FF;
  --blue-deep: #2448D8;
  --blue-text: #2459E6;
  --blue-soft: #E8EEFF;
  --blue-soft-border: #CFDAFF;
  --night-a: #18245E;
  --night-b: #293B98;
  --amber: #FF9F0A;
  --amber-text: #9A4F00;
  --amber-soft: #FFF3E0;
  --glass: rgba(255, 255, 255, 0.72);
  --glass-border: rgba(255, 255, 255, 0.9);
  --shadow-card: 0 1px 2px rgba(20, 30, 80, 0.04), 0 12px 32px -12px rgba(20, 30, 80, 0.14);
  --shadow-phone: 0 50px 90px -30px rgba(20, 30, 80, 0.45), 0 20px 40px -20px rgba(20, 30, 80, 0.25);
  /* The family colours (theme/family.ts). */
  --hav: #22D3EE; --valmue: #FF3B7F; --gran: #30C05A; --honning: #FF9F0A; --brombaer: #8B5CF6; --syren: #B44AC0;
  --r-card: 24px;
  --r-pill: 999px;
  color-scheme: light dark;
}

@media (prefers-color-scheme: dark) {
  :root {
    --ground: #0C1122;
    --glow: #17264F;
    --surface: #171D30;
    --surface-2: #1E2540;
    --border: rgba(255, 255, 255, 0.08);
    --hairline: rgba(255, 255, 255, 0.08);
    --text: #F5F7FF;
    --text-2: #C9CFE3;
    --muted: #A3AAC2;
    --faint: #6B7390;
    --blue-text: #8FB2FF;
    --blue-soft: rgba(45, 105, 255, 0.18);
    --blue-soft-border: rgba(45, 105, 255, 0.35);
    --amber-text: #FFC36A;
    --amber-soft: rgba(255, 159, 10, 0.16);
    --glass: rgba(18, 23, 42, 0.7);
    --glass-border: rgba(255, 255, 255, 0.1);
    --shadow-card: 0 1px 2px rgba(0, 0, 0, 0.3), 0 12px 32px -12px rgba(0, 0, 0, 0.5);
    --shadow-phone: 0 50px 90px -30px rgba(0, 0, 0, 0.7), 0 20px 40px -20px rgba(0, 0, 0, 0.5);
  }
}

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

html { background: var(--glow); }
body {
  margin: 0;
  /* The top glow: glow → ground, like every screen in the app. It sits on the
     body itself (not a pseudo-element) so Safari paints the glow behind the
     status bar too, instead of the plain ground. */
  background: linear-gradient(180deg, var(--glow) 0, var(--ground) 720px) no-repeat var(--ground);
  color: var(--text);
  font-family: Inter, -apple-system, BlinkMacSystemFont, "SF Pro Text", "Segoe UI", Roboto, sans-serif;
  font-size: 17px;
  line-height: 1.55;
  font-feature-settings: "cv11", "ss01", "ss03";
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

a { color: var(--blue-text); text-decoration: none; }
a:hover { text-decoration: underline; }
img { max-width: 100%; display: block; }
h1, h2, h3, h4 { margin: 0; font-weight: 800; letter-spacing: -0.03em; line-height: 1.08; text-wrap: balance; }
p { margin: 0; }
ul { margin: 0; padding: 0; list-style: none; }
button { font: inherit; }
:focus-visible { outline: 3px solid var(--blue); outline-offset: 3px; border-radius: 8px; }

.wrap { width: 100%; max-width: 1120px; margin: 0 auto; padding: 0 24px; }
@media (max-width: 600px) { .wrap { padding: 0 16px; } }

/* ── Nav ─────────────────────────────────────────────────────────────────── */
.nav {
  position: sticky; top: 0; z-index: 50;
  padding: 12px 0;
  transition: padding .25s ease;
}
.nav .wrap { padding-left: 10px; padding-right: 10px; }
.nav-inner {
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  width: 100%; height: 56px; padding: 0 10px 0 14px;
  border-radius: var(--r-pill);
  background: var(--glass);
  border: 1px solid var(--glass-border);
  box-shadow: 0 1px 0 rgba(255,255,255,.6) inset, 0 8px 30px -14px rgba(20,30,80,.35);
  -webkit-backdrop-filter: saturate(180%) blur(20px);
  backdrop-filter: saturate(180%) blur(20px);
}
@media (prefers-color-scheme: dark) { .nav-inner { box-shadow: 0 1px 0 rgba(255,255,255,.06) inset, 0 8px 30px -14px rgba(0,0,0,.6); } }
.brand { display: flex; align-items: center; gap: 10px; color: var(--text); font-weight: 800; font-size: 20px; letter-spacing: -0.02em; }
.brand:hover { text-decoration: none; }
.brand img { width: 32px; height: 32px; border-radius: 9px; }
.nav-links { display: flex; gap: 4px; }
.nav-links a { padding: 8px 14px; border-radius: var(--r-pill); color: var(--text-2); font-weight: 600; font-size: 15px; }
.nav-links a:hover { background: var(--hairline); text-decoration: none; color: var(--text); }
.menu-btn { display: none; width: 40px; height: 40px; border: 0; border-radius: 50%; background: transparent; color: var(--text); place-items: center; cursor: pointer; }
.menu-btn:hover { background: var(--hairline); }
.menu-btn svg { width: 22px; height: 22px; }
.menu-btn .x, .nav.open .menu-btn .bars { display: none; }
.nav.open .menu-btn .x { display: block; }
.nav-right { display: flex; align-items: center; gap: 6px; }
.nav-sheet { display: none; }
@media (max-width: 760px) {
  .nav-links { display: none; }
  .menu-btn { display: grid; }
  .nav-sheet {
    display: none; margin: 8px 10px 0; padding: 8px; border-radius: 22px;
    background: var(--glass); border: 1px solid var(--glass-border);
    box-shadow: 0 1px 0 rgba(255,255,255,.6) inset, 0 16px 40px -16px rgba(20,30,80,.4);
    -webkit-backdrop-filter: saturate(180%) blur(20px); backdrop-filter: saturate(180%) blur(20px);
  }
  .nav.open .nav-sheet { display: grid; }
  .nav-sheet a { display: flex; align-items: center; justify-content: space-between; padding: 14px 16px; border-radius: 14px; color: var(--text); font-weight: 600; font-size: 17px; }
  .nav-sheet a:hover { background: var(--hairline); text-decoration: none; }
  .nav-sheet a svg { width: 18px; height: 18px; color: var(--faint); }
}

/* ── Buttons ─────────────────────────────────────────────────────────────── */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 12px 20px; border-radius: var(--r-pill);
  font-weight: 700; font-size: 16px; line-height: 1; white-space: nowrap;
  transition: transform .15s ease, background .15s ease, box-shadow .15s ease;
}
.btn:hover { text-decoration: none; transform: translateY(-1px); }
.btn:active { transform: translateY(0); }
.btn-primary { background: var(--blue); color: #fff; box-shadow: 0 8px 20px -8px rgba(45,105,255,.6); }
.btn-primary:hover { background: var(--blue-deep); }
.btn-ghost { background: var(--blue-soft); color: var(--blue-text); border: 1px solid var(--blue-soft-border); }
.btn-sm { padding: 10px 16px; font-size: 15px; }

/* Apple's badge shape: black pill, the apple, "Hent i" over "App Store". */
.store {
  display: inline-flex; align-items: center; gap: 10px;
  height: 56px; padding: 0 20px 0 16px; border-radius: 14px;
  background: #000; color: #fff; border: 1px solid rgba(255,255,255,.18);
  transition: transform .15s ease, box-shadow .15s ease;
  box-shadow: 0 10px 24px -10px rgba(0,0,0,.5);
}
.store:hover { text-decoration: none; transform: translateY(-2px); box-shadow: 0 16px 30px -12px rgba(0,0,0,.55); }
.store svg { width: 26px; height: 26px; fill: #fff; flex: none; }
.store span { display: flex; flex-direction: column; line-height: 1.05; text-align: left; }
.store small { font-size: 11px; font-weight: 500; letter-spacing: .01em; opacity: .9; }
.store b { font-size: 21px; font-weight: 600; letter-spacing: -0.02em; }
.store.store-sm { height: 40px; padding: 0 14px 0 12px; border-radius: 11px; gap: 7px; }
.store.store-sm svg { width: 18px; height: 18px; }
.store.store-sm small { font-size: 9px; }
.store.store-sm b { font-size: 15px; }
.store.store-light { background: #fff; color: #000; border-color: rgba(0,0,0,.08); }
.store.store-light svg { fill: #000; }

/* ── Hero ────────────────────────────────────────────────────────────────── */
.hero { position: relative; padding: 40px 0 0; overflow-x: clip; }
.hero .wrap {
  display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr);
  align-items: center; gap: 32px; min-height: 640px;
}
.hero-copy { position: relative; z-index: 2; padding: 24px 0 64px; }
.eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 6px 12px 6px 8px; border-radius: var(--r-pill);
  background: var(--surface); border: 1px solid var(--border); box-shadow: var(--shadow-card);
  font-size: 13px; font-weight: 600; color: var(--text-2);
}
.eyebrow .dots { display: inline-flex; }
.eyebrow .dots i { width: 14px; height: 14px; border-radius: 50%; border: 2px solid var(--surface); margin-right: -5px; }
.hero h1 { font-size: clamp(42px, 6.4vw, 76px); margin: 22px 0 18px; }
.hero h1 em { font-style: normal; color: var(--blue-text); }
.lede { font-size: clamp(18px, 1.6vw, 21px); color: var(--text-2); max-width: 32em; line-height: 1.5; }
.hero-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 18px; margin-top: 30px; }
.hero-note { color: var(--muted); font-size: 14px; }
.hero-note strong { color: var(--text); font-weight: 600; }

.hero-stage { position: relative; z-index: 1; min-height: 560px; }
@media (max-width: 900px) {
  .hero .wrap { grid-template-columns: 1fr; gap: 0; min-height: 0; }
  .hero-copy { padding: 8px 0 24px; text-align: center; }
  .lede { margin: 0 auto; }
  .hero-actions { justify-content: center; }
  .hero-stage { min-height: 0; padding: 20px 0 32px; }
}

/* ── Ribbons: the family's colours, swept behind the phones ─────────────── */
.ribbons {
  /* Starts at the stage's left edge and sweeps off to the right, behind the phones. */
  position: absolute; z-index: 0; pointer-events: none;
  left: -4%; top: 50%; width: 1400px; height: 560px;
  transform: translateY(-50%);
  opacity: .95;
  -webkit-mask-image: linear-gradient(90deg, transparent 0%, #000 18%);
  mask-image: linear-gradient(90deg, transparent 0%, #000 18%);
}
.ribbons path { fill: none; stroke-width: 10; stroke-linecap: round; }
@media (max-width: 900px) { .ribbons { left: 50%; width: 1100px; height: 440px; transform: translate(-50%, -50%); } }
@media (prefers-color-scheme: dark) { .ribbons { opacity: .75; } }

/* ── Phone frame — screenshots sit inside a CSS iPhone ───────────────────── */
.stage { position: relative; display: grid; place-items: center; }
.stage-2 { padding: 10px 0; }
.phone {
  --w: clamp(220px, 60vw, 300px);
  --screen: #E7EBFC;   /* the ground behind the status bar, matching the shot */
  --bar: 13.5%;        /* the status bar's height, as a share of the width */
  position: relative;
  width: var(--w);
  padding: calc(var(--w) * 0.012);
  border-radius: calc(var(--w) * 0.148);
  background: linear-gradient(145deg, #4A4B52 0%, #1E1F24 40%, #0D0E12 100%);
  box-shadow: var(--shadow-phone), 0 0 0 1px rgba(255,255,255,.08) inset;
}
.phone::before, .phone::after {
  /* The side buttons. */
  content: ""; position: absolute; width: calc(var(--w) * 0.008); border-radius: 2px;
  background: #2A2B31;
}
.phone::before { left: calc(var(--w) * -0.008); top: 20%; height: 5%; box-shadow: 0 calc(var(--w) * 0.11) 0 #2A2B31, 0 calc(var(--w) * 0.22) 0 #2A2B31; }
.phone::after { right: calc(var(--w) * -0.008); top: 25%; height: 11%; }
.bezel {
  background: #000; padding: calc(var(--w) * 0.024);
  border-radius: calc(var(--w) * 0.136);
}
.screen {
  position: relative; overflow: hidden;
  border-radius: calc(var(--w) * 0.112);
  background: var(--screen);
}
.screen::before { content: ""; display: block; padding-top: var(--bar); }
.screen img { width: 100%; height: auto; }
.island {
  position: absolute; left: 50%; top: calc(var(--w) * 0.028);
  width: calc(var(--w) * 0.32); height: calc(var(--w) * 0.094);
  transform: translateX(-50%); border-radius: var(--r-pill); background: #000;
}
.status {
  position: absolute; top: 0; left: 0; right: 0; height: calc(var(--w) * 0.15);
  display: flex; align-items: center; justify-content: space-between;
  padding: 0 calc(var(--w) * 0.075) 0 calc(var(--w) * 0.085);
  color: #000; font-weight: 600; font-size: calc(var(--w) * 0.046);
  letter-spacing: -0.01em; line-height: 1;
}
.status svg { height: calc(var(--w) * 0.034); width: auto; display: block; fill: #000; }
.status .icons { display: flex; align-items: center; gap: calc(var(--w) * 0.016); }
.phone.dim { --screen: #B7BBC9; --bar: 14.9%; }

/* The tilt: a touch of perspective and a lean, like the App Store shots. */
.tilt-l .phone, .phone.tilt-l { transform: perspective(1800px) rotateY(16deg) rotateX(3deg) rotateZ(-5deg); }
.tilt-r .phone, .phone.tilt-r { transform: perspective(1800px) rotateY(-16deg) rotateX(3deg) rotateZ(5deg); }
.phone { transition: transform .7s cubic-bezier(.2,.7,.2,1); }
@media (hover: hover) and (prefers-reduced-motion: no-preference) {
  .stage:hover .phone { transform: perspective(1800px) rotateY(0) rotateX(0) rotateZ(0); }
}

/* Two phones: one in front, one behind to the side. */
.duo { position: relative; width: 100%; max-width: 520px; height: clamp(520px, 72vw, 700px); margin: 0 auto; }
.duo .front { position: absolute; left: 6%; top: 0; z-index: 2; }
.duo .back { position: absolute; right: 0; top: 10%; z-index: 1; }
.duo .back .phone { --w: clamp(170px, 48vw, 240px); }
.duo.flip .front { left: auto; right: 6%; }
.duo.flip .back { right: auto; left: 0; }
@media (max-width: 900px) { .duo { max-width: 460px; } .duo .front { left: 4%; } }
@media (max-width: 480px) { .duo { height: clamp(500px, 150vw, 620px); } .duo .back .phone { --w: 40vw; } }

/* ── Sections ────────────────────────────────────────────────────────────── */
.section { padding: 72px 0; }
@media (max-width: 600px) { .section { padding: 48px 0; } }
.section-head { max-width: 680px; margin: 0 auto 48px; text-align: center; }
.section-head h2, .feature-copy h2 { font-size: clamp(30px, 4vw, 46px); }
.kicker { display: inline-flex; align-items: center; gap: 8px; color: var(--blue-text); font-weight: 700; font-size: 14px; letter-spacing: .02em; text-transform: uppercase; margin-bottom: 14px; }
.kicker i { width: 8px; height: 8px; border-radius: 50%; background: currentColor; }
.section-head p { color: var(--text-2); font-size: clamp(17px, 1.5vw, 20px); margin-top: 14px; }

/* Feature rows: copy beside phones, sides alternating. */
.feature { padding: 48px 0; }
.feature .wrap {
  display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  align-items: center; gap: 24px 48px;
}
.feature.flip .feature-copy { order: 2; }
.feature-copy { max-width: 520px; }
.feature-copy p.lead { color: var(--text-2); font-size: 18px; margin-top: 16px; }
.checks { margin-top: 24px; display: grid; gap: 12px; }
.checks li { display: flex; gap: 12px; align-items: flex-start; color: var(--text-2); font-size: 16px; }
.checks li svg { flex: none; width: 22px; height: 22px; margin-top: 1px; }
.checks li strong { color: var(--text); font-weight: 600; }
.ck circle { fill: var(--blue-soft); }
.ck path { stroke: var(--blue-text); }
.feature .stage { min-height: 520px; }
@media (max-width: 900px) {
  .feature .wrap { grid-template-columns: 1fr; }
  .feature.flip .feature-copy { order: 0; }
  .feature-copy { max-width: 600px; }
  .feature .stage { min-height: 0; margin-top: 24px; }
}

/* ── The "also with" grid ────────────────────────────────────────────────── */
.grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
@media (max-width: 900px) { .grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 560px) { .grid { grid-template-columns: 1fr; } }
.card {
  background: var(--surface); border: 1px solid var(--border); border-radius: var(--r-card);
  box-shadow: var(--shadow-card); padding: 24px;
}
.card-head { display: flex; align-items: center; gap: 10px; margin-bottom: 8px; }
.card-head svg { width: 24px; height: 24px; flex: none; color: var(--blue-text); }
.card h3 { font-size: 18px; letter-spacing: -0.02em; }
.card p { color: var(--text-2); font-size: 15px; }
@media (prefers-color-scheme: dark) {
          }

/* ── Pricing ─────────────────────────────────────────────────────────────── */
.price-card {
  position: relative; overflow: hidden;
  display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 32px;
  background: var(--surface); border: 1px solid var(--border); border-radius: 32px;
  box-shadow: var(--shadow-card); padding: 40px; max-width: 920px; margin: 0 auto;
}
.price-card::before {
  content: ""; position: absolute; inset: auto -20% -60% auto; width: 60%; aspect-ratio: 1;
  border-radius: 50%; background: radial-gradient(closest-side, var(--blue-soft), transparent 70%); pointer-events: none;
}
@media (max-width: 760px) { .price-card { grid-template-columns: 1fr; padding: 28px 22px; border-radius: 28px; } }
.price-chip {
  display: inline-flex; align-items: center; gap: 8px; padding: 6px 12px; border-radius: var(--r-pill);
  background: var(--blue-soft); color: var(--blue-text); border: 1px solid var(--blue-soft-border);
  font-weight: 700; font-size: 13px;
}
.price { display: flex; align-items: baseline; gap: 8px; margin: 18px 0 6px; }
.price .amount { font-size: clamp(52px, 7vw, 72px); font-weight: 800; letter-spacing: -0.04em; line-height: 1; }
.price .per { color: var(--muted); font-weight: 600; font-size: 18px; }
.price-sub { color: var(--text-2); font-size: 17px; }
.trial {
  display: inline-flex; align-items: center; gap: 8px; margin-top: 18px; padding: 10px 14px; border-radius: 14px;
  background: var(--amber-soft); color: var(--amber-text); font-weight: 700; font-size: 15px;
}
.trial svg { width: 18px; height: 18px; }
.price-actions { margin-top: 26px; display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }
.fine { color: var(--muted); font-size: 13px; margin-top: 16px; line-height: 1.5; max-width: 42em; }
.included { position: relative; z-index: 1; align-self: center; }
.included h3 { font-size: 15px; color: var(--muted); text-transform: uppercase; letter-spacing: .04em; margin-bottom: 14px; font-weight: 700; }

/* ── FAQ ─────────────────────────────────────────────────────────────────── */
.faq { max-width: 760px; margin: 0 auto; display: grid; gap: 10px; }
.faq details {
  background: var(--surface); border: 1px solid var(--border); border-radius: 18px;
  box-shadow: var(--shadow-card); padding: 0 22px;
}
.faq summary {
  list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 16px;
  padding: 18px 0; font-weight: 700; font-size: 17px; letter-spacing: -0.01em;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary svg { flex: none; width: 20px; height: 20px; color: var(--muted); transition: transform .25s ease; }
.faq details[open] summary svg { transform: rotate(45deg); }
.faq .answer { color: var(--text-2); padding: 0 0 20px; font-size: 16px; }
.faq .answer a { font-weight: 600; }

/* ── Closing CTA: the night hero card from the app ───────────────────────── */
.cta {
  position: relative; overflow: hidden; text-align: center; color: #fff;
  background: linear-gradient(180deg, var(--night-a) 0%, var(--night-b) 100%);
  border-radius: 32px; padding: 72px 24px; box-shadow: 0 40px 80px -40px rgba(24,36,94,.6);
}
.cta > :not(.moon):not(.stars) { position: relative; z-index: 1; }
.cta h2 { font-size: clamp(30px, 4.4vw, 50px); color: #fff; }
.cta p { color: rgba(255,255,255,.78); font-size: 18px; margin-top: 14px; }
.cta .hero-actions { justify-content: center; }
.cta .hero-note { color: rgba(255,255,255,.7); }
.cta .hero-note strong { color: #fff; }
.cta .moon {
  position: absolute; right: 9%; top: 14%; width: 84px; height: 84px; pointer-events: none; z-index: 0;
  filter: drop-shadow(0 0 28px rgba(246,231,180,.4));
}
.cta .stars { position: absolute; inset: 0; pointer-events: none; }
.cta .stars i { position: absolute; width: 3px; height: 3px; border-radius: 50%; background: rgba(255,255,255,.75); }
@media (max-width: 600px) {
  .cta { padding: 56px 20px; border-radius: 28px; }
  .cta .moon { width: 52px; height: 52px; right: 8%; top: 6%; }
}

/* ── Footer ──────────────────────────────────────────────────────────────── */
.footer { padding: 24px 0 40px; color: var(--muted); font-size: 14px; }
.footer-top { display: grid; grid-template-columns: minmax(0, 1.4fr) repeat(3, minmax(0, 1fr)); gap: 32px; padding: 32px 0; }
.footer-brand p { margin-top: 12px; max-width: 26em; color: var(--muted); line-height: 1.5; }
.footer-brand .store { margin-top: 18px; }
.footer-col h4 { font-size: 13px; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; color: var(--muted); margin-bottom: 12px; }
.footer-col ul { display: grid; gap: 8px; }
.footer-col a { color: var(--text-2); font-weight: 500; font-size: 15px; }
.footer-col a:hover { color: var(--text); }
.footer-bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px 24px; padding-top: 20px; border-top: 1px solid var(--border); font-size: 13px; color: var(--faint); }
@media (max-width: 760px) {
  .footer-top { grid-template-columns: 1fr 1fr; gap: 28px 20px; }
  .footer-brand { grid-column: 1 / -1; }
}
@media (max-width: 420px) { .footer-top { grid-template-columns: 1fr; } }

/* ── Documents: support, privacy, terms ──────────────────────────────────── */
.doc-wrap { padding: 24px 0 64px; }
.doc {
  max-width: 760px; margin: 0 auto; background: var(--surface); border: 1px solid var(--border);
  border-radius: 28px; box-shadow: var(--shadow-card); padding: 40px 40px 28px;
  font-size: 16px; line-height: 1.65;
}
@media (max-width: 600px) { .doc { padding: 28px 20px 20px; border-radius: 22px; } }
.doc h1 { font-size: clamp(30px, 4vw, 38px); margin-bottom: 8px; }
.doc h2 { font-size: 20px; margin: 30px 0 8px; letter-spacing: -0.02em; }
.doc p { margin: 0 0 12px; color: var(--text-2); }
.doc p strong, .doc li strong { color: var(--text); font-weight: 600; }
.doc .updated { color: var(--muted); font-size: 14px; margin-bottom: 22px; }
.doc ul { list-style: disc; padding-left: 22px; margin: 0 0 12px; color: var(--text-2); }
.doc li { margin: 6px 0; }
.doc a { font-weight: 600; }

/* ── Reveal on scroll ────────────────────────────────────────────────────── */
@media (prefers-reduced-motion: no-preference) {
  .hero-duo { animation: rise .9s cubic-bezier(.2,.7,.2,1) both; }
  @keyframes rise { from { opacity: 0; transform: translateY(30px) scale(.98); } to { opacity: 1; transform: none; } }
  .reveal { opacity: 0; transform: translateY(22px); transition: opacity .7s ease, transform .7s cubic-bezier(.2,.7,.2,1); }
  .reveal.in { opacity: 1; transform: none; }
  .reveal-stage { opacity: 0; transform: translateY(30px) scale(.98); transition: opacity .9s ease, transform .9s cubic-bezier(.2,.7,.2,1); }
  .reveal-stage.in { opacity: 1; transform: none; }
}
