/* Public landing page. Graphite - the app's default "New design" palette
   (assets/css/design-new.6f621646c721.css): ink and graphite with one orange accent, Geist
   type - so the page and the screenshots on it are the same product. Tokens
   mirror those values; this page does not load the app shell.
   Radius scale: 8px for controls, 12px for frames and panels. */
:root {
  --bg: #FAFAF9;
  --surface: #FFFFFF;
  --surface-2: #F4F4F2;
  --border: #E0E0DC;
  --border-strong: #CDCDC9;
  --text: #111113;
  --muted: #44464C;
  --accent: #B53A0A;
  --accent-fill: #C2410C;
  --accent-hover: #A8380A;
  --accent-quiet: rgba(194, 65, 12, .08);
  --on-fill: #FFFFFF;
  --done: #0C6E42;
  --done-bg: rgba(15, 122, 74, .08);
  --warn: #8A5100;
  --warn-bg: rgba(138, 81, 0, .08);
  --shadow: 0 1px 2px rgba(17, 17, 19, .04), 0 12px 32px -12px rgba(17, 17, 19, .14);
  --sans: 'Geist', ui-sans-serif, system-ui, -apple-system, 'Segoe UI', sans-serif;
  --mono: 'Geist Mono', ui-monospace, 'SF Mono', 'Cascadia Code', monospace;
  /* The type and radius scale, mirrored from design-system.6f621646c721.css (the
     current design's values) because this page does not load it.
     scripts/lint-type-scale.test.mjs keeps the two equal. */
  --ds-font-scale: 1;
  --ds-text-xs:   calc(0.75rem    * var(--ds-font-scale));
  --ds-text-sm:   calc(0.8125rem  * var(--ds-font-scale));
  --ds-text-base: calc(0.875rem   * var(--ds-font-scale));
  --ds-text-md:   calc(1rem       * var(--ds-font-scale));
  --ds-text-lg:   calc(1.1875rem  * var(--ds-font-scale));
  --ds-text-xl:   calc(1.5rem     * var(--ds-font-scale));
  --ds-text-2xl:  calc(2rem       * var(--ds-font-scale));
  --ds-text-3xl:  calc(clamp(2.5rem, 1.5rem + 3.5vw, 4rem) * var(--ds-font-scale));
  --ds-text-inline: .9em;
  --ds-radius-sm: 6px;
  --ds-radius:    8px;
  --ds-radius-lg: 8px;
  --ds-radius-xl: 12px;
  --ds-radius-pill: 999px;
  --r-sm: var(--ds-radius);
  --r: var(--ds-radius-xl);
  color-scheme: light;
}
@media (prefers-color-scheme: dark) {
  :root:not([data-ds-theme="light"]) {
    --bg: #0C0D0F; --surface: #111214; --surface-2: #17181B; --border: #1F2024; --border-strong: #2A2C31;
    --text: #EDEDEF; --muted: #9B9DA4; --accent: #FF8A4C; --accent-fill: #C2410C; --accent-hover: #A8380A;
    --accent-quiet: rgba(255, 138, 76, .10); --done: #5BD69A; --done-bg: rgba(91, 214, 154, .10);
    --warn: #F2C14E; --warn-bg: rgba(242, 193, 78, .10);
    --shadow: 0 1px 2px rgba(0, 0, 0, .3), 0 16px 40px -16px rgba(0, 0, 0, .6);
    color-scheme: dark;
  }
}
:root[data-ds-theme="dark"] {
  --bg: #0C0D0F; --surface: #111214; --surface-2: #17181B; --border: #1F2024; --border-strong: #2A2C31;
  --text: #EDEDEF; --muted: #9B9DA4; --accent: #FF8A4C; --accent-fill: #C2410C; --accent-hover: #A8380A;
  --accent-quiet: rgba(255, 138, 76, .10); --done: #5BD69A; --done-bg: rgba(91, 214, 154, .10);
  --warn: #F2C14E; --warn-bg: rgba(242, 193, 78, .10);
  --shadow: 0 1px 2px rgba(0, 0, 0, .3), 0 16px 40px -16px rgba(0, 0, 0, .6);
  color-scheme: dark;
}

/* Screenshots exist in both themes; show the one matching the page. */
.shot-d { display: none; }
@media (prefers-color-scheme: dark) {
  :root:not([data-ds-theme="light"]) .shot-l { display: none; }
  :root:not([data-ds-theme="light"]) .shot-d { display: block; }
}
:root[data-ds-theme="dark"] .shot-l { display: none; }
:root[data-ds-theme="dark"] .shot-d { display: block; }

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 80px; }
body { margin: 0; background: var(--bg); color: var(--text); font: var(--ds-text-md)/1.6 var(--sans); -webkit-font-smoothing: antialiased; }
a { color: inherit; text-decoration: none; }
button, input { font: inherit; color: inherit; }
button, summary { cursor: pointer; }
h1, h2, h3, h4, p { margin: 0; }
h1, h2, h3, h4 { letter-spacing: -.025em; line-height: 1.15; font-weight: 650; }
h2 { font-size: var(--ds-text-2xl); letter-spacing: -.03em; }
h3 { font-size: var(--ds-text-lg); letter-spacing: -.015em; }
img { display: block; max-width: 100%; height: auto; }
[hidden] { display: none !important; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: var(--ds-radius-sm); }
::selection { background: var(--accent-quiet); }

.wrap { width: min(1200px, calc(100% - 32px)); margin-inline: auto; }
@media (min-width: 768px) { .wrap { width: min(1200px, calc(100% - 64px)); } }
.section { padding-block: 72px; }
@media (min-width: 1024px) { .section { padding-block: 112px; } }
.lead { font-size: var(--ds-text-md); color: var(--muted); max-width: 62ch; margin-top: 16px; }
.muted { color: var(--muted); }

.skip { position: fixed; top: 12px; left: 12px; z-index: 50; padding: 10px 16px; background: var(--text); color: var(--bg); border-radius: var(--r-sm); transform: translateY(-200%); }
.skip:focus { transform: none; }

