/* RouteGo — website tokens mirror lib/app/theme (RouteGoColors, RouteGoRadii). */
:root{
  --bg:#060C17; --surface:#0D1830; --surface2:#122142; --outline:rgba(140,175,235,.16);
  --ink:#EEF3FB; --mute:#8B9BB7; --brand:#2F72CA; --brand-deep:#1A55B8; --glow:#4C8DFF;
  --success:#3CCB9A; --danger:#FF5C6C; --shadow:rgba(0,0,0,.45); --contour:rgba(76,141,255,.10);
  --display:"Sora",system-ui,sans-serif; --ui:"Manrope",system-ui,sans-serif;
  --r-sheet:30px; --r-card:20px; --r-button:16px; --r-input:14px; --r-pill:999px;
  color-scheme:dark;
}
@media (prefers-color-scheme: light){
  :root{
    --bg:#F2F5FA; --surface:#FFFFFF; --surface2:#E8EEF7; --outline:rgba(10,26,51,.10);
    --ink:#0A1A33; --mute:#5B6B86; --brand:#1A55B8; --brand-deep:#123F8C; --glow:#2F72CA;
    --success:#18986B; --danger:#D93548; --shadow:rgba(10,26,51,.14); --contour:rgba(26,85,184,.08);
    color-scheme:light;
  }
}
*{box-sizing:border-box}
html{-webkit-text-size-adjust:100%}
body{margin:0;background:var(--bg);color:var(--ink);font-family:var(--ui);font-size:16px;line-height:1.55;-webkit-font-smoothing:antialiased;min-height:100dvh;display:flex;flex-direction:column}
a{color:var(--brand)}
a:focus-visible,button:focus-visible{outline:2px solid var(--glow);outline-offset:3px;border-radius:6px}
h1,h2,h3{font-family:var(--display);letter-spacing:-.02em;line-height:1.15;margin:0}
h1{font-weight:700;font-size:clamp(30px,5.5vw,44px)}
h2{font-weight:600;font-size:clamp(20px,3vw,24px)}
h3{font-weight:600;font-size:17px}
p{margin:0}
.num{font-family:var(--display);font-weight:600;font-variant-numeric:tabular-nums;letter-spacing:-.02em}

/* Shell */
.wrap{width:100%;max-width:960px;margin:0 auto;padding:0 20px}
.wrap.narrow{max-width:720px}
header.top{padding:18px 0}
header.top .wrap{display:flex;align-items:center;justify-content:space-between;gap:16px}
.brand{display:inline-flex;align-items:center;gap:10px;text-decoration:none;color:var(--ink)}
.brand img{width:34px;height:34px;border-radius:10px;display:block}
.brand b{font-family:var(--display);font-weight:700;font-size:21px;letter-spacing:-.03em}
.brand b span{color:var(--brand)}
nav.links{display:flex;gap:6px;flex-wrap:wrap;justify-content:flex-end}
nav.links a{color:var(--mute);text-decoration:none;font-weight:600;font-size:14px;padding:8px 10px;border-radius:10px}
nav.links a:hover,nav.links a[aria-current]{color:var(--ink);background:var(--surface)}
main{flex:1}
footer{border-top:1px solid var(--outline);margin-top:56px;padding:24px 0 36px;color:var(--mute);font-size:13.5px}
footer .wrap{display:flex;flex-wrap:wrap;gap:8px 20px;justify-content:space-between;align-items:center}
footer a{color:var(--mute);text-decoration:none}
footer a:hover{color:var(--ink)}

