/* Pianoflare website. Same look as the app (frontend/DESIGN.md, frontend/src/theme/tokens.ts):
   black canvas, faint aurora light, glass surfaces with a thin rim, Outfit, lowercase voice. */

@font-face { font-family: Outfit; font-weight: 300; font-display: swap; src: url(fonts/Outfit_300Light.ttf) format('truetype'); }
@font-face { font-family: Outfit; font-weight: 400; font-display: swap; src: url(fonts/Outfit_400Regular.ttf) format('truetype'); }
@font-face { font-family: Outfit; font-weight: 500; font-display: swap; src: url(fonts/Outfit_500Medium.ttf) format('truetype'); }
@font-face { font-family: Outfit; font-weight: 600; font-display: swap; src: url(fonts/Outfit_600SemiBold.ttf) format('truetype'); }
@font-face { font-family: Outfit; font-weight: 700; font-display: swap; src: url(fonts/Outfit_700Bold.ttf) format('truetype'); }

:root {
  color-scheme: dark light;
  --bg: #000000;
  --bg-elevated: #0b0b0d;
  --surface: rgba(255, 255, 255, 0.06);
  --surface-high: rgba(255, 255, 255, 0.11);
  --hairline: rgba(255, 255, 255, 0.14);
  --separator: rgba(255, 255, 255, 0.08);
  --label: #ffffff;
  --secondary: rgba(255, 255, 255, 0.62);
  --tertiary: rgba(255, 255, 255, 0.36);
  --fill: rgba(255, 255, 255, 0.09);
  --primary-bg: #ffffff;
  --primary-fg: #0a0a0c;
  --primary-glow: 0 0 28px rgba(255, 255, 255, 0.22);
  --glass: rgba(22, 22, 26, 0.48);

  --violet: #7c6bd6;
  --pink: #d98bc4;
  --peach: #f0a07e;
  --amber: #f5b55a;
  --wash: #5d6be8;
  --hand-r: #f5b55a;
  --hand-l: #a58bff;
  --aurora-k: 0.32;

  --r-card: 32px;
  --r-row: 22px;
  --r-thumb: 16px;
  --gutter: clamp(16px, 4.5vw, 32px);
  --max: 1120px;
  --ease: cubic-bezier(0.16, 1, 0.3, 1);
}

@media (prefers-color-scheme: light) {
  :root {
    --bg: #f6f2ee;
    --bg-elevated: #ffffff;
    --surface: rgba(255, 255, 255, 0.72);
    --surface-high: rgba(255, 255, 255, 0.92);
    --hairline: rgba(20, 10, 30, 0.1);
    --separator: rgba(20, 10, 30, 0.07);
    --label: #121014;
    --secondary: rgba(18, 16, 20, 0.62);
    --tertiary: rgba(18, 16, 20, 0.36);
    --fill: rgba(18, 16, 20, 0.06);
    --primary-bg: #121014;
    --primary-fg: #ffffff;
    --primary-glow: 0 10px 30px rgba(18, 16, 20, 0.18);
    --glass: rgba(255, 255, 255, 0.6);
    --aurora-k: 0.42;
  }
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--label);
  font-family: Outfit, ui-sans-serif, system-ui, -apple-system, sans-serif;
  font-weight: 400;
  font-size: 17px;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
img, video { display: block; max-width: 100%; }
a { color: inherit; }
::selection { background: rgba(245, 181, 90, 0.35); }
:focus-visible { outline: 2px solid var(--amber); outline-offset: 3px; border-radius: 8px; }

