/* Power Users Club: "Keycaps and Spotlight"
   Paper #FBFBFD, Graphite #15161A, Aluminum #E6E8EC, Slate #5B5F6B.
   One stripe color per course, used the same way everywhere. */

:root {
  --paper: #FBFBFD;
  --ink: #15161A;
  --ink-2: #2A2C33;
  --alu: #E6E8EC;
  --alu-2: #F1F2F5;
  --slate: #5B5F6B;
  --white: #FFFFFF;
  --line: #E4E6EA;
  --line-strong: #D3D6DC;

  --leaf: #5EBD3E;
  --sun: #FFB900;
  --tangerine: #F78200;
  --cherry: #E23838;
  --grape: #973999;
  --sky: #009CDF;

  --font-display: "Funnel Display", "Funnel Sans", system-ui, -apple-system, "Segoe UI", sans-serif;
  --font-body: "Funnel Sans", system-ui, -apple-system, "Segoe UI", sans-serif;
  --font-mono: "Geist Mono", ui-monospace, "SF Mono", Menlo, Consolas, system-ui, monospace;

  --wrap: 1200px;
  --gutter: clamp(20px, 4vw, 40px);
  --header-h: 68px;
  --ease: cubic-bezier(.2, .7, .2, 1);
  --card-shadow: 0 0 0 1px rgba(21, 22, 26, .06), 0 1px 2px rgba(21, 22, 26, .04), 0 14px 34px -20px rgba(21, 22, 26, .22);
  --card-shadow-hover: 0 0 0 1px rgba(21, 22, 26, .08), 0 2px 4px rgba(21, 22, 26, .05), 0 22px 44px -22px rgba(21, 22, 26, .32);
}

/* ---------- Base ---------- */

*, *::before, *::after { box-sizing: border-box; }

html {
  -webkit-text-size-adjust: 100%;
  scroll-padding-top: calc(var(--header-h) + 20px);
}
@media (prefers-reduced-motion: no-preference) {
  html { scroll-behavior: smooth; }
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}

img, video, svg { display: block; max-width: 100%; }
img, video { height: auto; }
h1, h2, h3, h4, p, ul, ol, figure, blockquote { margin: 0; }
ul, ol { padding: 0; list-style: none; }
a { color: inherit; }
button { font: inherit; color: inherit; }
strong { font-weight: 700; }

::selection { background: rgba(0, 156, 223, .22); }

:focus-visible { outline: 3px solid var(--sky); outline-offset: 3px; }

.sr-only {
  position: absolute !important;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0);
  white-space: nowrap; border: 0;
}

[hidden] { display: none !important; }
.sprite { position: absolute; width: 0; height: 0; overflow: hidden; }
.nowrap { white-space: nowrap; }

.skip {
  position: absolute; left: 12px; top: -80px; z-index: 100;
  background: var(--ink); color: var(--paper);
  padding: 10px 16px; border-radius: 10px;
  font-weight: 600; text-decoration: none;
}
.skip:focus { top: 12px; }

.wrap {
  width: 100%;
  max-width: calc(var(--wrap) + 2 * var(--gutter));
  margin-inline: auto;
  padding-inline: var(--gutter);
}

/* ---------- Small parts ---------- */

.kbd {
  display: inline-block;
  font-family: var(--font-mono);
  font-size: .78em;
  font-weight: 500;
  line-height: 1.25;
  padding: .12em .5em;
  border-radius: 6px;
  background: var(--white);
  color: var(--ink);
  border: 1px solid var(--line-strong);
  box-shadow: 0 1px 0 var(--line-strong);
  white-space: nowrap;
  vertical-align: .08em;
}
.kbd--soft {
  background: rgba(21, 22, 26, .06);
  border-color: transparent;
  box-shadow: none;
  color: var(--slate);
}

.eyebrow {
  display: block;
  font-family: var(--font-mono);
  font-size: 13px;
  font-weight: 500;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: var(--slate);
  margin-bottom: 16px;
}
.eyebrow--light { color: #A9AEB8; }

.h2 {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(2rem, 1.25rem + 2.4vw, 3.15rem);
  line-height: 1.03;
  letter-spacing: -0.032em;
  max-width: 20ch;
  text-wrap: balance;
}

/* ---------- Buttons ---------- */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  height: 48px;
  padding: 0 20px;
  border: 0;
  border-radius: 14px;
  font-family: var(--font-body);
  font-size: 16px;
  font-weight: 600;
  line-height: 1;
  text-decoration: none;
  white-space: nowrap;
  cursor: pointer;
  transition: transform .14s var(--ease), box-shadow .14s var(--ease), background-color .14s var(--ease);
}
.btn--sm { height: 40px; padding: 0 15px; font-size: 15px; border-radius: 12px; }
.btn--lg { height: 56px; padding: 0 26px; font-size: 17px; border-radius: 16px; }
.btn--block { display: flex; width: 100%; }
.btn__icon { width: 16px; height: 16px; }