/* Buttons */
.button { position: relative; display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 44px; padding: 10px 18px; border-radius: var(--r-sm); border: 1px solid transparent; font-size: var(--ds-text-md); font-weight: 600; letter-spacing: -.005em; white-space: nowrap; transition: background-color .15s, border-color .15s, color .15s, box-shadow .15s; }
.button:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }
.button:active { transform: translateY(1px); }
.btn-arrow { width: 15px; height: 15px; flex: none; transition: transform .2s cubic-bezier(.16, 1, .3, 1); }
.button:hover .btn-arrow { transform: translateX(3px); }
/* Primary: a solid fill with a darker bottom edge, so it reads as a key you press rather than a flat swatch. */
.button-primary { padding: 5px 5px 5px 20px; border: 1px solid color-mix(in srgb, var(--accent-fill) 75%, var(--text)); border-radius: var(--ds-radius-pill); color: var(--on-fill); font-weight: 650; letter-spacing: -.01em;
  background: linear-gradient(180deg, color-mix(in srgb, var(--accent-fill) 88%, var(--on-fill)), var(--accent-fill));
  box-shadow: inset 0 1px 0 color-mix(in srgb, var(--on-fill) 30%, transparent), 0 1px 2px color-mix(in srgb, var(--bg) 60%, transparent), 0 4px 12px -4px color-mix(in srgb, var(--accent-fill) 45%, transparent);
  transition: transform .25s cubic-bezier(.16, 1, .3, 1), box-shadow .25s, background-color .15s; }
.button-primary:hover { transform: translateY(-1px); box-shadow: inset 0 1px 0 color-mix(in srgb, var(--on-fill) 30%, transparent), 0 2px 4px color-mix(in srgb, var(--bg) 60%, transparent), 0 8px 18px -6px color-mix(in srgb, var(--accent-fill) 55%, transparent); }
.button-primary:active { transform: translateY(0); box-shadow: inset 0 1px 2px color-mix(in srgb, var(--text) 20%, transparent); }
.button-primary .btn-arrow { box-sizing: content-box; width: 14px; height: 14px; padding: 8px; border-radius: var(--ds-radius-pill); color: var(--accent-hover); background: var(--on-fill); transition: transform .3s cubic-bezier(.16, 1, .3, 1); }
.button-primary:hover .btn-arrow { transform: translateX(2px); }
.button-primary.button-lg { padding: 6px 6px 6px 24px; min-height: 54px; }
.button-primary.button-lg .btn-arrow { padding: 10px; }
.nav .button-primary { padding: 4px 4px 4px 16px; }
.nav .button-primary .btn-arrow { padding: 6px; width: 12px; height: 12px; }
.button-secondary { backdrop-filter: blur(8px); background: color-mix(in srgb, var(--surface) 70%, transparent); }
.button-secondary:hover { border-color: var(--text); transform: translateY(-1px); }
.button-secondary, .button-ghost { border-radius: var(--ds-radius-pill); }
.button-secondary { border-color: var(--border-strong); background: var(--surface); box-shadow: 0 1px 0 var(--border); }
.button-secondary:hover { border-color: var(--text); }
.link { color: var(--accent); font-weight: 600; font-size: var(--ds-text-md); }
.link:hover { opacity: .8; }

/* Header */
.site-header { position: sticky; top: 0; z-index: 20; background: color-mix(in srgb, var(--bg) 88%, transparent); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); border-bottom: 1px solid var(--border); }
.nav { height: 64px; display: flex; align-items: center; gap: 24px; }
.wordmark { display: inline-flex; align-items: center; gap: 10px; font-weight: 700; font-size: var(--ds-text-md); letter-spacing: -.02em; }
.brand-icon { display: grid; place-items: center; width: 28px; height: 28px; border-radius: var(--ds-radius-sm); background: var(--accent-fill); color: var(--on-fill); font: 700 var(--ds-text-xs) var(--sans); letter-spacing: 0; }
.nav-links { display: none; gap: 4px; margin-left: 12px; }
.nav-links a { position: relative; padding: 8px 12px; font-size: var(--ds-text-md); color: var(--muted); transition: color .15s; }
.nav-links a::after { content: ''; position: absolute; left: 12px; right: 12px; bottom: 2px; height: 1px; background: currentColor; transform: scaleX(0); transform-origin: left; transition: transform .2s cubic-bezier(.16, 1, .3, 1); }
.nav-links a:hover { color: var(--text); }
.nav-links a:hover::after { transform: scaleX(1); }
.nav-actions { margin-left: auto; display: flex; align-items: center; gap: 8px; }
.nav-signin { display: none; padding: 8px 12px; font-size: var(--ds-text-md); font-weight: 500; color: var(--muted); }
.nav-signin:hover { color: var(--text); }
.theme-toggle { width: 36px; height: 36px; display: grid; place-items: center; border: 0; border-radius: var(--r-sm); background: transparent; color: var(--muted); }
.theme-toggle:hover { color: var(--text); }
.theme-toggle:hover { background: var(--surface-2); }
.theme-toggle svg { width: 18px; height: 18px; }
.theme-toggle .i-moon { display: none; }
:root[data-ds-theme="dark"] .theme-toggle .i-sun { display: none; }
:root[data-ds-theme="dark"] .theme-toggle .i-moon { display: block; }
@media (prefers-color-scheme: dark) {
  :root:not([data-ds-theme="light"]) .theme-toggle .i-sun { display: none; }
  :root:not([data-ds-theme="light"]) .theme-toggle .i-moon { display: block; }
}
.nav .button { min-height: 40px; padding: 8px 14px; font-size: var(--ds-text-base); }
@media (min-width: 900px) { .nav-links { display: flex; } .nav-signin { display: inline-flex; } }
@media (max-width: 479px) { .nav .button-primary { display: none; } }

/* Screenshot frame */
.frame { border: 1px solid var(--border-strong); border-radius: var(--r); background: var(--surface); box-shadow: var(--shadow); overflow: hidden; }
.frame img { width: 100%; }
.frame.flat { box-shadow: none; }

