@import url("https://fonts.googleapis.com/css2?family=Atkinson+Hyperlegible:wght@400;700&family=Baloo+2:wght@600;700&display=swap");
:root {
  --ink: #17312a;
  --ink-soft: #4a5e57;
  --pine: #1f6b50;
  --pine-dark: #17523d;
  --mist: #eef5f1;
  --paper: #ffffff;
  --sun: #f4b942;
  --moss: #2f7a43;
  --plum: #6b4aa0;
  --night: #24325e;
  --line: #cfe0d7;
  --head: "Baloo 2", "Trebuchet MS", "Arial Rounded MT Bold", system-ui, sans-serif;
  --body: "Atkinson Hyperlegible", "Segoe UI", Arial, system-ui, sans-serif;
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--mist); color: var(--ink); font-family: var(--body); font-size: 18px; line-height: 1.55; }
img, svg { max-width: 100%; }
a { color: var(--pine); }
a:focus-visible, button:focus-visible, input:focus-visible { outline: 3px solid var(--sun); outline-offset: 2px; }
h1, h2, h3 { font-family: var(--head); font-weight: 600; line-height: 1.15; margin: 0 0 0.5em; }
h1 { font-size: clamp(2.1rem, 5vw, 3.3rem); }
h2 { font-size: clamp(1.5rem, 3.2vw, 2rem); }
h3 { font-size: 1.2rem; }
p { margin: 0 0 1em; max-width: 62ch; }

.wrap { max-width: 1080px; margin: 0 auto; padding: 0 22px; }
.top { display: flex; align-items: center; justify-content: space-between; padding: 18px 0; gap: 12px; }
.wordmark { font-family: var(--head); font-weight: 600; font-size: 1.45rem; color: var(--ink); text-decoration: none; }
.top a.login { font-weight: 700; text-decoration: none; }

.hero { display: grid; grid-template-columns: 1.05fr 0.95fr; gap: 36px; align-items: center; padding: 28px 0 56px; }
.hero .lede { font-size: 1.2rem; color: var(--ink-soft); }
.trail { background: var(--paper); border-radius: 28px; padding: 18px; box-shadow: 0 1px 0 var(--line); }
.trail svg { display: block; width: 100%; height: auto; }