.btn--ink {
  background: var(--ink);
  color: var(--paper);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .16), 0 2px 0 #000, 0 10px 22px -10px rgba(21, 22, 26, .6);
}
.btn--ink:hover { background: #26282F; }
.btn--ink:active { transform: translateY(2px); box-shadow: inset 0 1px 0 rgba(255, 255, 255, .1), 0 0 0 #000, 0 4px 10px -6px rgba(21, 22, 26, .5); }

.btn--key {
  background: linear-gradient(180deg, #FFFFFF 0%, #F0F1F4 100%);
  color: var(--ink);
  box-shadow: inset 0 1px 0 #fff, 0 0 0 1px #D3D6DC, 0 2px 0 #BFC3CB, 0 10px 20px -12px rgba(21, 22, 26, .4);
}
.btn--key:hover { background: linear-gradient(180deg, #FFFFFF 0%, #E8EAEE 100%); }
.btn--key:active { transform: translateY(2px); box-shadow: inset 0 1px 0 #fff, 0 0 0 1px #D3D6DC, 0 0 0 #BFC3CB, 0 4px 8px -6px rgba(21, 22, 26, .4); }
.btn--key .kbd { font-size: 13px; }

.btn--paper {
  background: var(--paper);
  color: var(--ink);
  box-shadow: inset 0 -2px 0 rgba(21, 22, 26, .12), 0 2px 0 rgba(0, 0, 0, .5), 0 14px 30px -12px rgba(0, 0, 0, .7);
}
.btn--paper:hover { background: #FFFFFF; }
.btn--paper:active { transform: translateY(2px); }

.btn[disabled] { cursor: progress; opacity: .7; transform: none; }

.linkish {
  display: inline;
  padding: 0;
  border: 0;
  background: none;
  font: inherit;
  color: inherit;
  text-align: left;
  cursor: pointer;
  text-decoration: underline;
  text-decoration-color: rgba(21, 22, 26, .25);
  text-underline-offset: 4px;
}
.linkish:hover { text-decoration-color: var(--ink); }

/* ---------- Header ---------- */

.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  background: rgba(251, 251, 253, .84);
  -webkit-backdrop-filter: saturate(1.6) blur(14px);
  backdrop-filter: saturate(1.6) blur(14px);
  border-bottom: 1px solid rgba(21, 22, 26, .06);
}
.nav { display: flex; align-items: center; gap: 20px; height: var(--header-h); }

.brand {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  text-decoration: none;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 19px;
  letter-spacing: -0.02em;
  white-space: nowrap;
}
.brand__key {
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border-radius: 9px;
  background: linear-gradient(180deg, #FFFFFF 0%, #E3E5EA 100%);
  box-shadow: inset 0 1px 0 #fff, 0 0 0 1px #D3D6DC, 0 2px 0 #B9BEC7, 0 6px 12px -6px rgba(21, 22, 26, .4);
  transition: transform .14s var(--ease), box-shadow .14s var(--ease);
}
.brand__key svg { width: 18px; height: 18px; color: var(--ink); }
.brand:hover .brand__key { transform: translateY(1px); box-shadow: inset 0 1px 0 #fff, 0 0 0 1px #D3D6DC, 0 1px 0 #B9BEC7, 0 3px 8px -6px rgba(21, 22, 26, .4); }

.nav__links { display: flex; gap: 2px; margin-left: auto; }
.nav__links a {
  display: block;
  padding: 8px 12px;
  border-radius: 10px;
  text-decoration: none;
  font-size: 15px;
  font-weight: 500;
  color: var(--ink-2);
}
.nav__links a:hover { background: rgba(21, 22, 26, .05); }

@media (max-width: 860px) {
  .nav__links { display: none; }
  .nav > .btn { margin-left: auto; }
}
@media (max-width: 380px) {
  .brand { font-size: 17px; gap: 9px; }
  .brand__key { width: 30px; height: 30px; }
  .nav > .btn { padding: 0 12px; }
}

/* ---------- Keycaps (the material of the whole site) ---------- */

.keycap {
  --kw: 128px;
  --kh: 128px;
  --depth: 16px;
  --r: 24px;
  --side: 7px;
  position: relative;
  display: inline-block;
  flex: none;
  width: var(--kw);
  height: var(--kh);
  border-radius: var(--r);
  background:
    linear-gradient(90deg, rgba(21, 22, 26, .07) 0%, rgba(21, 22, 26, 0) 14%, rgba(21, 22, 26, 0) 86%, rgba(21, 22, 26, .09) 100%),
    linear-gradient(180deg, #ECEEF1 0%, #CDD1D8 52%, #A7ACB6 100%);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, .9),
    inset 0 -3px 5px rgba(21, 22, 26, .16),
    0 0 0 1px rgba(21, 22, 26, .07),
    0 2px 0 rgba(21, 22, 26, .10),
    0 16px 24px -12px rgba(21, 22, 26, .42),
    0 38px 60px -26px rgba(21, 22, 26, .34);
  transition: transform .13s var(--ease), box-shadow .13s var(--ease);
}
.keycap__top {
  position: absolute;
  top: 3px;
  left: var(--side);
  right: var(--side);
  bottom: var(--depth);
  border-radius: calc(var(--r) - 6px);
  background:
    radial-gradient(120% 90% at 50% 0%, rgba(255, 255, 255, .95) 0%, rgba(255, 255, 255, 0) 62%),
    repeating-linear-gradient(90deg, rgba(21, 22, 26, .02) 0 1px, rgba(255, 255, 255, .035) 1px 3px),
    linear-gradient(180deg, #F6F7F9 0%, #E4E7EB 100%);
  box-shadow:
    inset 0 1px 0 #fff,
    inset 0 -8px 14px -10px rgba(21, 22, 26, .18),
    0 1px 0 rgba(255, 255, 255, .6),
    0 2px 3px rgba(21, 22, 26, .14);
  color: #2A2C33;
  transition: transform .13s var(--ease);
}
.keycap.is-down {
  transform: translateY(3px);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, .9),
    inset 0 -3px 5px rgba(21, 22, 26, .16),
    0 0 0 1px rgba(21, 22, 26, .07),
    0 1px 0 rgba(21, 22, 26, .10),
    0 6px 12px -8px rgba(21, 22, 26, .42),
    0 16px 30px -20px rgba(21, 22, 26, .3);
}
.keycap.is-down .keycap__top { transform: translateY(calc(var(--depth) - 7px)); }

.keycap__glyph { width: 34px; height: 34px; color: #2A2C33; }
.keycap__legend {
  font-family: var(--font-mono);
  font-size: 14px;
  font-weight: 500;
  line-height: 1;
  letter-spacing: .01em;
  color: #3B3E46;
}

.keycap--cmd .keycap__top {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  align-items: flex-end;
  padding: 16px 16px 15px;
}
.keycap--cmd .keycap__legend { align-self: flex-start; }
.keycap--space { --kw: 330px; }

.keycap--num { --kw: 56px; --kh: 56px; --depth: 9px; --r: 14px; --side: 4px; }
.keycap--num .keycap__top {
  display: grid;
  place-items: center;
  border-radius: 10px;
  font-family: var(--font-mono);
  font-size: 20px;
  font-weight: 600;
}

.keycap--mono { --kw: 88px; --kh: 88px; --depth: 12px; --r: 20px; --side: 5px; }
.keycap--mono .keycap__top {
  display: grid;
  place-items: center;
  font-family: var(--font-display);
  font-size: 27px;
  font-weight: 800;
  letter-spacing: -0.02em;
}

.keycap--inline {
  --kw: 1.18em;
  --kh: 1.18em;
  --depth: .15em;
  --r: .24em;
  --side: .05em;
  vertical-align: -0.16em;
  margin: 0 .04em;
}
.keycap--inline .keycap__top {
  top: .03em;
  border-radius: .19em;
  display: grid;
  place-items: center;
}
.keycap--inline .keycap__glyph { width: .56em; height: .56em; }
.keycap--inline.is-down .keycap__top { transform: translateY(.07em); }

@media (hover: hover) {
  .step:hover .keycap,
  .person:hover .keycap,
  .chord .keycap:hover {
    transform: translateY(2px);
    box-shadow:
      inset 0 1px 0 rgba(255, 255, 255, .7),
      inset 0 -2px 4px rgba(21, 22, 26, .12),
      0 1px 0 rgba(21, 22, 26, .10),
      0 6px 12px -8px rgba(21, 22, 26, .4),
      0 16px 30px -20px rgba(21, 22, 26, .3);
  }
  .step:hover .keycap__top,
  .person:hover .keycap__top,
  .chord .keycap:hover .keycap__top { transform: translateY(calc(var(--depth) - 7px)); }
}

/* ---------- Hero ---------- */

.hero { padding: clamp(36px, 5.5vw, 84px) 0 clamp(64px, 8vw, 112px); overflow: clip; }
.hero__grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.12fr);
  gap: clamp(36px, 5vw, 72px);
  align-items: center;
}
.hero__title {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(2.85rem, 1.5rem + 4.4vw, 5.4rem);
  line-height: .96;
  letter-spacing: -0.032em;
  text-wrap: balance;
}
.hero__title-turn { display: block; margin-top: .08em; }
.hero__sub {
  margin-top: 26px;
  max-width: 33em;
  font-size: clamp(17px, 12px + .55vw, 20px);
  line-height: 1.5;
  color: var(--slate);
}
.hero__actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 34px; }

.facts { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 30px; }
.facts li {
  padding: 7px 12px;
  border-radius: 999px;
  background: var(--white);
  box-shadow: inset 0 0 0 1px var(--line);
  font-size: 14px;
  font-weight: 500;
  line-height: 1.2;
  color: var(--ink-2);
}

/* The stage: a slice of desktop with the keyboard chord in front of it */
.stage { position: relative; padding-bottom: 76px; }

.screen {
  position: relative;
  padding: 40px 36px 104px;
  border-radius: 30px;
  background:
    radial-gradient(70% 62% at 10% 4%, rgba(0, 156, 223, .30), transparent 70%),
    radial-gradient(58% 56% at 96% 10%, rgba(151, 57, 153, .20), transparent 70%),
    radial-gradient(62% 60% at 88% 100%, rgba(247, 130, 0, .22), transparent 70%),
    radial-gradient(60% 62% at 4% 100%, rgba(94, 189, 62, .26), transparent 70%),
    radial-gradient(40% 40% at 50% 60%, rgba(255, 185, 0, .14), transparent 70%),
    linear-gradient(165deg, #F5F6F9 0%, #E6E8EC 100%);
  box-shadow: inset 0 0 0 1px rgba(21, 22, 26, .06), inset 0 1px 0 rgba(255, 255, 255, .8), 0 40px 80px -46px rgba(21, 22, 26, .45);
}

.spotlight { max-width: 560px; margin: 0 auto; }

.spotlight__bar {
  display: flex;
  align-items: center;
  gap: 14px;
  width: 100%;
  height: 66px;
  padding: 0 14px 0 20px;
  border: 0;
  border-radius: 22px;
  background: rgba(255, 255, 255, .74);
  -webkit-backdrop-filter: blur(24px) saturate(1.8);
  backdrop-filter: blur(24px) saturate(1.8);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .8), 0 0 0 1px rgba(21, 22, 26, .07), 0 24px 44px -22px rgba(21, 22, 26, .45);
  font-family: var(--font-body);
  font-size: 21px;
  font-weight: 400;
  line-height: 1;
  text-align: left;
  color: var(--ink);
  cursor: text;
  transition: opacity .35s var(--ease), transform .55s cubic-bezier(.2, 1.25, .4, 1), box-shadow .2s var(--ease);
}
.spotlight__bar:hover { box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .8), 0 0 0 1px rgba(21, 22, 26, .14), 0 26px 48px -22px rgba(21, 22, 26, .5); }
.spotlight__icon { flex: none; width: 22px; height: 22px; color: var(--slate); }
.spotlight__text {
  flex: 1;
  min-width: 0;
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
}
.spotlight__bar .kbd { flex: none; font-size: 13px; }

.caret {
  display: inline-block;
  width: 2px;
  height: 1.1em;
  margin-left: 2px;
  vertical-align: -0.2em;
  border-radius: 1px;
  background: var(--sky);
  animation: blink 1.06s steps(1) infinite;
}
@keyframes blink { 50% { opacity: 0; } }

.spotlight__results {
  margin-top: 10px;
  padding: 8px;
  border-radius: 22px;
  background: rgba(255, 255, 255, .74);
  -webkit-backdrop-filter: blur(24px) saturate(1.8);
  backdrop-filter: blur(24px) saturate(1.8);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .8), 0 0 0 1px rgba(21, 22, 26, .07), 0 24px 44px -22px rgba(21, 22, 26, .4);
  transition: opacity .3s var(--ease), transform .4s var(--ease), visibility 0s;
}
.spotlight__label {
  padding: 8px 10px 6px;
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--slate);
}
.results li { transition: opacity .35s var(--ease), transform .35s var(--ease); }

.result {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px;
  border-radius: 13px;
  text-decoration: none;
  color: var(--ink);
}
.result:hover { background: rgba(21, 22, 26, .06); }
.results li:first-child .result { background: rgba(21, 22, 26, .075); }
.result__stripe {
  flex: none;
  width: 6px;
  height: 26px;
  border-radius: 3px;
  background: var(--stripe);
}
.result__name {
  flex: 1;
  min-width: 0;
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
  font-size: 15.5px;
  font-weight: 600;
}
.result__meta {
  flex: none;
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 500;
  color: var(--slate);
}

/* The chord: in front of the screen, overlapping its bottom edge */
.chord {
  position: absolute;
  left: 50%;
  bottom: 0;
  display: flex;
  align-items: flex-end;
  gap: 12px;
  transform: translateX(-50%);
}

/* Sequence states (site.js adds is-armed, then is-open, then is-results) */
.js .stage.is-armed .spotlight__bar { opacity: 0; transform: translateY(-22px) scale(.965); }
.js .stage.is-armed.is-open .spotlight__bar { opacity: 1; transform: none; }
.js .stage.is-armed .spotlight__results { opacity: 0; transform: translateY(-8px); visibility: hidden; }
.js .stage.is-armed.is-results .spotlight__results { opacity: 1; transform: none; visibility: visible; }
.js .stage.is-armed .results li { opacity: 0; transform: translateY(6px); }
.js .stage.is-armed.is-results .results li { opacity: 1; transform: none; }
.js .stage.is-armed.is-results .results li:nth-child(2) { transition-delay: .08s; }
.js .stage.is-armed.is-results .results li:nth-child(3) { transition-delay: .16s; }
.js .stage.is-armed.is-results .results li:nth-child(4) { transition-delay: .24s; }

/* ---------- Sections ---------- */

.section { padding-block: clamp(76px, 9vw, 128px); }
.section--courses { background: var(--alu-2); }
.section--formats { padding-top: 0; }
.section--faq { padding-top: 0; }

.section-head {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: 20px 56px;
  margin-bottom: 40px;
}
.section-head__aside { max-width: 31ch; font-size: 16px; color: var(--slate); }
.section-head__aside .kbd { font-size: 13px; }

/* Why it works */
.why {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr);
  gap: clamp(36px, 6vw, 88px);
  align-items: center;
}
.why__photo img {
  width: 100%;
  aspect-ratio: 5 / 4;
  object-fit: cover;
  object-position: 50% 60%;
  border-radius: 26px;
  box-shadow: 0 30px 60px -40px rgba(21, 22, 26, .5);
}
.points { margin-top: 34px; }
.point { padding: 20px 0 22px; border-top: 1px solid var(--line-strong); }
.point:last-child { border-bottom: 1px solid var(--line-strong); }
.point__title { font-size: 20px; font-weight: 700; line-height: 1.25; letter-spacing: -0.01em; }
.point p { margin-top: 6px; color: var(--slate); }

/* Courses */
.course {
  position: relative;
  display: flex;
  flex-direction: column;
  padding: 28px 28px 26px 36px;
  border-radius: 22px;
  background: var(--white);
  box-shadow: var(--card-shadow);
  scroll-margin-top: calc(var(--header-h) + 24px);
  outline: 3px solid transparent;
  outline-offset: 6px;
  transition: box-shadow .25s var(--ease), outline-color .3s var(--ease), outline-offset .3s var(--ease);
}
.course::before {
  content: "";
  position: absolute;
  left: 0;
  top: 26px;
  bottom: 26px;
  width: 6px;
  border-radius: 0 4px 4px 0;
  background: var(--stripe);
  transition: width .2s var(--ease);
}
.course:hover { box-shadow: var(--card-shadow-hover); }
.course:hover::before { width: 8px; }
.course.is-found { outline-color: var(--stripe); outline-offset: 4px; }
.course__title:focus { outline: none; }

.tags { display: flex; flex-wrap: wrap; gap: 6px; }
.tags li {
  padding: 6px 9px;
  border-radius: 7px;
  background: var(--alu-2);
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 500;
  line-height: 1.15;
  color: #3B3E46;
}
.course__title {
  margin-top: 16px;
  font-family: var(--font-display);
  font-size: 24px;
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: -0.022em;
  text-wrap: balance;
}
.course__by { margin-top: 8px; font-size: 15px; color: var(--slate); }
.course__by strong { color: var(--ink); font-weight: 600; }
.course__label {
  margin-top: 20px;
  font-family: var(--font-mono);
  font-size: 11.5px;
  font-weight: 500;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--slate);
}
.learn { display: grid; gap: 8px; margin-top: 12px; font-size: 15.5px; line-height: 1.45; }
.learn li { position: relative; padding-left: 20px; }
.learn li::before {
  content: "";
  position: absolute;
  left: 1px;
  top: .5em;
  width: 7px;
  height: 7px;
  border-radius: 2px;
  background: var(--stripe);
}
.course__prereq {
  margin-top: 18px;
  padding: 10px 12px;
  border-radius: 10px;
  background: #FCECEC;
  font-size: 14px;
  line-height: 1.4;
  color: var(--ink-2);
}
.course__foot {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-top: auto;
  padding-top: 26px;
}

.status {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  font-family: var(--font-mono);
  font-size: 13px;
  font-weight: 500;
  line-height: 1.2;
  color: var(--ink-2);
}
.status__dot {
  flex: none;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #A3A8B2;
  box-shadow: 0 0 0 3px rgba(163, 168, 178, .22);
}
.status--live .status__dot { background: var(--stripe); box-shadow: 0 0 0 3px rgba(21, 22, 26, .06); }

.course--featured {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(0, 1fr);
  gap: 36px 48px;
  padding: 36px 36px 36px 46px;
  margin-bottom: 20px;
}
.course--featured::before { top: 34px; bottom: 34px; }
.course--featured .course__title { font-size: clamp(28px, 1.4rem + 1.2vw, 38px); }

.date-card {
  display: flex;
  flex-direction: column;
  gap: 14px;
  padding: 26px;
  border-radius: 18px;
  background: var(--paper);
  box-shadow: inset 0 0 0 1px var(--line);
}
.date-card__when { display: flex; flex-direction: column; gap: 6px; }
.date-card__day {
  font-family: var(--font-display);
  font-size: clamp(24px, 1.2rem + .8vw, 30px);
  font-weight: 700;
  line-height: 1.05;
  letter-spacing: -0.02em;
}
.date-card__time { font-family: var(--font-mono); font-size: 14px; font-weight: 500; color: var(--ink-2); }
.date-card__where { font-size: 15.5px; line-height: 1.45; }
.date-card__note { font-size: 14.5px; line-height: 1.45; color: var(--slate); }
.date-card__actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: auto; padding-top: 6px; }

.course-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }

