/* Rebuilding Echo · landing page
   Follows DESIGN.md: warm neutrals, colour means meaning, one house easing,
   physical where you touch, flat where you read. */

:root {
  --page: #F6F5F1;
  --sheet: #FDFDFB;
  --sheet-2: #F3F2EE;
  --ink: #1D1C1A;
  --ink-2: #5E5B55;
  --ink-3: #97938B;
  --rule: rgba(29, 28, 26, .10);
  --rule-2: rgba(29, 28, 26, .16);

  --c-word: #2F6BD8;
  --c-count: #23885A;
  --c-chance: #7B4FD3;
  --c-echo: #FF5A1F;
  --c-bad: #D23F2A;

  --metal-1: #E3E0D9;
  --metal-2: #CDC9C0;
  --keycap: #F1EFEA;
  --screen: #121110;

  --navy: #13213B;
  --navy-2: #0F1B31;

  --lift-1: 0 1px 1px rgba(60, 48, 30, .06), 0 2px 4px rgba(60, 48, 30, .06);
  --lift-2: 0 1px 2px rgba(60, 48, 30, .07), 0 4px 8px rgba(60, 48, 30, .07), 0 12px 24px rgba(60, 48, 30, .07);
  --lift-3: 0 2px 4px rgba(60, 48, 30, .08), 0 8px 16px rgba(60, 48, 30, .08), 0 24px 48px rgba(60, 48, 30, .10), 0 48px 80px rgba(60, 48, 30, .08);

  --ease: cubic-bezier(.2, .8, .2, 1);
  --ease-in: cubic-bezier(.23, 1, .32, 1);

  --serif: "Fraunces", Georgia, serif;
  --sans: "Satoshi", ui-sans-serif, system-ui, -apple-system, sans-serif;
  --mono: "JetBrains Mono Variable", "JetBrains Mono", ui-monospace, monospace;
  --dot: "Doto", var(--mono);

  --wrap: 1200px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
html { background: linear-gradient(var(--page) 50%, var(--navy) 50%); overscroll-behavior-y: none; }
body {
  margin: 0;
  background: transparent;
  color: var(--ink);
  font: 400 18px/1.48 var(--sans);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; }
button { font: inherit; color: inherit; }
code, pre, kbd { font-family: var(--mono); font-variant-ligatures: none; }
::selection { background: rgba(255, 90, 31, .18); }
:focus-visible { outline: 2px solid var(--c-echo); outline-offset: 3px; border-radius: 6px; }

.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: 16px; top: -60px; z-index: 100; background: var(--ink); color: var(--sheet); padding: 8px 14px; border-radius: 8px; text-decoration: none; }
.skip:focus { top: 12px; }

.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 32px; }

/* ---------- type ---------- */
.display {
  font-family: var(--serif);
  font-weight: 340;
  font-variation-settings: "opsz" 144;
  letter-spacing: -0.035em;
  line-height: 1.02;
  margin: 0;
  color: var(--ink);
  text-wrap: balance;
}
.display em {
  font-style: italic;
  font-weight: 330;
  letter-spacing: -0.03em;
}