/* Hero */
.hero { display: grid; gap: 40px; padding-block: 48px 64px; align-items: center; }
@media (min-width: 1100px) { .hero { grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 56px; padding-block: 72px 96px; } }
.eyebrow { display: inline-block; font: 600 var(--ds-text-xs)/1.4 var(--mono); letter-spacing: .08em; color: var(--accent); }
.hero h1 { font-size: var(--ds-text-3xl); letter-spacing: -.04em; line-height: 1.02; margin-top: 18px; font-weight: 700; }
.hero h1 .accent { color: var(--accent); }
.hero .lead { font-size: var(--ds-text-lg); margin-top: 20px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }
.hero-shot { position: relative; }
@media (min-width: 1100px) { .hero-shot .frame { width: 118%; } }
.hero-wrap { position: relative; overflow-x: clip; isolation: isolate; }
.hero-wrap::before { content: ''; position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background:
    radial-gradient(50% 60% at 78% 38%, var(--accent-quiet), transparent 70%),
    radial-gradient(30% 40% at 10% 90%, var(--accent-quiet), transparent 70%);
}
.hero-wrap::after { content: ''; position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background-image: radial-gradient(var(--border-strong) 1px, transparent 1px); background-size: 22px 22px;
  -webkit-mask-image: radial-gradient(60% 70% at 70% 40%, #000 0%, transparent 75%); mask-image: radial-gradient(60% 70% at 70% 40%, #000 0%, transparent 75%);
  opacity: .55;
}
.button-lg { min-height: 52px; padding: 12px 22px; font-size: var(--ds-text-md); }
.hero-shot { position: relative; padding-bottom: 32px; }
.hero-phone { position: absolute; left: -28px; bottom: -8px; width: 23%; min-width: 120px; border: 1px solid var(--border-strong); border-radius: var(--ds-radius-xl); padding: 5px; background: var(--surface); box-shadow: 0 24px 48px -16px rgba(17, 17, 19, .35); }
.hero-phone img { border-radius: var(--ds-radius-xl); }
@media (max-width: 1099px) { .hero-phone { left: auto; right: 12px; bottom: -16px; width: 26%; } }
@media (max-width: 599px) { .hero-phone { width: 32%; right: 8px; } }
.hero-main { transform-origin: left center; }

/* Subjects strip: the one marquee on the page. */
.subjects { border-top: 1px solid var(--border); background: var(--surface); overflow: hidden; padding-block: 18px; }
.subjects-track { display: flex; width: max-content; }
.subjects ul { display: flex; gap: 40px; margin: 0; padding: 0 20px; list-style: none; font: 500 var(--ds-text-md) var(--mono); color: var(--muted); white-space: nowrap; }
.subjects li { display: inline-flex; align-items: center; gap: 40px; }
.subjects li::after { content: ''; width: 5px; height: 5px; border-radius: var(--ds-radius-sm); background: var(--border-strong); transform: rotate(45deg); }
.subjects-track { display: block; width: min(1200px, calc(100% - 32px)); }
.subjects ul { flex-wrap: wrap; gap: 8px 24px; padding: 0; white-space: normal; font-size: var(--ds-text-base); }
.subjects li { gap: 0; }
.subjects li::after { display: none; }
@keyframes slide { to { transform: translateX(-50%); } }

/* Feature directory */
.directory-band { background: var(--surface); border-block: 1px solid var(--border); }
.directory { display: grid; gap: 40px 32px; margin-top: 48px; }
@media (min-width: 700px) { .directory { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1100px) { .directory { grid-template-columns: repeat(4, 1fr); } }
.dir-group h3 { font-size: var(--ds-text-sm); font-family: var(--mono); font-weight: 600; letter-spacing: .04em; color: var(--accent); padding-bottom: 12px; border-bottom: 2px solid var(--accent-fill); }
.dir-group ul { list-style: none; margin: 0; padding: 0; }
.dir-group a { display: grid; gap: 2px; padding: 12px 10px; margin-inline: -10px; border-radius: var(--r-sm); transition: background-color .15s; }
.dir-group a:hover { background: var(--accent-quiet); }
.dir-group a:hover strong { color: var(--accent); }
.dir-group strong { font-weight: 600; font-size: var(--ds-text-md); }
.dir-group span { font-size: var(--ds-text-sm); color: var(--muted); line-height: 1.45; }

/* Numbers */
.facts { border-block: 1px solid var(--border); background: var(--surface); }
.facts dl { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px 16px; margin-block: 0; padding-block: 32px; }
@media (min-width: 768px) { .facts dl { grid-template-columns: repeat(3, 1fr); } }
@media (min-width: 1100px) { .facts dl { grid-template-columns: repeat(6, 1fr); } }
.facts dd { margin: 0; color: var(--accent); font: 600 var(--ds-text-2xl)/1.1 var(--mono); letter-spacing: -.03em; }
.facts dt { margin-top: 6px; font-size: var(--ds-text-base); color: var(--muted); }
.facts div { display: flex; flex-direction: column-reverse; justify-content: flex-end; }

/* Plan: split */
.split { display: grid; gap: 40px; align-items: center; }
@media (min-width: 1024px) { .split { grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: 64px; } .split.flip > :first-child { order: 2; } .split.flip { grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); } }
.points { list-style: none; padding: 0; margin: 28px 0 0; display: grid; gap: 18px; }
.points li { padding-left: 28px; position: relative; color: var(--muted); }
.points li strong { display: block; color: var(--text); font-weight: 600; }
.points li::before { content: ''; position: absolute; left: 0; top: 7px; width: 14px; height: 8px; border-left: 2px solid var(--accent); border-bottom: 2px solid var(--accent); transform: rotate(-45deg); }

/* Roadmap tabs */
.tabbed-head { max-width: 720px; }
#roadmap { position: relative; }
#roadmap::before { content: ''; position: absolute; z-index: -1; inset: 40% calc(50% - 50vw) 0; background: linear-gradient(180deg, transparent, var(--accent-quiet)); pointer-events: none; }
main { isolation: isolate; overflow-x: clip; }
.tablist { display: flex; flex-wrap: wrap; gap: 6px; margin: 32px 0 20px; padding: 4px; border: 1px solid var(--border); border-radius: calc(var(--r-sm) + 4px); background: var(--surface); width: fit-content; max-width: 100%; }
.tablist button { padding: 8px 14px; border: 0; border-radius: var(--r-sm); background: transparent; font-size: var(--ds-text-md); font-weight: 500; color: var(--muted); }
.tablist button[aria-selected="true"] { background: var(--accent-quiet); color: var(--accent); font-weight: 600; }
.tablist button:hover { color: var(--text); }
.tabpanel figcaption { margin-top: 14px; font-size: var(--ds-text-md); color: var(--muted); max-width: 72ch; }
.tabpanel figure { margin: 0; }

/* Learn: bento */
.bento { display: grid; gap: 16px; margin-top: 40px; }
@media (min-width: 900px) {
  .bento { grid-template-columns: repeat(12, 1fr); grid-auto-rows: auto; }
  .bento .b-phase { grid-column: span 7; grid-row: span 2; }
  .bento .b-topic { grid-column: span 5; }
  .bento .b-ask { grid-column: span 5; }
  .bento .b-quiz { grid-column: span 12; }
}
.tile { border: 1px solid var(--border); border-radius: var(--r); background: var(--surface); overflow: hidden; display: flex; flex-direction: column; }
.tile-text { padding: 20px 22px; }
.tile-text p { margin-top: 6px; color: var(--muted); font-size: var(--ds-text-md); }
.tile .crop { border-top: 1px solid var(--border); overflow: hidden; flex: 1; background: var(--surface-2); }
.tile .crop img { width: 100%; object-fit: cover; object-position: left top; height: 100%; }
.b-phase .crop { min-height: 320px; }
.b-topic .crop { flex: none; }
.b-topic .crop img { aspect-ratio: 16 / 9; height: auto; }
.b-ask .crop img, .b-quiz .crop img { height: auto; }
.b-quiz { display: grid; }
@media (min-width: 900px) { .b-quiz { grid-template-columns: 5fr 7fr; } .b-quiz .crop { border-top: 0; border-left: 1px solid var(--border); display: flex; align-items: center; } }
.tile-tinted { background: var(--accent-quiet); }

/* Demo (kept from the previous page, restyled) */
.demo-band { background: var(--surface); border-block: 1px solid var(--border); }
.live-workspace { display: grid; grid-template-columns: minmax(0, 1fr); margin-top: 32px; border: 1px solid var(--border-strong); border-radius: var(--r); background: var(--bg); overflow: hidden; }
@media (min-width: 900px) { .live-workspace { grid-template-columns: 240px minmax(0, 1fr); } }
.live-sidebar { padding: 20px; border-bottom: 1px solid var(--border); background: var(--surface); display: flex; flex-direction: column; gap: 16px; }
@media (min-width: 900px) { .live-sidebar { border-bottom: 0; border-right: 1px solid var(--border); } }
.live-nav { display: grid; gap: 6px; }
@media (max-width: 899px) { .live-nav { grid-template-columns: repeat(3, minmax(0, 1fr)); } .live-nav button { text-align: center; padding: 10px 6px; } }
.live-nav button { text-align: left; padding: 10px 12px; border: 1px solid transparent; border-radius: var(--r-sm); background: transparent; color: var(--muted); font-size: var(--ds-text-base); font-weight: 500; }
.live-nav button[aria-selected="true"] { background: var(--accent-quiet); color: var(--accent); font-weight: 600; }
.demo-session { margin-top: auto; display: grid; gap: 8px; font-size: var(--ds-text-base); }
.demo-session strong { font: 600 var(--ds-text-md) var(--mono); }
.demo-session small { color: var(--muted); font-size: var(--ds-text-sm); }
.demo-session progress { -webkit-appearance: none; appearance: none; width: 100%; height: 6px; border: 0; border-radius: var(--ds-radius-sm); overflow: hidden; background: var(--border); accent-color: var(--accent-fill); }
.demo-session progress::-webkit-progress-bar { background: var(--border); }
.demo-session progress::-webkit-progress-value { background: var(--accent-fill); }
.demo-session progress::-moz-progress-bar { background: var(--accent-fill); }
.live-main { min-width: 0; }
.live-panel { padding: 20px; min-height: 440px; }
@media (min-width: 480px) { .live-panel { padding: 28px; } }
@media (min-width: 900px) { .live-panel { padding: 36px 40px; } }
.tour-label { font: 600 var(--ds-text-xs) var(--mono); color: var(--muted); }
.live-panel h3 { font-size: var(--ds-text-xl); margin: 10px 0 8px; }
.live-panel > p { color: var(--muted); max-width: 62ch; }
.demo-code { margin: 20px 0 0; padding: 16px 18px; border: 1px solid var(--border); border-radius: var(--r-sm) var(--r-sm) 0 0; background: var(--surface); font: var(--ds-text-base)/1.8 var(--mono); overflow-x: auto; }
.demo-code span { color: var(--accent); }
.demo-code em { font-style: normal; color: var(--done); }
.demo-code b { font-weight: 500; color: var(--warn); }
.demo-output { display: grid; grid-template-columns: 1fr auto; gap: 4px 16px; padding: 12px 18px; margin-bottom: 20px; border: 1px solid var(--border); border-top: 0; border-radius: 0 0 var(--r-sm) var(--r-sm); background: var(--done-bg); }
.demo-output > span { font: var(--ds-text-xs) var(--mono); color: var(--muted); }
.demo-output strong { grid-row: span 2; font: 600 var(--ds-text-xl) var(--mono); color: var(--done); align-self: center; }
.demo-output p { font-size: var(--ds-text-base); color: var(--muted); }
.mk-button { display: inline-flex; align-items: center; min-height: 44px; padding: 10px 16px; border-radius: var(--r-sm); border: 1px solid var(--border-strong); background: var(--surface); font-size: var(--ds-text-md); font-weight: 600; }
.mk-button--primary { background: var(--accent-fill); border-color: var(--accent-fill); color: var(--on-fill); }
.mk-button--primary:hover { background: var(--accent-hover); }
.mk-button:active { transform: translateY(1px); }
.demo-source { display: inline-block; margin: 12px 0 0 16px; color: var(--accent); font-size: var(--ds-text-base); font-weight: 500; }
.demo-answers { display: grid; gap: 8px; margin: 20px 0; }
.demo-answers button { display: flex; align-items: baseline; gap: 16px; width: 100%; padding: 14px 16px; border: 1px solid var(--border-strong); border-radius: var(--r-sm); background: var(--surface); text-align: left; font: 600 var(--ds-text-md) var(--mono); }
.demo-answers button span { font: 400 var(--ds-text-base) var(--sans); color: var(--muted); }
.demo-answers button:hover { border-color: var(--accent); }
.demo-answers button[data-result="correct"] { border-color: var(--done); background: var(--done-bg); }
.demo-answers button[data-result="incorrect"] { border-color: var(--warn); background: var(--warn-bg); }
#demo-feedback { min-height: 48px; margin-bottom: 16px; }
.demo-task { display: flex; align-items: center; gap: 14px; margin: 20px 0; padding: 16px; border: 1px solid var(--border-strong); border-radius: var(--r-sm); background: var(--surface); cursor: pointer; }
.demo-task input { width: 20px; height: 20px; accent-color: var(--accent-fill); flex-shrink: 0; }
.demo-task b { display: block; font-size: var(--ds-text-md); }
.demo-task small { display: block; color: var(--muted); font-size: var(--ds-text-sm); }
.demo-task-tier { margin-left: auto; font: 600 var(--ds-text-xs) var(--mono); color: var(--accent); }
.demo-task:has(input:checked) { border-color: var(--done); background: var(--done-bg); }
.demo-next { padding: 18px; border: 1px solid var(--border); border-radius: var(--r-sm); background: var(--surface); margin-bottom: 16px; }
.demo-next > span { font: 600 var(--ds-text-xs) var(--mono); color: var(--muted); }
.demo-next h4 { font-size: var(--ds-text-md); margin: 6px 0; }
.demo-next p { color: var(--muted); font-size: var(--ds-text-base); margin-bottom: 10px; }
.tour-link { color: var(--accent); font-weight: 600; font-size: var(--ds-text-md); }
#demo-complete { margin-bottom: 14px; }

/* Practice: horizontal gallery */
.gallery-head { display: flex; flex-wrap: wrap; align-items: end; justify-content: space-between; gap: 16px; }
.gallery-controls { display: flex; gap: 8px; }
.gallery-controls button { width: 44px; height: 44px; display: grid; place-items: center; border: 1px solid var(--border-strong); border-radius: var(--r-sm); background: var(--surface); }
.gallery-controls button:hover { border-color: var(--accent); color: var(--accent); }
.gallery-controls svg { width: 18px; height: 18px; }
.gallery { display: grid; grid-auto-flow: column; grid-auto-columns: min(86%, 500px); gap: 16px; margin-top: 32px; padding-bottom: 16px; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: thin; overscroll-behavior-x: contain; }
.gallery > article { scroll-snap-align: start; }
.gallery .tile .crop { flex: none; border-top: 0; border-bottom: 1px solid var(--border); }
.gallery .tile .crop img { aspect-ratio: 16 / 10; height: auto; }
.gallery .tile-text { display: flex; flex-direction: column; gap: 6px; flex: 1; padding-bottom: 18px; }
.gallery .tile-text .link { margin-top: auto; padding-top: 8px; }
.gallery .tile-text p { margin-top: 0; }

/* Added since October: the same tile as the gallery, in a wrapping grid so a
   phone scrolls the page, not a row. */
.new-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 300px), 1fr)); gap: 16px; margin-top: 32px; }
.new-grid .tile .crop { flex: none; border-top: 0; border-bottom: 1px solid var(--border); }
.new-grid .tile .crop img { aspect-ratio: 16 / 10; height: auto; }
.new-grid .tile-text { display: flex; flex-direction: column; gap: 6px; flex: 1; padding-bottom: 18px; }
.new-grid .tile-text .link { margin-top: auto; padding-top: 8px; }
.new-grid .tile-text p { margin-top: 0; }

