/* Nudge landing — experiment/daylight.
   Tokens from the app (1.4.13): warm greys, one blue, black kept for the hands.
   Structure: full-bleed bands that alternate black / ink / paper, a floating
   centred nav card, and one easing for everything that travels. */

@font-face { font-family:'PP Fragment Sans'; font-weight:200; font-style:normal; font-display:swap;
  src:url('assets/fonts/PPFragment-SansExtraLight.woff2') format('woff2'); }
@font-face { font-family:'PP Fragment Sans'; font-weight:300; font-style:normal; font-display:swap;
  src:url('assets/fonts/PPFragment-SansLight.woff2') format('woff2'); }
@font-face { font-family:'PP Fragment Sans'; font-weight:400; font-style:normal; font-display:swap;
  src:url('assets/fonts/PPFragment-SansRegular.woff2') format('woff2'); }

:root {
  color-scheme: dark;
  /* the app's tokens */
  --bg:        hsl(40 3% 11%);
  --panel:     hsl(40 3% 15%);
  --fg:        hsl(48 33% 97%);
  --fg-mute:   hsl(40 5% 62%);
  --fg-faint:  hsl(40 4% 42%);
  --blue:      #2c3cbb;
  --blue-deep: #2332a5;
  --blue-ink:  rgb(122,142,255);
  /* paper: the app's text colour used as a ground, for the bright bands */
  --paper:      hsl(48 33% 97%);
  --ink:        hsl(40 3% 11%);
  --ink-mute:   hsl(40 3% 36%);
  --ink-faint:  hsl(40 3% 52%);

  --sans: 'PP Fragment Sans', -apple-system, BlinkMacSystemFont, system-ui, sans-serif;
  --mono: 'JetBrains Mono', ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;

  --ease: cubic-bezier(.16, 1, .3, 1);            /* everything that travels */
  --ease-drop: cubic-bezier(.16, 1.08, .38, .98); /* the nav arriving: a hair of overshoot */
  --gutter: clamp(16px, 3.5vw, 50px);
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { background: #000; color: var(--fg); font-family: var(--sans); font-weight: 300;
       font-size: 16px; line-height: 1.55; letter-spacing: -0.005em;
       -webkit-font-smoothing: antialiased; overflow-x: clip; }
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }
ol, ul { list-style: none; }
b { font-weight: 400; }
em { font-style: normal; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }
svg { flex: none; }
:focus-visible { outline: 1px solid var(--blue-ink); outline-offset: 2px; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); }

.wrap { width: 100%; max-width: 1340px; margin: 0 auto; padding: 0 var(--gutter); }
.wrap.narrow { max-width: 1000px; }
.center { text-align: center; }

/* ---------------------------------------------------------------- bands
   Each band sets its own text colours, so components inside just use them. */
.band-black, .band-ink, .band-paper, .band-blue { --c-fg: var(--fg); --c-mute: var(--fg-mute); --c-faint: var(--fg-faint);
  --c-line: rgba(255,250,240,.12); --c-accent: var(--blue-ink); color: var(--c-fg); position: relative; }
