/* Bridgetree Learn homepage, 2026 design.
   Orange ground, near-black ink, cream paper. Cobalt is reserved for primary apply buttons.
   Mobile first. */

:root {
  --orange: #FF5A1F;
  --orange-soft: #FF8A5C;
  --ink: #0B0E11;
  --cream: #FBF8F2;
  --cobalt: #2B4BFF;
  --white: #FFFFFF;
  --danger: #B3261E;
  --display: 'Bricolage Grotesque', 'Helvetica Neue', Arial, sans-serif;
  --mono: 'JetBrains Mono', ui-monospace, 'SF Mono', Menlo, monospace;
  --pad-x: clamp(20px, 5vw, 64px);
  --pad-y: clamp(56px, 8vw, 110px);
  --cta-bar-h: 0px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--cream);
  color: var(--ink);
  font-family: var(--display);
  font-size: 17px;
  line-height: 1.5;
  font-weight: 500;
  overflow-x: hidden;
}
[hidden] { display: none !important; }
img { max-width: 100%; height: auto; }
a { color: inherit; text-underline-offset: 3px; }
a:hover { text-decoration-thickness: 3px; }
:focus-visible { outline: 4px solid var(--ink); outline-offset: 3px; }
.on-dark :focus-visible, .section--ink :focus-visible, .footer :focus-visible { outline-color: var(--cream); }
section[id], [id="apply-form"], [id="apply-done"], [id="pay-done"], [id="waitlist-form"], [id="waitlist-done"], [id="certificate"], [id="track-quiz"] { scroll-margin-top: 16px; }
.skip { position: absolute; left: -9999px; }
.skip:focus { left: 12px; top: 12px; z-index: 100; background: var(--cream); padding: 10px 14px; border: 3px solid var(--ink); border-radius: 12px; }

/* ---------- shared pieces ---------- */
.wrap { max-width: 1280px; margin: 0 auto; }
.section { padding: var(--pad-y) var(--pad-x); }
.section--cream { background: var(--cream); }
.section--orange { background: var(--orange); }
.section--ink { background: var(--ink); color: var(--cream); }

.eyebrow {
  font-family: var(--mono); font-weight: 700; font-size: 14px;
  letter-spacing: .08em; text-transform: uppercase; margin: 0;
}
.section--ink .eyebrow { color: var(--orange); }

.h-xl {
  margin: 14px 0 0;
  font-size: clamp(52px, 10vw, 140px);
  line-height: .88; font-weight: 800; font-stretch: 75%; letter-spacing: -.045em;
  text-transform: lowercase;
}
.h-xl .accent { color: var(--orange); }
.lede { margin: 22px 0 0; max-width: 620px; font-size: 20px; line-height: 1.45; font-weight: 500; }
.section--orange .lede { font-weight: 600; }
.mono { font-family: var(--mono); font-weight: 700; }

/* Stickers: hard offset shadow, thick border, slight tilt */
.sticker {
  background: var(--cream); color: var(--ink);
  border: 3px solid var(--ink); border-radius: 20px;
  box-shadow: 6px 6px 0 var(--ink);
}
.tilt-l { transform: rotate(-1deg); }
.tilt-r { transform: rotate(1deg); }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  font-family: var(--display); font-size: 17px; font-weight: 800; letter-spacing: -.01em; line-height: 1.1;
  text-decoration: none; cursor: pointer; text-align: center;
  padding: 13px 24px; min-height: 48px;
  border: 3px solid var(--ink); border-radius: 999px;
  box-shadow: 4px 4px 0 var(--ink);
  background: var(--cream); color: var(--ink);
  transition: transform .12s ease, box-shadow .12s ease;
}
.btn:hover { transform: translate(-2px, -2px); box-shadow: 6px 6px 0 var(--ink); text-decoration: none; }
.btn:active { transform: translate(3px, 3px); box-shadow: 1px 1px 0 var(--ink); }
.btn--primary { background: var(--cobalt); color: var(--cream); }
.btn--dark { background: var(--ink); color: var(--cream); }
.btn--lg { font-size: 20px; padding: 15px 28px; }
.btn--block { display: flex; width: 100%; }
.btn svg { width: 22px; height: 22px; flex: none; }
.on-dark .btn, .section--ink .btn, .cta-bar .btn { border-color: var(--cream); box-shadow: 4px 4px 0 var(--cream); }
.section--ink .btn--dark { background: var(--cream); color: var(--ink); }
.section--ink .btn--primary { color: var(--cream); }
.cta-bar .btn--primary { border-color: var(--ink); box-shadow: 3px 3px 0 var(--ink); }

.link-btn { background: none; border: 0; padding: 10px 12px; font: inherit; font-weight: 700; color: var(--ink); text-decoration: underline; cursor: pointer; }

.pill {
  display: inline-block; font-family: var(--mono); font-weight: 700; font-size: 13px;
  background: var(--ink); color: var(--cream); border-radius: 999px; padding: 5px 12px;
}
.pill--orange { background: var(--orange); color: var(--ink); }
.pill--line { background: transparent; color: var(--ink); border: 2px solid var(--ink); font-family: var(--display); font-size: 15px; padding: 6px 14px; }
.badge {
  display: inline-block; font-family: var(--mono); font-weight: 700; font-size: 12px;
  letter-spacing: .04em; text-transform: uppercase;
  background: var(--ink); color: var(--cream); border-radius: 999px; padding: 4px 12px;
}
.badge--gold { background: var(--orange); color: var(--ink); border: 2px solid var(--ink); }
.badge--success { background: var(--ink); color: var(--cream); }

