/* ==========================================================================
   The AI-First Kindle and Audible Publishing Course
   White paper, black ink, one yellow. Condensed type like a book jacket.
   ========================================================================== */

/* ---------- Fonts (self-hosted, SIL OFL) ---------- */
@font-face {
  font-family: "Archivo";
  src: url("../fonts/archivo-latin-wdth-normal.woff2") format("woff2");
  font-weight: 100 900;
  font-stretch: 62% 125%;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Source Serif 4";
  src: url("../fonts/source-serif-4-latin-wght-normal.woff2") format("woff2");
  font-weight: 200 900;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Source Serif 4";
  src: url("../fonts/source-serif-4-latin-wght-italic.woff2") format("woff2");
  font-weight: 200 900;
  font-style: italic;
  font-display: swap;
}

/* ---------- Tokens ---------- */
:root {
  --ink: #0c0c0c;
  --text: #1b1b1b;
  --mute: #6a6a6a;
  --hair: #e3e3e3;
  --soft: #efefef;
  --white: #fff;
  --y: #ffe000;
  --red: #e2553b;
  --green: #2fb070;

  --sans: "Archivo", "Helvetica Neue", Arial, sans-serif;
  --serif: "Source Serif 4", Georgia, "Times New Roman", serif;

  --wrap: 1320px;
  --gut: clamp(18px, 4vw, 48px);
  --sec: clamp(72px, 10vw, 148px);
  --ease: cubic-bezier(0.2, 0.7, 0.2, 1);

  interpolate-size: allow-keywords;
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 90px; }
body {
  margin: 0;
  background: var(--white);
  color: var(--text);
  font-family: var(--sans);
  font-size: 1.125rem;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: clip;
}
img { max-width: 100%; height: auto; }
a { color: inherit; }
h1, h2, h3, h4 { margin: 0; color: var(--ink); }
p { text-wrap: pretty; }
strong { font-weight: 700; }
button { font: inherit; color: inherit; }

.sprite { position: absolute; width: 0; height: 0; overflow: hidden; }
.icon {
  width: 1.1em;
  height: 1.1em;
  flex: none;
  fill: none;
  stroke: currentColor;
  stroke-width: 2.2;
  stroke-linecap: square;
  stroke-linejoin: miter;
  vertical-align: -0.16em;
}
.flip { transform: scaleX(-1); }

.wrap { width: 100%; max-width: var(--wrap); margin-inline: auto; padding-inline: var(--gut); }

.skip {
  position: absolute;
  left: 12px;
  top: -80px;
  z-index: 300;
  padding: 12px 16px;
  background: var(--y);
  color: var(--ink);
  font-weight: 800;
  text-decoration: none;
}
.skip:focus { top: 12px; }
:focus-visible { outline: 3px solid var(--ink); outline-offset: 3px; }
.on-dark :focus-visible { outline-color: var(--y); }

.y { color: var(--y); }

/* Display type — condensed caps, like the titles on the covers */
.display {
  font-family: var(--sans);
  font-size: clamp(2.6rem, 1.1rem + 5.4vw, 6.4rem);
  font-weight: 850;
  font-stretch: 70%;
  line-height: 0.9;
  letter-spacing: -0.005em;
  text-transform: uppercase;
  text-wrap: balance;
}
.display--xl { font-size: clamp(3rem, 0.9rem + 8.6vw, 10rem); line-height: 0.86; }

.lede { margin: 0; color: var(--ink); font-size: clamp(1.15rem, 1rem + 0.5vw, 1.45rem); line-height: 1.45; }

/* Letter voice: the parts written as a letter are set in a book serif */
.letter p {
  margin: 0 0 0.9em;
  color: #161616;
  font-family: var(--serif);
  font-size: clamp(1.16rem, 1.04rem + 0.38vw, 1.34rem);
  line-height: 1.62;
}
.letter strong { font-weight: 650; color: var(--ink); }

.cols { columns: 2 340px; column-gap: clamp(32px, 5vw, 72px); }
.cols p { margin: 0 0 1em; break-inside: avoid; }

/* Highlighter, like the marker in the course graphics */
.mark {
  padding: 0 0.1em;
  background-image: linear-gradient(var(--y), var(--y));
  background-position: 0 85%;
  background-repeat: no-repeat;
  background-size: 100% 0.62em;
  -webkit-box-decoration-break: clone;
  box-decoration-break: clone;
}
.js .mark { background-size: 0 0.62em; transition: background-size 0.9s var(--ease) 0.3s; }
.js .is-in .mark, .js .hero.is-ready .mark { background-size: 100% 0.62em; }

/* Yellow block behind a word, tilted, as in the "Learn Both" graphic */
.hlbox { position: relative; z-index: 0; display: inline-block; padding: 0 0.08em; }
.hlbox::before {
  content: "";
  position: absolute;
  inset: 0.08em -0.04em -0.02em;
  z-index: -1;
  background: var(--y);
  transform: rotate(-1.6deg) scaleX(var(--s, 1));
  transform-origin: left;
  transition: transform 0.7s var(--ease) 0.25s;
}
.js .hlbox::before { --s: 0; }
.js .is-in .hlbox::before { --s: 1; }

