/* littlehooman.padho.ai — the Hoop comic look. Colours are the app's Comic skin (fe/ui-comic/src/comic.css);
   the layout follows the Figma page "Landing page 2" (littlehooman file). Comic Neue: SIL OFL (assets/fonts/OFL.txt). */

@font-face { font-family: "Comic Neue"; font-style: normal; font-weight: 400; font-display: swap; src: url("assets/fonts/ComicNeue-Regular.woff2") format("woff2"); }
@font-face { font-family: "Comic Neue"; font-style: normal; font-weight: 700; font-display: swap; src: url("assets/fonts/ComicNeue-Bold.woff2") format("woff2"); }

:root {
  color-scheme: light;
  --paper: #f8edd3;
  --surface: #fffbf1;
  --surface-2: #f5e8c8;
  --surface-3: #eeddb3;
  --border: #ddcca6;
  --ink: #1b1b1f;
  --ink-soft: #3a3430;
  --muted: #54483d;
  --blue: #2b55c6;
  --blue-deep: #1f44a8;
  --blue-soft: #dde6fa;
  --blue-dots: #4a72de;
  --yellow: #ffd43b;
  --yellow-soft: #fff6cf;
  --yellow-dots: #f2c230;
  --orange-soft: #fde7cc;
  --green: #2b8a3e;
  --green-soft: #ddf3e1;
  --red-soft: #fce1e1;
  --white: #ffffff;
  --cast-panel: 8px 8px 0 var(--ink);
  --cast-card: 5px 5px 0 var(--ink);
  --cast-small: 3px 3px 0 var(--ink);
  --font: "Comic Neue", "Comic Sans MS", system-ui, sans-serif;
  --mono: ui-monospace, "SFMono-Regular", Menlo, Consolas, "Liberation Mono", monospace;
  --gutter: clamp(16px, 5vw, 120px);
  --section-pad: clamp(64px, 8vw, 112px);
  --paper-dots: radial-gradient(circle, rgba(201, 141, 85, .30) 1.6px, transparent 2.1px) 0 0 / 18px 18px;
  --blue-dots-bg: radial-gradient(circle, var(--blue-dots) 2.6px, transparent 3.1px) 0 0 / 14px 14px;
  --yellow-dots-bg: radial-gradient(circle, var(--yellow-dots) 2.6px, transparent 3.1px) 0 0 / 14px 14px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 120px; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font: 400 18px/28px var(--font);
  color: var(--ink);
  background: var(--paper-dots), var(--paper);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img, svg { display: block; }
h1, h2, h3, h4, p, ul, ol, figure, pre { margin: 0; }
ul, ol { padding: 0; list-style: none; }
a { color: inherit; }
b, strong { font-weight: 700; }
.sprite { position: absolute; width: 0; height: 0; overflow: hidden; }
.wrap { width: min(1200px, 100% - 2 * var(--gutter)); margin-inline: auto; }
.icon { width: 24px; height: 24px; flex: none; fill: none; stroke: currentColor; stroke-width: 2.25; stroke-linecap: round; stroke-linejoin: round; }
.skip-link { position: absolute; left: 16px; top: -100px; z-index: 50; padding: 10px 16px; background: var(--yellow); border: 3px solid var(--ink); border-radius: 12px; font-weight: 700; }
.skip-link:focus { top: 16px; }
:focus-visible { outline: 3px solid var(--blue); outline-offset: 3px; border-radius: 8px; }

/* ── Type ── */
.display { font-size: clamp(40px, 5.3vw, 76px); line-height: 1.05; font-weight: 700; letter-spacing: -0.015em; }
h2 { font-size: clamp(34px, 3.6vw, 52px); line-height: 1.12; font-weight: 700; letter-spacing: -0.01em; }
h3 { font-size: 26px; line-height: 32px; font-weight: 700; }
.lead { font-size: clamp(18px, 1.6vw, 21px); line-height: 1.52; color: var(--muted); }
.caption { font-size: 14px; line-height: 18px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }

/* ── Components ── */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  padding: 13px 28px; border: 4px solid var(--ink); border-radius: 999px;
  background: var(--yellow); color: var(--ink); box-shadow: var(--cast-card);
  font: 700 20px/24px var(--font); text-decoration: none; white-space: nowrap;
  transition: transform .12s ease, box-shadow .12s ease, background-color .12s ease;
}
.btn .icon { width: 22px; height: 22px; stroke-width: 2.5; }
.btn:hover { transform: translate(-1px, -1px); box-shadow: 6px 6px 0 var(--ink); }
.btn:active { transform: translate(5px, 5px); box-shadow: 0 0 0 var(--ink); }
.btn-secondary { background: var(--surface); }
.btn-secondary:hover { background: var(--white); }
.btn-medium { padding: 8px 20px; border-width: 3px; box-shadow: var(--cast-small); font-size: 17px; line-height: 22px; }
.btn-medium:hover { box-shadow: 4px 4px 0 var(--ink); }
.btn-medium:active { transform: translate(3px, 3px); }
.btn.is-static, .btn.is-static:hover, .btn.is-static:active { transform: none; box-shadow: var(--cast-small); cursor: default; }

.sticker {
  display: inline-flex; align-items: center; align-self: flex-start;
  padding: 5px 13px; border: 3px solid var(--ink); border-radius: 999px; box-shadow: var(--cast-small);
  font: 700 14px/18px var(--font); letter-spacing: .08em; text-transform: uppercase; white-space: nowrap;
}
.sticker-white { background: var(--surface); }
.sticker-yellow { background: var(--yellow); }
.sticker-blue { background: var(--blue-soft); }
.sticker-green { background: var(--green-soft); }
.sticker-orange { background: var(--orange-soft); }
.tilt-l { transform: rotate(-2deg); }
.tilt-r { transform: rotate(2deg); }

