/* Fuel Up Math! website: same colours and fonts as the game */
:root {
  --ink: #1E2B3A; --ink-soft: #4A5A6C; --sky: #5DBDEB; --sky-light: #D3F0FA;
  --fuel: #FF9F1C; --fuel-deep: #C9740A; --good: #5ACD7E; --board: #26473B; --chalk: #F3F6EF; --chalk-yellow: #FFE38A;
  --grass: #62B24F; --grass-deep: #3F8A35; --dirt: #8C5B35;
  --card: #FFFFFF; --line: #D9E3EA; --tint: #F3F7FA; --page: #FFFFFF;
  --display: "Lilita One", "Arial Rounded MT Bold", "Trebuchet MS", sans-serif;
  --body: "Nunito", system-ui, -apple-system, "Segoe UI", sans-serif;
  --chalkface: "Patrick Hand", "Comic Sans MS", "Chalkboard SE", cursive;
  color-scheme: light;
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; font: 600 17px/1.55 var(--body); color: var(--ink); background: var(--page); }
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
.wrap { width: min(1080px, 100% - 32px); margin-inline: auto; }
h1, h2, h3 { font-family: var(--display); font-weight: 400; line-height: 1.05; margin: 0; text-wrap: balance; }

/* top bar */
.top { position: absolute; inset: 0 0 auto; z-index: 3; }
.top .wrap { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding-block: 14px; }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; font: 22px/1 var(--display); color: var(--ink); }
.brand img { width: 40px; height: 40px; border-radius: 10px; box-shadow: 0 2px 0 rgba(30,43,58,.25); }
.brand em { font-style: normal; color: var(--fuel-deep); }
.top nav { display: flex; gap: 18px; font-weight: 800; font-size: 15px; }
.top nav a { text-decoration: none; }
.top nav a:hover { text-decoration: underline; }

/* buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; border: 0; border-radius: 16px; padding: 15px 26px;
  font: 22px/1 var(--display); text-decoration: none; color: var(--ink); background: var(--fuel); box-shadow: 0 5px 0 var(--fuel-deep);
  transition: transform .06s, box-shadow .06s; white-space: nowrap; }
.btn:active { transform: translateY(4px); box-shadow: 0 1px 0 var(--fuel-deep); }
.btn.quiet { background: #fff; box-shadow: 0 5px 0 #C5D2DC; }
.btn.quiet:active { box-shadow: 0 1px 0 #C5D2DC; }
.btn small { display: block; font: 800 11px/1 var(--body); letter-spacing: .06em; text-transform: uppercase; opacity: .75; margin-bottom: 3px; }
.btn .stack { display: grid; text-align: left; }
.btn[aria-disabled="true"] { opacity: .65; pointer-events: none; }

/* hero */
.hero { position: relative; overflow: hidden; background: linear-gradient(var(--sky) 0%, var(--sky-light) 78%); padding: 96px 0 0; }
.hero .sun { position: absolute; width: 150px; height: 150px; border-radius: 50%; background: #FFE9A8; right: 7%; top: 70px; }
.cloud { position: absolute; background: #fff; border-radius: 99px; opacity: .9; }
.cloud::before, .cloud::after { content: ""; position: absolute; background: #fff; border-radius: 50%; }
.cloud.c1 { width: 130px; height: 38px; left: 6%; top: 120px; } .cloud.c1::before { width: 60px; height: 60px; left: 20px; top: -30px; } .cloud.c1::after { width: 46px; height: 46px; left: 66px; top: -20px; }
.cloud.c2 { width: 100px; height: 30px; left: 48%; top: 84px; } .cloud.c2::before { width: 46px; height: 46px; left: 16px; top: -24px; } .cloud.c2::after { width: 36px; height: 36px; left: 50px; top: -16px; }
.hero-grid { position: relative; z-index: 2; display: grid; grid-template-columns: 1.05fr 1fr; gap: 40px; align-items: center; padding-bottom: 40px; }
.hero h1 { font-size: clamp(52px, 8vw, 92px); color: #fff; -webkit-text-stroke: 0; text-shadow: 0 4px 0 var(--ink), 3px 0 0 var(--ink), -3px 0 0 var(--ink), 0 -3px 0 var(--ink), 3px 3px 0 var(--ink), -3px 3px 0 var(--ink), 3px -3px 0 var(--ink), -3px -3px 0 var(--ink); letter-spacing: .01em; }
.hero h1 em { font-style: normal; color: #FFD95A; }
.tagline { font: 30px/1.1 var(--chalkface); margin: 14px 0 10px; }
.lede { font-size: 19px; max-width: 34ch; margin: 0 0 24px; color: var(--ink); }
.ctas { display: flex; flex-wrap: wrap; gap: 14px 14px; align-items: center; }
.stores { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 18px; font-size: 14px; color: var(--ink-soft); align-items: center; }
.store { display: inline-flex; align-items: center; gap: 8px; padding: 9px 14px; border-radius: 12px; background: var(--ink); color: #fff; text-decoration: none; font-weight: 800; font-size: 14px; }
.store svg { width: 18px; height: 18px; fill: currentColor; }
.store.soon { background: rgba(30,43,58,.12); color: var(--ink); }
.shot { position: relative; }
.shot img.screen { border-radius: 18px; border: 6px solid var(--ink); box-shadow: 0 14px 0 rgba(30,43,58,.18); background: var(--ink); }
.shot img.truck { position: absolute; width: 34%; left: -12%; bottom: -14%; filter: drop-shadow(0 6px 0 rgba(30,43,58,.2)); }
.ground { position: relative; height: 90px; margin-top: -10px; background: var(--dirt); }
.ground::before { content: ""; position: absolute; inset: -14px 0 auto; height: 22px; background: var(--grass); border-top: 6px solid var(--grass-deep); border-radius: 50% 50% 0 0 / 14px 14px 0 0; }
.ground i { position: absolute; width: 18px; height: 9px; border-radius: 50%; background: #6F4526; }

/* sections */
section { padding: 72px 0; }
.kicker { font: 800 13px/1 var(--body); letter-spacing: .12em; text-transform: uppercase; color: var(--fuel-deep); margin-bottom: 10px; }
h2 { font-size: clamp(34px, 5vw, 48px); margin-bottom: 14px; }
.sub { color: var(--ink-soft); max-width: 60ch; margin: 0 0 32px; }
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; counter-reset: s; }
.step { background: var(--tint); border-radius: 18px; padding: 22px; }
.step::before { counter-increment: s; content: counter(s); display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; background: var(--fuel); font: 22px/1 var(--display); margin-bottom: 12px; box-shadow: 0 3px 0 var(--fuel-deep); }
.step h3 { font-size: 24px; margin-bottom: 6px; }
.step p { margin: 0; color: var(--ink-soft); }
.chalk { background: var(--board); color: var(--chalk); border-radius: 22px; padding: 28px; border: 10px solid #A8703E; box-shadow: inset 0 0 0 2px rgba(0,0,0,.15); }
.chalk p { font: 34px/1.2 var(--chalkface); margin: 0; }
.feature { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: center; }
.feature + .feature { margin-top: 56px; }
.feature.flip .text { order: 2; }
.feature img { border-radius: 16px; border: 5px solid var(--ink); }
.feature h3 { font-size: 32px; margin-bottom: 10px; }
.feature ul { margin: 12px 0 0; padding-left: 20px; color: var(--ink-soft); }
.alt { background: var(--tint); }

/* free vs full */
.plans { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.plan { background: #fff; border: 2px solid var(--line); border-radius: 20px; padding: 26px; }
.plan.full { border-color: var(--fuel); background: #FFF8EC; }
.plan h3 { font-size: 30px; }
.price { font: 44px/1 var(--display); margin: 10px 0 4px; }
.price small { font: 800 14px/1 var(--body); color: var(--ink-soft); margin-left: 6px; }
.plan ul { list-style: none; padding: 0; margin: 16px 0 0; display: grid; gap: 8px; }
.plan li { padding-left: 30px; position: relative; }
.plan li::before { content: "✓"; position: absolute; left: 0; top: 1px; width: 22px; height: 22px; border-radius: 50%; background: var(--good); display: grid; place-items: center; font-size: 13px; font-weight: 800; }

/* parents */
.trust { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.trust div { background: #fff; border-radius: 16px; padding: 18px; border: 2px solid var(--line); }
.trust b { display: block; font: 21px/1.1 var(--display); font-weight: 400; margin-bottom: 4px; }
.trust span { color: var(--ink-soft); font-size: 15px; }

/* call to action strip */
.final { text-align: center; background: linear-gradient(var(--sky-light), var(--sky)); }
.final h2 { margin-bottom: 18px; }

/* footer */
footer { background: var(--ink); color: #C9D4DE; padding: 34px 0 40px; font-size: 15px; }
footer .wrap { display: flex; flex-wrap: wrap; gap: 14px 28px; justify-content: space-between; align-items: center; }
footer nav { display: flex; flex-wrap: wrap; gap: 8px 22px; font-weight: 800; }
footer a { color: #fff; text-decoration: none; }
footer a:hover { text-decoration: underline; }

/* plain pages (privacy, terms, support) */
.page-head { background: linear-gradient(var(--sky), var(--sky-light)); padding: 96px 0 36px; }
.page-head h1 { font-size: clamp(38px, 6vw, 56px); }
.page-head p { margin: 8px 0 0; color: var(--ink-soft); }
.doc { padding: 40px 0 72px; }
.doc .wrap { max-width: 720px; }
.doc h2 { font-size: 26px; margin: 34px 0 8px; }
.doc p, .doc li { color: #2E3D4E; }
.doc ul { padding-left: 22px; }
.note { background: #FFF8EC; border: 2px solid #F5D29A; border-radius: 14px; padding: 14px 16px; }
details { background: var(--tint); border-radius: 14px; padding: 14px 18px; margin-bottom: 10px; }
summary { font-weight: 800; cursor: pointer; }
details p { margin: 10px 0 2px; }

@media (max-width: 860px) {
  .hero-grid, .feature, .plans { grid-template-columns: 1fr; }
  .feature.flip .text { order: 0; }
  .steps { grid-template-columns: 1fr; }
  .trust { grid-template-columns: 1fr 1fr; }
  .shot img.truck { left: auto; right: -4%; width: 30%; }
  .hero .sun { width: 90px; height: 90px; top: 64px; }
  .top nav { display: none; }
}
@media (max-width: 600px) { .shot img.truck { display: none; } }
@media (max-width: 480px) {
  .trust { grid-template-columns: 1fr; }
  .btn { width: 100%; }
  .chalk p { font-size: 26px; }
}