/* ---------- nav ---------- */
.nav { background: var(--orange); }
.nav__inner {
  max-width: 1280px; margin: 0 auto; padding: 20px var(--pad-x) 0;
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 0 16px;
}
.nav__brand { text-decoration: none; font-weight: 800; font-size: 24px; letter-spacing: -.03em; font-stretch: 75%; }
.nav__brand .slash { font-family: var(--mono); font-weight: 700; font-size: 18px; letter-spacing: 0; font-stretch: 100%; }
.nav__links { display: flex; align-items: center; gap: 32px; font-size: 15px; font-weight: 700; }
.nav__link { text-decoration: none; }
.nav__link:hover { text-decoration: underline; text-decoration-thickness: 3px; }
.nav__links .btn { min-height: 0; padding: 12px 24px; font-size: 15px; box-shadow: none; }
.nav__links .btn:hover { box-shadow: 3px 3px 0 var(--ink); }
.nav__toggle {
  display: none; width: 48px; height: 48px; align-items: center; justify-content: center;
  border: 3px solid var(--ink); border-radius: 14px; background: var(--cream); color: var(--ink); cursor: pointer; padding: 0;
}
.nav__toggle svg { width: 24px; height: 24px; }
.nav__toggle .nav__close { display: none; }
.nav__toggle[aria-expanded="true"] .nav__hamburger { display: none; }
.nav__toggle[aria-expanded="true"] .nav__close { display: block; }
@media (max-width: 860px) {
  .nav__toggle { display: inline-flex; }
  .nav__links {
    display: none; width: 100%; flex-direction: column; align-items: stretch; gap: 4px;
    margin-top: 14px; padding: 12px; background: var(--cream);
    border: 3px solid var(--ink); border-radius: 20px; box-shadow: 6px 6px 0 var(--ink);
    max-height: calc(100dvh - 110px); overflow-y: auto;
  }
  .nav__links[data-open="true"] { display: flex; }
  .nav__link { padding: 12px; font-size: 18px; }
  .nav__links .btn { margin-top: 6px; background: var(--ink); color: var(--cream); }
}

/* ---------- hero ---------- */
.hero { background: var(--orange); }
.hero__inner { max-width: 1280px; margin: 0 auto; padding: clamp(24px, 4vw, 48px) var(--pad-x) clamp(40px, 6vw, 72px); }
.hero__title {
  display: flex; flex-wrap: wrap; justify-content: space-between; align-items: baseline; column-gap: 24px;
  margin: 0; font-size: clamp(88px, 20vw, 290px); line-height: .85;
  font-weight: 800; font-stretch: 75%; letter-spacing: -.03em; text-transform: lowercase;
}
.hero__grid { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 40px 32px; margin-top: clamp(16px, 3vw, 32px); }
.hero__left { flex: 1 1 260px; display: flex; flex-direction: column; gap: 22px; align-items: flex-start; }
.hero__tag { margin: 0; font-size: clamp(44px, 5vw, 64px); line-height: .95; font-weight: 800; font-stretch: 75%; letter-spacing: -.04em; text-transform: lowercase; }
.stickers { display: flex; flex-direction: column; gap: 14px; align-items: flex-start; padding-left: 8px; }
.stk {
  border-radius: 14px; padding: 12px 18px; font-weight: 800; font-size: 18px; line-height: 1.25;
}
.stk--cream { background: var(--cream); border: 3px solid var(--ink); box-shadow: 5px 5px 0 var(--ink); transform: rotate(3deg); }
.stk--ink { background: var(--ink); color: var(--cream); font-size: 16px; font-weight: 700; transform: rotate(-2deg); margin-left: 14px; }