.btn { display: inline-block; font: 700 1.1rem var(--body); background: var(--pine); color: #fff; border: 0; border-radius: 12px; padding: 15px 26px; text-decoration: none; cursor: pointer; }
.btn:hover { background: var(--pine-dark); }
.btn.ghost { background: transparent; color: var(--pine); box-shadow: inset 0 0 0 2px var(--pine); }
.actions { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; margin-top: 8px; }
.price-note { color: var(--ink-soft); font-size: 0.98rem; margin-top: 12px; }

section.band { padding: 52px 0; }
section.band.white { background: var(--paper); }
.worlds { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; margin-top: 20px; }
.world { border-radius: 18px; padding: 22px; color: #fff; }
.world p { margin: 0; }
.world .icon { font-size: 2rem; display: block; margin-bottom: 6px; }
.world.animals { background: var(--moss); }
.world.dragons { background: var(--plum); }
.world.space { background: var(--night); }

.inside { columns: 2; column-gap: 40px; padding-left: 1.1em; margin: 0; }
.inside li { break-inside: avoid; margin: 0 0 0.7em; }

.steps { list-style: none; counter-reset: s; padding: 0; margin: 20px 0 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.steps li { counter-increment: s; position: relative; padding-top: 52px; }
.steps li::before { content: counter(s); position: absolute; top: 0; left: 0; width: 40px; height: 40px; border-radius: 50%; background: var(--sun); color: var(--ink); font: 600 1.25rem var(--head); display: grid; place-items: center; }

.buy { background: var(--ink); color: #fff; border-radius: 28px; padding: 36px; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 22px; }
.buy h2 { margin-bottom: 0.2em; }
.buy p { margin: 0; color: #d6e6de; }
.buy .btn { background: var(--sun); color: var(--ink); }
.buy .btn:hover { background: #f7c865; }

footer { padding: 36px 0 48px; color: var(--ink-soft); font-size: 0.95rem; }
footer nav { display: flex; flex-wrap: wrap; gap: 18px; margin-bottom: 10px; }

/* Plain pages: login, thanks, terms, admin */
body.plain { background: var(--mist); }
main.narrow { max-width: 620px; margin: 0 auto; padding: 28px 22px 60px; }
main.narrow .wordmark { display: inline-block; margin-bottom: 28px; }
.card { background: var(--paper); border-radius: 20px; padding: 26px; }
label { display: block; font-weight: 700; margin: 0 0 6px; }
input[type=email], input[type=text], input[type=password] { width: 100%; font: 1.1rem var(--body); padding: 13px 14px; border-radius: 10px; border: 2px solid var(--line); background: #fff; color: var(--ink); margin-bottom: 16px; }
input.code { font-size: 1.8rem; letter-spacing: 0.35em; text-align: center; }
.error { background: #fdecea; color: #8a1f11; border-radius: 10px; padding: 12px 14px; margin-bottom: 16px; }
.muted { color: var(--ink-soft); font-size: 0.97rem; }
.legal h2 { font-size: 1.3rem; margin-top: 1.6em; }
.scroll { overflow-x: auto; }
table { border-collapse: collapse; width: 100%; font-size: 0.95rem; }
th, td { text-align: left; padding: 8px 10px; border-bottom: 1px solid var(--line); white-space: nowrap; }
hr { border: 0; border-top: 1px solid var(--line); margin: 26px 0; }

@media (max-width: 820px) {
  .hero { grid-template-columns: 1fr; padding-top: 8px; }
  .worlds, .steps { grid-template-columns: 1fr; }
  .inside { columns: 1; }
  .buy { padding: 26px; }
}
@media (prefers-reduced-motion: no-preference) {
  .trail .dash { animation: walk 2.4s ease-out 1 both; }
  @keyframes walk { from { stroke-dashoffset: 900; } to { stroke-dashoffset: 0; } }
}

/* buttons: press feedback */
.btn { transition: transform 120ms ease-out, background-color 150ms ease; }
.btn:active { transform: scale(0.97); }
.buy .btn.ghost.light { background: transparent; color: #fff; box-shadow: inset 0 0 0 2px rgba(255,255,255,.85); }
.buy .btn.ghost.light:hover { background: rgba(255,255,255,.12); }

/* hero: a look at the real product */
.preview { position: relative; padding: 4px 0 158px; }
.pv-q { background: var(--paper); border-radius: 20px; padding: 18px 20px; box-shadow: 0 10px 30px -12px rgba(23,49,42,.25); max-width: 400px; }
.pv-top { display: flex; justify-content: space-between; align-items: baseline; gap: 10px; }
.pv-zone { font: 600 1.15rem var(--head); }
.pv-count { color: var(--ink-soft); font-size: .85rem; }
.pv-dots { display: flex; gap: 5px; margin: 8px 0 12px; }
.pv-dots i { width: 9px; height: 9px; border-radius: 50%; background: var(--line); }
.pv-dots i.on { background: var(--pine); } .pv-dots i.cur { background: var(--sun); }
.pv-text { font-size: 1.05rem; margin: 0 0 12px; }
.pv-ans { display: inline-block; min-width: 120px; padding: 8px 14px; border: 2px solid var(--line); border-radius: 12px; font-size: 1.3rem; background: #f5fbf8; }
.pv-fb { margin-top: 12px; padding: 10px 14px; border-radius: 12px; background: #e3f3ea; border: 2px solid #9fd4b4; font-size: .95rem; }
.pv-fb b { display: block; } .pv-fb span { color: var(--ink-soft); }
.pv-r { position: absolute; right: 0; bottom: 0; width: 62%; background: var(--paper); border-radius: 18px; padding: 14px; box-shadow: 0 14px 34px -14px rgba(23,49,42,.35); }
.pv-rt { display: flex; justify-content: space-between; align-items: baseline; margin-bottom: 8px; font-size: .95rem; }
.pv-rt em { font-style: normal; font-size: .75rem; color: var(--ink-soft); border: 1px solid var(--line); border-radius: 999px; padding: 1px 8px; }
.pv-tiles { display: grid; grid-template-columns: repeat(3, 1fr); gap: 6px; }
.pv-tiles span { border-radius: 8px; padding: 6px 7px; font-size: .72rem; line-height: 1.25; border: 2px solid; }
.pv-tiles b { display: block; font-size: .8rem; }
.pv-tiles .s { background: #dff1e6; border-color: #6dbb8a; } .pv-tiles .g { background: #fdf0cf; border-color: #e6b94a; }
.pv-tiles .w { background: #fbe1d6; border-color: #e0855f; } .pv-tiles .n { background: transparent; border: 2px dashed var(--line); color: var(--ink-soft); }

/* what's inside, grouped */
.inside-groups { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; margin-top: 14px; }
.inside-groups h3 { margin-bottom: .4em; }
.inside-groups ul { margin: 0; padding-left: 1.1em; }
.inside-groups li { margin: 0 0 .6em; }
@media (max-width: 820px) {
  .inside-groups { grid-template-columns: 1fr; gap: 18px; }
  .preview { padding-bottom: 0; }
  .pv-q { max-width: none; }
  .pv-r { position: static; width: auto; margin: -10px 14px 0; }
}