/* How it works */
.steps {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 36px 32px;
  margin-top: 52px;
}
.step { position: relative; }
.step:not(:last-child)::after {
  content: "";
  position: absolute;
  top: 25px;
  left: 76px;
  right: -12px;
  border-top: 1.5px dashed #C3C7CF;
}
.step__title { margin-top: 24px; font-size: 19px; font-weight: 700; line-height: 1.25; }
.step p { margin-top: 8px; font-size: 16px; color: var(--slate); }

/* Formats */
.formats-top { padding-top: clamp(64px, 7vw, 96px); border-top: 1px solid var(--line); }
.formats {
  display: grid;
  grid-template-columns: minmax(0, .95fr) minmax(0, 1.2fr);
  gap: 40px clamp(32px, 5vw, 64px);
  align-items: start;
  margin-top: 40px;
}
.formats__photo img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  object-position: 60% 50%;
  border-radius: 24px;
}
.format-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.format {
  display: flex;
  flex-direction: column;
  gap: 8px;
  min-height: 168px;
  padding: 24px;
  border-radius: 18px;
  background: var(--white);
  box-shadow: inset 0 0 0 1px var(--line);
}
.format__title { font-size: 19px; font-weight: 700; line-height: 1.25; }
.format p { font-size: 16px; color: var(--slate); }
.format__link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: auto;
  padding-top: 6px;
  font-weight: 600;
  text-decoration: none;
}
.format__link svg { width: 18px; height: 18px; transition: transform .2s var(--ease); }
.format__link:hover svg { transform: translateX(3px); }
.pricing-note { margin-top: 22px; font-size: 15.5px; color: var(--slate); }
.pricing-note a { color: var(--ink); font-weight: 600; text-underline-offset: 3px; }