.hero__art { flex: 1 1 340px; display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 36px 28px; padding: 24px 0; }
.code-win {
  width: 280px; max-width: 100%; background: var(--ink); color: var(--cream);
  border: 3px solid var(--ink); border-radius: 20px; padding: 20px 22px; transform: rotate(5deg);
  box-shadow: 10px 10px 0 var(--ink); font-family: var(--mono); font-size: 13px; line-height: 1.7; overflow: hidden;
}
.code-win__dots { display: flex; gap: 6px; margin-bottom: 14px; }
.code-win__dots span { width: 10px; height: 10px; border-radius: 50%; background: var(--cream); opacity: .4; }
.code-win__dots span:first-child { background: var(--orange); opacity: 1; }
.code-win pre { margin: 0; font: inherit; white-space: pre; overflow: hidden; }
.code-win .k { color: var(--orange-soft); }
.code-win .s { color: #FFD9C7; }
.phone {
  width: 220px; height: 440px; background: var(--ink); border-radius: 38px; padding: 10px;
  transform: rotate(-6deg); box-shadow: 12px 12px 0 var(--ink);
}
.phone__screen {
  width: 100%; height: 100%; background: var(--cream); border-radius: 30px; padding: 20px;
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 12px; text-align: center;
}
.phone__icon { width: 64px; height: 64px; border-radius: 18px; background: var(--orange); border: 3px solid var(--ink); }
.phone__hello { font-size: 28px; font-weight: 800; font-stretch: 75%; letter-spacing: -.03em; line-height: 1; text-transform: lowercase; }
.phone__cap { font-family: var(--mono); font-size: 12px; font-weight: 700; }

.hero__right { flex: 1 1 260px; display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 28px; }
.hero__lede { margin: 0; max-width: 270px; font-size: 18px; line-height: 1.4; font-weight: 600; }
.apply-disc {
  width: 176px; height: 176px; border-radius: 50%; background: var(--cobalt); color: var(--cream);
  border: 3px solid var(--ink); box-shadow: 6px 6px 0 var(--ink);
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 6px;
  text-decoration: none; font-size: 24px; font-weight: 800; letter-spacing: -.02em; line-height: 1;
  transform: rotate(-8deg); transition: transform .15s ease;
}
.apply-disc:hover { transform: rotate(-4deg) scale(1.04); }
.apply-disc svg { width: 30px; height: 30px; }

/* phone with the code window overlapping its lower-left corner */
.hero__art { position: relative; display: block; flex: none; width: 300px; max-width: 100%; height: 470px; padding: 0; margin: 0 auto; }
.hero__art .phone { position: absolute; left: 70px; top: 0; }
.hero__art .code-win { position: absolute; left: 0; top: 300px; width: 240px; z-index: 1; }

/* desktop: the phone and code window sit between "build" and "apps.", like the design */
@media (min-width: 960px) {
  .hero__grid { display: grid; grid-template-columns: minmax(0, 1fr) 300px minmax(0, 1fr); align-items: end; }
  .hero__art { margin: calc(-.8 * clamp(88px, 20vw, 290px)) 0 0; }
  .hero__art .phone { left: 50px; }
  .hero__art .code-win { left: -10px; }
  .hero__right { justify-content: flex-end; }
}

.hero-facts {
  background: var(--ink); color: var(--cream);
  display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 10px 22px;
  padding: 20px var(--pad-x);
  font-family: var(--mono); font-size: 13px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase;
}
.hero-facts .dot { color: var(--orange); }

/* ---------- what you'll build ---------- */
.builds { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 32px; margin-top: 48px; }
.build {
  padding: 26px; display: flex; flex-direction: column; gap: 14px;
  border: 3px solid var(--ink); border-radius: 20px; box-shadow: 6px 6px 0 var(--ink);
  background: var(--cream);
}
.build:nth-child(6n+1) { background: var(--orange); transform: rotate(-1deg); }
.build:nth-child(6n+2) { background: var(--ink); color: var(--cream); box-shadow: 6px 6px 0 var(--orange); transform: rotate(1deg); }
.build:nth-child(6n+3) { transform: rotate(-.5deg); }
.build:nth-child(6n+4) { background: var(--orange); transform: rotate(1deg); }
.build:nth-child(6n+5) { transform: rotate(-1deg); }
.build:nth-child(6n+6) { background: var(--ink); color: var(--cream); box-shadow: 6px 6px 0 var(--orange); transform: rotate(.7deg); }
.build__top { display: flex; justify-content: space-between; align-items: center; gap: 10px; }
.build:nth-child(6n+2) .pill, .build:nth-child(6n+6) .pill { background: var(--orange); color: var(--ink); }
.build svg { width: 30px; height: 30px; flex: none; }
.build h3 { margin: 0; font-size: 40px; line-height: .95; font-weight: 800; font-stretch: 75%; letter-spacing: -.03em; text-transform: lowercase; }
.build p { margin: 0; font-size: 17px; line-height: 1.45; font-weight: 600; }
.build:nth-child(6n+2) p, .build:nth-child(6n+6) p { font-weight: 500; }
.outcomes { margin-top: 48px; display: flex; flex-wrap: wrap; gap: 10px; align-items: center; }
.outcomes .mono { font-size: 13px; text-transform: uppercase; letter-spacing: .06em; margin-right: 8px; }
.outcomes a.pill--line { text-decoration: none; }
.outcomes a.pill--line:hover { background: var(--ink); color: var(--cream); }

/* ---------- tracks ---------- */
.tracks { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 320px), 1fr)); gap: 36px; margin-top: 52px; align-items: stretch; }
.track {
  background: var(--cream); color: var(--ink);
  border: 3px solid var(--ink); border-radius: 24px; box-shadow: 8px 8px 0 var(--ink);
  padding: clamp(24px, 3vw, 40px); display: flex; flex-direction: column; gap: 18px;
}
.track--pro { background: var(--ink); color: var(--cream); box-shadow: 8px 8px 0 var(--cream); }
.track__head { display: flex; justify-content: space-between; align-items: center; gap: 12px; flex-wrap: wrap; }
.track h3 { margin: 0; font-size: clamp(44px, 6vw, 56px); line-height: .9; font-weight: 800; font-stretch: 75%; letter-spacing: -.04em; text-transform: lowercase; }
.track--pro .pill { background: var(--orange); color: var(--ink); }
.track__label { font-family: var(--mono); font-weight: 700; font-size: 12px; text-transform: uppercase; letter-spacing: .08em; }
.track--pro .track__label { color: var(--orange-soft); }
.track p { margin: 6px 0 0; font-size: 18px; line-height: 1.45; }
.track ul { margin: 8px 0 0; padding: 0 0 0 20px; font-size: 17px; line-height: 1.55; }
.track__foot {
  margin-top: auto; padding-top: 16px; border-top: 3px dashed var(--ink);
  display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 12px;
}
.track--pro .track__foot { border-top-color: var(--cream); }
.track__fee { font-family: var(--mono); font-weight: 700; font-size: 18px; line-height: 1.3; }
.track__fee small { display: block; font-size: 13px; font-weight: 500; }
.track--pro .btn { border-color: var(--cream); box-shadow: 4px 4px 0 var(--cream); }

.included { margin-top: 56px; }
.included .eyebrow { margin-bottom: 20px; }
.included__grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 28px; }
.included .sticker { padding: 24px; }
.included h4 { margin: 0 0 8px; font-size: 28px; font-weight: 800; font-stretch: 75%; letter-spacing: -.02em; line-height: 1; text-transform: lowercase; }
.included p { margin: 0; }

