/* Tankpot site: same palette and type as the app. */
@font-face {
  font-family: "Tankpot Sans";
  src: url("fonts/tankpot-sans.woff2") format("woff2");
  font-weight: 100 900;
  font-display: swap;
}

:root {
  --teal: #00696E;
  --teal-deep: #004F53;
  --teal-light: #7FD3D8;
  --plate: #F7C600;
  --plate-ink: #1B1B12;
  --eu: #1F4FA0;
  --asphalt: #12292A;
  --coral: #FF7A5C;
  --mint: #EAF5F2;
  --bg: var(--mint);
  --card: #FFFFFF;
  --ink: #14201F;
  --muted: #3E4F4C;
  --line: #C0D3CE;
  --radius: 22px;
  color-scheme: light dark;
}
@media (prefers-color-scheme: dark) {
  :root {
    --bg: #0E1A1A;
    --card: #172727;
    --ink: #DDE8E5;
    --muted: #B9CBC7;
    --line: #2B3A38;
  }
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: "Tankpot Sans", system-ui, sans-serif;
  font-size: 18px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}
a { color: var(--teal); }
@media (prefers-color-scheme: dark) { a { color: var(--teal-light); } }
img, svg { display: block; }
.wrap { width: min(1120px, 100% - 32px); margin-inline: auto; }

/* ---------- header ---------- */
.top { padding: 18px 0; }
.top .wrap { display: flex; align-items: center; gap: 16px; }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; color: var(--ink); }
.brand img { width: 40px; height: 40px; border-radius: 12px; }
.brand span { font-size: 28px; font-weight: 900; letter-spacing: -0.02em; }
.top nav { margin-left: auto; display: flex; align-items: center; gap: 18px; font-weight: 700; font-size: 16px; }
.top nav a { text-decoration: none; color: var(--muted); }
.top nav a:hover { color: var(--ink); }
.lang {
  border: 2px solid var(--line); background: transparent; color: var(--ink);
  font: inherit; font-weight: 800; font-size: 14px; letter-spacing: 0.06em;
  padding: 6px 12px; border-radius: 999px; cursor: pointer;
}
@media (max-width: 640px) { .top nav .hide-sm { display: none; } }

/* ---------- hero ---------- */
.hero { padding: 40px 0 72px; overflow-x: clip; }
.hero .wrap { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 48px; align-items: center; }
@media (max-width: 880px) { .hero .wrap { grid-template-columns: 1fr; } }
.kicker {
  display: inline-flex; align-items: center; gap: 8px;
  font-weight: 800; font-size: 14px; letter-spacing: 0.08em; text-transform: uppercase; color: var(--teal);
}
@media (prefers-color-scheme: dark) { .kicker { color: var(--teal-light); } }
h1 {
  font-size: clamp(44px, 7vw, 84px); line-height: 0.98; letter-spacing: -0.035em;
  font-weight: 900; margin: 14px 0 20px;
}
h1 .road { color: var(--teal); }
@media (prefers-color-scheme: dark) { h1 .road { color: var(--plate); } }
.lead { font-size: 21px; color: var(--muted); max-width: 34ch; margin: 0 0 28px; }
.ctas { display: flex; flex-wrap: wrap; gap: 12px; }
.btn {
  display: inline-flex; align-items: center; gap: 10px; min-height: 52px; padding: 0 24px;
  border-radius: 999px; font-weight: 800; font-size: 17px; text-decoration: none; border: 0; cursor: pointer;
}
.btn.primary { background: var(--plate); color: var(--plate-ink); }
.btn.primary:hover { filter: brightness(1.05); }
.btn.ghost { background: transparent; color: var(--ink); box-shadow: inset 0 0 0 2px var(--line); }
.soon { font-size: 13px; font-weight: 700; color: var(--muted); margin-top: 12px; }

/* dashed road under the headline */
.lane { height: 10px; margin: 6px 0 26px; max-width: 360px;
  background: repeating-linear-gradient(90deg, var(--plate) 0 46px, transparent 46px 70px); border-radius: 3px; }