/* Teams band */
.teams {
  padding-block: clamp(72px, 9vw, 120px);
  background: var(--ink);
  color: var(--paper);
}
.teams__inner {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr);
  gap: 40px clamp(36px, 5vw, 72px);
  align-items: center;
}
.teams__title {
  font-family: var(--font-display);
  font-size: clamp(2rem, 1.25rem + 2.4vw, 3.15rem);
  font-weight: 700;
  line-height: 1.04;
  letter-spacing: -0.03em;
  text-wrap: balance;
}
.teams__sub { margin-top: 18px; max-width: 30em; font-size: 18px; color: #BCC0C8; }
.teams .btn { margin-top: 34px; }
.teams__photo img {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  border-radius: 24px;
  box-shadow: 0 0 0 1px rgba(255, 255, 255, .08);
}
.teams :focus-visible { outline-color: #5CC8F5; }

/* Instructors */
.people { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; margin-top: 44px; }
.person {
  display: flex;
  align-items: flex-start;
  gap: 24px;
  padding: 28px;
  border-radius: 22px;
  background: var(--white);
  box-shadow: inset 0 0 0 1px var(--line);
}
.person__name {
  font-family: var(--font-display);
  font-size: 23px;
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: -0.018em;
}
.person p { margin-top: 8px; color: var(--slate); }

/* FAQ */
.faq-top { padding-top: clamp(64px, 7vw, 96px); border-top: 1px solid var(--line); }
.faq { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.6fr); gap: 32px clamp(36px, 6vw, 88px); }
.qa { border-top: 1px solid var(--line-strong); }
.qa:last-child { border-bottom: 1px solid var(--line-strong); }
.qa summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 22px 4px;
  font-size: 18px;
  font-weight: 600;
  line-height: 1.35;
  list-style: none;
  cursor: pointer;
}
.qa summary::-webkit-details-marker { display: none; }
.qa summary:hover .qa__icon { color: var(--ink); }
.qa__icon { flex: none; width: 22px; height: 22px; color: var(--slate); transition: transform .25s var(--ease), color .2s; }
.qa[open] .qa__icon { transform: rotate(45deg); }
.qa p { max-width: 62ch; padding: 0 4px 24px; color: var(--slate); }
.qa p a { color: var(--ink); font-weight: 600; text-underline-offset: 3px; }

