/* Skill Ride's landing, styled from docs/skillride/design/Skill Ride Landing.dc.html.
   The page is `landing.kind: "custom"` and its template does NOT link the
   kit's shared stylesheet: this file is the whole page, reset included. That
   is deliberate — the design reuses names the kit also defines (.hero, .card,
   .btn, .wrap, .lede), and the kit's `.hero { display: grid }` was laying the
   hero out in its own columns. The legal pages still render from the kit's
   template, so they keep its stylesheet.

   The system: 4px ink outlines, hard offset shadows with no blur, Bagel Fat
   One over Nunito, and colour that means something — sun for anything earned
   or primary, teal for success, pink for reading, coral for streaks. */

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

body { margin: 0; }
h1, h2, h3, h4 { margin: 0; line-height: 1.05; }
p { margin: 0; }
ul, ol { list-style: none; margin: 0; padding: 0; }
a { color: inherit; text-decoration: none; }
img, svg { display: block; max-width: 100%; }
button { font: inherit; }

:root {
  --ink: #1b1a3a;
  --cream: #fff7e8;
  --tejo: #3a5bff;
  --tejo-dark: #2c47d6;
  --sun: #ffc93c;
  --coral: #ff5a4e;
  --teal: #1fa8a0;
  --pink: #ff7eb6;
  --snow: #8fb7ff;
  --sand: #e6dac2;
  --sand-deep: #d9cdb5;
  --butter: #ffe7a3;
  --stone: #f7f4ee;
  --line: #e7e0d2;
}

html {
  color-scheme: light;
  scroll-behavior: smooth;
  /* The nav is sticky, so an anchor must stop below it. */
  scroll-padding-top: 92px;
}
html,
body {
  background: var(--cream);
  color: var(--ink);
  font-family: 'Nunito', system-ui, sans-serif;
}
body.skillride { font-weight: 800; }

.skillride h1,
.skillride h2,
.skillride h3,
.skillride .brand-word,
.skillride .big {
  font-family: 'Bagel Fat One', 'Nunito', system-ui, sans-serif;
  font-weight: 400;
}

.skip {
  position: absolute;
  left: -9999px;
}
.skip:focus {
  left: 12px;
  top: 12px;
  z-index: 50;
  background: var(--sun);
  border: 3px solid var(--ink);
  border-radius: 12px;
  padding: 8px 14px;
}

.wrap {
  max-width: 1280px;
  margin: 0 auto;
  padding-inline: 28px;
  width: 100%;
}
.wrap-narrow { max-width: 960px; }

/* ── Nav ──────────────────────────────────────────────────────────────── */

.skillride .snav {
  position: sticky;
  top: 0;
  z-index: 20;
  background: var(--cream);
  border-bottom: 4px solid var(--ink);
}
.snav-in {
  display: flex;
  align-items: center;
  gap: 28px;
  flex-wrap: wrap;
  padding-block: 14px;
}
.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  color: var(--ink);
}
.brand-mark {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--sun);
  border: 3px solid var(--ink);
  display: grid;
  place-items: center;
  overflow: hidden;
}
.brand-mark img { width: 100%; height: 100%; }
.brand-word { font-size: 28px; text-shadow: 2px 2px 0 var(--coral); }
.snav-links {
  display: flex;
  gap: 22px;
  flex-wrap: wrap;
  font-weight: 900;
  font-size: 16px;
}
.snav-links a { color: var(--ink); text-decoration: none; }
.snav-links a:hover { color: var(--tejo); }
.snav-end { margin-left: auto; display: flex; align-items: center; gap: 16px; }
.lang { display: flex; gap: 4px; }
.lang-opt {
  font-weight: 900;
  font-size: 14px;
  text-transform: uppercase;
  color: var(--ink);
  text-decoration: none;
  border: 2px solid var(--ink);
  border-radius: 999px;
  padding: 2px 8px;
}
.lang-opt.on { background: var(--sun); }
.snav-cta {
  height: 48px;
  padding-inline: 22px;
  display: inline-flex;
  align-items: center;
  background: var(--coral);
  color: var(--ink);
  border: 4px solid var(--ink);
  border-radius: 16px;
  box-shadow: 0 5px 0 var(--ink);
  font-family: 'Bagel Fat One', sans-serif;
  font-size: 18px;
  text-decoration: none;
}
.snav-cta:active { transform: translateY(4px); box-shadow: 0 1px 0 var(--ink); }

