/* Fonts (self-hosted, latin subset) */
@font-face { font-family: 'Fredoka'; font-style: normal; font-weight: 500; font-display: swap; src: url('../fonts/fredoka-latin-500-normal.woff2') format('woff2'); }
@font-face { font-family: 'Fredoka'; font-style: normal; font-weight: 700; font-display: swap; src: url('../fonts/fredoka-latin-700-normal.woff2') format('woff2'); }
@font-face { font-family: 'Nunito'; font-style: normal; font-weight: 400; font-display: swap; src: url('../fonts/nunito-latin-400-normal.woff2') format('woff2'); }
@font-face { font-family: 'Nunito'; font-style: normal; font-weight: 700; font-display: swap; src: url('../fonts/nunito-latin-700-normal.woff2') format('woff2'); }

:root {
  --bg: #EAF4FF;
  --surface: #FFFFFF;
  --ink: #14213D;
  --muted: #3F4E6B;
  --car: #E8530E;
  --deep: #C2410C;
  --good: #1FA971;
  --sun: #FFC93C;
  --wheel: #14213D;
  color-scheme: light dark;
}
@media (prefers-color-scheme: dark) {
  :root {
    --bg: #0E1730;
    --surface: #17254A;
    --ink: #F3F6FF;
    --muted: #B4C0DC;
    --wheel: #F3F6FF;
  }
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: 'Nunito', system-ui, sans-serif;
  font-size: 17px;
  line-height: 1.6;
  overflow-x: hidden;
}
@media (min-width: 700px) { body { font-size: 18px; } }
h1, h2, h3, .brand { font-family: 'Fredoka', system-ui, sans-serif; }
a { color: inherit; }
:focus-visible { outline: 3px solid var(--car); outline-offset: 3px; border-radius: 4px; }
.wrap { max-width: 1100px; margin: 0 auto; padding: 0 20px; }
@media (min-width: 700px) { .wrap { padding: 0 24px; } }

