/* Methodarium website — white, type-led, scroll-driven.
   Fonts are served from this site (no font CDN, no third-party requests). */
@font-face { font-family: 'Geist'; src: url('fonts/geist.woff2') format('woff2'); font-weight: 100 900; font-display: swap; }
@font-face { font-family: 'Geist Mono'; src: url('fonts/geist-mono.woff2') format('woff2'); font-weight: 100 900; font-display: swap; }

:root {
  --ink: #1d1d1f;
  --ink-2: #515154;
  --ink-3: #6e6e73; /* 4.7:1 on white, 4.4:1 on --surface-2: readable small print (WCAG AA) */
  --line: #e5e5ea;
  --surface: #ffffff;
  --surface-2: #f5f5f7;
  --amber: #f5b83d;
  --amber-ink: #a3650a;
  --green: #1f9d74;
  --red: #d93a2b;
  --night: #111214;
  --sans: 'Geist', ui-sans-serif, system-ui, -apple-system, 'Segoe UI', sans-serif;
  --mono: 'Geist Mono', ui-monospace, 'SF Mono', Menlo, monospace;
  --gutter: clamp(16px, 4vw, 48px);
  --ease: cubic-bezier(.2, .7, .1, 1);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0; color: var(--ink); background: var(--surface);
  font: 17px/1.5 var(--sans); -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility;
  overflow-x: clip;
}
img, svg { display: block; }
a { color: inherit; }
.mono { font-family: var(--mono); }
:focus-visible { outline: 2px solid var(--green); outline-offset: 3px; border-radius: 6px; }