/* ── Shared pieces ────────────────────────────────────────────────────── */

.dots {
  position: absolute;
  inset: 0;
  background: radial-gradient(var(--cream) 1.4px, transparent 1.7px) 0 0 / 12px 12px;
  opacity: 0.1;
  pointer-events: none;
}
.big { margin: 0; font-size: clamp(38px, 5vw, 64px); line-height: 1; text-wrap: balance; }
.sub { margin: 0; font-weight: 800; font-size: 19px; line-height: 1.5; max-width: 760px; }
.note { font-weight: 800; font-size: 16px; }
.eyebrow { font-weight: 900; font-size: 15px; letter-spacing: 0.06em; color: var(--tejo); }

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  color: var(--ink);
  font-family: 'Bagel Fat One', sans-serif;
  border: 4px solid var(--ink);
  border-radius: 20px;
  height: 64px;
  padding-inline: 26px;
  font-size: 20px;
}
.btn:active { transform: translateY(4px); }
.btn-sun { background: var(--sun); box-shadow: 0 7px 0 var(--ink); }
.btn-sun:active { box-shadow: 0 3px 0 var(--ink); }
.btn-cream { background: var(--cream); font-family: 'Nunito', sans-serif; font-weight: 900; font-size: 18px; }
.btn-ink { background: var(--ink); color: var(--cream); box-shadow: 0 6px 0 rgba(27, 26, 58, 0.35); }
.btn-outline { background: transparent; font-family: 'Nunito', sans-serif; font-weight: 900; font-size: 17px; }
.btn-onink { border-color: var(--cream); align-self: flex-start; }
.btn-big { height: 76px; padding-inline: 36px; font-size: 26px; border-width: 5px; }

.pill {
  display: inline-flex;
  align-items: center;
  width: max-content;
  font-weight: 900;
  font-size: 16px;
  border: 3px solid var(--ink);
  border-radius: 999px;
  padding: 5px 16px;
}
.pill-teal { background: var(--teal); }

.band { border-top: 4px solid var(--ink); }
.band > .wrap { padding-block: clamp(56px, 8vw, 96px); display: flex; flex-direction: column; gap: 36px; }
.band-cream { background: var(--cream); }
.band-ink { background: var(--ink); color: var(--cream); }
.band-sun { background: var(--sun); }
.band-teal { background: var(--teal); }
.band-stone { background: var(--stone); }

.grid-3 { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr)); gap: 24px; }
.grid-4 { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 250px), 1fr)); gap: 22px; }

/* ── 1 · Hero ─────────────────────────────────────────────────────────── */

.hero { position: relative; background: var(--tejo); color: var(--cream); border-bottom: 4px solid var(--ink); overflow: hidden; }
.hero-in {
  position: relative;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 440px), 1fr));
  gap: 40px;
  align-items: center;
  padding-block: 72px 90px;
}
.hero-copy { display: flex; flex-direction: column; gap: 24px; }
.hero h1 { font-size: clamp(44px, 7vw, 88px); line-height: 0.95; text-shadow: 5px 5px 0 var(--ink); }
.lede { margin: 0; font-weight: 800; font-size: clamp(18px, 1.6vw, 22px); line-height: 1.45; max-width: 560px; text-wrap: pretty; }
.hero-ctas { display: flex; gap: 14px; flex-wrap: wrap; }
.hero-note { margin: 0; font-weight: 700; font-size: 15px; opacity: 0.95; }