/* Hero (home) */
.hero{position:relative;overflow:hidden;border-radius:var(--r-sheet);background:linear-gradient(120deg,#2F72CA 0%,#1A55B8 55%,#0E3A86 100%);color:#fff;box-shadow:0 18px 44px rgba(26,85,184,.35);margin-top:8px}
.hero .grid{position:relative;display:grid;grid-template-columns:1.15fr .85fr;gap:24px;align-items:end;padding:44px 40px 0}
.hero h1{font-size:clamp(34px,6vw,58px);letter-spacing:-.035em;line-height:1.02}
.hero p.lead{font-size:clamp(16px,2vw,19px);opacity:.92;max-width:34ch;margin-top:14px;line-height:1.5}
.hero .cta{display:flex;gap:12px;flex-wrap:wrap;margin:26px 0 40px}
.hero .shot{align-self:end;justify-self:center;width:min(300px,80%);margin-bottom:-14%;filter:drop-shadow(0 24px 40px rgba(0,0,0,.45))}
.hero .shot img{width:100%;height:auto;display:block}
.contours{position:absolute;inset:0;pointer-events:none}
@media (max-width:760px){
  .hero .grid{grid-template-columns:1fr;padding:32px 24px 0}
  .hero .shot{width:min(260px,70%);margin-bottom:-18%}
}

/* Buttons — PrimaryButton / SecondaryButton */
.btn{display:inline-flex;align-items:center;justify-content:center;gap:10px;min-height:54px;padding:0 22px;border-radius:var(--r-button);font-family:var(--ui);font-weight:700;font-size:16px;text-decoration:none;border:0;cursor:pointer;transition:transform .15s ease,box-shadow .15s ease}
.btn:active{transform:translateY(1px)}
.btn.primary{background:linear-gradient(135deg,var(--glow),var(--brand-deep));color:#fff;box-shadow:0 10px 24px rgba(26,85,184,.35)}
.btn.secondary{background:var(--surface);color:var(--ink);border:1px solid var(--outline);min-height:52px}
.hero .btn.secondary{background:rgba(255,255,255,.14);color:#fff;border-color:rgba(255,255,255,.28);backdrop-filter:blur(8px)}
.btn svg{width:20px;height:20px;flex:none}
.btn.soon{opacity:.62;cursor:default;pointer-events:none}

/* Cards & sections */
section.block{margin-top:52px}
.section-head{display:flex;align-items:baseline;justify-content:space-between;gap:12px;margin-bottom:14px}
.section-head small{color:var(--mute);font-size:14px}
.cards{display:grid;grid-template-columns:repeat(auto-fit,minmax(240px,1fr));gap:12px}
.card{background:var(--surface);border:1px solid var(--outline);border-radius:var(--r-card);padding:20px 20px 22px}
.card .icon{width:44px;height:44px;border-radius:12px;background:var(--surface2);display:grid;place-items:center;color:var(--brand);margin-bottom:14px}
.card .icon svg{width:22px;height:22px}
.card p{color:var(--mute);font-size:14.5px;margin-top:6px;line-height:1.5}
.stat{background:var(--surface);border:1px solid var(--outline);border-radius:var(--r-input);padding:16px 18px}
.stat .num{font-size:28px;line-height:1.1}
.stat .num small{font-family:var(--ui);font-weight:600;font-size:14px;color:var(--mute);margin-left:4px;letter-spacing:0}
.stat p{color:var(--mute);font-size:13.5px;margin-top:4px}
.free{display:flex;gap:14px;align-items:center;background:var(--surface);border:1px solid var(--outline);border-radius:var(--r-card);padding:18px 20px;margin-top:52px}
.free .dot{width:10px;height:10px;border-radius:50%;background:var(--success);flex:none;box-shadow:0 0 0 4px color-mix(in srgb,var(--success) 22%,transparent)}
.free p{color:var(--mute);font-size:14.5px}
.free b{color:var(--ink)}

/* Long-form pages (privacy, voorwaarden, support) */
.doc{padding-top:22px}
.doc header.page{padding:10px 0 26px;border-bottom:1px solid var(--outline);margin-bottom:28px}
.doc header.page p{color:var(--mute);margin-top:8px;font-size:15px}
.doc h2{margin:34px 0 10px}
.doc h3{margin:22px 0 6px;font-size:16px}
.doc p,.doc li{max-width:72ch}
.doc p{margin:0 0 12px}
.doc ul{padding-left:22px;margin:0 0 14px}
.doc li{margin:4px 0}
.doc table{border-collapse:collapse;width:100%;max-width:72ch;font-size:14.5px;margin:6px 0 18px}
.doc th,.doc td{text-align:left;padding:10px 12px;border-bottom:1px solid var(--outline);vertical-align:top}
.doc th{color:var(--mute);font-weight:600;font-size:13px}
.doc .note{background:var(--surface);border:1px solid var(--outline);border-radius:var(--r-input);padding:14px 16px;color:var(--mute);font-size:14.5px;margin:8px 0 18px}
.doc .note b{color:var(--ink)}
.doc code{font-family:ui-monospace,Menlo,Consolas,monospace;font-size:.92em;background:var(--surface2);padding:2px 6px;border-radius:6px}
.steps{list-style:none;padding:0;margin:0 0 18px;counter-reset:s}
.steps li{position:relative;padding:0 0 0 44px;margin:0 0 12px;counter-increment:s;max-width:72ch}
.steps li::before{content:counter(s);position:absolute;left:0;top:0;width:30px;height:30px;border-radius:10px;background:var(--surface2);color:var(--brand);font-family:var(--display);font-weight:600;display:grid;place-items:center;font-size:14px}

/* Invite page (mirrors the join screen) */
.invite{max-width:520px;margin:12px auto 0;padding:0 20px}
.invite .sheet{position:relative;overflow:hidden;background:var(--surface);border:1px solid var(--outline);border-radius:var(--r-sheet);box-shadow:0 24px 60px var(--shadow)}
.invite .route{height:150px;position:relative;background:linear-gradient(180deg,rgba(26,85,184,.18),transparent)}
.invite .route svg{position:absolute;inset:0;width:100%;height:100%}
.invite .body{padding:8px 24px 24px}
.invite .from{color:var(--mute);font-size:15px;margin-top:6px}
.invite .stats{display:grid;grid-template-columns:1fr 1fr;gap:10px;margin:22px 0 8px}
.invite .stat{background:var(--surface2);border:0}
.invite .stat .num{font-size:22px}
.invite .stat p{font-size:13px}
.invite .actions{display:grid;gap:10px;margin-top:22px}
.invite .actions .btn{width:100%}
.invite .hint{display:flex;gap:10px;align-items:flex-start;color:var(--mute);font-size:14px;margin-top:16px;line-height:1.45}
.invite .hint svg{width:18px;height:18px;flex:none;margin-top:2px}
.invite .code{margin-top:18px;background:var(--surface2);border-radius:var(--r-input);padding:12px 14px;font-size:13px;color:var(--mute);word-break:break-all}
.invite .code b{display:block;color:var(--ink);font-family:ui-monospace,Menlo,Consolas,monospace;font-size:14px;margin-top:2px}
.invite .stores{display:grid;grid-template-columns:1fr 1fr;gap:10px;margin-top:10px}
@media (max-width:420px){.invite .stores{grid-template-columns:1fr}}

@media (prefers-reduced-motion: reduce){*{transition:none!important;animation:none!important}}