.bubble {
  position: relative; background: var(--white); border: 3px solid var(--ink); border-radius: 24px;
  box-shadow: var(--cast-small); font-weight: 700;
}
/* The tail's white fill covers the bubble's bottom border where they meet; its own two edges are inked. */
.bubble::after {
  content: ""; position: absolute; bottom: -31px; right: 34px; width: 30px; height: 31px;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='30' height='31' viewBox='0 0 30 31'%3E%3Cpath d='M0 0 L26 29.5 L30 0' fill='%23fff' stroke='%231b1b1f' stroke-width='3' stroke-linejoin='round'/%3E%3C/svg%3E") no-repeat;
}

.burst { fill: var(--yellow); stroke: var(--ink); stroke-width: 4px; overflow: visible; }
.doodle-star { fill: var(--yellow); stroke: var(--ink); stroke-width: 2.5px; overflow: visible; }

.tone-yellow { background: var(--yellow-soft); }
.tone-blue { background: var(--blue-soft); }
.tone-orange { background: var(--orange-soft); }
.tone-green { background: var(--green-soft); }
.tone-red { background: var(--red-soft); }

.section-head { display: flex; flex-direction: column; align-items: center; gap: 16px; text-align: center; margin-bottom: 40px; }
.section-head .sticker { align-self: center; }
.section-head p { max-width: 720px; font-size: clamp(18px, 1.6vw, 21px); line-height: 1.52; color: var(--muted); }

/* ── Header ── */
.site-header { position: sticky; top: 0; z-index: 20; padding-top: 24px; transition: transform .32s cubic-bezier(.2, .8, .2, 1); }
/* Scrolling down slides the header away so it never sits on the page; scrolling up brings it back. */
.site-header.is-tucked { transform: translateY(calc(-100% - 12px)); }
.masthead {
  display: flex; align-items: center; justify-content: space-between; gap: 24px;
  padding: 12px 12px 12px 14px; background: var(--surface); border: 3px solid var(--ink); border-radius: 999px; box-shadow: var(--cast-card);
}
.brand { display: inline-flex; align-items: center; gap: 12px; font-size: 26px; line-height: 32px; font-weight: 700; text-decoration: none; }
.brand img { width: 52px; height: 52px; }
.desktop-nav { display: flex; gap: 36px; }
.desktop-nav a, .nav-login { font-size: 17px; line-height: 22px; font-weight: 700; text-decoration: none; }
.desktop-nav a:hover, .nav-login:hover { text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: 5px; }
.nav-actions { display: flex; align-items: center; gap: 20px; }
.menu-button { display: none; width: 48px; height: 48px; align-items: center; justify-content: center; padding: 0; border: 3px solid var(--ink); border-radius: 999px; background: var(--yellow); color: var(--ink); cursor: pointer; }
.mobile-nav { margin-top: 10px; padding: 12px; background: var(--surface); border: 3px solid var(--ink); border-radius: 24px; box-shadow: var(--cast-card); }
.mobile-nav[hidden] { display: none; }
.mobile-nav a { display: block; padding: 12px 14px; font-size: 19px; font-weight: 700; text-decoration: none; border-radius: 12px; }
.mobile-nav a:hover { background: var(--surface-2); }

/* ── Hero ── */
.hero { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 548px); align-items: center; gap: 32px; padding-block: 56px 64px; }
.hero-copy { display: flex; flex-direction: column; gap: 28px; }
.hero h1 { display: flex; flex-direction: column; align-items: flex-start; gap: 4px; }
.highlight {
  margin: 10px 0 0 6px; padding: 0 .24em .05em; background: var(--yellow); border: 4px solid var(--ink); border-radius: 14px;
  box-shadow: var(--cast-card); transform: rotate(-2deg);
}
.hero .lead { max-width: 560px; }
.actions { display: flex; flex-wrap: wrap; gap: 20px; }
.reassure { display: flex; flex-wrap: wrap; gap: 8px 24px; font-size: 16px; line-height: 24px; color: var(--muted); }
.reassure li { display: flex; align-items: center; gap: 8px; }
.reassure .icon { width: 20px; height: 20px; color: var(--green); stroke-width: 2.75; }

.hero-art { position: relative; width: 100%; max-width: 548px; aspect-ratio: 548 / 590; justify-self: end; container-type: inline-size; }
.hero-panel {
  position: absolute; left: 8.76%; top: 6.1%; width: 87.6%; height: 89.83%; overflow: hidden;
  background: var(--blue-dots-bg), var(--blue); border: 4px solid var(--ink); border-radius: 32px; box-shadow: var(--cast-panel);
}
.hero-burst { position: absolute; left: 4.17%; top: 5.66%; width: 91.67%; height: auto; aspect-ratio: 1; }
.floor-shadow { position: absolute; left: 29.2%; top: 89.4%; width: 41.7%; height: 4.9%; border-radius: 50%; background: var(--blue-deep); }
.hero-hoop { position: absolute; left: 32.2%; top: 3.4%; height: 88.7%; width: auto; }
.hero-bubble { position: absolute; left: 0; top: 0; width: 45.6%; padding: 2.9cqw 4cqw; font-size: max(15px, 3.83cqw); line-height: 1.24; transform: rotate(2deg); }
.hero-sticker { position: absolute; right: -1%; top: 91.5%; font-size: clamp(11px, 2.55cqw, 14px); transform: rotate(6deg); }
.idea-badge {
  position: absolute; left: 85.8%; top: 20.3%; width: 13.1%; aspect-ratio: 1; display: grid; place-items: center;
  background: var(--yellow); border: 3px solid var(--ink); border-radius: 50%; box-shadow: var(--cast-small); transform: rotate(-8deg);
}
.idea-badge .icon { width: 50%; height: 50%; }
.doodle-star { position: absolute; aspect-ratio: 1; }
.doodle-star.s1 { left: 2.55%; top: 55.9%; width: 6.2%; }
.doodle-star.s2 { left: 85.8%; top: 1.7%; width: 4.7%; }
.doodle-star.s3 { left: 4.4%; top: 88.1%; width: 4%; }