/* Interview: list + preview */
.switcher { display: grid; gap: 24px; margin-top: 40px; }
@media (min-width: 1024px) { .switcher { grid-template-columns: 340px minmax(0, 1fr); gap: 40px; align-items: start; } }
.switch-list { display: grid; gap: 4px; }
.switch-list button { display: grid; gap: 2px; text-align: left; padding: 14px 16px; border: 1px solid transparent; border-left: 2px solid var(--border); border-radius: 0 var(--r-sm) var(--r-sm) 0; background: transparent; }
.switch-list button strong { font-size: var(--ds-text-md); font-weight: 600; }
.switch-list button span { font-size: var(--ds-text-base); color: var(--muted); }
.switch-list button[aria-selected="true"] { border-left-color: var(--accent-fill); background: var(--surface); border-color: var(--border); border-left-color: var(--accent-fill); }
.switch-list button:hover strong { color: var(--accent); }
.switch-view .link { display: inline-block; margin-top: 14px; }
@media (max-width: 1023px) { .switch-list { grid-auto-flow: column; grid-auto-columns: max-content; overflow-x: auto; } .switch-list button { border-left: 0; border-bottom: 2px solid var(--border); border-radius: var(--r-sm) var(--r-sm) 0 0; } .switch-list button span { display: none; } .switch-list button[aria-selected="true"] { border-bottom-color: var(--accent-fill); } }