/* Final CTA band over the desk loop */
.cta-band {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  padding-block: clamp(104px, 13vw, 176px);
  background: var(--ink);
  color: var(--paper);
}
.cta-band__media { position: absolute; inset: 0; z-index: -1; }
.cta-band__video { width: 100%; height: 100%; object-fit: cover; object-position: 50% 25%; }
.cta-band__media::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(21, 22, 26, .9) 0%, rgba(21, 22, 26, .72) 50%, rgba(21, 22, 26, .42) 100%),
    linear-gradient(0deg, rgba(21, 22, 26, .35), rgba(21, 22, 26, 0) 40%);
}
.cta-band__inner { display: flex; flex-direction: column; align-items: flex-start; gap: 38px; }
.cta-band__title {
  font-family: var(--font-display);
  font-size: clamp(2.6rem, 1.3rem + 5.2vw, 6rem);
  font-weight: 800;
  line-height: 1;
  letter-spacing: -0.035em;
}
.cta-band :focus-visible { outline-color: #5CC8F5; }
.motion-toggle {
  position: absolute;
  right: 16px;
  bottom: 16px;
  padding: 8px 12px;
  border: 1px solid rgba(255, 255, 255, .28);
  border-radius: 999px;
  background: rgba(21, 22, 26, .55);
  color: var(--paper);
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 500;
  cursor: pointer;
}
.motion-toggle:hover { background: rgba(21, 22, 26, .8); }
.motion-toggle[hidden] { display: none; }

/* ---------- Footer ---------- */

.site-footer { padding-block: 48px 40px; border-top: 1px solid var(--line); background: var(--paper); }
.footer {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 24px 40px;
  align-items: start;
}
.brand--small { font-size: 17px; }
.brand--small .brand__key { width: 30px; height: 30px; border-radius: 8px; }
.brand--small .brand__key svg { width: 16px; height: 16px; }
.footer__line { margin-top: 12px; font-size: 15px; color: var(--slate); }
.footer__links { display: flex; flex-wrap: wrap; gap: 6px 22px; padding-top: 6px; }
.footer__links a { font-size: 15px; font-weight: 500; text-decoration: none; }
.footer__links a:hover { text-decoration: underline; text-underline-offset: 3px; }
.footer__legal {
  grid-column: 1 / -1;
  padding-top: 20px;
  border-top: 1px solid var(--line);
  font-size: 13px;
  line-height: 1.5;
  color: var(--slate);
}

/* ---------- Course finder (dialog) ---------- */

html.finder-open { overflow: hidden; }

.finder {
  width: min(640px, calc(100vw - 24px));
  max-width: none;
  max-height: min(580px, calc(100dvh - 96px));
  margin: max(56px, 11vh) auto auto;
  padding: 0;
  border: 0;
  border-radius: 24px;
  background: rgba(251, 251, 253, .9);
  -webkit-backdrop-filter: blur(30px) saturate(1.8);
  backdrop-filter: blur(30px) saturate(1.8);
  box-shadow: 0 0 0 1px rgba(21, 22, 26, .08), 0 44px 90px -24px rgba(21, 22, 26, .5);
  color: var(--ink);
  overflow: hidden;
}
.finder[open] { display: flex; flex-direction: column; animation: finder-in .22s var(--ease); }
.finder::backdrop { background: rgba(21, 22, 26, .34); -webkit-backdrop-filter: blur(3px); backdrop-filter: blur(3px); }
@keyframes finder-in { from { opacity: 0; transform: translateY(-10px) scale(.98); } }

.finder__bar {
  display: flex;
  flex: none;
  align-items: center;
  gap: 14px;
  height: 70px;
  padding: 0 12px 0 22px;
  border-bottom: 1px solid rgba(21, 22, 26, .08);
}
.finder__bar:focus-within { box-shadow: inset 0 -2px 0 var(--sky); }
.finder__icon { flex: none; width: 22px; height: 22px; color: var(--slate); }
.finder__input {
  flex: 1;
  min-width: 0;
  height: 100%;
  padding: 0;
  border: 0;
  background: transparent;
  font-family: var(--font-body);
  font-size: 21px;
  color: var(--ink);
  outline: none;
}
.finder__input::placeholder { color: #8A8F9A; }
.finder__close { flex: none; padding: 6px; border: 0; border-radius: 9px; background: none; cursor: pointer; }
.finder__close:hover .kbd { color: var(--ink); }

.finder__list { flex: 1; min-height: 0; overflow-y: auto; padding: 8px; overscroll-behavior: contain; }
.option {
  display: grid;
  grid-template-columns: 6px minmax(0, 1fr) auto;
  align-items: center;
  gap: 4px 12px;
  padding: 12px;
  border-radius: 13px;
  cursor: pointer;
}
.option .result__stripe { height: 28px; }
.option__name { font-size: 16px; font-weight: 600; line-height: 1.3; }
.option__meta { font-family: var(--font-mono); font-size: 12px; font-weight: 500; color: var(--slate); text-align: right; }
.option.is-active { background: var(--ink); color: var(--paper); }
.option.is-active .option__meta { color: #C4C8D0; }

.finder__empty { display: flex; flex-direction: column; align-items: flex-start; gap: 14px; padding: 26px 22px 28px; color: var(--slate); }
.finder__empty[hidden] { display: none; }
.finder__hint {
  display: flex;
  flex: none;
  flex-wrap: wrap;
  gap: 8px 20px;
  padding: 11px 20px;
  border-top: 1px solid rgba(21, 22, 26, .08);
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--slate);
}
.finder__hint .kbd { margin-right: 4px; font-size: 11px; }

@media (hover: none) and (pointer: coarse) {
  .finder__hint,
  .btn .kbd,
  .spotlight__bar .kbd { display: none; }
}
@media (max-width: 560px) {
  .finder { margin-top: 16px; border-radius: 20px; max-height: calc(100dvh - 32px); }
  .finder__bar { height: 62px; padding-left: 18px; }
  .finder__input { font-size: 18px; }
  .option { grid-template-columns: 6px minmax(0, 1fr); }
  .option .result__stripe { grid-row: span 2; align-self: stretch; height: auto; }
  .option__meta { text-align: left; }
}

/* ---------- Reveal on scroll ---------- */

.js .reveal { opacity: 0; transform: translateY(18px); transition: opacity .7s var(--ease), transform .7s var(--ease); }
.js .reveal.is-in { opacity: 1; transform: none; }
.js .reveal.course { transition: opacity .7s var(--ease), transform .7s var(--ease), box-shadow .25s var(--ease), outline-color .3s var(--ease), outline-offset .3s var(--ease); }
.course-grid > .reveal:nth-child(3n + 2),
.steps > .reveal:nth-child(2),
.format-grid > .reveal:nth-child(2),
.points > .reveal:nth-child(2),
.people > .reveal:nth-child(2) { transition-delay: .07s; }
.course-grid > .reveal:nth-child(3n),
.steps > .reveal:nth-child(3),
.format-grid > .reveal:nth-child(3),
.points > .reveal:nth-child(3) { transition-delay: .14s; }
.steps > .reveal:nth-child(4),
.format-grid > .reveal:nth-child(4) { transition-delay: .21s; }

/* ---------- Responsive ---------- */

@media (max-width: 1080px) {
  .course-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .keycap--space { --kw: 280px; }
}

@media (max-width: 960px) {
  .hero__grid { grid-template-columns: minmax(0, 1fr); }
  .stage { max-width: 640px; width: 100%; margin-inline: auto; }
  .why, .formats, .teams__inner, .faq { grid-template-columns: minmax(0, 1fr); }
  .course--featured { grid-template-columns: minmax(0, 1fr); }
  .steps { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .step:nth-child(2n)::after { display: none; }
  .people { grid-template-columns: minmax(0, 1fr); }
}

@media (max-width: 640px) {
  body { font-size: 16.5px; }
  .hero__actions .btn { flex: 1 1 auto; }
  .stage { padding-bottom: 50px; }
  .screen { padding: 20px 14px 76px; border-radius: 24px; }
  .spotlight__bar { height: 56px; gap: 10px; padding: 0 12px 0 16px; border-radius: 18px; font-size: 17px; }
  .spotlight__icon { width: 19px; height: 19px; }
  .spotlight__results { border-radius: 18px; padding: 6px; }
  .result { padding: 9px 8px; gap: 10px; }
  .result__name { font-size: 14.5px; }
  .keycap--cmd { --kw: 88px; --kh: 88px; --depth: 12px; --r: 18px; --side: 5px; }
  .keycap--cmd .keycap__top { padding: 11px 11px 10px; }
  .keycap--cmd .keycap__glyph { width: 24px; height: 24px; }
  .keycap--cmd .keycap__legend { font-size: 11px; }
  .keycap--space { --kw: 196px; --kh: 88px; --depth: 12px; --r: 18px; --side: 5px; }
  .chord { gap: 9px; }
  .course { padding: 24px 22px 22px 30px; }
  .course--featured { padding: 26px 22px 24px 30px; gap: 26px; }
  .date-card { padding: 20px; }
  .date-card__actions .btn { flex: 1 1 auto; }
  .format-grid { grid-template-columns: minmax(0, 1fr); }
  .format { min-height: 0; }
  .person { flex-direction: column; gap: 18px; padding: 24px; }
  .footer { grid-template-columns: minmax(0, 1fr); }
}

@media (max-width: 560px) {
  .course-grid { grid-template-columns: minmax(0, 1fr); }
  .steps { grid-template-columns: minmax(0, 1fr); gap: 28px; }
  .step { display: grid; grid-template-columns: 56px minmax(0, 1fr); column-gap: 18px; }
  .step .keycap { grid-row: span 2; }
  .step__title { margin-top: 4px; }
  .step::after { display: none; }
  .result__meta { display: none; }
}

@media (max-width: 380px) {
  .keycap--cmd { --kw: 78px; --kh: 78px; }
  .keycap--space { --kw: 168px; --kh: 78px; }
  .hero__title { font-size: 2.6rem; }
}

/* ---------- Reduced motion ---------- */

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .01ms !important;
    transition-delay: 0s !important;
  }
  .js .reveal { opacity: 1; transform: none; }
  .caret { animation: none; }
}

/* =====================================================================
   Join page
   ===================================================================== */

.join-main { padding: clamp(36px, 6vw, 72px) 0 clamp(64px, 8vw, 104px); }
.narrow { width: 100%; max-width: calc(680px + 2 * var(--gutter)); margin-inline: auto; padding-inline: var(--gutter); }

.join__head { text-align: center; margin-bottom: 34px; }
.join__head .keycap { margin: 0 auto 22px; }
.keycap--mark { --kw: 72px; --kh: 72px; --depth: 11px; --r: 18px; --side: 5px; display: block; }
.keycap--mark .keycap__top { display: grid; place-items: center; }
.keycap--mark .keycap__glyph { width: 28px; height: 28px; }
.join__title {
  font-family: var(--font-display);
  font-size: clamp(2.1rem, 1.4rem + 2.6vw, 3.1rem);
  font-weight: 800;
  line-height: 1.04;
  letter-spacing: -0.03em;
  text-wrap: balance;
}
.join__sub { max-width: 30em; margin: 14px auto 0; font-size: 18px; color: var(--slate); text-wrap: balance; }

/* Choice cards */
.choices { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; margin: 0 0 22px; padding: 0; border: 0; min-width: 0; }
.choice { position: relative; display: block; cursor: pointer; }
.choice input { position: absolute; inset: 0; width: 100%; height: 100%; margin: 0; opacity: 0; cursor: pointer; }
.choice__card {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 10px;
  height: 100%;
  min-height: 112px;
  padding: 18px 12px;
  border-radius: 18px;
  background: var(--white);
  box-shadow: inset 0 0 0 1.5px var(--line-strong);
  color: var(--slate);
  text-align: center;
  transition: box-shadow .15s var(--ease), color .15s var(--ease), background-color .15s var(--ease), transform .15s var(--ease);
}
.choice__card svg { width: 26px; height: 26px; }
.choice__label { font-size: 15px; font-weight: 600; line-height: 1.25; }
.choice:hover .choice__card { box-shadow: inset 0 0 0 1.5px #A9AEB8; color: var(--ink-2); }
.choice input:checked + .choice__card {
  background: var(--white);
  color: var(--ink);
  box-shadow: inset 0 0 0 2px var(--ink), 0 2px 0 var(--ink), 0 14px 26px -18px rgba(21, 22, 26, .5);
  transform: translateY(-1px);
}
.choice input:focus-visible + .choice__card { outline: 3px solid var(--sky); outline-offset: 3px; }

.required-note { margin: 0 0 14px; font-size: 14px; color: var(--slate); text-align: right; }

/* Form section cards */
.panel { display: grid; gap: 16px; }
.panel[hidden] { display: none; }
.fcard {
  padding: 26px;
  border-radius: 22px;
  background: var(--white);
  box-shadow: var(--card-shadow);
}
.fcard__head {
  display: flex;
  align-items: center;
  gap: 14px;
  padding-bottom: 18px;
  margin-bottom: 20px;
  border-bottom: 1px solid var(--line);
}
.fcard__icon {
  display: grid;
  flex: none;
  place-items: center;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--alu-2);
  box-shadow: inset 0 0 0 1px var(--line);
  color: var(--ink);
}
.fcard__icon svg { width: 21px; height: 21px; }
.fcard__title { font-size: 18px; font-weight: 700; line-height: 1.25; }
.fcard__sub { margin-top: 2px; font-size: 14px; color: var(--slate); }

.fgrid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px 16px; }
.field { display: flex; flex-direction: column; gap: 7px; min-width: 0; margin: 0; padding: 0; border: 0; }
.field--full { grid-column: 1 / -1; }
.field > label, .field > legend, .field__label {
  padding: 0;
  font-size: 14.5px;
  font-weight: 600;
  line-height: 1.3;
  color: var(--ink-2);
}
.field > legend { margin-bottom: 7px; }
.req { color: var(--cherry); margin-left: 2px; }
.field__hint { font-size: 13.5px; color: var(--slate); margin-top: -2px; }