.wrap { width: 100%; max-width: var(--max); margin: 0 auto; padding: 0 var(--gutter); }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* ---------- aurora: the app's ambient light, dimmed ---------- */
.aurora { position: absolute; inset: 0; pointer-events: none; overflow: hidden; z-index: 0; }
.aurora i {
  position: absolute; border-radius: 50%; filter: blur(60px); opacity: var(--aurora-k);
  animation: drift 22s ease-in-out infinite alternate;
}
.aurora .a1 { width: 70vw; height: 46vw; left: -12vw; bottom: -18vw; background: radial-gradient(closest-side, var(--violet), transparent); }
.aurora .a2 { width: 56vw; height: 40vw; left: 18vw; bottom: -20vw; background: radial-gradient(closest-side, var(--pink), transparent); animation-delay: -6s; }
.aurora .a3 { width: 52vw; height: 38vw; right: -6vw; bottom: -16vw; background: radial-gradient(closest-side, var(--peach), transparent); animation-delay: -11s; }
.aurora .a4 { width: 40vw; height: 30vw; right: -10vw; bottom: -12vw; background: radial-gradient(closest-side, var(--amber), transparent); animation-delay: -3s; }
.aurora .wash { width: 120vw; height: 60vw; left: -10vw; bottom: -30vw; background: radial-gradient(closest-side, var(--wash), transparent); opacity: calc(var(--aurora-k) * 0.6); }
.aurora.crown i { bottom: auto; }
.aurora.crown .a1 { top: -30vw; }
.aurora.crown .a2 { top: -32vw; }
.aurora.crown .a3 { top: -30vw; }
.aurora.crown .a4 { top: -26vw; }
.aurora.crown .wash { top: -40vw; }
.aurora.crown { opacity: 0.55; }
.hero .aurora { -webkit-mask-image: linear-gradient(to bottom, #000 55%, transparent 100%); mask-image: linear-gradient(to bottom, #000 55%, transparent 100%); }
.final .aurora { -webkit-mask-image: linear-gradient(to bottom, transparent 0%, #000 35%, #000 80%, transparent 100%); mask-image: linear-gradient(to bottom, transparent 0%, #000 35%, #000 80%, transparent 100%); }
@keyframes drift {
  from { transform: translate3d(0, 0, 0) scale(1); }
  to { transform: translate3d(4vw, -3vw, 0) scale(1.12); }
}

/* ---------- type ---------- */
h1, h2, h3, h4 { margin: 0; font-weight: 500; letter-spacing: -0.03em; line-height: 1.05; }
.display { font-size: clamp(44px, 8.2vw, 92px); letter-spacing: -0.045em; line-height: 0.98; }
.title { font-size: clamp(34px, 5vw, 56px); letter-spacing: -0.035em; }
.title-s { font-size: clamp(24px, 3vw, 30px); letter-spacing: -0.02em; font-weight: 600; }
.lead { font-size: clamp(18px, 2vw, 21px); color: var(--secondary); line-height: 1.45; margin: 0; }
.eyebrow { font-size: 13px; font-weight: 500; letter-spacing: 0.04em; color: var(--tertiary); margin: 0 0 16px; }
.muted { color: var(--secondary); }
.dot { color: var(--amber); }
.grad {
  background: linear-gradient(100deg, var(--hand-l) 0%, var(--pink) 45%, var(--amber) 100%);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}

/* ---------- glass + buttons ---------- */
.glass {
  position: relative;
  background: var(--glass);
  -webkit-backdrop-filter: blur(24px) saturate(160%);
  backdrop-filter: blur(24px) saturate(160%);
  border: 1px solid var(--hairline);
  border-radius: var(--r-card);
}
.glass::before {
  content: ''; position: absolute; inset: 0; border-radius: inherit; pointer-events: none;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.08), transparent 40%);
}

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  height: 56px; padding: 0 26px; border-radius: 999px; border: 0;
  font: 600 17px/1 Outfit, sans-serif; text-decoration: none; white-space: nowrap;
  cursor: pointer; transition: transform 0.2s var(--ease), box-shadow 0.2s var(--ease), background 0.2s;
}
.btn:active { transform: scale(0.97); }
.btn-primary { background: var(--primary-bg); color: var(--primary-fg); box-shadow: var(--primary-glow); }
.btn-primary:hover { box-shadow: var(--primary-glow), 0 0 44px rgba(245, 181, 90, 0.25); }
.btn-glass { background: var(--surface); color: var(--label); border: 1px solid var(--hairline); -webkit-backdrop-filter: blur(20px); backdrop-filter: blur(20px); }
.btn-glass:hover { background: var(--surface-high); }
.btn svg { width: 20px; height: 20px; flex: none; }
.btn small { display: block; font-size: 11px; font-weight: 500; opacity: 0.6; letter-spacing: 0.02em; margin-bottom: 3px; }
.btn .two { display: flex; flex-direction: column; align-items: flex-start; line-height: 1; }

/* ---------- nav ---------- */
.nav { position: fixed; top: 12px; left: 0; right: 0; z-index: 50; padding: 0 var(--gutter); }
.nav-inner {
  max-width: var(--max); margin: 0 auto; height: 60px; padding: 0 10px 0 22px;
  display: flex; align-items: center; justify-content: space-between; border-radius: 999px;
}
.wordmark { font-weight: 600; font-size: 24px; letter-spacing: -0.045em; text-decoration: none; line-height: 1; }
.nav-links { display: flex; align-items: center; gap: 4px; }
.nav-links a:not(.btn) { text-decoration: none; color: var(--secondary); font-size: 15px; font-weight: 500; padding: 10px 14px; border-radius: 999px; transition: color 0.2s, background 0.2s; }
.nav-links a:not(.btn):hover { color: var(--label); background: var(--fill); }
.nav .btn { height: 42px; padding: 0 18px; font-size: 15px; }
@media (max-width: 720px) { .nav-links a:not(.btn) { display: none; } }

/* ---------- hero ---------- */
.hero { position: relative; min-height: min(100svh, 920px); padding: 132px 0 72px; display: flex; align-items: center; isolation: isolate; }
.hero-grid { position: relative; z-index: 1; display: grid; grid-template-columns: 1.05fr 0.95fr; gap: 48px; align-items: center; }
.hero-copy .lead { max-width: 30ch; margin-top: 24px; }
.cta-row { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 36px; align-items: center; }
.fine { margin-top: 18px; font-size: 14px; color: var(--tertiary); }
.chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 28px; }
.chip { font-size: 13px; font-weight: 500; color: var(--secondary); padding: 7px 14px; border-radius: 999px; background: var(--fill); border: 1px solid var(--separator); }

