/* ==========================================================================
   main.css - Benzineprijzen.info
   Consolidated site stylesheet
   Design system: petrol-blue #123B5B + orange #E8642A
   Architecture: Tailwind handles generic layout/utilities; this file owns the
   design tokens, prose, FAQ accordion and the bespoke fuel-* components
   (live-price hero, price chart, prijsopbouw breakdown, ritkosten-calculator,
   affiliate slot, attribution footer).
   Forked from gasprijzen_eu (gas-* / teal+amber); prefix + palette + prijsopbouw
   semantics changed. Last updated: 2026-07-01
   ========================================================================== */


/* ==========================================================================
   1. DESIGN TOKENS & FONTS
   ========================================================================== */

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700;900&display=swap');

:root {
    /* Brand palette - petrol-blue primary, orange accent */
    --fuel-brand:          #123B5B;
    --fuel-brand-light:    #E3EAF1;
    --fuel-brand-dark:     #0C2A42;
    --fuel-brand-tint:     #F2F6FA;
    --fuel-accent:         #E8642A;
    --fuel-accent-light:   #FCEDE5;
    --fuel-accent-dark:    #C44E1B;

    /* Price-movement semantics (chart deltas, trend arrows) */
    --fuel-up:             #D64545;   /* prijs stijgt */
    --fuel-up-light:       #FBEBEB;
    --fuel-down:           #2E9E6B;   /* prijs daalt */
    --fuel-down-light:     #E8F6EF;

    /* Prijsopbouw component colours (stacked breakdown: kale prijs + accijns + btw) */
    --fuel-c-product:      #123B5B;   /* kale prijs (product) */
    --fuel-c-accijns:      #E8642A;   /* accijns */
    --fuel-c-btw:          #94A3B8;   /* btw 21% */

    /* Neutrals */
    --fuel-text:           #14202B;
    --fuel-text-secondary: #334155;
    --fuel-muted:          #64748B;
    --fuel-light:          #94A3B8;
    --fuel-bg:             #F6F9FB;
    --fuel-surface:        #FFFFFF;
    --fuel-border:         #E2E8F0;

    /* Radii */
    --fuel-radius:         16px;
    --fuel-radius-sm:      10px;
    --fuel-radius-xs:      6px;

    /* Elevation */
    --fuel-shadow-sm:      0 1px 2px rgba(18,59,91,0.06);
    --fuel-shadow:         0 4px 16px rgba(18,59,91,0.08);
    --fuel-shadow-lg:      0 20px 40px rgba(18,59,91,0.10);
}


/* ==========================================================================
   2. BASE
   ========================================================================== */

body {
    font-family: 'Inter', system-ui, sans-serif;
    color: var(--fuel-text);
    background: var(--fuel-surface);
    scroll-behavior: smooth;
}

/* All numeric data (prices, liters, km) gets aligned tabular figures - the heart
   of a price site is its numbers, so they should never jitter between digits. */
.fuel-figure,
.fuel-pricecard__value,
.fuel-stat__value,
.fuel-calc__result-value,
.fuel-breakdown__amount,
.fuel-chart__axis text {
    font-variant-numeric: tabular-nums;
    font-feature-settings: 'tnum' 1;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding-left: 1.25rem;
    padding-right: 1.25rem;
}
@media (min-width: 768px) {
    .container { padding-left: 2rem; padding-right: 2rem; }
}

a { color: var(--fuel-brand); }
a:hover { color: var(--fuel-brand-dark); }

/* Accessibility floor: visible keyboard focus everywhere. */
:focus-visible {
    outline: 3px solid var(--fuel-accent);
    outline-offset: 2px;
    border-radius: var(--fuel-radius-xs);
}

@media (prefers-reduced-motion: reduce) {
    * { animation-duration: 0.001ms !important; transition-duration: 0.001ms !important; }
    body { scroll-behavior: auto; }
}


/* ==========================================================================
   3. BUTTONS
   ========================================================================== */

.fuel-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.75rem 1.5rem;
    border-radius: var(--fuel-radius-sm);
    font-size: 0.9375rem;
    font-weight: 700;
    line-height: 1;
    text-decoration: none;
    cursor: pointer;
    border: 1.5px solid transparent;
    transition: background 0.2s, border-color 0.2s, color 0.2s, transform 0.1s;
}
.fuel-btn:active { transform: translateY(1px); }