/* quiz */
.quiz { margin-top: 56px; padding: clamp(22px, 3vw, 36px); }
.quiz h3 { margin: 10px 0 0; font-size: clamp(32px, 4vw, 44px); line-height: .95; font-weight: 800; font-stretch: 75%; letter-spacing: -.03em; text-transform: lowercase; }
.quiz fieldset { border: 0; padding: 0; margin: 28px 0 0; min-width: 0; }
.quiz legend { font-weight: 800; font-size: 19px; margin-bottom: 12px; padding: 0; }
.opt-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(190px, 1fr)); gap: 12px; }
.option-card {
  position: relative; display: block; cursor: pointer;
  background: var(--white); border: 3px solid var(--ink); border-radius: 14px; padding: 12px 16px;
}
.option-card input { position: absolute; opacity: 0; inset: 0; width: 100%; height: 100%; margin: 0; cursor: pointer; }
.option-card:hover { background: #FFE9DF; }
.option-card:has(input:checked) { background: var(--ink); color: var(--cream); box-shadow: 4px 4px 0 var(--orange); }
.option-card:has(input:focus-visible) { outline: 4px solid var(--ink); outline-offset: 3px; }
.row__title { font-weight: 800; }
.row__meta { font-size: 14px; font-weight: 500; opacity: .85; }
.quiz-result { margin-top: 24px; padding: 22px; background: var(--orange); border: 3px solid var(--ink); border-radius: 16px; box-shadow: 5px 5px 0 var(--ink); }
.quiz-result h4 { margin: 6px 0; font-size: 32px; line-height: 1; font-weight: 800; font-stretch: 75%; text-transform: lowercase; }
.quiz-result p { margin: 0 0 6px; }
.quiz-result .btn { margin-top: 14px; }
.help { font-size: 14px; line-height: 1.5; margin: 12px 0 0; }
.help a { font-weight: 700; }

/* ---------- how it works ---------- */
.steps5 { list-style: none; margin: 52px 0 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 28px; }
.step5 { border: 3px solid var(--cream); border-radius: 20px; padding: 26px; display: flex; flex-direction: column; gap: 10px; }
.step5__n { font-family: var(--mono); font-weight: 700; font-size: 44px; color: var(--orange); line-height: 1; }
.step5 h3 { margin: 0; font-size: 30px; font-weight: 800; font-stretch: 75%; letter-spacing: -.02em; text-transform: lowercase; line-height: 1; }
.step5 p { margin: 0; font-size: 17px; line-height: 1.5; }

.accordion { display: flex; flex-direction: column; gap: 16px; }
.accordion__item { background: var(--cream); color: var(--ink); border: 3px solid var(--cream); border-radius: 16px; }
.accordion__item > summary {
  cursor: pointer; padding: 18px 22px; font-size: 21px; font-weight: 800; letter-spacing: -.02em; line-height: 1.2;
  display: flex; justify-content: space-between; align-items: center; gap: 16px; list-style: none;
}
.accordion__item > summary::-webkit-details-marker { display: none; }
.accordion__item > summary::after {
  content: ""; flex: none; width: 24px; height: 24px; transition: transform .2s ease;
  background: no-repeat center / 24px url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%230B0E11' stroke-width='3' stroke-linecap='round'%3E%3Cpath d='M12 4v16M4 12h16'/%3E%3C/svg%3E");
}
.accordion__item[open] > summary::after { transform: rotate(45deg); }
.accordion__panel { padding: 0 22px 22px; font-size: 17px; line-height: 1.55; }
.accordion__panel a { font-weight: 700; }

.curriculum-more { margin-top: 56px; }
.curriculum-more .accordion__item > summary { font-size: 24px; }
.segmented { display: inline-flex; border: 3px solid var(--ink); border-radius: 999px; overflow: hidden; background: var(--cream); }
.segmented__item { font: inherit; font-weight: 800; font-size: 16px; padding: 12px 20px; border: 0; background: transparent; color: var(--ink); cursor: pointer; }
.segmented__item[aria-selected="true"] { background: var(--ink); color: var(--cream); }
.center { text-align: center; }
.seg-wrap { margin: 6px 0 28px; text-align: center; }
.timeline { display: grid; gap: 14px; }
.timeline__item { border: 3px solid var(--ink); border-radius: 14px; padding: 14px 18px; background: var(--white); }
.timeline__week { font-family: var(--mono); font-weight: 700; font-size: 12px; text-transform: uppercase; letter-spacing: .08em; }
.timeline__title { font-weight: 800; font-size: 19px; line-height: 1.25; margin-top: 2px; }
.timeline__body { margin: 6px 0 0; font-size: 16px; line-height: 1.5; }

/* ---------- certificate ---------- */
.cert { display: grid; grid-template-columns: minmax(0, 1fr); gap: 40px; align-items: center; margin-top: 48px; }
.cert h3 { margin: 12px 0 0; font-size: clamp(34px, 4vw, 52px); line-height: .95; font-weight: 800; font-stretch: 75%; letter-spacing: -.03em; text-transform: lowercase; }
.cert ul { margin: 16px 0; padding-left: 1.2em; display: grid; gap: 8px; font-size: 18px; }
.cert p { margin: 12px 0 0; }
.cert__img { display: block; width: 100%; height: auto; border: 3px solid var(--ink); border-radius: 16px; box-shadow: 8px 8px 0 var(--ink); transform: rotate(1.2deg); background: var(--white); }
@media (min-width: 860px) { .cert { grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr); gap: 64px; } }

