/* Lekkertanken website. Colours and shapes follow the app: a cool white,
   petrol, the gold of the drop, and rounded type. */

@font-face {
  font-family: "Nunito";
  src: url("/assets/fonts/nunito-latin-wght-normal.woff2?76388dbf") format("woff2");
  font-weight: 200 1000;
  font-display: swap;
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Nunito";
  src: url("/assets/fonts/nunito-latin-ext-wght-normal.woff2?4fcdc09b") format("woff2");
  font-weight: 200 1000;
  font-display: swap;
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+1E00-1EFF, U+201E;
}

:root {
  --paper: #f5f8f7;
  --card: #ffffff;
  --ink: #14282b;
  --ink-soft: #5a6d6e;
  --ink-body: #37494b;
  --brand: #0e6b6b;
  --brand-deep: #0a5557;
  /* Petrol as text: on white the deep one reads, on a dark page a lighter one does. */
  --brand-ink: #0e6b6b;
  --gold: #d98200;
  --cheap: #16824a;
  --line: #dce5e3;
  /* The petrol band and the foot of the page. */
  --band: linear-gradient(135deg, #14857f, #0e6b6b 45%, #083f48);
  --foot: #071416;
  /* The case of a phone, a picture not yet loaded. */
  --frame: #14282b;
  --frame-ring: transparent;
  --blank: #e8efed;
  --shadow: 20 40 43;
  --glow: radial-gradient(52rem 40rem at 104% -8rem, rgb(189 233 221 / 0.65), transparent 70%), radial-gradient(44rem 36rem at -6% 30rem, rgb(251 227 176 / 0.42), transparent 70%);
  --wide: 1180px;
  --ui: "Nunito", ui-rounded, "SF Pro Rounded", system-ui, sans-serif;
  color-scheme: light;
}

/* A screen of the app comes in both looks; only the one that matches is shown and fetched. */
.only-dark { display: none; }

/* The dark page follows the app at night. The site is light for everyone,
   whatever the device is set to; the dark page is only for a visitor who
   chose it with the switch. */
:root[data-theme="dark"] {
  --paper: #0a1517; --card: #15272b; --ink: #eef4f2; --ink-soft: #9db3b1; --ink-body: #cfdcda; --brand-ink: #5fd0c5; --gold: #f7b544; --cheap: #5ad48f;
  --line: #263b3f; --band: linear-gradient(135deg, #12706b, #0c5557 45%, #06303a); --foot: #040b0c;
  --frame: #030708; --frame-ring: rgb(255 255 255 / 0.14); --blank: #1d3135; --shadow: 0 0 0;
  --glow: radial-gradient(60rem 44rem at 8% -12rem, rgb(28 138 130 / 0.34), transparent 70%), radial-gradient(48rem 40rem at 104% 6rem, rgb(39 50 107 / 0.36), transparent 70%);
  color-scheme: dark;
}
:root[data-theme="dark"] .only-light { display: none; }
:root[data-theme="dark"] .only-dark { display: block; }

* { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--glow) no-repeat, var(--paper);
  color: var(--ink);
  font: 500 18px/1.55 var(--ui);
  -webkit-font-smoothing: antialiased;
  overflow-x: clip;
}
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
button, input { font: inherit; color: inherit; }
h1, h2, h3, p { margin: 0; }
/* Short texts break into lines of even length; long ones only avoid a lone last word. */
h1, h2, h3, p, summary { text-wrap: balance; }
h1, h2 { font-weight: 900; letter-spacing: -0.025em; line-height: 1.04; }
h1 { font-size: clamp(2.6rem, 5.4vw, 4.4rem); }
h2 { font-size: clamp(2.1rem, 4.4vw, 3.4rem); }
h3 { font-size: 1.3rem; font-weight: 800; letter-spacing: -0.01em; line-height: 1.2; }
.lede { font-size: clamp(1.15rem, 1.6vw, 1.35rem); color: var(--ink-soft); max-width: 34em; }
.wrap { width: min(var(--wide), 100% - 48px); margin-inline: auto; }
:focus-visible { outline: 3px solid var(--gold); outline-offset: 3px; border-radius: 8px; }