.input, .select, .textarea {
  width: 100%;
  min-height: 48px;
  padding: 11px 14px;
  border: 1.5px solid var(--line-strong);
  border-radius: 12px;
  background: var(--white);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.4;
  color: var(--ink);
  transition: border-color .15s var(--ease), box-shadow .15s var(--ease);
}
.input::placeholder, .textarea::placeholder { color: #9297A1; }
.input:hover, .select:hover, .textarea:hover { border-color: #B5BAC3; }
.input:focus, .select:focus, .textarea:focus {
  outline: none;
  border-color: var(--sky);
  box-shadow: 0 0 0 3px rgba(0, 156, 223, .22);
}
.textarea { min-height: 112px; resize: vertical; }
.select {
  -webkit-appearance: none;
  appearance: none;
  padding-right: 42px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M7 10l5 5 5-5' fill='none' stroke='%235B5F6B' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
  background-size: 18px;
  cursor: pointer;
}
.select:invalid, .select.is-placeholder { color: #80858F; }
.select option { color: var(--ink); }

.has-error .input, .has-error .select, .has-error .textarea { border-color: var(--cherry); }
.has-error .input:focus, .has-error .select:focus, .has-error .textarea:focus { box-shadow: 0 0 0 3px rgba(226, 56, 56, .2); }
.field__error {
  display: flex;
  align-items: flex-start;
  gap: 6px;
  font-size: 14px;
  font-weight: 500;
  line-height: 1.35;
  color: #C42B2B;
}
.field__error::before {
  content: "!";
  display: grid;
  flex: none;
  place-items: center;
  width: 16px;
  height: 16px;
  margin-top: 1px;
  border-radius: 50%;
  background: #C42B2B;
  color: var(--white);
  font-size: 11px;
  font-weight: 800;
}
.field__error[hidden] { display: none; }

/* Pills (checkbox and radio groups) */
.pills { display: flex; flex-wrap: wrap; gap: 8px; }
.pill { position: relative; display: inline-flex; cursor: pointer; }
.pill input { position: absolute; opacity: 0; width: 1px; height: 1px; margin: 0; pointer-events: none; }
.pill span {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 40px;
  padding: 8px 14px;
  border-radius: 999px;
  background: var(--white);
  box-shadow: inset 0 0 0 1.5px var(--line-strong);
  font-size: 15px;
  font-weight: 500;
  line-height: 1.2;
  color: var(--ink-2);
  transition: background-color .14s var(--ease), box-shadow .14s var(--ease), color .14s var(--ease);
}
.pill:hover span { box-shadow: inset 0 0 0 1.5px #A9AEB8; }
.pill input:checked + span { background: var(--ink); color: var(--paper); box-shadow: inset 0 0 0 1.5px var(--ink); }
.pill input:focus-visible + span { outline: 3px solid var(--sky); outline-offset: 2px; }
.pill__dot { flex: none; width: 9px; height: 9px; border-radius: 3px; background: var(--stripe); }
.pill input:checked + span .pill__dot { box-shadow: 0 0 0 2px rgba(255, 255, 255, .9); }
.pill--check input:checked + span::after {
  content: "";
  width: 10px;
  height: 6px;
  margin-left: 2px;
  border-left: 2px solid currentColor;
  border-bottom: 2px solid currentColor;
  transform: translateY(-2px) rotate(-45deg);
}
.has-error .pills .pill span { box-shadow: inset 0 0 0 1.5px rgba(226, 56, 56, .55); }

/* Checkbox rows (newsletter, consent) */
.check {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 16px 18px;
  border-radius: 16px;
  background: var(--white);
  box-shadow: var(--card-shadow);
  cursor: pointer;
}
.check--inset { margin-top: 18px; background: var(--alu-2); box-shadow: inset 0 0 0 1px var(--line); }
.check input {
  flex: none;
  width: 22px;
  height: 22px;
  margin: 1px 0 0;
  accent-color: var(--ink);
  cursor: pointer;
}
.check__text { font-size: 15.5px; font-weight: 500; line-height: 1.4; }
.check-field { display: flex; flex-direction: column; gap: 8px; }
.check-field.has-error .check { box-shadow: inset 0 0 0 1.5px var(--cherry); }

/* Honeypot: off screen, hidden from assistive tech */
.hp { position: absolute !important; left: -10000px; top: auto; width: 1px; height: 1px; overflow: hidden; }

/* Submit area */
.form-alert {
  display: flex;
  gap: 10px;
  margin-top: 18px;
  padding: 14px 16px;
  border-radius: 14px;
  background: #FCECEC;
  box-shadow: inset 4px 0 0 var(--cherry);
  font-size: 15px;
  font-weight: 500;
  color: #8E1E1E;
}
.form-alert[hidden] { display: none; }
.submit { margin-top: 22px; text-align: center; }
.submit .btn { height: 58px; font-size: 17px; border-radius: 16px; }
.submit__note { margin-top: 14px; font-size: 15px; color: var(--slate); }
.powered {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 26px;
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: .04em;
  color: #80858F;
}
.powered svg { width: 13px; height: 13px; }
.powered strong { color: var(--ink-2); font-weight: 600; }

.spinner {
  width: 18px;
  height: 18px;
  border: 2px solid rgba(251, 251, 253, .35);
  border-top-color: var(--paper);
  border-radius: 50%;
  animation: spin .8s linear infinite;
}
@keyframes spin { to { transform: rotate(360deg); } }

/* Success state */
.success { text-align: center; }
.success[hidden] { display: none; }
.success:focus { outline: none; }
.success__badge {
  display: grid;
  place-items: center;
  width: 72px;
  height: 72px;
  margin: 0 auto 22px;
  border-radius: 50%;
  background: var(--leaf);
  color: var(--white);
  box-shadow: 0 0 0 8px rgba(94, 189, 62, .16);
}
.success__badge svg { width: 34px; height: 34px; }
.success__title {
  font-family: var(--font-display);
  font-size: clamp(2rem, 1.4rem + 2.4vw, 2.9rem);
  font-weight: 800;
  line-height: 1.04;
  letter-spacing: -0.035em;
  text-wrap: balance;
}
.success__title:focus { outline: none; }
.next {
  display: grid;
  gap: 12px;
  max-width: 520px;
  margin: 32px auto 0;
  text-align: left;
  counter-reset: next;
}
.next li {
  display: grid;
  grid-template-columns: 44px minmax(0, 1fr);
  align-items: center;
  gap: 16px;
  padding: 16px 18px;
  border-radius: 18px;
  background: var(--white);
  box-shadow: var(--card-shadow);
  font-size: 16px;
  line-height: 1.45;
}
.next .keycap { --kw: 44px; --kh: 44px; --depth: 8px; --r: 12px; --side: 4px; }
.next .keycap__top { display: grid; place-items: center; border-radius: 8px; font-family: var(--font-mono); font-size: 16px; font-weight: 600; }
.tip {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 10px 12px;
  max-width: 520px;
  margin: 28px auto 0;
  padding: 20px;
  border-radius: 18px;
  background: var(--alu-2);
  box-shadow: inset 0 0 0 1px var(--line);
  font-size: 15.5px;
}
.tip__label { width: 100%; font-family: var(--font-mono); font-size: 11.5px; font-weight: 500; letter-spacing: .08em; text-transform: uppercase; color: var(--slate); }
.tip .keycap { --kw: 46px; --kh: 46px; --depth: 8px; --r: 12px; --side: 4px; }
.tip .keycap__top { display: grid; place-items: center; border-radius: 8px; font-family: var(--font-mono); font-size: 12px; font-weight: 500; }
.tip .keycap__glyph { width: 18px; height: 18px; }
.tip .keycap--wide { --kw: 112px; }
.tip__plus { font-family: var(--font-mono); font-weight: 600; color: var(--slate); }
.success__actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; margin-top: 30px; }

.footer--slim { grid-template-columns: minmax(0, 1fr) auto; }

@media (max-width: 560px) {
  .choices { grid-template-columns: minmax(0, 1fr); gap: 10px; }
  .choice__card { flex-direction: row; justify-content: flex-start; min-height: 0; padding: 16px 18px; text-align: left; gap: 14px; }
  .fcard { padding: 22px 18px; border-radius: 20px; }
  .fgrid { grid-template-columns: minmax(0, 1fr); }
  .required-note { text-align: left; }
  .success__actions .btn { flex: 1 1 auto; }
}

/* =====================================================================
   Privacy page
   ===================================================================== */

.legal-main { padding: clamp(40px, 6vw, 80px) 0 clamp(64px, 8vw, 112px); }
.legal__title {
  font-family: var(--font-display);
  font-size: clamp(2.3rem, 1.5rem + 3vw, 3.6rem);
  font-weight: 800;
  line-height: 1.02;
  letter-spacing: -0.032em;
  text-wrap: balance;
}
.legal__lede { margin-top: 18px; font-size: 19px; color: var(--slate); }
.legal__updated { margin-top: 14px; font-family: var(--font-mono); font-size: 12.5px; color: var(--slate); }
.legal__section { padding: 28px 0; border-top: 1px solid var(--line-strong); }
.legal__section:first-of-type { margin-top: 40px; }
.legal__section:last-of-type { border-bottom: 1px solid var(--line-strong); }
.legal__section h2 { font-size: 20px; font-weight: 700; line-height: 1.3; letter-spacing: -0.01em; }
.legal__section p, .legal__section ul { margin-top: 10px; }
.legal__section p + p { margin-top: 12px; }
.legal__section ul { display: grid; gap: 6px; }
.legal__section li { position: relative; padding-left: 20px; }
.legal__section li::before {
  content: "";
  position: absolute;
  left: 2px;
  top: .55em;
  width: 7px;
  height: 7px;
  border-radius: 2px;
  background: var(--alu);
  box-shadow: inset 0 0 0 1px #C3C7CF;
}
.legal__section a { font-weight: 600; text-underline-offset: 3px; }
.legal__back { margin-top: 36px; }