/* ---------- phone ---------- */
.phone {
  justify-self: center; width: min(360px, 100%); aspect-ratio: 9 / 18.5;
  background: #0b1414; border-radius: 46px; padding: 12px;
  box-shadow: 0 30px 60px -20px rgba(0, 60, 64, 0.45), inset 0 0 0 2px #22393a;
  transform: rotate(-3deg);
}
.screen {
  height: 100%; border-radius: 36px; background: #EAF5F2; color: #14201F; overflow: hidden;
  display: flex; flex-direction: column; gap: 12px; padding: 22px 16px; font-size: 15px;
}
.appbar { display: flex; align-items: center; justify-content: space-between; font-weight: 900; font-size: 22px; letter-spacing: -0.02em; }
.carchip { display: flex; align-items: center; gap: 10px; background: #fff; border-radius: 18px; padding: 10px 12px; }
.avatar { width: 38px; height: 38px; border-radius: 50%; background: #00897B; display: grid; place-items: center; }
.plate {
  display: inline-flex; align-items: stretch; border: 2px solid var(--plate-ink); border-radius: 6px;
  background: var(--plate); overflow: hidden; font-weight: 900; letter-spacing: 0.04em; color: var(--plate-ink);
}
.plate .eu { background: var(--eu); color: #fff; font-size: 9px; font-weight: 800; padding: 0 4px; display: flex; align-items: flex-end; padding-bottom: 2px; }
.plate .no { padding: 2px 8px 0; font-size: 15px; }
.row { background: #fff; border-radius: 18px; padding: 10px 14px; display: flex; justify-content: space-between; align-items: center; }
.row b { font-weight: 800; }
.label { color: #3E4F4C; font-size: 13px; font-weight: 700; }

/* the fuel-pump display, as in the app */
.pump {
  background: var(--asphalt); color: #fff; border-radius: 22px; padding: 16px 18px;
  box-shadow: inset 0 0 0 2px #1C3B3C;
}
.pump .lbl { font-size: 12px; font-weight: 800; letter-spacing: 0.12em; text-transform: uppercase; color: #9FC3C0; }
.digits {
  font-weight: 900; font-size: 44px; line-height: 1.05; color: var(--plate);
  font-feature-settings: "tnum"; letter-spacing: -0.01em;
}
.pump .sub { display: flex; gap: 14px; font-size: 13px; color: #CFE3E0; font-feature-settings: "tnum"; margin-top: 4px; flex-wrap: wrap; }
.ask { margin-top: 12px; width: 100%; background: var(--plate); color: var(--plate-ink); border-radius: 999px; padding: 11px; text-align: center; font-weight: 800; }

/* ---------- sections ---------- */
section { padding: 72px 0; }
h2 { font-size: clamp(32px, 4.6vw, 52px); line-height: 1.05; letter-spacing: -0.03em; font-weight: 900; margin: 0 0 14px; }
.intro { color: var(--muted); max-width: 52ch; margin: 0 0 36px; font-size: 19px; }

/* calculator */
.calc { background: var(--teal); color: #fff; border-radius: 0; }
.calc h2 { color: #fff; }
.calc .intro { color: #CDEBE8; }
.calc-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 32px; align-items: start; }
@media (max-width: 880px) { .calc-grid { grid-template-columns: 1fr; } }
.controls { display: grid; gap: 18px; background: rgba(255, 255, 255, 0.08); border-radius: var(--radius); padding: 24px; }
.field label { display: flex; justify-content: space-between; font-weight: 800; font-size: 16px; margin-bottom: 8px; }
.field output { color: var(--plate); font-feature-settings: "tnum"; }
input[type="range"] { width: 100%; accent-color: var(--plate); height: 28px; }
.seg { display: grid; grid-template-columns: 1fr 1fr; background: rgba(0, 0, 0, 0.18); border-radius: 999px; padding: 4px; }
.seg button {
  font: inherit; font-weight: 800; font-size: 15px; border: 0; border-radius: 999px; padding: 10px 8px;
  background: transparent; color: #DDEFEC; cursor: pointer; min-height: 44px;
}
.seg button[aria-pressed="true"] { background: #fff; color: var(--teal-deep); }
.result { display: grid; gap: 16px; }
.result .pump { padding: 24px; }
.result .digits { font-size: clamp(54px, 8vw, 76px); }
.people { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 14px; }
.person { display: flex; align-items: center; gap: 8px; background: rgba(255, 255, 255, 0.08); padding: 6px 12px 6px 6px; border-radius: 999px; font-weight: 800; font-size: 15px; font-feature-settings: "tnum"; }
.person i { width: 26px; height: 26px; border-radius: 50%; display: block; }
.bubble {
  background: #DCF8C6; color: #14201F; border-radius: 18px 18px 18px 4px; padding: 14px 16px;
  font-size: 15px; line-height: 1.45; max-width: 420px; box-shadow: 0 6px 18px -8px rgba(0, 0, 0, 0.35);
}
.bubble em { color: #3E4F4C; }
.note { font-size: 13px; color: #CDEBE8; }

/* steps */
.steps { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; counter-reset: s; }
@media (max-width: 960px) { .steps { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 560px) { .steps { grid-template-columns: 1fr; } }
.step { background: var(--card); border-radius: var(--radius); padding: 22px; position: relative; }
.step::before {
  counter-increment: s; content: counter(s);
  display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%;
  background: var(--plate); color: var(--plate-ink); font-weight: 900; font-size: 20px; margin-bottom: 14px;
}
.step h3 { margin: 0 0 6px; font-size: 21px; font-weight: 800; letter-spacing: -0.01em; }
.step p { margin: 0; color: var(--muted); font-size: 16px; }

/* features */
.features { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
@media (max-width: 880px) { .features { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 560px) { .features { grid-template-columns: 1fr; } }
.feature { background: var(--card); border-radius: var(--radius); padding: 22px; display: flex; gap: 14px; }
.feature svg { flex: none; width: 40px; height: 40px; color: var(--teal); }
@media (prefers-color-scheme: dark) { .feature svg { color: var(--teal-light); } }
.feature h3 { margin: 0 0 4px; font-size: 19px; font-weight: 800; }
.feature p { margin: 0; color: var(--muted); font-size: 16px; }

/* closing band */
.band { background: var(--asphalt); color: #fff; text-align: center; }
.band h2 { color: #fff; }
.band .lane { margin: 0 auto 28px; }
.band p { color: #CFE3E0; margin: 0 auto 28px; max-width: 46ch; }

/* footer */
footer { padding: 36px 0 48px; color: var(--muted); font-size: 15px; }
footer .wrap { display: flex; flex-wrap: wrap; gap: 12px 24px; align-items: center; }
footer .sp { margin-left: auto; }

/* privacy page */
.doc { max-width: 760px; padding: 24px 0 64px; }
.doc h1 { font-size: clamp(40px, 6vw, 60px); }
.doc h2 { font-size: 26px; margin-top: 36px; }
.doc p, .doc li { color: var(--muted); }
.doc .summary { background: var(--card); border-radius: var(--radius); padding: 20px 24px; color: var(--ink); font-weight: 600; }

[hidden] { display: none !important; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } .phone { transform: none; } }

/* language: Dutch by default, English when <html class="lang-en"> */
.en, .fr, .de { display: none; }
html[data-lang="en"] .nl, html[data-lang="fr"] .nl, html[data-lang="de"] .nl { display: none; }
html[data-lang="en"] .en, html[data-lang="fr"] .fr, html[data-lang="de"] .de { display: revert; }


/* beta sign-up */
.signup { display: grid; gap: 10px; max-width: 34em; margin: 0 auto; text-align: left; }
.signup .field { display: flex; flex-wrap: wrap; gap: 10px; }
.signup input[type=email] {
  flex: 1 1 15em; min-width: 0; min-height: 52px; font: 600 17px "Tankpot Sans", system-ui, sans-serif;
  color: #14201F; background: #fff; border: 2px solid transparent; border-radius: 999px; padding: 0 22px; outline: none;
}
.signup input[type=email]:focus { border-color: var(--plate); }
.signup button[disabled] { opacity: .6; cursor: default; }
.signup .trap { position: absolute; left: -9999px; }
.signup .hint { font-size: 14px; color: #9FC3C0; padding-left: 6px; }
.signup .state { margin: 4px 0 0; font-weight: 700; background: rgba(255,255,255,.1); border-radius: 16px; padding: 12px 16px; color: #fff; }
.signup .state.err { background: rgba(255,122,92,.25); }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* ---------- hero stage: real app screenshot in a phone ---------- */
.stage { position: relative; justify-self: center; width: min(340px, 100%); }
.phone { width: 100%; }
.screen.shot { padding: 0; display: block; position: relative; }
.screen.shot img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 0%;
  animation: scrollshot 14s ease-in-out infinite; }
@keyframes scrollshot { 0%, 15% { object-position: 50% 0%; } 45%, 75% { object-position: 50% 100%; } 95%, 100% { object-position: 50% 0%; } }
.float { position: absolute; background: var(--card); color: var(--ink); border-radius: 18px; padding: 10px 14px;
  font-weight: 800; font-size: 15px; box-shadow: 0 14px 30px -12px rgba(0, 40, 42, .45); white-space: nowrap; animation: bob 5s ease-in-out infinite; }
.float.f1 { top: -3%; right: -10%; background: #DCF8C6; color: #14201F; border-radius: 18px 18px 18px 4px; }
.float.f2 { top: 46%; right: -16%; animation-delay: -2s; background: var(--plate); color: var(--plate-ink); }
.float.f3 { bottom: 4%; left: -16%; animation-delay: -3.5s; }
@keyframes bob { 50% { transform: translateY(-8px) rotate(-1deg); } }
@media (max-width: 560px) { .float.f1 { right: -4px; } .float.f2 { right: -8px; } .float.f3 { left: -4px; } .float { font-size: 13px; } }

/* ---------- ticker ---------- */
.ticker { background: var(--plate); color: var(--plate-ink); overflow: hidden; padding: 14px 0; font-weight: 800; font-size: 17px; transform: rotate(-1.2deg); margin: 0 -10px; }
.ticker .track { display: flex; gap: 42px; width: max-content; animation: tick 40s linear infinite; }
.ticker .track > span { white-space: nowrap; }

@keyframes tick { to { transform: translateX(-50%); } }

/* ---------- pain ---------- */
.pain .wrap { display: grid; justify-items: center; text-align: center; }
.pain .intro { margin: 28px auto 0; text-align: center; font-size: 21px; color: var(--ink); font-weight: 600; }
.chat { display: grid; gap: 10px; width: min(440px, 100%); }
.msg { margin: 0; padding: 10px 14px; border-radius: 18px; max-width: 80%; font-size: 17px; text-align: left; }
.msg.them { background: var(--card); justify-self: start; border-bottom-left-radius: 4px; }
.msg.me { background: #DCF8C6; color: #14201F; justify-self: end; border-bottom-right-radius: 4px; }

/* ---------- benefits ---------- */
.benefit { padding: 56px 0; }
.benefit .wrap { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
.benefit.flip .art { order: 2; }
@media (max-width: 880px) { .benefit .wrap { grid-template-columns: 1fr; gap: 28px; } .benefit.flip .art { order: 0; } }
.benefit h2 { font-size: clamp(30px, 4vw, 46px); }
.benefit p { color: var(--muted); margin: 0 0 12px; }
.benefit p b { color: var(--ink); }
.benefit .small { font-size: 16px; }
.tag { display: inline-block; background: var(--card); border-radius: 999px; padding: 6px 14px; font-weight: 800; font-size: 14px; margin-bottom: 14px; }
.art { background: var(--teal); border-radius: 32px; padding: 28px; color: #fff; display: grid; gap: 12px; transform: rotate(1.2deg); box-shadow: 0 24px 50px -24px rgba(0, 60, 64, .55); }
.benefit.flip .art { transform: rotate(-1.2deg); }
.trip { display: flex; align-items: center; gap: 12px; background: #fff; color: #14201F; border-radius: 18px; padding: 12px 14px; }
.trip i { width: 12px; height: 12px; border-radius: 50%; background: var(--teal); box-shadow: 0 0 0 4px #B8EEEA; flex: none; }
.trip b { display: block; font-size: 15px; }
.trip small { color: #3E4F4C; font-size: 13px; }
.trip .tick { margin-left: auto; width: 26px; height: 26px; border-radius: 8px; background: var(--teal); color: #fff; display: grid; place-items: center; font-weight: 900; }
.sum { background: var(--plate); color: var(--plate-ink); border-radius: 999px; padding: 10px 16px; font-weight: 700; justify-self: start; }
.art.price { background: var(--asphalt); }
.pumpcard .lbl { font-size: 12px; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; color: #9FC3C0; }
.pumpcard .digits { color: var(--plate); }
.pumpcard .src { color: #CFE3E0; font-size: 14px; }
.flags { font-size: 26px; line-height: 1.4; letter-spacing: 4px; }
.flags span { font-size: 15px; font-weight: 800; color: #9FC3C0; letter-spacing: 0; }
.art.pay { background: var(--teal-deep); }
.art .bubble { max-width: none; }
.art .bubble u { color: #00696E; }
.paybtns { display: flex; flex-wrap: wrap; gap: 8px; }
.pb { background: rgba(255,255,255,.14); border-radius: 14px; padding: 10px 14px; font-weight: 800; font-size: 15px; }
.pb.y { background: var(--plate); color: var(--plate-ink); flex: 1 0 100%; text-align: center; padding: 13px; }
.art.garage { background: var(--card); color: var(--ink); }
.car { display: flex; align-items: center; gap: 12px; padding: 10px 12px; border-radius: 999px; }
.car.sel { background: #FFE07A; color: #261A00; }
.car .emo { width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; font-size: 22px; flex: none; }
.car small { margin-left: auto; color: var(--muted); font-size: 14px; font-weight: 700; }
.car.sel small { color: #261A00; }
.np { display: inline-flex; align-items: stretch; background: var(--plate); color: var(--plate-ink); border: 2px solid #1B1B12; border-radius: 6px;
  font-weight: 900; letter-spacing: .06em; font-size: 17px; overflow: hidden; padding-right: 10px; }
.np i { font-style: normal; background: var(--eu); color: #fff; font-size: 10px; padding: 0 5px; margin-right: 8px; display: flex; align-items: flex-end; padding-bottom: 2px; }
.feature .fe { font-size: 34px; line-height: 1; }
.field .ends { display: flex; justify-content: space-between; font-size: 13px; color: #CDEBE8; margin-top: 4px; }
.calc .field.nl, .calc .field.en { display: block; }
@media (prefers-reduced-motion: reduce) { .screen.shot img, .float, .ticker .track { animation: none; } }
main { overflow-x: clip; }
.np { white-space: nowrap; }
.paylink { display: inline-block; text-decoration: underline; color: #00696E; font-weight: 700; transition: transform .26s ease, opacity .26s ease, filter .26s ease; }
.flabel { display: block; font-weight: 800; font-size: 16px; margin-bottom: 8px; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chips button { font: inherit; font-weight: 800; font-size: 15px; border: 0; border-radius: 999px; padding: 8px 14px; cursor: pointer;
  background: rgba(0,0,0,.18); color: #fff; }
.chips button[aria-pressed="true"] { background: var(--plate); color: var(--plate-ink); }
.chips.small { margin-top: 6px; }
.chips.small button { font-size: 13px; padding: 5px 11px; }
input[type="range"] { touch-action: pan-y; }
.vs { display: grid; grid-template-columns: 1fr auto 1fr; gap: 24px; width: 100%; max-width: 1040px; text-align: left; margin-top: 12px; align-items: start; }
.side { border-radius: 28px; padding: 0 18px 20px; overflow: hidden; }
.side.bad { background: var(--card); border: 3px dashed #E8A397; }
.side.bad .msg { opacity: .85; }
.side.good { background: var(--teal); border: 3px solid var(--plate); box-shadow: 0 24px 50px -24px rgba(0, 60, 64, .6); }
.side.good .msg.them { background: #fff; color: #14201F; }
.side-head { display: flex; align-items: center; gap: 10px; margin: 0 -18px 16px; padding: 14px 18px; font-weight: 900; font-size: 22px; letter-spacing: -.01em; }
.side.bad .side-head { background: #FFDAD1; color: #3D0600; }
.side.good .side-head { background: var(--plate); color: var(--plate-ink); }
.side-head .face { font-size: 28px; line-height: 1; }
.side.bad .msg.them { background: var(--bg); }
.arrow { align-self: center; font-size: 44px; font-weight: 900; color: var(--plate); }
@media (max-width: 760px) { .vs { grid-template-columns: 1fr; gap: 12px; } .arrow { justify-self: center; transform: rotate(90deg); } }
.msg b { white-space: nowrap; }

/* ---------- language picker ---------- */
.langpick { position: relative; }
.lang { display: inline-flex; align-items: center; gap: 6px; }
.langmenu { position: absolute; right: 0; top: calc(100% + 8px); margin: 0; padding: 6px; list-style: none; background: var(--card);
  border-radius: 16px; box-shadow: 0 18px 40px -16px rgba(0, 40, 42, .45); z-index: 20; min-width: 170px; }
.langmenu button { display: block; width: 100%; text-align: left; font: inherit; font-weight: 700; font-size: 16px; color: var(--ink);
  background: none; border: 0; border-radius: 10px; padding: 9px 12px; cursor: pointer; }
.langmenu button:hover, .langmenu button[aria-current="true"] { background: var(--bg); }
html[data-lang="nl"] .nl.en { display: revert; }
.langmenu .code { display: inline-block; width: 2em; font-size: 12px; font-weight: 900; letter-spacing: .04em; color: var(--muted); }