.hero-art { position: relative; min-height: 540px; }
.hero-sun {
  position: absolute;
  left: 50%;
  top: 50%;
  width: min(480px, 90%);
  aspect-ratio: 1;
  transform: translate(-50%, -50%);
  border-radius: 50%;
  background: var(--sun);
  border: 5px solid var(--ink);
}
.hero-rider {
  position: absolute;
  left: 50%;
  top: 50%;
  width: 300px;
  height: 380px;
  transform: translate(-50%, -52%);
  z-index: 1;
}
.hero-rider-surf,
.hero-rider-snow {
  position: absolute;
  width: 150px;
  height: 190px;
  z-index: 1;
}
.hero-rider-surf { left: 0; bottom: 30px; }
.hero-rider-snow { right: 0; bottom: 20px; }

.float {
  position: absolute;
  z-index: 2;
  background: var(--cream);
  color: var(--ink);
  border: 4px solid var(--ink);
  border-radius: 18px;
  box-shadow: 5px 5px 0 var(--ink);
  padding: 10px 14px;
  display: flex;
  gap: 10px;
  align-items: center;
  font-weight: 900;
  font-size: 15px;
}
.float small { display: block; font-weight: 700; font-size: 13px; }
.float-flag { font-size: 26px; }
.float-a { left: 0; top: 30px; transform: rotate(-3deg); }
.float-b { right: 0; top: 80px; background: var(--coral); transform: rotate(4deg); font-size: 16px; }
.float-c { right: 20px; top: 250px; max-width: 230px; transform: rotate(-2deg); font-size: 14px; line-height: 1.3; }

/* ── 2 · Benefits ─────────────────────────────────────────────────────── */

.card {
  border: 4px solid var(--ink);
  border-radius: 28px;
  box-shadow: 8px 8px 0 var(--ink);
  padding: 28px;
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.card-sun { background: var(--sun); }
.card-teal { background: var(--teal); }
.card-pink { background: var(--pink); }
.card h3 { margin: 0; font-size: 32px; line-height: 1.05; }
.card p { margin: 0; font-weight: 800; font-size: 18px; line-height: 1.5; }
.card-icon {
  width: 64px;
  height: 64px;
  border-radius: 18px;
  background: var(--cream);
  border: 4px solid var(--ink);
  display: grid;
  place-items: center;
  font-size: 30px;
}

/* ── 3 · How it works ─────────────────────────────────────────────────── */

.steps { gap: 24px; }
.step { display: flex; flex-direction: column; gap: 14px; }
.step h3 { margin: 0; font-size: 30px; line-height: 1.05; }
.step p { margin: 0; font-weight: 700; font-size: 18px; line-height: 1.5; color: #e8dfcb; }
.step-n {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  border: 4px solid var(--cream);
  color: var(--ink);
  display: grid;
  place-items: center;
  font-family: 'Bagel Fat One', sans-serif;
  font-size: 34px;
}
.step-sun { background: var(--sun); }
.step-pink { background: var(--pink); }
.step-teal { background: var(--teal); }

/* ── 4 · Worlds ───────────────────────────────────────────────────────── */

.world {
  position: relative;
  border: 4px solid var(--ink);
  border-radius: 28px;
  box-shadow: 8px 8px 0 var(--ink);
  padding: 20px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  overflow: hidden;
}
.world-skate { background: var(--sun); }
.world-surf { background: var(--teal); }
.world-bmx { background: var(--coral); }
.world-snow { background: var(--snow); }
.world-dots {
  position: absolute;
  inset: 0;
  background: radial-gradient(var(--ink) 1.3px, transparent 1.6px) 0 0 / 9px 9px;
  opacity: 0.1;
}
.world > * { position: relative; }
.world h3 { margin: 0; font-size: 32px; line-height: 1; }
.world-name { margin: 0; font-weight: 900; font-size: 16px; }
.world-art { position: relative; height: 240px; display: flex; justify-content: center; }
.world-art sk-skater { width: 200px; height: 100%; }
.world-spots { display: flex; flex-wrap: wrap; gap: 6px; }
.world-spots span {
  font-weight: 800;
  font-size: 13px;
  background: var(--cream);
  border: 2px solid var(--ink);
  border-radius: 999px;
  padding: 2px 10px;
}

/* ── 5 · Subjects ─────────────────────────────────────────────────────── */

.band > .wrap.subjects-in {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 400px), 1fr));
  gap: 48px;
  padding-block: clamp(56px, 8vw, 88px);
}
.subject-list { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 12px; }
.subject {
  background: var(--cream);
  border: 4px solid var(--ink);
  border-radius: 22px;
  padding: 16px 20px;
  display: grid;
  grid-template-columns: 54px 1fr auto;
  gap: 16px;
  align-items: center;
  opacity: 0.8;
}
.subject.live { opacity: 1; box-shadow: 5px 5px 0 var(--ink); }
.subject-n { font-family: 'Bagel Fat One', sans-serif; font-size: 28px; }
.subject-copy b { display: block; font-family: 'Bagel Fat One', sans-serif; font-weight: 400; font-size: 24px; line-height: 1.1; }
.subject-copy small { display: block; font-weight: 700; font-size: 15px; line-height: 1.4; }
.subject-tag {
  font-weight: 900;
  font-size: 13px;
  border: 3px solid var(--ink);
  border-radius: 999px;
  padding: 3px 12px;
  background: var(--cream);
  white-space: nowrap;
}
.subject-tag.on { background: var(--teal); }