/* Skip link */
.skip { position: absolute; left: 16px; top: -100px; z-index: 10; background: var(--sun); color: #14213D; padding: 12px 20px; border-radius: 999px; font-weight: 700; text-decoration: none; }
.skip:focus { top: 16px; }

/* Header */
header { padding: 16px 0; }
header .wrap { display: flex; align-items: center; justify-content: space-between; gap: 4px 24px; flex-wrap: wrap; }
.brand { display: flex; align-items: center; gap: 6px; text-decoration: none; font-size: 28px; font-weight: 700; letter-spacing: -0.02em; line-height: 1; min-height: 44px; }
.brand svg { width: 50px; height: auto; flex: none; transform: rotate(-4deg); }
.brand .dot { color: var(--car); }
.brand .nl { font-weight: 500; }
@media (min-width: 700px) { .brand { font-size: 32px; } .brand svg { width: 56px; } }
nav { display: flex; gap: 20px; font-weight: 700; font-size: 16px; }
nav a { text-decoration: none; min-height: 44px; display: inline-flex; align-items: center; }
nav a:hover { text-decoration: underline; text-decoration-thickness: 3px; text-decoration-color: var(--car); text-underline-offset: 6px; }
@media (min-width: 700px) { nav { gap: 28px; font-size: 18px; } }

/* Buttons and links */
.btn { display: inline-flex; align-items: center; justify-content: center; min-height: 56px; padding: 12px 30px; border-radius: 999px; font-family: 'Fredoka', system-ui, sans-serif; font-weight: 700; font-size: 21px; text-decoration: none; text-align: center; }
.btn-primary { background: var(--sun); color: #14213D; }
.btn-primary:hover { background: #FFD65E; }
@media (max-width: 599px) { .btn { width: 100%; } }
.textlink { font-weight: 700; text-decoration-thickness: 2px; text-underline-offset: 5px; text-decoration-color: var(--car); min-height: 44px; display: inline-flex; align-items: center; }
.textlink:hover { text-decoration-thickness: 4px; }

/* Hero */
.hero { padding: 24px 0 56px; }
.hero .wrap { display: grid; grid-template-columns: 1fr; gap: 36px; align-items: center; }
@media (min-width: 900px) { .hero { padding: 40px 0 72px; } .hero .wrap { grid-template-columns: 1.1fr 0.9fr; gap: 48px; } }
h1 { font-size: clamp(38px, 9vw, 72px); line-height: 1.04; letter-spacing: -0.02em; margin: 0 0 18px; }
.lead { font-size: 19px; color: var(--muted); max-width: 34em; margin: 0 0 28px; }
@media (min-width: 700px) { .lead { font-size: 21px; } }
.hero-actions { display: flex; flex-direction: column; align-items: flex-start; gap: 8px; }
@media (max-width: 599px) { .hero-actions { align-items: stretch; } .hero-actions .textlink { justify-content: center; } }

.scene { position: relative; width: 100%; max-width: 480px; margin: 0 auto; aspect-ratio: 3 / 2; }
.scene svg { width: 100%; height: 100%; display: block; transform: rotate(-4deg); }
.pin { position: absolute; transform: translate(-50%, -50%); display: inline-flex; align-items: center; gap: 6px; background: var(--sun); color: #14213D; border: 3px solid #14213D; border-radius: 999px; padding: 3px 11px 3px 5px; font-family: 'Fredoka', system-ui, sans-serif; font-weight: 700; font-size: 14px; text-decoration: none; line-height: 1.2; }
.pin::before { content: ""; width: 11px; height: 11px; border-radius: 50%; background: #14213D; }
.pin:hover { background: #FFD65E; }
@media (min-width: 700px) { .pin { font-size: 16px; gap: 8px; padding: 4px 14px 4px 6px; } .pin::before { width: 14px; height: 14px; } }

/* Sections */
section { padding: 56px 0; }
@media (min-width: 700px) { section { padding: 80px 0; } }
.band { background: var(--surface); }
h2 { font-size: clamp(30px, 7vw, 46px); line-height: 1.1; letter-spacing: -0.01em; margin: 0 0 12px; }
h3 { font-size: 23px; line-height: 1.2; margin: 0 0 6px; }
.intro { color: var(--muted); max-width: 36em; margin: 0 0 32px; }
.sub { margin: 56px 0 8px; font-size: clamp(25px, 5vw, 32px); line-height: 1.15; font-family: 'Fredoka', system-ui, sans-serif; }
.sub-intro { color: var(--muted); max-width: 36em; margin: 0 0 28px; }

.cols { display: grid; grid-template-columns: 1fr; gap: 28px; }
@media (min-width: 800px) { .cols { grid-template-columns: repeat(3, 1fr); gap: 40px; } .cols.two { grid-template-columns: repeat(2, 1fr); } }
.cols > div { border-top: 6px solid var(--car); padding-top: 16px; scroll-margin-top: 16px; }
.cols.sun > div { border-top-color: var(--sun); }
.cols p { margin: 0; color: var(--muted); }
.note { margin: 32px 0 0; font-weight: 700; max-width: 40em; }

.cta-row { margin: 0 0 8px; }

.split { display: grid; grid-template-columns: 1fr; gap: 28px; align-items: start; }
@media (min-width: 900px) { .split { grid-template-columns: 1fr 1fr; gap: 72px; } }
.split h3.sub-title { font-size: clamp(25px, 5vw, 32px); margin: 0 0 8px; }
.split p { color: var(--muted); margin: 0; }

.checklist { list-style: none; margin: 0; padding: 0; }
.checklist label { display: flex; align-items: flex-start; gap: 14px; padding: 10px 0; min-height: 44px; cursor: pointer; }
.checklist input { appearance: none; -webkit-appearance: none; flex: none; width: 30px; height: 30px; margin: 1px 0 0; border: 3px solid var(--ink); border-radius: 9px; background: transparent; cursor: pointer; display: grid; place-content: center; }
.checklist input::after { content: ""; width: 14px; height: 8px; border-left: 4px solid #FFFFFF; border-bottom: 4px solid #FFFFFF; transform: rotate(-45deg) translate(1px, -1px); opacity: 0; }
.checklist input:checked { background: var(--good); border-color: var(--good); }
.checklist input:checked::after { opacity: 1; }
.checklist input:checked + span { text-decoration: line-through; text-decoration-thickness: 2px; color: var(--muted); }

.steps { list-style: none; counter-reset: step; margin: 0; padding: 0; display: grid; gap: 20px; }
.steps li { counter-increment: step; display: grid; grid-template-columns: 44px 1fr; gap: 14px; align-items: start; }
.steps li::before { content: counter(step); width: 44px; height: 44px; border-radius: 50%; background: var(--deep); color: #FFFFFF; font-family: 'Fredoka', system-ui, sans-serif; font-weight: 700; font-size: 22px; display: grid; place-items: center; }
.steps strong { display: block; font-family: 'Fredoka', system-ui, sans-serif; font-size: 20px; line-height: 1.3; }
.steps span { color: var(--muted); }

footer { background: var(--ink); color: var(--bg); padding: 36px 0; font-size: 16px; }
footer .wrap { display: flex; flex-wrap: wrap; gap: 12px 32px; justify-content: space-between; }
footer p { margin: 0; max-width: 40em; }

/* 404 */
.notfound { padding: 72px 0 96px; }
.notfound p { color: var(--muted); max-width: 32em; margin: 0 0 28px; }