/* AI */
.ai-band { background: var(--surface); border-block: 1px solid var(--border); }
.ai-grid { display: grid; gap: 16px; margin-top: 40px; }
@media (min-width: 900px) { .ai-grid { grid-template-columns: 1fr 1fr; } }
.ai-grid figure { margin: 0; }
.ai-grid figcaption { margin-top: 12px; color: var(--muted); font-size: var(--ds-text-md); }
.ai-grid figcaption strong { color: var(--text); }
.rules { display: grid; gap: 1px; margin-top: 40px; border: 1px solid var(--border); border-radius: var(--r); overflow: hidden; background: var(--border); }
@media (min-width: 768px) { .rules { grid-template-columns: repeat(3, 1fr); } }
.rules p { background: var(--bg); padding: 20px 22px; color: var(--muted); font-size: var(--ds-text-md); }
.rules p strong { display: block; color: var(--text); margin-bottom: 4px; font-size: var(--ds-text-md); }

/* Phone + themes */
.yours { display: grid; gap: 40px; margin-top: 40px; }
@media (min-width: 1024px) { .yours { grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); align-items: center; } }
.phones { display: flex; gap: 16px; justify-content: center; }
.phone { width: min(31%, 230px); border: 1px solid var(--border-strong); border-radius: var(--ds-radius-xl); padding: 6px; background: var(--surface); box-shadow: var(--shadow); }
.phone img { border-radius: var(--ds-radius-xl); }
.phone:nth-child(2) { margin-top: 48px; }
.yours .frame { max-width: 440px; }
.yours h3 { margin-top: 28px; }
.yours h3:first-child { margin-top: 0; }
.yours p { color: var(--muted); margin-top: 6px; }