/* ---------- keys (buttons) ---------- */
.key {
  --h: 44px;
  position: relative;
  display: inline-flex; align-items: center; gap: 10px;
  height: var(--h); padding: 0 20px;
  border: 0; border-radius: 11px;
  font: 500 15.5px/1 var(--sans);
  text-decoration: none; cursor: pointer; white-space: nowrap;
  transition: transform 160ms var(--ease), box-shadow 160ms var(--ease), background-color 160ms var(--ease);
  -webkit-tap-highlight-color: transparent;
}
.key-sm { --h: 36px; padding: 0 14px; font-size: 14.5px; border-radius: 10px; gap: 8px; }
.key-lg { --h: 54px; padding: 0 26px; font-size: 17px; border-radius: 13px; gap: 12px; }
.key-dark {
  color: #FAF9F6;
  background: linear-gradient(180deg, #424140 0%, #282826 100%);
  box-shadow:
    inset 0 -3px 0 #1E1E1C,
    inset 0 1px 1px rgba(255, 255, 255, .30),
    0 1px 2px rgba(30, 24, 14, .22),
    0 6px 14px -4px rgba(30, 24, 14, .30);
}
.key-dark:hover { transform: translateY(-2px); box-shadow: inset 0 -3px 0 #1E1E1C, inset 0 1px 1px rgba(255,255,255,.30), 0 2px 3px rgba(30,24,14,.2), 0 12px 22px -6px rgba(30,24,14,.34); }
.key-dark:active { transform: translateY(1px); box-shadow: inset 0 -1px 0 #1E1E1C, inset 0 1px 1px rgba(255,255,255,.22), 0 1px 1px rgba(30,24,14,.2); transition-duration: 90ms; }
.key-light {
  color: var(--ink);
  background: linear-gradient(180deg, #FFFFFF 0%, #F3F1EC 100%);
  box-shadow:
    inset 0 -2px 0 rgba(29, 28, 26, .10),
    inset 0 0 0 1px rgba(29, 28, 26, .10),
    inset 0 1px 0 rgba(255, 255, 255, .9),
    var(--lift-1);
}
.key-light:hover { transform: translateY(-2px); box-shadow: inset 0 -2px 0 rgba(29,28,26,.10), inset 0 0 0 1px rgba(29,28,26,.12), inset 0 1px 0 #fff, var(--lift-2); }
.key-light:active { transform: translateY(1px); box-shadow: inset 0 -1px 0 rgba(29,28,26,.10), inset 0 0 0 1px rgba(29,28,26,.12); transition-duration: 90ms; }
.led {
  width: 7px; height: 7px; border-radius: 50%; flex: none;
  background: radial-gradient(circle at 35% 35%, #FFB08F, var(--c-echo) 55%, #C93E0D);
  box-shadow: 0 0 0 1.5px rgba(0, 0, 0, .25), 0 0 6px rgba(255, 90, 31, .55);
}
.key-light .led { box-shadow: 0 0 0 1.5px rgba(0, 0, 0, .08), 0 0 5px rgba(255, 90, 31, .45); }

.link-quiet {
  font-weight: 500; font-size: 16px; color: var(--ink);
  text-decoration: underline; text-decoration-color: var(--rule-2);
  text-underline-offset: 5px; text-decoration-thickness: 1.5px;
  transition: text-decoration-color 160ms var(--ease);
}
.link-quiet:hover { text-decoration-color: var(--ink); }

/* ---------- chips ---------- */
.chip {
  display: inline-flex; align-items: center; gap: 8px;
  height: 30px; padding: 0 13px;
  border-radius: 999px;
  background: rgba(255, 255, 255, .75);
  box-shadow: inset 0 0 0 1px var(--rule), var(--lift-1);
  font: 500 13px/1 var(--sans); color: var(--ink-2);
}
.chip-dot { width: 6px; height: 6px; border-radius: 50%; background: var(--c-count); box-shadow: 0 0 0 3px rgba(35, 136, 90, .14); }
.chip-mono {
  height: 26px; padding: 0 11px;
  font: 500 11px/1 var(--mono); letter-spacing: 0; color: var(--ink-2);
  background: rgba(255, 255, 255, .62); box-shadow: inset 0 0 0 1px rgba(29, 28, 26, .08);
}
.badge {
  display: inline-flex; align-items: center; height: 22px; padding: 0 9px;
  border-radius: 999px; font: 600 12px/1 var(--sans);
}
.badge-free { background: var(--ink); color: var(--sheet); }

/* ---------- nav ---------- */
/* ---------- header ----------
   Calm and thin, like Apple's: wordmark left, a centred pill of links with a highlight
   that slides to what you point at, actions right. Courses opens a visual menu. */
.nav {
  position: sticky; top: 0; z-index: 50;
  background: rgba(246, 245, 241, .72);
  -webkit-backdrop-filter: saturate(1.6) blur(18px);
  backdrop-filter: saturate(1.6) blur(18px);
  border-bottom: 1px solid transparent;
  transition: border-color 240ms var(--ease), background-color 240ms var(--ease), box-shadow 240ms var(--ease);
}
.nav.scrolled { border-bottom-color: var(--rule); background: rgba(246, 245, 241, .86); }
.nav.open { background: rgba(250, 249, 246, .97); border-bottom-color: var(--rule); box-shadow: 0 24px 48px -24px rgba(40, 32, 20, .22); }
.nav-in {
  max-width: 1240px; margin: 0 auto; height: 64px; padding: 0 28px;
  display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 24px;
  transition: height 240ms var(--ease);
}
.nav.scrolled .nav-in { height: 56px; }
.wordmark {
  justify-self: start;
  font: 400 21px/1 var(--serif); font-variation-settings: "opsz" 36; letter-spacing: -0.02em;
  text-decoration: none; color: var(--ink); white-space: nowrap;
}
.wordmark i { font-style: italic; }
.nav-center { justify-self: center; }
.nav-pill {
  position: relative; display: flex; align-items: center; gap: 2px; padding: 4px; border-radius: 999px;
  background: rgba(29, 28, 26, .035); box-shadow: inset 0 0 0 1px rgba(29, 28, 26, .06);
}
.nav-hi {
  position: absolute; top: 4px; bottom: 4px; left: 0; width: 0; border-radius: 999px; pointer-events: none;
  background: var(--sheet); box-shadow: 0 1px 2px rgba(40,32,20,.08), 0 0 0 1px rgba(29,28,26,.06);
  opacity: 0; transition: transform 260ms var(--ease), width 260ms var(--ease), opacity 160ms var(--ease);
}
.nav-pill.hovering .nav-hi { opacity: 1; }
.nav-item {
  position: relative; z-index: 1; display: inline-flex; align-items: center; gap: 5px; height: 34px; padding: 0 15px;
  border: 0; border-radius: 999px; background: none; cursor: pointer;
  font: 500 14px/1 var(--sans); color: var(--ink-2); text-decoration: none; white-space: nowrap;
  transition: color 160ms var(--ease);
}
.nav-item:hover, .nav-item[aria-expanded="true"] { color: var(--ink); }
.nav-item svg { width: 12px; height: 12px; transition: transform 220ms var(--ease); }
.nav-item[aria-expanded="true"] svg { transform: rotate(180deg); }
.nav-right { justify-self: end; display: flex; align-items: center; gap: 16px; }
.nav-sign { font-size: 14px; font-weight: 500; color: var(--ink-2); text-decoration: none; transition: color 160ms var(--ease); }
.nav-sign:hover { color: var(--ink); }
.nav-burger { display: none; width: 40px; height: 40px; border: 0; border-radius: 10px; background: none; cursor: pointer; position: relative; }
.nav-burger span { position: absolute; left: 11px; right: 11px; height: 1.6px; border-radius: 2px; background: var(--ink); transition: transform 220ms var(--ease), top 220ms var(--ease); }
.nav-burger span:first-child { top: 16px; }
.nav-burger span:nth-of-type(2) { top: 23px; }
.nav-burger[aria-expanded="true"] span:first-child { top: 19.5px; transform: rotate(45deg); }
.nav-burger[aria-expanded="true"] span:nth-of-type(2) { top: 19.5px; transform: rotate(-45deg); }

/* the Courses menu */
.mega { border-top: 1px solid var(--rule); animation: mega-in 260ms var(--ease-in); }
@keyframes mega-in { from { opacity: 0; transform: translateY(-6px); } }
.mega-in { max-width: 1240px; margin: 0 auto; padding: 26px 28px 30px; display: grid; grid-template-columns: 1fr 1fr 300px; gap: 36px; }
.mega-k { display: flex; justify-content: space-between; margin: 0 0 10px; padding: 0 10px; font-size: 12.5px; color: var(--ink-3); }
.mega-k b { font: 380 17px/1.2 var(--serif); font-variation-settings: "opsz" 36; color: var(--ink); }
.mega-k b i { font-style: italic; }
.mega-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 2px; }
.mega-item {
  display: grid; grid-template-columns: 34px 1fr auto; gap: 12px; align-items: center; padding: 7px 10px; border-radius: 11px;
  text-decoration: none; color: var(--ink); transition: background-color 160ms var(--ease);
  animation: mega-row 300ms var(--ease-in) both; animation-delay: calc(var(--k) * 22ms);
}
@keyframes mega-row { from { opacity: 0; transform: translateX(-4px); } }
.mega-item:hover, .mega-item:focus-visible { background: rgba(29, 28, 26, .045); }
.mega-thumb { position: relative; width: 34px; aspect-ratio: 240 / 300; }
.mega-thumb .face { position: absolute; inset: 0; border-radius: 2px 4px 4px 2px; overflow: hidden; background: var(--fold); box-shadow: inset 0 0 0 1px rgba(29,28,26,.12), 0 1px 2px rgba(60,48,30,.15); transition: transform 220ms var(--ease); transform-origin: left center; }
.mega-thumb .tab { position: absolute; right: -3px; top: 5px; width: 6px; height: 20px; border-radius: 0 3px 3px 0; background: var(--fold-2); }
.mega-item:hover .mega-thumb .face { transform: perspective(200px) rotateY(-14deg); }
.mega-thumb svg { width: 100%; height: 100%; display: block; }
.mega-txt b { display: block; font: 500 14px/1.25 var(--sans); }
.mega-txt small { display: block; font-size: 12.5px; color: var(--ink-3); line-height: 1.35; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; max-width: 290px; }
.mega-st { width: 7px; height: 7px; border-radius: 50%; background: rgba(29,28,26,.18); }
.mega-st.open { background: var(--c-count); }
.mega-st.next { background: var(--c-echo); }
.mega-feature {
  align-self: start;
  display: flex; flex-direction: column; gap: 6px; padding: 16px; border-radius: 18px; text-decoration: none; color: var(--ink);
  background: #F2DCCB; box-shadow: inset 0 0 0 1px rgba(29,28,26,.05); transition: transform 220ms var(--ease), box-shadow 220ms var(--ease);
}
.mega-feature:hover { transform: translateY(-2px); box-shadow: inset 0 0 0 1px rgba(29,28,26,.06), var(--lift-2); }
.mega-feature .sm-screen { margin-bottom: 12px; }
.mega-feature .sm-scr { min-height: 70px; font-size: 16px; }
.mega-feature b { font: 380 21px/1.15 var(--serif); font-variation-settings: "opsz" 72; letter-spacing: -0.02em; }
.mega-feature b i { font-style: italic; }
.mega-feature span { font-size: 13.5px; color: var(--ink-2); }
.mega-feature em { margin-top: 6px; font-style: normal; font-size: 13.5px; font-weight: 600; }

/* phone menu */
.nav-sheet { position: fixed; inset: 58px 0 0; z-index: 49; background: var(--page); overflow-y: auto; padding: 18px 20px 40px; animation: mega-in 240ms var(--ease-in); }
.nav-sheet a.sheet-link { display: block; padding: 14px 4px; border-bottom: 1px solid var(--rule); font: 380 26px/1.2 var(--serif); font-variation-settings: "opsz" 72; color: var(--ink); text-decoration: none; }
.nav-sheet .mega-k { margin-top: 22px; padding: 0 4px; }
.nav-sheet .mega-item { padding: 8px 4px; }
.nav-sheet .key { margin-top: 24px; width: 100%; justify-content: center; }

@media (max-width: 1100px) { .mega-in { grid-template-columns: 1fr 1fr; } .mega-feature { display: none; } }
@media (max-width: 980px) {
  .nav-center, .nav-sign, .mega { display: none !important; }
  .nav-burger { display: block; }
  .nav-in { grid-template-columns: 1fr auto; }
}
@media (max-width: 420px) { .nav-cta { display: none; } }
@media (prefers-reduced-motion: reduce) { .mega, .mega-item, .nav-sheet { animation: none; } .nav-hi { transition: none; } }

/* ---------- sheet over navy ---------- */
.sheet-wrap {
  position: relative; z-index: 2; border-top: 0;
  background: var(--page);
  border-radius: 0 0 40px 40px;
  box-shadow: 0 30px 60px -20px rgba(0, 0, 0, .35);
}

/* ---------- hero ---------- */
/* The hero fills the first screen exactly (minus the nav), so the next section
   never peeks in half cut. It ends on one quiet cue instead. */
.hero {
  position: relative;
  min-height: max(560px, calc(100svh - 64px));
  display: flex; flex-direction: column; justify-content: center;
  padding: 72px 24px 112px;
  overflow: hidden;
  isolation: isolate;
}
.hero-grid {
  position: absolute; inset: 0; z-index: -1;
  background-image: radial-gradient(rgba(29, 28, 26, .16) 1px, transparent 1.2px);
  background-size: 22px 22px;
  -webkit-mask-image: radial-gradient(ellipse 70% 62% at 50% 44%, #000 30%, transparent 78%);
  mask-image: radial-gradient(ellipse 70% 62% at 50% 44%, #000 30%, transparent 78%);
}
.hero::after { /* soft warm light from top left */
  content: ""; position: absolute; inset: 0; z-index: -2;
  background: radial-gradient(ellipse 60% 50% at 50% 40%, #FDFDFB 0%, rgba(253,253,251,0) 70%);
}
.hero-copy { position: relative; z-index: 3; max-width: 940px; margin: 0 auto; text-align: center; }
.chip-row { margin: 0 0 30px; }
/* Headline: a confident grotesk, with one living word in Echo's dot-matrix face */
.hero-h {
  margin: 0; font: 500 clamp(46px, 6.4vw, 96px)/.98 var(--sans); letter-spacing: -0.058em; color: #232220;
  font-feature-settings: "ss01";
}
.hero-h2 { color: #232220; }
.rot-wrap { display: inline-block; white-space: nowrap; }
.rot { font: 800 .8em/1 var(--dot); letter-spacing: -0.07em; color: #232220; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.rot-caret { display: inline-block; width: .07em; height: .78em; margin: 0 .14em 0 .06em; background: var(--c-echo); vertical-align: -.04em; animation: caret 1s steps(1) infinite; }
@keyframes caret { 50% { opacity: 0; } }
.hero-sub { max-width: 640px; margin: 30px auto 0; font-size: 18.5px; line-height: 1.5; font-weight: 500; color: #3A3834; text-wrap: pretty; }
.hero-cta { margin-top: 38px; display: flex; justify-content: center; align-items: center; gap: 28px; }
.hero-note { margin: 22px 0 0; font-size: 13.5px; color: var(--ink-3); }
/* Short laptop screens: tighten the hero so it still fits in one screen. */
@media (max-height: 820px) and (min-width: 981px) {
  .hero { padding: 40px 24px 84px; }
  .hero .chip-row { margin-bottom: 20px; }
  .hero-h { font-size: clamp(46px, min(6.4vw, 10.5vh), 96px); }
  .hero-sub { margin-top: 20px; font-size: 17px; }
  .hero-cta { margin-top: 26px; }
  .hero-note { margin-top: 14px; }
}

/* the papers you rebuild */
.papers { padding: 34px 0 40px; border-top: 1px solid var(--rule); border-bottom: 1px solid var(--rule); background: var(--page); overflow: hidden; }
.papers-k { text-align: center; margin: 0 0 18px; font-size: 14px; color: var(--ink-3); }
.mq { -webkit-mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent); mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent); }
.mq-track { display: flex; gap: 12px; width: max-content; animation: mq 90s linear infinite; }
.mq:hover .mq-track { animation-play-state: paused; }
@keyframes mq { to { transform: translateX(-50%); } }
.mq-item { display: inline-flex; align-items: baseline; gap: 10px; padding: 10px 16px; border-radius: 999px; background: var(--sheet); box-shadow: var(--lift-1), inset 0 0 0 1px var(--rule); white-space: nowrap; }
.mq-item b { font: 500 15px var(--serif); letter-spacing: -0.01em; }
.mq-item span { font: 12px var(--mono); color: var(--ink-3); }

/* artefacts */
.artefacts { position: absolute; inset: 0; pointer-events: none; z-index: 2; }
.art {
  position: absolute;
  transform: rotate(var(--r));
  animation: drift 10s ease-in-out infinite alternate;
  animation-delay: var(--d, 0s);
}
@keyframes drift {
  from { transform: translate3d(0, 0, 0) rotate(var(--r)); }
  to   { transform: translate3d(0, -9px, 0) rotate(calc(var(--r) + .6deg)); }
}

.art-part {
  left: max(16px, calc(50% - 700px)); top: 11%; width: 228px;
  background: var(--sheet); border-radius: 14px; padding: 16px 16px 14px;
  box-shadow: var(--lift-3), inset 0 0 0 1px var(--rule);
}
.part-head { display: flex; justify-content: space-between; align-items: center; font: 500 12px/1 var(--sans); color: var(--ink-3); }
.part-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--c-count); }
.part-title { font: 360 26px/1.1 var(--serif); font-variation-settings: "opsz" 72; letter-spacing: -0.03em; margin: 8px 0 12px; }
.part-title em { font-style: italic; }
.tally { width: 100%; border-collapse: collapse; font: 12px/1 var(--mono); }
.tally td { padding: 6px 0; border-top: 1px solid var(--rule); vertical-align: middle; }
.tally td:nth-child(2) { color: var(--ink-2); padding-left: 6px; width: 64px; }
.tally td.n { color: var(--c-count); text-align: right; padding-right: 10px; font-weight: 600; }
.tally td:last-child { width: 62px; }
.tally i { display: block; height: 5px; border-radius: 3px; background: var(--c-chance); width: calc(var(--v) * 100%); opacity: .85; }
.w { display: inline-block; padding: 3px 7px; border-radius: 6px; background: rgba(47, 107, 216, .1); color: var(--c-word); font: 500 12px/1 var(--mono); }
.part-foot { margin-top: 12px; font-size: 12px; color: var(--ink-3); }

/* depth: back objects sit further away, softer and smaller */
.art-back { opacity: .5; filter: blur(.6px) saturate(.85); scale: .9; z-index: -1; }

/* the paper page */
.art-paper {
  right: max(16px, calc(50% - 700px)); top: 12%; width: 270px;
  background: #FFFEFA; border-radius: 6px; padding: 18px 20px 20px;
  box-shadow: var(--lift-3), inset 0 0 0 1px var(--rule);
}
.heat-top { display: flex; justify-content: space-between; font: 500 12px/1 var(--sans); color: var(--ink-3); margin-bottom: 10px; }
.heat-k { color: var(--ink-2); }
.heat { display: grid; grid-template-columns: 40px repeat(6, 1fr); gap: 2px; font: 9.5px/1 var(--mono); color: var(--ink-2); }
.heat .hl { display: flex; align-items: center; justify-content: flex-end; padding-right: 4px; height: 15px; }
.heat .hc { height: 15px; border-radius: 4px; background: rgba(123, 79, 211, var(--a)); }
.heat .hc.mask { background: repeating-linear-gradient(135deg, transparent 0 3px, rgba(29,28,26,.06) 3px 4px); }
.heat .hx { writing-mode: vertical-rl; transform: rotate(180deg); text-align: left; height: 40px; display: flex; align-items: center; justify-content: flex-start; padding-top: 4px; }

.art-echo { left: max(8px, calc(50% - 690px)); top: 52%; width: 300px; }
.art-echo .tape { margin: -6px 22px 0; }

.art-trace {
  right: max(24px, calc(50% - 640px)); top: 66%; width: 250px;
  background: var(--sheet); border-radius: 14px; padding: 14px 16px 16px;
  box-shadow: var(--lift-3), inset 0 0 0 1px var(--rule);
}
.trace-head { display: flex; justify-content: space-between; font: 500 12px/1 var(--sans); color: var(--ink-3); }
.trace-step { font-variant-numeric: tabular-nums; }
.trace-words { position: relative; display: flex; gap: 5px; margin: 14px 0 22px; }
.trace-words span { padding: 5px 7px; border-radius: 6px; background: rgba(47,107,216,.08); color: var(--c-word); font: 500 12.5px/1 var(--mono); transition: background-color 200ms var(--ease), color 200ms var(--ease); }
.trace-words span.on { background: var(--c-word); color: #fff; }
.trace-words span.on2 { background: rgba(47,107,216,.22); }
.trace-ptr { position: absolute; top: calc(100% + 4px); left: 0; width: 0; height: 0; border-left: 5px solid transparent; border-right: 5px solid transparent; border-bottom: 7px solid var(--ink); transition: transform 380ms var(--ease-in); }
.trace-vars { font: 12px/1.75 var(--mono); color: var(--ink-2); border-top: 1px solid var(--rule); padding-top: 10px; }
.trace-vars .v { color: var(--ink); }
.trace-vars .s { color: var(--c-word); }
.trace-count b { color: var(--c-count); font-weight: 600; }

/* ---------- the instrument ---------- */
.echo {
  position: relative;
  background: linear-gradient(165deg, var(--metal-1) 0%, #D8D4CC 55%, var(--metal-2) 100%);
  border-radius: 18px;
  padding: 12px 12px 12px;
  box-shadow:
    var(--lift-3),
    inset 0 1px 0 rgba(255, 255, 255, .75),
    inset 0 -2px 0 rgba(0, 0, 0, .10),
    inset 0 0 0 1px rgba(0, 0, 0, .06);
}
.echo-top { display: flex; align-items: center; gap: 10px; padding: 2px 4px 10px; }
.grill {
  width: 54px; height: 18px; border-radius: 4px;
  background-image: radial-gradient(circle, rgba(29, 28, 26, .55) 1.1px, transparent 1.4px);
  background-size: 5px 5px;
  background-position: center;
}
.grill-lg { width: 96px; height: 26px; background-size: 6px 6px; background-image: radial-gradient(circle, rgba(29,28,26,.55) 1.4px, transparent 1.7px); }
.engrave { font: 700 11px/1 var(--sans); letter-spacing: .22em; color: #8E897F; text-shadow: 0 1px 0 rgba(255, 255, 255, .7); }
.model { font: 500 11px/1 var(--sans); color: #8E897F; margin-right: auto; }
.lamp {
  width: 14px; height: 14px; border-radius: 50%;
  background: radial-gradient(circle at 40% 35%, #8a7f70, #4a443c 70%);
  box-shadow: inset 0 1px 2px rgba(0, 0, 0, .5), 0 0 0 2px rgba(255, 255, 255, .5), 0 0 0 3px rgba(0, 0, 0, .08);
  transition: background 900ms var(--ease), box-shadow 900ms var(--ease);
}
.lamp.on {
  background: radial-gradient(circle at 40% 35%, #FFD1BC, var(--c-echo) 55%, #B9380B);
  box-shadow: inset 0 1px 2px rgba(0,0,0,.2), 0 0 0 2px rgba(255,255,255,.5), 0 0 12px rgba(255, 90, 31, .55);
}
.lamp.talking { animation: lamp 700ms ease-in-out infinite alternate; }
@keyframes lamp { to { box-shadow: inset 0 1px 2px rgba(0,0,0,.2), 0 0 0 2px rgba(255,255,255,.5), 0 0 20px rgba(255,90,31,.8); } }

.screen {
  position: relative;
  background: var(--screen);
  border-radius: 8px;
  padding: 12px 14px;
  box-shadow: inset 0 2px 8px rgba(0, 0, 0, .7), inset 0 0 0 1px rgba(0, 0, 0, .6), 0 1px 0 rgba(255, 255, 255, .55);
  overflow: hidden;
}
.screen::after { /* pixel mask */
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background-image: radial-gradient(rgba(255, 255, 255, .035) 1px, transparent 1.2px);
  background-size: 3px 3px;
}
.doto {
  font-family: var(--dot); font-weight: 800; color: var(--c-echo);
  text-shadow: 0 0 8px rgba(255, 90, 31, .45);
  letter-spacing: .01em;
}
.echo-mini .screen { min-height: 62px; font-size: 17px; line-height: 1.2; }
.cursor { display: inline-block; width: 8px; height: 15px; margin-left: 4px; background: var(--c-echo); vertical-align: -2px; animation: blink 1.1s steps(1) infinite; box-shadow: 0 0 8px rgba(255,90,31,.5); }
@keyframes blink { 50% { opacity: 0; } }

.echo-keys { display: flex; gap: 6px; margin-top: 10px; }
.k {
  display: inline-flex; align-items: center; justify-content: center; gap: 7px;
  height: 30px; padding: 0 11px; border: 0; border-radius: 8px;
  background: linear-gradient(180deg, #F7F5F1, var(--keycap));
  box-shadow: inset 0 -3px 0 rgba(0, 0, 0, .14), inset 0 1px 0 rgba(255, 255, 255, .8), var(--lift-1);
  font: 500 12px/1 var(--sans); color: var(--ink-2);
  cursor: default;
  transition: transform 140ms var(--ease), box-shadow 140ms var(--ease);
}
.k-dark { background: linear-gradient(180deg, #3A3936, #2A2927); color: #F4F2EE; box-shadow: inset 0 -3px 0 rgba(0,0,0,.45), inset 0 1px 0 rgba(255,255,255,.18), var(--lift-1); }
.k-mem { padding: 0 4px; gap: 2px; }
.k-mem b { font-weight: 600; padding: 3px 6px; border-radius: 5px; }
.k-mem b:first-child { background: rgba(29,28,26,.08); color: var(--ink); }
.echo-mini .k-dark { margin-left: auto; }

.tape {
  position: relative; z-index: -1;
  background: #FBFAF6;
  padding: 18px 14px 14px;
  font: 11px/1.6 var(--mono); color: var(--ink-2);
  box-shadow: var(--lift-2);
  -webkit-mask: linear-gradient(#000 0 0) top/100% calc(100% - 6px) no-repeat, radial-gradient(circle 4px at 50% 100%, transparent 3.5px, #000 4px) bottom/9px 6px repeat-x;
  mask: linear-gradient(#000 0 0) top/100% calc(100% - 6px) no-repeat, radial-gradient(circle 4px at 50% 100%, transparent 3.5px, #000 4px) bottom/9px 6px repeat-x;
}
.tape .p { color: var(--ink-3); }
.tape .out { color: var(--ink); padding-left: 0; margin-bottom: 4px; }
.tape .echo-out { color: var(--c-echo); }

/* ---------- sections ---------- */
section { position: relative; }
.demo, .how, .course, .keep, .pricing, .faq { padding: 112px 0; }
.sec-head { max-width: 720px; margin-bottom: 56px; }
.sec-head-split { max-width: none; display: grid; grid-template-columns: 1.15fr 1fr; gap: 64px; align-items: end; }
.sec-head-split .sec-lede { margin: 0 0 6px; }
.sec-head-center { margin-left: auto; margin-right: auto; text-align: center; }
.sec-no { display: flex; align-items: center; gap: 10px; margin: 0 0 18px; font: 500 14px/1 var(--sans); color: var(--ink-2); }
.sec-head-center .sec-no { justify-content: center; }
.sec-no span { font: 500 11px/1 var(--mono); color: var(--ink-3); padding: 5px 7px; border-radius: 6px; box-shadow: inset 0 0 0 1px var(--rule-2); }
.sec-h { font-size: clamp(38px, 4.3vw, 60px); }
.sec-lede { margin: 22px 0 0; font-size: 18.5px; line-height: 1.5; color: var(--ink-2); max-width: 600px; text-wrap: pretty; }
.sec-head-center .sec-lede { margin-left: auto; margin-right: auto; }

/* ---------- demo ---------- */
.demo { background: var(--sheet); border-top: 1px solid var(--rule); border-bottom: 1px solid var(--rule); }
.demo-grid { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); gap: 56px; align-items: start; }
.demo-machine { position: relative; }
.echo-big { padding: 16px; border-radius: 22px; z-index: 2; }
.echo-big .echo-top { padding: 2px 6px 14px; gap: 14px; }
.echo-big .engrave { font-size: 12px; }
.echo-big .lamp { width: 18px; height: 18px; }
.screen-big { min-height: 150px; padding: 18px 20px 14px; display: flex; flex-direction: column; justify-content: space-between; border-radius: 10px; }
.screen-line { font-family: var(--dot); font-weight: 800; font-size: 26px; line-height: 1.25; color: rgba(255, 90, 31, .42); word-spacing: .08em; }
.screen-line .you { color: #F4E9DF; text-shadow: 0 0 6px rgba(244, 233, 223, .25); }
.screen-line .ew { color: var(--c-echo); text-shadow: 0 0 8px rgba(255, 90, 31, .5); }
.screen-line .ew.fresh { animation: pop 420ms var(--ease-in); }
@keyframes pop { from { opacity: 0; } to { opacity: 1; } }
.screen-line .cursor { width: 11px; height: 22px; vertical-align: -3px; }
.screen-line .ph { color: rgba(255, 90, 31, .38); text-shadow: none; }
.screen-meta { display: flex; justify-content: space-between; margin-top: 14px; font: 500 11px/1 var(--mono); color: rgba(255, 255, 255, .34); }
.echo-controls { display: flex; gap: 8px; margin-top: 14px; }
.echo-input {
  flex: 1; min-width: 0; height: 44px; padding: 0 14px;
  border: 0; border-radius: 10px;
  background: #F7F6F2;
  box-shadow: inset 0 2px 3px rgba(0, 0, 0, .12), inset 0 0 0 1px rgba(0, 0, 0, .08), 0 1px 0 rgba(255, 255, 255, .7);
  font: 500 15px/1 var(--mono); color: var(--ink);
}
.echo-input::placeholder { color: var(--ink-3); font-family: var(--sans); font-weight: 400; }
.echo-input:focus { outline: none; box-shadow: inset 0 2px 3px rgba(0,0,0,.12), inset 0 0 0 1.5px var(--c-echo), 0 1px 0 rgba(255,255,255,.7); }
.echo-controls .k { height: 44px; padding: 0 16px; font-size: 14px; border-radius: 10px; cursor: pointer; }
.echo-controls .k:hover { transform: translateY(-1px); }
.echo-controls .k:active { transform: translateY(2px); box-shadow: inset 0 -1px 0 rgba(0,0,0,.14), inset 0 1px 0 rgba(255,255,255,.8); transition-duration: 90ms; }
.echo-controls .k-dark:active { box-shadow: inset 0 -1px 0 rgba(0,0,0,.45), inset 0 1px 0 rgba(255,255,255,.12); }
.echo-controls .k:disabled { opacity: .5; cursor: not-allowed; transform: none; }
.k-light { color: var(--ink); }
.k-roll { min-width: 92px; }
.kbd { font: 500 10.5px/1 var(--mono); color: var(--ink-3); padding: 3px 5px; border-radius: 4px; box-shadow: inset 0 0 0 1px var(--rule-2); }
.echo-seeds { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; margin-top: 12px; padding: 0 2px; }
.seeds-label { font-size: 13px; color: #7D786F; margin-right: 4px; }
.seed {
  border: 0; cursor: pointer; padding: 6px 10px; border-radius: 7px;
  background: rgba(255, 255, 255, .45); box-shadow: inset 0 0 0 1px rgba(0,0,0,.08);
  font: 500 12.5px/1 var(--mono); color: var(--c-word);
  transition: background-color 160ms var(--ease);
}
.seed:hover { background: rgba(255, 255, 255, .85); }

.printout {
  position: relative; z-index: 1;
  margin: -10px 28px 0;
  background: #FBFAF6;
  padding: 30px 22px 22px;
  box-shadow: var(--lift-2), inset 0 0 0 1px rgba(29,28,26,.05);
  border-radius: 0 0 4px 4px;
  -webkit-mask: linear-gradient(#000 0 0) top/100% calc(100% - 7px) no-repeat, radial-gradient(circle 5px at 50% 100%, transparent 4.5px, #000 5px) bottom/11px 7px repeat-x;
  mask: linear-gradient(#000 0 0) top/100% calc(100% - 7px) no-repeat, radial-gradient(circle 5px at 50% 100%, transparent 4.5px, #000 5px) bottom/11px 7px repeat-x;
}
.po-head { display: flex; justify-content: space-between; align-items: baseline; gap: 16px; margin-bottom: 12px; }
.po-title { font-size: 15.5px; font-weight: 500; }
.po-title .w { font-size: 13.5px; padding: 4px 8px; }
.po-sub { font: 500 12px/1 var(--mono); color: var(--ink-3); white-space: nowrap; }
.po-rows { list-style: none; margin: 0; padding: 0; }
.po-row {
  display: grid; grid-template-columns: 112px 1fr 44px 48px; align-items: center; gap: 12px;
  padding: 7px 8px; margin: 0 -8px; border-radius: 8px;
  border-top: 1px solid var(--rule);
  cursor: pointer;
  transition: background-color 160ms var(--ease);
}
.po-row:first-child { border-top-color: transparent; }
.po-row:hover { background: rgba(47, 107, 216, .06); }
.po-row.scan { background: rgba(123, 79, 211, .10); }
.po-row.pick { background: rgba(255, 90, 31, .10); }
.po-row.pick .po-w { background: var(--c-echo); color: #fff; }
.po-row.mine .po-w { background: var(--ink); color: #fff; }
.po-w { justify-self: start; padding: 4px 8px; border-radius: 6px; background: rgba(47,107,216,.1); color: var(--c-word); font: 500 13px/1 var(--mono); transition: background-color 160ms var(--ease), color 160ms var(--ease); }
.po-bar { height: 8px; border-radius: 4px; background: rgba(123, 79, 211, .10); overflow: hidden; }
.po-bar i { display: block; height: 100%; width: calc(var(--v) * 100%); background: var(--c-chance); border-radius: 4px; transform-origin: left; animation: grow 420ms var(--ease-in) both; }
@keyframes grow { from { transform: scaleX(0); } }
.po-n { font: 600 13px/1 var(--mono); color: var(--c-count); text-align: right; font-variant-numeric: tabular-nums; }
.po-p { font: 500 13px/1 var(--sans); color: var(--c-chance); text-align: right; font-variant-numeric: tabular-nums; }
.po-more { padding: 8px 0 0; font-size: 13px; color: var(--ink-3); border-top: 1px solid var(--rule); }
.po-foot { margin: 14px 0 0; font-size: 13.5px; color: var(--ink-2); }
.po-foot b { font-weight: 600; color: var(--ink); }

.demo-side { padding-top: 4px; }
.legend { display: flex; gap: 22px; font-size: 14px; color: var(--ink-2); margin-bottom: 18px; }
.legend div { display: flex; align-items: center; gap: 8px; }
.sw { width: 18px; height: 10px; border-radius: 3px; }
.sw-you { background: #2A2927; box-shadow: inset 0 0 0 2px #F4E9DF; outline: 1px solid #2A2927; }
.sw-echo { background: var(--c-echo); }
.code-card { background: var(--sheet); border-radius: 14px; box-shadow: var(--lift-2), inset 0 0 0 1px var(--rule); overflow: hidden; }
.code-tabs { display: flex; gap: 20px; padding: 0 18px; border-bottom: 1px solid var(--rule); font: 500 13px/1 var(--sans); color: var(--ink-3); }
.code-tabs span { padding: 14px 0 12px; border-bottom: 2px solid transparent; }
.code-tabs .on { color: var(--ink); border-bottom-color: var(--ink); }
.code { white-space: normal; margin: 0; padding: 14px 0; font-size: 12.5px; line-height: 1.75; color: var(--ink); background: var(--sheet-2); overflow-x: auto; counter-reset: ln; }
.code .ln { display: block; padding: 0 18px 0 48px; position: relative; transition: background-color 200ms var(--ease); white-space: pre; }
.code .ln::before { counter-increment: ln; content: counter(ln); position: absolute; left: 0; width: 32px; text-align: right; color: var(--ink-3); }
.code .ln.hot { background: rgba(255, 90, 31, .09); }
.code .ln.hot::before { color: var(--c-echo); }
.c-kw { color: #8A5A2B; }
.c-fn { color: var(--ink); font-weight: 600; }
.c-word { color: var(--c-word); }
.c-count { color: var(--c-count); }
.c-chance { color: var(--c-chance); }
.code-note { margin: 0; padding: 14px 18px 16px; font-size: 14px; color: var(--ink-2); }
.facts { display: grid; grid-template-columns: repeat(3, 1fr); margin: 26px 0 0; border-top: 1px solid var(--rule); }
.facts div { padding: 16px 0 0; }
.facts dt { font-size: 13px; color: var(--ink-3); }
.facts dd { margin: 6px 0 0; font: 360 34px/1 var(--serif); font-variation-settings: "opsz" 72; letter-spacing: -0.03em; font-variant-numeric: tabular-nums; }
.facts div:nth-child(1) dd { color: var(--c-word); }
.facts div:nth-child(3) dd { color: var(--c-count); }
.demo-aside { margin: 26px 0 0; font-size: 15.5px; color: var(--ink-2); padding-left: 16px; border-left: 2px solid var(--c-echo); }

/* ---------- how it works ---------- */
.loop { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }
.loop-card {
  background: var(--sheet); border-radius: 18px; padding: 12px;
  box-shadow: var(--lift-1), inset 0 0 0 1px var(--rule);
}
.mini {
  position: relative; height: 300px; border-radius: 12px; overflow: hidden;
  background-color: var(--sheet-2);
  background-image: radial-gradient(rgba(29, 28, 26, .09) 1px, transparent 1.2px);
  background-size: 16px 16px;
  box-shadow: inset 0 0 0 1px rgba(29, 28, 26, .05);
  padding: 26px;
}
.loop-text { padding: 22px 16px 14px; }
.loop-text h3 { display: flex; align-items: center; gap: 12px; margin: 0; font: 500 22px/1.2 var(--sans); letter-spacing: -0.015em; }
.loop-n { display: inline-grid; place-items: center; width: 24px; height: 24px; border-radius: 50%; box-shadow: inset 0 0 0 1px var(--rule-2); font: 500 12px/1 var(--mono); color: var(--ink-2); }
.loop-text p { margin: 10px 0 0; font-size: 16.5px; color: var(--ink-2); max-width: 470px; }

/* watch */
.mw-words { display: flex; flex-wrap: wrap; gap: 6px; }
.mw-words span { padding: 6px 9px; border-radius: 7px; background: var(--sheet); box-shadow: var(--lift-1), inset 0 0 0 1px var(--rule); font: 500 14px/1 var(--mono); color: var(--c-word); transition: background-color 220ms var(--ease), color 220ms var(--ease), transform 220ms var(--ease); }
.mw-words span.a { background: var(--c-word); color: #fff; transform: translateY(-2px); }
.mw-words span.b { background: rgba(47, 107, 216, .16); transform: translateY(-2px); }
.mw-narr { margin: 18px 0 14px; min-height: 44px; font-size: 15px; line-height: 1.45; color: var(--ink); max-width: 420px; }
.mw-narr code { font-size: 13px; color: var(--c-count); }
.mw-table { display: flex; flex-wrap: wrap; gap: 6px; }
.mw-cell { display: inline-flex; align-items: center; gap: 8px; padding: 5px 8px; border-radius: 7px; background: var(--sheet); box-shadow: inset 0 0 0 1px var(--rule); font: 12px/1 var(--mono); color: var(--ink-2); transition: box-shadow 220ms var(--ease); }
.mw-cell b { color: var(--c-count); font-weight: 600; }
.mw-cell.hit { box-shadow: inset 0 0 0 1.5px var(--c-count); }

/* build */
.mini-build { display: grid; grid-template-columns: 1.25fr 1fr; gap: 14px; align-items: start; }
.mb-code { grid-column: 1 / -1; background: var(--sheet); border-radius: 10px; padding: 12px 14px; box-shadow: var(--lift-1), inset 0 0 0 1px var(--rule); font: 12.5px/1.7 var(--mono); overflow: hidden; }
.mb-l { white-space: pre; }
.mb-l { min-height: 21px; }
.mb-caret { display: inline-block; width: 2px; height: 15px; background: var(--c-echo); vertical-align: -3px; animation: blink 1s steps(1) infinite; }
.mb-checks { display: grid; gap: 7px; }
.ck { display: flex; align-items: center; gap: 9px; font: 13px/1.3 var(--sans); color: var(--ink-2); }
.ck-box { flex: none; width: 16px; height: 16px; border-radius: 5px; box-shadow: inset 0 0 0 1.5px var(--rule-2); background: var(--sheet); transition: background-color 200ms var(--ease), box-shadow 200ms var(--ease); position: relative; }
.ck.ok { color: var(--ink); }
.ck.ok .ck-box { background: var(--c-count); box-shadow: none; }
.ck.ok .ck-box::after { content: ""; position: absolute; left: 5px; top: 2.5px; width: 4px; height: 8px; border: solid #fff; border-width: 0 2px 2px 0; transform: rotate(45deg); }
.mb-run { display: flex; flex-direction: column; align-items: flex-end; gap: 10px; }
.k-xs { height: 32px; padding: 0 14px; font-size: 13px; }
.k.pressed { transform: translateY(2px); box-shadow: inset 0 -1px 0 rgba(0,0,0,.45), inset 0 1px 0 rgba(255,255,255,.12); }
.mb-status { font-size: 13px; color: var(--ink-3); text-align: right; }
.mb-status.ok { color: var(--c-count); }

/* trace */
.mini-trace { display: grid; grid-template-columns: 1fr; gap: 12px; align-items: start; }
.mt-editor { background: var(--sheet); border-radius: 10px; padding: 10px 0; box-shadow: var(--lift-1), inset 0 0 0 1px var(--rule); font: 12px/1.9 var(--mono); overflow: hidden; }
.mt-l { white-space: pre; }
.mt-l { padding: 0 12px 0 0; transition: background-color 220ms var(--ease); position: relative; }
.mt-l b { display: inline-block; width: 28px; text-align: right; margin-right: 12px; color: var(--ink-3); font-weight: 400; }
.mt-l.on { background: rgba(255, 90, 31, .10); }
.mt-l.on::before { content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 2px; background: var(--c-echo); }
.mt-vars { display: grid; grid-template-columns: .8fr .8fr 1.4fr; gap: 8px; }
.mt-v { background: var(--sheet); border-radius: 9px; padding: 9px 11px; box-shadow: var(--lift-1), inset 0 0 0 1px var(--rule); }
.mt-v span { display: block; font: 500 11.5px/1 var(--mono); color: var(--ink-3); margin-bottom: 6px; }
.mt-v code { font-size: 13px; color: var(--c-word); transition: color 200ms var(--ease); white-space: nowrap; }
.mt-v:last-child code { color: var(--c-count); }
.mt-v code.flash { color: var(--c-echo); }

/* keep */
.mini-keep { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; align-items: center; }
.nametag { background: var(--sheet); border-radius: 12px; padding: 14px 16px; box-shadow: var(--lift-2), inset 0 0 0 1px var(--rule); transform: rotate(-2deg); }
.nt-head { font: 500 12px/1 var(--sans); color: var(--ink-3); }
.nt-term { font: 360 30px/1.1 var(--serif); font-variation-settings: "opsz" 72; font-style: italic; letter-spacing: -0.03em; margin: 6px 0 8px; }
.nametag p { margin: 0; font-size: 13px; line-height: 1.45; color: var(--ink-2); }
.review { position: relative; height: 176px; perspective: 900px; transform: rotate(2deg); }
.rv-face {
  position: absolute; inset: 0; border-radius: 12px; padding: 14px 16px;
  background: var(--sheet); box-shadow: var(--lift-2), inset 0 0 0 1px var(--rule);
  backface-visibility: hidden; -webkit-backface-visibility: hidden;
  transition: transform 600ms var(--ease-in);
}
.rv-back { transform: rotateY(180deg); }
.review.flip .rv-front { transform: rotateY(-180deg); }
.review.flip .rv-back { transform: rotateY(0); }
.rv-k { font: 500 12px/1 var(--sans); color: var(--ink-3); }
.rv-q { font-size: 15px; font-weight: 500; margin: 12px 0 10px; }
.rv-face code { display: block; font-size: 12px; padding: 8px 10px; background: var(--sheet-2); border-radius: 7px; color: var(--ink); }
.rv-a b { display: block; font: 360 48px/1 var(--serif); color: var(--c-count); margin: 10px 0 6px; }
.rv-back p { margin: 0; font-size: 13px; color: var(--ink-2); }

/* ---------- course ---------- */
.ramp {
  display: grid; grid-template-columns: 160px 1fr auto; align-items: center; gap: 28px;
  padding: 14px 28px 14px 14px; margin-bottom: 20px;
  background: #EDE6D8; border-radius: 18px; text-decoration: none;
  box-shadow: inset 0 0 0 1px rgba(29,28,26,.06);
  transition: transform 200ms var(--ease), box-shadow 200ms var(--ease);
}
.ramp:hover { transform: translateY(-2px); box-shadow: inset 0 0 0 1px rgba(29,28,26,.08), var(--lift-2); }
.ramp-cover { border-radius: 10px; overflow: hidden; box-shadow: var(--lift-1), inset 0 0 0 1px rgba(29,28,26,.08); transform: rotate(-1.5deg); }
.ramp-title { display: flex; align-items: center; gap: 12px; }
.track-place { font: 500 22px/1.2 var(--sans); letter-spacing: -0.015em; }
.ramp-body p { margin: 6px 0 0; font-size: 16px; color: var(--ink-2); max-width: 620px; }

.folders { display: grid; grid-template-columns: 1.2fr 1fr 1fr; gap: 20px; }
.folder-card {
  --card: #F2DCCB; --fold: #E7BFA2; --fold-2: #DDB094;
  display: flex; flex-direction: column;
  background: var(--card); border-radius: 18px; padding: 24px;
  box-shadow: inset 0 0 0 1px rgba(29,28,26,.05);
  transition: transform 200ms var(--ease), box-shadow 200ms var(--ease);
}
.folder-card:hover { transform: translateY(-3px); box-shadow: inset 0 0 0 1px rgba(29,28,26,.06), var(--lift-2); }
.fc-school { --card: #DCE0CD; --fold: #BEC8A6; --fold-2: #B1BC97; }
.fc-harbour { --card: #D3DFE2; --fold: #AFC5CC; --fold-2: #A1B9C1; }

.folder { position: relative; width: 78%; max-width: 260px; aspect-ratio: 240 / 300; margin: 6px 0 26px; }
.folder-tab {
  position: absolute; right: -14px; top: 26px; width: 30px; height: 120px;
  background: var(--fold-2); border-radius: 0 10px 10px 0;
  box-shadow: inset -1px 0 0 rgba(0,0,0,.05);
}
.folder-face {
  position: absolute; inset: 0; border-radius: 6px 12px 12px 6px; overflow: hidden;
  background: var(--fold);
  background-image: linear-gradient(180deg, rgba(255,255,255,.18), rgba(255,255,255,0) 40%), radial-gradient(rgba(29,28,26,.07) .8px, transparent 1px);
  background-size: auto, 4px 4px;
  box-shadow: inset 0 0 0 1px rgba(29,28,26,.10), inset 4px 0 0 rgba(0,0,0,.05), 0 1px 2px rgba(60,48,30,.12), 0 10px 20px -6px rgba(60,48,30,.25);
  transition: transform 260ms var(--ease);
  transform-origin: left center;
}
.folder-card:hover .folder-face { transform: perspective(800px) rotateY(-5deg); }
.cover { width: 100%; height: 100%; }

.fc-title-row { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; }
.fc-title { margin: 0; font: 500 24px/1.2 var(--sans); letter-spacing: -0.02em; }
.fc-what { margin: 4px 0 0; font-size: 15px; color: var(--ink-2); }
.plus { list-style: none; margin: 16px 0 0; padding: 0; display: grid; gap: 7px; }
.plus li { position: relative; padding-left: 20px; font-size: 15.5px; line-height: 1.4; }
.plus li::before { content: "+"; position: absolute; left: 2px; top: -1px; color: var(--ink-3); font-weight: 500; }
.echo-said { margin-top: 18px; display: grid; gap: 1px; border-radius: 10px; overflow: hidden; background: rgba(29,28,26,.10); }
.echo-said > div { background: var(--screen); padding: 10px 12px; display: grid; gap: 5px; }
.es-k { font: 500 11px/1 var(--sans); color: rgba(255,255,255,.42); }
.es-v { font: 800 14px/1.3 var(--dot); color: rgba(255, 90, 31, .55); }
.es-good { color: var(--c-echo); text-shadow: 0 0 8px rgba(255,90,31,.4); }
.fc-foot { margin-top: auto; padding-top: 22px; }

/* outline */
.outline { margin-top: 72px; }
.outline-head { display: flex; justify-content: space-between; align-items: end; gap: 24px; flex-wrap: wrap; }
.outline-h { margin: 0; font: 360 34px/1.1 var(--serif); font-variation-settings: "opsz" 72; letter-spacing: -0.03em; }
.seg { display: inline-flex; padding: 4px; border-radius: 12px; background: var(--sheet-2); box-shadow: inset 0 1px 2px rgba(0,0,0,.06), inset 0 0 0 1px var(--rule); }
.seg button { border: 0; background: transparent; padding: 9px 15px; border-radius: 9px; font: 500 14px/1 var(--sans); color: var(--ink-2); cursor: pointer; transition: background-color 160ms var(--ease), color 160ms var(--ease), box-shadow 160ms var(--ease); }
.seg button:hover { color: var(--ink); }
.seg button[aria-selected="true"] { background: var(--sheet); color: var(--ink); box-shadow: inset 0 -2px 0 rgba(0,0,0,.06), inset 0 0 0 1px var(--rule), var(--lift-1); }
.outline-intro { margin: 18px 0 18px; font-size: 16px; color: var(--ink-2); max-width: 760px; }
.units { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--rule-2); }
.unit {
  display: grid; grid-template-columns: 48px minmax(0, 1fr) minmax(0, 1.4fr) minmax(0, 1.1fr) 160px; gap: 24px; align-items: baseline;
  padding: 18px 0; border-bottom: 1px solid var(--rule);
  transition: background-color 160ms var(--ease);
}
.unit:hover { background: linear-gradient(90deg, rgba(29,28,26,.025), transparent); }
.u-no { font: 500 13px/1 var(--mono); color: var(--ink-3); font-variant-numeric: tabular-nums; }
.u-title { font: 500 17px/1.3 var(--sans); letter-spacing: -0.01em; }
.u-title .badge { margin-left: 8px; vertical-align: 2px; }
.u-idea { font-size: 15px; color: var(--ink-2); line-height: 1.45; }
.u-build { font-size: 14px; color: var(--ink); line-height: 1.45; }
.u-build span { display: block; font-size: 12px; color: var(--ink-3); margin-bottom: 3px; }
.u-mod { font: 400 12px/1.4 var(--sans); color: var(--ink-3); text-align: right; }
.units.swap { animation: fadein 260ms var(--ease-in); }
@keyframes fadein { from { opacity: 0; } }

/* ---------- keep (artefacts) ---------- */
.keep { background: var(--sheet); border-top: 1px solid var(--rule); border-bottom: 1px solid var(--rule); overflow: hidden; }
.desk {
  display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 28px; align-items: start;
  padding: 56px 40px 8px;
  border-radius: 24px;
  background-color: #EEECE6;
  background-image: radial-gradient(rgba(29,28,26,.10) 1px, transparent 1.2px);
  background-size: 22px 22px;
  box-shadow: inset 0 0 0 1px var(--rule), inset 0 2px 12px rgba(60,48,30,.05);
}
.obj { margin: 0; display: flex; flex-direction: column; align-items: center; }
.obj > :first-child { transform: rotate(var(--r)); transition: transform 260ms var(--ease); }
.obj:hover > :first-child { transform: rotate(0deg) translateY(-4px); }
.obj figcaption { margin: 28px 0 40px; font-size: 14px; line-height: 1.45; color: var(--ink-2); text-align: left; align-self: stretch; }
.obj figcaption b { display: block; font-size: 15.5px; font-weight: 600; color: var(--ink); margin-bottom: 4px; }
.obj > :first-child { height: 204px; width: 100%; }

.cart {
  position: relative; border-radius: 10px 10px 4px 4px;
  background: linear-gradient(165deg, #3B3A37, #252422);
  box-shadow: var(--lift-3), inset 0 1px 0 rgba(255,255,255,.14);
  padding: 14px 12px 0; display: flex; flex-direction: column;
}
.cart-label { background: #F4F1EA; border-radius: 4px; padding: 12px 12px; flex: 1; display: flex; flex-direction: column; justify-content: space-between; box-shadow: inset 0 0 0 1px rgba(0,0,0,.08); background-image: linear-gradient(90deg, var(--c-echo) 0 6px, transparent 6px); padding-left: 18px; }
.cart-name { font: 800 21px/1 var(--dot); color: var(--ink); }
.cart-spec { font: 500 10.5px/1.35 var(--mono); color: var(--ink-2); }
.cart-pins { height: 22px; margin: 0 6px; background: repeating-linear-gradient(90deg, #C9A85A 0 7px, transparent 7px 11px); background-size: 100% 9px; background-repeat: no-repeat; background-position: bottom; }

.datacard { background: #FBFAF6; border-radius: 6px; padding: 14px; box-shadow: var(--lift-2), inset 0 0 0 1px var(--rule); background-image: repeating-linear-gradient(180deg, transparent 0 23px, rgba(47,107,216,.10) 23px 24px); }
.dc-head { font: 500 12px/1 var(--sans); color: var(--ink-3); margin-bottom: 8px; }
.dc-row { display: flex; justify-content: space-between; font: 12px/2 var(--mono); color: var(--ink-2); }
.dc-row b { font-weight: 600; color: var(--ink); }
.dc-total b { color: var(--c-count); }
.dc-bar { height: 6px; border-radius: 3px; background: rgba(29,28,26,.08); margin: 6px 0 4px; }
.dc-bar i { display: block; height: 100%; width: calc(var(--v)*100%); background: var(--c-count); border-radius: 3px; }

.slip { background: var(--sheet); border-radius: 10px; padding: 14px; box-shadow: var(--lift-2), inset 0 0 0 1px var(--rule); display: flex; flex-direction: column; gap: 8px; }
.slip-q { font-size: 13.5px; font-weight: 500; }
.slip-a { font: 12px/1.45 var(--mono); padding: 8px 10px; border-radius: 7px; }
.slip-a span { display: block; font: 500 11px/1 var(--sans); margin-bottom: 4px; }
.slip-before { background: var(--sheet-2); color: var(--ink-3); }
.slip-before span { color: var(--ink-3); }
.slip-after { background: var(--screen); color: var(--c-echo); }
.slip-after span { color: rgba(255,255,255,.4); }

.report { background: var(--sheet); border-radius: 10px; padding: 14px; box-shadow: var(--lift-2), inset 0 0 0 1px var(--rule); display: flex; flex-direction: column; }
.rp-head { display: flex; justify-content: space-between; align-items: baseline; font: 500 12px/1 var(--sans); color: var(--ink-3); }
.rp-score { font: 360 26px/1 var(--serif); color: var(--ink); letter-spacing: -0.02em; }
.rp-grid { display: grid; grid-template-columns: repeat(10, 1fr); gap: 3px; margin: 14px 0 12px; }
.rp-grid i { aspect-ratio: 1; border-radius: 3px; background: var(--c-count); opacity: .85; }
.rp-grid i.x { background: var(--c-bad); opacity: 1; }
.rp-foot { font-size: 11.5px; line-height: 1.4; color: var(--ink-2); margin-top: auto; }

.browser { background: var(--sheet); border-radius: 10px; box-shadow: var(--lift-2), inset 0 0 0 1px var(--rule); overflow: hidden; display: flex; flex-direction: column; }
.br-bar { display: flex; align-items: center; gap: 5px; padding: 9px 10px; border-bottom: 1px solid var(--rule); }
.br-bar i { width: 7px; height: 7px; border-radius: 50%; background: rgba(29,28,26,.16); }
.br-bar span { margin-left: 8px; font: 10.5px/1 var(--mono); color: var(--ink-3); }
.br-body { padding: 14px; flex: 1; display: flex; flex-direction: column; gap: 7px; }
.br-name { font: 360 22px/1 var(--serif); letter-spacing: -0.02em; margin-bottom: 4px; }
.br-name em { font-style: italic; }
.br-line { height: 6px; border-radius: 3px; background: rgba(29,28,26,.09); }
.br-line.short { width: 60%; }
.br-tiles { display: grid; grid-template-columns: repeat(3, 1fr); gap: 5px; margin-top: auto; }
.br-tiles span { height: 34px; border-radius: 5px; background: var(--screen); }
.br-tiles span:nth-child(2) { background: #DCE0CD; }
.br-tiles span:nth-child(3) { background: #D3DFE2; }


/* ================= pricing: a ticket counter =================
   Each plan is something you'd hold: a paper day ticket, an enamel season pass
   with the course folders fanned behind it, a stack of crew badges. */
.pricing { padding-bottom: 120px; }
.pr-head { max-width: 720px; margin: 0 auto 64px; text-align: center; }
.pr-head .sec-no { justify-content: center; }
.pr-head .sec-lede { margin-left: auto; margin-right: auto; }
.billing { position: relative; display: inline-flex; margin-top: 30px; padding: 4px; border-radius: 999px; background: rgba(29,28,26,.05); box-shadow: inset 0 0 0 1px rgba(29,28,26,.06); }
.billing button { position: relative; z-index: 1; border: 0; background: none; cursor: pointer; height: 38px; padding: 0 18px; border-radius: 999px; font: 500 14.5px var(--sans); color: var(--ink-2); transition: color 200ms var(--ease); }
.billing button.on { color: var(--ink); }
.billing-thumb { position: absolute; top: 4px; bottom: 4px; left: 0; border-radius: 999px; background: var(--sheet); box-shadow: 0 1px 2px rgba(40,32,20,.1), 0 0 0 1px rgba(29,28,26,.06); transition: transform 300ms var(--ease), width 300ms var(--ease); }
.billing .save { margin-left: 6px; font-size: 12.5px; color: var(--c-count); font-weight: 600; }

.counter {
  position: relative; display: grid; grid-template-columns: 1fr 1.18fr 1fr; gap: 28px; align-items: end;
  padding: 0 8px 0;
}
.counter::after { /* the counter top the passes sit on */
  content: ""; position: absolute; left: -24px; right: -24px; top: 316px; height: 14px; border-radius: 3px;
  background: linear-gradient(#E9E4DA, #DCD5C8); box-shadow: 0 1px 0 rgba(255,255,255,.7) inset, 0 10px 22px -10px rgba(60,48,30,.35);
  z-index: 0;
}
.pass { position: relative; z-index: 1; display: flex; flex-direction: column; align-items: center; text-align: center; }
.obj { position: relative; height: 320px; width: 100%; display: flex; align-items: flex-end; justify-content: center; margin-bottom: 40px; transition: transform 320ms var(--ease); }
.pass:hover .obj { transform: translateY(-6px); }
.pass-info h3 { margin: 0; font: 380 30px/1.1 var(--serif); font-variation-settings: "opsz" 72; letter-spacing: -0.02em; }
.pass-info p { margin: 8px auto 20px; max-width: 30ch; font-size: 15px; line-height: 1.5; color: var(--ink-2); min-height: 3em; }
.plan-btn { min-width: 220px; justify-content: center; height: 46px; font-size: 15px; }

/* Free: a paper ferry day ticket */
.tkt {
  width: 92%; max-width: 330px; height: 170px; display: grid; grid-template-columns: 1fr 96px;
  filter: drop-shadow(0 1px 1px rgba(60,48,30,.1)) drop-shadow(0 12px 18px rgba(60,48,30,.14));
  transform: rotate(-4deg); transform-origin: bottom center;
}
.tk-main, .tk-stub { background: #FBF6EA; background-image: radial-gradient(rgba(120,90,50,.06) .7px, transparent 1px); background-size: 5px 5px; }
.tk-main { border-radius: 10px 0 0 10px; padding: 16px 18px; text-align: left; display: flex; flex-direction: column; border-right: 2px dashed rgba(120,90,50,.28); }
.tk-top { display: flex; justify-content: space-between; font: 500 10.5px var(--mono); color: #8B7C64; }
.tk-kind { margin-top: 8px; font: italic 400 17px var(--serif); font-variation-settings: "opsz" 36; color: #A8481A; }
.tk-price { margin-top: auto; font: 330 52px/1 var(--serif); font-variation-settings: "opsz" 144; letter-spacing: -0.04em; color: var(--ink); }
.tk-sub { margin-top: 6px; font-size: 12px; color: #8B7C64; }
.tk-stub { position: relative; border-radius: 0 10px 10px 0; padding: 18px 12px; display: flex; flex-direction: column; justify-content: center; gap: 6px; font: 500 11px/1.25 var(--mono); color: #6E6253; text-align: left; transform: rotate(3deg) translate(3px, -2px); transform-origin: left center; }
.tk-hole { position: absolute; top: 12px; right: 12px; width: 10px; height: 10px; border-radius: 50%; background: var(--page); box-shadow: inset 0 1px 2px rgba(0,0,0,.25); }

/* Pro: an enamel season pass with the courses fanned behind it */
.season-wrap { height: 320px; }
.fan { position: absolute; left: 50%; bottom: 150px; width: 0; height: 0; }
.fan-f {
  position: absolute; left: -52px; bottom: 0; width: 104px; height: 130px; border-radius: 4px 8px 8px 4px;
  background: var(--fold, #E7BFA2); box-shadow: inset 0 0 0 1px rgba(29,28,26,.1), 0 2px 6px rgba(60,48,30,.15);
  transform-origin: 50% 160%; transform: rotate(calc((var(--i) - 3) * 11deg)) translateY(-10px);
  transition: transform 420ms var(--ease);
  background-image: linear-gradient(180deg, rgba(255,255,255,.22), transparent 45%);
}
.pass-season:hover .fan-f { transform: rotate(calc((var(--i) - 3) * 14deg)) translateY(-24px); }
.season {
  position: relative; z-index: 2; width: 92%; max-width: 360px; height: 216px; border-radius: 18px; overflow: hidden; text-align: left;
  padding: 20px 22px; display: flex; flex-direction: column; color: #F3EEE3;
  background: radial-gradient(120% 90% at 20% 0%, #2A3A5E 0%, #16223B 55%, #0F1A30 100%);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.18), inset 0 0 0 1px rgba(255,255,255,.06), 0 2px 4px rgba(10,16,30,.25), 0 24px 44px -12px rgba(10,16,30,.5);
}
.season::before { /* a slow sheen */
  content: ""; position: absolute; inset: -40% -60%; background: linear-gradient(115deg, transparent 40%, rgba(255,255,255,.10) 50%, transparent 60%);
  transform: translateX(-30%); transition: transform 900ms var(--ease); pointer-events: none;
}
.pass-season:hover .season::before { transform: translateX(30%); }
.guilloche { position: absolute; inset: 0; width: 100%; height: 100%; opacity: .22; }
.guilloche path { fill: none; stroke: #D9B67A; stroke-width: .7; }
.ss-top { position: relative; display: flex; justify-content: space-between; align-items: center; }
.ss-word { font: 400 18px/1 var(--serif); font-variation-settings: "opsz" 36; }
.ss-word i { font-style: italic; }
.season .led { width: 8px; height: 8px; border-radius: 50%; background: var(--c-echo); box-shadow: 0 0 10px rgba(255,90,31,.9); animation: pulse-dot 2.4s ease-in-out infinite; }
.ss-kind { position: relative; margin-top: 10px; font: italic 400 18px var(--serif); font-variation-settings: "opsz" 36; color: #D9B67A; }
.ss-price { position: relative; margin-top: auto; display: flex; align-items: baseline; gap: 8px; }
.ss-price span { font: 330 56px/1 var(--serif); font-variation-settings: "opsz" 144; letter-spacing: -0.04em; }
.ss-price small { font-size: 14px; color: rgba(243,238,227,.65); }
.ss-foot { position: relative; margin-top: 10px; padding-top: 10px; border-top: 1px solid rgba(217,182,122,.25); display: flex; justify-content: space-between; font-size: 12px; color: rgba(243,238,227,.7); }
.tag {
  position: absolute; z-index: 3; right: 2%; top: 56px; padding: 8px 12px 8px 22px; border-radius: 3px 8px 8px 3px;
  background: #F4EFE2; font: 500 12.5px var(--sans); color: var(--ink); transform: rotate(7deg);
  box-shadow: 0 1px 2px rgba(60,48,30,.2), 0 8px 14px -6px rgba(60,48,30,.3);
}
.tag i { position: absolute; left: 8px; top: 50%; width: 7px; height: 7px; margin-top: -3.5px; border-radius: 50%; background: var(--page); box-shadow: inset 0 1px 1px rgba(0,0,0,.25); }

/* Teams: a stack of crew badges on lanyards */
.crew { height: 320px; }
.crewb {
  position: absolute; bottom: 0; left: 50%; width: 176px; height: 232px; margin-left: -88px; border-radius: 14px;
  background: #F7F5F0; box-shadow: inset 0 0 0 1px rgba(29,28,26,.08), 0 2px 4px rgba(60,48,30,.1), 0 14px 26px -10px rgba(60,48,30,.3);
}
.crewb.b3 { transform: rotate(-9deg) translateX(-26px); background: #E4E9EC; }
.crewb.b2 { transform: rotate(6deg) translateX(22px); background: #ECE6DA; }
.crewb.b1 { display: flex; flex-direction: column; align-items: stretch; padding: 30px 18px 18px; text-align: left; transform: rotate(-1deg); transition: transform 320ms var(--ease); }
.pass-crew:hover .crewb.b1 { transform: rotate(-3deg) translateY(-4px); }
.crewb .lan { position: absolute; left: 50%; top: -60px; width: 18px; height: 70px; margin-left: -9px; background: repeating-linear-gradient(180deg, #A8481A 0 6px, #C2561E 6px 12px); border-radius: 3px; opacity: .9; }
.crewb .slot { position: absolute; left: 50%; top: 12px; width: 34px; height: 6px; margin-left: -17px; border-radius: 3px; background: var(--page); box-shadow: inset 0 1px 2px rgba(0,0,0,.25); }
.bd-kind { font: italic 400 18px var(--serif); font-variation-settings: "opsz" 36; color: #3E6378; }
.bd-lines { display: grid; gap: 7px; margin-top: 16px; }
.bd-lines span { height: 7px; border-radius: 4px; background: rgba(29,28,26,.09); }
.bd-lines span:nth-child(2) { width: 70%; } .bd-lines span:nth-child(3) { width: 45%; }
.bd-price { margin-top: auto; font: 330 30px/1.05 var(--serif); font-variation-settings: "opsz" 72; letter-spacing: -0.02em; color: var(--ink); }
.bd-foot { margin-top: 6px; font-size: 12px; color: var(--ink-3); }

/* the spec sheet */
.cmp { margin-top: 110px; }
.cmp-head { display: flex; justify-content: space-between; align-items: end; gap: 20px; margin-bottom: 18px; }
.cmp-head h3 { margin: 0; font: 360 34px/1.1 var(--serif); font-variation-settings: "opsz" 72; letter-spacing: -0.03em; }
.cmp-head h3 em { font-style: italic; }
.cmp-pick { display: none; }
.cmp-t { width: 100%; border-collapse: collapse; }
.cmp-t thead th { position: sticky; top: 64px; z-index: 2; padding: 16px 12px 14px; text-align: center; font: 500 16px var(--sans); background: rgba(246,245,241,.92); backdrop-filter: blur(10px); border-bottom: 1px solid var(--rule-2); }
.cmp-t thead td { position: sticky; top: 64px; background: rgba(246,245,241,.92); border-bottom: 1px solid var(--rule-2); }
.cmp-t thead small { display: block; margin-top: 3px; font-size: 12.5px; font-weight: 400; color: var(--ink-3); }
.cmp-t thead th.pro { color: var(--ink); }
.cmp-t thead th.pro::before { content: ""; display: inline-block; width: 7px; height: 7px; margin-right: 7px; border-radius: 50%; background: var(--c-echo); vertical-align: 2px; }
.cmp-group th { padding: 28px 0 8px; text-align: left; font: 380 20px var(--serif); font-variation-settings: "opsz" 36; letter-spacing: -0.01em; border-bottom: 1px solid var(--rule); }
.cmp-t tbody th[scope="row"] { padding: 14px 0; text-align: left; font-size: 15px; font-weight: 400; color: var(--ink); width: 40%; }
.cmp-t tbody td { padding: 14px 12px; text-align: center; font-size: 14px; color: var(--ink-2); width: 20%; }
.cmp-t tbody tr:not(.cmp-group) { border-bottom: 1px solid var(--rule); }
.cmp-t tbody td:nth-child(3) { background: rgba(255,90,31,.035); }
.cmp-t .ck { display: inline-block; width: 18px; height: 18px; color: var(--c-count); vertical-align: middle; }
.cmp-t .no { color: rgba(29,28,26,.25); }

.terms { list-style: none; margin: 64px 0 0; padding: 28px 30px; border-radius: 18px; background: var(--sheet); box-shadow: inset 0 0 0 1px var(--rule); display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px; }
.terms li { display: grid; grid-template-columns: 22px 1fr; gap: 12px; font-size: 14.5px; color: var(--ink-2); line-height: 1.5; }
.terms svg { width: 20px; height: 20px; color: var(--ink-3); margin-top: 1px; }
.terms b { display: block; color: var(--ink); font-weight: 600; margin-bottom: 2px; }

@media (max-width: 980px) {
  .counter { grid-template-columns: 1fr; gap: 64px; max-width: 460px; margin: 0 auto; }
  .counter::after { display: none; }
  .pass-season { order: -1; }
  .pass-info p { min-height: 0; }
  .terms { grid-template-columns: 1fr; gap: 18px; }
}
@media (max-width: 720px) {
  .pricing { padding-bottom: 80px; }
  .pr-head { margin-bottom: 88px; }
  .counter { gap: 56px; }
  .obj { height: 280px; margin-bottom: 28px; }
  .season-wrap { height: 300px; }
  .cmp { margin-top: 80px; }
  .cmp-head { flex-direction: column; align-items: stretch; }
  .cmp-head h3 { font-size: 28px; }
  .cmp-pick { display: flex; padding: 4px; border-radius: 999px; background: rgba(29,28,26,.05); }
  .cmp-pick button { flex: 1; height: 36px; border: 0; border-radius: 999px; background: none; font: 500 14px var(--sans); color: var(--ink-2); }
  .cmp-pick button[aria-selected="true"] { background: var(--sheet); color: var(--ink); box-shadow: 0 1px 2px rgba(40,32,20,.1); }
  /* one plan's column at a time */
  .cmp-t thead th, .cmp-t tbody td { display: none; }
  .cmp[data-col="1"] .cmp-t :is(thead th, tbody td):nth-child(2),
  .cmp[data-col="2"] .cmp-t :is(thead th, tbody td):nth-child(3),
  .cmp[data-col="3"] .cmp-t :is(thead th, tbody td):nth-child(4) { display: table-cell; width: 40%; }
  .cmp-t thead th, .cmp-t thead td { top: 58px; }
  .cmp-t tbody th[scope="row"] { width: 60%; font-size: 14.5px; }
  .terms { padding: 22px; }
}
@media (prefers-reduced-motion: reduce) { .obj, .fan-f, .season::before, .crewb.b1 { transition: none; } .season .led { animation: none; } }

/* ---------- FAQ ---------- */
.faq { border-top: 1px solid var(--rule); }
.faq-grid { display: grid; grid-template-columns: 1fr 1.45fr; gap: 80px; align-items: start; }
.faq-side { position: sticky; top: 112px; }
.faq-mail { margin: 22px 0 0; font-size: 15.5px; color: var(--ink-2); max-width: 340px; }
.faq-mail a { color: var(--ink); text-underline-offset: 4px; text-decoration-color: var(--rule-2); }
.faq-list { border-top: 1px solid var(--rule-2); }
.faq-list details { border-bottom: 1px solid var(--rule); }
.faq-list summary {
  list-style: none; cursor: pointer;
  display: flex; justify-content: space-between; align-items: center; gap: 24px;
  padding: 24px 0; font: 500 19px/1.35 var(--sans); letter-spacing: -0.01em;
}
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary::after {
  content: ""; flex: none; width: 12px; height: 12px;
  background: linear-gradient(var(--ink-2), var(--ink-2)) center/12px 1.5px no-repeat, linear-gradient(var(--ink-2), var(--ink-2)) center/1.5px 12px no-repeat;
  transition: transform 200ms var(--ease);
}
.faq-list details[open] summary::after { transform: rotate(45deg); }
.faq-a { padding: 0 48px 26px 0; }
.faq-a p { margin: 0; font-size: 16.5px; line-height: 1.6; color: var(--ink-2); max-width: 640px; }

/* ---------- final + footer (navy, blueprint) ---------- */
/* One navy block with one blueprint grid drawn across all of it, so the closing figure and the
   footer sit on the same sheet with no seam between them. */
.navy-end {
  position: relative; overflow: hidden; isolation: isolate;
  margin-top: -40px; background-color: var(--navy); color: #EDEBE5;
}
.navy-end::before {
  content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background-image:
    linear-gradient(rgba(255,255,255,.07) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.07) 1px, transparent 1px),
    linear-gradient(rgba(255,255,255,.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.03) 1px, transparent 1px);
  background-size: 120px 120px, 120px 120px, 24px 24px, 24px 24px;
  background-position: center top;
}
.final, .foot { position: relative; }
.final { padding: 150px 24px 130px; text-align: center; }
.final-in { position: relative; max-width: 760px; margin: 0 auto; }
.final-h { color: #F6F4EE; font-size: clamp(42px, 5.4vw, 78px); }
.final-in p { margin: 22px auto 0; max-width: 540px; font-size: 19px; color: rgba(237, 235, 229, .72); }
.final-cta { margin-top: 34px; }
.final .key-light { box-shadow: inset 0 -3px 0 rgba(29,28,26,.16), inset 0 1px 0 #fff, 0 1px 2px rgba(0,0,0,.3), 0 10px 24px -6px rgba(0,0,0,.45); }


.foot-in { max-width: 1320px; margin: 0 auto; padding: 0 32px 32px; }
.foot-top {
  display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 64px; align-items: start;
  padding-top: 60px;
}
.wordmark-light { color: #F6F4EE; text-decoration: none; }
.foot-about p { margin: 16px 0 0; font-size: 15px; line-height: 1.55; color: rgba(237,235,229,.6); max-width: 300px; }
.foot-links { display: grid; grid-template-columns: repeat(3, auto); column-gap: clamp(48px, 7vw, 112px); }
.foot nav h4 { margin: 0 0 16px; font: 500 13px/1 var(--sans); color: rgba(237,235,229,.45); }
.foot nav a { display: block; width: fit-content; padding: 5px 0; font-size: 15px; color: rgba(237,235,229,.85); text-decoration: none; transition: color 160ms var(--ease); }
.foot nav a:hover { color: #fff; }
/* The big wordmark spans the content width exactly (landing.js fits it) and is never cropped. */
.foot-mark {
  margin-top: 88px; text-align: center; color: #F6F4EE; user-select: none;
  font: 300 calc((min(100vw, 1320px) - 64px) / 3.1)/1 var(--serif); font-variation-settings: "opsz" 144;
  letter-spacing: -0.035em;
}
.foot-mark span { display: inline-block; white-space: nowrap; line-height: .78; padding-bottom: .02em; }
.foot-mark em { font-style: italic; letter-spacing: -0.03em; padding-right: .04em; }
.foot-base {
  display: flex; justify-content: space-between; gap: 16px;
  margin-top: 40px;
  font-size: 13px; color: rgba(237,235,229,.5);
}



/* ---------- every course: shelves of folders ---------- */
.courses { padding: 120px 0 112px; background: var(--page); border-top: 1px solid var(--rule); }
.shelf-block + .shelf-block { margin-top: 104px; }
.shelf-top { display: grid; grid-template-columns: minmax(0, 1fr); column-gap: 24px; row-gap: 10px; align-items: baseline; padding-bottom: 22px; margin-bottom: 28px; border-bottom: 1px solid var(--rule-2); }
.shelf-top .shelf-name { grid-column: 1; grid-row: 1; }
.shelf-top .shelf-count { grid-column: 2; grid-row: 1; }
.shelf-top .shelf-blurb { grid-column: 1 / -1; grid-row: 2; }
.shelf-name { margin: 0; font: 360 34px/1.1 var(--serif); font-variation-settings: "opsz" 72; letter-spacing: -0.03em; white-space: nowrap; }
.shelf-name i { font-style: italic; }
.shelf-blurb { margin: 0; font-size: 16px; line-height: 1.55; color: var(--ink-2); max-width: 68ch; }
.shelf-count { font-size: 13px; color: var(--ink-3); font-variant-numeric: tabular-nums; white-space: nowrap; }
.shelf-note { margin: 24px 0 0; max-width: 760px; font-size: 13.5px; line-height: 1.55; color: var(--ink-3); }

.ccs { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.cfc { border: 0; font: inherit; color: var(--ink); text-align: left; cursor: pointer; padding: 22px 24px 20px; }
.cfc .folder { width: 64%; max-width: 210px; margin: 4px 0 22px; display: block; }
.cfc .folder-tab, .cfc .folder-face { display: block; }
.cfc-body { display: flex; flex-direction: column; gap: 6px; flex: 1; }
.cfc-title { font: 380 25px/1.1 var(--serif); font-variation-settings: "opsz" 72; letter-spacing: -0.025em; }
.cfc-title i { font-style: italic; }
.cfc-sub { font-size: 14.5px; line-height: 1.45; color: var(--ink-2); }
.cfc-foot { margin-top: auto; padding-top: 14px; display: flex; justify-content: space-between; align-items: center; gap: 12px; font-size: 13px; }
.cfc-st { display: inline-flex; align-items: center; gap: 7px; color: var(--ink-2); }
.cfc-st i { width: 7px; height: 7px; border-radius: 50%; background: rgba(29,28,26,.3); }
.cfc.st-open .cfc-st i { background: var(--c-count); }
.cfc.st-next .cfc-st i { background: var(--c-echo); }
.cfc-more { font-weight: 600; }
.cfc[aria-expanded="true"] { box-shadow: inset 0 0 0 2px var(--ink), var(--lift-2); transform: none; }
.cfc.st-planned .cover { filter: saturate(.85); }

/* the one live part of every cover breathes */
.cover .pulse { animation: pulse-glow 2.8s ease-in-out infinite; transform-box: fill-box; transform-origin: center; }
@keyframes pulse-glow { 0%, 100% { opacity: 1; } 50% { opacity: .45; } }
@keyframes pulse-dot { 0%, 100% { box-shadow: 0 0 0 0 rgba(255,90,31,.45); } 50% { box-shadow: 0 0 0 5px rgba(255,90,31,0); } }

/* folders arrive one after another when the shelf scrolls in */
.js-reveal .cfc { opacity: 0; transform: translateY(14px); }
.js-reveal .shelf-block.in .cfc { opacity: 1; transform: none; transition: opacity 420ms var(--ease-in) calc(var(--k) * 70ms), transform 420ms var(--ease-in) calc(var(--k) * 70ms), box-shadow 200ms var(--ease); }

/* the open course, under its shelf */
.cdetail {
  position: relative; margin-top: 24px; padding: 32px 36px 28px; border-radius: 16px;
  background: var(--sheet); box-shadow: var(--lift-2), 0 0 0 1px var(--rule);
  animation: fadein 260ms var(--ease-in); scroll-margin-top: 88px;
}
.cd-head { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 48px; padding-bottom: 28px; border-bottom: 1px solid var(--rule); }
.cd-st { display: flex; align-items: center; gap: 8px; margin: 0 0 12px; font-size: 13px; color: var(--ink-3); font-variant-numeric: tabular-nums; }
.cd-st i { width: 7px; height: 7px; border-radius: 50%; background: var(--ink-3); }
.cd-st.st-open i { background: var(--c-count); }
.cd-st.st-next i { background: var(--c-echo); }
.cd-title { margin: 0; font: 360 42px/1.05 var(--serif); font-variation-settings: "opsz" 144; letter-spacing: -0.03em; }
.cd-title i { font-style: italic; }
.cd-pitch { margin: 14px 0 0; font-size: 17px; line-height: 1.5; color: var(--ink-2); max-width: 46ch; }
.cd-go { margin-top: 22px; }
.cd-soon { margin: 20px 0 0; font-size: 14px; color: var(--ink-3); }
.cd-facts { margin: 4px 40px 0 0; display: grid; gap: 16px; align-content: start; }
.cd-facts dt { font-size: 12.5px; font-weight: 500; color: var(--ink-3); margin-bottom: 3px; }
.cd-facts dd { margin: 0; font-size: 15px; line-height: 1.55; color: var(--ink); }
.cd-close {
  position: absolute; top: 14px; right: 14px; width: 34px; height: 34px; border: 0; border-radius: 9px; cursor: pointer;
  background: transparent; color: var(--ink-3); font-size: 22px; line-height: 1;
  transition: background-color 160ms var(--ease), color 160ms var(--ease);
}
.cd-close:hover { background: var(--sheet-2); color: var(--ink); }
.cd-units { padding-top: 6px; }
.cd-track { display: flex; align-items: baseline; gap: 10px; margin: 30px 0 14px; font: 380 22px/1.2 var(--serif); font-variation-settings: "opsz" 72; letter-spacing: -0.02em; }
.cd-track small { font: 400 13px var(--sans); color: var(--ink-3); }

/* ---------- route map: units as stations on a snaking line ---------- */
.route-host { margin-top: 8px; }
.route { position: relative; padding: 6px 0; }
.route-line { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; overflow: visible; }
.route-line path { fill: none; stroke: rgba(29,28,26,.2); stroke-width: 2.5; stroke-linecap: round; stroke-linejoin: round; }
.route-line .route-done { stroke: var(--c-echo); stroke-width: 2.5; stroke-dasharray: none; }
.stations { --cols: 4; position: relative; list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(var(--cols), minmax(0, 1fr)); column-gap: 28px; row-gap: 0; }
.stn { padding: 14px 0; }
.stn-btn {
  position: relative; width: 100%; height: 100%; display: flex; flex-direction: column; gap: 6px; text-align: left; cursor: pointer;
  padding: 14px 16px 14px; border: 0; border-radius: 12px; font: inherit; color: var(--ink);
  background: var(--sheet); box-shadow: 0 0 0 1px var(--rule), var(--lift-1);
  transition: transform 200ms var(--ease), box-shadow 200ms var(--ease), background-color 200ms var(--ease);
}
.stn-btn:hover { transform: translateY(-2px); box-shadow: 0 0 0 1px var(--rule-2), var(--lift-2); }
.stn.on .stn-btn { box-shadow: 0 0 0 2px var(--ink), var(--lift-2); }
.stn-top { display: flex; justify-content: space-between; align-items: center; }
.stn-no { font: 360 22px/1 var(--serif); font-variation-settings: "opsz" 72; letter-spacing: -0.02em; color: var(--ink-3); font-variant-numeric: tabular-nums; }
.stn-led { width: 9px; height: 9px; border-radius: 50%; background: transparent; box-shadow: inset 0 0 0 1.5px rgba(29,28,26,.28); }
.stn-t { font: 500 15.5px/1.3 var(--sans); letter-spacing: -0.01em; }
.stn-b { font-size: 13px; line-height: 1.4; color: var(--ink-2); }
.stn-st { margin-top: auto; padding-top: 4px; font-size: 12px; color: var(--ink-3); }
.stn.st-built .stn-led { background: var(--ink); box-shadow: none; }
.stn.st-built .stn-no { color: var(--ink); }
.stn.st-open .stn-led { background: var(--c-echo); box-shadow: none; }
.stn.st-open .stn-no { color: var(--ink); }
.stn.st-open .stn-btn { box-shadow: 0 0 0 1px rgba(255,90,31,.35), var(--lift-1); animation: pulse-card 2.8s ease-in-out infinite; }
.stn.st-open.on .stn-btn { animation: none; box-shadow: 0 0 0 2px var(--ink), var(--lift-2); }
.stn.st-open .stn-st { color: #B8460F; font-weight: 500; }
.stn.st-soon .stn-btn { background: #F9F8F4; box-shadow: 0 0 0 1px var(--rule); }
.stn.st-soon .stn-t { color: var(--ink-2); }
@keyframes pulse-card { 0%, 100% { box-shadow: 0 0 0 1px rgba(255,90,31,.35), 0 0 0 0 rgba(255,90,31,.16), var(--lift-1); } 50% { box-shadow: 0 0 0 1px rgba(255,90,31,.5), 0 0 0 7px rgba(255,90,31,0), var(--lift-1); } }

/* it emerges: the line draws, then stations arrive in order */
.js-reveal .route .route-line path { stroke-dashoffset: 0; }
.js-reveal .route:not(.in) .route-line { opacity: 0; }
.js-reveal .route.in .route-line { animation: line-in 900ms var(--ease-in) both; }
@keyframes line-in { from { clip-path: inset(0 0 100% 0); } to { clip-path: inset(0 0 0 0); } }
.js-reveal .route:not(.in) .stn { opacity: 0; transform: translateY(10px) scale(.98); }
.js-reveal .route.in .stn { opacity: 1; transform: none; transition: opacity 380ms var(--ease-in) calc(var(--i) * 55ms), transform 380ms var(--ease-in) calc(var(--i) * 55ms); }

/* a station opens in place, across its row */
.stn-more-row { grid-column: 1 / -1; list-style: none; padding: 4px 0 14px; }
.stn-more {
  position: relative; display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr) 230px; gap: 32px; align-items: center;
  padding: 24px 26px; border-radius: 14px; background: #FFFEFB; box-shadow: 0 0 0 1px var(--rule-2), var(--lift-2);
  animation: open-in 320ms var(--ease-in);
}
@keyframes open-in { from { opacity: 0; transform: translateY(-6px); } }
.sm-k { margin: 0 0 6px; font-size: 12.5px; color: var(--ink-3); }
.sm-t { margin: 0; font: 380 26px/1.15 var(--serif); font-variation-settings: "opsz" 72; letter-spacing: -0.02em; }
.sm-idea { margin: 10px 0 0; font-size: 16px; line-height: 1.55; color: var(--ink-2); }
.sm-build { margin: 14px 0 0; font-size: 15px; line-height: 1.5; }
.sm-build span { display: block; font-size: 12px; color: var(--ink-3); margin-bottom: 2px; }
.sm-go { margin-top: 18px; }
.sm-soon { margin: 16px 0 0; font-size: 13.5px; color: var(--ink-3); }
.sm-jobs ol { list-style: none; margin: 0; padding: 0; display: grid; gap: 6px; }
.sm-jobs li {
  display: grid; grid-template-columns: 26px 1fr auto; gap: 8px; align-items: baseline; padding: 8px 12px; border-radius: 9px;
  background: var(--sheet-2); font-size: 14px; box-shadow: inset 0 0 0 1px var(--rule);
  animation: open-in 320ms var(--ease-in) both; animation-delay: calc(var(--k) * 45ms);
}
.sm-jobs li span { font: 500 11.5px var(--mono); color: var(--ink-3); }
.sm-jobs li small { font-size: 12px; color: var(--ink-3); }
.sm-paper { /* a small slip of paper, pinned at an angle */
  position: relative; padding: 18px 16px 16px; border-radius: 3px; background: #FBF8F0;
  box-shadow: 0 1px 2px rgba(60,48,30,.14), 0 8px 18px -6px rgba(60,48,30,.25); transform: rotate(1.6deg);
  background-image: repeating-linear-gradient(transparent 0 19px, rgba(29,28,26,.06) 19px 20px);
}
.sm-paper::before { content: ""; position: absolute; top: -5px; left: 50%; width: 34px; height: 12px; margin-left: -17px; background: rgba(240,226,184,.85); transform: rotate(-3deg); }
.sm-paper small { display: block; font-size: 11.5px; color: var(--ink-3); margin-bottom: 6px; }
.sm-paper b { font: 400 16px/1.35 var(--serif); font-variation-settings: "opsz" 36; }

@media (max-width: 1180px) {
  .ccs { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .stations { --cols: 3; }
  .stn-more { grid-template-columns: 1fr 1fr; }
  .sm-paper { grid-column: 1 / -1; max-width: 320px; }
}
@media (max-width: 720px) {
  .courses { padding: 80px 0; }
  .ccs { grid-template-columns: 1fr; }
  .cdetail { padding: 24px 18px 16px; }
  .cd-head { grid-template-columns: 1fr; gap: 24px; }
  .cd-facts { margin-right: 0; }
  .cd-title { font-size: 32px; }
  .stations { --cols: 2; column-gap: 14px; }
  .stn-more { grid-template-columns: 1fr; padding: 18px; }
}
@media (max-width: 340px) { .stations { --cols: 1; } }
@media (prefers-reduced-motion: reduce) {
  .cover .pulse, .stn.st-open .stn-btn, .stn.st-open .stn-led, .cfc.st-next .cfc-st i { animation: none; }
}

/* The pinned notice and the screen sit beside the headline only when there's room. */
@media (max-width: 1300px) {
  .notice, .final-screen { display: none; }
}
@media (max-width: 1180px) {
  /* Not enough room beside the copy: keep the two top objects, tucked half off the edges. */
  .art-part, .art-paper { top: 14%; }
  .art-part { left: -96px; }
  .art-paper { right: -120px; }
  .art-echo, .art-trace { display: none; }
  .folders { grid-template-columns: 1fr 1fr; }
  .fc-light { grid-column: 1 / -1; display: grid; grid-template-columns: 260px 1fr; column-gap: 36px; }
  .fc-light .folder { width: 100%; grid-row: span 2; }
  .tickets { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .desk { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .unit { grid-template-columns: 44px 1fr 1.4fr 1fr; }
  .u-mod { display: none; }
}
@media (max-width: 980px) {
  .hero { padding-top: 96px; min-height: 0; }
  .artefacts { position: relative; inset: auto; height: 470px; margin-top: 56px; }
  .art-part, .art-paper { display: none; }
  .art-echo { left: 50%; top: 0; margin-left: -150px; width: 300px; }
  .art-trace { left: 50%; right: auto; top: 270px; margin-left: 40px; width: 230px; }
  .demo-grid, .sec-head-split, .faq-grid { grid-template-columns: minmax(0, 1fr); gap: 40px; }
  .sec-head-split { gap: 0; }
  .faq-side { position: static; }
  .terms { grid-template-columns: 1fr; gap: 16px; }
  .notice, .final-screen { display: none; }
  .foot-top { grid-template-columns: 1fr; gap: 40px; }
  .foot-links { grid-template-columns: repeat(3, minmax(0, 1fr)); column-gap: 32px; }
}
@media (max-width: 720px) {
  body { font-size: 17px; }
  .wrap { padding: 0 20px; }
  .nav-in { padding: 0 16px 0 20px; gap: 12px; height: 58px; }
  .wordmark { font-size: 19px; margin-right: auto; }
  .hero { padding: 72px 20px 72px; }
  .chip-row { margin-bottom: 22px; }
  .hero-h { font-size: clamp(40px, 11.4vw, 60px); line-height: 1.0; }
  .hero-h br { display: none; }
  .hero-sub { font-size: 17px; margin-top: 22px; }
  .hero-cta { flex-direction: column; gap: 18px; }
  .artefacts { height: 520px; margin-top: 48px; }
  .art-echo { width: 290px; margin-left: -150px; }
  .art-trace { margin-left: -100px; top: 330px; }
  .demo, .how, .course, .keep, .pricing, .faq { padding: 80px 0; }
  .sec-head { margin-bottom: 36px; }
  .sec-lede { font-size: 17px; }
  .echo-big { padding: 12px; }
  .screen-big { min-height: 132px; padding: 14px 14px 12px; }
  .screen-line { font-size: 21px; }
  .echo-controls { flex-wrap: wrap; }
  .echo-input { flex: 1 0 100%; }
  .echo-controls .k { flex: 1; padding: 0 10px; }
  .printout { margin: -10px 10px 0; padding: 26px 14px 18px; }
  .po-row { grid-template-columns: 92px 1fr 30px 40px; gap: 8px; }
  .po-head { flex-direction: column; gap: 6px; }
  .loop { grid-template-columns: 1fr; }
  .mini { height: auto; min-height: 250px; padding: 18px; }
  .mini-build, .mini-trace, .mini-keep { grid-template-columns: 1fr; }
  .mb-run { flex-direction: row; justify-content: space-between; align-items: center; }
  .review { height: 150px; }
  .ramp { grid-template-columns: 1fr; padding: 14px 14px 20px; gap: 16px; }
  .ramp-cover { max-width: 200px; }
  .folders { grid-template-columns: 1fr; }
  .fc-light { display: flex; }
  .folder { width: 66%; }
  .outline-head { flex-direction: column; align-items: stretch; }
  .seg { overflow-x: auto; }
  .seg button { flex: none; padding: 9px 12px; }
  .unit { grid-template-columns: 36px 1fr; gap: 6px 12px; padding: 16px 0; }
  .u-idea, .u-build { grid-column: 2; }
  .desk { grid-template-columns: 1fr 1fr; padding: 32px 18px 0; gap: 18px; }
  .obj > :first-child { height: 160px; }
  .obj-port { grid-column: 1 / -1; max-width: 260px; justify-self: center; }
  .tickets { grid-template-columns: 1fr; gap: 16px; }
  .t-year { transform: none; }
  .t-year:hover { transform: translateY(-4px); }
  .final { padding: 140px 20px 100px; }
  .foot-in { padding: 0 20px 24px; }
  .foot-top { padding-top: 44px; }
  .foot-links { grid-template-columns: 1fr 1fr; row-gap: 28px; }
  .foot-mark { margin-top: 56px; font-size: calc((100vw - 40px) / 3.1); }
  .foot-base { flex-direction: column; gap: 6px; }
  .facts dd { font-size: 28px; }
}

@media (prefers-reduced-motion: reduce) {
  .art, .notice, .final-screen, .mq-track, .rot-caret { animation: none; }
  .cursor, .mb-caret { animation: none; }
  .lamp.talking { animation: none; }
  .po-bar i, .screen-line .ew.fresh, .units.swap { animation: none; }
  * { transition-duration: 1ms !important; }
}

/* folder card footer link */
.fc-foot { display: flex; justify-content: space-between; align-items: center; gap: 12px; flex-wrap: wrap; }
.fc-open { font-size: 15px; font-weight: 600; text-decoration: none; color: var(--ink); display: inline-flex; align-items: center; gap: 8px; }
.fc-open::after { content: ""; width: 7px; height: 7px; border: solid currentColor; border-width: 1.6px 1.6px 0 0; transform: rotate(45deg); transition: transform 160ms var(--ease); }
.folder-card:hover .fc-open::after { transform: translateX(3px) rotate(45deg); }

.mw-step { position: absolute; left: 26px; bottom: 22px; font: 500 12px/1 var(--sans); color: var(--ink-3); font-variant-numeric: tabular-nums; }
.mw-step i { display: inline-block; width: 80px; height: 3px; border-radius: 2px; background: rgba(29,28,26,.10); margin-left: 10px; vertical-align: 3px; overflow: hidden; position: relative; }
.mw-step i b { position: absolute; inset: 0; width: var(--p, 0%); background: var(--ink-2); border-radius: 2px; transition: width 300ms var(--ease); }

@media (max-width: 980px) {
  .sec-head-split .sec-lede { margin-top: 18px; }
}
@media (max-width: 720px) {
  .mb-code { font-size: 11px; padding: 10px 12px; }
  .mt-editor { font-size: 11px; }
  .mt-vars { grid-template-columns: 1fr 1fr; }
  .mt-v:last-child { grid-column: 1 / -1; }
  .desk {
    display: flex; overflow-x: auto; scroll-snap-type: x mandatory; gap: 22px;
    padding: 36px 22px 0; margin: 0 -20px; border-radius: 0;
    scrollbar-width: none;
  }
  .desk::-webkit-scrollbar { display: none; }
  .obj { flex: 0 0 236px; scroll-snap-align: center; }
  .obj-port { max-width: none; }
  .obj > :first-child { height: 200px; }
}


/* ================= the papers you'll rebuild: a shelf ================= */
.shelf-sec { background: var(--page); padding: 104px 0 96px; overflow: hidden; }
.shelf-head { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: end; margin-bottom: 40px; }
.shelf-h { margin: 0; font-size: clamp(34px, 3.8vw, 52px); }
.shelf-sub { margin: 0; font-size: 17px; line-height: 1.55; color: var(--ink-2); max-width: 46ch; justify-self: end; }
.shelf { position: relative; max-width: 1240px; margin: 0 auto; padding: 0 24px; }
.shelf-row { list-style: none; margin: 0; padding: 70px 0 0; display: flex; align-items: flex-end; justify-content: center; }
.pp { position: relative; flex: 0 0 auto; margin: 0 2px; z-index: 1; }
.pp:hover, .pp:focus-within { z-index: 5; }
.pp-sheet {
  display: flex; flex-direction: column; width: 142px; height: var(--h); padding: 14px 13px 12px; border-radius: 3px 3px 2px 2px;
  background: var(--c); color: var(--ink); text-decoration: none; transform-origin: 50% 100%;
  transform: rotate(var(--r));
  /* paper: a faint grain, a crisp edge, light from the top left */
  background-image: radial-gradient(rgba(29,28,26,.06) .6px, transparent .8px), linear-gradient(180deg, rgba(255,255,255,.35), rgba(255,255,255,0) 40%);
  background-size: 3px 3px, 100% 100%;
  box-shadow: inset 0 0 0 1px rgba(29,28,26,.10), 1px 0 0 rgba(29,28,26,.06), 0 1px 1px rgba(60,48,30,.08), 0 6px 14px rgba(60,48,30,.10), 0 18px 30px -12px rgba(60,48,30,.25);
  transition: transform 260ms var(--ease), box-shadow 260ms var(--ease);
}
.pp:hover .pp-sheet, .pp-sheet:focus-visible { transform: rotate(0deg) translateY(-18px) scale(1.06); box-shadow: inset 0 0 0 1px rgba(29,28,26,.12), 0 2px 4px rgba(60,48,30,.08), 0 14px 26px rgba(60,48,30,.14), 0 34px 50px -16px rgba(60,48,30,.32); }
.pp-top { display: flex; justify-content: space-between; align-items: center; font: 500 10.5px var(--mono); font-variant-numeric: tabular-nums; color: rgba(29,28,26,.62); }
.pp-arx { font: 700 8.5px/1 var(--sans); color: #fff; background: #B31B1B; padding: 3px 4px; border-radius: 2px; letter-spacing: .02em; }
.pp-title { margin-top: 12px; font: 420 13.5px/1.18 var(--serif); font-variation-settings: "opsz" 24; letter-spacing: -0.01em; text-wrap: balance; }
.pp-auth { margin-top: 7px; font-size: 9.5px; line-height: 1.3; color: rgba(29,28,26,.58); }
.pp-fig { margin-top: auto; padding-top: 10px; border-top: 1px solid rgba(29,28,26,.14); min-height: 0; flex-shrink: 1; display: flex; }
.pp-fig svg { display: block; width: 100%; height: auto; max-height: 100%; }
.pp-sheet { overflow: hidden; }   /* nothing on a paper may spill past its edge */
.pp-tag {
  position: absolute; left: 50%; bottom: calc(var(--h) + 14px); translate: -50% 6px; width: max-content; max-width: 200px;
  padding: 7px 11px; border-radius: 9px; background: var(--ink); color: #F4F1EA; font-size: 13px; line-height: 1.3; text-align: center;
  opacity: 0; pointer-events: none; transition: opacity 180ms var(--ease), translate 220ms var(--ease);
}
.pp-tag b { display: block; font-weight: 700; color: #FFB08C; font-size: 12px; }
.pp:hover .pp-tag, .pp:focus-within .pp-tag { opacity: 1; translate: -50% -14px; }
.ledge {
  position: relative; height: 16px; margin: -2px 0 0; border-radius: 3px;
  background: linear-gradient(180deg, #E4DED2 0%, #D6CFC1 55%, #C9C1B1 100%);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.7), 0 1px 0 rgba(60,48,30,.12), 0 14px 22px -10px rgba(60,48,30,.35);
}
@media (max-width: 1100px) {
  .shelf-head { grid-template-columns: 1fr; gap: 14px; }
  .shelf-sub { justify-self: start; }
  .shelf-row { justify-content: flex-start; overflow-x: auto; padding: 70px 24px 0; margin: 0 -24px; scrollbar-width: none; scroll-snap-type: x proximity; }
  .shelf-row::-webkit-scrollbar { display: none; }
  .pp { scroll-snap-align: center; margin: 0 -4px; }
}
@media (prefers-reduced-motion: reduce) { .pp-sheet, .pp-tag { transition: none; } }

.key-signal { color: #fff; background: linear-gradient(#FF7444, #F24F14); box-shadow: inset 0 -3px 0 #B8380B, inset 0 1px 0 rgba(255, 255, 255, .35), 0 2px 8px rgba(242, 79, 20, .35); }
.key-signal:hover { filter: brightness(1.05); }


/* the unit's own picture: the course machine's screen typing what you'll build,
   and the course folder with the source paper pinned across it */
.sm-screen {
  border-radius: 16px; padding: 12px 14px 14px;
  background: linear-gradient(170deg, #E4E1DA 0%, #D6D2CA 55%, #CBC7BE 100%);
  box-shadow: var(--lift-2), inset 0 1px 0 rgba(255,255,255,.7), inset 0 -2px 0 rgba(0,0,0,.08), 0 0 0 1px rgba(60,48,30,.12);
}
.sm-dev { display: flex; align-items: center; gap: 10px; margin-bottom: 10px; }
.sm-dev .grill { width: 34px; height: 18px; border-radius: 4px; background-image: radial-gradient(circle, rgba(40,34,26,.55) 1.3px, transparent 1.7px); background-size: 6px 6px; opacity: .7; }
.sm-dev b { font: 700 11.5px var(--sans); letter-spacing: .28em; color: #4A463F; }
.sm-dev small { font-size: 11.5px; color: #7A756C; }
.sm-lamp { margin-left: auto; width: 14px; height: 14px; border-radius: 50%; background: #8E5A33; box-shadow: inset 0 1px 2px rgba(0,0,0,.3); animation: sm-lamp 2.6s ease-in-out infinite; }
.sm-lamp.open, .sm-lamp.built { background: #FF6A2B; }
@keyframes sm-lamp { 50% { box-shadow: inset 0 1px 2px rgba(0,0,0,.3), 0 0 10px rgba(255,90,31,.6); } }
.sm-scr {
  position: relative; min-height: 96px; padding: 12px 14px; border-radius: 9px; background: var(--screen);
  box-shadow: inset 0 2px 8px rgba(0,0,0,.75), 0 1px 0 rgba(255,255,255,.55); overflow: hidden;
  font: 800 17px/1.3 var(--dot); color: var(--c-echo); text-shadow: 0 0 8px rgba(255,90,31,.45);
}
.sm-scr::after { content: ""; position: absolute; inset: 0; pointer-events: none; background: repeating-linear-gradient(transparent 0 2px, rgba(255,255,255,.025) 2px 3px); }
.sm-type { display: inline; }
.sm-caret { display: inline-block; width: .5em; height: .95em; margin-left: 3px; vertical-align: -2px; background: var(--c-echo); animation: caret 1s steps(1) infinite; }
/* the line types itself in when the unit opens */
.js-reveal .sm-type { display: inline-block; max-width: 100%; clip-path: inset(0 100% 0 0); animation: sm-type calc(var(--n) * 28ms + 200ms) steps(40) 200ms forwards; }
@keyframes sm-type { to { clip-path: inset(0 0 0 0); } }
.sm-art { position: relative; height: 230px; }
.sm-folder { position: absolute; right: 18px; top: 0; width: 150px; max-width: none; margin: 0; display: block; transform: rotate(-3deg); }
.sm-folder .folder-tab, .sm-folder .folder-face { display: block; }
.sm-art .sm-paper { position: absolute; left: 0; right: 30px; bottom: 6px; transform: rotate(2deg); }
.sm-art .cover .pulse { animation: pulse-glow 2.8s ease-in-out infinite; }
@media (max-width: 1180px) { .sm-art { height: 210px; max-width: 320px; } }
@media (max-width: 720px) { .sm-art { height: 200px; } }
@media (prefers-reduced-motion: reduce) { .sm-lamp, .sm-caret, .sm-art .cover .pulse { animation: none; } .js-reveal .sm-type { animation: none; clip-path: none; } }

/* ================= phones: every section, properly ================= */
html, body { overflow-x: clip; }
pre.code { overflow-x: auto; scrollbar-width: none; }
pre.code::-webkit-scrollbar { display: none; }
@media (max-width: 980px) {
  /* the hero keeps one real object: Echo, under the buttons */
  .hero { min-height: 0; padding-bottom: 56px; }
  .hero .art-echo {
    display: block !important; position: relative; left: auto; top: auto; right: auto;
    width: min(330px, 86vw); margin: 40px auto 0; z-index: 2;
  }
  .hero .artefacts { position: static; }
}
@media (max-width: 720px) {
  /* courses: compact cards, folder on the left */
  .ccs { gap: 12px; }
  .cfc { display: grid !important; grid-template-columns: 92px 1fr; gap: 16px; align-items: center; padding: 16px 18px 16px 16px; border-radius: 16px; }
  .cfc .folder { width: 92px; margin: 0; }
  .cfc .folder-tab { right: -8px; top: 12px; width: 14px; height: 52px; }
  .cfc-title { font-size: 21px; }
  .cfc-sub { font-size: 13.5px; }
  .cfc-foot { padding-top: 8px; flex-wrap: wrap; gap: 4px 12px; font-size: 12.5px; }
  .shelf-top { gap: 6px 16px; }
  .shelf-name { font-size: 28px; }
  .stn-btn { padding: 12px 14px; }
  .sm-art { display: none; }
}

/* plain words where pills and dots used to be */
.hero-kicker { margin: 0 0 22px; font-size: 15px; color: var(--ink-2); }
.fc-meta { font-size: 13px; color: var(--ink-3); }
.ramp .fc-meta { white-space: nowrap; }

/* ---------------- pricing: four plans side by side, least to most commitment ---------------- */
.pc { max-width: 1160px; margin: 56px auto 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; align-items: stretch; }
.pc-card {
  position: relative; display: flex; flex-direction: column; padding: 58px 28px 28px; border-radius: 24px; text-align: left;
  background: var(--sheet); box-shadow: var(--lift-1), 0 0 0 1px var(--rule); overflow: hidden;
}
.pc-card h3 { margin: 0; font: 500 22px/1.2 var(--sans); letter-spacing: -0.02em; color: var(--ink); }
.pc-for { margin: 8px 0 0; min-height: 3em; font-size: 15px; line-height: 1.5; color: var(--ink-2); }
.pc-price { display: flex; align-items: baseline; gap: 8px; margin-top: 28px; }
.pc-price b { font: 500 48px/1 var(--sans); letter-spacing: -0.05em; color: #232220; font-variant-numeric: tabular-nums; }
.pc-price span { font-size: 15px; color: var(--ink-2); }
.pc-bill { margin: 10px 0 28px; min-height: 2.9em; font-size: 14px; line-height: 1.45; color: var(--ink-3); }
.pc-go { margin-top: auto; width: 100%; height: 48px; justify-content: center; font-size: 15px; }

.pc-best { box-shadow: var(--lift-3), 0 0 0 2px var(--ink); }
.pc-flag { position: absolute; top: 0; left: 0; right: 0; margin: 0; padding: 8px 0; text-align: center; font: 600 12.5px var(--sans); color: var(--sheet); background: var(--ink); }

.pc-life { color: #F3EEE3; background: radial-gradient(130% 90% at 15% 0%, #2A3A5E 0%, #16223B 55%, #0F1A30 100%); box-shadow: var(--lift-2), inset 0 1px 0 rgba(255,255,255,.14); }
.pc-life > *:not(.guilloche) { position: relative; }
.pc-life .guilloche { opacity: .16; }
.pc-life h3 { color: #F3EEE3; font-family: var(--serif); font-weight: 400; font-style: italic; font-size: 24px; color: #E4C68F; }
.pc-life .pc-for { color: rgba(243,238,227,.72); }
.pc-life .pc-price b { color: #F3EEE3; font-family: var(--serif); font-weight: 330; font-variation-settings: "opsz" 144; }
.pc-life .pc-price span, .pc-life .pc-bill { color: rgba(243,238,227,.6); }
.pc-go-light { color: var(--ink); background: linear-gradient(#F7F5F0, #E9E6DF); box-shadow: inset 0 -3px 0 rgba(0,0,0,.2), inset 0 1px 0 rgba(255,255,255,.9), 0 1px 2px rgba(0,0,0,.3); }

.pc-all { max-width: 1160px; margin: 20px auto 0; padding: 28px 32px; border-radius: 24px; background: var(--sheet); box-shadow: inset 0 0 0 1px var(--rule); }
.pc-all-h { margin: 0 0 18px; font-size: 15px; font-weight: 600; color: var(--ink); }
.pc-all ul { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 24px; }
.pc-all li { display: flex; gap: 10px; }
.pc-all svg { width: 16px; height: 16px; flex: none; margin-top: 3px; color: var(--c-count); }
.pc-all b { display: block; font-size: 15px; font-weight: 600; color: var(--ink); }
.pc-all li span { font-size: 14px; line-height: 1.5; color: var(--ink-2); }
.pc-fine { max-width: 720px; margin: 24px auto 0; text-align: center; font-size: 14px; line-height: 1.6; color: var(--ink-3); }

@media (max-width: 1080px) {
  .pc { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .pc-all ul { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 620px) {
  .pc { grid-template-columns: 1fr; }
  .pc-best { order: -1; }
  .pc-all ul { grid-template-columns: 1fr; }
  .pc-for, .pc-bill { min-height: 0; }
  .pc-card { padding-top: 32px; }
  .pc-best { padding-top: 58px; }
}

/* ---------------- phones: tighter, calmer, shorter ---------------- */
.nav-burger b, .hs-short { display: none; }
@media (max-width: 720px) {
  /* header: logo, a compact action, and a labelled Menu pill */
  .nav-right { gap: 8px; }
  .nav-cta { height: 36px; padding: 0 14px; font-size: 14px; }
  .nav-burger { width: auto; height: 36px; padding: 0 12px 0 32px; border-radius: 10px; background: var(--sheet); box-shadow: inset 0 0 0 1px var(--rule), 0 1px 2px rgba(60,48,30,.06); }
  .nav-burger span { left: 11px; right: auto; width: 14px; }
  .nav-burger span:nth-of-type(1) { top: 14px; }
  .nav-burger span:nth-of-type(2) { top: 20px; }
  .nav-burger[aria-expanded="true"] span:nth-of-type(1), .nav-burger[aria-expanded="true"] span:nth-of-type(2) { top: 17px; }
  .nav-burger b { display: inline; font: 500 14px var(--sans); color: var(--ink); }

  /* hero: shorter copy, less air, no empty gap under it */
  .hero { min-height: 0; padding: 40px 20px 40px; }
  .hero-kicker { font-size: 13.5px; }
  .hs-more { display: none; }
  .hs-short { display: inline; }
  .hero-sub { font-size: 16.5px; margin-top: 18px; }
  .hero-cta { margin-top: 26px; gap: 14px; }
  .hero-note { margin-top: 14px; font-size: 13px; }
  .artefacts { height: 330px; margin-top: 28px; }
  .art-trace { display: none; }

  /* tracks: covers sized like objects, not posters */
  .folder { width: 46%; max-width: 190px; margin-bottom: 18px; }

  /* the unit route: two compact columns */
  .stations { --cols: 1; }
  .stn { padding: 4px 0; }
  .stn-btn { display: grid; grid-template-columns: 34px minmax(0, 1fr); column-gap: 10px; row-gap: 2px; align-items: baseline; padding: 12px 14px; border-radius: 12px; }
  .stn-top { grid-row: 1 / span 2; }
  .stn-top .stn-led { display: none; }
  .stn-no { font-size: 18px; }
  .stn-t { grid-column: 2; font-size: 15px; }
  .stn-b { display: none; }
  .stn-st { grid-column: 2; margin: 0; padding: 0; font-size: 12px; }
}
@media (max-width: 380px) { .nav-cta { display: none; } }

/* ---------------- phones, round 2 ---------------- */
@media (max-width: 720px) {
  /* the menu button: a two-line icon on the left, the word beside it */
  .nav-burger { display: inline-flex; align-items: center; position: relative; padding: 0 12px 0 34px; }
  .nav-burger span { position: absolute; left: 12px; right: auto; width: 14px; height: 1.6px; top: 50%; margin: 0; transition: transform 220ms var(--ease); }
  .nav-burger span:nth-of-type(1), .nav-burger span:nth-of-type(2) { top: calc(50% - .8px); }
  .nav-burger span:nth-of-type(1) { transform: translateY(-3px); }
  .nav-burger span:nth-of-type(2) { transform: translateY(3px); }
  .nav-burger[aria-expanded="true"] span:nth-of-type(1), .nav-burger[aria-expanded="true"] span:nth-of-type(2) { top: calc(50% - .8px); }
  .nav-burger[aria-expanded="true"] span:nth-of-type(1) { transform: rotate(45deg); }
  .nav-burger[aria-expanded="true"] span:nth-of-type(2) { transform: rotate(-45deg); }

  /* the menu sheet: three links, then the courses as a tidy list, then one action */
  .nav-sheet { padding: 8px 20px 28px; }
  .sheet-nav { display: grid; }
  .nav-sheet a.sheet-link { padding: 14px 2px; font: 500 20px/1.25 var(--sans); letter-spacing: -0.015em; }
  .sheet-h { margin: 26px 2px 4px; font-size: 13px; font-weight: 600; color: var(--ink-3); }
  .nav-sheet .mega-col { margin-top: 10px; }
  .nav-sheet .mega-k { margin: 14px 2px 4px; padding: 0; }
  .nav-sheet .mega-k b { font: 500 15px var(--sans); color: var(--ink); }
  .nav-sheet .mega-k b i { font-style: normal; }
  .nav-sheet .mega-item { padding: 8px 2px; gap: 12px; }
  .nav-sheet .mega-thumb { width: 30px; }
  .nav-sheet .mega-txt b { font-size: 15px; }
  .nav-sheet .mega-txt small { font-size: 12.5px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
  .sheet-foot { position: sticky; bottom: -28px; display: grid; gap: 10px; margin: 24px -20px -28px; padding: 16px 20px 24px; background: linear-gradient(transparent, var(--page) 22%); }
  .nav-sheet .sheet-foot .key { margin: 0; width: 100%; justify-content: center; }

  /* hero: the words first, then one framed product shot of Echo with its printout feeding out */
  .hero { display: flex; flex-direction: column; padding: 28px 20px 28px; }
  .hero-kicker { margin-bottom: 14px; }
  .hero-cta { flex-direction: row; justify-content: center; align-items: center; gap: 22px; margin-top: 24px; }
  .hero-note { display: none; }
  .hero .artefacts {
    position: relative; height: 290px; margin: 30px 0 0; overflow: hidden; border-radius: 24px;
    background: #EEEAE2 radial-gradient(rgba(29,28,26,.10) 1px, transparent 1.2px) 0 0 / 16px 16px;
    box-shadow: inset 0 0 0 1px rgba(29,28,26,.06), inset 0 -40px 40px -30px rgba(60,48,30,.10);
  }
  .hero .artefacts::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 56px; background: linear-gradient(transparent, #EEEAE2); pointer-events: none; }
  .hero .art-echo { position: absolute; left: 0; right: 0; top: 26px; margin: 0 auto; width: min(310px, 80vw); transform: none; animation: none; rotate: none; }
  .hero .art-echo .tape { margin: -8px 22px 0; padding: 18px 16px 12px; font-size: 11.5px; line-height: 1.6; }
  .hero-h br { display: block; }
}
/* phones: the code wraps instead of scrolling sideways, so line numbers and highlights always stay in view */
@media (max-width: 720px) {
  .code { overflow-x: hidden; font-size: 12px; }
  .code .ln { white-space: pre-wrap; overflow-wrap: anywhere; padding: 0 14px 0 38px; }
  .code .ln::before { width: 24px; }
}
@media (max-width: 720px) { .shelf-sec { padding-top: 48px; } .hero { padding-bottom: 24px; } }
/* phones: more air in the hero */
@media (max-width: 720px) {
  .nav-cta { display: none; }                       /* the hero already says Start building */
  .hero { padding: 48px 24px 40px; }
  .hero-kicker { font-size: 13px; margin-bottom: 18px; color: var(--ink-3); }
  .hero-h { font-size: clamp(44px, 12.4vw, 60px); line-height: 1.02; }
  .hero-sub { margin-top: 22px; font-size: 16.5px; line-height: 1.55; max-width: 32ch; margin-left: auto; margin-right: auto; }
  .hero-cta { margin-top: 32px; gap: 24px; }
  .hero .artefacts { height: 300px; margin-top: 48px; border-radius: 28px; }
  .hero .art-echo { top: 36px; width: min(286px, 74vw); }
  .shelf-sec { padding-top: 72px; }
}
/* phones: the Echo panel leads, the words follow */
@media (max-width: 720px) {
  .hero { padding-top: 20px; }
  .hero .artefacts { order: -1; margin: 0 0 40px; height: 280px; }
  .hero .art-echo { top: 30px; }
}

/* closing figure: Echo on the blueprint, drawn like a patent sheet, waiting for you */
.final { padding: 150px 24px 70px; }
.fe { position: relative; margin: 84px auto 0; width: min(980px, 100%); }
.fe-sheet { position: relative; display: grid; justify-items: center; padding: 10px 0 80px; }
.fe-tag { position: absolute; left: 50%; top: calc(100% + 54px); transform: translateX(-50%); white-space: nowrap; font: italic 400 15px var(--serif); color: rgba(237, 235, 229, .5); }
.fe-machine { position: relative; width: 440px; }
.fe-echo { z-index: 1; padding: 16px; border-radius: 22px; box-shadow: 0 2px 4px rgba(0,0,0,.25), 0 18px 40px rgba(0,0,0,.35), 0 40px 80px rgba(0,0,0,.25), inset 0 1px 0 rgba(255,255,255,.75), inset 0 -2px 0 rgba(0,0,0,.10), inset 0 0 0 1px rgba(0,0,0,.06); }
.fe-echo .echo-top { padding: 2px 6px 14px; gap: 14px; }
.fe-echo .engrave { font-size: 12px; }
.fe-echo .lamp { width: 18px; height: 18px; animation: feBreathe 4s ease-in-out infinite; }
@keyframes feBreathe { 50% { box-shadow: inset 0 1px 2px rgba(0,0,0,.5), 0 0 0 2px rgba(255,255,255,.5), 0 0 10px rgba(255,90,31,.35); } }
.fe-echo .lamp.on { animation: lamp 700ms ease-in-out infinite alternate; }
.fe-screen { min-height: 96px; display: flex; align-items: flex-end; padding: 16px 18px; font-size: 26px; line-height: 1.2; }
.fe-screen .doto { min-height: 1.2em; }
.fe-screen .cursor { width: 11px; height: 22px; vertical-align: -3px; }
.fe-shadow { position: absolute; left: 8%; right: 8%; bottom: -26px; height: 30px; border-radius: 50%; background: radial-gradient(closest-side, rgba(0,0,0,.45), transparent); filter: blur(4px); z-index: 0; }
/* patent-style callouts: a numbered label, a fine leader line, a dot where it touches the machine */
.co { position: absolute; top: var(--y); display: flex; align-items: center; gap: 8px; white-space: nowrap; font: 400 12px var(--mono); letter-spacing: .02em; color: rgba(237, 235, 229, .62); }
.co b { font-weight: 600; color: #F6F4EE; }
.co::after { content: ""; position: absolute; top: 50%; height: 1px; background: rgba(237, 235, 229, .5); mix-blend-mode: difference; }
.co::before { content: ""; position: absolute; top: calc(50% - 2.5px); width: 5px; height: 5px; border-radius: 50%; background: #F6F4EE; box-shadow: 0 0 0 3px rgba(246, 244, 238, .12); }
.co-l { right: calc(100% + 72px); flex-direction: row; }
.co-l::after { left: calc(100% + 10px); width: calc(62px + var(--in, 0px)); }
.co-l::before { left: calc(100% + 70px + var(--in, 0px)); }
.co-r { left: calc(100% + 72px); flex-direction: row; }
.co-r::after { right: calc(100% + 10px); width: calc(62px + var(--in, 0px)); }
.co-r::before { right: calc(100% + 70px + var(--in, 0px)); }
.co { z-index: 2; }
.fe-echo .k-dark { margin-left: auto; }
/* the callouts draw themselves in once the figure is on screen */
.fe .co { opacity: 0; transform: translateY(4px); transition: opacity .6s var(--ease), transform .6s var(--ease); }
.fe.seen .co { opacity: 1; transform: none; }
.fe.seen .co:nth-of-type(2) { transition-delay: .08s; } .fe.seen .co:nth-of-type(3) { transition-delay: .16s; }
.fe.seen .co:nth-of-type(4) { transition-delay: .24s; } .fe.seen .co:nth-of-type(5) { transition-delay: .32s; } .fe.seen .co:nth-of-type(6) { transition-delay: .4s; }
@media (max-width: 1100px) { .co { display: none; } }
@media (max-width: 720px) { .fe-tag { white-space: normal; width: 90%; text-align: center; font-size: 14px; } }
@media (max-width: 720px) { .final { padding: 100px 20px 90px; } .fe { margin-top: 56px; } .fe-machine { width: min(340px, 88vw); } .fe-screen { font-size: 20px; min-height: 78px; } }
@media (prefers-reduced-motion: reduce) { .fe-echo .lamp { animation: none; } .fe .co { transition: none; } }

/* the paper: a typeset first page, not a mock-up */
.art-paper { width: 286px; padding: 26px 24px 20px 30px; border-radius: 3px; background: #FFFEFA;
  box-shadow: 0 1px 1px rgba(60,48,30,.06), 0 10px 24px rgba(60,48,30,.10), 0 30px 60px rgba(60,48,30,.10), inset 0 0 0 1px rgba(29,28,26,.06); }
.pp-stamp { position: absolute; left: 9px; top: 26px; writing-mode: vertical-rl; transform: rotate(180deg); font: 8.5px/1 "Times New Roman", var(--serif); letter-spacing: .02em; color: #A8A49B; white-space: nowrap; }
.pp-title { font: 500 18.5px/1.15 var(--serif); font-variation-settings: "opsz" 36; letter-spacing: -0.015em; text-align: center; color: #1D1C1A; }
.pp-auth { margin-top: 7px; font: 9px/1.45 var(--serif); text-align: center; color: #6E6A62; }
.pp-abs-h { margin-top: 12px; font: 600 9.5px var(--serif); text-align: center; color: #1D1C1A; }
.pp-abs { margin: 5px 6px 0; font: 8.6px/1.5 var(--serif); text-align: justify; hyphens: auto; color: #3C3A36; }
.pp-abs mark { color: inherit; background: linear-gradient(transparent 55%, rgba(255,106,43,.28) 55%); padding: 0 1px; }
.pp-fig { margin: 14px 0 0; padding-top: 12px; border-top: 1px solid rgba(29,28,26,.08); }
.pp-fig figcaption { margin-top: 8px; font: 9px/1.3 var(--serif); text-align: center; color: #6E6A62; }
.pp-fig figcaption b { font-weight: 600; color: #3C3A36; }
.art-paper .heat { gap: 3px; }
.art-paper .heat .hc { height: 14px; border-radius: 2px; background: rgba(226, 74, 18, var(--a)); }
.art-paper .heat .hc.mask { background: none; box-shadow: inset 0 0 0 1px rgba(29,28,26,.05); }
.art-paper .heat .hl { height: 14px; font: 9px var(--mono); color: #6E6A62; }
.pp-note { position: absolute; right: -86px; bottom: 54px; display: flex; flex-direction: column; align-items: flex-start; color: #C2531E; transform: rotate(-4deg); }
.pp-note svg { width: 60px; height: 40px; margin-left: -6px; }
.pp-note span { margin-top: -4px; font: italic 400 17px/1.05 var(--serif); font-variation-settings: "opsz" 36; letter-spacing: -0.01em; }
.pp-note small { font-size: 12.5px; color: #97938B; font-style: normal; font-family: var(--sans); }
.pp-fig .heat { width: 100%; grid-template-columns: 36px repeat(6, minmax(0, 1fr)); }
.pp-fig { display: block; }
.pp-fig figcaption { display: block; width: 100%; }
.pp-note { right: auto; left: 46px; bottom: -64px; flex-direction: row; align-items: flex-end; gap: 6px; transform: rotate(-3deg); }
.pp-note svg { width: 44px; height: 34px; margin: 0 0 14px; transform: scaleY(-1) rotate(10deg); }
.pp-note svg { transform: none; margin: 0 0 6px; }