.stage { position: relative; height: min(680px, 82vw); min-height: 520px; }
.phone {
  position: absolute; aspect-ratio: 9 / 19.5; border-radius: 44px; padding: 9px;
  background: linear-gradient(160deg, #2a2a30, #0c0c0f 55%); box-shadow: 0 40px 80px rgba(0, 0, 0, 0.55), inset 0 0 0 1px rgba(255, 255, 255, 0.12);
}
.phone .screen { position: relative; width: 100%; height: 100%; border-radius: 36px; overflow: hidden; background: #000; }
.phone video, .phone img { width: 100%; height: 100%; object-fit: cover; }
.phone .island { position: absolute; top: 10px; left: 50%; transform: translateX(-50%); width: 30%; height: 22px; border-radius: 999px; background: #000; z-index: 2; }
.phone.main { height: 100%; left: 50%; top: 0; transform: translateX(-50%); z-index: 3; }
.phone.side { height: 78%; top: 11%; z-index: 1; opacity: 0.85; }
.phone.side.l { left: 2%; transform: rotate(-8deg); }
.phone.side.r { right: 2%; transform: rotate(8deg); }
.stage .glow { position: absolute; inset: 20% 10% 0; background: radial-gradient(closest-side, rgba(165, 139, 255, 0.35), transparent); filter: blur(40px); z-index: 0; }
.float-tag {
  position: absolute; z-index: 4; display: flex; align-items: center; gap: 10px;
  padding: 10px 16px 10px 12px; border-radius: 999px; font-size: 14px; font-weight: 500;
}
.float-tag .sw { width: 22px; height: 22px; border-radius: 50%; flex: none; }
.float-tag.t1 { left: 0; top: 18%; }
.float-tag.t2 { right: 0; bottom: 16%; }

@media (max-width: 900px) {
  .hero { padding-top: 112px; min-height: 0; }
  .hero-grid { grid-template-columns: 1fr; gap: 56px; text-align: center; }
  .hero-copy .lead { margin-left: auto; margin-right: auto; }
  .cta-row, .chips { justify-content: center; }
  .stage { height: 560px; min-height: 0; max-width: 460px; margin: 0 auto; width: 100%; }
}
@media (max-width: 480px) {
  .stage { height: 480px; }
  .phone.side { display: none; }
  .float-tag.t1 { left: -4px; top: 10%; }
  .float-tag.t2 { right: -4px; bottom: 10%; }
}

/* ---------- sections ---------- */
section { position: relative; }
.section { padding: clamp(88px, 12vw, 150px) 0; }
.section-head { max-width: 680px; margin-bottom: clamp(40px, 6vw, 64px); }
.section-head .lead { margin-top: 18px; }
.center { text-align: center; margin-left: auto; margin-right: auto; }

/* steps */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.step { padding: 32px 28px 30px; overflow: hidden; }
.step .num { font-size: 13px; font-weight: 600; color: var(--tertiary); letter-spacing: 0.06em; }
.step h3 { font-size: 24px; margin: 52px 0 10px; font-weight: 600; letter-spacing: -0.02em; }
.step p { margin: 0; color: var(--secondary); font-size: 16px; }
.step .art { position: absolute; top: 24px; right: 24px; width: 56px; height: 56px; border-radius: 18px; display: grid; place-items: center; background: var(--fill); border: 1px solid var(--separator); }
.step .art svg { width: 26px; height: 26px; }
.sources { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 18px; }
.sources span { font-size: 12px; font-weight: 500; padding: 5px 10px; border-radius: 999px; background: var(--fill); color: var(--secondary); }
@media (max-width: 860px) { .steps { grid-template-columns: 1fr; } }

/* looks reel */
.reel-wrap { position: relative; }
.reel {
  display: flex; gap: 16px; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none;
  padding: 8px max(var(--gutter), calc((100vw - var(--max)) / 2 + var(--gutter))) 24px;
}
.reel::-webkit-scrollbar { display: none; }
.look { flex: none; width: clamp(200px, 23vw, 260px); scroll-snap-align: center; margin: 0; }
.look .frame { position: relative; aspect-ratio: 9 / 16; border-radius: 28px; overflow: hidden; background: #0b0b0d; border: 1px solid var(--hairline); box-shadow: 0 24px 48px rgba(0, 0, 0, 0.35); transition: transform 0.4s var(--ease); }
.look:hover .frame { transform: translateY(-6px); }
.look video, .look img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.look figcaption { display: flex; justify-content: space-between; align-items: baseline; padding: 14px 6px 0; }
.look figcaption b { font-weight: 600; font-size: 17px; }
.look figcaption span { font-size: 13px; color: var(--tertiary); }
.reel-ctrl { display: flex; gap: 8px; justify-content: flex-end; margin-top: 8px; }
.icon-btn { width: 44px; height: 44px; border-radius: 50%; border: 1px solid var(--hairline); background: var(--surface); color: var(--label); display: grid; place-items: center; cursor: pointer; transition: background 0.2s, transform 0.2s var(--ease); }
.icon-btn:hover { background: var(--surface-high); }
.icon-btn:active { transform: scale(0.94); }
.icon-btn svg { width: 18px; height: 18px; }

/* bento */
.bento { display: grid; grid-template-columns: repeat(6, 1fr); gap: 16px; }
.tile { padding: 32px; overflow: hidden; min-height: 320px; display: flex; flex-direction: column; }
.tile h3 { font-size: clamp(24px, 2.6vw, 30px); font-weight: 600; letter-spacing: -0.025em; }
.tile p { color: var(--secondary); margin: 12px 0 0; max-width: 40ch; }
.tile .media { margin-top: auto; padding-top: 28px; }
.t-video { grid-column: span 3; }
.t-sheet { grid-column: span 3; }
.t-learn { grid-column: span 3; }
.t-edit { grid-column: span 3; }
@media (max-width: 900px) { .t-video, .t-sheet, .t-learn, .t-edit { grid-column: span 6; } }

.t-video .media { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.t-video .media div { aspect-ratio: 9 / 16; border-radius: var(--r-thumb); overflow: hidden; border: 1px solid var(--separator); }
.t-video .media img { width: 100%; height: 100%; object-fit: cover; }
.format-row { display: flex; gap: 8px; margin-top: 18px; flex-wrap: wrap; }
.format-row span { font-size: 13px; font-weight: 500; padding: 6px 12px; border-radius: 999px; border: 1px solid var(--hairline); color: var(--secondary); }

.demo { border-radius: var(--r-row); overflow: hidden; border: 1px solid var(--separator); aspect-ratio: 1080 / 1330; max-height: 440px; margin: 0 auto; background: #000; }
.demo video { width: 100%; height: 100%; object-fit: cover; object-position: top; }

.listen { display: flex; align-items: center; gap: 14px; padding: 14px 18px; border-radius: var(--r-row); background: var(--fill); border: 1px solid var(--separator); }
.listen + .listen { margin-top: 10px; }
.listen .ic { width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; background: var(--surface-high); flex: none; }
.listen .ic svg { width: 20px; height: 20px; }
.listen b { font-weight: 600; display: block; font-size: 16px; }
.listen span { color: var(--secondary); font-size: 14px; }
.bars { display: flex; align-items: flex-end; gap: 3px; height: 22px; margin-left: auto; }
.bars i { width: 3px; border-radius: 3px; background: var(--hand-r); animation: eq 1.1s ease-in-out infinite; }
.bars i:nth-child(2) { animation-delay: -0.3s; background: var(--pink); }
.bars i:nth-child(3) { animation-delay: -0.6s; background: var(--hand-l); }
.bars i:nth-child(4) { animation-delay: -0.15s; }
.bars i:nth-child(5) { animation-delay: -0.45s; background: var(--hand-l); }
@keyframes eq { 0%, 100% { height: 5px; } 50% { height: 22px; } }

.hands { display: flex; gap: 10px; flex-wrap: wrap; }
.hand-pill { display: flex; align-items: center; gap: 10px; padding: 12px 16px; border-radius: 999px; background: var(--fill); border: 1px solid var(--separator); font-weight: 500; font-size: 15px; }
.hand-pill i { width: 12px; height: 12px; border-radius: 50%; }
.speed { display: flex; gap: 6px; margin-top: 12px; padding: 5px; border-radius: 999px; background: var(--fill); width: max-content; max-width: 100%; }
.speed span { padding: 8px 14px; border-radius: 999px; font-size: 14px; font-weight: 500; color: var(--secondary); }
.speed span.on { background: var(--primary-bg); color: var(--primary-fg); }

/* quote band */
.band { text-align: center; }
.band p { font-size: clamp(28px, 4.4vw, 48px); font-weight: 500; letter-spacing: -0.03em; line-height: 1.12; max-width: 20ch; margin: 0 auto; }

/* faq */
.faq { max-width: 760px; margin: 0 auto; }
.faq details { border-bottom: 1px solid var(--separator); }
.faq summary {
  list-style: none; cursor: pointer; padding: 24px 44px 24px 0; position: relative;
  font-size: 19px; font-weight: 500; letter-spacing: -0.01em;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: ''; position: absolute; right: 6px; top: 50%; width: 12px; height: 12px; margin-top: -9px;
  border-right: 2px solid var(--tertiary); border-bottom: 2px solid var(--tertiary); transform: rotate(45deg); transition: transform 0.3s var(--ease);
}
.faq details[open] summary::after { transform: rotate(225deg); margin-top: -3px; }
.faq details p { margin: -8px 0 24px; color: var(--secondary); max-width: 62ch; }

/* final cta */
.final { position: relative; overflow: hidden; isolation: isolate; text-align: center; padding: clamp(110px, 15vw, 180px) 0; }
.final .wrap { position: relative; z-index: 1; }
.final .lead { margin: 20px auto 0; max-width: 34ch; }
.final .cta-row { justify-content: center; }
.app-icon { width: 96px; height: 96px; border-radius: 22px; margin: 0 auto 32px; box-shadow: 0 20px 50px rgba(0, 0, 0, 0.45), 0 0 0 1px var(--hairline); }

/* footer */
footer { border-top: 1px solid var(--separator); padding: 48px 0 40px; position: relative; z-index: 1; }
.foot { display: flex; flex-wrap: wrap; gap: 32px; justify-content: space-between; align-items: flex-start; }
.foot p { margin: 10px 0 0; color: var(--tertiary); font-size: 14px; max-width: 34ch; }
.foot nav { display: flex; flex-wrap: wrap; gap: 6px 24px; }
.foot nav a { color: var(--secondary); text-decoration: none; font-size: 15px; font-weight: 500; }
.foot nav a:hover { color: var(--label); }
.legal-line { margin-top: 40px; font-size: 12px; color: var(--tertiary); line-height: 1.6; }

/* reveal motion: fade + rise 8px, under 300ms, staggered */
.rv { opacity: 0; transform: translateY(8px); transition: opacity 0.28s var(--ease), transform 0.28s var(--ease); }
.rv.in { opacity: 1; transform: none; }
.no-js .rv { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .aurora i, .bars i { animation: none; }
  .rv { opacity: 1; transform: none; transition: none; }
}

/* ---------- legal + support pages ---------- */
.doc-hero { position: relative; padding: 150px 0 40px; isolation: isolate; }
.doc-hero .wrap { position: relative; z-index: 1; }
.doc-hero .lead { margin-top: 16px; max-width: 52ch; }
.doc-meta { margin-top: 24px; display: flex; gap: 8px; flex-wrap: wrap; }
.doc-layout { display: grid; grid-template-columns: 240px 1fr; gap: 56px; padding-bottom: 120px; align-items: start; }
.toc { position: sticky; top: 96px; padding: 20px 8px; max-height: calc(100vh - 120px); overflow: auto; border-radius: var(--r-row); }
.toc b { display: block; font-size: 13px; font-weight: 600; color: var(--tertiary); padding: 0 12px 10px; letter-spacing: 0.04em; }
.toc a { display: block; text-decoration: none; color: var(--secondary); font-size: 14px; padding: 7px 12px; border-radius: 12px; line-height: 1.35; }
.toc a:hover { background: var(--fill); color: var(--label); }
.doc { max-width: 720px; font-size: 16.5px; line-height: 1.7; }
.doc h2 { font-size: 26px; font-weight: 600; letter-spacing: -0.02em; margin: 56px 0 14px; scroll-margin-top: 96px; line-height: 1.2; }
.doc h2:first-child { margin-top: 0; }
.doc h3 { font-size: 18px; font-weight: 600; letter-spacing: -0.01em; margin: 28px 0 8px; line-height: 1.3; }
.doc p, .doc li { color: var(--secondary); }
.doc p { margin: 0 0 14px; }
.doc ul { padding-left: 20px; margin: 0 0 16px; }
.doc li { margin-bottom: 8px; }
.doc li::marker { color: var(--tertiary); }
.doc strong { color: var(--label); font-weight: 600; }
.doc a { color: var(--label); text-decoration-color: var(--amber); text-underline-offset: 3px; }
.doc .caps { text-transform: uppercase; font-size: 14.5px; letter-spacing: 0.01em; }
.callout { padding: 22px 24px; border-radius: var(--r-row); background: var(--fill); border: 1px solid var(--separator); margin: 0 0 28px; }
.callout p:last-child { margin-bottom: 0; }
.callout p { color: var(--label); }
.table-wrap { overflow-x: auto; margin: 8px 0 20px; border-radius: var(--r-row); border: 1px solid var(--separator); }
.doc table { width: 100%; border-collapse: collapse; font-size: 14.5px; line-height: 1.5; }
.doc th, .doc td { text-align: left; vertical-align: top; padding: 14px 16px; border-bottom: 1px solid var(--separator); }
.doc th { color: var(--label); font-weight: 600; background: var(--fill); }
.doc td { color: var(--secondary); }
.doc tr:last-child td { border-bottom: 0; }
@media (max-width: 900px) {
  .doc-layout { grid-template-columns: 1fr; gap: 24px; }
  .toc { position: static; max-height: none; }
  .doc-hero { padding-top: 120px; }
}

.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-bottom: 72px; }
.card { padding: 28px; }
.card h3 { font-size: 20px; font-weight: 600; margin: 0 0 8px; letter-spacing: -0.015em; }
.card p { color: var(--secondary); margin: 0 0 18px; font-size: 15.5px; }
.card .btn { height: 46px; font-size: 15px; padding: 0 18px; }
@media (max-width: 860px) { .cards { grid-template-columns: 1fr; } }

/* Fill-ins the owner must replace before launch (see README). */
.todo { color: var(--amber); background: rgba(245, 181, 90, 0.12); border-radius: 6px; padding: 0 4px; }