/* Pricing */
.plans { display: grid; gap: 16px; margin-top: 40px; max-width: 960px; }
@media (min-width: 900px) { .plans { grid-template-columns: 1fr 1fr; } }
.plan { padding: 28px; border: 1px solid var(--border); border-radius: var(--r); background: var(--surface); display: flex; flex-direction: column; }
.plan.premium { border-color: var(--accent-fill); box-shadow: 0 0 0 1px var(--accent-fill) inset; }
.plan-top { display: flex; justify-content: space-between; gap: 12px; font-size: var(--ds-text-base); color: var(--muted); font-weight: 500; }
.plan-top .save { color: var(--accent); font-weight: 600; }
.plan h3 { font-size: var(--ds-text-lg); margin-top: 16px; }
.price { font: 600 var(--ds-text-3xl)/1 var(--mono); letter-spacing: -.04em; margin-top: 16px; }
.price sup { font-size: var(--ds-text-lg); vertical-align: top; position: relative; top: .35em; margin-right: 2px; }
.price small { font: 400 var(--ds-text-md) var(--sans); letter-spacing: 0; color: var(--muted); }
.plan > p { margin-top: 10px; color: var(--muted); font-size: var(--ds-text-md); }
.plan ul { list-style: none; padding: 20px 0 0; margin: 20px 0 24px; border-top: 1px solid var(--border); display: grid; gap: 10px; font-size: var(--ds-text-md); }
.plan li { padding-left: 26px; position: relative; }
.plan li::before { content: ''; position: absolute; left: 2px; top: 6px; width: 12px; height: 7px; border-left: 2px solid var(--done); border-bottom: 2px solid var(--done); transform: rotate(-45deg); }
.plan li.no { color: var(--muted); }
.plan li.no::before { border: 0; top: 11px; width: 12px; height: 2px; background: var(--border-strong); transform: none; }
.plan .button { margin-top: auto; width: 100%; }
.pricing-note { margin-top: 20px; color: var(--muted); font-size: var(--ds-text-base); max-width: 960px; }
.pricing-note a { color: var(--accent); font-weight: 600; text-decoration: none; }
.pricing-note a:hover { opacity: .8; }

/* FAQ */
.faq { display: grid; gap: 32px; }
@media (min-width: 1024px) { .faq { grid-template-columns: 4fr 8fr; gap: 64px; } }
.faq > div > p { margin-top: 12px; color: var(--muted); }
.faq a { color: var(--accent); }
.questions details { border-bottom: 1px solid var(--border); }
.questions details:first-child { border-top: 1px solid var(--border); }
.questions summary { list-style: none; position: relative; padding: 18px 36px 18px 0; font-weight: 600; }
.questions summary::-webkit-details-marker { display: none; }
.questions summary::after { content: '+'; position: absolute; right: 4px; top: 14px; font: 400 var(--ds-text-xl) var(--mono); color: var(--muted); }
.questions details[open] summary::after { content: '-'; }
.questions details p { padding: 0 32px 20px 0; color: var(--muted); }

/* Closing + footer */
.closing { text-align: left; }
.closing-box { display: grid; gap: 24px; padding: 40px 32px; border-radius: var(--r); background: var(--accent-fill); color: var(--on-fill); align-items: center; }
@media (min-width: 900px) { .closing-box { grid-template-columns: 1fr auto; padding: 48px 56px; } }
.closing-box h2 { color: var(--on-fill); }
.closing-box p { margin-top: 10px; opacity: .9; }
.closing-box .button { background: var(--on-fill); color: var(--accent-hover); }
.closing-box .button:hover { background: color-mix(in srgb, var(--on-fill) 88%, var(--accent-fill)); }
.site-footer { border-top: 1px solid var(--border); padding-block: 32px; margin-top: 72px; }
.footer-row { display: flex; flex-wrap: wrap; gap: 16px 32px; align-items: center; justify-content: space-between; font-size: var(--ds-text-base); color: var(--muted); }
.footer-row nav { display: flex; flex-wrap: wrap; gap: 8px 24px; }
.footer-row a:hover { color: var(--accent); }

/* Motion: entry and reveal only, both off under reduced motion. */
@media (prefers-reduced-motion: no-preference) {
  .hero-copy > * { animation: rise .6s cubic-bezier(.16, 1, .3, 1) both; }
  .hero-copy > :nth-child(2) { animation-delay: .06s; }
  .hero-copy > :nth-child(3) { animation-delay: .12s; }
  .hero-copy > :nth-child(4) { animation-delay: .18s; }
  .hero-shot { animation: rise .8s .15s cubic-bezier(.16, 1, .3, 1) both; }
  .js .reveal { opacity: 0; transform: translateY(32px); transition: opacity .7s var(--ease-out), transform .7s var(--ease-out); }
  .js .reveal.in { opacity: 1; transform: none; }
  .tabpanel:not([hidden]) img, .switch-view:not([hidden]) img { animation: fade .3s ease both; }
}
@keyframes rise { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }
@keyframes fade { from { opacity: .4; } to { opacity: 1; } }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

/* Roadmap in 3D (assets/js/landing-roadmap-3d.fcdf24438da8.js) */
.r3d { display: grid; gap: 20px; margin-top: 36px; }
@media (min-width: 1024px) { .r3d { grid-template-columns: minmax(0, 1fr) 300px; gap: 28px; } }
.r3d-stage { position: relative; height: clamp(360px, 52vw, 560px); border: 1px solid var(--border); border-radius: var(--r); cursor: grab; touch-action: pan-y;
  background: radial-gradient(70% 70% at 50% 45%, var(--accent-quiet), transparent 70%), var(--surface); overflow: hidden; }