.fuel-btn--primary { background: var(--fuel-brand); color: #fff; }
.fuel-btn--primary:hover { background: var(--fuel-brand-dark); color: #fff; }

/* Orange = the money/conversion action (tankpas / vergelijken). Used sparingly. */
.fuel-btn--accent { background: var(--fuel-accent); color: #fff; }
.fuel-btn--accent:hover { background: var(--fuel-accent-dark); color: #fff; }

.fuel-btn--outline { background: #fff; color: var(--fuel-brand); border-color: var(--fuel-border); }
.fuel-btn--outline:hover { border-color: var(--fuel-brand); background: var(--fuel-brand-tint); }

.fuel-btn--lg { padding: 1rem 2rem; font-size: 1.0625rem; border-radius: var(--fuel-radius); }
.fuel-btn--block { width: 100%; }


/* ==========================================================================
   4. PROSE TYPOGRAPHY (article / tekstpagina)
   ========================================================================== */

.prose { max-width: 720px; }
.prose h1 {
    font-weight: 900;
    font-size: 1.75rem;
    margin: 0 0 1.5rem;
    color: var(--fuel-text);
    line-height: 1.2;
    letter-spacing: -0.015em;
}
@media (min-width: 768px) { .prose h1 { font-size: 2.125rem; } }
.prose h2 {
    font-weight: 800;
    font-size: 1.375rem;
    margin: 2.5rem 0 1rem;
    color: var(--fuel-text);
    letter-spacing: -0.01em;
}
.prose h3 {
    font-weight: 700;
    font-size: 1.125rem;
    margin: 2rem 0 0.75rem;
    color: var(--fuel-text-secondary);
}
.prose p,
.prose li { font-size: 0.9375rem; line-height: 1.75; color: var(--fuel-text-secondary); }
.prose p { margin-bottom: 1.25rem; }
.prose ul, .prose ol { margin-bottom: 1.25rem; padding-left: 1.5rem; }
.prose ul { list-style: disc; }
.prose ol { list-style: decimal; }
.prose li { margin-bottom: 0.5rem; }
.prose a { text-decoration: underline; text-underline-offset: 2px; }
.prose strong { color: var(--fuel-text); font-weight: 700; }
.prose blockquote {
    border-left: 4px solid var(--fuel-brand);
    background: var(--fuel-brand-tint);
    padding: 1rem 1.5rem;
    margin: 2rem 0;
    border-radius: 0 var(--fuel-radius-sm) var(--fuel-radius-sm) 0;
    color: var(--fuel-text-secondary);
}
.prose table { width: 100%; border-collapse: collapse; margin: 2rem 0; font-size: 0.875rem; }
.prose th, .prose td { border: 1px solid var(--fuel-border); padding: 0.75rem 1rem; text-align: left; }
.prose th { background: var(--fuel-bg); font-weight: 700; color: var(--fuel-text); }

/* Content-page wrapper (tekstpagina). Eigen class i.p.v. .container: de Tailwind
   Play-CDN injecteert runtime een eigen .container-utility (geen margin:auto) die
   main.css' .container overschaduwt -> content plakte links. .fuel-page geeft een
   gecentreerde leeskolom en botst niet met Tailwind. */
.fuel-page {
    max-width: 768px;
    margin: 0 auto;
    padding: 3rem 1.25rem 4rem;
}
@media (min-width: 768px) { .fuel-page { padding: 3.5rem 1.5rem 4.5rem; } }
.fuel-page .prose { max-width: 100%; }


/* ==========================================================================
   5. SITE HEADER / NAV
   ========================================================================== */

.fuel-header {
    position: sticky;
    top: 0;
    z-index: 50;
    background: rgba(255,255,255,0.92);
    backdrop-filter: saturate(180%) blur(8px);
    border-bottom: 1px solid var(--fuel-border);
}
.fuel-header__inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 64px;
}
.fuel-header__brand {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    font-weight: 900;
    font-size: 1.125rem;
    color: var(--fuel-brand);
    text-decoration: none;
    letter-spacing: -0.02em;
}
.fuel-header__brand img { height: 28px; width: auto; }
.fuel-nav { display: none; align-items: center; gap: 1.75rem; }
@media (min-width: 768px) { .fuel-nav { display: flex; } }
.fuel-nav a {
    font-size: 0.9375rem;
    font-weight: 600;
    color: var(--fuel-text-secondary);
    text-decoration: none;
}
.fuel-nav a:hover { color: var(--fuel-brand); }
.fuel-header__cta { display: none; }
@media (min-width: 768px) { .fuel-header__cta { display: inline-flex; } }

/* Mobiele nav-toggle (hamburger) + dropdown-paneel.
   Desktop: .fuel-header__menu = display:contents, dus nav + cta gedragen zich
   exact als voorheen; de burger staat op display:none.
   Mobiel (<768px): inline nav/cta verborgen, burger zichtbaar; bij .is-open
   klapt het menu als absoluut paneel onder de 64px-balk uit. */
.fuel-header__menu { display: contents; }
.fuel-nav__toggle {
    display: none;
    flex-direction: column;
    justify-content: center;
    gap: 5px;
    width: 40px;
    height: 40px;
    padding: 0;
    background: none;
    border: none;
    cursor: pointer;
}
.fuel-nav__toggle span {
    display: block;
    width: 22px;
    height: 2px;
    margin: 0 auto;
    background: var(--fuel-brand);
    border-radius: 2px;
    transition: transform 0.25s, opacity 0.2s;
}
@media (max-width: 767.98px) {
    .fuel-header__inner { position: relative; }
    .fuel-nav__toggle { display: flex; }
    .fuel-header__menu { display: none; }
    .fuel-header.is-open .fuel-header__menu {
        display: flex;
        flex-direction: column;
        align-items: stretch;
        gap: 0.25rem;
        position: absolute;
        top: 64px;
        left: 0;
        right: 0;
        background: var(--fuel-surface);
        border-bottom: 1px solid var(--fuel-border);
        box-shadow: var(--fuel-shadow);
        padding: 0.5rem 1.25rem 1rem;
    }
    .fuel-header.is-open .fuel-nav {
        display: flex;
        flex-direction: column;
        align-items: stretch;
        gap: 0;
    }
    .fuel-header.is-open .fuel-nav a {
        padding: 0.85rem 0.25rem;
        border-bottom: 1px solid var(--fuel-border);
    }
    .fuel-header.is-open .fuel-header__cta {
        display: inline-flex;
        margin-top: 0.75rem;
        justify-content: center;
    }
    .fuel-header.is-open .fuel-nav__toggle span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
    .fuel-header.is-open .fuel-nav__toggle span:nth-child(2) { opacity: 0; }
    .fuel-header.is-open .fuel-nav__toggle span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
}


/* ==========================================================================
   6. HERO + LIVE-PRICE CARDS  (the signature: what fuel costs, right now)
   ========================================================================== */

.fuel-hero {
    background:
        radial-gradient(1200px 400px at 80% -10%, var(--fuel-brand-tint) 0%, transparent 60%),
        linear-gradient(180deg, var(--fuel-bg) 0%, #fff 100%);
    border-bottom: 1px solid var(--fuel-border);
    padding: 2.5rem 0 3rem;
}
@media (min-width: 1024px) { .fuel-hero { padding: 3.5rem 0 4rem; } }

.fuel-hero__grid { display: grid; grid-template-columns: 1fr; gap: 2rem; align-items: start; }
@media (min-width: 1024px) { .fuel-hero__grid { grid-template-columns: 1.05fr 0.95fr; gap: 3rem; } }

.fuel-eyebrow {
    display: inline-block;
    font-size: 0.6875rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.14em;
    color: var(--fuel-brand);
    background: var(--fuel-brand-light);
    padding: 0.35rem 0.9rem;
    border-radius: 100px;
    margin-bottom: 1.25rem;
}
.fuel-hero h1 {
    font-size: 2rem;
    font-weight: 900;
    line-height: 1.12;
    letter-spacing: -0.02em;
    color: var(--fuel-text);
    margin: 0 0 1rem;
}
@media (min-width: 768px) { .fuel-hero h1 { font-size: 2.6rem; } }
.fuel-hero__lead {
    font-size: 1.0625rem;
    line-height: 1.6;
    color: var(--fuel-muted);
    margin-bottom: 1.75rem;
    max-width: 40ch;
}
.fuel-hero__actions { display: flex; flex-wrap: wrap; gap: 0.75rem; }

/* Three fuel price cards (Euro95 primary + diesel + LPG). */
.fuel-pricecards { display: grid; grid-template-columns: 1fr; gap: 0.85rem; }
@media (min-width: 480px) { .fuel-pricecards { grid-template-columns: 1fr 1fr; } }

.fuel-pricecard {
    background: var(--fuel-surface);
    border: 1px solid var(--fuel-border);
    border-radius: var(--fuel-radius);
    box-shadow: var(--fuel-shadow-sm);
    padding: 1.15rem 1.25rem;
    position: relative;
    overflow: hidden;
}
/* Euro95 = headline card: spans full width on 2-col, thicker accent, bigger value. */
.fuel-pricecard--primary { grid-column: 1 / -1; box-shadow: var(--fuel-shadow); padding: 1.5rem; }
.fuel-pricecard--primary::before {
    content: '';
    position: absolute; top: 0; left: 0; right: 0; height: 4px;
    background: linear-gradient(90deg, var(--fuel-brand), var(--fuel-accent));
}
.fuel-pricecard__label {
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--fuel-muted);
}
.fuel-pricecard__value {
    font-size: 1.9rem;
    font-weight: 900;
    line-height: 1;
    letter-spacing: -0.03em;
    color: var(--fuel-brand);
    margin: 0.35rem 0 0.2rem;
}
.fuel-pricecard--primary .fuel-pricecard__value { font-size: 3rem; }
.fuel-pricecard__value small { font-size: 0.9rem; font-weight: 600; color: var(--fuel-muted); }
.fuel-pricecard--primary .fuel-pricecard__value small { font-size: 1rem; }
.fuel-pricecard__delta {
    display: inline-flex;
    align-items: center;
    gap: 0.3rem;
    font-size: 0.8125rem;
    font-weight: 700;
    padding: 0.2rem 0.6rem;
    border-radius: 100px;
}
.fuel-pricecard__delta--up   { color: var(--fuel-up);   background: var(--fuel-up-light); }
.fuel-pricecard__delta--down { color: var(--fuel-down); background: var(--fuel-down-light); }
.fuel-pricecard__delta--flat { color: var(--fuel-muted); background: var(--fuel-bg); }
.fuel-pricecard__updated {
    margin-top: 1rem;
    font-size: 0.75rem;
    color: var(--fuel-light);
}

/* Period badge - makes the (daily) nature of the headline unmistakable */
.fuel-pricecard__period {
    display: inline-block;
    font-size: 0.625rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--fuel-brand);
    background: var(--fuel-brand-light);
    padding: 0.2rem 0.55rem;
    border-radius: 100px;
    margin: 0.5rem 0 0.1rem;
}


/* ==========================================================================
   7. PRICE CHART CONTAINER
   (Euro95 / diesel / LPG over tijd; series drawn by JS/SVG, single EUR/liter axis)
   ========================================================================== */

.fuel-chart {
    background: var(--fuel-surface);
    border: 1px solid var(--fuel-border);
    border-radius: var(--fuel-radius);
    padding: 1.25rem 1.25rem 1rem;
    box-shadow: var(--fuel-shadow-sm);
}
.fuel-chart__head {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 1rem;
    flex-wrap: wrap;
    margin-bottom: 0.75rem;
}
.fuel-chart__title { font-size: 1.0625rem; font-weight: 800; color: var(--fuel-text); margin: 0; }
.fuel-chart__sub { font-size: 0.8125rem; color: var(--fuel-muted); margin: 0.15rem 0 0; }

/* Period switch (1J / 3J / 5J / max) */
.fuel-chart__range { display: inline-flex; gap: 0.25rem; background: var(--fuel-bg); padding: 0.25rem; border-radius: 100px; }
.fuel-chart__range button {
    border: none; background: none; cursor: pointer;
    font: inherit; font-size: 0.75rem; font-weight: 700;
    color: var(--fuel-muted);
    padding: 0.3rem 0.8rem; border-radius: 100px;
    transition: background 0.2s, color 0.2s;
}
.fuel-chart__range button.is-active { background: var(--fuel-brand); color: #fff; }

/* Responsive canvas box - JS chart fills this */
.fuel-chart__canvas { position: relative; width: 100%; aspect-ratio: 16 / 9; min-height: 240px; }
@media (max-width: 640px) { .fuel-chart__canvas { aspect-ratio: 4 / 3; } }

.fuel-chart__legend {
    display: flex; flex-wrap: wrap; gap: 1rem;
    margin-top: 0.75rem; padding-top: 0.75rem;
    border-top: 1px solid var(--fuel-border);
    font-size: 0.8125rem; color: var(--fuel-text-secondary);
}
.fuel-chart__legend-item { display: inline-flex; align-items: center; gap: 0.45rem; font-weight: 600; }
.fuel-chart__swatch { width: 14px; height: 3px; border-radius: 2px; display: inline-block; }
.fuel-chart__swatch--euro95 { background: var(--fuel-brand); }
.fuel-chart__swatch--diesel { background: var(--fuel-accent); }
.fuel-chart__swatch--lpg    { background: #2E9E6B; }
.fuel-chart__axis text { font-size: 11px; fill: var(--fuel-light); }
.fuel-chart__meta { margin-top: 0.6rem; font-size: 0.6875rem; color: var(--fuel-light); }


/* ==========================================================================
   8. PRIJSOPBOUW - cost breakdown (stacked bar + legend rows)
   Shows that ~55% of the pump price per liter is tax (accijns + btw).
   ========================================================================== */

.fuel-breakdown {
    background: var(--fuel-surface);
    border: 1px solid var(--fuel-border);
    border-radius: var(--fuel-radius);
    padding: 1.5rem;
}
.fuel-breakdown__title { font-size: 1.0625rem; font-weight: 800; color: var(--fuel-text); margin: 0 0 0.25rem; }
.fuel-breakdown__total { font-size: 0.8125rem; color: var(--fuel-muted); margin-bottom: 1.1rem; }
.fuel-breakdown__total b { color: var(--fuel-text); font-size: 1rem; }

/* Fuel-type tabs for the breakdown (Euro95 / diesel / LPG) */
.fuel-breakdown__tabs { display: inline-flex; gap: 0.25rem; background: var(--fuel-bg); padding: 0.25rem; border-radius: 100px; margin-bottom: 1.1rem; }
.fuel-breakdown__tab {
    border: none; background: none; cursor: pointer;
    font: inherit; font-size: 0.75rem; font-weight: 700;
    color: var(--fuel-muted);
    padding: 0.3rem 0.9rem; border-radius: 100px;
    transition: background 0.2s, color 0.2s;
}
.fuel-breakdown__tab.is-active { background: var(--fuel-brand); color: #fff; }

/* Stacked bar */
.fuel-breakdown__bar {
    display: flex;
    height: 28px;
    border-radius: 6px;
    overflow: hidden;
    margin-bottom: 1.25rem;
    box-shadow: inset 0 0 0 1px rgba(0,0,0,0.03);
}
.fuel-breakdown__seg { height: 100%; transition: width 0.3s ease; }
.fuel-breakdown__seg--product { background: var(--fuel-c-product); }
.fuel-breakdown__seg--accijns { background: var(--fuel-c-accijns); }
.fuel-breakdown__seg--btw     { background: var(--fuel-c-btw); }

/* Legend rows with amounts */
.fuel-breakdown__rows { display: flex; flex-direction: column; gap: 0.6rem; }
.fuel-breakdown__row {
    display: grid;
    grid-template-columns: 14px 1fr auto auto;
    align-items: center;
    gap: 0.7rem;
    font-size: 0.875rem;
}
.fuel-breakdown__dot { width: 14px; height: 14px; border-radius: 4px; }
.fuel-breakdown__dot--product { background: var(--fuel-c-product); }
.fuel-breakdown__dot--accijns { background: var(--fuel-c-accijns); }
.fuel-breakdown__dot--btw     { background: var(--fuel-c-btw); }
.fuel-breakdown__name { color: var(--fuel-text-secondary); font-weight: 600; }
.fuel-breakdown__pct { color: var(--fuel-muted); font-size: 0.8125rem; min-width: 3ch; text-align: right; }
.fuel-breakdown__amount { color: var(--fuel-text); font-weight: 700; min-width: 5ch; text-align: right; }


/* ==========================================================================
   9. RITKOSTEN-CALCULATOR  (afstand x verbruik x prijs -> EUR per rit)
   ========================================================================== */

.fuel-calc {
    background: var(--fuel-surface);
    border: 1px solid var(--fuel-border);
    border-radius: var(--fuel-radius);
    box-shadow: var(--fuel-shadow);
    overflow: hidden;
}
.fuel-calc__head { padding: 1.25rem 1.5rem 0; }
.fuel-calc__title { font-size: 1.125rem; font-weight: 800; color: var(--fuel-text); margin: 0; }
.fuel-calc__sub { font-size: 0.8125rem; color: var(--fuel-muted); margin: 0.2rem 0 0; }
.fuel-calc__body { padding: 1.25rem 1.5rem 1.5rem; }

/* Fuel-type presets - one tap sets a smart-default verbruik (l/100km) */
.fuel-calc__presets-label { font-size: 0.75rem; font-weight: 700; color: var(--fuel-muted); text-transform: uppercase; letter-spacing: 0.06em; margin-bottom: 0.55rem; }
.fuel-calc__presets { display: flex; flex-wrap: wrap; gap: 0.5rem; margin-bottom: 1.25rem; }
.fuel-calc__preset {
    border: 1.5px solid var(--fuel-border);
    background: #fff;
    color: var(--fuel-text-secondary);
    border-radius: 100px;
    padding: 0.45rem 0.9rem;
    font: inherit; font-size: 0.8125rem; font-weight: 600;
    cursor: pointer;
    display: inline-flex; align-items: center; gap: 0.4rem;
    transition: border-color 0.2s, background 0.2s, color 0.2s;
}
.fuel-calc__preset:hover { border-color: var(--fuel-brand); color: var(--fuel-brand); }
.fuel-calc__preset.is-active { background: var(--fuel-brand); border-color: var(--fuel-brand); color: #fff; }
.fuel-calc__preset small { font-weight: 500; opacity: 0.75; }

/* Field (slider + number) */
.fuel-calc__field { margin-bottom: 1.25rem; }
.fuel-calc__field-label { display: flex; justify-content: space-between; align-items: baseline; font-size: 0.875rem; font-weight: 600; color: var(--fuel-text); margin-bottom: 0.5rem; }
.fuel-calc__field-val { font-weight: 800; color: var(--fuel-brand); }
.fuel-calc__field-hint-inline { font-weight: 500; color: var(--fuel-light); font-size: 0.75rem; }
.fuel-calc__range { width: 100%; accent-color: var(--fuel-brand); }
.fuel-calc__hint { font-size: 0.75rem; color: var(--fuel-light); margin-top: 0.35rem; }

/* Number input with prefix/suffix (verbruik, lokale pompprijs) */
.fuel-calc__num-wrap {
    display: inline-flex;
    align-items: center;
    border: 1.5px solid var(--fuel-border);
    border-radius: var(--fuel-radius-sm);
    background: #fff;
    padding: 0 0.75rem;
    transition: border-color 0.2s;
}
.fuel-calc__num-wrap:focus-within { border-color: var(--fuel-brand); }
.fuel-calc__num-prefix,
.fuel-calc__num-suffix { color: var(--fuel-muted); font-size: 0.9375rem; font-weight: 600; }
.fuel-calc__num {
    border: none;
    outline: none;
    background: none;
    font: inherit;
    font-size: 1rem;
    font-weight: 700;
    color: var(--fuel-text);
    width: 5rem;
    padding: 0.55rem 0.4rem;
    text-align: right;
    font-variant-numeric: tabular-nums;
    -moz-appearance: textfield;
}
.fuel-calc__num::-webkit-outer-spin-button,
.fuel-calc__num::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }

/* Result block */
.fuel-calc__result {
    background: var(--fuel-brand-tint);
    border: 1px solid var(--fuel-brand-light);
    border-radius: var(--fuel-radius-sm);
    padding: 1.1rem 1.25rem;
    display: flex; align-items: center; justify-content: space-between; gap: 1rem;
    flex-wrap: wrap;
}
.fuel-calc__result-label { font-size: 0.8125rem; font-weight: 600; color: var(--fuel-text-secondary); }
.fuel-calc__result-value { font-size: 2rem; font-weight: 900; color: var(--fuel-brand); line-height: 1; letter-spacing: -0.02em; }
.fuel-calc__result-value small { font-size: 0.875rem; font-weight: 600; color: var(--fuel-muted); }
.fuel-calc__result-sub { font-size: 0.75rem; color: var(--fuel-muted); width: 100%; }
.fuel-calc__result-breakdown {
    width: 100%;
    display: flex;
    flex-wrap: wrap;
    align-items: baseline;
    gap: 0.35rem;
    font-size: 0.8125rem;
    color: var(--fuel-text-secondary);
    padding-top: 0.25rem;
}
.fuel-calc__result-breakdown [data-calc-liters],
.fuel-calc__result-breakdown [data-calc-price-used] { font-weight: 700; color: var(--fuel-text); }
.fuel-calc__plus { color: var(--fuel-light); margin: 0 0.15rem; }


/* ==========================================================================
   10. FAQ ACCORDION
   ========================================================================== */

.fuel-faq { display: flex; flex-direction: column; gap: 0.75rem; }
.fuel-faq__item {
    background: var(--fuel-surface);
    border: 1px solid var(--fuel-border);
    border-radius: 12px;
    overflow: hidden;
    transition: border-color 0.2s, box-shadow 0.2s;
}
.fuel-faq__item:hover { border-color: var(--fuel-brand); }
.fuel-faq__item.is-open { border-color: var(--fuel-brand); box-shadow: var(--fuel-shadow-sm); }
.fuel-faq__btn {
    width: 100%;
    padding: 1.1rem 1.35rem;
    display: flex; justify-content: space-between; align-items: center; gap: 1rem;
    background: none; border: none; cursor: pointer; text-align: left;
    font: inherit;
}
.fuel-faq__q { font-weight: 700; font-size: 1rem; color: var(--fuel-text); }
.fuel-faq__chevron {
    width: 1.9rem; height: 1.9rem; flex-shrink: 0;
    background: var(--fuel-bg); border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    color: var(--fuel-muted); font-size: 0.8rem;
    transition: transform 0.25s, background 0.2s, color 0.2s;
}
.fuel-faq__item.is-open .fuel-faq__chevron { transform: rotate(180deg); background: var(--fuel-brand-light); color: var(--fuel-brand); }
.fuel-faq__content {
    max-height: 0; opacity: 0; overflow: hidden;
    padding: 0 1.35rem;
    transition: max-height 0.3s ease-out, opacity 0.2s ease-out, padding 0.3s ease-out;
}
.fuel-faq__item.is-open .fuel-faq__content { max-height: 800px; opacity: 1; padding-bottom: 1.35rem; }
.fuel-faq__content p { color: var(--fuel-text-secondary); line-height: 1.7; font-size: 0.9375rem; margin: 0 0 0.75rem; }
.fuel-faq__content p:last-child { margin-bottom: 0; }
.fuel-faq__item[open] { border-color: var(--fuel-brand); }
.fuel-faq__item summary { list-style: none; }
.fuel-faq__item summary::-webkit-details-marker { display: none; }


/* ==========================================================================
   11. AFFILIATE / AD SLOT  (graceful degradation - never an empty hole)
   ========================================================================== */

.fuel-ad:empty { display: none !important; }
.fuel-ad {
    margin: 1.5rem 0;
    border: 1px dashed var(--fuel-border);
    border-radius: var(--fuel-radius-sm);
    background: var(--fuel-bg);
    padding: 0.75rem;
    text-align: center;
}
.fuel-ad__label {
    display: block;
    font-size: 0.625rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--fuel-light);
    margin-bottom: 0.4rem;
}

.fuel-offer {
    background: var(--fuel-surface);
    border: 1px solid var(--fuel-border);
    border-radius: var(--fuel-radius);
    padding: 1.25rem;
    display: grid;
    grid-template-columns: auto 1fr auto;
    align-items: center;
    gap: 1.25rem;
    transition: border-color 0.2s, box-shadow 0.2s, transform 0.2s;
}
.fuel-offer:hover { border-color: var(--fuel-brand); box-shadow: var(--fuel-shadow); transform: translateY(-2px); }
.fuel-offer--featured { border-color: var(--fuel-accent); box-shadow: 0 6px 22px rgba(232,100,42,0.16); }
.fuel-offer__logo { width: 84px; height: 48px; object-fit: contain; }
.fuel-offer__name { font-weight: 800; color: var(--fuel-text); font-size: 1.0625rem; }
.fuel-offer__meta { font-size: 0.8125rem; color: var(--fuel-muted); margin-top: 0.15rem; }
.fuel-offer__price { text-align: right; }
.fuel-offer__price b { font-size: 1.25rem; font-weight: 900; color: var(--fuel-brand); }
.fuel-offer__price small { display: block; font-size: 0.6875rem; color: var(--fuel-muted); }
@media (max-width: 560px) {
    .fuel-offer { grid-template-columns: auto 1fr; }
    .fuel-offer__price { grid-column: 1 / -1; text-align: left; }
}


/* ==========================================================================
   12. NOTICES & DISCLOSURE
   ========================================================================== */

.fuel-note {
    border-radius: var(--fuel-radius-sm);
    padding: 0.85rem 1.1rem;
    font-size: 0.8125rem;
    line-height: 1.55;
    margin: 1rem 0;
}
.fuel-note--info      { background: var(--fuel-brand-light); color: var(--fuel-brand-dark); }
.fuel-note--source    { background: var(--fuel-bg); color: var(--fuel-text-secondary); border-left: 3px solid var(--fuel-brand); }
.fuel-note--affiliate { background: var(--fuel-accent-light); color: #7A3413; border-left: 3px solid var(--fuel-accent); }
.fuel-note b { font-weight: 700; }


/* ==========================================================================
   13. FOOTER  (with mandatory CBS data attribution)
   ========================================================================== */

.fuel-footer {
    background: var(--fuel-text);
    color: #CBD5E1;
    padding: 3rem 0 1.5rem;
    margin-top: 4rem;
}
.fuel-footer__grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
}
@media (min-width: 768px) { .fuel-footer__grid { grid-template-columns: 1.4fr 1fr 1fr; } }
.fuel-footer__brand { display: inline-flex; align-items: center; gap: 0.5rem; font-weight: 900; font-size: 1.125rem; color: #fff; margin-bottom: 0.75rem; }
.fuel-footer__about { font-size: 0.8125rem; line-height: 1.6; color: #94A3B8; max-width: 38ch; }
.fuel-footer__col h4 { font-size: 0.6875rem; font-weight: 800; text-transform: uppercase; letter-spacing: 0.1em; color: #7E90A4; margin: 0 0 0.9rem; }
.fuel-footer__col ul { list-style: none; padding: 0; margin: 0; }
.fuel-footer__col li { margin-bottom: 0.5rem; }
.fuel-footer__col a { color: #CBD5E1; text-decoration: none; font-size: 0.875rem; }
.fuel-footer__col a:hover { color: #fff; text-decoration: underline; }

.fuel-footer__attribution {
    margin-top: 2.5rem;
    padding-top: 1.25rem;
    border-top: 1px solid rgba(255,255,255,0.1);
    font-size: 0.6875rem;
    line-height: 1.6;
    color: #7E90A4;
}
.fuel-footer__attribution a { color: #94A3B8; }
.fuel-footer__bottom {
    margin-top: 0.75rem;
    display: flex; justify-content: space-between; flex-wrap: wrap; gap: 0.5rem;
    font-size: 0.6875rem; color: #7E90A4;
}


/* ==========================================================================
   14. RESPONSIVE - global tweaks
   ========================================================================== */

@media (max-width: 768px) {
    .fuel-hero h1 { font-size: 1.85rem; }
    .fuel-pricecard--primary .fuel-pricecard__value { font-size: 2.5rem; }
    .fuel-calc__result { flex-direction: column; align-items: flex-start; }
}
@media (max-width: 480px) {
    .fuel-chart__head { flex-direction: column; }
}


/* ==========================================================================
   15. PRINT
   ========================================================================== */

@media print {
    .fuel-header, .fuel-nav, .fuel-ad, .fuel-offer, .fuel-btn,
    .fuel-chart__range, .fuel-footer__bottom { display: none !important; }
    body { background: #fff; color: #000; }
    .fuel-hero { background: none; border: none; padding: 1rem 0; }
    .fuel-pricecard, .fuel-chart, .fuel-breakdown, .fuel-calc { box-shadow: none; border: 1px solid #ccc; }
    a { text-decoration: underline; color: #000; }
    .fuel-footer__attribution { color: #333; }
}