/* ---------- instructor ---------- */
.instructor { display: grid; gap: 28px; margin-top: 48px; align-items: start; }
.instructor__photo { width: 176px; height: 176px; object-fit: cover; border: 3px solid var(--cream); border-radius: 20px; box-shadow: 6px 6px 0 var(--orange); transform: rotate(-3deg); }
.instructor h3 { margin: 12px 0 6px; font-size: clamp(40px, 5vw, 56px); line-height: .9; font-weight: 800; font-stretch: 75%; letter-spacing: -.04em; text-transform: lowercase; }
.instructor .role { font-family: var(--mono); font-weight: 700; font-size: 14px; color: var(--orange-soft); margin: 0 0 14px; }
.instructor p { margin: 0 0 14px; max-width: 72ch; }
.instructor__links { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 18px; }
.about-co { max-width: 70ch; margin: 40px 0 0; font-size: 20px; line-height: 1.45; font-weight: 600; }
@media (min-width: 700px) { .instructor { grid-template-columns: auto 1fr; gap: 48px; } }

/* ---------- pricing & intakes ---------- */
.intakes { display: flex; flex-wrap: wrap; gap: 44px; margin-top: 52px; justify-content: center; }
.intake {
  position: relative; flex: 1 1 300px; max-width: 520px; text-align: center;
  background: var(--cream); color: var(--ink);
  border: 4px solid var(--ink); border-radius: 28px; box-shadow: 10px 10px 0 var(--ink);
  padding: clamp(24px, 4vw, 44px); transform: rotate(-2deg);
}
.intake + .intake { background: var(--ink); color: var(--cream); box-shadow: 10px 10px 0 var(--cream); transform: rotate(2deg); }
.intake__label { font-family: var(--mono); font-weight: 700; font-size: 14px; text-transform: uppercase; letter-spacing: .08em; }
.intake + .intake .intake__label { color: var(--orange); }
.intake__date { font-size: clamp(88px, 13vw, 170px); line-height: .85; font-weight: 800; font-stretch: 75%; letter-spacing: -.05em; margin-top: 10px; text-transform: lowercase; }
.intake__year { font-size: 30px; font-weight: 800; font-stretch: 75%; letter-spacing: -.02em; margin-top: 6px; }
.intake__meta { margin-top: 12px; font-size: 15px; font-weight: 600; }
.intake .btn { margin-top: 22px; }
.intake + .intake .btn { border-color: var(--cream); box-shadow: 4px 4px 0 var(--cream); }
.intake .row__trail { position: absolute; top: -18px; right: 20px; transform: rotate(4deg); }
.intakes-note { margin: 40px 0 0; text-align: center; font-family: var(--mono); font-weight: 700; font-size: 14px; }

.pricing-grid { display: grid; grid-template-columns: minmax(0, 1fr); gap: 40px; margin-top: 64px; align-items: start; }
@media (min-width: 900px) { .pricing-grid { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 56px; } }
.pricing-grid h3, .sponsor h4, .tutor h3 { margin: 0 0 14px; font-size: 32px; line-height: 1; font-weight: 800; font-stretch: 75%; letter-spacing: -.03em; text-transform: lowercase; }
.fees { padding: 24px; }
.fees h3 { margin-bottom: 6px; }
.fee-row { display: flex; justify-content: space-between; align-items: baseline; gap: 14px; padding: 14px 0; border-bottom: 3px dashed var(--ink); }
.fee-row:last-of-type { border-bottom: 0; }
.fee-row strong { display: block; font-weight: 800; font-size: 19px; }
.fee-row span { font-size: 14px; }
.fee-row .mono { font-size: 17px; white-space: nowrap; }
.steps { list-style: none; margin: 0; padding: 0; display: grid; gap: 22px; counter-reset: s; }
.steps > li { position: relative; padding-left: 62px; counter-increment: s; }
.steps > li::before {
  content: counter(s); position: absolute; left: 0; top: 0; width: 44px; height: 44px; border-radius: 50%;
  background: var(--ink); color: var(--cream); font-family: var(--mono); font-weight: 700; font-size: 20px;
  display: flex; align-items: center; justify-content: center;
}
.steps .timeline__title { font-size: 22px; margin: 0; }
.steps p { margin: 4px 0 0; }

/* ---------- sponsors ---------- */
.sponsor-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 32px; margin-top: 48px; }
.sponsor { padding: 24px; }
.sponsor h4 { font-size: 30px; margin-bottom: 10px; }
.sponsor p { margin: 0; }
.sponsor-cta { margin-top: 44px; display: flex; flex-wrap: wrap; gap: 16px; align-items: center; }
.sponsor-cta .help { flex-basis: 100%; margin-top: 4px; }

/* ---------- faq ---------- */
.faq-wrap { max-width: 980px; margin: 0 auto; }
.faq-wrap .accordion { margin-top: 48px; }