/* ── Top bar ─────────────────────────────────────────────── */
.top { display: flex; align-items: center; gap: 28px; padding-block: 22px; }
.brand { display: inline-flex; align-items: center; gap: 12px; font-weight: 900; font-size: 1.45rem; letter-spacing: -0.03em; text-decoration: none; }
.brand img { width: 42px; height: 42px; border-radius: 10px; }
.top nav { display: flex; gap: 26px; margin-left: auto; }
.top nav a, .lang { font-weight: 700; font-size: 1rem; text-decoration: none; color: var(--ink-soft); }
.top nav a:hover, .lang:hover { color: var(--ink); }
.lang { border: 2px solid var(--line); border-radius: 999px; padding: 4px 12px; font-size: 0.85rem; letter-spacing: 0.04em; }
/* The switch between the light and the dark page: it shows what a press brings. */
.theme { display: grid; place-items: center; width: 36px; height: 36px; margin-left: -14px; padding: 0; border: 2px solid var(--line); border-radius: 50%; background: none; color: var(--ink-soft); cursor: pointer; transition: color 0.15s, border-color 0.15s; }
.theme[hidden] { display: none; }
.theme:hover { color: var(--ink); border-color: var(--ink-soft); }
.theme svg { grid-area: 1 / 1; width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; }

.button {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 58px; padding: 0 30px; border: 0; border-radius: 999px;
  background: var(--brand); color: #fff; font-weight: 800; font-size: 1.08rem; text-decoration: none;
  box-shadow: 0 10px 24px -8px rgb(14 107 107 / 0.6);
  transition: transform 0.15s ease, background 0.15s ease;
}
.button:hover { background: var(--brand-deep); transform: translateY(-1px); }
.button.quiet { background: var(--ink); color: var(--paper); box-shadow: none; }
.button.small { min-height: 44px; padding: 0 20px; font-size: 0.95rem; box-shadow: none; }
.button[aria-disabled="true"] { cursor: default; }
.button[aria-disabled="true"]:hover { transform: none; background: var(--ink); }

/* ── Hero ────────────────────────────────────────────────── */
.hero { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr); gap: clamp(28px, 5vw, 72px); align-items: center; padding-block: clamp(24px, 4vw, 48px) clamp(48px, 7vw, 88px); }
.hero-copy { display: grid; gap: 24px; justify-items: start; }
.hero-note { font-size: 0.98rem; font-weight: 700; color: var(--ink-soft); }
.hero-show { display: grid; justify-items: center; }
.hero-show .phone { width: min(100%, 330px); }

.phone { width: min(100%, 300px); border-radius: 44px; border: 9px solid var(--frame); background: var(--frame); overflow: hidden; box-shadow: 0 0 0 1px var(--frame-ring), 0 30px 50px -28px rgb(var(--shadow) / 0.55); }
.phone img { width: 100%; border-radius: 35px; background: var(--blank); }

/* ── Sections ────────────────────────────────────────────── */
section { padding-block: clamp(56px, 8vw, 108px); }
.section-head { display: grid; gap: 16px; margin-bottom: clamp(32px, 5vw, 56px); }
.section-head.center { justify-items: center; text-align: center; }

/* Today at the pump: the real figures, written the way a pump shows them. */
.board { display: grid; grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr); gap: clamp(24px, 4vw, 64px); align-items: center; }
.board[hidden] { display: none; }
.board .section-head { margin: 0; }
.board-apart { margin-top: 6px; font-weight: 800; color: var(--cheap); }
.board-card { padding: clamp(18px, 2.6vw, 30px); border-radius: clamp(24px, 3vw, 34px); background: var(--card); border: 1px solid var(--line); box-shadow: 0 30px 50px -40px rgb(var(--shadow) / 0.5); }
.board table { width: 100%; border-collapse: collapse; font-variant-numeric: tabular-nums; }
.board th { padding: 0 0 10px; font-size: 0.85rem; font-weight: 800; color: var(--ink-soft); text-align: right; }
.board th:first-child, .board td:first-child { text-align: left; }
.board td { padding: 13px 0; border-top: 1px solid var(--line); text-align: right; font-weight: 900; font-size: clamp(1.25rem, 2.2vw, 1.6rem); letter-spacing: -0.01em; white-space: nowrap; }
.board td:first-child { font-weight: 800; font-size: 1.08rem; letter-spacing: 0; white-space: normal; }
.board td.low { color: var(--cheap); }
.board sup { font-size: 0.56em; vertical-align: 0.62em; line-height: 0; }
.board-stamp { margin-top: 14px; font-size: 0.88rem; color: var(--ink-soft); }

/* Three screens of the app. */
.steps { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(20px, 3.5vw, 48px); }
.step { display: grid; gap: 22px; justify-items: center; align-content: start; text-align: center; }
.step p { color: var(--ink-soft); max-width: 22em; text-wrap: pretty; }