.r3d-stage canvas { position: absolute; inset: 0; width: 100%; height: 100%; display: block; }
.r3d-stage:not(.r3d-ready)::after { content: ''; position: absolute; inset: 0; margin: auto; width: 56%; aspect-ratio: 1; border-radius: 50%; border: 1px dashed var(--border-strong); opacity: .7; }
.r3d-status { position: absolute; inset: auto 16px 16px; color: var(--muted); font-size: var(--ds-text-md); z-index: 1; }
.r3d-pause { position: absolute; top: 12px; right: 12px; z-index: 1; min-height: 36px; padding: 6px 12px; border: 1px solid var(--border-strong); border-radius: var(--r-sm); background: var(--surface); font-size: var(--ds-text-sm); font-weight: 500; }
.r3d-pause:hover { border-color: var(--accent); color: var(--accent); }
.r3d-side { display: flex; flex-direction: column; gap: 16px; }
.r3d-card { display: grid; gap: 4px; padding: 18px 20px; border: 1px solid color-mix(in srgb, var(--accent-fill) 45%, var(--border)); border-radius: var(--r-sm); background: var(--surface); min-height: 132px; }
.r3d-num { font: 600 var(--ds-text-xs) var(--mono); color: var(--accent); }
.r3d-card strong { font-size: var(--ds-text-md); line-height: 1.3; }
.r3d-cat { color: var(--muted); font-size: var(--ds-text-base); }
.r3d-card .link { margin-top: 6px; }
.r3d-legend-title { font: 600 var(--ds-text-sm) var(--mono); color: var(--muted); margin-top: 4px; }
.r3d-legend { list-style: none; margin: -6px 0 0; padding: 0; display: grid; gap: 2px; }
@media (min-width: 600px) and (max-width: 1023px) { .r3d-legend { grid-template-columns: 1fr 1fr; } }
.r3d-legend button { display: flex; align-items: center; gap: 10px; width: 100%; min-height: 36px; padding: 6px 8px; border: 0; border-radius: var(--r-sm); background: transparent; text-align: left; font-size: var(--ds-text-base); }
.r3d-legend button:hover { background: var(--surface-2); }
.r3d-legend button[aria-pressed="true"] { background: var(--accent-quiet); color: var(--accent); font-weight: 600; }
.r3d-legend i { width: 10px; height: 10px; border-radius: 50%; flex: none; }
.r3d-legend span { flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.r3d-legend b { font: 500 var(--ds-text-sm) var(--mono); color: var(--muted); }
.r3d-rest { padding: 6px 8px; font-size: var(--ds-text-sm); color: var(--muted); }


/* ======================================================================
   Hero stage: a dark, cinematic band in both page themes, with the live
   3D roadmap (landing-roadmap-3d.fcdf24438da8.js) behind the headline.
   ====================================================================== */
.stage {
  --bg: #08090A; --surface: #111214; --surface-2: #17181B; --border: #1F2024; --border-strong: #3E4048;
  --text: #EDEDEF; --muted: #A9ABB2; --accent: #FF8A4C; --accent-fill: #C2410C; --accent-hover: #A8380A;
  --accent-quiet: rgba(255, 138, 76, .12);
  position: relative; isolation: isolate; overflow: hidden; color: var(--text);
  background:
    radial-gradient(60% 80% at 75% 45%, rgba(194, 65, 12, .16), transparent 65%),
    radial-gradient(40% 50% at 8% 100%, rgba(194, 65, 12, .08), transparent 70%),
    var(--bg);
  min-height: min(92dvh, 860px);
  display: flex; align-items: center;
}
.stage::after { content: ''; position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background-image: linear-gradient(rgba(237, 237, 239, .05) 1px, transparent 1px), linear-gradient(90deg, rgba(237, 237, 239, .05) 1px, transparent 1px);
  background-size: 56px 56px;
  -webkit-mask-image: radial-gradient(70% 70% at 70% 50%, #000, transparent 75%); mask-image: radial-gradient(70% 70% at 70% 50%, #000, transparent 75%);
}
.stage-3d { position: absolute; inset: 0; z-index: 0; cursor: grab; touch-action: pan-y; }
.stage-3d canvas { position: absolute; inset: 0; width: 100%; height: 100%; display: block; opacity: 0; transition: opacity 1.2s ease; }
.stage-3d.r3d-ready canvas { opacity: 1; }
.stage-glow { position: absolute; z-index: 1; pointer-events: none; inset: 0;
  background: linear-gradient(90deg, var(--bg) 0%, color-mix(in srgb, var(--bg) 85%, transparent) 28%, color-mix(in srgb, var(--bg) 0%, transparent) 58%); }
@media (max-width: 999px) { .stage-glow { background: linear-gradient(180deg, color-mix(in srgb, var(--bg) 0%, transparent) 0%, color-mix(in srgb, var(--bg) 0%, transparent) 30%, color-mix(in srgb, var(--bg) 88%, transparent) 50%, var(--bg) 100%); } }
.stage-inner { position: relative; z-index: 2; pointer-events: none; display: grid; gap: 32px; padding-block: 96px 72px; }
.stage-inner a, .stage-inner button { pointer-events: auto; }
@media (min-width: 1000px) { .stage-inner { grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); align-items: end; } }
.stage-copy { max-width: 720px; }
@media (max-width: 999px) { .stage-copy { padding-top: 34vh; } }
.stage .eyebrow { color: var(--accent); }
.stage h1 { font-size: var(--ds-text-3xl); line-height: 1; letter-spacing: -.04em; font-weight: 700; max-width: 680px; background: linear-gradient(90deg, var(--text), var(--muted)); -webkit-background-clip: text; background-clip: text; color: transparent; margin-top: 18px; text-wrap: balance; }
.stage .lead { color: var(--muted); font-size: var(--ds-text-md); max-width: 680px; text-wrap: pretty; margin-top: 24px; }
@media (min-width: 768px) { .stage .lead { font-size: var(--ds-text-lg); } }
.stage .hero-actions { margin-top: 34px; }
.button-ghost { border-color: color-mix(in srgb, var(--text) 28%, transparent); color: var(--text); background: transparent; }
.button-ghost:hover { border-color: var(--text); background: color-mix(in srgb, var(--text) 6%, transparent); }
.stage .r3d-card { justify-self: end; align-self: end; width: min(100%, 320px); min-height: 0; display: grid; gap: 4px;
  padding: 18px 20px; border: 1px solid color-mix(in srgb, var(--accent-fill) 40%, rgba(237, 237, 239, .14)); border-radius: var(--ds-radius-xl);
  background: color-mix(in srgb, var(--surface) 72%, transparent); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
  box-shadow: 0 20px 50px -20px rgba(0, 0, 0, .8); }
@media (max-width: 999px) { .stage .r3d-card { justify-self: start; } }
.r3d-num { font: 600 var(--ds-text-xs) var(--mono); color: var(--accent); letter-spacing: .02em; }
.r3d-card strong { font-size: var(--ds-text-lg); line-height: 1.3; }
.r3d-cat { display: inline-flex; align-items: center; gap: 8px; color: var(--muted); font-size: var(--ds-text-base); }
.r3d-cat::before { content: ''; width: 8px; height: 8px; border-radius: 50%; background: var(--dot, var(--accent)); box-shadow: 0 0 10px var(--dot, var(--accent)); }
.r3d-open { margin-top: 6px; color: var(--accent); font-weight: 600; font-size: var(--ds-text-md); }
.r3d-open:hover { opacity: .8; }
.stage .r3d-pause { position: absolute; top: auto; right: 16px; bottom: 16px; z-index: 3; min-height: 34px; padding: 6px 12px; border-radius: var(--ds-radius);
  border: 1px solid rgba(169, 171, 178, .3); background: color-mix(in srgb, var(--surface) 60%, transparent); color: var(--muted); font-size: var(--ds-text-sm); }
.stage .r3d-pause:hover { color: var(--text); border-color: var(--accent); }

/* The subjects strip sits flush under the stage. */
.stage + .subjects { border-top: 0; }

/* Facts: bigger. */
.facts dd { font-size: var(--ds-text-2xl); }

/* Showcase */
.showcase { overflow: hidden; }
.showcase-head { text-align: center; display: grid; justify-items: center; }
.showcase-head h2 { font-size: var(--ds-text-3xl); letter-spacing: -.045em; }
.showcase-stage { position: relative; margin-top: 56px; perspective: 1800px; padding-bottom: 32px; }
.showcase .tilt { max-width: 1080px; margin-inline: auto; box-shadow: 0 40px 100px -30px rgba(17, 17, 19, .45); }
.showcase .float-a { position: absolute; left: max(0px, calc(50% - 600px)); bottom: 0; width: clamp(110px, 16%, 200px); }
.showcase .float-b { position: absolute; right: max(0px, calc(50% - 620px)); top: 18%; width: clamp(180px, 30%, 380px); box-shadow: 0 30px 70px -24px rgba(17, 17, 19, .5); }
@media (max-width: 699px) { .showcase .float-b { display: none; } .showcase .float-a { left: 8px; } }


/* The header sits over the dark stage until the page scrolls past it. */
.stage { margin-top: -65px; padding-top: 65px; }
.site-header { transition: background-color .3s, border-color .3s; }
.site-header.on-stage { --bg: #08090A; --text: #EDEDEF; --muted: #A9ABB2; --border: rgba(169, 171, 178, .14); --surface-2: rgba(255, 255, 255, .07); --accent: #FF8A4C; color: var(--text); background: color-mix(in srgb, var(--bg) 45%, transparent); }
.site-header.on-stage .theme-toggle { color: var(--text); }

/* Field picker (hero): the first choice a visitor makes. Links, not scripts -
   the cards are written into the HTML by scripts/build-landing-fields.mjs from
   data/roadmap-paths.json. Rules: DESIGN.md, "Landing field picker". */
.field-picker { margin-top: 40px; }
.field-picker h2 { font-size: var(--ds-text-md); font-weight: 600; letter-spacing: 0; color: var(--text); margin: 0 0 12px; }
.field-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 10px; }
.field-card { display: grid; gap: 4px; align-content: start; padding: 12px 14px; min-height: 44px; border: 1px solid var(--border); border-radius: var(--r-sm);
  background: var(--surface-2); color: var(--text); text-decoration: none; overflow-wrap: anywhere; transition: border-color .15s ease, background-color .15s ease; }
.field-card strong { font-size: var(--ds-text-md); font-weight: 600; }
.field-card span { font-size: var(--ds-text-sm); color: var(--muted); display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.field-card small { font: 500 var(--ds-text-xs) var(--mono); color: var(--accent); }
.field-card:hover { border-color: var(--accent); background: var(--accent-quiet); }
.field-card:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }
@media (prefers-reduced-motion: reduce) { .field-card { transition: none; } }

/* Demo lesson switcher + captured tool output */
.demo-lessons { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 16px; }
.demo-lessons button[aria-pressed="true"] { background: var(--accent-quiet); color: var(--accent); border-color: var(--accent); font-weight: 600; }
.demo-output pre { margin: 8px 0 0; font: var(--ds-text-base)/1.5 var(--mono); white-space: pre-wrap; overflow-wrap: anywhere; }

/* Back to top (assets/js/back-to-top.6f621646c721.js). The page says <meta name="ds-totop"
   content="own">, so the script does not pull in design-system.6f621646c721.css - whose
   html:root tokens would override this page's own the moment it loaded. */
button.ds-totop { position: fixed; right: 16px; bottom: calc(16px + env(safe-area-inset-bottom, 0px)); z-index: 40;
  display: grid; place-items: center; width: 44px; height: 44px; padding: 0; border: 1px solid var(--border-strong);
  border-radius: 50%; background: var(--surface); color: var(--muted); box-shadow: var(--shadow); cursor: pointer; font: inherit;
  opacity: 0; transform: translateY(8px); transition: opacity .18s ease, transform .18s ease, color .12s ease, border-color .12s ease; }
.ds-totop.is-on { opacity: 1; transform: none; }
.ds-totop:hover { color: var(--text); border-color: var(--accent); }
.ds-totop:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; color: var(--text); }
.ds-totop[hidden] { display: none; }
@media print { .ds-totop { display: none; } }
@media (prefers-reduced-motion: reduce) { .ds-totop { transition: none; transform: none; } }

/* Tagline reveal: one large statement, each word goes from muted to full
   text as it crosses the trigger line (landing.657ba368ff94.js, IntersectionObserver per
   word). Reduced motion and no JS show the final colour. */
:root { --ease-out: cubic-bezier(.22, 1, .36, 1); }
.tagline { padding-block: 96px; }
.tagline-text { max-width: 680px; font-size: var(--ds-text-2xl); line-height: 1.15; letter-spacing: -.03em; font-weight: 600; text-wrap: balance; color: var(--text); }
@media (min-width: 768px) { .tagline-text { font-size: var(--ds-text-3xl); line-height: 1.05; max-width: 880px; } }
@media (prefers-reduced-motion: no-preference) {
  .js .tagline-text .w { opacity: .3; transition: opacity .5s var(--ease-out); }
  .js .tagline-text .w.on { opacity: 1; }
}
@media (max-width: 767px) { .tagline-text br { display: none; } }