.band-black { background: #000; }
.band-ink   { background: var(--bg); }
.band-paper { background: var(--paper); --c-fg: var(--ink); --c-mute: var(--ink-mute);
  --c-faint: var(--ink-faint); --c-line: rgba(28,27,26,.14); --c-accent: var(--blue-deep); }
/* the one colour band, the way Daylight uses its yellow: flat, full bleed */
.band-blue  { background: var(--blue); --c-mute: rgba(255,250,240,.78); --c-faint: rgba(255,250,240,.58);
  --c-line: rgba(255,250,240,.24); --c-accent: var(--fg); }

/* ----------------------------------------------------------------- type */
.label { font-family: var(--mono); font-size: 11px; font-weight: 400; text-transform: uppercase;
         letter-spacing: .08em; color: var(--c-faint, var(--fg-faint)); margin-bottom: 18px; }
h1 { font-size: clamp(48px, 6.6vw, 100px); font-weight: 200; line-height: .98; letter-spacing: -0.04em; }
h2 { font-size: clamp(38px, 4.8vw, 70px); font-weight: 200; line-height: 1.02; letter-spacing: -0.035em; }
h3 { font-size: clamp(20px, 1.8vw, 26px); font-weight: 300; line-height: 1.15; letter-spacing: -0.02em; }
.lede { font-size: clamp(16px, 1.3vw, 18px); color: var(--c-mute); max-width: 44ch; margin-top: 22px; }
.sub { font-size: 17px; color: var(--c-mute); max-width: 48ch; margin-top: 18px; }
.center .sub, .center .lede { margin-left: auto; margin-right: auto; }
.meta { font-family: var(--mono); font-size: 11px; text-transform: uppercase; letter-spacing: .08em;
        color: var(--c-faint); margin-top: 18px; }
kbd { font-family: var(--mono); font-size: .82em; font-weight: 400; padding: 1px 6px; border-radius: 4px;
      border: .5px solid var(--c-line, rgba(255,250,240,.12)); background: color-mix(in srgb, currentColor 7%, transparent); }

/* -------------------------------------------------------------- buttons */
.acts { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 34px; }
.acts.center { justify-content: center; }
.btn { display: inline-flex; align-items: center; justify-content: center; height: 46px; padding: 0 22px;
       border-radius: 4px; font-size: 15px; font-weight: 400; white-space: nowrap;
       transition: background-color .2s var(--ease), border-color .2s var(--ease), color .2s var(--ease), opacity .2s; }
.btn.primary { color: #fff; background-color: var(--blue);
  background-image: linear-gradient(180deg, rgba(255,255,255,.08), rgba(0,0,0,.10));
  box-shadow: inset 0 1px 0 rgba(255,255,255,.14), 0 0 0 1px rgba(122,142,255,.35); }
.btn.primary:hover { background-color: #3444cc; }
.btn.line { border: 1px solid var(--c-line, rgba(255,250,240,.2)); color: var(--c-fg, var(--fg)); }
.btn.ink { background: var(--ink); color: var(--fg); }
.btn.ink:hover { background: #000; }
.btn.line:hover { background-color: color-mix(in srgb, currentColor 7%, transparent); }

/* ------------------------------------------------------------------ nav
   One card, centred, floating over everything. It drops in once. */
.nav { position: fixed; top: 22px; left: 0; right: 0; z-index: 100; pointer-events: none;
       animation: drop 1s var(--ease-drop) .15s both; }
@keyframes drop { from { transform: translateY(-150%); } }
.card { pointer-events: auto; width: fit-content; margin: 0 auto; background: var(--paper); color: var(--ink);
        border-radius: 8px; padding: 6px 6px 6px 16px; box-shadow: 0 1px 0 rgba(0,0,0,.04), 0 10px 30px rgba(0,0,0,.18); }
.bar { display: flex; align-items: center; gap: 28px; height: 45px; }
.mark { display: inline-flex; align-items: center; gap: 8px; font-size: 18px; letter-spacing: -0.02em; }
.mark svg { width: 22px; height: 22px; }
.mark b { font-weight: 400; }
.links { display: flex; gap: 24px; font-size: 14px; }
.links a { transition: opacity .2s; }
.links a:hover { opacity: .6; }
.links a[aria-current] { text-decoration: underline; text-underline-offset: 6px; text-decoration-thickness: 1px; }
.cta { display: inline-flex; align-items: center; height: 45px; padding: 0 22px; border-radius: 4px;
       background-color: var(--blue); color: #fff; font-size: 15px; font-weight: 400;
       box-shadow: inset 0 1px 0 rgba(255,255,255,.14); transition: background-color .2s var(--ease); }
.cta:hover { background-color: #3444cc; }
.toggle, .menu { display: none; }

/* On a phone the card spans the screen and opens in place: the + turns to
   an ×, the rows open, the links rise in one after another. */
@media (max-width: 820px) {
  .nav { top: 12px; left: 12px; right: 12px; }
  .card { width: 100%; padding: 6px 6px 6px 14px; }
  .bar { justify-content: space-between; height: 40px; }
  .links, .bar .cta { display: none; }
  .toggle { display: grid; place-items: center; width: 34px; height: 34px; border-radius: 4px;
            background: rgba(28,27,26,.06); color: var(--ink); }
  .toggle svg { width: 16px; height: 16px; transition: transform .35s var(--ease); }
  .nav.open .toggle svg { transform: rotate(45deg); }
  .menu { display: grid; grid-template-rows: 0fr; transition: grid-template-rows .35s var(--ease); }
  .nav.open .menu { grid-template-rows: 1fr; }
  .menu-in { min-height: 0; overflow: hidden; }
  .big { display: flex; flex-direction: column; gap: 2px; padding: 22px 2px 26px; }
  .big a { font-size: 30px; line-height: 1.2; letter-spacing: -0.03em; display: flex; justify-content: space-between; align-items: center; }
  .big a[aria-current]::after { content: ""; width: 6px; height: 6px; background: var(--ink); margin-right: 8px; }
  .big a, .menu-acts { opacity: 0; transform: translateY(10px);
    transition: opacity .3s var(--ease), transform .35s var(--ease); }
  .nav.open .big a, .nav.open .menu-acts { opacity: 1; transform: none;
    transition-delay: calc(var(--i) * 45ms + 80ms); }
  .menu-acts { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; padding: 0 0 2px; }
  .menu-acts .btn.line { --c-line: rgba(28,27,26,.16); --c-fg: var(--ink); }
}

/* --------------------------------------------------------------- reveal
   Things arrive once, as they come into view. Without JS they're just there. */
.js [data-reveal] { opacity: 0; transform: translateY(18px);
  transition: opacity .55s var(--ease), transform .65s var(--ease); }
.js [data-reveal].in { opacity: 1; transform: none; }

/* ----------------------------------------------------------------- media
   Pictures and placeholders keep their ratio so nothing shifts. */
.media { position: relative; aspect-ratio: var(--ratio, 4/3); border-radius: 10px; overflow: hidden;
         background: color-mix(in srgb, var(--c-fg, #fff) 6%, transparent); }
.media > img, .media > video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.slot { position: absolute; inset: 0; display: flex; flex-direction: column; gap: 8px; align-items: center;
        justify-content: center; text-align: center; padding: 24px; font-size: 14px; color: var(--c-mute, var(--fg-mute));
        border: 1px dashed var(--c-line, rgba(255,250,240,.14)); border-radius: inherit; }
.slot span { font-family: var(--mono); font-size: 10.5px; text-transform: uppercase; letter-spacing: .08em; color: var(--c-faint); }
.media.lift { margin-top: 64px; }
.media.on-pic .slot { inset: auto auto 12px 12px; padding: 10px 12px; max-width: calc(100% - 24px); border: 0;
  border-radius: 6px; background: rgba(10,10,10,.72); color: rgba(255,250,240,.82); font-size: 12.5px;
  align-items: flex-start; text-align: left; gap: 4px; --c-faint: rgba(255,250,240,.55); }

/* chevron ticks, drawn, not typed */
.ticks { display: grid; gap: 8px; margin-top: 16px; font-size: 14px; color: var(--c-mute); }
.ticks li { position: relative; padding-left: 18px; }
.ticks li::before { content: ""; position: absolute; left: 2px; top: .62em; width: 5px; height: 5px;
  border-top: 1.5px solid currentColor; border-right: 1.5px solid currentColor; transform: rotate(45deg); opacity: .7; }
.tag { font-family: var(--mono); font-size: 10px; text-transform: uppercase; letter-spacing: .08em;
       padding: 3px 8px; border-radius: 999px; border: .5px solid var(--c-line); color: var(--c-faint); vertical-align: middle; }

/* ================================================================ HOME */

/* 1 · hero: the hands across the whole screen; the copy sits in the empty
   corner they leave, ending just under the centre line where the gap is. */
.hero { min-height: max(100svh, 760px); overflow: hidden; }
.hero-hands { position: absolute; inset: 0; }
.hands { position: absolute; inset: 0; }
.hero-copy { position: absolute; left: 0; right: 0; top: max(128px, calc(50% - 250px)); z-index: 1; }
.hero .acts { margin-top: 36px; }
.hero .btn.line { background: #000; }

/* 2 · steps: three side by side, centred under the heading */
.steps-stage { padding: 140px 0 120px; }
.steps-head h2 { max-width: 14ch; }
.steps-head.center h2 { max-width: none; }
.band-blue .step .media { background: rgba(0,0,0,.18); }
.step .media > img { object-position: 50% 30%; }
.band-blue kbd { border-color: rgba(255,250,240,.4); }
.track { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 28px; margin: 64px auto 0;
         max-width: 1340px; padding: 0 var(--gutter); }
.step h3 { display: flex; gap: .3em; padding-bottom: 14px; border-bottom: 1px solid var(--c-line); position: relative; }
.step h3::after { content: ""; position: absolute; left: 0; bottom: -10px; width: 4px; height: 4px; background: currentColor; }
.step h3 span { color: var(--c-faint); }
.step .media { margin: 26px 0 16px; }
.step p { color: var(--c-mute); max-width: 40ch; }
@media (max-width: 1023px) { .track { grid-template-columns: 1fr; gap: 56px; max-width: 640px; } }

/* the demo, framed like a screen with a play mark */
.demo { padding: 150px 0 120px; }
.player { position: relative; margin-top: 64px; }
.media.screen { border-radius: 12px; outline: 1px solid rgba(255,250,240,.12); outline-offset: -1px; }
.play { position: absolute; left: 50%; top: 50%; width: 76px; height: 76px; margin: -38px 0 0 -38px; border-radius: 50%;
        display: grid; place-items: center; background: var(--paper); color: var(--ink); pointer-events: none;
        transition: transform .5s var(--ease); }
.play svg { width: 22px; height: 22px; margin-left: 3px; }
.player:hover .play { transform: scale(1.06); }
.player:has(video) .play { display: none; }
.player-cap { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; margin-top: 18px;
              font-family: var(--mono); font-size: 11px; text-transform: uppercase; letter-spacing: .08em; color: var(--c-faint); }

/* 4 · comparison */
.compare { padding: 150px 0 140px; }
.cmp { width: 100%; border-collapse: collapse; margin-top: 64px; font-size: 15px; }
.cmp th, .cmp td { text-align: left; padding: 18px 12px; border-bottom: 1px solid var(--c-line); vertical-align: top; }
.cmp thead th { font-family: var(--mono); font-size: 11px; font-weight: 400; text-transform: uppercase; letter-spacing: .08em;
                color: var(--c-faint); border-bottom-color: var(--c-fg); }
.cmp thead th.us { color: var(--c-accent); }
.cmp tbody th { font-family: var(--mono); font-size: 11px; font-weight: 400; text-transform: uppercase; letter-spacing: .08em;
                color: var(--c-faint); width: 26%; padding-top: 21px; }
.cmp td { color: var(--c-mute); width: 37%; }
.cmp td:last-child { color: var(--c-fg); }
@media (max-width: 640px) {
  .cmp, .cmp thead, .cmp tbody { display: block; }
  .cmp tr { display: grid; grid-template-columns: 1fr 1fr; border-bottom: 1px solid var(--c-line); }
  .cmp th, .cmp td { border: 0; width: auto; padding: 12px 8px 12px 0; }
  .cmp thead tr { border-bottom-color: var(--c-fg); }
  .cmp thead th:first-child { display: none; }
  .cmp tbody th { grid-column: 1 / -1; padding: 16px 0 0; }
}

/* 5 · the path, over the hands */
.path { min-height: max(100svh, 820px); overflow: hidden; display: flex; }
.path-hands { position: absolute; inset: 0; opacity: .85; }
.path-in { position: relative; display: flex; flex-direction: column; justify-content: space-between;
           padding-top: 150px; padding-bottom: 72px; gap: 64px; }
.path-cards { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.pcard { background: var(--paper); color: var(--ink); border-radius: 10px; padding: 22px 22px 26px;
         --c-faint: var(--ink-faint); --c-mute: var(--ink-mute); --c-line: rgba(28,27,26,.14); }
.pcard .label { margin-bottom: 4px; }
.pcard h3 { margin-top: 10px; }
.pcard h3 + p { margin-top: 8px; color: var(--c-mute); font-size: 15px; }
/* a chevron between cards, the next one follows */
.path-cards.linked { gap: 28px; }
.path-cards.linked .pcard { position: relative; }
.path-cards.linked .pcard + .pcard::before { content: ""; position: absolute; left: -17px; top: 50%; width: 6px; height: 6px;
  border-top: 1.5px solid var(--fg); border-right: 1.5px solid var(--fg); transform: rotate(45deg); opacity: .7; }
.path .acts { margin-top: 0; }

/* ======================================================= PRODUCT / ETC */
.top { padding: 168px 0 110px; }
.top h1 { max-width: 12ch; }
.cards-sec { padding: 40px 0 140px; }
.cards { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; margin-top: 56px; }
.fcard { background: var(--panel); border-radius: 10px; overflow: hidden; display: flex; flex-direction: column; }
.fcard .media { border-radius: 0; }
.fcard-body { padding: 24px 24px 28px; }
.fcard-body > p { color: var(--c-mute); margin-top: 10px; font-size: 15px; }
.fcard h3 { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }

.split { padding: 150px 0; }
.split-in { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: 72px; align-items: center; }
.outline { margin-top: 34px; border-top: 1px solid var(--c-line); }
.outline li { display: flex; gap: 18px; padding: 16px 0; border-bottom: 1px solid var(--c-line); color: var(--c-mute); }
.outline li span { font-family: var(--mono); font-size: 11px; color: var(--c-faint); padding-top: 4px; }

.cta-band { padding: 170px 0; }
.cta-band h2 { max-width: 16ch; margin: 0 auto; }

/* home: the closer, the download beside the last word */
.closer { padding: 150px 0; }
.closer-in { display: grid; grid-template-columns: minmax(0, 6fr) minmax(0, 5fr); gap: 72px; align-items: center; }
.closer h2 { font-size: clamp(44px, 6vw, 92px); }
.dl-card { background: var(--paper); color: var(--ink); border-radius: 12px; padding: 32px;
           --c-fg: var(--ink); --c-mute: var(--ink-mute); --c-faint: var(--ink-faint); --c-line: rgba(28,27,26,.14); }
.dl-title { font-size: 26px; letter-spacing: -0.02em; }
.dl-sub { color: var(--c-mute); margin-top: 4px; }
.dl-card .ticks { margin: 22px 0 28px; padding-top: 18px; border-top: 1px solid var(--c-line); }
.dl-pair { display: grid; gap: 8px; }
.dl-card .btn { width: 100%; }
/* this computer's download comes first and filled */
[data-os="win"] .dl-pair [data-os="win"] { order: -1; background: var(--ink); color: var(--fg); border-color: var(--ink); }
[data-os="win"] .dl-pair [data-os="mac"] { background: none; color: var(--ink); border: 1px solid var(--c-line); }

/* download page: one card per platform, side by side, equal */
.platforms { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; margin-top: 64px; }
.platform { background: var(--panel); border-radius: 12px; padding: 28px 28px 30px; display: flex; flex-direction: column;
            outline: 1px solid transparent; outline-offset: -1px; transition: outline-color .3s var(--ease); }
.platform h2 { font-size: clamp(36px, 3.6vw, 52px); display: flex; align-items: center; gap: 14px; flex-wrap: wrap; }
.platform .ticks { margin: 18px 0 32px; }
.platform .btn { align-self: flex-start; }

/* home: courses teaser */
.home-courses { padding: 150px 0 140px; }
.home-courses h2 { max-width: 16ch; }
.compare h2 { max-width: 18ch; margin: 0 auto; }
.home-courses .acts { margin-top: 32px; }
/* copy beside the library as it looks in the app (the shot carries its own wallpaper) */
.lib { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 72px; align-items: center; }
.lib h2 { max-width: 13ch; font-size: clamp(38px, 4.2vw, 60px); }
.lib-copy .ticks { margin-top: 26px; }
.lib-shot .media { border-radius: 12px; background: none; }

/* courses */
.covers { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 36px 16px; margin-top: 72px; }
.cover { display: grid; }
.cover img, .cover .cover-num { grid-area: 1 / 1; }
.cover img { width: 100%; height: auto; aspect-ratio: 4 / 3; object-fit: cover; border-radius: 10px;
             outline: 1px solid transparent; outline-offset: 2px; transition: outline-color .2s var(--ease); }
.cover .cover-num { align-self: end; padding: 0 18px 10px; font-size: clamp(56px, 6vw, 88px); font-weight: 200;
                    letter-spacing: -0.045em; line-height: 1; color: #fff; text-shadow: 0 1px 24px rgba(0,0,0,.25); }
.cover b { margin-top: 14px; font-weight: 300; font-size: 17px; color: var(--c-mute); transition: color .2s; }
.cover:hover img { outline-color: rgba(255,250,240,.5); }
.cover:hover b { color: var(--c-fg); }
.more { margin-top: 40px; color: var(--c-faint); }

/* download */
.dl .path-cards { margin-top: 72px; }
.faq { padding: 150px 0 160px; }
.faq h2 em { color: var(--c-accent); }
.qs { margin-top: 56px; border-top: 1px solid var(--c-line); }
.q { border-bottom: 1px solid var(--c-line); }
.q button { width: 100%; display: grid; grid-template-columns: 56px minmax(0, 1fr) 18px; align-items: center;
            text-align: left; padding: 24px 0; font-size: clamp(17px, 1.5vw, 20px); font-weight: 300; letter-spacing: -0.01em; }
.q-num { font-family: var(--mono); font-size: 11px; color: var(--c-faint); }
.q svg { width: 16px; height: 16px; color: var(--c-faint); transition: transform .35s var(--ease); }
.q button[aria-expanded="true"] svg { transform: rotate(45deg); }
.a { display: grid; grid-template-rows: 0fr; transition: grid-template-rows .35s var(--ease); }
.q button[aria-expanded="true"] + .a { grid-template-rows: 1fr; }
.a > div { min-height: 0; overflow: hidden; }
.a p { padding: 0 32px 26px 56px; color: var(--c-mute); max-width: 64ch; }

/* --------------------------------------------------------------- footer */
.foot { position: relative; min-height: 100svh; overflow: hidden; color: #fff; display: flex; }
.foot-bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.foot-in { position: relative; width: 100%; display: grid; grid-template-columns: 1fr auto 1fr;
           align-items: center; gap: 32px; padding: 120px var(--gutter) 28px; grid-template-rows: 1fr auto; }
.mark.big { font-size: clamp(36px, 4vw, 56px); gap: 14px; letter-spacing: -0.03em; }
.mark.big svg { width: 1em; height: 1em; }
.brackets { display: grid; gap: 14px; justify-items: center; font-family: var(--mono); font-size: 11px;
            text-transform: uppercase; letter-spacing: .1em; }
.brackets a { opacity: .75; transition: opacity .2s; }
.brackets a::before { content: "[ "; } .brackets a::after { content: " ]"; }
.brackets a:hover { opacity: 1; }
.foot-line { justify-self: end; text-align: right; font-size: clamp(28px, 3vw, 44px); font-weight: 200;
             letter-spacing: -0.03em; line-height: 1.05; }
.foot-small { grid-column: 1 / -1; display: flex; justify-content: space-between; font-family: var(--mono);
              font-size: 10.5px; text-transform: uppercase; letter-spacing: .08em; opacity: .6; }

/* --------------------------------------------------------------- narrow */
@media (max-width: 1023px) {
  .cards, .covers { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .split-in { grid-template-columns: 1fr; gap: 48px; }
  .closer-in, .lib { grid-template-columns: 1fr; gap: 48px; }
  .platforms { grid-template-columns: 1fr; }
}
@media (max-width: 820px) {
  /* hands take the top of the hero, the copy sits under them */
  .hero-hands { bottom: auto; height: 62%;
    -webkit-mask-image: linear-gradient(180deg, #000 70%, transparent);
            mask-image: linear-gradient(180deg, #000 70%, transparent); }
  .hero-copy { top: auto; bottom: 40px; }
  .path-cards { grid-template-columns: 1fr; }
  .path-cards.linked .pcard + .pcard::before { left: 50%; top: -17px; transform: rotate(135deg); }
  .player-cap span:not(:first-child) { display: none; }
  .path-hands { opacity: .5; }
  .foot-in { grid-template-columns: 1fr; grid-template-rows: auto; align-content: end; gap: 48px; }
  .brackets { justify-items: start; }
  .foot-line { justify-self: start; text-align: left; }
  .foot-small { flex-direction: column; gap: 6px; }
}
@media (max-width: 640px) {
  .cards, .covers { grid-template-columns: 1fr; }
  .top { padding: 128px 0 80px; }
  .compare, .split, .faq, .home-courses, .demo, .closer { padding: 100px 0; }
  .play { width: 56px; height: 56px; margin: -28px 0 0 -28px; }
  .cta-band { padding: 120px 0; }
  .q button { grid-template-columns: 40px minmax(0, 1fr) 18px; }
  .a p { padding-left: 40px; padding-right: 0; }
  .btn { flex: 1 1 auto; }
}

/* -------------------------------------------------------- reduced motion */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  html { scroll-behavior: auto; }
  .js [data-reveal] { opacity: 1; transform: none; }
}