/* Reveal on scroll — short and quiet */
/* Fills the phone's status-bar band so content doesn't show through above the sticky nav */
body::before { content: ""; position: fixed; inset: 0 0 auto; z-index: 101; height: env(safe-area-inset-top, 0px); background: #fff; }

.js .reveal { translate: 0 18px; transition: translate 0.7s var(--ease); transition-delay: calc(var(--d, 0) * 80ms); }
.js .reveal.is-in { translate: 0 0; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.6em;
  padding: 1.05em 1.6em;
  border: 2px solid var(--ink);
  background: var(--y);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 1.05rem;
  font-weight: 850;
  font-stretch: 85%;
  line-height: 1;
  letter-spacing: 0.03em;
  text-decoration: none;
  text-transform: uppercase;
  white-space: nowrap;
  cursor: pointer;
  box-shadow: 5px 5px 0 var(--ink);
  transition: transform 0.15s var(--ease), box-shadow 0.15s var(--ease), background-color 0.15s;
}
.btn:hover { transform: translate(-2px, -2px); box-shadow: 7px 7px 0 var(--ink); }
.btn:active { transform: translate(3px, 3px); box-shadow: 2px 2px 0 var(--ink); }
.on-dark .btn { border-color: var(--y); box-shadow: 5px 5px 0 #fff; }
.on-dark .btn:hover { box-shadow: 7px 7px 0 #fff; }
.on-dark .btn:active { box-shadow: 2px 2px 0 #fff; }
.btn--dark { background: var(--ink); color: var(--y); border-color: var(--ink); box-shadow: 5px 5px 0 #fff; }
.btn--dark:hover { box-shadow: 7px 7px 0 #fff; }
.btn--sm { padding: 0.72em 1.05em; font-size: 0.88rem; box-shadow: 3px 3px 0 var(--ink); }
.btn--sm:hover { box-shadow: 5px 5px 0 var(--ink); }
.on-dark .btn--sm { box-shadow: 3px 3px 0 #fff; }
.btn--xl { padding: 1.2em 2em; font-size: 1.35rem; }

.linkbtn {
  padding: 0;
  border: 0;
  background: none;
  font-weight: 800;
  font-stretch: 85%;
  font-size: 0.95rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  text-decoration: underline;
  text-decoration-thickness: 2px;
  text-underline-offset: 4px;
  cursor: pointer;
}

/* ---------- Progress line ---------- */
.progress { position: fixed; inset: 0 0 auto; z-index: 150; height: 4px; pointer-events: none; }
.progress span { display: block; height: 100%; background: var(--y); transform: scaleX(var(--p, 0)); transform-origin: 0 50%; }

/* ---------- Top bar + nav ---------- */
.topbar { background: var(--ink); color: #fff; font-size: 0.9rem; }
.topbar__in { display: flex; align-items: center; justify-content: center; gap: 18px; min-height: 40px; }
.topbar p { margin: 0; color: #cfcfcf; }
.topbar p strong { color: #fff; font-weight: 800; }
.topbar a {
  display: inline-flex;
  align-items: center;
  gap: 0.4em;
  color: var(--y);
  font-weight: 800;
  font-stretch: 85%;
  letter-spacing: 0.04em;
  text-decoration: none;
  text-transform: uppercase;
}
.topbar a:hover { text-decoration: underline; text-underline-offset: 3px; }

.nav { position: sticky; top: env(safe-area-inset-top, 0px); z-index: 100; background: #fff; border-bottom: 2px solid transparent; transition: border-color 0.2s; }
.nav.is-scrolled { border-bottom-color: var(--ink); }
.nav__in { display: flex; align-items: center; justify-content: space-between; gap: 20px; height: 72px; }
.nav__links { display: none; gap: 30px; }
@media (min-width: 960px) { .nav__links { display: flex; } }
.nav__links a {
  font-size: 0.92rem;
  font-weight: 750;
  font-stretch: 85%;
  letter-spacing: 0.05em;
  text-decoration: none;
  text-transform: uppercase;
  background-image: linear-gradient(var(--ink), var(--ink));
  background-position: 0 100%;
  background-repeat: no-repeat;
  background-size: 0 2px;
  padding-bottom: 3px;
  transition: background-size 0.25s var(--ease);
}
.nav__links a:hover { background-size: 100% 2px; }

.brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; }
.brand__ai {
  padding: 6px 8px 5px;
  background: var(--ink);
  color: var(--y);
  font-size: 1.25rem;
  font-weight: 900;
  font-stretch: 68%;
  line-height: 1;
  letter-spacing: 0.01em;
  text-transform: uppercase;
}
.brand__rest { color: var(--ink); font-size: 0.72rem; font-weight: 800; font-stretch: 78%; line-height: 1.12; letter-spacing: 0.06em; text-transform: uppercase; }
.brand--light .brand__ai { background: var(--y); color: var(--ink); }
.brand--light .brand__rest { color: #fff; }
@media (max-width: 400px) { .brand__rest { display: none; } }

/* ==========================================================================
   Hello
   ========================================================================== */
.hero { overflow: hidden; }
.hero__grid { display: grid; gap: 32px; }
@media (min-width: 1000px) { .hero__grid { grid-template-columns: minmax(0, 1.3fr) minmax(0, 0.7fr); gap: clamp(40px, 5vw, 80px); } }
.hero__letter { padding-top: clamp(24px, 3.4vw, 48px); }
.hello { margin: 0 0 14px; font-family: var(--serif); font-size: clamp(1.5rem, 1.2rem + 1.2vw, 2.2rem); font-style: italic; }

.asks { margin: 0; padding: 0; list-style: none; border-top: 2px solid var(--ink); }
.ask { display: grid; grid-template-columns: auto 1fr; gap: 18px; align-items: start; padding: 15px 0; border-bottom: 1px solid var(--hair); }
.ask p {
  margin: 0;
  color: var(--ink);
  font-size: clamp(1.18rem, 0.98rem + 0.8vw, 1.6rem);
  font-weight: 600;
  font-stretch: 90%;
  line-height: 1.22;
  letter-spacing: -0.01em;
}
.ask__tick { display: grid; place-items: center; width: 34px; height: 34px; margin-top: 2px; border: 2px solid var(--ink); background: #fff; transition: background-color 0.3s; }
.ask__tick .icon { width: 22px; height: 22px; stroke-width: 3.4; }
.js .ask__tick .icon path { stroke-dasharray: 26; stroke-dashoffset: 26; transition: stroke-dashoffset 0.45s var(--ease); }
.js .hero.is-ready .ask__tick { background: var(--y); transition-delay: calc(0.5s + var(--i) * 0.45s); }
.js .hero.is-ready .ask__tick .icon path { stroke-dashoffset: 0; transition-delay: calc(0.6s + var(--i) * 0.45s); }
html:not(.js) .ask__tick { background: var(--y); }

.guess { margin: 22px 0 0; color: var(--ink); font-size: clamp(1.12rem, 1rem + 0.45vw, 1.38rem); line-height: 1.4; }
.guess__lead {
  display: block;
  margin-bottom: 8px;
  font-size: clamp(2.2rem, 1.4rem + 2.2vw, 3.2rem);
  font-weight: 900;
  font-stretch: 68%;
  line-height: 0.95;
  text-transform: uppercase;
}
.guess strong { font-weight: 700; }
.hero__cta { display: flex; flex-wrap: wrap; align-items: center; gap: 16px 24px; margin: 26px 0 clamp(40px, 5vw, 72px); }
.hero__price { margin: 0; color: var(--mute); font-size: 1rem; }
.hero__price strong { color: var(--ink); font-size: 1.7rem; font-weight: 900; font-stretch: 72%; vertical-align: -0.08em; }

.hero__covers {
  position: relative;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  min-height: 560px;
  overflow: hidden;
  -webkit-mask-image: linear-gradient(transparent, #000 9%, #000 91%, transparent);
  mask-image: linear-gradient(transparent, #000 9%, #000 91%, transparent);
}
.ccol { position: relative; overflow: hidden; }
.ccol__track { display: flex; flex-direction: column; gap: 16px; animation: colUp 46s linear infinite; }
.ccol--b .ccol__track { animation-name: colDown; animation-duration: 52s; }
.hero__covers:hover .ccol__track { animation-play-state: paused; }
.ccol img { display: block; width: 100%; height: auto; box-shadow: 0 16px 28px -14px rgba(0, 0, 0, 0.55); }
@keyframes colUp { to { transform: translateY(calc(-50% - 8px)); } }
@keyframes colDown { from { transform: translateY(calc(-50% - 8px)); } to { transform: translateY(0); } }
@media (max-width: 999px) {
  .hero__covers {
    display: block;
    min-height: 0;
    margin-inline: calc(var(--gut) * -1);
    -webkit-mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent);
    mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent);
  }
  .ccol--b { display: none; }
  .ccol__track { flex-direction: row; width: max-content; padding: 6px 0 30px; animation-name: rowLeft; animation-duration: 40s; }
  .ccol img { width: clamp(120px, 34vw, 170px); }
}
@keyframes rowLeft { to { transform: translateX(calc(-50% - 8px)); } }

/* ==========================================================================
   Introducing
   ========================================================================== */
.intro { padding-block: clamp(64px, 9vw, 128px); background: var(--ink); color: #fff; }
.intro__kicker {
  margin: 0 0 18px;
  color: var(--y);
  font-size: clamp(1rem, 0.85rem + 0.6vw, 1.4rem);
  font-weight: 800;
  font-stretch: 80%;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}
.intro__title {
  color: #fff;
  font-size: clamp(3rem, 0.4rem + 10vw, 11rem);
  font-weight: 900;
  font-stretch: 66%;
  line-height: 0.84;
  letter-spacing: -0.01em;
  text-transform: uppercase;
  text-wrap: balance;
}
.intro__points { display: grid; margin: clamp(40px, 5vw, 72px) 0 clamp(36px, 4vw, 56px); padding: 0; list-style: none; border-top: 1px solid rgba(255, 255, 255, 0.28); }
.intro__points li { padding: 24px 0; border-bottom: 1px solid rgba(255, 255, 255, 0.28); color: #e6e6e6; font-size: 1.12rem; line-height: 1.5; }
.intro__points .n { display: block; margin-bottom: 12px; color: var(--y); font-size: 2.6rem; font-weight: 900; font-stretch: 66%; line-height: 1; }
@media (min-width: 900px) {
  .intro__points { grid-template-columns: repeat(3, 1fr); }
  .intro__points li { padding: 28px 32px 8px; border-bottom: 0; border-right: 1px solid rgba(255, 255, 255, 0.28); }
  .intro__points li:first-child { padding-left: 0; }
  .intro__points li:last-child { border-right: 0; }
}

/* ==========================================================================
   Handoff
   ========================================================================== */
.handoff { padding-block: var(--sec) 0; }
.handoff__in { position: relative; max-width: 860px; }
.handoff p { margin: 0 0 0.6em; color: var(--ink); font-family: var(--serif); font-size: clamp(1.35rem, 1.05rem + 1.2vw, 2.15rem); line-height: 1.42; }
.handoff p strong { font-weight: 650; }
.handoff__pass { font-style: italic; }
.handoff__arrow { display: block; width: 92px; height: 108px; margin: 8px 0 0 36px; color: var(--ink); }
.handoff__arrow path { fill: none; stroke: currentColor; stroke-width: 3.5; stroke-linecap: round; stroke-linejoin: round; }
.js .handoff__arrow .draw { stroke-dasharray: 220; stroke-dashoffset: 220; transition: stroke-dashoffset 1.1s var(--ease) 0.5s; }
.js .is-in .handoff__arrow .draw { stroke-dashoffset: 0; }

/* ==========================================================================
   Cory
   ========================================================================== */
.cory { padding-block: 8px var(--sec); }
.cory__title {
  margin-bottom: clamp(36px, 5vw, 64px);
  padding-bottom: 18px;
  border-bottom: 2px solid var(--ink);
  font-size: clamp(3.4rem, 0.8rem + 10vw, 11.5rem);
  font-weight: 900;
  font-stretch: 64%;
  line-height: 0.84;
  text-transform: uppercase;
}
.cory__grid { display: grid; gap: clamp(36px, 5vw, 88px); }
@media (min-width: 960px) { .cory__grid { grid-template-columns: 0.95fr 1.05fr; } }
.pay { margin: 0 0 40px; }
.pay figcaption { margin-bottom: 16px; color: var(--ink); font-size: clamp(1.2rem, 1rem + 0.7vw, 1.6rem); font-weight: 500; font-stretch: 90%; line-height: 1.3; }
.pay figcaption strong { font-weight: 850; font-variant-numeric: tabular-nums; }
.pay__shot { display: inline-block; max-width: 100%; padding: 10px; border: 2px solid var(--ink); background: #fff; box-shadow: 8px 8px 0 var(--y); }
.pay__shot img { display: block; }
.cory__more { margin: 0; color: var(--text); font-family: var(--serif); font-size: 1.2rem; font-style: italic; line-height: 1.5; }
.letter .cory__big { margin-bottom: 0.8em; font-family: var(--sans); font-size: clamp(1.7rem, 1.1rem + 2vw, 2.7rem); font-weight: 900; font-stretch: 72%; line-height: 0.98; text-transform: uppercase; }
.letter .cory__big strong { font-weight: 900; }

.cory__claim { display: grid; gap: 20px; margin-top: clamp(56px, 7vw, 104px); padding-top: clamp(28px, 4vw, 48px); border-top: 2px solid var(--ink); }
@media (min-width: 960px) { .cory__claim { grid-template-columns: 1.35fr 0.65fr; align-items: end; } }
.cory__claim-big { margin: 0; color: var(--ink); font-size: clamp(2.1rem, 1.1rem + 3.6vw, 4.6rem); font-weight: 850; font-stretch: 70%; line-height: 0.95; text-transform: uppercase; }
.cory__claim-big strong { font-weight: 900; }
.cory__claim-small { margin: 0; color: var(--text); font-size: 1.15rem; }

/* ==========================================================================
   Working towards (now / after)
   ========================================================================== */
.toward { padding-block: var(--sec); background: var(--soft); transition: background-color 0.6s var(--ease); }
.toward[data-state="after"] { background: var(--y); }
.ba { margin-top: clamp(36px, 4vw, 60px); }
.ba__tabs { display: grid; grid-template-columns: 1fr 1fr; border: 2px solid var(--ink); background: #fff; }
.ba__tab {
  position: relative;
  padding: 22px 24px;
  border: 0;
  background: transparent;
  color: var(--ink);
  font-size: clamp(1rem, 0.85rem + 0.6vw, 1.45rem);
  font-weight: 850;
  font-stretch: 78%;
  line-height: 1.1;
  text-align: left;
  text-transform: uppercase;
  cursor: pointer;
  transition: background-color 0.3s, color 0.3s;
}
.ba__tab em { font-style: normal; }
.ba__tab + .ba__tab { border-left: 2px solid var(--ink); }
.ba__tab:hover { background: #f6f6f6; }
.ba__tab.is-active { background: var(--ink); color: #fff; }
.ba__tab.is-active em { color: var(--y); }
.ba__tab.is-hint:not(.is-active)::after {
  content: "";
  position: absolute;
  top: 14px;
  right: 14px;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--y);
  box-shadow: 0 0 0 2px var(--ink);
  animation: blip 1.4s ease-in-out infinite;
}
.ba__panels { border: 2px solid var(--ink); border-top: 0; background: #fff; }
.ba__list { margin: 0; padding: 0; list-style: none; counter-reset: ba; }
.ba__list li {
  display: grid;
  grid-template-columns: clamp(52px, 7vw, 92px) 1fr;
  align-items: baseline;
  padding: 22px clamp(18px, 3vw, 36px) 22px 0;
  border-top: 1px solid var(--hair);
  color: var(--ink);
  font-size: clamp(1.08rem, 0.95rem + 0.5vw, 1.4rem);
  line-height: 1.4;
  counter-increment: ba;
}
.ba__list li:first-child { border-top: 0; }
.ba__list li::before {
  content: counter(ba, decimal-leading-zero);
  justify-self: center;
  color: var(--mute);
  font-size: 1.05rem;
  font-weight: 900;
  font-stretch: 70%;
}
#ba-after li::before { color: var(--ink); }
.js .ba__list[hidden] { display: none; }
.js .ba__list.is-swap li { animation: liIn 0.5s var(--ease) both; }
.js .ba__list.is-swap li:nth-child(2) { animation-delay: 0.05s; }
.js .ba__list.is-swap li:nth-child(3) { animation-delay: 0.1s; }
.js .ba__list.is-swap li:nth-child(4) { animation-delay: 0.15s; }
.js .ba__list.is-swap li:nth-child(5) { animation-delay: 0.2s; }
html:not(.js) #ba-after { border-top: 2px solid var(--ink); }
@media (max-width: 640px) {
  .ba__tabs { grid-template-columns: 1fr; }
  .ba__tab + .ba__tab { border-left: 0; border-top: 2px solid var(--ink); }
}

/* ==========================================================================
   Harry Potter
   ========================================================================== */
.hp { padding-block: var(--sec); }
.hp__sub { max-width: 30em; margin: 28px 0 clamp(44px, 6vw, 80px); color: var(--ink); font-family: var(--serif); font-size: clamp(1.3rem, 1.05rem + 1vw, 2rem); font-style: italic; line-height: 1.35; }
.hp__grid { display: grid; gap: 40px; align-items: center; }
@media (min-width: 960px) { .hp__grid { grid-template-columns: 1fr 1fr; gap: 72px; } }
.letter .hp__imagine { margin-top: 1.2em; font-family: var(--sans); font-size: clamp(1.8rem, 1.2rem + 2vw, 3rem); font-weight: 900; font-stretch: 70%; line-height: 0.98; text-transform: uppercase; }

.hundred { display: grid; gap: 14px; }
.hundred__shelf { display: flex; align-items: flex-end; gap: 3px; height: 74px; padding: 0 4px; border-bottom: 4px solid var(--ink); }
.hundred__shelf i { flex: 1; height: var(--h); background: var(--c); box-shadow: inset -2px 0 0 rgba(0, 0, 0, 0.2); }
.js .hundred__shelf i { transform: scaleY(0.12); transform-origin: 50% 100%; transition: transform 0.4s var(--ease); transition-delay: calc(var(--n) * 14ms); }
.js .hundred.is-in .hundred__shelf i { transform: none; }

.statement {
  margin: clamp(56px, 7vw, 104px) 0;
  padding: clamp(26px, 4vw, 52px);
  background: var(--ink);
  color: #fff;
  font-size: clamp(1.7rem, 0.9rem + 2.9vw, 3.6rem);
  font-weight: 850;
  font-stretch: 70%;
  line-height: 1;
  text-transform: uppercase;
  text-wrap: balance;
}
.statement strong { font-weight: inherit; }

/* ==========================================================================
   Process
   ========================================================================== */
.process { padding-block: var(--sec); border-top: 2px solid var(--ink); }
.process__head { display: grid; gap: 22px; margin-bottom: clamp(44px, 6vw, 96px); }
@media (min-width: 960px) { .process__head { grid-template-columns: 1.5fr 0.5fr; align-items: end; } }
.process__grid { display: grid; gap: 0; }
@media (min-width: 1040px) { .process__grid { grid-template-columns: 290px minmax(0, 1fr); gap: 72px; } }

.pindex { display: none; }
@media (min-width: 1040px) {
  .pindex { position: sticky; top: 104px; display: block; align-self: start; }
  .pindex ol { position: relative; margin: 0; padding: 0 0 0 22px; list-style: none; }
  .pindex li + li { margin-top: 2px; }
  .pindex a {
    display: grid;
    grid-template-columns: 36px 1fr;
    padding: 8px 0;
    color: #8d8d8d;
    font-size: 0.97rem;
    font-weight: 650;
    line-height: 1.28;
    text-decoration: none;
    transition: color 0.2s;
  }
  .pindex a span { font-weight: 900; font-stretch: 72%; font-size: 1rem; }
  .pindex a:hover { color: var(--ink); }
  .pindex a.is-done { color: #3a3a3a; }
  .pindex a.is-active { color: var(--ink); }
  .pindex a.is-active span { justify-self: start; height: fit-content; margin-left: -5px; padding: 0 5px; background: var(--y); }
  .pindex__bar { position: absolute; left: 0; top: 4px; bottom: 4px; width: 3px; background: var(--hair); }
  .pindex__bar i { display: block; width: 100%; height: calc(var(--p, 0) * 100%); background: var(--ink); transition: height 0.35s var(--ease); }
}

.pstrip {
  position: sticky;
  top: calc(72px + env(safe-area-inset-top, 0px));
  z-index: 5;
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 4px 14px;
  align-items: center;
  margin: 0 calc(var(--gut) * -1) 32px;
  padding: 12px var(--gut) 0;
  background: #fff;
  border-bottom: 2px solid var(--ink);
}
@media (min-width: 1040px) { .pstrip { display: none; } }
.pstrip__n { font-size: 0.85rem; font-weight: 900; font-stretch: 75%; letter-spacing: 0.04em; }
.pstrip__n b { padding: 0 4px; background: var(--y); }
.pstrip__t { overflow: hidden; font-size: 0.92rem; font-weight: 650; text-overflow: ellipsis; white-space: nowrap; }
.pstrip__bar { grid-column: 1 / -1; height: 4px; margin: 8px calc(var(--gut) * -1) -2px; background: var(--hair); }
.pstrip__bar i { display: block; width: calc(var(--p, 0.1) * 100%); height: 100%; background: var(--ink); transition: width 0.35s var(--ease); }

.pstep { padding-bottom: clamp(52px, 7vw, 96px); margin-bottom: clamp(52px, 7vw, 96px); border-bottom: 1px solid var(--hair); }
.pstep:last-child { margin-bottom: 0; padding-bottom: 0; border-bottom: 0; }
.pstep h3 {
  margin-bottom: 26px;
  font-size: clamp(2rem, 1.15rem + 3vw, 3.9rem);
  font-weight: 850;
  font-stretch: 70%;
  line-height: 0.92;
  text-transform: uppercase;
  text-wrap: balance;
}
.pstep__n { display: inline-block; margin-right: 0.12em; padding: 0.06em 0.22em 0; background: var(--ink); color: var(--y); }
.pstep p { max-width: 40em; margin: 0 0 1em; }
.pstep strong { color: var(--ink); }
.warn { padding: 18px 20px; border-left: 6px solid var(--red); background: #fff3f0; color: var(--ink); }

/* Step 2 — the five angles as a stack of book spines */
.stack { max-width: 680px; margin: 30px 0 36px; padding: 0; list-style: none; counter-reset: s; }
.stack li {
  position: relative;
  display: flex;
  align-items: center;
  gap: 16px;
  width: var(--w);
  min-height: 60px;
  margin: 0 0 4px var(--x);
  padding: 10px 56px 10px 20px;
  background: var(--c);
  color: var(--t);
  font-size: clamp(0.92rem, 0.8rem + 0.45vw, 1.12rem);
  font-weight: 850;
  font-stretch: 78%;
  line-height: 1.12;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  counter-increment: s;
  box-shadow: inset 0 3px 0 rgba(255, 255, 255, 0.14), inset 0 -4px 0 rgba(0, 0, 0, 0.28), 0 8px 14px -10px rgba(0, 0, 0, 0.7);
  transition: transform 0.3s var(--ease), translate 0.6s var(--ease), opacity 0.5s;
}
.stack li::before { content: counter(s, decimal-leading-zero); flex: none; font-size: 0.8em; opacity: 0.7; }
.stack li::after { content: ""; position: absolute; right: 18px; top: 10px; bottom: 10px; width: 12px; border-inline: 2px solid currentColor; opacity: 0.45; }
.stack li:hover { transform: translateX(14px); }
.js .stack li { translate: 40px 0; }
.js .stack.is-in li { translate: 0 0; }
.js .stack.is-in li:nth-child(2) { transition-delay: 0s, 0.12s, 0.12s; }
.js .stack.is-in li:nth-child(3) { transition-delay: 0s, 0.24s, 0.24s; }
.js .stack.is-in li:nth-child(4) { transition-delay: 0s, 0.36s, 0.36s; }
.js .stack.is-in li:nth-child(5) { transition-delay: 0s, 0.48s, 0.48s; }

/* Step 3 — the example title set like a cover line */
.pstep .titlecard { display: inline-block; max-width: 30em; padding: 22px 26px; border: 2px solid var(--ink); box-shadow: 8px 8px 0 var(--y); }
.titlecard strong { display: block; margin-top: 6px; font-size: clamp(1.4rem, 1rem + 1.4vw, 2.1rem); font-weight: 900; font-stretch: 72%; line-height: 1; text-transform: uppercase; }

/* Step 4 — covers */
.coverdemo { display: grid; gap: 32px; align-items: center; margin: 34px 0 30px; }
@media (min-width: 720px) { .coverdemo { grid-template-columns: 250px 1fr; gap: 48px; } }
.cmp { width: min(100%, 250px); margin: 0; }
.cmp__frame { --pos: 50%; position: relative; aspect-ratio: 344 / 550; overflow: hidden; box-shadow: 0 24px 40px -20px rgba(0, 0, 0, 0.6); user-select: none; touch-action: pan-y; }
.cmp__img { position: absolute; inset: 0; display: block; width: 100%; height: 100%; object-fit: cover; }
.cmp__top { position: absolute; inset: 0; clip-path: inset(0 calc(100% - var(--pos)) 0 0); }
.cmp__handle {
  position: absolute;
  top: 50%;
  left: var(--pos);
  z-index: 3;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border: 2px solid var(--ink);
  background: var(--y);
  color: var(--ink);
  transform: translate(-50%, -50%);
  pointer-events: none;
}
.cmp__handle .icon { width: 13px; height: 13px; stroke-width: 3; }
.cmp__handle::before { content: ""; position: absolute; left: 50%; top: -100vh; bottom: -100vh; z-index: -1; width: 3px; background: var(--y); transform: translateX(-50%); }
.cmp__range { position: absolute; inset: 0; z-index: 4; width: 100%; height: 100%; margin: 0; opacity: 0; cursor: ew-resize; -webkit-appearance: none; appearance: none; }
.cmp__range::-webkit-slider-thumb { width: 44px; height: 100%; -webkit-appearance: none; appearance: none; }
.cmp:has(.cmp__range:focus-visible) .cmp__handle { outline: 3px solid var(--ink); outline-offset: 3px; }
html:not(.js) .cmp__handle, html:not(.js) .cmp__range { display: none; }

.fan { position: relative; height: clamp(240px, 30vw, 330px); }
.fan img {
  position: absolute;
  bottom: 0;
  left: 50%;
  width: 42%;
  max-width: 200px;
  box-shadow: 0 20px 34px -18px rgba(0, 0, 0, 0.6);
  transform-origin: 50% 120%;
  transform: translateX(-50%) rotate(var(--r)) translateX(var(--tx));
  transition: transform 0.5s var(--ease);
}
.fan img:nth-child(1) { --r: -16deg; --tx: -10%; }
.fan img:nth-child(2) { --r: -5deg; --tx: -2%; }
.fan img:nth-child(3) { --r: 6deg; --tx: 4%; }
.fan img:nth-child(4) { --r: 17deg; --tx: 10%; }
.fan:hover img:nth-child(1) { --r: -24deg; --tx: -26%; }
.fan:hover img:nth-child(2) { --r: -8deg; --tx: -8%; }
.fan:hover img:nth-child(3) { --r: 9deg; --tx: 10%; }
.fan:hover img:nth-child(4) { --r: 25deg; --tx: 28%; }

/* Step 7 — auditions */
.aud { display: flex; flex-wrap: wrap; align-items: center; gap: 24px; margin: 28px 0 26px; padding: 22px 24px; border: 2px solid var(--ink); }
.aud__num { color: var(--ink); font-size: clamp(4rem, 2.6rem + 4vw, 6.4rem); font-weight: 900; font-stretch: 64%; line-height: 0.8; font-variant-numeric: tabular-nums; }
.aud__dots { display: grid; flex: 1; grid-template-columns: repeat(20, 1fr); gap: 4px; min-width: 220px; }
.aud__dots i { aspect-ratio: 1; border-radius: 50%; background: var(--ink); }
.aud__dots i:nth-child(-n + 20) { background: var(--y); box-shadow: inset 0 0 0 2px var(--ink); }
.js .aud__dots i { transform: scale(0.35); transition: transform 0.3s var(--ease); transition-delay: calc(var(--n) * 12ms); }
.js .aud.is-in .aud__dots i { transform: none; }

/* Step 9 — 10 vs 100 */
.bars { display: grid; gap: 10px; max-width: 660px; margin: 26px 0 30px; }
.bars__row { display: grid; grid-template-columns: 150px 1fr; gap: 14px; align-items: center; font-size: 0.95rem; font-weight: 750; font-stretch: 85%; text-transform: uppercase; }
.bars__bar { position: relative; height: 36px; border: 2px solid var(--ink); }
.bars__bar::after { content: ""; position: absolute; inset: 0 auto 0 0; width: calc(var(--v) * 100%); background: var(--ink); transform: scaleX(0); transform-origin: left; transition: transform 1.3s var(--ease) 0.2s; }
.bars__row--top .bars__bar::after { background: var(--y); box-shadow: inset 0 0 0 0 var(--ink); }
.bars.is-in .bars__bar::after, html:not(.js) .bars__bar::after { transform: scaleX(1); }
@media (max-width: 480px) { .bars__row { grid-template-columns: 1fr; gap: 6px; } }

.pstep .pquote { padding-left: 20px; border-left: 8px solid var(--y); color: var(--ink); font-size: clamp(1.8rem, 1.1rem + 2.4vw, 3.2rem); font-weight: 900; font-stretch: 70%; line-height: 0.98; text-transform: uppercase; }

/* ==========================================================================
   Learn Both
   ========================================================================== */
.both { padding-block: var(--sec); background: var(--soft); }
.both__title {
  max-width: 13em;
  margin: 0 auto clamp(44px, 6vw, 80px);
  font-size: clamp(2.4rem, 1rem + 5.2vw, 6.2rem);
  font-weight: 900;
  font-stretch: 88%;
  line-height: 0.95;
  letter-spacing: -0.025em;
  text-align: center;
  text-wrap: balance;
}
.both__grid { display: grid; gap: 24px; }
@media (min-width: 960px) { .both__grid { grid-template-columns: 1fr 84px 1fr; gap: 0; } }
.side { background: #fff; }
.side header { padding: 24px 28px; background: var(--ink); color: #fff; }
.side header span { display: block; font-size: 1.5rem; font-weight: 400; line-height: 1.1; }
.side header strong { font-size: 2.1rem; font-weight: 900; letter-spacing: -0.01em; }
.side header small { display: block; margin-top: 8px; color: #b8b8b8; font-size: 0.98rem; }
.side dl { margin: 0; padding: 4px 28px 8px; }
.side dl div { padding: 20px 0; border-bottom: 1px solid var(--hair); }
.side dl div:last-child { border-bottom: 0; }
.side dt { color: var(--ink); font-size: 1.15rem; font-weight: 850; line-height: 1.25; }
.side dd { margin: 6px 0 0; color: #4a4a4a; font-size: 1.02rem; line-height: 1.5; }
.both__plus { position: relative; display: grid; place-items: center; }
.both__plus span {
  position: relative;
  z-index: 1;
  display: grid;
  place-items: center;
  width: 62px;
  height: 62px;
  border-radius: 50%;
  background: var(--y);
  color: var(--ink);
  font-size: 2.4rem;
  font-weight: 800;
  line-height: 1;
}
@media (min-width: 960px) { .both__plus::before { content: ""; position: absolute; left: 50%; top: 0; bottom: 0; width: 2px; background: var(--ink); } }
.both__band {
  margin: clamp(40px, 5vw, 72px) 0 0;
  padding: clamp(28px, 4vw, 52px);
  background: var(--ink);
  color: #fff;
  font-size: clamp(1.5rem, 0.95rem + 2.2vw, 3rem);
  font-weight: 900;
  font-stretch: 92%;
  line-height: 1.08;
  letter-spacing: -0.015em;
  text-align: center;
  text-wrap: balance;
}

/* ==========================================================================
   Why
   ========================================================================== */
.why { padding-block: var(--sec); }
.why .display { margin-bottom: clamp(36px, 5vw, 64px); }
.why__grid { display: grid; gap: 40px; }
@media (min-width: 960px) { .why__grid { grid-template-columns: 1.1fr 0.9fr; gap: 72px; align-items: start; } }
.why__dm { margin: 0; padding: clamp(10px, 1.6vw, 18px); background: #000; box-shadow: 12px 12px 0 var(--y); }
@media (min-width: 960px) { .why__dm { position: sticky; top: 120px; } }
.why__dm img { display: block; width: 100%; }

/* ==========================================================================
   Software
   ========================================================================== */
.soft { padding-block: var(--sec); background: var(--ink); color: #d9d9d9; }
.soft .display { margin-bottom: clamp(32px, 4vw, 56px); color: #fff; }
.soft .cols strong { color: #fff; }

.race { margin-top: clamp(48px, 6vw, 88px); padding: clamp(20px, 3vw, 40px); border: 2px solid #fff; }
.race__tag { display: inline-block; padding: 6px 10px; background: var(--y); color: var(--ink); font-size: 0.78rem; font-weight: 850; font-stretch: 85%; letter-spacing: 0.12em; text-transform: uppercase; }
.race__head h3 { margin: 18px 0 10px; color: #fff; font-size: clamp(2rem, 1.1rem + 3.4vw, 4.4rem); font-weight: 900; font-stretch: 82%; line-height: 0.95; letter-spacing: -0.02em; }
.race__head p { max-width: 42em; margin: 0 0 clamp(28px, 4vw, 44px); color: #b5b5b5; font-size: 1.15rem; }
.race__grid { display: grid; gap: 20px; }
@media (min-width: 1100px) { .race__grid { grid-template-columns: 0.82fr auto 1.35fr; align-items: stretch; } }
.manual, .auto { display: flex; flex-direction: column; padding: clamp(18px, 2.4vw, 28px); border: 1px solid #333; background: #141414; }
.race__label { margin: 0 0 6px; font-size: 0.78rem; font-weight: 850; letter-spacing: 0.14em; text-transform: uppercase; }
.race__label--red { color: #ff7a61; }
.race__label--green { color: #5fd69a; }
.manual h4, .auto h4 { margin: 0 0 20px; color: #fff; font-size: clamp(1.3rem, 1.05rem + 0.9vw, 1.75rem); font-weight: 850; font-stretch: 85%; line-height: 1.1; }
.race__vs { display: grid; place-items: center; align-self: center; justify-self: center; width: 56px; height: 56px; border: 2px solid #fff; border-radius: 50%; background: var(--ink); color: #fff; font-weight: 900; font-stretch: 75%; }

.loop { position: relative; margin-bottom: 22px; }
.loop ol { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin: 0; padding: 0; list-style: none; counter-reset: lp; }
.loop li { display: flex; align-items: center; gap: 10px; padding: 12px; border: 1px solid #333; color: #9b9b9b; font-size: 0.95rem; font-weight: 650; counter-increment: lp; transition: color 0.15s, border-color 0.15s, background-color 0.15s; }
.loop li::before { content: counter(lp); display: grid; place-items: center; flex: none; width: 24px; height: 24px; background: rgba(255, 122, 97, 0.16); color: #ff7a61; font-size: 0.78rem; font-weight: 900; }
.loop li.is-on { border-color: #ff7a61; background: rgba(255, 122, 97, 0.1); color: #fff; }
.loop__x { display: flex; align-items: baseline; gap: 10px; margin: 16px 0 0; color: #9b9b9b; font-size: 0.95rem; }
.loop__x b { color: #ff7a61; font-size: 2.6rem; font-weight: 900; font-stretch: 70%; line-height: 1; }

.meter { margin-top: auto; padding: 16px; border: 1px solid #333; background: #0c0c0c; }
.meter__head { display: flex; justify-content: space-between; gap: 12px; margin: 0 0 10px; color: #fff; font-size: 0.95rem; font-weight: 750; }
.meter__val { color: #ff7a61; font-variant-numeric: tabular-nums; }
.meter__bar { display: block; height: 8px; background: #2a2a2a; }
.meter__bar i { display: block; width: 14%; height: 100%; background: #ff7a61; transition: width 0.2s linear; }
.meter__bar--green i { width: 62%; background: #3fc47f; }
.meter__foot { margin: 10px 0 0; color: #8f8f8f; font-size: 0.88rem; }

.auto { border-color: rgba(95, 214, 154, 0.35); }
.auto__inputs { display: grid; gap: 10px; margin-bottom: 14px; }
@media (min-width: 560px) { .auto__inputs { grid-template-columns: 1fr 1fr; } }
.incard { padding: 14px 16px; border: 1px solid #333; background: #0c0c0c; color: #bdbdbd; font-size: 0.88rem; line-height: 1.55; }
.incard__h { display: flex; align-items: center; gap: 8px; margin: 0 0 8px; color: #fff; font-weight: 800; }
.incard__h .icon { color: #5fd69a; }
.incard ol { margin: 0; padding-left: 1.3em; }
.incard p { margin: 0; }
.incard .incard__more { margin-top: 6px; color: #5fd69a; font-weight: 750; }

.win { border: 1px solid #333; background: #0a0a0a; font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; }
.win__bar { display: flex; align-items: center; gap: 7px; padding: 10px 12px; border-bottom: 1px solid #262626; background: #161616; color: #9b9b9b; font-size: 0.78rem; }
.win__bar i { width: 10px; height: 10px; border-radius: 50%; background: #ff5f57; }
.win__bar i:nth-child(2) { background: #febc2e; }
.win__bar i:nth-child(3) { background: #28c840; }
.win__bar span { margin-left: 6px; }
.win__status { margin-left: auto; padding: 2px 8px; border: 1px solid rgba(95, 214, 154, 0.45); color: #5fd69a; font-size: 0.72rem; font-style: normal; }
.win__status.is-done { border-color: #5fd69a; background: #5fd69a; color: #0a0a0a; font-weight: 700; }
.win__body { padding: 12px; }
.win__progress { margin: 0 0 8px; color: #9b9b9b; font-size: 0.8rem; }
.win__progress b { color: #fff; }
.win__rows { display: grid; gap: 3px; min-height: 222px; margin: 12px 0 0; padding: 0; list-style: none; }
.wrow { display: grid; grid-template-columns: 16px 44px 1fr auto; gap: 8px; align-items: center; min-height: 34px; padding: 6px 8px; color: #6f6f6f; font-size: 0.78rem; }
.wrow__icon { width: 13px; height: 13px; border: 1.5px solid #4a4a4a; border-radius: 50%; }
.wrow__title { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.wrow__title i { display: block; width: var(--w, 60%); height: 7px; background: #262626; }
.wrow__state { font-size: 0.7rem; }
.wrow.is-done { color: #d6d6d6; }
.wrow.is-done .wrow__title i { background: #3a3a3a; }
.wrow.is-done .wrow__state { color: #5fd69a; }
.wrow.is-done .wrow__icon {
  border-color: #3fc47f;
  background: #3fc47f url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%230a0a0a' stroke-width='4'%3E%3Cpath d='M20 6 9 17l-5-5'/%3E%3C/svg%3E") center / 9px no-repeat;
}
.wrow.is-writing { background: rgba(63, 196, 127, 0.12); color: #fff; }
.wrow.is-writing .wrow__title i { background: #3fc47f; opacity: 0.6; animation: typing 0.6s steps(4) infinite alternate; }
.wrow.is-writing .wrow__state { color: #5fd69a; }
.wrow.is-writing .wrow__icon { border-color: rgba(95, 214, 154, 0.3); border-top-color: #5fd69a; animation: spin 0.7s linear infinite; }
@media (max-width: 420px) { .wrow { grid-template-columns: 16px 1fr auto; } .wrow__ch { display: none; } }

.draft { display: flex; align-items: center; gap: 14px; margin-top: 14px; padding: 14px 16px; border: 1px dashed #3a3a3a; color: #8f8f8f; transition: border-color 0.4s, background-color 0.4s, color 0.4s; }
.draft > .icon { width: 30px; height: 30px; stroke-width: 1.8; }
.draft p { margin: 0; font-size: 0.92rem; line-height: 1.35; }
.draft b { display: block; color: #fff; font-size: 1.02rem; }
.draft.is-ready { border-style: solid; border-color: #3fc47f; background: rgba(63, 196, 127, 0.1); color: #cfeedd; }
.draft.is-ready > .icon { color: #5fd69a; }
.replay { display: grid; place-items: center; width: 38px; height: 38px; margin-left: auto; padding: 0; border: 1px solid #444; background: transparent; color: #fff; cursor: pointer; opacity: 0; pointer-events: none; transition: opacity 0.3s, border-color 0.2s; }
.draft.is-ready .replay { opacity: 1; pointer-events: auto; }
.replay:hover { border-color: #fff; }
.race__band { display: flex; align-items: center; gap: 12px; margin: 20px 0 0; padding: 16px 18px; background: rgba(63, 196, 127, 0.14); color: #d2f2e1; font-size: 1.05rem; font-weight: 650; }
.race__band .icon { color: #5fd69a; stroke-width: 3; }

/* ==========================================================================
   Curriculum
   ========================================================================== */
.curr { padding-block: var(--sec); }
.curr__head { display: grid; gap: 22px; }
@media (min-width: 960px) { .curr__head { grid-template-columns: 1fr 1fr; align-items: end; } }
.curr__tools { display: flex; justify-content: flex-end; margin: clamp(32px, 4vw, 52px) 0 12px; }
html:not(.js) .curr__tools { display: none; }
.mods { display: grid; border-top: 2px solid var(--ink); }
.mod { border-bottom: 1px solid #cfcfcf; }
.mod summary { display: grid; grid-template-columns: 70px 1fr 34px; gap: 4px 16px; align-items: start; padding: 22px 0; list-style: none; cursor: pointer; }
.mod summary::-webkit-details-marker { display: none; }
.mod__n { grid-row: span 2; color: var(--ink); font-size: 3rem; font-weight: 900; font-stretch: 64%; line-height: 0.8; }
.mod__t { color: var(--ink); font-size: 1.32rem; font-weight: 850; font-stretch: 82%; line-height: 1.1; text-transform: uppercase; }
.mod__t span { color: var(--mute); }
.mod__lead { grid-column: 2; color: #2a2a2a; font-size: 1rem; line-height: 1.45; }
.mod__lead strong { font-weight: 600; }
.mod__x { position: relative; grid-column: 3; grid-row: 1 / span 2; width: 32px; height: 32px; border: 2px solid var(--ink); transition: background-color 0.2s; }
.mod__x::before, .mod__x::after { content: ""; position: absolute; left: 50%; top: 50%; width: 14px; height: 2px; background: var(--ink); transform: translate(-50%, -50%); transition: transform 0.25s var(--ease); }
.mod__x::after { transform: translate(-50%, -50%) rotate(90deg); }
details[open] > summary .mod__x { background: var(--y); }
details[open] > summary .mod__x::after { transform: translate(-50%, -50%) rotate(0deg); }
.mod summary:hover .mod__x { background: var(--y); }
.mod__body { padding: 0 0 26px 86px; }
.mod__body p { max-width: 44em; margin: 0 0 0.8em; }
@media (min-width: 1100px) {
  .mod summary, .mod__body { grid-template-columns: 96px minmax(0, 0.8fr) minmax(0, 1.2fr) 34px; column-gap: 24px; }
  .mod summary { align-items: center; padding: 20px 0; }
  .mod__n { grid-row: auto; }
  .mod__lead { grid-column: 3; grid-row: 1; }
  .mod__x { grid-column: 4; grid-row: 1; }
  .mod__body { display: grid; padding: 0 0 26px; }
  .mod__body p { grid-column: 3; }
}
@media (max-width: 560px) {
  .mod summary { grid-template-columns: 48px 1fr 32px; gap: 4px 12px; }
  .mod__n { font-size: 2.3rem; }
  .mod__t { font-size: 1.12rem; }
  .mod__body { padding-left: 0; }
}

details::details-content { height: 0; overflow: clip; transition: height 0.35s var(--ease), content-visibility 0.35s allow-discrete; }
details[open]::details-content { height: auto; }

/* ==========================================================================
   Calls
   ========================================================================== */
.calls { padding-block: var(--sec); background: var(--y); }
.calls .lede { max-width: 34em; margin-top: 22px; }
.unlock { margin-top: clamp(36px, 5vw, 64px); padding: clamp(18px, 3vw, 36px); border: 2px solid var(--ink); background: #fff; box-shadow: 10px 10px 0 var(--ink); }
.unlock__ctl { display: grid; gap: 14px 32px; align-items: center; }
@media (min-width: 760px) { .unlock__ctl { grid-template-columns: auto 1fr; } }
.unlock__ctl label { display: flex; align-items: baseline; gap: 12px; color: var(--ink); font-size: 0.95rem; font-weight: 850; font-stretch: 80%; letter-spacing: 0.04em; text-transform: uppercase; }
.unlock__ctl output { min-width: 2ch; font-size: 3.6rem; font-weight: 900; font-stretch: 64%; line-height: 0.85; font-variant-numeric: tabular-nums; }
.unlock__range { position: relative; padding-bottom: 26px; }
.unlock__range input { --fill: 0%; width: 100%; height: 34px; margin: 0; background: transparent; cursor: pointer; -webkit-appearance: none; appearance: none; }
.unlock__range input::-webkit-slider-runnable-track { height: 14px; border: 2px solid var(--ink); background: linear-gradient(90deg, var(--y) var(--fill), #fff var(--fill)); }
.unlock__range input::-moz-range-track { height: 10px; border: 2px solid var(--ink); background: #fff; }
.unlock__range input::-moz-range-progress { height: 10px; background: var(--y); }
.unlock__range input::-webkit-slider-thumb { width: 30px; height: 30px; margin-top: -10px; border: 0; background: var(--ink); -webkit-appearance: none; appearance: none; }
.unlock__range input::-moz-range-thumb { width: 28px; height: 28px; border: 0; border-radius: 0; background: var(--ink); }
.unlock__range input:focus-visible { outline: none; }
.unlock__range input:focus-visible::-webkit-slider-thumb { outline: 3px solid var(--ink); outline-offset: 3px; }
.unlock__marks { position: absolute; left: 15px; right: 15px; bottom: 0; height: 20px; }
.unlock__marks span { position: absolute; left: calc(var(--at) / 60 * 100%); transform: translateX(-50%); font-size: 0.8rem; font-weight: 900; font-stretch: 75%; }
.unlock__shelf { display: flex; flex-wrap: wrap; align-items: flex-end; gap: 3px; min-height: 58px; margin-top: 14px; padding-bottom: 0; border-bottom: 4px solid var(--ink); }
.spine { width: 11px; height: var(--h, 44px); background: var(--c); box-shadow: inset -2px 0 0 rgba(0, 0, 0, 0.22); animation: spineIn 0.3s var(--ease) both; }
.calls__grid { display: grid; gap: 16px; margin-top: 30px; }
@media (min-width: 1000px) { .calls__grid { grid-template-columns: repeat(3, 1fr); align-items: start; } }
.call { position: relative; padding: 24px; border: 2px solid var(--ink); background: #fff; transition: transform 0.35s var(--ease), box-shadow 0.35s var(--ease), background-color 0.35s, color 0.35s, border-color 0.35s; }
.call h3 { margin: 16px 0 14px; font-size: 1.75rem; font-weight: 900; font-stretch: 70%; line-height: 0.95; text-transform: uppercase; }
.call p { margin: 0 0 0.75em; font-size: 1rem; line-height: 1.5; }
.call__lock { display: inline-grid; place-items: center; width: 40px; height: 40px; border: 2px solid currentColor; }
.call__lock .icon { grid-area: 1 / 1; transition: opacity 0.25s; }
.call__lock .i-unlock { opacity: 0; }
.js .call { border-style: dashed; background: #f5f5f5; color: #8a8a8a; }
.js .call h3 { color: #8a8a8a; }
.js .call.is-unlocked { border-style: solid; background: #fff; color: var(--text); box-shadow: 8px 8px 0 var(--ink); transform: translate(-4px, -4px); }
.js .call.is-unlocked h3 { color: var(--ink); }
.call.is-unlocked .call__lock { border-color: var(--ink); background: var(--y); color: var(--ink); }
.call.is-unlocked .i-lock { opacity: 0; }
.call.is-unlocked .i-unlock { opacity: 1; }
.call.just-unlocked .call__lock { animation: pop 0.45s var(--ease); }
.calls__after { display: grid; gap: 28px; margin-top: clamp(48px, 6vw, 88px); }
@media (min-width: 960px) { .calls__after { grid-template-columns: 1.2fr 0.8fr; gap: 64px; align-items: end; } }
.calls__big { margin: 0; color: var(--ink); font-size: clamp(1.7rem, 1rem + 2.6vw, 3.4rem); font-weight: 900; font-stretch: 70%; line-height: 0.98; text-transform: uppercase; }
.calls__buy p { margin: 0 0 0.8em; color: var(--ink); }
.calls__buy .btn { margin-top: 8px; }

/* ==========================================================================
   Material
   ========================================================================== */
.material { padding-block: var(--sec); }
.material .lede { margin-top: 22px; }
.kit { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 232px), 1fr)); gap: 16px; margin: clamp(36px, 5vw, 60px) 0; padding: 0; list-style: none; }
.kit li {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 18px;
  min-height: 176px;
  padding: 22px 22px 24px;
  border: 2px solid var(--ink);
  background: #fff;
  color: var(--ink);
  font-size: 1.08rem;
  font-weight: 750;
  line-height: 1.3;
  transition: transform 0.2s var(--ease), box-shadow 0.2s var(--ease);
}
.kit li::after { content: ""; position: absolute; top: -2px; right: -2px; width: 28px; height: 28px; background: linear-gradient(225deg, #fff 50%, var(--ink) 50%); }
.kit li:hover { transform: translate(-3px, -3px); box-shadow: 6px 6px 0 var(--y), 6px 6px 0 2px var(--ink); }
.kit li .icon { width: 30px; height: 30px; stroke-width: 2; }
.kit .kit__all { background: var(--y); }
@media (min-width: 1100px) { .kit { grid-template-columns: repeat(4, 1fr); } .kit .kit__all { grid-column: span 2; } }
.kit .kit__all::after { background: linear-gradient(225deg, #fff 50%, var(--ink) 50%); }
.material__end { display: grid; gap: 8px 64px; max-width: 1000px; }
@media (min-width: 900px) { .material__end { grid-template-columns: 1fr 1fr; } }
.material__end p { margin: 0; }
.material__end strong { color: var(--ink); }

/* ==========================================================================
   For you
   ========================================================================== */
.foryou { padding-block: var(--sec); background: var(--ink); color: #cfcfcf; }
.foryou .display { color: #fff; }
.foryou__grid { display: grid; gap: 36px; }
@media (min-width: 1000px) { .foryou__grid { grid-template-columns: 1fr 1fr; gap: 72px; align-items: start; } }
.foryou__body p { margin: 0 0 1.1em; font-size: 1.2rem; line-height: 1.6; }
.foryou__body strong { color: #fff; }
.foryou__not { grid-column: 1 / -1; margin: 12px 0 0; padding-top: 32px; border-top: 2px solid var(--y); color: #fff; font-size: clamp(1.8rem, 0.9rem + 3.2vw, 4rem); font-weight: 900; font-stretch: 68%; line-height: 0.95; text-transform: uppercase; text-wrap: balance; }
.foryou__not strong { font-weight: inherit; }

/* ==========================================================================
   FAQ
   ========================================================================== */
.faq { padding-block: var(--sec); }
.faq__grid { display: grid; gap: 40px; }
@media (min-width: 1040px) {
  .faq__grid { grid-template-columns: 0.75fr 1.25fr; gap: 80px; }
  .faq .display { position: sticky; top: 120px; align-self: start; }
}
.faq__list { border-top: 2px solid var(--ink); }
.qa { border-bottom: 1px solid #cfcfcf; }
.qa summary { display: grid; grid-template-columns: 1fr 34px; gap: 20px; align-items: center; padding: 22px 0; color: var(--ink); font-size: clamp(1.1rem, 1rem + 0.4vw, 1.32rem); font-weight: 800; font-stretch: 90%; line-height: 1.25; list-style: none; cursor: pointer; }
.qa summary::-webkit-details-marker { display: none; }
.qa summary .mod__x { grid-column: 2; grid-row: 1; }
.qa summary:hover .mod__x { background: var(--y); }
.qa__a { padding: 0 54px 24px 0; }
.qa__a p { max-width: 46em; margin: 0 0 0.8em; }
.qa__a strong { color: var(--ink); }

/* ==========================================================================
   Everything + price
   ========================================================================== */
.offer { padding-block: var(--sec); background: var(--ink); color: #cfcfcf; }
.offer .display { color: #fff; }
.offer__grid { display: grid; gap: 48px; }
@media (min-width: 1040px) { .offer__grid { grid-template-columns: 1.1fr 0.9fr; gap: 72px; align-items: start; } }
.getlist { margin: clamp(32px, 4vw, 52px) 0 0; padding: 0; list-style: none; counter-reset: g; border-top: 1px solid #3a3a3a; }
.getlist li { display: grid; grid-template-columns: 64px 1fr; gap: 16px; padding: 24px 0; border-bottom: 1px solid #3a3a3a; counter-increment: g; }
.getlist li::before { content: counter(g); color: var(--y); font-size: 3rem; font-weight: 900; font-stretch: 64%; line-height: 0.85; }
.getlist p { margin: 0 0 0.6em; font-size: 1.08rem; line-height: 1.55; }
.getlist p:last-child { margin-bottom: 0; }
.getlist strong { color: #fff; }

.pricecard { padding: clamp(24px, 3.4vw, 44px); border: 2px solid #fff; background: #fff; color: var(--text); box-shadow: 12px 12px 0 var(--y); }
@media (min-width: 1040px) { .pricecard { position: sticky; top: 110px; } }
.pricecard h2 { margin-bottom: 22px; font-size: clamp(2.2rem, 1.2rem + 3vw, 3.9rem); font-weight: 900; font-stretch: 68%; line-height: 0.9; text-transform: uppercase; }
.pricecard p { margin: 0 0 0.9em; }
.pricecard strong { color: var(--ink); }
.pricecard__tag { display: flex; flex-wrap: wrap; align-items: flex-end; gap: 10px 18px; margin: 26px 0 26px !important; }
.pricecard__amt { color: var(--ink); font-size: clamp(5.2rem, 3rem + 6vw, 8.4rem); font-weight: 900; font-stretch: 64%; line-height: 0.78; letter-spacing: -0.02em; }
.pricecard__off { margin-bottom: 6px; padding: 7px 10px 6px; background: var(--y); color: var(--ink); font-size: 1rem; font-weight: 850; font-stretch: 82%; letter-spacing: 0.04em; text-transform: uppercase; }
.pricecard .btn { width: 100%; border-color: var(--ink); box-shadow: 6px 6px 0 var(--ink); }
.pricecard .btn:hover { box-shadow: 8px 8px 0 var(--ink); }
.pricecard .btn:active { box-shadow: 2px 2px 0 var(--ink); }
.pricecard .pricecard__small { margin: 18px 0 0; color: var(--mute); font-size: 0.92rem; }

/* ==========================================================================
   Close
   ========================================================================== */
.final { padding-block: var(--sec); }
.final__in { max-width: 920px; }
.final .display { margin-bottom: clamp(32px, 4vw, 52px); }
.letter .final__punch { margin-top: 1.2em; font-family: var(--sans); font-size: clamp(1.5rem, 1.05rem + 1.6vw, 2.4rem); font-weight: 900; font-stretch: 72%; line-height: 1; text-transform: uppercase; }
.letter .final__punch strong { font-weight: inherit; }
.sig { margin: 40px 0 4px; color: var(--ink); font-size: clamp(3rem, 2rem + 3vw, 4.6rem); font-weight: 900; font-stretch: 64%; line-height: 0.85; text-transform: uppercase; }
.sig strong { font-weight: inherit; }
.sig__role { margin: 0; color: var(--mute); font-family: var(--serif); font-size: 1.1rem; }
.ps { margin-top: clamp(40px, 5vw, 64px); padding: clamp(22px, 3vw, 36px); border: 2px solid var(--ink); background: var(--y); box-shadow: 10px 10px 0 var(--ink); }
.ps p { margin: 0 0 0.8em; color: var(--ink); font-size: 1.15rem; }
.ps .btn { margin-top: 8px; }

/* ==========================================================================
   Footer + buy bar
   ========================================================================== */
.footer { padding: 56px 0 120px; background: var(--ink); color: #9a9a9a; }
.footer__top { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 20px; margin-bottom: 28px; padding-bottom: 28px; border-bottom: 1px solid #333; }
.footer__legal { max-width: 72em; margin: 0 0 12px; font-size: 0.84rem; line-height: 1.6; }
.footer__legal strong { color: #d0d0d0; }
.footer__copy { margin: 22px 0 0; font-size: 0.8rem; }

.buybar { position: fixed; inset: auto 0 0; z-index: 90; padding-inline: env(safe-area-inset-left, 0px) env(safe-area-inset-right, 0px); border-top: 3px solid var(--y); background: var(--ink); color: #fff; transform: translateY(105%); transition: transform 0.4s var(--ease); }
.buybar.is-visible { transform: none; }
.buybar__in { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding-block: 10px calc(10px + env(safe-area-inset-bottom)); }
.buybar p { display: flex; flex-direction: column; min-width: 0; margin: 0; line-height: 1.2; }
.buybar strong { overflow: hidden; font-size: 0.95rem; font-weight: 850; font-stretch: 80%; letter-spacing: 0.02em; text-overflow: ellipsis; text-transform: uppercase; white-space: nowrap; }
.buybar span { color: #b5b5b5; font-size: 0.85rem; }

/* ==========================================================================
   Keyframes + motion preferences
   ========================================================================== */
@keyframes spin { to { transform: rotate(360deg); } }
@keyframes liIn { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }
@keyframes blip { 0%, 100% { transform: scale(1); } 50% { transform: scale(1.35); } }
@keyframes pop { 0% { transform: scale(1); } 40% { transform: scale(1.25) rotate(-6deg); } 100% { transform: scale(1); } }
@keyframes spineIn { from { opacity: 0; transform: translateY(-12px); } to { opacity: 1; transform: none; } }
@keyframes typing { from { width: 20%; } to { width: var(--w, 60%); } }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; transition-duration: 0.01ms !important; transition-delay: 0s !important; }
  .js .reveal { translate: none; }
  .ccol__track { animation: none !important; }
  .hero__covers { overflow-x: auto; }
}
