/* =========================================================
   CodeCubs Academy — landing page styles
   Mobile-first. No framework, so it stays fast.
   ========================================================= */

/* Self-hosted fonts (latin subset, variable weight) — no third-party round trip */
@font-face {
  font-family: "Fredoka"; font-style: normal; font-weight: 500 700; font-display: swap;
  src: url("/assets/fonts/fredoka.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Inter"; font-style: normal; font-weight: 400 700; font-display: swap;
  src: url("/assets/fonts/inter.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

:root {
  --mint-ink: #0E7C6B;   /* mint for text & text-bearing backgrounds (WCAG AA) */
  --coral-ink: #E0402F;  /* coral for large headline text (WCAG AA large) */
  --ink: #13203B;
  --ink-2: #33415E;
  --muted: #66718A;
  --bg: #FFFDF8;
  --tint: #FFF6E5;
  --surface: #FFFFFF;
  --line: #ECE5D6;
  --sun: #FFC83D;
  --sun-dark: #F2B200;
  --coral: #FF6B5B;
  --mint: #19B39B;
  --sky: #4C7DFF;
  --radius: 18px;
  --shadow: 0 1px 2px rgba(19, 32, 59, .06), 0 8px 24px rgba(19, 32, 59, .08);
  --shadow-lg: 0 2px 4px rgba(19, 32, 59, .06), 0 24px 60px rgba(19, 32, 59, .16);
  --font-head: "Fredoka", "Trebuchet MS", system-ui, sans-serif;
  --font-body: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink-2);
  font: 16px/1.6 var(--font-body);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img, svg { max-width: 100%; display: block; }
a { color: var(--sky); }
h1, h2, h3 { font-family: var(--font-head); color: var(--ink); line-height: 1.15; margin: 0 0 .5em; font-weight: 600; }
h1 { font-size: clamp(2rem, 5.2vw, 3.25rem); letter-spacing: -.01em; }
h2 { font-size: clamp(1.6rem, 3.6vw, 2.4rem); }
h3 { font-size: 1.2rem; }
p { margin: 0 0 1em; }
small { font-weight: 400; color: var(--muted); }
:focus-visible { outline: 3px solid var(--sky); outline-offset: 2px; }
.skip-link {
  position: absolute; left: 16px; top: -60px; z-index: 100;
  background: var(--ink); color: #fff; padding: 10px 16px; border-radius: 10px; font-weight: 700; text-decoration: none;
}
.skip-link:focus { top: 12px; }

.wrap { width: 100%; max-width: 1160px; margin: 0 auto; padding: 0 16px; }
.narrow { max-width: 760px; }
.center { text-align: center; }
.hl { color: var(--coral-ink); }

.eyebrow {
  display: inline-block;
  font-size: .8rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase;
  color: var(--mint-ink); margin-bottom: .75rem;
}
.eyebrow-light { color: var(--sun); }
.sub { color: var(--muted); font-size: 1.05rem; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .4em;
  background: var(--sun); color: var(--ink);
  font: 700 1.05rem/1 var(--font-body);
  padding: 1em 1.6em; border: 0; border-radius: 999px;
  text-decoration: none; cursor: pointer;
  box-shadow: 0 4px 0 var(--sun-dark), 0 8px 20px rgba(242, 178, 0, .35);
  transition: transform .12s ease, box-shadow .12s ease, background .12s;
}
.btn:hover { background: #FFD25E; transform: translateY(-1px); }
.btn:active { transform: translateY(3px); box-shadow: 0 1px 0 var(--sun-dark); }
.btn[disabled] { opacity: .65; cursor: progress; }
.btn-sm { font-size: .9rem; padding: .7em 1.2em; box-shadow: 0 3px 0 var(--sun-dark); }
.btn-lg { font-size: 1.15rem; padding: 1.1em 2em; }
.btn-block { width: 100%; }
.btn-ghost { background: transparent; box-shadow: inset 0 0 0 2px var(--line); }
.btn-ghost:hover { background: var(--tint); }

/* ---------- Top bar ---------- */
.topbar {
  position: sticky; top: 0; z-index: 40;
  background: rgba(255, 253, 248, .92); backdrop-filter: saturate(1.4) blur(8px);
  border-bottom: 1px solid var(--line);
}
.topbar-inner { display: flex; align-items: center; justify-content: space-between; height: 64px; }
.logo { display: flex; align-items: center; gap: .5rem; text-decoration: none; color: var(--ink); font: 700 1.25rem var(--font-head); }
.logo em { font-style: normal; color: var(--mint-ink); margin-left: .15em; }

/* ---------- Hero ---------- */
.hero {
  padding: 32px 0 56px;
  background:
    radial-gradient(600px 300px at 0% 0%, rgba(255, 200, 61, .22), transparent 70%),
    radial-gradient(500px 300px at 100% 20%, rgba(25, 179, 155, .14), transparent 70%);
}
.hero-grid { display: grid; gap: 32px; align-items: start; }
.lead { font-size: 1.12rem; color: var(--ink-2); max-width: 36em; }
.hero-points { list-style: none; padding: 0; margin: 0 0 1.5rem; display: grid; gap: .5rem; }
.hero-points li { display: flex; gap: .6rem; align-items: baseline; font-weight: 500; }
.tick {
  flex: none; width: 22px; height: 22px; border-radius: 50%;
  background: var(--mint-ink); color: #fff; font-size: .75rem; font-weight: 700;
  display: inline-grid; place-items: center; transform: translateY(3px);
}
.proof-row { display: flex; flex-wrap: wrap; gap: 12px; }
.proof-item {
  display: flex; flex-direction: column; gap: 2px;
  background: var(--surface); border: 1px solid var(--line); border-radius: 14px;
  padding: 10px 14px; font-size: .85rem; color: var(--muted);
}
.proof-item strong { color: var(--ink); font-size: 1rem; }
.stars { color: #F5A623; letter-spacing: 2px; font-size: 1rem; }

/* ---------- Booking card ---------- */
.book-card {
  background: var(--surface); border-radius: 24px; box-shadow: var(--shadow-lg);
  border: 1px solid var(--line); padding: 22px 18px; scroll-margin-top: 80px;
}
.book-head h2 { font-size: 1.5rem; margin: .6rem 0 .9rem; }
.pill {
  display: inline-block; background: #E7F8F4; color: #0E7C6B;
  font-weight: 700; font-size: .8rem; padding: .35em .8em; border-radius: 999px;
}
.steps-dots { display: flex; gap: 6px; list-style: none; padding: 0; margin: 0 0 18px; font-size: .78rem; color: var(--muted); }
.steps-dots li { flex: 1; display: flex; align-items: center; gap: 6px; padding-top: 8px; border-top: 4px solid var(--line); white-space: nowrap; }
.steps-dots li span {
  width: 20px; height: 20px; border-radius: 50%; background: var(--line); color: var(--ink);
  display: inline-grid; place-items: center; font-weight: 700; font-size: .72rem; flex: none;
}
.steps-dots li.on { border-color: var(--mint); color: var(--ink); font-weight: 600; }
.steps-dots li.on span { background: var(--mint-ink); color: #fff; }

.step { border: 0; padding: 0; margin: 0; min-width: 0; }
.q { display: block; font-weight: 700; color: var(--ink); margin: 0 0 .6rem; padding: 0; font-size: .98rem; }
.q small { font-size: .85em; }

.chips { display: grid; gap: 8px; margin-bottom: 18px; }
.chips-age { grid-template-columns: repeat(5, 1fr); }
.chips-wide { grid-template-columns: repeat(3, 1fr); }
.chips-wrap { display: flex; flex-wrap: wrap; }
.chips label { position: relative; cursor: pointer; }
.chips input { position: absolute; opacity: 0; inset: 0; margin: 0; cursor: pointer; }
.chips span {
  display: flex; align-items: center; justify-content: center; text-align: center;
  min-height: 46px; padding: 8px 12px; border-radius: 12px;
  border: 2px solid var(--line); background: #FFFCF5;
  font-weight: 600; color: var(--ink); font-size: .92rem; line-height: 1.2;
  transition: border-color .12s, background .12s, transform .12s;
}
.chips label:hover span { border-color: #D8CDB6; }
.chips input:checked + span { border-color: var(--mint); background: #E7F8F4; transform: scale(1.02); }
.chips input:focus-visible + span { outline: 3px solid var(--sky); outline-offset: 2px; }

.field { margin-bottom: 14px; flex: 1; min-width: 0; }
.field label { display: block; font-weight: 600; color: var(--ink); font-size: .9rem; margin-bottom: 5px; }
.field input, .field select {
  width: 100%; font: 500 1rem var(--font-body); color: var(--ink);
  padding: 13px 14px; border-radius: 12px; border: 2px solid var(--line); background: #FFFCF5;
  appearance: none; -webkit-appearance: none;
}
.field select {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%2313203B' stroke-width='2' fill='none'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 12px center; padding-right: 32px;
}
.field input:focus, .field select:focus { outline: none; border-color: var(--mint); background: #fff; }
.field input[aria-invalid="true"] { border-color: var(--coral); }
.field-row { display: flex; gap: 10px; }
.field-country { flex: 0 0 120px; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

.form-error { color: #C0392B; background: #FDECEA; border-radius: 10px; padding: 10px 12px; font-size: .9rem; font-weight: 600; }
.micro { font-size: .8rem; color: var(--muted); text-align: center; margin: 10px 0 0; }
.micro a { color: inherit; }
.micro-light { color: rgba(255, 255, 255, .75); }
.link-back { display: block; margin: 10px auto 0; background: none; border: 0; color: var(--muted); font: 600 .9rem var(--font-body); cursor: pointer; }
.link-back:hover { color: var(--ink); }

.cal-inline { width: 100%; min-height: 520px; overflow: auto; border-radius: 12px; }
.cal-fallback { text-align: center; padding: 24px 8px; }
.cal-loading { text-align: center; color: var(--muted); font-weight: 600; padding: 24px 0 0; margin: 0; }
.cal-slow { text-align: center; padding: 8px 0 4px; }
.cal-slow p { margin: 0 0 8px; color: var(--muted); font-size: .9rem; }
.big-emoji { font-size: 3rem; margin: 0; }

/* ---------- Sections ---------- */
.section { padding: 64px 0; }
.section-tint { background: var(--tint); }
.section-ink { background: var(--ink); color: #D7DDEA; }
.section-ink h2, .section-ink h3 { color: #fff; }

.grid-2, .grid-3 { display: grid; gap: 16px; margin-top: 32px; margin-bottom: 32px; }
.card {
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 24px; box-shadow: var(--shadow);
}

.pain .emoji { font-size: 2rem; margin: 0 0 .4rem; }
.pain h3 { font-size: 1.15rem; }
.pain p { margin: 0; }
.aside { font-size: 1.08rem; color: var(--ink-2); }

.how { list-style: none; padding-left: 16px; padding-right: 16px; }
.how-step { position: relative; padding-top: 32px; }
.how-step .num {
  position: absolute; top: -18px; left: 24px;
  width: 40px; height: 40px; border-radius: 50%; background: var(--sun); color: var(--ink);
  display: grid; place-items: center; font: 700 1.2rem var(--font-head); box-shadow: 0 3px 0 var(--sun-dark);
}
.how-step h3 small { display: inline-block; margin-left: .3em; font: 600 .75rem var(--font-body); color: var(--mint-ink); background: #E7F8F4; padding: .2em .6em; border-radius: 999px; vertical-align: middle; }
.how-step p { margin: 0; }

/* Build cards */
.build-grid { display: grid; gap: 18px; margin-top: 32px; }
.build-card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); }
.screen { height: 170px; display: flex; align-items: center; justify-content: center; position: relative; }
.screen-code { background: #0E1A33; display: block; padding: 32px 16px 12px; }
.screen-code .dots { position: absolute; top: 12px; left: 14px; display: flex; gap: 6px; }
.screen-code .dots i { width: 10px; height: 10px; border-radius: 50%; background: #FF6B5B; }
.screen-code .dots i:nth-child(2) { background: #FFC83D; }
.screen-code .dots i:nth-child(3) { background: #3BE08F; }
.screen-code pre { margin: 0; color: #E3E9F5; font: 500 .82rem/1.55 ui-monospace, "Cascadia Code", Menlo, Consolas, monospace; white-space: pre; overflow: hidden; }
.screen-code .k { color: #FF8FB1; } .screen-code .s { color: #A7F5C9; } .screen-code .n { color: #FFC83D; } .screen-code .f { color: #8FB8FF; }
.screen-art { background: #13203B; padding: 12px; }
.screen-game { background: #0F2A1E; }
.screen-data { background: #F3F6FC; padding: 8px; }
.screen-quiz { background: linear-gradient(135deg, #FFE9A8, #FFC83D); padding: 16px; }
.quiz { background: #fff; border-radius: 12px; padding: 12px; width: 100%; max-width: 260px; display: grid; gap: 6px; font-size: .8rem; box-shadow: var(--shadow); }
.quiz-q { margin: 0 0 4px; font-weight: 700; color: var(--ink); }
.quiz-a { border: 1.5px solid var(--line); border-radius: 8px; padding: 4px 8px; color: var(--ink-2); }
.quiz-a.ok { border-color: var(--mint); background: #E7F8F4; color: #0E7C6B; font-weight: 700; }
.screen-chat { background: linear-gradient(135deg, #DCE6FF, #EEF2FF); padding: 16px; }
.chat { display: flex; flex-direction: column; gap: 6px; width: 100%; max-width: 260px; font-size: .8rem; }
.bubble { padding: 6px 10px; border-radius: 14px; max-width: 85%; }
.bubble.me { align-self: flex-end; background: #2F5FE0; color: #fff; border-bottom-right-radius: 4px; }
.bubble.bot { align-self: flex-start; background: #fff; color: var(--ink); border-bottom-left-radius: 4px; box-shadow: var(--shadow); }
.build-body { padding: 18px 20px 20px; }
.build-body h3 { font-size: 1.1rem; margin: .5rem 0 .3rem; }
.build-body p { margin: 0; font-size: .95rem; color: var(--muted); }
.tag { display: inline-block; font-size: .72rem; font-weight: 700; padding: .25em .7em; border-radius: 999px; }
.tag-cub { background: #FFF1C9; color: #8A6100; }
.tag-exp { background: #E7F8F4; color: #0E7C6B; }
.tag-bld { background: #E6EDFF; color: #2B54C9; }

/* Path */
.path { list-style: none; padding-left: 16px; padding-right: 16px; display: grid; gap: 14px; margin-top: 32px; margin-bottom: 24px; counter-reset: lvl; }
.path li { background: rgba(255, 255, 255, .06); border: 1px solid rgba(255, 255, 255, .12); border-radius: var(--radius); padding: 20px; }
.path .lvl { display: inline-block; font-size: .72rem; font-weight: 700; text-transform: uppercase; letter-spacing: .08em; color: var(--ink); background: var(--sun); padding: .25em .7em; border-radius: 999px; margin-bottom: .6rem; }
.path h3 { margin-bottom: .3rem; }
.path p { margin: 0; font-size: .95rem; }
.path-note { color: #AEB8CC; margin: 0; }

/* Tutor */
.tutor { display: grid; gap: 32px; align-items: center; }
.tutor-photo { position: relative; max-width: 420px; width: 100%; margin: 0 auto; aspect-ratio: 7 / 8; border-radius: 28px; overflow: visible; }
.tutor-photo img { width: 100%; height: 100%; object-fit: cover; border-radius: 28px; box-shadow: var(--shadow-lg); }
.avatar-fallback { display: none; }
.tutor-photo.no-photo { background: linear-gradient(135deg, var(--sun), var(--coral)); border-radius: 28px; box-shadow: var(--shadow-lg); }
.tutor-photo.no-photo .avatar-fallback { display: grid; place-items: center; height: 100%; font: 700 7rem var(--font-head); color: #fff; }
.tutor-badge {
  position: absolute; right: -6px; bottom: 20px; background: #fff; border-radius: 16px; padding: 10px 14px;
  font-weight: 700; color: var(--ink); box-shadow: var(--shadow-lg); line-height: 1.3; font-size: .95rem;
}
.tutor-facts { list-style: none; padding: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin: 0 0 24px; font-weight: 600; color: var(--ink); font-size: .92rem; }
.tutor-facts li { background: var(--tint); border-radius: 12px; padding: 10px 12px; }

/* Reviews */
.review { margin: 0; display: flex; flex-direction: column; gap: 10px; }
.review blockquote { margin: 0; font-size: 1.05rem; color: var(--ink); font-weight: 500; flex: 1; }
.review figcaption { font-size: .9rem; color: var(--muted); }

/* Compare table */
.compare-wrap { margin-top: 32px; overflow-x: auto; }
.compare { width: 100%; min-width: 520px; border-collapse: separate; border-spacing: 0; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); font-size: .95rem; }
.compare th, .compare td { padding: 14px 12px; text-align: center; border-bottom: 1px solid var(--line); }
.compare tbody tr:last-child th, .compare tbody tr:last-child td { border-bottom: 0; }
.compare thead th { font: 600 .95rem var(--font-head); color: var(--ink); }
.compare tbody th { text-align: left; font-weight: 600; color: var(--ink); }
.compare td { color: var(--muted); font-weight: 700; }
.compare .us { background: #E7F8F4; color: #0E7C6B; }
.compare thead .us { background: var(--mint-ink); color: #fff; }

/* Trust */
.trust-item { background: var(--surface); border-radius: var(--radius); padding: 20px; border: 1px solid var(--line); }
.trust-item > span { font-size: 1.6rem; }
.trust-item h3 { font-size: 1.05rem; margin: .4rem 0 .25rem; }
.trust-item p { margin: 0; font-size: .93rem; }

/* Pricing */
.founding {
  margin: 28px auto 0; max-width: 760px; text-align: center;
  background: linear-gradient(135deg, #E7F8F4, #FFF6E5); border: 2px dashed var(--mint);
  border-radius: var(--radius); padding: 18px 20px;
}
.founding p { margin: .5rem 0 0; color: var(--ink); }
.founding-badge { display: inline-block; background: var(--mint-ink); color: #fff; font-weight: 700; font-size: .85rem; padding: .3em .9em; border-radius: 999px; }
.plans { align-items: stretch; }
.plan { position: relative; display: flex; flex-direction: column; }
.plan h3 { font-size: 1.4rem; margin-bottom: .1rem; }
.plan-freq { color: var(--muted); font-size: .9rem; margin-bottom: .8rem; }
.price { margin: 0; display: flex; align-items: baseline; gap: .4rem; flex-wrap: wrap; }
.price s { color: var(--muted); font-size: 1.05rem; }
.price strong { font: 700 2.4rem var(--font-head); color: var(--ink); }
.price span { color: var(--muted); }
.per { color: var(--mint-ink); font-weight: 700; font-size: .9rem; }
.plan ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 8px; font-size: .95rem; }
.plan li::before { content: "✓"; color: var(--mint); font-weight: 700; margin-right: .5em; }
.plan-pop { border: 2px solid var(--sun); box-shadow: var(--shadow-lg); }
.pop { position: absolute; top: -13px; left: 50%; transform: translateX(-50%); background: var(--sun); color: var(--ink); font-weight: 700; font-size: .78rem; padding: .3em .9em; border-radius: 999px; white-space: nowrap; }
.guarantee { max-width: 640px; margin: 0 auto 8px; color: var(--ink); }
.fine { font-size: .85rem; color: var(--muted); margin-bottom: 20px; }

/* FAQ */
.faq { margin-top: 28px; display: grid; gap: 10px; }
.faq details { background: var(--surface); border: 1px solid var(--line); border-radius: 14px; padding: 0 18px; }
.faq summary { cursor: pointer; list-style: none; padding: 16px 28px 16px 0; font-weight: 700; color: var(--ink); position: relative; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 0; top: 50%; transform: translateY(-50%); font-size: 1.4rem; color: var(--mint); transition: transform .15s; }
.faq details[open] summary::after { transform: translateY(-50%) rotate(45deg); }
.faq details p { margin: 0 0 16px; }

/* Final CTA */
.final-cta { background: var(--ink); color: #D7DDEA; padding: 72px 0; background-image: radial-gradient(500px 260px at 50% 0%, rgba(255, 200, 61, .18), transparent 70%); }
.final-cta h2 { color: #fff; }
.final-cta p { margin-bottom: 24px; }

/* Footer */
.footer { background: #0C1529; color: #8C97AE; font-size: .85rem; padding: 24px 0 96px; }
.footer-inner { display: flex; flex-direction: column; gap: 10px; align-items: center; text-align: center; }
.footer p { margin: 0; }
.footer nav { display: flex; gap: 16px; flex-wrap: wrap; justify-content: center; }
.footer a { color: #C3CBDB; text-decoration: none; }
.footer a:hover { color: #fff; }

/* Sticky CTA (mobile) */
.sticky-cta {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 45;
  padding: 10px 16px calc(10px + env(safe-area-inset-bottom));
  background: rgba(255, 253, 248, .96); border-top: 1px solid var(--line);
  box-shadow: 0 -6px 20px rgba(19, 32, 59, .08);
  transform: translateY(110%); transition: transform .2s ease;
}
.sticky-cta.show { transform: translateY(0); }

/* Consent */
.consent {
  position: fixed; left: 16px; right: 16px; bottom: 16px; z-index: 60;
  max-width: 520px; margin: 0 auto;
  background: #fff; border: 1px solid var(--line); border-radius: 16px; box-shadow: var(--shadow-lg);
  padding: 16px; font-size: .9rem;
}
.consent p { margin: 0 0 12px; }
.consent-actions { display: flex; gap: 8px; justify-content: flex-end; }

/* Simple content pages (privacy, terms, thank-you) */
.page { padding: 48px 0 72px; }
.page h1 { font-size: clamp(1.8rem, 4vw, 2.6rem); }
.page h2 { font-size: 1.35rem; margin-top: 1.8em; }
.page li { margin-bottom: .4em; }
.thanks-card { background: var(--surface); border: 1px solid var(--line); border-radius: 24px; box-shadow: var(--shadow-lg); padding: 32px 22px; text-align: center; }
.checklist { text-align: left; list-style: none; padding: 0; display: grid; gap: 12px; margin: 24px 0; }
.checklist li { display: flex; gap: 12px; align-items: flex-start; background: var(--tint); border-radius: 14px; padding: 14px; }
.checklist li > span:first-child { font-size: 1.4rem; line-height: 1; }

/* ---------- Breakpoints ---------- */
@media (min-width: 640px) {
  .grid-2 { grid-template-columns: 1fr 1fr; }
  .build-grid { grid-template-columns: 1fr 1fr; }
  .path { grid-template-columns: 1fr 1fr; }
  .book-card { padding: 28px; }
}
@media (min-width: 900px) {
  .hero { padding: 56px 0 80px; }
  .hero-grid { grid-template-columns: 1.05fr .95fr; gap: 48px; }
  .grid-3 { grid-template-columns: repeat(3, 1fr); }
  .build-grid { grid-template-columns: repeat(3, 1fr); }
  .path { grid-template-columns: repeat(4, 1fr); }
  .tutor { grid-template-columns: .9fr 1.1fr; gap: 56px; }
  .section { padding: 88px 0; }
  .footer { padding-bottom: 24px; }
  .footer-inner { flex-direction: row; justify-content: space-between; text-align: left; }
  .sticky-cta { display: none; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; }
}