/* ---------- apply ---------- */
.apply { display: flex; flex-wrap: wrap; gap: 48px; align-items: flex-start; justify-content: space-between; }
.apply__intro { flex: 1 1 340px; }
.apply__intro .h-xl { font-size: clamp(60px, 11vw, 150px); line-height: .85; }
.apply__intro .lede { max-width: 420px; }
.apply__aside { margin-top: 32px; display: grid; gap: 22px; max-width: 420px; }
.apply__aside .sticker { padding: 18px 20px; }
.apply__aside h4 { margin: 0 0 6px; font-size: 24px; font-weight: 800; font-stretch: 75%; line-height: 1; text-transform: lowercase; }
.apply__aside p { margin: 4px 0 0; font-size: 15px; }
.apply__aside a { font-weight: 800; }
.apply__main { flex: 1 1 380px; max-width: 580px; min-width: 0; }
.apply-card { padding: clamp(22px, 3vw, 36px); }
.apply-progress { display: flex; align-items: center; gap: 14px; margin-bottom: 24px; font-family: var(--mono); font-size: 13px; font-weight: 700; text-transform: uppercase; letter-spacing: .06em; }
.apply-progress__bar { flex: 1; height: 12px; border: 3px solid var(--ink); border-radius: 99px; background: var(--white); overflow: hidden; }
.apply-progress__bar span { display: block; height: 100%; width: 50%; background: var(--orange); border-right: 3px solid var(--ink); transition: width .3s ease; }
.field { display: flex; flex-direction: column; gap: 6px; margin-bottom: 20px; }
.label, legend.label { font-family: var(--mono); font-weight: 700; font-size: 13px; text-transform: uppercase; letter-spacing: .06em; padding: 0; }
.label__req { color: var(--ink); }
.input, .select, .textarea {
  width: 100%; font-family: var(--display); font-size: 18px; font-weight: 500; color: var(--ink);
  background: var(--white); border: 3px solid var(--ink); border-radius: 12px; padding: 12px 14px; min-height: 52px;
}
.textarea { resize: vertical; min-height: 96px; }
.select { appearance: none; padding-right: 44px; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%230B0E11' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 14px center; background-size: 20px; }
.input:focus, .select:focus, .textarea:focus { outline: 4px solid var(--orange); outline-offset: 0; }
.input[aria-invalid="true"], .input:user-invalid { border-color: var(--danger); }
.field-error { margin: 4px 0 0; font-size: 14px; font-weight: 700; color: var(--danger); }
.track-choice { border: 0; padding: 0; margin: 0 0 22px; min-width: 0; }
.track-choice__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-top: 8px; }
.track-option { padding: 14px 16px; }
.track-option__name { display: block; font-weight: 800; font-size: 18px; }
.track-option__meta { display: block; font-size: 14px; margin-top: 2px; }
.more-details { margin: 0 0 22px; border-top: 3px dashed var(--ink); border-bottom: 3px dashed var(--ink); padding-bottom: 0; }
.more-details summary { cursor: pointer; font-weight: 800; padding: 14px 0; }
.more-details[open] { padding-bottom: 6px; }
.more-details .text-muted { font-weight: 500; }
.apply-fineprint { margin-top: 14px; font-family: var(--mono); font-size: 12px; line-height: 1.5; text-align: center; }
.apply-done h3 { margin: 12px 0 8px; font-size: 44px; line-height: .95; font-weight: 800; font-stretch: 75%; letter-spacing: -.03em; text-transform: lowercase; }
.apply-done h4 { margin: 0 0 8px; font-size: 26px; font-weight: 800; font-stretch: 75%; line-height: 1; text-transform: lowercase; }
.apply-done p { margin: 0 0 12px; }
.next-option { margin-top: 24px; border: 3px dashed var(--ink); border-radius: 16px; padding: 20px; }
.pay-panel { margin-top: 24px; border-top: 3px dashed var(--ink); padding-top: 24px; }
.pay-steps-wrap { margin-top: 22px; }
.enroll-summary { border: 3px solid var(--ink); border-radius: 14px; padding: 6px 18px; margin-bottom: 20px; background: var(--white); }
.enroll-summary .row { padding: 10px 0; border-bottom: 2px dashed var(--ink); }
.enroll-summary .row:last-child { border-bottom: 0; }
.terms-list { margin: 0 0 14px; padding-left: 1.2em; font-size: 15px; display: grid; gap: 8px; }
.check { display: flex; gap: 12px; align-items: flex-start; font-weight: 700; font-size: 15px; cursor: pointer; margin: 18px 0 10px; }
.check input { width: 22px; height: 22px; margin-top: 1px; flex-shrink: 0; accent-color: var(--ink); }
.pay-steps { margin: 0 0 18px; padding-left: 1.4em; display: grid; gap: 12px; }
.pay-value { font-family: var(--mono); font-weight: 700; font-size: 18px; letter-spacing: .04em; margin: 0 10px; background: var(--orange); border: 2px solid var(--ink); border-radius: 8px; padding: 1px 8px; }
.copy-btn { border: 2px solid var(--ink); background: var(--cream); border-radius: 999px; padding: 2px 12px; font: inherit; font-size: 13px; font-weight: 800; color: var(--ink); cursor: pointer; }
.copy-btn:hover { background: var(--ink); color: var(--cream); }
#mpesa_code { font-family: var(--mono); text-transform: uppercase; letter-spacing: .08em; }
#mpesa_code::placeholder { text-transform: none; letter-spacing: normal; font-family: var(--display); }
.done-wa { margin-top: 16px; }
#pay-done .row, .apply-done .row { padding: 10px 0; border-bottom: 2px dashed var(--ink); }
#pay-done .btn { margin-top: 6px; }
.stack { margin-top: 22px; }

/* ---------- games waitlist ---------- */
.games { display: grid; grid-template-columns: minmax(0, 1fr); gap: 48px; align-items: start; }
.games h2 { margin: 14px 0 0; font-size: clamp(48px, 8vw, 104px); line-height: .88; font-weight: 800; font-stretch: 75%; letter-spacing: -.045em; text-transform: lowercase; }
.games .lead { margin: 20px 0 0; max-width: 560px; font-size: 20px; font-weight: 500; }
.games ul { margin: 22px 0; padding-left: 1.2em; display: grid; gap: 8px; font-size: 18px; }
.games .wl-card { background: var(--cream); color: var(--ink); padding: clamp(22px, 3vw, 34px); border: 3px solid var(--cream); border-radius: 24px; box-shadow: 8px 8px 0 var(--orange); }
.wl-card h3 { margin: 0 0 6px; font-size: 38px; line-height: .95; font-weight: 800; font-stretch: 75%; letter-spacing: -.03em; text-transform: lowercase; }
.wl-card .help { margin: 0 0 20px; }
.games .btn--dark { background: var(--ink); color: var(--cream); border-color: var(--ink); box-shadow: 4px 4px 0 var(--orange); }
.games .btn:not(.btn--dark) { box-shadow: 4px 4px 0 var(--ink); border-color: var(--ink); }
@media (min-width: 900px) { .games { grid-template-columns: minmax(0, 1fr) minmax(0, .9fr); gap: 72px; } }