/* ── 6 · Countries ────────────────────────────────────────────────────── */

.flags { display: flex; flex-wrap: wrap; gap: 10px; }
.flag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: #fff;
  border: 3px solid var(--ink);
  border-radius: 999px;
  padding: 6px 14px;
  font-weight: 900;
  font-size: 15px;
}
.flag b { font-size: 20px; font-weight: 400; }

/* ── 7 · The parent app ───────────────────────────────────────────────── */

.band > .wrap.parent-in {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 400px), 1fr));
  gap: 48px;
  align-items: center;
  padding-block: clamp(56px, 8vw, 88px);
}
.parent-phone {
  width: min(320px, 100%);
  margin-inline: auto;
  border: 12px solid var(--ink);
  border-radius: 48px;
  background: var(--cream);
  box-shadow: 12px 12px 0 var(--ink);
  padding: 44px 16px 16px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.pp-hi { font-family: 'Bagel Fat One', sans-serif; font-size: 24px; }
.pp-today {
  background: var(--tejo);
  color: var(--cream);
  border: 4px solid var(--ink);
  border-radius: 20px;
  padding: 14px;
  display: flex;
  flex-direction: column;
  gap: 6px;
  position: relative;
  overflow: hidden;
  min-height: 150px;
}
.pp-label { font-weight: 900; font-size: 12px; }
.pp-min { font-family: 'Bagel Fat One', sans-serif; font-size: 44px; line-height: 0.9; }
.pp-min small { font-size: 18px; font-family: 'Nunito', sans-serif; font-weight: 900; }
.pp-bar { height: 14px; border: 3px solid var(--ink); border-radius: 999px; background: var(--tejo-dark); width: 60%; overflow: hidden; display: block; }
.pp-bar i { display: block; height: 100%; width: 70%; background: var(--sun); }
.pp-row { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.pp-tile { border: 3px solid var(--ink); border-radius: 16px; padding: 10px; display: block; }
.pp-tile small { font-weight: 900; font-size: 11px; display: block; }
.pp-tile b { font-family: 'Bagel Fat One', sans-serif; font-weight: 400; font-size: 24px; }
.pp-math { background: var(--sun); }
.pp-read { background: var(--pink); }
.pp-hand { background: var(--butter); border: 3px solid var(--ink); border-radius: 16px; padding: 10px; font-weight: 900; font-size: 14px; line-height: 1.3; }
.pp-lock { background: var(--teal); border: 3px solid var(--ink); border-radius: 16px; padding: 10px; font-weight: 900; font-size: 14px; }

.parent-copy { display: flex; flex-direction: column; gap: 18px; }
.point { display: flex; gap: 14px; align-items: flex-start; }
.point-icon {
  width: 44px;
  height: 44px;
  flex: none;
  border-radius: 14px;
  background: var(--cream);
  border: 3px solid var(--ink);
  display: grid;
  place-items: center;
  font-family: 'Bagel Fat One', sans-serif;
  font-size: 20px;
}
.point b { display: block; font-weight: 900; font-size: 20px; }
.point small { display: block; font-weight: 700; font-size: 17px; line-height: 1.45; }

/* ── 8 · Schools & tutors ─────────────────────────────────────────────── */

.schools-head { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 400px), 1fr)); gap: 40px; align-items: end; }
.console {
  background: #fff;
  border-radius: 16px;
  box-shadow: 0 30px 60px -20px rgba(27, 26, 58, 0.35), 0 0 0 1px rgba(27, 26, 58, 0.12);
  overflow: hidden;
  font-family: 'DM Sans', 'Nunito', sans-serif;
}
.console-bar { height: 44px; border-bottom: 1px solid var(--line); display: flex; align-items: center; gap: 8px; padding-inline: 16px; }
.console-bar i { width: 12px; height: 12px; border-radius: 50%; background: var(--coral); }
.console-bar i:nth-child(2) { background: var(--sun); }
.console-bar i:nth-child(3) { background: var(--teal); }
.console-bar span { margin-left: 16px; font-size: 13px; color: #6b6455; font-weight: 600; }
.console-kpis { padding: 22px; display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 190px), 1fr)); gap: 14px; }
.kpi { border: 1px solid var(--line); border-radius: 12px; padding: 14px 16px; display: flex; flex-direction: column; gap: 4px; }
.kpi small { font-size: 13px; color: #6b6455; font-weight: 600; }
.kpi b { font-weight: 800; font-size: 26px; font-variant-numeric: tabular-nums; }
.kpi span { font-size: 12px; font-weight: 700; color: #147a74; }
.console-rows { padding: 0 22px 22px; display: flex; flex-direction: column; }
.crow { display: grid; grid-template-columns: 1.4fr 1fr 1.6fr auto; gap: 12px; align-items: center; padding-block: 10px; border-top: 1px solid #f0ebe0; font-size: 14px; }
.crow b { font-weight: 700; }
.crow span { color: #6b6455; }
.cbar { height: 8px; border-radius: 999px; background: #f0ebe0; overflow: hidden; }
.cbar i { display: block; height: 100%; background: #e0a800; }
.crow em { font-style: normal; font-weight: 700; width: 38px; text-align: right; }
.schools-ctas { display: flex; gap: 14px; flex-wrap: wrap; }

/* ── 9 · Pricing ──────────────────────────────────────────────────────── */

.plans { align-items: stretch; }
.plan {
  position: relative;
  background: var(--cream);
  border: 4px solid var(--ink);
  border-radius: 28px;
  box-shadow: 6px 6px 0 var(--ink);
  padding: 28px;
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.plan-featured { background: var(--sun); box-shadow: 10px 10px 0 var(--ink); }
.plan-badge {
  position: absolute;
  top: -18px;
  left: 24px;
  background: var(--coral);
  border: 3px solid var(--ink);
  border-radius: 999px;
  padding: 3px 14px;
  font-weight: 900;
  font-size: 14px;
}
.plan h3 { margin: 0; font-size: 32px; }
.plan-price { margin: 0; display: flex; align-items: baseline; gap: 6px; }
.plan-price b { font-family: 'Bagel Fat One', sans-serif; font-weight: 400; font-size: 44px; line-height: 1; }
.plan-price span { font-weight: 900; font-size: 16px; }
.plan-sub { margin: 0; font-weight: 800; font-size: 15px; }
.plan ul { list-style: none; margin: 0; padding: 6px 0 0; display: flex; flex-direction: column; gap: 8px; }
.plan li { font-weight: 800; font-size: 16px; line-height: 1.35; display: flex; gap: 10px; }
.plan li::before { content: '✓'; font-weight: 900; }
.plan-cta { margin-top: auto; border-radius: 16px; height: 56px; font-size: 19px; }

/* ── 10 · FAQ ─────────────────────────────────────────────────────────── */

.faq-band > .wrap { gap: 20px; }
.faq {
  border: 4px solid var(--ink);
  border-radius: 22px;
  background: #fff;
  padding: 18px 22px;
}
.faq[open] { background: var(--butter); box-shadow: 5px 5px 0 var(--ink); }
.faq summary {
  cursor: pointer;
  font-weight: 900;
  font-size: 19px;
  list-style: none;
  display: flex;
  justify-content: space-between;
  gap: 16px;
  align-items: center;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: '+'; font-family: 'Bagel Fat One', sans-serif; font-size: 26px; flex: none; }
.faq[open] summary::after { content: '−'; }
.faq p { margin: 10px 0 0; font-weight: 700; font-size: 17px; line-height: 1.55; }

/* ── 11 · Closing ─────────────────────────────────────────────────────── */

.closing { position: relative; background: var(--tejo); color: var(--cream); border-top: 4px solid var(--ink); overflow: hidden; }
.closing-in { position: relative; padding-block: 88px; display: flex; flex-direction: column; align-items: center; gap: 24px; text-align: center; }
.closing-rider { width: 220px; height: 270px; }
.closing h2 { margin: 0; font-size: clamp(40px, 6vw, 80px); line-height: 1; text-shadow: 5px 5px 0 var(--ink); text-wrap: balance; }
.closing-note { margin: 0; font-weight: 700; font-size: 15px; opacity: 0.9; }

/* ── Footer ───────────────────────────────────────────────────────────── */

.foot { background: var(--ink); color: var(--cream); }
.foot-in {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 170px), 1fr));
  gap: 32px;
  padding-block: 64px 40px;
}
.foot-brand .brand-word { font-size: 30px; }
.foot-brand p { margin: 12px 0 0; font-weight: 700; font-size: 15px; line-height: 1.5; color: #d8d2c4; }
.foot-col { display: flex; flex-direction: column; gap: 10px; }
.foot-col b { font-weight: 900; font-size: 15px; }
.foot-col span,
.foot-col a { font-weight: 700; font-size: 15px; color: #d8d2c4; text-decoration: none; }
.foot-col a:hover { color: var(--sun); }
.foot-end {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  padding-block: 20px 36px;
  border-top: 1px solid rgba(255, 247, 232, 0.2);
  font-weight: 700;
  font-size: 14px;
  color: #d8d2c4;
}

/* ── The rider slots (public/skater.js draws <sk-skater>) ────────────── */

.brand-mark sk-skater { width: 100%; height: 100%; }
.subjects-copy { display: flex; flex-direction: column; gap: 16px; }
.subjects-rider { position: relative; height: 300px; margin-top: 10px; }
.subjects-rider sk-skater { position: absolute; left: 0; top: 0; width: 220px; height: 280px; }
.pp-rider { position: absolute; right: -4px; bottom: -4px; width: 100px; height: 124px; }

/* ── Narrow screens ───────────────────────────────────────────────────── */

@media (max-width: 860px) {
  .snav-links { order: 3; width: 100%; justify-content: space-between; gap: 12px; font-size: 14px; }
  .snav-end { margin-left: auto; }
  .hero-art { min-height: 460px; }
  .float-a, .float-b, .float-c { display: none; }
  .foot-in { gap: 24px; }
}
