/* PROVERBVISUALS — site styles. No framework, no build step.
   Fonts: Orbitron (SIL Open Font License) self-hosted for small caps labels only;
   headlines and body use the visitor's system sans (SF Pro on Apple, Segoe UI on Windows, Roboto on Android). */

@font-face {
  font-family: "Orbitron";
  src: url("../fonts/Orbitron.ttf") format("truetype");
  font-weight: 400 900;
  font-style: normal;
  font-display: swap;
}

:root {
  --bg: #000;
  --surface: #0e0e10;
  --surface-2: #17171a;
  --surface-3: #222226;
  --ink: #f5f5f7;
  --muted: #a1a1a6;
  --soft: #8a8a90;
  --red: #e21e2a;          /* RED in engine/pv.py: (226, 30, 42) */
  --red-ink: #ff5560;      /* the red, lifted for small text on black */
  --sans: -apple-system, BlinkMacSystemFont, "SF Pro Display", "SF Pro Text", "Segoe UI Variable Display", "Segoe UI", Roboto, "Helvetica Neue", Arial, system-ui, sans-serif;
  --label: "Orbitron", var(--sans);
  --margin: clamp(20px, 4.4vw, 64px);
  --max: 1240px;
  --r: 22px;
  --gap-section: clamp(112px, 14vw, 200px);
  --ease: cubic-bezier(.2, .7, .2, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 72px; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 18px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: clip;
}
img, video, svg { display: block; max-width: 100%; }
a { color: inherit; }
p { margin: 0; }
h1, h2, h3 { margin: 0; font-weight: 700; letter-spacing: -0.03em; line-height: 1.04; text-wrap: balance; }
ul, ol { margin: 0; padding: 0; list-style: none; }
::selection { background: var(--red); color: #fff; }
:focus-visible { outline: 2px solid var(--ink); outline-offset: 3px; border-radius: 6px; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.skip { position: absolute; left: 12px; top: -60px; z-index: 50; background: var(--ink); color: #000; padding: 10px 16px; border-radius: 999px; text-decoration: none; font-weight: 600; }
.skip:focus { top: 12px; }

.wrap { width: 100%; max-width: calc(var(--max) + 2 * var(--margin)); margin: 0 auto; padding: 0 var(--margin); }
.section { padding-top: var(--gap-section); }

/* ------------------------------------------------------------- type roles */
.label {
  font-family: var(--label);
  font-size: 15px;
  font-weight: 600;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--muted);
  line-height: 1.3;
}
.label--red { color: var(--red-ink); }
.h2 { font-size: clamp(36px, 5vw, 68px); }
.lede { font-size: clamp(18px, 1.6vw, 22px); color: var(--muted); line-height: 1.5; max-width: 40ch; }
.lede strong { color: var(--ink); font-weight: 600; }
.note { font-size: 15px; color: var(--soft); line-height: 1.5; }

/* ------------------------------------------------------------- buttons */
.btn, .buy {
  display: inline-flex; align-items: center; justify-content: center; gap: .5em;
  min-height: 52px; padding: 0 26px; border-radius: 999px;
  font: 600 17px/1 var(--sans); letter-spacing: -0.01em; text-decoration: none; white-space: nowrap;
  transition: transform .25s var(--ease), background-color .25s var(--ease), box-shadow .35s var(--ease), color .25s;
  -webkit-tap-highlight-color: transparent;
}
.buy { background: var(--red); color: #fff; box-shadow: 0 10px 34px -12px rgba(226, 30, 42, .75); }
.buy:hover { background: #f02b37; box-shadow: 0 14px 44px -10px rgba(226, 30, 42, .9); transform: translateY(-1px); }
.buy:active, .btn:active { transform: translateY(1px) scale(.98); }
.btn { background: var(--surface-2); color: var(--ink); }
.btn:hover { background: var(--surface-3); }
.btn .arrow, .link-arrow .arrow { transition: transform .25s var(--ease); }
.btn:hover .arrow, .link-arrow:hover .arrow { transform: translateX(3px); }
.buy--sm { min-height: 40px; padding: 0 18px; font-size: 15px; box-shadow: none; }
.buy--lg { min-height: 60px; padding: 0 34px; font-size: 18px; }
.link-arrow { color: var(--ink); text-decoration: none; font-weight: 600; display: inline-flex; gap: .4em; align-items: center; }
.link-arrow:hover { color: #fff; text-decoration: underline; text-underline-offset: 4px; }

/* ------------------------------------------------------------- nav */
.nav { position: sticky; top: 0; z-index: 20; background: #000; }
.nav__in { display: flex; align-items: center; justify-content: space-between; height: 64px; gap: 24px; }
.wordmark { font-family: var(--label); font-weight: 700; font-size: 15px; letter-spacing: .22em; text-decoration: none; color: var(--ink); }
.nav__links { display: flex; gap: 30px; align-items: center; }
.nav__links a:not(.buy) { text-decoration: none; color: var(--muted); font-size: 15px; transition: color .2s; }
.nav__links a:not(.buy):hover, .nav__links a[aria-current="page"] { color: var(--ink); }

/* ------------------------------------------------------------- the phone frame: the page's one motif (the 9:16 reel) */
.phone {
  position: relative; aspect-ratio: 9 / 16; width: 100%;
  background: #1d1d20; padding: 2.6%;
  border-radius: 15% / 8.4%;
}
.phone video, .phone img {
  width: 100%; height: 100%; object-fit: cover; background: #000;
  border-radius: 12.6% / 7.1%;
}

/* ------------------------------------------------------------- hero */
.hero { padding-top: clamp(56px, 8vw, 104px); text-align: center; overflow-x: clip; }
.hero h1 { font-size: clamp(44px, 7.4vw, 108px); letter-spacing: -0.045em; line-height: .98; }
.hero h1 span { display: block; }
.hero h1 .dim { color: var(--muted); }
.hero__sub { margin: 28px auto 0; font-size: clamp(18px, 1.7vw, 23px); color: var(--muted); max-width: 46ch; line-height: 1.45; }
.hero__sub strong { color: var(--ink); font-weight: 600; }
.hero__cta { margin-top: 36px; display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }
.fan {
  --c: 25%; --i: 21.5%; --o: 18.5%;
  display: flex; justify-content: center; align-items: flex-end;
  max-width: 1080px; margin: clamp(56px, 7vw, 88px) auto 0; padding: 0 var(--margin);
}
.fan .phone { flex: none; }
.fan .phone:nth-child(1) { width: var(--o); transform: translateY(9%) rotate(-10deg); margin-right: -4%; z-index: 1; }
.fan .phone:nth-child(2) { width: var(--i); transform: translateY(2.5%) rotate(-5deg); margin-right: -3%; z-index: 2; }
.fan .phone:nth-child(3) { width: var(--c); z-index: 3; }
.fan .phone:nth-child(4) { width: var(--i); transform: translateY(2.5%) rotate(5deg); margin-left: -3%; z-index: 2; }
.fan .phone:nth-child(5) { width: var(--o); transform: translateY(9%) rotate(10deg); margin-left: -4%; z-index: 1; }
.fan__cap { margin-top: clamp(56px, 6vw, 80px); }

/* ------------------------------------------------------------- course block */
.course { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: clamp(40px, 6vw, 96px); align-items: center; }
.pillrow { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; }
.pill-new { font-family: var(--label); font-weight: 700; font-size: 15px; letter-spacing: .16em; color: #fff; background: var(--red); border-radius: 999px; padding: 6px 12px 5px; line-height: 1.2; }
.course h2 { margin-top: 22px; }
.nowrap { white-space: nowrap; }
.course__promise { margin-top: 22px; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 28px; }
.chip { background: var(--surface-2); color: var(--ink); font-size: 15px; font-weight: 500; padding: 9px 15px; border-radius: 999px; line-height: 1.2; }
.course__buy { margin-top: 36px; display: flex; align-items: center; gap: 20px; flex-wrap: wrap; }
.price-inline { font-size: 15px; color: var(--muted); }
.price-inline b { color: var(--ink); font-size: 22px; font-weight: 700; margin-right: 4px; letter-spacing: -0.02em; }

/* the live thing: brief -> code -> frame */
.demo { background: var(--surface); border-radius: 30px; padding: clamp(18px, 2.4vw, 28px); }
.demo__tabs { display: flex; background: #000; border-radius: 999px; padding: 4px; gap: 4px; width: max-content; max-width: 100%; }
.demo__tab {
  appearance: none; border: 0; background: transparent; color: var(--muted); cursor: pointer;
  font: 600 15px/1 var(--sans); padding: 11px 20px; border-radius: 999px; min-height: 40px;
  transition: background-color .25s var(--ease), color .25s;
}
.demo__tab:hover { color: var(--ink); }
.demo__tab[aria-selected="true"] { background: var(--surface-3); color: var(--ink); }
.demo__panels { margin-top: 18px; display: grid; grid-template-columns: minmax(0, 1fr); }
.demo__panel { min-height: 440px; }
.demo__panel + .demo__panel { margin-top: 28px; }
.js .demo__panel { grid-area: 1 / 1; margin-top: 0; }
.js .demo__panel[hidden] { display: block; visibility: hidden; opacity: 0; }
.js .demo__panel { transition: opacity .35s var(--ease), visibility .35s; }
.demo__head { display: flex; justify-content: space-between; gap: 12px; align-items: baseline; flex-wrap: wrap; padding: 4px 6px 0; }
.demo__head h3 { font-size: 20px; letter-spacing: -0.02em; }
.beats { margin-top: 16px; display: grid; gap: 4px; }
.beats li { display: grid; grid-template-columns: 76px 1fr; gap: 14px; padding: 12px 14px; background: var(--surface-2); border-radius: 14px; font-size: 16px; line-height: 1.45; }
.beats time { font-family: var(--label); font-size: 15px; font-weight: 600; color: var(--red-ink); letter-spacing: .06em; padding-top: 1px; }
.typed { margin-top: 14px; padding: 14px 16px; border-radius: 14px; background: #000; }
.typed p { font-family: var(--label); font-weight: 700; letter-spacing: .16em; font-size: 15px; line-height: 1.7; }
pre.code {
  margin: 0; padding: 18px; border-radius: 16px; background: #000; color: #d6d6db; overflow-x: auto;
  font: 14.5px/1.65 ui-monospace, "SF Mono", "Cascadia Mono", Consolas, Menlo, monospace; tab-size: 4;
}
pre.code .c { color: #77777d; }
pre.code .s { color: #f2f2f2; }
pre.code .n { color: var(--red-ink); }
pre.code .k { color: #a9a9b0; }
.demo__frame { display: grid; grid-template-columns: minmax(0, 220px) 1fr; gap: 24px; align-items: end; padding: 6px; }
.demo__frame .phone { max-width: 220px; }
.demo__frame dl { margin: 0; display: grid; gap: 14px; }
.demo__frame dt { font-size: 15px; color: var(--muted); }
.demo__frame dd { margin: 2px 0 0; font-size: 20px; font-weight: 600; letter-spacing: -0.02em; }
.demo__cap { margin-top: 16px; padding: 0 6px; }

/* ------------------------------------------------------------- what you get (bento) */
.get__head { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 40px; align-items: end; }
.bento { margin-top: 56px; display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 12px; }
.tile { background: var(--surface); border-radius: var(--r); padding: clamp(24px, 2.6vw, 36px); display: flex; flex-direction: column; min-height: 300px; transition: background-color .3s var(--ease), transform .3s var(--ease); }
.tile:hover { background: #121215; }
.tile--2 { grid-column: span 2; }
.tile--3 { grid-column: span 3; }
.tile--4 { grid-column: span 4; }
.tile .tile__big { margin: 0; font-size: clamp(64px, 7vw, 104px); font-weight: 700; letter-spacing: -0.05em; line-height: .9; }
.tile .tile__big--red { color: var(--red); }
.tile__big code { font: inherit; }
.tile h3 { margin-top: auto; padding-top: 36px; font-size: 24px; letter-spacing: -0.02em; }
.tile .prompt { margin: 0; background: #000; border-radius: 16px; padding: 18px 20px; font-size: 17px; line-height: 1.5; color: var(--ink); }
.tile .prompt span { display: block; margin-top: 10px; font-size: 15px; color: var(--soft); }
.tile p { margin-top: 10px; color: var(--muted); font-size: 17px; line-height: 1.5; max-width: 46ch; }
.tile--engine { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 28px; }
.tile--engine .tile__text { display: flex; flex-direction: column; }
.fnlist { background: #000; border-radius: 16px; padding: 18px 20px; display: grid; gap: 6px; align-content: start; }
.fnlist code { font: 15px/1.5 ui-monospace, "SF Mono", "Cascadia Mono", Consolas, Menlo, monospace; color: #d6d6db; }
.fnlist code b { color: var(--red-ink); font-weight: 400; }
.starters { display: flex; gap: 10px; margin-top: 26px; }
.starters figure { margin: 0; flex: 1; }
.starters .phone { max-width: 120px; }
.starters figcaption { margin-top: 10px; font-size: 15px; color: var(--muted); line-height: 1.35; }
.tile--starters { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.25fr); gap: 28px; }
.tile--starters .tile__text { display: flex; flex-direction: column; }
.tile--starters .starters { margin-top: 0; align-self: end; }

/* ------------------------------------------------------------- showcase strip */
.show__head { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 40px; align-items: end; }
.strip { margin-top: 56px; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: clamp(16px, 2.2vw, 32px); }
.strip figure { margin: 0; }
.strip figcaption { margin-top: 18px; }
.strip figcaption h3 { font-size: 20px; letter-spacing: -0.02em; }
.strip figcaption .label { display: block; margin-top: 6px; }

/* ------------------------------------------------------------- modules */
.modules { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 7fr); gap: clamp(40px, 6vw, 96px); align-items: start; }
.modules__side { position: sticky; top: 104px; }
.modules__side .lede { margin-top: 24px; }
.modules__side .link-arrow { margin-top: 28px; }
.mods { counter-reset: none; display: grid; gap: 8px; }
.mod { display: grid; grid-template-columns: 92px minmax(0, 1fr); gap: 20px; padding: 26px 28px; background: var(--surface); border-radius: var(--r); transition: background-color .3s var(--ease); }
.mod:hover { background: #131316; }
.mod__n { font-family: var(--label); font-weight: 700; font-size: 34px; letter-spacing: .02em; line-height: 1; color: var(--soft); padding-top: 2px; }
.mod__n--b { color: var(--red-ink); }
.mod h3 { font-size: 22px; letter-spacing: -0.02em; line-height: 1.2; }
.mod p { margin-top: 6px; color: var(--muted); font-size: 17px; line-height: 1.5; }
.mod--follow { background: var(--surface-2); }
.mod--follow:hover { background: #1b1b1f; }
.mod .tag { display: inline-block; margin-top: 12px; }

/* ------------------------------------------------------------- who it's for */
.who { margin-top: 56px; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; }
.who li { background: var(--surface); border-radius: var(--r); padding: 28px 26px 30px; display: flex; flex-direction: column; min-height: 340px; }
.who svg { width: 104px; height: 104px; margin-left: -8px; }
.who h3 { margin-top: 56px; font-size: 23px; letter-spacing: -0.02em; line-height: 1.15; }
.who p { margin-top: 10px; color: var(--muted); font-size: 17px; }
.notfor { margin-top: 28px; max-width: 62ch; }

/* ------------------------------------------------------------- pricing */
.price { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(32px, 5vw, 80px); background: var(--surface); border-radius: 36px; padding: clamp(28px, 5vw, 72px); }
.price__amount { margin: 0; display: flex; align-items: flex-start; gap: 6px; margin-top: 18px; }
.price__amount .cur { font-size: clamp(32px, 3.4vw, 48px); font-weight: 700; margin-top: .25em; letter-spacing: -0.03em; }
.price__amount .num { font-size: clamp(112px, 13vw, 184px); font-weight: 700; letter-spacing: -0.06em; line-height: .86; }
.price__once { margin-top: 18px; font-size: 20px; font-weight: 600; letter-spacing: -0.01em; }
.price .buy { margin-top: 32px; }
.price__fine { margin-top: 24px; max-width: 46ch; }
.checks { display: grid; gap: 4px; align-content: center; }
.checks li { display: grid; grid-template-columns: 28px 1fr; gap: 12px; align-items: start; padding: 13px 0; font-size: 18px; line-height: 1.4; }
.checks svg { width: 22px; height: 22px; margin-top: 1px; }
.price h2 { font-size: clamp(30px, 3.4vw, 46px); }

/* ------------------------------------------------------------- FAQ */
.faq { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 7fr); gap: clamp(40px, 6vw, 96px); align-items: start; }
.faq__side { position: sticky; top: 104px; }
.faq__side .lede { margin-top: 24px; }
.qa { display: grid; gap: 8px; }
.qa details { background: var(--surface); border-radius: 20px; transition: background-color .3s var(--ease); }
.qa details[open] { background: var(--surface-2); }
.qa summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 20px; padding: 22px 26px; min-height: 72px; font-size: 20px; font-weight: 600; letter-spacing: -0.015em; line-height: 1.3; }
.qa summary::-webkit-details-marker { display: none; }
.qa summary:hover { color: #fff; }
.pm { position: relative; flex: none; width: 18px; height: 18px; }
.pm::before, .pm::after { content: ""; position: absolute; left: 0; top: 7.5px; width: 18px; height: 3px; border-radius: 2px; background: var(--muted); transition: transform .3s var(--ease), background-color .3s; }
.pm::after { transform: rotate(90deg); }
details[open] .pm::after { transform: rotate(0deg); }
details[open] .pm::before, details[open] .pm::after { background: var(--red-ink); }
.qa .ans { padding: 0 26px 26px; color: #d2d2d7; font-size: 17px; max-width: 60ch; }
.qa .ans p + p { margin-top: 12px; }
.qa .ans a { color: var(--ink); text-underline-offset: 3px; }

/* ------------------------------------------------------------- closing call */
.close { text-align: center; }
.close .h2 { max-width: 16ch; margin: 0 auto; }
.close .lede { margin: 22px auto 0; }
.close .buy { margin-top: 36px; }

/* ------------------------------------------------------------- footer */
.foot { margin-top: var(--gap-section); padding-bottom: 40px; }
.foot__mark { width: 100%; height: auto; overflow: visible; user-select: none; }
.foot__mark text { font-family: var(--label); font-weight: 800; font-size: 96px; fill: #1a1a1d; }
.foot__row { margin-top: 48px; display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 32px; align-items: start; }
.foot__links { display: flex; flex-wrap: wrap; gap: 10px 28px; }
.foot__links a { color: var(--muted); text-decoration: none; font-size: 15px; }
.foot__links a:hover { color: var(--ink); }
.foot__mail { color: var(--ink); text-decoration: none; font-size: 15px; font-weight: 600; }
.foot__mail:hover { text-decoration: underline; text-underline-offset: 4px; }
.foot__base { margin-top: 32px; display: flex; justify-content: space-between; gap: 20px; flex-wrap: wrap; }

/* ------------------------------------------------------------- course page */
.page-hero { padding-top: clamp(56px, 8vw, 104px); display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 300px); gap: clamp(40px, 6vw, 96px); align-items: center; }
.page-hero h1 { font-size: clamp(44px, 6.6vw, 96px); letter-spacing: -0.045em; line-height: .98; }
.page-hero .lede { margin-top: 24px; }
.page-hero .chips { margin-top: 28px; }
.page-hero .hero__cta { justify-content: flex-start; }
.page-hero .phone { max-width: 300px; justify-self: end; width: 100%; }
.outline { display: grid; gap: 8px; }
.omod { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(24px, 5vw, 72px); background: var(--surface); border-radius: 28px; padding: clamp(26px, 3.6vw, 48px); }
.omod h2 { font-size: clamp(28px, 3vw, 40px); letter-spacing: -0.03em; margin-top: 14px; line-height: 1.08; }
.omod .summary { margin-top: 14px; color: var(--muted); font-size: 17px; max-width: 42ch; }
.omod--follow { background: var(--surface-2); }
.lessons { display: grid; gap: 2px; align-content: start; }
.lessons li { display: grid; grid-template-columns: 52px 1fr; gap: 12px; padding: 12px 0; font-size: 18px; line-height: 1.4; }
.lessons li span { font-family: var(--label); font-size: 15px; font-weight: 600; color: var(--soft); letter-spacing: .04em; padding-top: 2px; }

/* ------------------------------------------------------------- simple pages (legal, thanks, 404) */
.doc { max-width: 760px; padding-top: clamp(48px, 7vw, 96px); }
.doc h1 { font-size: clamp(40px, 5.6vw, 72px); letter-spacing: -0.04em; }
.doc .updated { margin-top: 16px; }
.doc h2 { font-size: clamp(24px, 2.4vw, 30px); letter-spacing: -0.02em; margin-top: 56px; line-height: 1.15; }
.doc p, .doc li { font-size: 18px; color: #d2d2d7; line-height: 1.6; }
.doc p { margin-top: 14px; }
.doc ul, .doc ol.steps { margin-top: 14px; display: grid; gap: 10px; }
.doc ul li { padding-left: 22px; position: relative; }
.doc ul li::before { content: ""; position: absolute; left: 2px; top: .66em; width: 7px; height: 7px; border-radius: 50%; background: var(--red); }
.doc a { color: var(--ink); text-underline-offset: 3px; }
.doc strong { color: var(--ink); }
.doc .placeholder { background: rgba(226, 30, 42, .16); color: #fff; padding: 1px 6px; border-radius: 6px; }
.steps { counter-reset: s; }
.steps li { counter-increment: s; display: grid; grid-template-columns: 48px 1fr; gap: 14px; background: var(--surface); border-radius: 18px; padding: 20px 22px; }
.steps li::before { content: counter(s); font-family: var(--label); font-weight: 700; font-size: 22px; color: var(--red-ink); line-height: 1.2; }
.callout { margin-top: 40px; background: var(--surface); border-radius: 24px; padding: 28px; }
.callout p:first-child { margin-top: 0; }
.notfound { min-height: 72vh; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 260px); gap: 64px; align-items: center; padding-top: 48px; }
.notfound h1 { font-size: clamp(44px, 6.6vw, 92px); letter-spacing: -0.045em; line-height: 1; }
.notfound .lede { margin-top: 22px; }
.notfound .hero__cta { justify-content: flex-start; }

/* ------------------------------------------------------------- entrances (only when JS is on and motion is welcome) */
@media (prefers-reduced-motion: no-preference) {
  .js [data-reveal] { opacity: 0; transform: translateY(24px); transition: opacity .8s var(--ease), transform .8s var(--ease); transition-delay: calc(var(--d, 0) * 75ms); }
  .js [data-reveal].in { opacity: 1; transform: none; }
  .js .fan.in .phone { animation: rise 1s var(--ease) both; }
  .js .fan.in .phone:nth-child(1), .js .fan.in .phone:nth-child(5) { animation-delay: .24s; }
  .js .fan.in .phone:nth-child(2), .js .fan.in .phone:nth-child(4) { animation-delay: .12s; }
}
@keyframes rise { from { opacity: 0; translate: 0 48px; } to { opacity: 1; translate: 0 0; } }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: .01ms !important; animation-duration: .01ms !important; }
}
.d1 { --d: 1; } .d2 { --d: 2; } .d3 { --d: 3; } .d4 { --d: 4; } .d5 { --d: 5; }

/* ------------------------------------------------------------- tablet */
@media (max-width: 1023px) {
  .course { grid-template-columns: minmax(0, 1fr); }
  .bento { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .tile--2, .tile--3, .tile--4 { grid-column: span 1; }
  .tile--engine, .tile--starters { grid-column: 1 / -1; }
  .strip { grid-template-columns: repeat(2, minmax(0, 1fr)); row-gap: 48px; }
  .strip .phone { max-width: 300px; }
  .modules, .faq { grid-template-columns: minmax(0, 1fr); }
  .modules__side, .faq__side { position: static; }
  .who { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .omod { grid-template-columns: minmax(0, 1fr); }
  .get__head, .show__head { grid-template-columns: minmax(0, 1fr); gap: 20px; }
}

/* ------------------------------------------------------------- phone */
@media (max-width: 719px) {
  body { font-size: 17px; }
  .nav__links a:not(.buy) { display: none; }
  .nav__in { height: 58px; }
  .wordmark { font-size: 15px; letter-spacing: .16em; }
  .hero { padding-top: 48px; }
  .hero h1 { font-size: clamp(38px, 11vw, 56px); }
  .hero__sub { font-size: 18px; margin-top: 20px; }
  .hero__cta { flex-direction: column; align-items: stretch; max-width: 340px; margin-left: auto; margin-right: auto; margin-top: 30px; }
  .fan { --c: 34%; --i: 27%; --o: 23%; padding: 0; width: 160%; max-width: none; margin-left: -30%; margin-top: 48px; }
  .fan .phone:nth-child(1) { margin-right: -9%; }
  .fan .phone:nth-child(2) { margin-right: -8%; }
  .fan .phone:nth-child(4) { margin-left: -8%; }
  .fan .phone:nth-child(5) { margin-left: -9%; }
  .fan__cap { margin-top: 40px; }
  .demo { border-radius: 24px; padding: 14px; }
  .demo__tabs { width: 100%; }
  .demo__tab { flex: 1; padding: 11px 8px; }
  .demo__panel { min-height: 0; }
  .beats li { grid-template-columns: 1fr; gap: 4px; }
  pre.code { font-size: 13px; padding: 14px; }
  .typed p { letter-spacing: .08em; }
  .demo__frame { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 16px; padding: 0; }
  .demo__frame dd { font-size: 18px; }
  .bento { grid-template-columns: minmax(0, 1fr); margin-top: 40px; }
  .tile { min-height: 0; }
  .tile h3 { padding-top: 28px; }
  .tile--engine, .tile--starters { grid-template-columns: minmax(0, 1fr); }
  .strip { margin-top: 40px; gap: 14px; row-gap: 36px; }
  .strip figcaption { margin-top: 14px; }
  .strip figcaption h3 { font-size: 18px; }
  .mod { grid-template-columns: 1fr; gap: 10px; padding: 22px 20px; }
  .mod__n { font-size: 26px; }
  .who { grid-template-columns: minmax(0, 1fr); margin-top: 40px; }
  .who li { min-height: 0; }
  .who h3 { margin-top: 24px; }
  .price { grid-template-columns: minmax(0, 1fr); border-radius: 28px; padding: 28px 22px; }
  .price .buy { width: 100%; }
  .checks li { font-size: 17px; padding: 10px 0; }
  .qa summary { font-size: 18px; padding: 20px; min-height: 64px; }
  .qa .ans { padding: 0 20px 22px; font-size: 16px; }
  .foot__row { grid-template-columns: minmax(0, 1fr); }
  .close .buy { width: 100%; max-width: 340px; }
  .page-hero { grid-template-columns: minmax(0, 1fr); }
  .page-hero .phone { justify-self: center; max-width: 240px; }
  .page-hero .hero__cta, .notfound .hero__cta { max-width: none; margin-left: 0; margin-right: 0; }
  .page-hero .lede, .notfound .lede { max-width: none; }
  .lessons li { font-size: 17px; grid-template-columns: 46px 1fr; }
  .notfound { grid-template-columns: minmax(0, 1fr); gap: 40px; }
  .notfound .phone { max-width: 220px; justify-self: center; }
  .doc p, .doc li { font-size: 17px; }
  .steps li { grid-template-columns: 36px 1fr; padding: 18px; }
}