/* ---------- tutoring ---------- */
.tutor { display: flex; flex-wrap: wrap; gap: 28px; align-items: center; justify-content: space-between; padding: clamp(24px, 4vw, 40px); max-width: 1280px; margin: 0 auto; }
.tutor > div { max-width: 62ch; }
.tutor h3 { font-size: clamp(34px, 4vw, 48px); margin: 10px 0 12px; }
.tutor p { margin: 0; }

/* ---------- blog ---------- */
.posts { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 290px), 1fr)); gap: 32px; margin-top: 48px; }
.post { display: flex; flex-direction: column; gap: 10px; text-decoration: none; color: var(--ink); padding: 14px 14px 20px; background: var(--cream); border: 3px solid var(--ink); border-radius: 20px; box-shadow: 6px 6px 0 var(--ink); transition: transform .12s ease, box-shadow .12s ease; }
.post:nth-child(odd) { transform: rotate(-.6deg); }
.post:nth-child(even) { transform: rotate(.6deg); }
.post:hover { transform: translate(-2px, -2px); box-shadow: 8px 8px 0 var(--ink); }
.post img { display: block; width: 100%; aspect-ratio: 16 / 9; object-fit: cover; border: 3px solid var(--ink); border-radius: 12px; }
.post h3 { margin: 6px 6px 0; font-size: 22px; line-height: 1.1; font-weight: 800; letter-spacing: -.02em; }
.post p { margin: 0 6px; font-size: 15px; line-height: 1.45; }
.blog-more { margin-top: 36px; }

/* ---------- footer ---------- */
.footer { background: var(--ink); color: var(--cream); padding: clamp(40px, 6vw, 72px) var(--pad-x) 32px; }
.footer__top { display: flex; flex-wrap: wrap; gap: 40px; justify-content: space-between; }
.footer__brand { flex: 1 1 280px; }
.footer .nav__brand { font-size: 40px; color: var(--cream); display: inline-block; }
.footer .nav__brand .slash { font-size: 24px; color: var(--orange); }
.footer__brand p { margin: 12px 0 0; max-width: 340px; font-size: 17px; line-height: 1.5; }
.footer__cols { display: flex; flex-wrap: wrap; gap: 28px 56px; font-size: 16px; font-weight: 700; }
.footer__col { display: flex; flex-direction: column; gap: 10px; }
.footer__col span { font-family: var(--mono); font-size: 12px; letter-spacing: .08em; text-transform: uppercase; color: var(--orange); }
.footer a { color: var(--cream); text-decoration: none; }
.footer a:hover { text-decoration: underline; }
.footer__business { margin: 36px 0 0; font-size: 16px; }
.footer__business a { text-decoration: underline; }
.footer__bottom { margin-top: 28px; padding-top: 20px; border-top: 2px solid var(--cream); display: flex; flex-wrap: wrap; justify-content: space-between; gap: 10px; font-family: var(--mono); font-size: 13px; }

/* ---------- sticky apply bar + chat button ---------- */
.cta-bar {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 40;
  display: flex; align-items: center; gap: 12px; justify-content: space-between;
  background: var(--ink); color: var(--cream); padding: 10px 16px;
  border-top: 3px solid var(--orange);
  transform: translateY(110%); transition: transform .25s ease;
}
.cta-bar[data-visible="true"] { transform: translateY(0); }
.cta-bar__price { font-weight: 800; font-size: 18px; letter-spacing: -.02em; white-space: nowrap; }
.cta-bar__note { font-family: var(--mono); font-size: 12px; font-weight: 700; }
.cta-bar .btn { min-height: 44px; padding: 10px 20px; white-space: nowrap; margin-left: auto; font-size: 16px; }
.fab {
  position: fixed; right: 12px; bottom: 16px; z-index: 39;
  background: var(--cream); color: var(--ink); text-decoration: none;
  border: 3px solid var(--ink); border-radius: 999px; box-shadow: 4px 4px 0 var(--ink);
  padding: 10px 16px; font-weight: 800; font-size: 14px;
  transition: opacity .2s ease, bottom .25s ease;
}
.fab[data-visible="false"] { opacity: 0; pointer-events: none; }
.fab[data-visible="true"] { bottom: calc(var(--cta-bar-h, 0px) + 16px); }
body[data-applied="true"] .cta-bar, body[data-applied="true"] .fab,
body[data-apply-in-view="true"] .cta-bar, body[data-apply-in-view="true"] .fab { display: none; }
@media (min-width: 900px) { .fab { right: 24px; } }

