/* Mattemilen – samma formspråk som i spelet: nattkörning, vägskyltar och gul vägmarkering. */
@font-face { font-family: "Inter"; font-style: normal; font-weight: 400 700; font-display: swap; src: url(inter.woff2) format("woff2"); }
@font-face { font-family: "Space Grotesk"; font-style: normal; font-weight: 500 700; font-display: swap; src: url(space-grotesk.woff2) format("woff2"); }

:root {
  --bg: #0C1226; --bg2: #0F1630; --card: #151D3B; --card2: #1D2850; --line: #2B3769;
  --ink: #EEF2FF; --mut: #9CA8D3;
  --sun: #FFB020; --sun-d: #C98300; --on-sun: #1B1300;
  --sign: #1D55C9; --ok: #34D399; --ok-bg: #0F3A30; --cyan: #22D3EE;
  --display: "Space Grotesk", "Segoe UI", system-ui, sans-serif;
  --body: "Inter", "Segoe UI", system-ui, -apple-system, sans-serif;
  color-scheme: dark;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 76px; }
html, body { margin: 0; background: var(--bg); color: var(--ink); font-family: var(--body); font-size: 17px; line-height: 1.6; }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--sun); }
h1, h2, h3, .display { font-family: var(--display); letter-spacing: -.3px; text-wrap: balance; }
h1 { font-size: clamp(40px, 6.4vw, 68px); line-height: 1.04; margin: 0; }
h2 { font-size: clamp(30px, 4.4vw, 44px); line-height: 1.1; margin: 0 0 14px; }
h3 { font-size: 21px; line-height: 1.25; margin: 0 0 6px; }
p { margin: 0 0 14px; }
.mut { color: var(--mut); }
.wrap { max-width: 1120px; margin: 0 auto; padding: 0 20px; }
.narrow { max-width: 760px; }
section { padding: 88px 0; position: relative; }
.alt { background: var(--bg2); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.eyebrow { font-size: 13px; font-weight: 700; letter-spacing: 1.4px; text-transform: uppercase; color: var(--sun); margin-bottom: 12px; }
.lead { font-size: clamp(18px, 2.2vw, 21px); color: var(--mut); }
.center { text-align: center; }
.center .lead { margin-left: auto; margin-right: auto; max-width: 640px; }

/* vägskylt, precis som i spelet */
.sign { display: inline-block; background: var(--sign); color: #fff; border: 2px solid #fff; border-radius: 6px; padding: 2px 10px; font-family: var(--display); font-weight: 700; text-transform: uppercase; letter-spacing: .6px; font-size: 14px; line-height: 1.5; white-space: nowrap; }
.signs { display: inline-flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.signs .arr { color: var(--mut); font-weight: 700; }

/* knappar */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; padding: 14px 22px; border-radius: 12px; font-weight: 700; font-size: 16px; text-decoration: none; color: var(--ink); background: var(--card2); border: 1px solid var(--line); font-family: var(--display); letter-spacing: .2px; }
.btn.go { background: var(--sun); color: var(--on-sun); border-color: var(--sun); box-shadow: 0 4px 0 var(--sun-d); }
.btn.go:hover { transform: translateY(-1px); }
.btn small { display: block; font-family: var(--body); font-size: 11px; font-weight: 600; opacity: .75; letter-spacing: 0; line-height: 1.1; }
.btn .t { display: flex; flex-direction: column; align-items: flex-start; line-height: 1.15; }
.btn svg { width: 22px; height: 22px; flex: none; }
.btns { display: flex; flex-wrap: wrap; gap: 12px; }

/* sidhuvud */
header.top { position: sticky; top: 0; z-index: 20; background: rgba(12, 18, 38, .88); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); border-bottom: 1px solid rgba(43, 55, 105, .6); }
header.top .wrap { display: flex; align-items: center; justify-content: space-between; gap: 16px; height: 64px; }
.logo { display: inline-flex; align-items: center; gap: 10px; color: var(--ink); text-decoration: none; font-family: var(--display); font-weight: 700; font-size: 22px; }
.logo svg { width: 42px; height: 26px; }
nav.main { display: flex; align-items: center; gap: 22px; }
nav.main a { color: var(--mut); text-decoration: none; font-weight: 600; font-size: 15px; }
nav.main a:hover { color: var(--ink); }
nav.main .btn { padding: 8px 14px; font-size: 14px; color: var(--on-sun); box-shadow: 0 3px 0 var(--sun-d); }
@media (max-width: 860px) { nav.main a:not(.btn) { display: none; } }

/* hero */
.hero { padding: 56px 0 0; overflow: hidden; background:
  radial-gradient(1200px 500px at 85% 10%, rgba(29, 85, 201, .35), transparent 60%),
  radial-gradient(800px 400px at 0% 100%, rgba(255, 176, 32, .10), transparent 60%), var(--bg); }
.hero .wrap { display: grid; grid-template-columns: 1.15fr .85fr; gap: 40px; align-items: center; }
.hero h1 .y { color: var(--sun); }
.hero .lead { margin: 18px 0 28px; max-width: 560px; }
.hero .fine { margin-top: 16px; font-size: 15px; color: var(--mut); }
.hero .fine b { color: var(--ink); }
.facts { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 30px; }
.fact { background: var(--card); border: 1px solid var(--line); border-radius: 99px; padding: 7px 14px; font-weight: 700; font-size: 14px; }
.fact b { font-family: var(--display); color: var(--sun); }
.phone-stage { position: relative; display: flex; justify-content: center; padding-bottom: 40px; }
.phone-stage::before { content: ""; position: absolute; width: 380px; height: 380px; border-radius: 50%; background: radial-gradient(circle, rgba(255, 176, 32, .28), transparent 65%); top: 18%; }
.heroroad { height: 120px; margin-top: -10px; display: block; width: 100%; }

/* telefonram */
.phone { position: relative; width: 290px; max-width: 78vw; border-radius: 44px; padding: 10px; background: #050816; border: 1px solid #36427A; box-shadow: 0 30px 80px rgba(0, 0, 0, .55), inset 0 0 0 2px #1b2346; }
.phone img { border-radius: 34px; width: 100%; height: auto; }
.phone.sm { width: 240px; border-radius: 38px; }
.phone.sm img { border-radius: 29px; }
.phones { display: flex; gap: 24px; justify-content: center; flex-wrap: wrap; }
.phones figure { margin: 0; display: flex; flex-direction: column; align-items: center; gap: 14px; }
.phones figcaption { font-size: 14px; color: var(--mut); text-align: center; max-width: 240px; }

/* två kolumner */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
.split.rev > :first-child { order: 2; }
@media (max-width: 860px) {
  .hero .wrap, .split { grid-template-columns: 1fr; gap: 40px; }
  .split.rev > :first-child { order: 0; }
  section { padding: 64px 0; }
}

/* berättelsen */
.story-img { border-radius: 20px; border: 1px solid var(--line); aspect-ratio: 16 / 10; object-fit: cover; width: 100%; box-shadow: 0 20px 60px rgba(0, 0, 0, .4); }
.story p { color: #D3DAF5; }
.sig { font-family: var(--display); font-weight: 700; color: var(--ink); margin-top: 22px; }
.sig span { display: block; font-family: var(--body); font-weight: 500; color: var(--mut); font-size: 15px; }

/* resetimmen */
.hour { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 8px; margin: 34px 0 14px; }
.seg { border-radius: 14px; padding: 18px 16px; min-height: 130px; display: flex; flex-direction: column; justify-content: space-between; border: 1px solid var(--line); background: var(--card); }
.seg .min { font-family: var(--display); font-weight: 700; font-size: 38px; line-height: 1; }
.seg .min small { font-size: 16px; color: var(--mut); margin-left: 4px; }
.seg b { font-size: 16px; } .seg span { display: block; font-size: 14px; color: var(--mut); line-height: 1.4; }
.seg.math { background: var(--sun); border-color: var(--sun); color: var(--on-sun); }
.seg.math .min small, .seg.math span { color: #4a3300; }
.seg.off { background: var(--ok-bg); border-color: var(--ok); }
.seg.off .min { color: var(--ok); }
.clock { display: flex; justify-content: space-between; font-size: 13px; color: var(--mut); font-variant-numeric: tabular-nums; padding: 0 2px; }
@media (max-width: 620px) { .hour { grid-template-columns: 1fr; } .seg { min-height: 0; flex-direction: row; align-items: center; gap: 16px; } .clock { display: none; } }

/* så fungerar det */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; margin-top: 40px; }
.step { background: var(--card); border: 1px solid var(--line); border-radius: 20px; padding: 22px; }
.step img { width: 88px; height: 88px; border-radius: 22px; margin-bottom: 16px; }
.step .n { font-family: var(--display); color: var(--sun); font-weight: 700; font-size: 14px; letter-spacing: 1px; }
.step p { color: var(--mut); margin: 0; font-size: 16px; }
@media (max-width: 860px) { .steps { grid-template-columns: 1fr; } }

/* resan: 50 stopp */
.road-strip { margin-top: 36px; position: relative; }
.stops { display: grid; grid-auto-flow: column; grid-auto-columns: 260px; gap: 16px; overflow-x: auto; scroll-snap-type: x mandatory; padding: 4px 20px 26px; scrollbar-width: thin; scrollbar-color: var(--line) transparent; }
.stop { scroll-snap-align: start; background: var(--card); border: 1px solid var(--line); border-radius: 18px; overflow: hidden; }
.stop img { aspect-ratio: 16 / 9; object-fit: cover; width: 100%; }
.stop .b { padding: 12px 14px 16px; }
.stop .km { font-size: 12px; color: var(--mut); font-weight: 700; letter-spacing: .5px; font-variant-numeric: tabular-nums; float: right; margin-top: 3px; }
.stop p { margin: 8px 0 0; font-size: 15px; color: #D3DAF5; line-height: 1.4; }
.roadline { height: 10px; margin: 0 20px; border-radius: 99px; background: #060A18; border: 1px solid var(--line); position: relative; overflow: hidden; }
.roadline i { position: absolute; inset: 0; background: repeating-linear-gradient(90deg, var(--sun) 0 14px, transparent 14px 22px); opacity: .9; }
.strip-hint { text-align: center; color: var(--mut); font-size: 14px; margin-top: 12px; }

/* räkna på det */
.calcs { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; margin-top: 36px; }
.calc { background: var(--card); border: 1px solid var(--line); border-radius: 20px; overflow: hidden; display: flex; flex-direction: column; }
.calc img { aspect-ratio: 16 / 9; object-fit: cover; width: 100%; }
.calc .b { padding: 16px 18px 20px; display: flex; flex-direction: column; align-items: flex-start; gap: 12px; flex: 1; }
.calc .q { align-self: stretch; }
.calc .q { background: var(--card2); border-left: 3px solid var(--sun); border-radius: 4px 12px 12px 4px; padding: 12px 14px; font-size: 16px; flex: 1; }
.calc .q b { display: block; font-size: 11px; letter-spacing: 1px; text-transform: uppercase; color: var(--sun); margin-bottom: 4px; }
.calc details summary { display: inline-block; cursor: pointer; list-style: none; font-size: 14px; font-weight: 700; color: var(--on-sun); background: var(--sun); padding: 7px 16px; border-radius: 99px; font-family: var(--display); }
.calc details summary::-webkit-details-marker { display: none; }
.calc details[open] summary { background: var(--card2); color: var(--mut); }
.calc details p { margin: 10px 0 0; font-family: var(--display); font-weight: 700; font-size: 22px; color: var(--ok); }
@media (max-width: 860px) { .calcs { grid-template-columns: 1fr; } }

/* vad barnet lär sig */
.chips { display: flex; flex-wrap: wrap; gap: 8px; margin: 22px 0 28px; }
.chip { font-size: 14px; font-weight: 700; padding: 6px 12px; border-radius: 99px; color: var(--c, var(--sun)); background: color-mix(in srgb, var(--c, var(--sun)) 15%, transparent); border: 1px solid color-mix(in srgb, var(--c, var(--sun)) 35%, transparent); }
.feats { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.feat { background: var(--card); border: 1px solid var(--line); border-radius: 16px; padding: 16px; }
.feat b { display: block; font-family: var(--display); font-size: 17px; margin-bottom: 2px; }
.feat span { font-size: 15px; color: var(--mut); line-height: 1.45; display: block; }
@media (max-width: 560px) { .feats { grid-template-columns: 1fr; } }

/* förälder */
.proof { display: flex; gap: 16px; align-items: center; background: var(--ok-bg); border: 1px solid var(--ok); border-radius: 16px; padding: 16px 18px; margin: 22px 0; }
.proof img { width: 64px; height: 64px; border-radius: 16px; flex: none; }
.proof b { color: var(--ok); font-family: var(--display); font-size: 18px; display: block; }
.proof span { font-size: 15px; color: #B6F5DC; }
.goals { display: flex; gap: 8px; margin: 6px 0 20px; }
.goals span { font-family: var(--display); font-weight: 700; padding: 8px 16px; border-radius: 12px; background: var(--card2); border: 1px solid var(--line); }
.goals span.on { background: var(--sun); color: var(--on-sun); border-color: var(--sun); }

/* tryggt */
.safe { display: grid; grid-template-columns: repeat(5, 1fr); gap: 14px; margin-top: 36px; }
.safe div { background: var(--card); border: 1px solid var(--line); border-radius: 18px; padding: 20px 16px; text-align: center; }
.safe svg { width: 34px; height: 34px; color: var(--sun); margin: 0 auto 10px; display: block; }
.safe b { display: block; font-family: var(--display); font-size: 17px; line-height: 1.25; }
.safe span { display: block; font-size: 14px; color: var(--mut); margin-top: 4px; line-height: 1.4; }
@media (max-width: 960px) { .safe { grid-template-columns: repeat(2, 1fr); } }

/* pris */
.price { max-width: 620px; margin: 36px auto 0; background: linear-gradient(180deg, var(--card2), var(--card)); border: 2px solid var(--sun); border-radius: 26px; padding: 34px 30px; text-align: center; box-shadow: 0 0 0 6px rgba(255, 176, 32, .1); }
.price .amount { font-family: var(--display); font-size: 72px; font-weight: 700; line-height: 1; color: var(--sun); }
.price .amount small { font-size: 26px; color: var(--mut); }
.price .tag { display: inline-block; font-size: 12px; font-weight: 700; letter-spacing: 1px; text-transform: uppercase; background: var(--sun); color: var(--on-sun); border-radius: 99px; padding: 4px 12px; margin-bottom: 14px; }
.price ul { list-style: none; padding: 0; margin: 22px 0 26px; display: grid; gap: 8px; text-align: left; max-width: 380px; margin-left: auto; margin-right: auto; }
.price li { display: flex; gap: 10px; align-items: baseline; }
.price li::before { content: "✓"; color: var(--ok); font-weight: 700; }
.price .btns { justify-content: center; }

/* frågor */
.faq { max-width: 780px; margin: 30px auto 0; }
.faq details { background: var(--card); border: 1px solid var(--line); border-radius: 16px; padding: 16px 20px; margin: 10px 0; }
.faq summary { cursor: pointer; font-weight: 700; font-family: var(--display); font-size: 18px; list-style: none; display: flex; justify-content: space-between; gap: 12px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; color: var(--sun); font-size: 22px; line-height: 1; }
.faq details[open] summary::after { content: "−"; }
.faq details p { margin: 10px 0 0; color: var(--mut); }

/* avslutning */
.final { text-align: center; padding: 100px 0 90px; background:
  linear-gradient(180deg, rgba(12, 18, 38, .55), rgba(12, 18, 38, .78) 55%, var(--bg) 96%), url(s49.jpg) center / cover no-repeat; }
.final h2 { font-size: clamp(34px, 5vw, 52px); }
.final .btns { justify-content: center; margin-top: 26px; }

/* sidfot */
footer { background: #080D1E; border-top: 1px solid var(--line); padding: 34px 0; font-size: 15px; color: var(--mut); }
footer .wrap { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 16px; align-items: center; }
footer a { color: var(--ink); text-decoration: none; font-weight: 600; margin-left: 18px; }
footer a:first-child { margin-left: 0; }

/* textsidor (support och integritet) */
.page { background: var(--card); border: 1px solid var(--line); border-radius: 24px; padding: 40px clamp(20px, 5vw, 56px); margin: 40px auto 70px; max-width: 840px; }
.page h1 { font-size: clamp(34px, 5vw, 48px); margin-bottom: 8px; }
.page h2 { font-size: 28px; margin: 40px 0 8px; }
.page h3 { font-size: 19px; margin: 26px 0 4px; }
.page p, .page li { color: #D3DAF5; }
.page ul { padding-left: 22px; }
.page .date { color: var(--mut); }
.page .faq { margin: 20px 0 0; }
.page .faq details { background: var(--card2); }
.contact { background: var(--card2); border: 1px solid var(--line); border-radius: 18px; padding: 24px; text-align: center; margin-top: 28px; }
.contact a { font-family: var(--display); font-size: 22px; font-weight: 700; }
.langs a { font-weight: 700; margin-right: 16px; }

@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

/* urval av stopp */
.stops.five { grid-auto-flow: row; grid-template-columns: repeat(3, minmax(0, 1fr)); grid-auto-columns: auto; overflow: visible; max-width: 1120px; margin: 0 auto; padding: 4px 20px 0; }
.stop.more { display: flex; align-items: center; background: linear-gradient(160deg, var(--card2), var(--card)); border-style: dashed; }
.stop.more .big { font-family: var(--display); font-weight: 700; font-size: 34px; color: var(--sun); margin: 10px 0 0; line-height: 1.1; }
@media (max-width: 860px) { .stops.five { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 560px) { .stops.five { grid-template-columns: 1fr; } }