/* ── Trust strip ── */
.trust { padding-bottom: 96px; }
.trust-strip {
  display: flex; flex-wrap: wrap; justify-content: space-between; gap: 16px 24px;
  padding: 20px 32px; background: var(--surface); border: 3px solid var(--ink); border-radius: 24px; box-shadow: var(--cast-card);
}
.trust-strip li { display: flex; align-items: center; gap: 12px; font-size: 17px; line-height: 22px; font-weight: 700; }
.chip-icon { display: grid; place-items: center; width: 44px; height: 44px; flex: none; border: 2.5px solid var(--ink); border-radius: 50%; }

/* ── A class with Hoop ── */
.class-with-hoop { padding-block: 24px var(--section-pad); }
.classroom { background: var(--surface); border: 4px solid var(--ink); border-radius: 28px; box-shadow: var(--cast-panel); overflow: hidden; }
.lesson-bar { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 16px 28px; border-bottom: 3px solid var(--ink); }
.lesson-bar > div:first-child { display: flex; flex-direction: column; gap: 2px; }
.lesson-name { font-size: 21px; line-height: 26px; font-weight: 700; }
.progress { display: flex; align-items: center; gap: 12px; font-size: 17px; font-weight: 700; color: var(--muted); }
.segments { display: flex; gap: 6px; }
.segments i { width: 36px; height: 12px; border: 2px solid var(--ink); border-radius: 6px; background: var(--surface-3); }
.segments i.on { background: var(--blue); }

.stage { position: relative; aspect-ratio: 1192 / 430; container-type: inline-size; background: var(--paper-dots), var(--yellow-soft); overflow: hidden; }
.stage-floor { position: absolute; left: 0; right: 0; bottom: 0; height: 13.5%; background: var(--surface-3); border-top: 3px solid var(--ink); }
.stage-hoop { position: absolute; z-index: 2; left: 5.87%; bottom: 5.1%; height: 88.4%; width: auto; }
.beam { position: absolute; inset: 0; z-index: 3; width: 100%; height: 100%; pointer-events: none; overflow: visible; }
.beam line { stroke: var(--blue); stroke-width: 5; stroke-linecap: round; stroke-dasharray: 1 12; }
.board {
  position: absolute; z-index: 1; left: 31.2%; top: 9.3%; width: 63.76%;
  display: flex; flex-direction: column; gap: 1.85cqw; padding: 2.35cqw 3cqw 2.7cqw;
  background: var(--white); border: 5px solid var(--ink); border-radius: 14px; box-shadow: var(--cast-card);
}
.board-title { align-self: flex-start; padding: 0 1cqw; background: var(--yellow); border-radius: 6px; font-size: 2.18cqw; line-height: 1.3; font-weight: 700; transform: rotate(-1deg); }
.code { display: flex; flex-direction: column; gap: .34cqw; font: 400 1.51cqw/2.35cqw var(--mono); }
.row { position: relative; display: flex; gap: 1.68cqw; padding: .5cqw 1cqw; border-radius: .67cqw; white-space: pre; }
.row.hot { background: var(--yellow-soft); box-shadow: inset 0 0 0 2px var(--yellow-dots); }
.ln { color: var(--muted); }
.mark { position: relative; z-index: 0; }
.mark::before {
  content: ""; position: absolute; z-index: -1; left: 50%; top: 50%; width: 2.05cqw; height: 2.05cqw; transform: translate(-50%, -50%);
  border: 3px solid var(--blue); border-radius: 50%; background: rgba(255, 212, 59, .35);
}
.beam-spot { position: absolute; left: -.9cqw; top: 50%; width: 1.5cqw; height: 1.5cqw; transform: translate(-50%, -50%); background: var(--yellow); border: 4px solid var(--blue); border-radius: 50%; box-sizing: content-box; }
.output { display: flex; align-items: center; gap: 1cqw; padding: 1cqw 1.35cqw; background: var(--surface-2); border: 2px solid var(--border); border-radius: .84cqw; }
.output .caption { font-size: 1.17cqw; }
.output .q { font: 400 1.51cqw/2.35cqw var(--mono); color: var(--blue); }
.tray { position: absolute; left: 29%; bottom: -1.75cqw; width: 42%; height: 1.2cqw; background: var(--ink-soft); border-radius: 99px; }
.hoop-says { display: flex; align-items: center; gap: 20px; padding: 20px 28px 24px; border-top: 3px solid var(--ink); }
.hoop-says .face { width: 56px; height: 56px; flex: none; }
.said { flex: 1; font-size: 21px; line-height: 26px; font-weight: 700; }
.answers { display: flex; flex-wrap: wrap; gap: 12px; }

.beats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 40px; margin-top: 48px; }
.beats li { display: flex; gap: 16px; }
.num { display: grid; place-items: center; width: 48px; height: 48px; flex: none; background: var(--yellow); border: 3px solid var(--ink); border-radius: 50%; box-shadow: var(--cast-small); font-size: 20px; font-weight: 700; }
.beats h3 { font-size: 21px; line-height: 26px; margin-bottom: 6px; }
.beats p { color: var(--muted); }