/* ---------- showcase: app/game mockups + stickers (no photos) ---------- */
.showcase { padding-block: clamp(48px, 7vw, 96px); overflow: hidden; }
.mocks { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(18px, 3vw, 32px); max-width: 1120px; margin: 0 auto; }
.mock { aspect-ratio: 9 / 13; padding: clamp(8px, 1.2vw, 14px); background: var(--ink); border: 3px solid var(--ink); border-radius: clamp(24px, 3vw, 34px); box-shadow: 8px 8px 0 var(--ink); }
.mock:nth-child(odd) { transform: rotate(-3deg); }
.mock:nth-child(even) { transform: rotate(3deg) translateY(16px); }
.mock__screen { height: 100%; display: flex; flex-direction: column; gap: 10px; padding: clamp(12px, 1.6vw, 18px); border-radius: clamp(16px, 2vw, 22px); overflow: hidden; font-weight: 700; }
.mock__screen h3 { margin: 0; font-size: clamp(22px, 2.6vw, 30px); line-height: .9; font-weight: 800; font-stretch: 75%; letter-spacing: -.03em; text-transform: lowercase; }
.mock__meta { margin: 0; font-family: var(--mono); font-size: clamp(10px, 1vw, 12px); }
.mock--app { background: var(--orange); }
.mock--game { background: #1B1F6B; color: var(--cream); }
.mock--todo { background: var(--cream); }
.mock--ship { background: var(--cobalt); color: var(--cream); }
.mock__icon { width: clamp(40px, 4.4vw, 56px); aspect-ratio: 1; display: grid; place-items: center; border-radius: 14px; background: var(--ink); color: var(--orange); font-family: var(--mono); font-size: 14px; }
.mock__row { display: flex; justify-content: space-between; align-items: center; gap: 8px; padding: 8px 10px; background: var(--white); color: var(--ink); border: 2px solid var(--ink); border-radius: 12px; font-size: clamp(12px, 1.2vw, 14px); }
.mock__check { flex: none; width: 16px; height: 16px; border: 2px solid var(--ink); border-radius: 5px; background: var(--orange); }
.mock__check--off { background: var(--white); }
.mock__road { position: relative; flex: 1; background: #2B2F3A; border: 3px dashed #555; border-radius: 12px; }
.mock__road i { position: absolute; display: block; }
.pothole { width: 15%; height: 6%; border-radius: 50%; background: var(--ink); border: 2px solid #777; }
.coin { width: 9%; aspect-ratio: 1; border-radius: 50%; background: #FFD23F; border: 2px solid #B8860B; }
.matatu { bottom: 6%; left: 42%; width: 17%; height: 17%; border-radius: 8px; background: #FFD23F; border: 3px solid var(--ink); }
.mock__bar { height: 10px; border-radius: 6px; background: rgba(255,255,255,.3); }
.mock__bar span { display: block; width: 70%; height: 100%; border-radius: 6px; background: var(--cream); }
.mock__play { margin-top: auto; background: var(--cream); color: var(--cobalt); }
.chips { display: flex; flex-wrap: wrap; gap: 18px 20px; align-items: center; justify-content: center; max-width: 1120px; margin: clamp(48px, 6vw, 72px) auto 0; }
.chip { padding: 10px 18px; border: 3px solid var(--ink); border-radius: 999px; box-shadow: 5px 5px 0 var(--ink); font-size: clamp(18px, 2.2vw, 26px); font-weight: 800; text-transform: lowercase; }
.chip--orange { background: var(--orange); transform: rotate(-4deg); }
.chip--cobalt { background: var(--cobalt); color: var(--cream); transform: rotate(3deg); }
.chip--yellow { background: #FFD23F; transform: rotate(-2deg); }
.chip--cream { background: var(--cream); transform: rotate(5deg); }
.chip--ink { background: var(--ink); color: var(--cream); transform: rotate(-5deg); }
.chips .star { width: 64px; height: 64px; background: #FFD23F; clip-path: polygon(50% 0, 61% 35%, 98% 35%, 68% 57%, 79% 91%, 50% 70%, 21% 91%, 32% 57%, 2% 35%, 39% 35%); transform: rotate(12deg); }
.chips .code-card { padding: 14px 18px; background: var(--ink); color: var(--cream); border-radius: 16px; box-shadow: 6px 6px 0 var(--orange); font-family: var(--mono); font-size: clamp(12px, 1.3vw, 15px); line-height: 1.5; transform: rotate(2deg); }
.code-card .k { color: var(--orange); }
.code-card .s { color: #9FB4FF; }
.ticker { overflow: hidden; margin: 0 -24px; padding: 16px 0; background: var(--ink); color: var(--cream); border-block: 4px solid var(--orange); transform: rotate(-2deg); }
.ticker__track { display: flex; width: max-content; animation: ticker 28s linear infinite; }
.ticker__track span { padding-right: .5em; font-size: clamp(36px, 6vw, 84px); line-height: 1; font-weight: 800; font-stretch: 75%; letter-spacing: -.03em; white-space: nowrap; }
.ticker__track b { color: var(--orange); font-weight: 800; }
@keyframes ticker { to { transform: translateX(-50%); } }
.ticker-wrap { padding-block: 24px 40px; overflow: hidden; background: var(--cream); }
@media (min-width: 860px) { .mocks { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
@media (max-width: 859px) { .mock { aspect-ratio: 9 / 15; } .mock__screen { gap: 8px; } .mock__row { padding: 6px 8px; } }

/* ---------- small screens ---------- */
@media (max-width: 520px) {
  body { font-size: 16px; }
  .lede { font-size: 18px; }
  .track-choice__grid { grid-template-columns: 1fr; }
  .build h3 { font-size: 36px; }
  .intake { transform: rotate(-1deg); }
  .intake + .intake { transform: rotate(1deg); }
  .code-win { transform: rotate(3deg); }
  .phone { transform: rotate(-4deg); }
  .accordion__item > summary { font-size: 18px; padding: 16px 18px; }
  .stk--cream { transform: rotate(2deg); }
}

/* ---------- reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; animation: none !important; }
  .btn:hover, .btn:active, .apply-disc:hover, .post:hover { transform: none; }
}