/* What does it save: a petrol panel with three figures to play with. */
.panel { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(28px, 5vw, 72px); align-items: center; padding: clamp(28px, 5vw, 72px); border-radius: clamp(28px, 4vw, 48px); background: var(--band); color: #fff; box-shadow: 0 40px 70px -50px rgb(var(--shadow) / 0.8); }
.panel .section-head { margin: 0; }
.panel .lede { color: rgb(255 255 255 / 0.84); }
.saving { display: grid; gap: 18px; padding: clamp(20px, 3vw, 32px); border-radius: clamp(22px, 3vw, 30px); background: rgb(255 255 255 / 0.1); border: 1px solid rgb(255 255 255 / 0.16); }
.saving label { display: grid; grid-template-columns: 1fr auto; gap: 4px 16px; align-items: baseline; font-weight: 800; }
.saving output { font-weight: 900; font-variant-numeric: tabular-nums; white-space: nowrap; }
.saving input[type="range"] { grid-column: 1 / -1; width: 100%; height: 28px; margin: 0; accent-color: #ffc857; cursor: pointer; }
.saving-result { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin-top: 6px; padding-top: 20px; border-top: 1px solid rgb(255 255 255 / 0.18); }
.saving-result strong { display: block; font-size: clamp(1.7rem, 3.4vw, 2.5rem); font-weight: 900; letter-spacing: -0.02em; line-height: 1.1; font-variant-numeric: tabular-nums; }
.saving-result div:last-child strong { color: #ffc857; }
.saving-result span { font-size: 0.92rem; font-weight: 700; color: rgb(255 255 255 / 0.78); }

/* Made for your iPhone: plain statements, three across. */
.points { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(26px, 3.6vw, 48px) clamp(28px, 4vw, 56px); margin: 0; padding: 0; list-style: none; }
.points li { display: grid; grid-template-columns: 24px 1fr; gap: 14px; align-items: start; }
.points svg { width: 24px; height: 24px; margin-top: 2px; color: var(--brand-ink); }
.points strong { display: block; font-weight: 800; font-size: 1.1rem; }
.points span { color: var(--ink-soft); font-size: 0.98rem; text-wrap: pretty; }

/* What it costs. */
.plans { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(16px, 2.2vw, 26px); align-items: stretch; }
.plan { display: grid; gap: 6px; align-content: start; padding: clamp(22px, 2.8vw, 32px); border-radius: clamp(22px, 3vw, 30px); background: var(--card); border: 1px solid var(--line); box-shadow: 0 30px 50px -42px rgb(var(--shadow) / 0.5); }
.plan.best { border: 2px solid var(--brand-ink); }
.plan h3 { font-size: 1.15rem; }
.plan-price { font-size: clamp(2.2rem, 3.6vw, 2.9rem); font-weight: 900; letter-spacing: -0.03em; line-height: 1.1; font-variant-numeric: tabular-nums; }
.plan-note { font-size: 0.95rem; font-weight: 700; color: var(--ink-soft); }
.plan ul { display: grid; gap: 10px; margin: 18px 0 0; padding: 18px 0 0; list-style: none; border-top: 1px solid var(--line); }
.plan li { display: grid; grid-template-columns: 20px 1fr; gap: 10px; align-items: start; font-size: 0.98rem; color: var(--ink-body); }
.plan li svg { width: 20px; height: 20px; margin-top: 3px; color: var(--brand-ink); }

/* Plain promises. */
.promises { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(28px, 4vw, 56px); }
.promises div { display: grid; gap: 10px; align-content: start; padding-top: 22px; border-top: 4px solid var(--brand-ink); }
.promises p { color: var(--ink-soft); text-wrap: pretty; }

/* Questions and answers. */
.questions { max-width: 820px; margin-inline: auto; }
.questions details { border-top: 2px solid var(--line); }
.questions details:last-child { border-bottom: 2px solid var(--line); }
.questions summary { position: relative; padding: 20px 48px 20px 0; font-weight: 800; font-size: 1.15rem; line-height: 1.3; cursor: pointer; list-style: none; }
.questions summary::-webkit-details-marker { display: none; }
.questions summary::after { content: "+"; position: absolute; right: 6px; top: 50%; translate: 0 -50%; font-size: 1.7rem; font-weight: 700; color: var(--brand-ink); }
.questions details[open] summary::after { content: "\2013"; }
.questions p { padding: 0 48px 22px 0; color: var(--ink-soft); text-wrap: pretty; }

/* Closing panel: the mark and the words together in the middle. */
.cta { padding-bottom: clamp(72px, 9vw, 120px); }
.cta .panel { grid-template-columns: auto minmax(0, 32rem); justify-content: center; }
.cta-mark { width: clamp(120px, 15vw, 180px); border-radius: 22.5%; box-shadow: 0 30px 50px -24px rgb(0 0 0 / 0.5); }
.cta-copy { display: grid; gap: 22px; justify-items: start; }
.cta .button { background: #fff; color: var(--brand-deep); box-shadow: none; }
.cta .button:hover { background: #eaf6f3; }

/* The foot of every page. */
footer { background: var(--foot); color: #9db3b1; font-size: 0.98rem; font-weight: 600; }
footer a { color: inherit; text-decoration: none; transition: color 0.15s; }
footer a:hover { color: #fff; }
.footer-main { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 40px 64px; padding-block: clamp(44px, 5.5vw, 64px) clamp(36px, 4.5vw, 52px); }
.footer-brand { display: grid; gap: 14px; align-content: start; max-width: 21em; }
.footer-brand .brand { color: #eef4f2; }
.footer-links { display: flex; gap: clamp(44px, 8vw, 104px); }
.footer-links ul { display: grid; gap: 12px; align-content: start; margin: 0; padding: 0; list-style: none; }
.footer-links a { color: #dbe7e5; }
.footer-base { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px 24px; padding-block: 22px 30px; border-top: 1px solid rgb(255 255 255 / 0.12); font-size: 0.9rem; }

/* Legal and plain text pages. */
.prose { max-width: 720px; padding-block: 24px 96px; }
.prose h1 { font-size: clamp(2.2rem, 5vw, 3.2rem); margin-bottom: 12px; }
.prose h2 { font-size: 1.45rem; letter-spacing: -0.01em; margin: 40px 0 10px; }
.prose p, .prose li { color: var(--ink-body); text-wrap: pretty; }
.prose p + p { margin-top: 14px; }
.prose ul { padding-left: 22px; margin: 10px 0; }
.prose li + li { margin-top: 8px; }
.prose a { color: var(--brand-ink); font-weight: 700; }
.prose .date { color: var(--ink-soft); font-weight: 700; margin-bottom: 28px; }

/* Contact form. */
.contact { display: grid; gap: 16px; margin-top: 28px; }
.contact[hidden] { display: none; }
.contact label { display: grid; gap: 6px; font-weight: 800; font-size: 0.95rem; color: var(--ink); }
.contact input, .contact textarea { font: inherit; font-weight: 500; padding: 14px 16px; border: 2px solid var(--line); border-radius: 16px; background: var(--card); color: var(--ink); resize: vertical; }
.contact input:focus, .contact textarea:focus { outline: none; border-color: var(--brand-ink); }
.contact .trap { position: absolute; left: -9999px; }
.contact .button { justify-self: start; border: 0; cursor: pointer; font-family: inherit; }
.contact .button:disabled { opacity: 0.6; cursor: default; }
.contact .status { font-weight: 700; min-height: 1.5em; color: var(--ink); }
.prose .mail { margin-top: 24px; }
.prose .care { margin-top: 14px; color: var(--ink-soft); font-size: 0.95rem; }
.lost { display: grid; justify-items: center; gap: 20px; text-align: center; padding-block: 48px 120px; }
.lost img { width: 120px; border-radius: 22.5%; }

/* ── Narrower screens ────────────────────────────────────── */
@media (max-width: 900px) {
  .top nav { display: none; }
  .lang { margin-left: auto; }
  .hero, .board, .panel, .cta .panel { grid-template-columns: 1fr; }
  .hero { padding-top: 12px; }
  .steps { grid-template-columns: 1fr; gap: 56px; }
  .points { grid-template-columns: 1fr 1fr; }
  .plans { grid-template-columns: 1fr; max-width: 520px; margin-inline: auto; }
  .promises { grid-template-columns: 1fr 1fr; }
  .cta .panel { justify-items: center; text-align: center; }
  .cta-copy { justify-items: center; }
}
@media (max-width: 620px) {
  body { font-size: 17px; }
  .wrap { width: min(var(--wide), 100% - 44px); }
  .top { gap: 16px; }
  .top .button { display: none; }
  .brand { font-size: 1.3rem; }
  .points, .promises { grid-template-columns: 1fr; }
  .saving-result { grid-template-columns: 1fr; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { transition: none !important; }
}