/* the page colour morphs between sections */
.backdrop { position: fixed; inset: 0; z-index: -1; background: var(--bg, #fff); transition: background-color .9s var(--ease); }

/* ---------- nav ---------- */
.nav {
  position: fixed; inset: 0 0 auto; z-index: 50; height: 60px; padding: 0 var(--gutter);
  display: flex; align-items: center; gap: 32px;
  background: rgba(255, 255, 255, .72); backdrop-filter: saturate(180%) blur(20px); -webkit-backdrop-filter: saturate(180%) blur(20px);
  border-bottom: 1px solid transparent; transition: border-color .3s;
}
.nav.scrolled { border-bottom-color: var(--line); }
.brand { display: flex; align-items: center; gap: 10px; font-weight: 650; letter-spacing: -.01em; text-decoration: none; }
.tube { width: 28px; height: 28px; color: var(--ink); }
.tube-fill { fill: var(--amber); transform: translateY(calc((1 - var(--fill, 0)) * 15px)); transition: transform .2s linear; }
.nav nav { display: flex; gap: 28px; margin-left: auto; font-size: 14px; }
.nav nav a { text-decoration: none; color: var(--ink-2); transition: color .2s; }
.nav nav a:hover { color: var(--ink); }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px; height: 48px; padding: 0 24px;
  border-radius: 10px; background: var(--ink); color: #fff; white-space: nowrap; font-weight: 550; font-size: 16px; text-decoration: none;
  transition: transform .2s var(--ease), background-color .2s;
}
.btn:hover { background: #000; transform: translateY(-1px); }
.btn-sm { height: 36px; padding: 0 16px; font-size: 14px; }
.btn-lg { height: 56px; padding: 0 32px; font-size: 18px; }
/* secondary: same shape and size as the primary, outlined */
.btn-ghost { background: transparent; color: var(--ink); box-shadow: inset 0 0 0 1.5px var(--line-strong, #c7c7cc); }
.btn-ghost:hover { background: var(--surface-2); box-shadow: inset 0 0 0 1.5px var(--ink); }

/* ---------- type ---------- */
h1, h2, h3 { margin: 0; letter-spacing: -.035em; font-weight: 700; }
.big { font-size: clamp(36px, 6vw, 80px); line-height: 1.02; max-width: 16ch; }
.lede { font-size: clamp(18px, 1.7vw, 22px); line-height: 1.45; color: var(--ink-2); max-width: 36ch; margin: 24px 0 0; }
.center { text-align: center; margin-left: auto; margin-right: auto; }

/* ---------- scroll scenes: tall section, pinned stage ---------- */
.scene { position: relative; height: var(--len, 250vh); }
.stage {
  position: sticky; top: 0; height: 100vh; height: 100svh; overflow: hidden;
  display: flex; flex-direction: column; justify-content: safe center; padding: 84px var(--gutter) 32px;
}
/* helper: everything animated reads --p (scene progress) or its own --a */
.fade { opacity: var(--a, 0); transform: translateY(calc((1 - var(--a, 0)) * 24px)); }

/* ---------- 1 hero ---------- */
.scene-hero .stage { align-items: flex-start; }
.hero-copy { max-width: 1080px; width: 100%; margin: 0 auto; }
.hero-copy {
  opacity: calc(1 - var(--out, 0)); transform: translateY(calc(var(--out, 0) * -80px)) scale(calc(1 - var(--out, 0) * .08));
  will-change: transform, opacity;
}
.kinetic { font-size: clamp(48px, 9.5vw, 132px); line-height: .98; letter-spacing: -.05em; }
.kinetic span { display: inline-block; opacity: 0; filter: blur(14px); transform: translateY(.25em); animation: word-in .9s var(--ease) forwards; }
.kinetic > span:nth-of-type(1) { animation-delay: .15s; } .kinetic > span:nth-of-type(2) { animation-delay: .3s; }
.kinetic em span:nth-of-type(1) { animation-delay: .55s; } .kinetic em span:nth-of-type(2) { animation-delay: .7s; }
.kinetic em { font: italic 400 1.04em/1 Charter, 'Iowan Old Style', Georgia, serif; letter-spacing: -.025em; }
/* one serif keyword per heading: the editorial voice of the page */
h2 em { font: italic 400 1.04em/1 Charter, 'Iowan Old Style', Georgia, serif; letter-spacing: -.02em; }
/* amber highlighter that draws itself under "written up." */
.marked { position: relative; z-index: 0; display: inline-block; }
.marker { position: absolute; z-index: -1; left: -3%; bottom: .02em; width: 106%; height: .34em; overflow: visible; }
.marker path { fill: none; stroke: var(--amber); stroke-width: 14; stroke-linecap: round; opacity: .55; stroke-dasharray: 1; stroke-dashoffset: 1; animation: draw .9s 1.15s cubic-bezier(.6, 0, .2, 1) forwards; }
@keyframes draw { to { stroke-dashoffset: 0; } }
@keyframes word-in { to { opacity: 1; filter: blur(0); transform: none; } }
.scene-hero .lede { margin: 28px 0 0; opacity: 0; animation: word-in .9s .95s var(--ease) forwards; }
.hero-cta { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; margin-top: 36px; opacity: 0; animation: word-in .9s 1.1s var(--ease) forwards; }

/* the app window rises from below and takes the stage */
.window {
  position: absolute; left: 50%; top: 50%; width: min(1080px, calc(100vw - 2 * var(--gutter))); height: min(640px, 72vh);
  transform: translate(-50%, calc(-50% + (1 - var(--rise, 0)) * 78vh)) scale(calc(.82 + var(--rise, 0) * .18));
  border-radius: 18px; background: #fff; overflow: hidden;
  box-shadow: 0 0 0 1px rgba(0, 0, 0, .08), 0 24px 48px -24px rgba(0, 0, 0, .18);
  will-change: transform;
}
.window-bar { height: 40px; display: flex; align-items: center; gap: 8px; padding: 0 16px; border-bottom: 1px solid var(--line); background: #fafafa; }
.window-bar i { width: 12px; height: 12px; border-radius: 50%; background: #e1e1e5; }
.window-bar span { margin: 0 auto; font-size: 13px; color: var(--ink-3); transform: translateX(-30px); }
.window-body { display: grid; grid-template-columns: 220px 1fr; height: calc(100% - 40px); text-align: left; }
.w-side { background: #f7f7f9; border-right: 1px solid var(--line); padding: 16px 12px; display: flex; flex-direction: column; gap: 2px; font-size: 14px; }
.w-brand { display: flex; align-items: center; gap: 8px; font-weight: 650; margin: 0 8px 14px; }
.w-brand img { width: 22px; height: 22px; border-radius: 5px; }
.w-side b { font-weight: 500; padding: 7px 10px; border-radius: 8px; color: var(--ink-2); }
.w-side b.on { background: #fff; color: var(--ink); box-shadow: 0 0 0 1px var(--line); }
.w-side b.sub { padding-left: 22px; font-size: 13px; }
.w-side small { margin: 18px 10px 6px; font: 600 11px var(--mono); letter-spacing: .12em; color: var(--ink-3); }
.w-main { padding: 32px 40px; }
.w-main small { font-size: 12px; letter-spacing: .12em; color: var(--ink-3); }
.w-main h3 { font-size: 30px; margin: 6px 0 24px; }
.w-steps { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.w-steps li { display: grid; grid-template-columns: 120px 1fr auto; align-items: center; gap: 12px; padding: 14px 16px; border-radius: 12px; box-shadow: 0 0 0 1px var(--line); font-weight: 550; }
.w-steps li span { font: 14px var(--mono); color: var(--ink-2); }
.w-steps li.now { box-shadow: 0 0 0 2px var(--amber); background: #fffaf0; }
.tag { justify-self: start; font: 600 11px/1 var(--mono); letter-spacing: .08em; text-transform: uppercase; font-style: normal; padding: 6px 8px; border-radius: 6px; }
.tag.add { background: #e6f5ef; color: #137556; }
.tag.inc { background: #eef1fb; color: #3a55a8; }
.tag.cen { background: #fdf2dc; color: #94590a; }
.tag.was { background: #f2eefa; color: #6b4aa8; }

/* ---------- 2 problem ---------- */
.scene-problem .stage { align-items: center; }
.reveal-text { font-size: clamp(30px, 4.6vw, 62px); line-height: 1.12; letter-spacing: -.03em; font-weight: 650; max-width: 22ch; margin: 0; }
.reveal-text .w { color: var(--ink); opacity: calc(.14 + var(--o, 0) * .86); transition: opacity .15s linear; }
.notes { display: flex; flex-wrap: wrap; gap: 12px 28px; justify-content: center; margin-top: 48px; max-width: 760px; font: 22px 'Bradley Hand', 'Segoe Print', cursive; color: #5b4a2e; }
.notes span { position: relative; opacity: calc(1 - var(--x, 0) * .55); }
.notes span::after { content: ''; position: absolute; left: -4px; right: -4px; top: 55%; height: 2.5px; background: var(--red); transform-origin: left; transform: scaleX(var(--x, 0)); border-radius: 2px; }
.gone { margin: 40px 0 0; font-size: clamp(22px, 2.4vw, 32px); color: var(--ink-2); opacity: var(--g, 0); transform: translateY(calc((1 - var(--g, 0)) * 20px)); }
.gone b { color: var(--red); }

/* ---------- 3 structure ---------- */
.scene-structure .big { margin-bottom: 48px; }
.tree { list-style: none; margin: 0; padding: 0; display: grid; gap: 6px; }
.lvl {
  position: relative; display: grid; grid-template-columns: 120px 1fr auto; align-items: baseline; gap: 16px;
  padding: 14px 0 14px calc(var(--i) * clamp(20px, 5vw, 72px)); border-bottom: 1px solid var(--line);
  opacity: var(--a, 0); transform: translateX(calc((1 - var(--a, 0)) * -24px));
}
.lvl:nth-child(1) { --i: 0; } .lvl:nth-child(2) { --i: 1; } .lvl:nth-child(3) { --i: 2; } .lvl:nth-child(4) { --i: 3; }
.lvl small { font-size: 14px; color: var(--ink-3); }
.lvl b { font-size: clamp(20px, 2.4vw, 30px); font-weight: 650; letter-spacing: -.02em; }
.lvl .steps { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 10px; font-size: clamp(17px, 1.8vw, 22px); }
.lvl .steps .tag { font-size: 11px; letter-spacing: .08em; }
.lvl span { justify-self: end; white-space: nowrap; font-size: 14px; color: var(--ink-3); }

/* ---------- 4 plan ---------- */
.split { display: grid; grid-template-columns: 1fr 1.25fr; gap: 64px; align-items: center; }
.planboard { position: relative; display: grid; grid-template-columns: 1fr 64px 1fr; align-items: stretch; }
.cards { display: grid; gap: 14px; grid-auto-rows: 1fr; }
.card {
  position: relative; background: #fff; border-radius: 10px; padding: 16px 18px; box-shadow: 0 0 0 1px var(--line);
  display: grid; gap: 4px; opacity: var(--a, 0); transform: translateX(calc((1 - var(--a, 0)) * -30px));
}
.card b { font-size: 16px; }
.card span { font: 13px var(--mono); color: var(--amber-ink); }
.card i { position: absolute; right: 12px; top: 12px; font: 600 11px var(--mono); font-style: normal; color: var(--ink-3); background: var(--surface-2); padding: 4px 8px; border-radius: 6px; }
.links { width: 64px; height: 100%; overflow: visible; }
.links path { fill: none; stroke: var(--amber); stroke-width: 1.6; stroke-dasharray: 1; stroke-dashoffset: calc(1 - var(--d, 0)); vector-effect: non-scaling-stroke; }
.inventory { list-style: none; margin: 0; padding: 0 0 0 14px; height: 100%; display: grid; grid-auto-rows: 1fr; align-items: center; }
.inventory li { display: grid; gap: 2px; opacity: var(--a, 0); transform: translateX(calc((1 - var(--a, 0)) * 30px)); }
.inventory b { font-size: 16px; }
.inventory span { font: 13px var(--mono); color: var(--ink-3); }

/* ---------- 5 bench: the card becomes the screen ---------- */
.scene-bench .stage { align-items: center; padding: 0; }
.bench-card {
  --m: var(--grow, 0);
  position: relative; width: calc(min(560px, 90vw) + (100vw - min(560px, 90vw)) * var(--m)); height: calc(380px + (100vh - 380px) * var(--m));
  border-radius: calc(16px * (1 - var(--m))); background: var(--night); color: #f5f5f7;
  padding: calc(28px + 40px * var(--m)) calc(28px + 7vw * var(--m)); display: flex; flex-direction: column; justify-content: center;
  box-shadow: 0 30px 80px rgba(0, 0, 0, calc(.2 * (1 - var(--m))));
  will-change: width, height;
}
.bench-head { position: absolute; top: calc(24px + 56px * var(--m)); left: calc(28px + 7vw * var(--m)); right: calc(28px + 7vw * var(--m)); display: flex; justify-content: space-between; font-size: 14px; color: #8d8d93; }
.bench-title { max-width: calc(100% - 120px - 180px * var(--m)); font-size: calc(34px + 72px * var(--m)); line-height: 1; letter-spacing: -.04em; }
.bench-meta { margin: 16px 0 0; font-size: calc(16px + 18px * var(--m)); color: var(--amber); }
.bench-hint { margin: 10px 0 0; color: #a1a1a6; font-size: calc(14px + 4px * var(--m)); }
.timer { position: absolute; right: calc(28px + 7vw * var(--m)); top: 50%; transform: translateY(-50%) scale(calc(.45 + .55 * var(--m))); transform-origin: right center; width: 240px; height: 240px; }
.timer svg { width: 100%; height: 100%; transform: rotate(-90deg); }
.timer circle { fill: none; stroke-width: 6; }
.timer .track { stroke: #2a2a2e; }
.timer .fill { stroke: var(--amber); stroke-linecap: round; stroke-dasharray: 1; stroke-dashoffset: calc(1 - var(--t, 0)); }
.timer span { position: absolute; inset: 0; display: grid; place-items: center; font-size: 44px; font-weight: 500; }
.voice { margin-top: calc(28px * var(--m)); height: calc(20px * var(--m)); display: flex; align-items: center; gap: 4px; color: #a1a1a6; font-size: 14px; opacity: var(--m); }
.voice i { width: 3px; height: 14px; border-radius: 2px; background: var(--amber); animation: eq 1s ease-in-out infinite; }
.voice i:nth-child(2) { animation-delay: .15s; } .voice i:nth-child(3) { animation-delay: .3s; } .voice i:nth-child(4) { animation-delay: .45s; } .voice i:nth-child(5) { animation-delay: .6s; }
.voice span { margin-left: 10px; }
@keyframes eq { 50% { transform: scaleY(.35); } }
.bench-caption {
  position: absolute; z-index: 2; left: 50%; bottom: 8vh; width: min(720px, 90vw); transform: translateX(-50%); margin: 0; text-align: center;
  font-size: clamp(20px, 2.2vw, 28px); line-height: 1.35; color: #f5f5f7; opacity: var(--c, 0);
}
.bench-caption b { color: var(--amber); font-weight: 650; }

/* ---------- 6 methods ---------- */
.scene-methods .big { max-width: 22ch; margin-bottom: 32px; font-size: clamp(30px, 4.2vw, 60px); }
.scene-methods .label { margin-bottom: 14px; }
.methods { display: grid; grid-template-columns: 300px 1fr; gap: 48px; align-items: start; }
.fields { margin: 0; display: grid; gap: 10px; font: 14px var(--mono); }
.fields div { display: grid; grid-template-columns: 70px 1fr; opacity: calc(.25 + var(--a, 0) * .75); transition: opacity .2s; }
.fields dt { color: var(--ink-3); }
.fields dd { margin: 0; }
.fields dd.hot { color: var(--amber-ink); }
.paper { background: #fff; border-radius: 12px; padding: 32px 36px; box-shadow: 0 0 0 1px var(--line); }
.paper > small { font-size: 13px; color: var(--ink-3); }
.typed { margin: 12px 0 0; min-height: 6em; font: clamp(17px, 1.6vw, 21px)/1.5 Charter, 'Iowan Old Style', Georgia, serif; color: var(--ink); }
.typed .caret { display: inline-block; width: 2px; height: 1.1em; margin-left: 2px; vertical-align: -.15em; background: var(--amber); animation: blink 1s steps(1) infinite; }
@keyframes blink { 50% { opacity: 0; } }
.krt { width: 100%; margin-top: 20px; border-collapse: collapse; font-size: 14px; }
.krt caption { text-align: left; font-size: 11px; letter-spacing: .12em; color: var(--ink-3); padding-bottom: 8px; }
.krt td { padding: 8px 0; border-top: 1px solid var(--line); }
.krt td:last-child { text-align: right; font-family: var(--mono); color: var(--amber-ink); }
.krt tr { opacity: var(--a, 0); transform: translateY(calc((1 - var(--a, 0)) * 10px)); }
.checks { list-style: none; padding: 0; margin: 24px 0 0; display: flex; flex-wrap: wrap; gap: 6px 0; font-size: 15px; color: var(--ink-2); }
.checks li { opacity: var(--a, 0); }
.checks li + li::before { content: '·'; margin: 0 12px; color: var(--ink-3); }

/* ---------- 7 no AI: wall-sized type shrinks into a statement ---------- */
.scene-noai .stage { align-items: center; text-align: center; }
.noai { font-size: clamp(64px, 12vw, 180px); line-height: .9; letter-spacing: -.06em; transform: scale(calc(4.2 - var(--z, 0) * 3.2)); will-change: transform; }
.noai-sub { max-width: 32ch; margin: 36px auto 0; font-size: clamp(20px, 2.1vw, 28px); line-height: 1.35; color: rgba(29, 29, 31, .78); opacity: var(--s, 0); transform: translateY(calc((1 - var(--s, 0)) * 24px)); }

/* ---------- 8 privacy ---------- */
.scene-privacy .stage { align-items: center; text-align: center; }
.vault { width: 140px; height: 140px; margin-bottom: 28px; }
.lock { width: 100%; height: 100%; }
.lock rect { fill: var(--ink); }
.lock circle { fill: var(--amber); }
.lock .shackle { stroke: var(--ink); stroke-width: 9; stroke-linecap: round; transform: translateY(calc((1 - var(--l, 0)) * -14px)); transition: transform .1s; }
.privacy-title { max-width: 18ch; text-align: center; }
.nots { list-style: none; margin: 36px 0 0; padding: 0; display: flex; gap: clamp(16px, 4vw, 48px); justify-content: center; font-size: clamp(22px, 2.6vw, 34px); font-weight: 650; letter-spacing: -.02em; }
.nots li { opacity: var(--a, 0); transform: translateY(calc((1 - var(--a, 0)) * 16px)); }
.nots li span { padding: 0 .1em; background: linear-gradient(rgba(245, 184, 61, .55), rgba(245, 184, 61, .55)) left 92% / calc(var(--a, 0) * 100%) .38em no-repeat; }

/* ---------- 9 get ---------- */
.get { padding: 160px var(--gutter) 140px; }
.wrap { max-width: 1080px; margin: 0 auto; display: flex; flex-direction: column; align-items: flex-start; }
.get .big { max-width: 18ch; }
.get-icon { border-radius: 20px; margin-bottom: 32px; box-shadow: 0 0 0 1px var(--line); }
.platforms { width: 100%; margin: 48px 0 40px; }
.platforms div { display: grid; grid-template-columns: 200px 1fr; gap: 16px; padding: 16px 0; border-top: 1px solid var(--ink); }
.platforms div:last-child { border-bottom: 1px solid var(--line); }
.platforms div + div { border-top-color: var(--line); }
.platforms dt { font-weight: 650; }
.platforms dd { margin: 0; color: var(--ink-2); }
.fine { margin-top: 16px; font-size: 14px; color: var(--ink-3); }
.reveal { opacity: 0; transform: translateY(28px); transition: opacity .9s var(--ease), transform .9s var(--ease); }
.reveal.in { opacity: 1; transform: none; }

.foot { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; padding: 28px var(--gutter); border-top: 1px solid var(--line); font-size: 13px; color: var(--ink-3); background: var(--surface-2); }
.foot nav { display: flex; flex-wrap: wrap; gap: 8px 20px; }
.foot a { text-decoration: none; }
.foot a:hover { color: var(--ink); }

/* ---------- smaller screens ---------- */
@media (max-width: 900px) {
  .nav nav { display: none; }
  .nav .btn { margin-left: auto; }
  .window-body { grid-template-columns: 1fr; }
  .w-side { display: none; }
  .w-main { padding: 22px; }
  .w-steps li { grid-template-columns: 1fr; gap: 6px; }
  .lvl { grid-template-columns: 1fr; gap: 2px; }
  .lvl span { justify-self: start; }
  .split { grid-template-columns: 1fr; gap: 32px; }
  .planboard { grid-template-columns: 1fr; gap: 20px; }
  .links { display: none; }
  .methods { grid-template-columns: 1fr; gap: 24px; }
  .fields { grid-template-columns: 1fr 1fr; }
  .paper { padding: 22px; }
  .typed { font-size: 18px; }
  .timer { width: 150px; height: 150px; top: auto; bottom: 90px; transform: none; }
  .timer span { font-size: 28px; }
  .platforms div { grid-template-columns: 1fr; gap: 2px; }
}


/* phones: the pinned stage is one screen tall, so each scene shows its essentials only */
@media (max-width: 600px) {
  .big { font-size: clamp(32px, 9vw, 44px); }
  .lede { font-size: 17px; margin-top: 14px; }
  .scene-plan .lede, .card span, .inventory span, .card i { display: none; }
  .card { padding: 12px 14px; }
  .inventory { grid-auto-rows: auto; gap: 8px; padding: 0; }
  .fields, .checks, .krt tr:nth-child(n+3) { display: none; }
  .paper > small { display: block; line-height: 1.4; }
  .bench-card { padding: calc(24px + 40px * var(--m)) 24px; }
  .bench-head { left: 24px; right: 24px; }
  .bench-title { max-width: 100%; font-size: calc(30px + 20px * var(--m)); }
  .bench-meta { font-size: calc(15px + 3px * var(--m)); }
  .timer { position: relative; right: auto; top: auto; bottom: auto; width: 132px; height: 132px; margin-top: 20px; transform: none; opacity: var(--m); }
  .bench-caption { bottom: 5vh; font-size: 18px; }
  .nots { flex-direction: column; gap: 6px; }
  .vault { width: 96px; height: 96px; }
}

/* ---------- reduced motion: no pinning, everything in its final state ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .scene { height: auto; }
  .stage { position: relative; height: auto; min-height: 100vh; }
  .kinetic span, .scene-hero .lede, .hero-cta { animation: none; opacity: 1; filter: none; transform: none; }
  .window { position: relative; left: auto; top: auto; transform: none; margin: 48px auto 0; }
  .voice i, .typed .caret { animation: none; }
}

/* ---------- skip link (keyboard users jump past the nav) ---------- */
.skip { position: fixed; left: var(--gutter); top: -60px; z-index: 100; padding: 10px 16px; border-radius: 10px; background: var(--ink); color: #fff; text-decoration: none; font-weight: 550; transition: top .2s; }
.skip:focus { top: 10px; }

/* ---------- legal pages (imprint, privacy policy, accessibility) ---------- */
.legal-nav { position: static; background: var(--surface); border-bottom-color: var(--line); }
.legal-nav nav a[aria-current] { color: var(--ink); font-weight: 600; }
.legal { max-width: 720px; margin: 0 auto; padding: 56px var(--gutter) 96px; }
.legal h1 { font-size: clamp(36px, 5vw, 52px); line-height: 1.05; letter-spacing: -.035em; margin: 0 0 8px; }
.legal .updated { margin: 0 0 40px; color: var(--ink-3); font-size: 14px; }
.legal h2 { font-size: 22px; letter-spacing: -.015em; margin: 40px 0 10px; }
.legal p, .legal li, .legal dd { color: var(--ink-2); }
.legal ul { padding-left: 20px; }
.legal li { margin-bottom: 6px; }
.legal dl { display: grid; grid-template-columns: minmax(140px, 30%) 1fr; gap: 10px 20px; margin: 0; }
.legal dt { font-weight: 600; }
.legal dd { margin: 0; }
.legal a { color: var(--green); }
@media (max-width: 560px) { .legal dl { grid-template-columns: 1fr; gap: 2px; } .legal dd { margin-bottom: 12px; } }