/* ── Courses ── */
.courses { padding-block: 96px var(--section-pad); background: var(--blue-dots-bg), var(--blue); border-block: 4px solid var(--ink); }
.section-head.on-blue h2 { color: var(--white); }
.section-head.on-blue p { color: var(--blue-soft); }
.course-card { display: grid; grid-template-columns: 480px minmax(0, 1fr); background: var(--surface); border: 4px solid var(--ink); border-radius: 28px; box-shadow: var(--cast-panel); overflow: hidden; }
.course-art { position: relative; min-height: 480px; container-type: inline-size; overflow: hidden; background: var(--yellow-dots-bg), var(--yellow); border-right: 4px solid var(--ink); }
.code-window { position: absolute; left: 5.4%; top: 8.3cqw; width: 58.75%; background: var(--white); border: 3px solid var(--ink); border-radius: 16px; box-shadow: var(--cast-card); transform: rotate(3deg); overflow: hidden; }
.window-bar { display: flex; align-items: center; gap: 8px; padding: 10px 14px; background: var(--surface-2); border-bottom: 3px solid var(--ink); font: 700 max(11px, 2.9cqw)/1.3 var(--font); color: var(--muted); }
.dot { width: 12px; height: 12px; border: 1.5px solid var(--ink); border-radius: 50%; }
.dot.red { background: #e2483d; } .dot.yellow { background: var(--yellow); } .dot.green { background: var(--green); }
.code-window pre { padding: 14px 16px 16px; font: 400 max(11px, 3.33cqw)/1.62 var(--mono); }
.drawing { position: absolute; left: 9.2%; top: 52.5cqw; width: 41.7%; aspect-ratio: 200 / 196; display: flex; flex-direction: column; align-items: center; padding: 6% 8% 4%; background: var(--white); border: 3px solid var(--ink); border-radius: 16px; box-shadow: var(--cast-card); transform: rotate(-5deg); }
.drawing svg { width: 100%; flex: 1; min-height: 0; }
.drawing span { font: 700 max(10px, 2.9cqw)/1.3 var(--font); letter-spacing: .08em; color: var(--muted); }
.course-hoop { position: absolute; left: 54.6%; top: 20cqw; height: 91.7cqw; width: auto; }
.course-body { display: flex; flex-direction: column; gap: 20px; padding: 44px 48px; }
.tags { display: flex; flex-wrap: wrap; gap: 12px; }
.course-body h3 { font-size: clamp(34px, 3.6vw, 52px); line-height: 1.12; }
.meta { display: flex; flex-wrap: wrap; gap: 12px 28px; }
.meta li { display: flex; align-items: center; gap: 8px; font-size: 17px; font-weight: 700; }
.meta .icon { width: 22px; height: 22px; color: var(--blue); }
.course-body .caption { margin-bottom: -10px; }
.projects { display: flex; flex-wrap: wrap; gap: 8px; }
.projects li { padding: 4px 14px; background: var(--surface-2); border: 2px solid var(--ink); border-radius: 999px; font-size: 16px; line-height: 24px; }

/* ── How it works ── */
.how { padding-block: var(--section-pad); }
.steps { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 48px; }
.step { position: relative; display: flex; flex-direction: column; gap: 14px; padding: 24px 24px 28px; background: var(--surface); border: 3px solid var(--ink); border-radius: 24px; box-shadow: var(--cast-card); }
.step:not(:last-child)::after {
  content: ""; position: absolute; right: -40px; top: 50%; width: 30px; height: 30px; transform: translateY(-50%);
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%231b1b1f' stroke-width='2.25' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12h14'/%3E%3Cpath d='m12 5 7 7-7 7'/%3E%3C/svg%3E") no-repeat center / contain;
}
.tilt-a { transform: rotate(-1.2deg); } .tilt-b { transform: rotate(1deg); } .tilt-c { transform: rotate(-.8deg); } .tilt-d { transform: rotate(1.2deg); }
.step-top { display: flex; align-items: center; justify-content: space-between; }
.step-num { position: relative; display: grid; place-items: center; width: 64px; height: 64px; }
.step-num .burst { position: absolute; inset: 0; width: 100%; height: 100%; stroke-width: 3px; }
.step-num b { position: relative; font-size: 26px; }
.step-icon { display: grid; place-items: center; width: 48px; height: 48px; border: 2.5px solid var(--ink); border-radius: 14px; }
.step-icon .icon { width: 26px; height: 26px; }
.step h3 { font-size: 26px; line-height: 32px; }
.step p { color: var(--muted); }

/* ── For parents ── */
.parents { padding-block: var(--section-pad); background: var(--green-soft); border-block: 4px solid var(--ink); }
.report-row { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 600px); align-items: center; gap: 64px; }
.parents-copy { display: flex; flex-direction: column; gap: 24px; }
.checklist { display: flex; flex-direction: column; gap: 16px; }
.checklist li { display: flex; align-items: flex-start; gap: 14px; }
.checklist p { color: var(--muted); }
.checklist b { color: var(--ink); }
.tick { display: grid; place-items: center; width: 30px; height: 30px; flex: none; margin-top: -1px; background: var(--green); border: 2.5px solid var(--ink); border-radius: 50%; color: var(--white); }
.tick .icon { width: 18px; height: 18px; stroke-width: 3; }
.report { position: relative; display: flex; flex-direction: column; gap: 22px; padding: 28px; background: var(--surface); border: 3px solid var(--ink); border-radius: 28px; box-shadow: var(--cast-panel); transform: rotate(1.5deg); }
.report-head { display: flex; align-items: center; gap: 14px; }
.report-head > div { flex: 1; display: flex; flex-direction: column; }
.report-head b { font-size: 21px; line-height: 26px; }
.report-head span:not(.avatar):not(.sticker) { font-size: 16px; color: var(--muted); }
.avatar { display: grid; place-items: center; width: 48px; height: 48px; flex: none; background: var(--orange-soft); border: 2.5px solid var(--ink); border-radius: 50%; font-size: 21px; font-weight: 700; }
.stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.stats div { display: flex; flex-direction: column; gap: 2px; padding: 14px 16px; background: var(--blue-soft); border: 2px solid var(--ink); border-radius: 16px; }
.stats b { font-size: 26px; line-height: 32px; }
.stats span { font-size: 16px; line-height: 22px; color: var(--muted); }
.chart { display: flex; align-items: flex-end; justify-content: space-between; gap: 10px; height: 168px; }
.chart div { display: flex; flex-direction: column; align-items: center; gap: 8px; }
.chart i { display: block; width: clamp(28px, 4vw, 46px); height: max(10px, calc(var(--h) * 130px)); background: var(--blue); border: 2px solid var(--ink); border-radius: 8px 8px 3px 3px; }
.chart i.low { background: var(--surface-3); }
.chart span { font-size: 14px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
.skills { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; }
.skills code { padding: 2px 12px; background: var(--yellow-soft); border: 1.5px solid var(--ink); border-radius: 999px; font: 400 14px/20px var(--mono); }
.skills code.done { background: var(--green-soft); }
.next-up { display: flex; justify-content: space-between; gap: 8px; padding: 12px 16px; background: var(--yellow-soft); border: 2px solid var(--ink); border-radius: 14px; font-size: 16px; }
.next-up span:last-child { color: var(--muted); white-space: nowrap; }

.safe { display: grid; grid-template-columns: 300px minmax(0, 1fr); align-items: center; gap: 40px; margin-top: 64px; padding: 36px 36px 36px 40px; background: var(--surface); border: 3px solid var(--ink); border-radius: 28px; box-shadow: var(--cast-card); }
.safe-intro { display: flex; flex-direction: column; gap: 14px; }
.safe-intro p { color: var(--muted); }
.shield { display: grid; place-items: center; width: 84px; height: 84px; background: var(--green); border: 3px solid var(--ink); border-radius: 50%; box-shadow: var(--cast-small); color: var(--white); transform: rotate(-6deg); }
.shield .icon { width: 44px; height: 44px; }
.promises { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.promises li { display: flex; align-items: flex-start; gap: 14px; padding: 18px 20px 18px 18px; border: 2.5px solid var(--ink); border-radius: 18px; }
.promise-icon { display: grid; place-items: center; width: 44px; height: 44px; flex: none; background: var(--white); border: 2.5px solid var(--ink); border-radius: 50%; }
.promises h4 { font-size: 21px; line-height: 26px; margin-bottom: 4px; }
.promises p { font-size: 16px; line-height: 24px; color: var(--muted); }

/* ── FAQ ── */
.faq { display: grid; grid-template-columns: 400px minmax(0, 1fr); gap: 64px; padding-block: var(--section-pad); }
.faq-intro { display: flex; flex-direction: column; align-items: flex-start; gap: 20px; }
.faq-hoop { position: relative; width: 100%; max-width: 400px; aspect-ratio: 400 / 330; }
.faq-hoop .burst { position: absolute; left: 10%; top: 12%; width: 55%; height: auto; aspect-ratio: 1; fill: var(--blue-soft); stroke-width: 3px; }
.faq-hoop img { position: absolute; left: 22.5%; top: 4%; height: 94%; width: auto; }
.faq-hoop .qmark { position: absolute; left: 57%; top: -4%; font-size: 88px; line-height: 1; font-weight: 700; color: var(--blue); transform: rotate(-10deg); }
.faq-list { display: flex; flex-direction: column; gap: 16px; }
.faq-list details { background: var(--surface); border: 3px solid var(--ink); border-radius: 20px; box-shadow: var(--cast-small); }
.faq-list details[open] { background: var(--white); }
.faq-list summary {
  display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 20px 20px 20px 24px;
  font-size: 21px; line-height: 26px; font-weight: 700; cursor: pointer; list-style: none; border-radius: 17px;
}
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary::after {
  content: ""; width: 36px; height: 36px; flex: none; border: 2.5px solid var(--ink); border-radius: 50%;
  background: var(--surface-2) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%231b1b1f' stroke-width='2.5' stroke-linecap='round'%3E%3Cpath d='M5 12h14'/%3E%3Cpath d='M12 5v14'/%3E%3C/svg%3E") no-repeat center / 20px;
}
.faq-list details[open] summary::after {
  background: var(--yellow) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%231b1b1f' stroke-width='2.5' stroke-linecap='round'%3E%3Cpath d='M5 12h14'/%3E%3C/svg%3E") no-repeat center / 20px;
}
.faq-list details p { padding: 0 24px 22px; margin-top: -6px; color: var(--muted); }

/* ── Book a free demo (the end panel). The flow and its ids are padho.ai's booking (booking.js/booking.view.js);
   only the look is littlehooman's. ── */
.start { padding-bottom: 120px; scroll-margin-top: 120px; }
.start-panel {
  display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 540px); align-items: center; gap: 48px; padding: 56px 56px 56px 64px;
  background: var(--yellow-dots-bg), var(--yellow); border: 4px solid var(--ink); border-radius: 36px; box-shadow: var(--cast-panel);
}
.start-copy { display: flex; flex-direction: column; align-items: flex-start; gap: 24px; }
.start-copy h2 { font-size: clamp(40px, 4.6vw, 64px); }
.start-copy .free { display: inline-block; padding: 0 .16em; background: var(--white); border: 4px solid var(--ink); border-radius: 12px; box-shadow: var(--cast-small); transform: rotate(-3deg); }
.live-dot { display: inline-block; width: 10px; height: 10px; margin-right: 10px; border-radius: 50%; background: #e8590c; box-shadow: 0 0 0 3px rgba(232, 89, 12, .2); }
.booking-checks { display: flex; flex-direction: column; gap: 14px; font-size: 20px; line-height: 26px; font-weight: 700; }
.booking-checks li { display: flex; align-items: center; gap: 12px; }
.booking-checks .tick { background: var(--blue); }
.next-slot { display: inline-flex; align-items: center; padding: 8px 16px; background: var(--white); border: 3px solid var(--ink); border-radius: 999px; box-shadow: var(--cast-small); font-size: 16px; font-weight: 700; }
.next-slot[hidden] { display: none; }
.start-hoop { position: relative; width: 300px; aspect-ratio: 300 / 320; margin-top: 8px; }
.start-hoop .burst { position: absolute; left: 0; top: 4%; width: 100%; height: auto; aspect-ratio: 1; fill: var(--white); }
.start-hoop img { position: absolute; left: 50%; top: 2%; height: 98%; width: auto; transform: translateX(-52%); }

.booking-card { display: flex; flex-direction: column; gap: 18px; padding: 36px; background: var(--white); border: 3px solid var(--ink); border-radius: 28px; box-shadow: var(--cast-card); }
.booking-card-header { display: flex; flex-direction: column; gap: 4px; margin-bottom: 4px; }
.booking-card-header h3 { font-size: 30px; line-height: 36px; outline: none; }
.booking-card-header p { color: var(--muted); }
.field { position: relative; display: flex; flex-direction: column; gap: 8px; min-width: 0; }
.field label { font-size: 17px; line-height: 22px; font-weight: 700; }
.field-row { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.control {
  position: relative; display: flex; align-items: center; gap: 12px; height: 56px; padding: 0 16px;
  background: var(--surface); border: 3px solid var(--ink); border-radius: 16px;
}
.control:focus-within { outline: 3px solid var(--blue); outline-offset: 2px; }
.control:has([aria-invalid="true"]) { border-color: #c92a2a; background: var(--red-soft); }
.control > .icon { width: 22px; height: 22px; color: var(--muted); }
.control input, .control select { flex: 1; min-width: 0; height: 100%; padding: 0; border: 0; outline: none; background: transparent; color: var(--ink); font: 400 18px/1 var(--font); }
.control input::placeholder { color: #8f8270; opacity: 1; }
.country-code { display: inline-flex; align-items: center; gap: 8px; font-size: 18px; font-weight: 700; white-space: nowrap; }
.control-divider { width: 2px; align-self: stretch; margin-block: 12px; background: var(--border); }
.select-control select { appearance: none; padding-right: 30px; margin-right: -30px; cursor: pointer; }
.select-control select:disabled, .select-control select:invalid { color: #8f8270; }
.select-control:has(select:disabled) { background: var(--surface-2); }
.select-chevron { margin-left: auto; pointer-events: none; color: var(--ink); }
/* select-menu.js puts a combobox and its listbox after the hidden select. */
.select-trigger { display: flex; align-items: center; flex: 1; min-width: 0; height: 100%; margin-right: -30px; padding-right: 30px; font-size: 18px; cursor: pointer; user-select: none; -webkit-tap-highlight-color: transparent; }
.select-trigger:focus-visible { outline: none; }
.select-trigger.is-placeholder, .select-trigger[aria-disabled="true"] { color: #8f8270; }
.select-trigger[aria-disabled="true"] { cursor: default; }
.select-value { overflow: hidden; white-space: nowrap; text-overflow: ellipsis; }
.select-menu {
  position: absolute; z-index: 20; top: calc(100% + 10px); inset-inline: -3px; max-height: min(334px, var(--select-menu-room, 334px));
  overflow-y: auto; overscroll-behavior: contain; padding: 6px; background: var(--white); border: 3px solid var(--ink); border-radius: 16px; box-shadow: var(--cast-card);
}
.select-menu.opens-up { top: auto; bottom: calc(100% + 10px); }
.select-option { display: flex; align-items: center; gap: 12px; min-height: 44px; padding-inline: 12px; border-radius: 10px; font-size: 17px; line-height: 24px; cursor: pointer; -webkit-tap-highlight-color: transparent; }
.select-option.is-active { background: var(--yellow-soft); }
.select-option[aria-selected="true"] { font-weight: 700; }
.select-option[aria-selected="true"]::after {
  content: ""; flex: none; width: 20px; height: 20px; margin-left: auto; background: currentColor;
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6 9 17l-5-5'/%3E%3C/svg%3E") center / 20px no-repeat;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6 9 17l-5-5'/%3E%3C/svg%3E") center / 20px no-repeat;
}
.select-option[aria-disabled="true"] { color: #8f8270; cursor: default; }
.field-error { font-size: 15px; line-height: 20px; font-weight: 700; color: #b42318; }
.field-error[hidden], .form-message[hidden] { display: none; }
.link-button { padding: 0; border: 0; background: none; color: var(--blue-deep); font-family: var(--font); font-weight: 700; font-size: inherit; line-height: inherit; text-decoration: underline; text-underline-offset: 3px; cursor: pointer; }
.field-retry { align-self: flex-start; font-size: 15px; }
.form-message { padding: 12px 16px; border: 2.5px solid var(--ink); border-radius: 14px; background: var(--blue-soft); font-size: 16px; line-height: 22px; font-weight: 700; }
.form-message.is-error { background: var(--red-soft); color: #b42318; border-color: #b42318; }
.booking-submit { width: 100%; margin-top: 4px; }
.btn:disabled { opacity: .55; cursor: not-allowed; transform: none; box-shadow: var(--cast-small); }
.booking-note { display: flex; align-items: center; gap: 8px; font-size: 15px; line-height: 20px; color: var(--muted); }
.booking-note .icon { width: 16px; height: 16px; }
.nowrap { white-space: nowrap; }

/* ── Booking dialogs: verify the number, then the confirmation ── */
html:has(.booking-dialog[open]) { overflow: hidden; }
.booking-dialog { width: min(500px, calc(100% - 32px)); max-width: none; max-height: calc(100% - 32px); padding: 0; border: 0; background: transparent; color: var(--ink); overflow: visible; }
.confirm-dialog { width: min(540px, calc(100% - 32px)); }
.booking-dialog::backdrop { background: rgba(27, 27, 31, .78); }
.booking-dialog[open] { animation: dialog-rise .28s cubic-bezier(.2, .8, .2, 1); }
@keyframes dialog-rise { from { opacity: 0; transform: translateY(24px) rotate(-1deg); } }
.dialog-card {
  position: relative; display: flex; flex-direction: column; align-items: center; gap: 18px; max-height: calc(100dvh - 32px); overflow-y: auto;
  padding: 40px 36px 32px; background: var(--surface); border: 4px solid var(--ink); border-radius: 28px; box-shadow: var(--cast-panel); text-align: center;
}
.dialog-card h2 { font-size: 30px; line-height: 36px; }
.dialog-text { max-width: 420px; font-size: 17px; line-height: 25px; color: var(--muted); }
.dialog-hoop { width: 84px; height: 84px; }
.dialog-close { position: absolute; top: 16px; right: 16px; display: grid; place-items: center; width: 40px; height: 40px; padding: 0; border: 3px solid var(--ink); border-radius: 50%; background: var(--white); color: var(--ink); cursor: pointer; }
.dialog-close .icon { width: 20px; height: 20px; stroke-width: 2.75; }
.dialog-close:disabled { opacity: .4; cursor: default; }
.code-entry { position: relative; display: flex; justify-content: center; gap: 10px; width: 100%; }
/* One real input under six drawn boxes: paste, the WhatsApp code's autofill and screen readers all just work. */
.code-entry > input { position: absolute; inset: 0; z-index: 1; width: 100%; border: 0; background: transparent; color: transparent; caret-color: transparent; font-size: 16px; letter-spacing: 3em; opacity: .01; }
.code-box { position: relative; display: grid; flex: 0 1 56px; place-items: center; height: 64px; min-width: 0; background: var(--white); border: 3px solid var(--ink); border-radius: 14px; font: 700 28px/1 var(--font); }
.code-box.is-active { border-color: var(--blue); box-shadow: 0 0 0 3px var(--blue-soft); }
.code-box.is-active::after { content: ""; width: 3px; height: 28px; background: var(--blue); animation: caret-blink 1s steps(1) infinite; }
.code-entry:has([aria-invalid="true"]) .code-box { border-color: #c92a2a; }
@keyframes caret-blink { 50% { opacity: 0; } }
.resend { font-size: 15px; color: var(--muted); }
.dialog-card .field-error { margin-top: -6px; }
.dialog-submit { width: 100%; }
.confirmed-hoop { position: relative; width: 200px; height: 190px; margin-top: -8px; }
.confirmed-hoop .burst { position: absolute; left: 10px; top: 0; width: 180px; height: 180px; }
.confirmed-hoop img { position: absolute; left: 50%; top: 4px; height: 186px; width: auto; transform: translateX(-52%); }
.is-celebrating .confirmed-hoop .burst { animation: burst-pop .5s cubic-bezier(.34, 1.56, .64, 1) both; }
.is-celebrating .confirmed-hoop img { animation: hoop-hop .6s cubic-bezier(.34, 1.56, .64, 1) .1s both; }
@keyframes burst-pop { from { opacity: 0; transform: scale(.3) rotate(-30deg); } }
@keyframes hoop-hop { from { opacity: 0; transform: translate(-52%, 24px); } }
.booking-details { display: flex; flex-direction: column; gap: 12px; width: 100%; margin: 0; padding: 18px 20px; background: var(--white); border: 3px solid var(--ink); border-radius: 18px; text-align: left; }
.booking-details > div { display: flex; align-items: center; gap: 12px; font-size: 17px; line-height: 22px; }
.booking-details dt { display: flex; flex: none; align-items: center; gap: 10px; width: 112px; color: var(--muted); }
.booking-details dt .icon { width: 20px; height: 20px; }
.booking-details dd { flex: 1; margin: 0; font-weight: 700; text-align: right; overflow-wrap: anywhere; }
.dialog-actions { display: grid; grid-template-columns: repeat(auto-fit, minmax(0, 1fr)); gap: 14px; width: 100%; }
.dialog-actions .btn { padding-inline: 16px; }
.dialog-actions [hidden] { display: none; }

/* ── Footer ── */
.site-footer { padding-block: 64px 40px; background: var(--surface); border-top: 4px solid var(--ink); }
.footer-top { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 40px; }
.footer-brand { display: flex; flex-direction: column; gap: 14px; max-width: 320px; }
.footer-brand .brand img { width: 44px; height: 44px; }
.footer-brand p { color: var(--muted); }
.footer-links { display: flex; flex-wrap: wrap; gap: 40px 96px; }
.footer-links > div { display: flex; flex-direction: column; gap: 12px; }
.footer-links h2 { font-size: 17px; line-height: 22px; }
.footer-links a { font-size: 16px; line-height: 24px; color: var(--muted); text-decoration: none; }
.footer-links a:hover { color: var(--ink); text-decoration: underline; }
.social { display: flex; gap: 12px; }
.social a {
  display: block; width: 40px; height: 40px; border: 2.5px solid var(--ink); border-radius: 50%;
  background: var(--paper) var(--social-icon) no-repeat center / 20px;
}
.social a:hover { background-color: var(--yellow); }
.social-x { --social-icon: url("assets/social/social-x.svg"); }
.social-linkedin { --social-icon: url("assets/social/social-linkedin.svg"); }
.social-instagram { --social-icon: url("assets/social/social-instagram.svg"); }
.social-youtube { --social-icon: url("assets/social/social-youtube.svg"); }
.social-discord { --social-icon: url("assets/social/social-discord.svg"); }
.footer-bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px 24px; margin-top: 40px; padding-top: 24px; border-top: 2px solid var(--border); font-size: 16px; color: var(--muted); }
.footer-bottom a { color: inherit; }

/* ── Narrower screens ── */
@media (max-width: 1180px) {
  .desktop-nav { gap: 24px; }
  .steps { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 32px; }
  .step:not(:last-child)::after { display: none; }
  .course-card { grid-template-columns: 400px minmax(0, 1fr); }
  .start-panel { grid-template-columns: minmax(0, 1fr) minmax(0, 480px); gap: 32px; padding: 48px 40px; }
  .start-hoop { width: 240px; }
}
@media (max-width: 1023px) {
  .desktop-nav, .nav-login { display: none; }
  .menu-button { display: inline-flex; }
  .hero { grid-template-columns: 1fr; padding-top: 40px; }
  .hero-art { justify-self: center; }
  .trust-strip { justify-content: flex-start; }
  .report-row, .faq { grid-template-columns: 1fr; }
  .report { max-width: 600px; }
  .safe { grid-template-columns: 1fr; }
  .faq-hoop { display: none; }
  .course-card { grid-template-columns: 1fr; }
  .course-art { min-height: 0; aspect-ratio: 480 / 470; border-right: 0; border-bottom: 4px solid var(--ink); }
  .start-panel { grid-template-columns: minmax(0, 1fr); padding: 40px 32px; }
  .start-hoop { display: none; }
}
@media (max-width: 819px) {
  .stage { aspect-ratio: auto; padding: 20px 16px 28px; container-type: normal; }
  .stage-hoop, .beam, .stage-floor, .tray, .beam-spot { display: none; }
  .board { position: static; width: auto; gap: 16px; padding: 18px 18px 20px; border-width: 4px; }
  .board-title { font-size: 21px; padding: 0 10px; }
  .code { font-size: 15px; line-height: 24px; gap: 4px; }
  .row { padding: 4px 10px; gap: 14px; border-radius: 8px; }
  .mark::before { width: 26px; height: 26px; border-width: 2.5px; }
  .output { gap: 10px; padding: 10px 12px; border-radius: 10px; }
  .output .caption { font-size: 13px; }
  .output .q { font-size: 15px; line-height: 24px; }
  .lesson-bar { flex-direction: column; align-items: flex-start; padding: 14px 18px; }
  .hoop-says { flex-wrap: wrap; padding: 18px; }
  .said { flex-basis: calc(100% - 76px); }
  .beats { grid-template-columns: 1fr; gap: 24px; }
}
@media (max-width: 639px) {
  .site-header { padding-top: 12px; }
  .masthead { padding: 8px 8px 8px 10px; }
  .brand { font-size: 22px; gap: 10px; }
  .brand img { width: 44px; height: 44px; }
  .nav-actions .btn { display: none; }
  .highlight { border-width: 3px; }
  .btn { padding: 11px 22px; font-size: 18px; }
  .trust { padding-bottom: 64px; }
  .trust-strip { display: grid; grid-template-columns: 1fr; padding: 18px 20px; }
  .steps { grid-template-columns: 1fr; }
  .tilt-a, .tilt-b, .tilt-c, .tilt-d { transform: none; }
  .course-body { padding: 28px 22px 32px; }
  .stats { grid-template-columns: 1fr 1fr 1fr; gap: 8px; }
  .stats div { padding: 10px; }
  .stats b { font-size: 20px; line-height: 26px; }
  .stats span { font-size: 14px; line-height: 18px; }
  .report { padding: 20px; transform: rotate(.8deg); }
  .report-head .sticker { position: absolute; top: -16px; right: 18px; transform: rotate(3deg); }
  .chart { height: 150px; gap: 4px; }
  .chart span { font-size: 11px; }
  .safe { padding: 24px 20px; }
  .promises { grid-template-columns: 1fr; }
  .faq-list summary { font-size: 19px; padding: 16px 16px 16px 18px; }
  .faq-list details p { padding: 0 18px 18px; }
  .start-panel { padding: 28px 16px 20px; border-radius: 28px; }
  .booking-card { padding: 24px 18px; border-radius: 22px; }
  .booking-card-header h3 { font-size: 26px; line-height: 32px; }
  .field-row { grid-template-columns: 1fr; }
  .booking-checks { font-size: 18px; }
  .dialog-card { gap: 14px; padding: 36px 18px 22px; }
  .dialog-card h2 { font-size: 26px; line-height: 32px; }
  .code-entry { gap: 7px; }
  .code-box { height: 56px; font-size: 24px; }
  .booking-details dt { width: 92px; }
  .footer-links { gap: 32px 48px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .booking-dialog[open], .is-celebrating .confirmed-hoop .burst, .is-celebrating .confirmed-hoop img, .code-box.is-active::after { animation: none; }
  .btn, .btn:hover, .btn:active, .site-header { transition: none; }
}
