/* ==========================================================================
   IFTA Track — shared site styles
   Used by: index, diesel prices, terms, privacy
   ========================================================================== */

:root {
    /* Brand */
    --brand-950: #021f1d;
    --brand-900: #03302d;
    --brand-800: #044641;
    --brand-700: #015f59;
    --brand-600: #017972;
    --brand-500: #0b948a;
    --brand-200: #b9e6df;
    --brand-100: #d9f2ee;
    --brand-50: #eef9f6;
    --lime: #6bd26b;
    --aqua: #1ba5a1;
    --grad-brand: linear-gradient(135deg, #6bd26b 0%, #1ba5a1 100%);
    --grad-text: linear-gradient(100deg, #017972 0%, #0a9a7c 55%, #22a35f 100%);
    --grad-dark: linear-gradient(140deg, #03302d 0%, #015f59 60%, #017972 100%);

    /* Neutrals */
    --ink-900: #0b1b1f;
    --ink-700: #33454a;
    --ink-500: #5a6d71;
    --line: #e2eae9;
    --line-strong: #cfdcda;
    --surface: #ffffff;
    --surface-2: #f5f9f8;

    /* Shape */
    --radius-sm: 10px;
    --radius: 16px;
    --radius-lg: 24px;
    --radius-xl: 32px;
    --shadow-sm: 0 1px 2px rgba(11, 27, 31, .05), 0 1px 3px rgba(11, 27, 31, .05);
    --shadow: 0 12px 32px -14px rgba(11, 27, 31, .2);
    --shadow-lg: 0 40px 80px -30px rgba(1, 73, 68, .45);

    --header-h: 68px;
    --container: 1180px;
    --ease: cubic-bezier(.22, .61, .36, 1);
}

/* ----- Base ----- */
*,
*::before,
*::after {
    box-sizing: border-box;
}

html {
    -webkit-text-size-adjust: 100%;
    scroll-behavior: smooth;
    scroll-padding-top: calc(var(--header-h) + 16px);
}

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

body {
    margin: 0;
    font-family: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
    font-size: 16px;
    line-height: 1.6;
    color: var(--ink-700);
    background: var(--surface);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    overflow-x: hidden;
}

h1,
h2,
h3,
h4 {
    margin: 0;
    color: var(--ink-900);
    font-weight: 700;
    letter-spacing: -0.02em;
    line-height: 1.15;
}

p,
ul,
ol,
figure {
    margin: 0;
}

img {
    max-width: 100%;
    height: auto;
}

a {
    color: var(--brand-600);
    text-decoration: none;
    transition: color .2s var(--ease);
}

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

:focus-visible {
    outline: 3px solid rgba(1, 121, 114, .45);
    outline-offset: 3px;
    border-radius: 6px;
}

.container {
    width: 100%;
    max-width: var(--container);
    margin-inline: auto;
    padding-inline: 20px;
}

@media (min-width: 768px) {
    .container {
        padding-inline: 32px;
    }
}

.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

.skip-link {
    position: absolute;
    left: 12px;
    top: -60px;
    z-index: 2000;
    padding: 10px 16px;
    border-radius: 999px;
    background: var(--ink-900);
    color: #fff;
    font-weight: 600;
}

.skip-link:focus {
    top: 12px;
    color: #fff;
}

.icon {
    width: 20px;
    height: 20px;
    flex: none;
    fill: none;
    stroke: currentColor;
    stroke-width: 2;
    stroke-linecap: round;
    stroke-linejoin: round;
}

/* ----- Buttons ----- */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    height: 44px;
    padding: 0 20px;
    border: 1px solid transparent;
    border-radius: 999px;
    font: inherit;
    font-size: 15px;
    font-weight: 600;
    line-height: 1;
    white-space: nowrap;
    cursor: pointer;
    transition: background-color .2s var(--ease), color .2s var(--ease), border-color .2s var(--ease), transform .2s var(--ease), box-shadow .2s var(--ease);
}

.btn .icon {
    width: 18px;
    height: 18px;
}

.btn-primary {
    background: var(--brand-600);
    color: #fff;
    box-shadow: 0 8px 20px -10px rgba(1, 121, 114, .8);
}

.btn-primary:hover {
    background: var(--brand-700);
    color: #fff;
    transform: translateY(-1px);
}

.btn-outline {
    background: #fff;
    color: var(--ink-900);
    border-color: var(--line-strong);
}

.btn-outline:hover {
    border-color: var(--brand-600);
    color: var(--brand-600);
}

.btn-light {
    background: #fff;
    color: var(--brand-700);
}

.btn-light:hover {
    background: var(--brand-50);
    color: var(--brand-800);
    transform: translateY(-1px);
}

.btn-lg {
    height: 52px;
    padding: 0 26px;
    font-size: 16px;
}

.link-arrow {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-weight: 600;
}

.link-arrow .icon {
    width: 18px;
    height: 18px;
    transition: transform .2s var(--ease);
}

.link-arrow:hover .icon {
    transform: translateX(3px);
}

/* ----- Header ----- */
.site-header {
    position: sticky;
    top: 0;
    z-index: 1100; /* above Leaflet map panes/controls */
    background: rgba(255, 255, 255, .85);
    -webkit-backdrop-filter: saturate(180%) blur(14px);
    backdrop-filter: saturate(180%) blur(14px);
    border-bottom: 1px solid transparent;
    transition: border-color .2s var(--ease), box-shadow .2s var(--ease);
}

.site-header.is-scrolled,
.site-header.nav-open {
    border-bottom-color: var(--line);
    box-shadow: 0 10px 30px -24px rgba(11, 27, 31, .45);
}

.site-header .container {
    display: flex;
    align-items: center;
    gap: 16px;
    height: var(--header-h);
}

.brand {
    display: inline-flex;
    align-items: center;
    flex: none;
}

.brand img {
    display: block;
    width: 156px;
    height: auto;
}

.site-nav {
    display: flex;
    align-items: center;
    gap: 2px;
    margin-left: auto;
}

.site-nav a {
    padding: 8px 14px;
    border-radius: 999px;
    color: var(--ink-700);
    font-size: 15px;
    font-weight: 500;
}

.site-nav a:hover {
    color: var(--ink-900);
    background: var(--surface-2);
}

.site-nav a[aria-current="page"] {
    color: var(--brand-600);
    background: var(--brand-50);
}

.site-nav .nav-cta {
    display: none;
}

.header-cta {
    margin-left: 8px;
}

.nav-toggle {
    display: none;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    margin-left: auto;
    padding: 0;
    border: 1px solid var(--line);
    border-radius: 12px;
    background: #fff;
    color: var(--ink-900);
    cursor: pointer;
}

.nav-toggle .icon-close {
    display: none;
}

.site-header.nav-open .nav-toggle .icon-open {
    display: none;
}

.site-header.nav-open .nav-toggle .icon-close {
    display: block;
}

@media (max-width: 899px) {
    .nav-toggle {
        display: inline-flex;
    }

    .header-cta {
        margin-left: 0;
    }

    .site-nav {
        position: absolute;
        top: var(--header-h);
        left: 0;
        right: 0;
        display: none;
        flex-direction: column;
        align-items: stretch;
        gap: 2px;
        margin: 0;
        padding: 12px 20px 20px;
        background: #fff;
        border-bottom: 1px solid var(--line);
        box-shadow: 0 24px 40px -24px rgba(11, 27, 31, .35);
    }

    .site-header.nav-open .site-nav {
        display: flex;
    }

    .site-nav a {
        padding: 12px 14px;
        font-size: 16px;
    }

    .site-nav .nav-cta {
        display: inline-flex;
        margin-top: 8px;
        height: 48px;
        color: #fff;
    }

    .site-nav .nav-cta:hover {
        color: #fff;
        background: var(--brand-700);
    }
}

@media (max-width: 479px) {
    .header-cta {
        display: none;
    }

    .brand img {
        width: 140px;
    }
}

/* ----- Shared section pieces ----- */
.section {
    padding-block: clamp(72px, 9vw, 120px);
}

.section-tinted {
    background: var(--surface-2);
}

.section-head {
    max-width: 720px;
    margin: 0 auto clamp(40px, 5vw, 64px);
    text-align: center;
}

.section-head.align-left {
    margin-left: 0;
    text-align: left;
}

.eyebrow {
    display: inline-block;
    margin-bottom: 14px;
    color: var(--brand-600);
    font-size: 13px;
    font-weight: 700;
    letter-spacing: .12em;
    text-transform: uppercase;
}

.section-head h2,
.h2 {
    font-size: clamp(1.9rem, 3.6vw, 2.75rem);
    font-weight: 800;
    letter-spacing: -0.03em;
    line-height: 1.1;
}

.section-head p {
    margin-top: 16px;
    color: var(--ink-500);
    font-size: clamp(1rem, 1.4vw, 1.125rem);
}

.pill {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 6px 14px 6px 8px;
    border: 1px solid var(--brand-200);
    border-radius: 999px;
    background: rgba(255, 255, 255, .7);
    color: var(--brand-700);
    font-size: 14px;
    font-weight: 600;
}

.pill-dot {
    display: inline-grid;
    place-items: center;
    width: 22px;
    height: 22px;
    border-radius: 999px;
    background: var(--grad-brand);
    color: #fff;
}

.pill-dot .icon {
    width: 12px;
    height: 12px;
    stroke-width: 2.5;
}

.text-grad {
    background: var(--grad-text);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.check-list {
    display: grid;
    gap: 12px;
    padding: 0;
    list-style: none;
}

.check-list li {
    display: flex;
    align-items: flex-start;
    gap: 10px;
}

.check-list .icon {
    width: 20px;
    height: 20px;
    margin-top: 2px;
    padding: 3px;
    border-radius: 999px;
    background: var(--brand-100);
    color: var(--brand-600);
    stroke-width: 3;
}

/* Scroll reveal — pure CSS, progressive enhancement */
@keyframes reveal-up {
    from {
        opacity: 0;
        transform: translateY(28px);
    }

    to {
        opacity: 1;
        transform: none;
    }
}

@supports (animation-timeline: view()) {
    @media (prefers-reduced-motion: no-preference) {
        .reveal {
            animation: reveal-up linear both;
            animation-timeline: view();
            animation-range: entry 0% entry 40%;
        }
    }
}

/* ----- Store badges ----- */
.store-badges {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 12px;
}

.store-badge {
    display: inline-block;
    border-radius: 10px;
    transition: transform .2s var(--ease), box-shadow .2s var(--ease);
}

.store-badge:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 24px -12px rgba(11, 27, 31, .45);
}

.store-badge img {
    display: block;
    width: auto;
    height: 48px;
}

.store-badges.is-sm .store-badge img {
    height: 40px;
}

/* ==========================================================================
   Home page
   ========================================================================== */

/* ----- Hero ----- */
.hero {
    position: relative;
    overflow: hidden;
    padding: clamp(40px, 6vw, 80px) 0 clamp(24px, 3vw, 40px);
    background:
        radial-gradient(55% 60% at 88% 18%, rgba(27, 165, 161, .18), transparent 70%),
        radial-gradient(40% 45% at 6% 0%, rgba(107, 210, 107, .16), transparent 70%),
        #fff;
}

.hero::before {
    content: "";
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(to right, rgba(1, 121, 114, .07) 1px, transparent 1px),
        linear-gradient(to bottom, rgba(1, 121, 114, .07) 1px, transparent 1px);
    background-size: 48px 48px;
    -webkit-mask-image: radial-gradient(ellipse 75% 65% at 50% 0%, #000 25%, transparent 75%);
    mask-image: radial-gradient(ellipse 75% 65% at 50% 0%, #000 25%, transparent 75%);
    pointer-events: none;
}

.hero-grid {
    position: relative;
    display: grid;
    grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr);
    align-items: center;
    gap: clamp(32px, 5vw, 64px);
}

.hero h1 {
    margin-top: 22px;
    font-size: clamp(2.5rem, 5.6vw, 4.1rem);
    font-weight: 800;
    letter-spacing: -0.035em;
    line-height: 1.04;
}

.hero-lead {
    max-width: 560px;
    margin-top: 22px;
    color: var(--ink-500);
    font-size: clamp(1.05rem, 1.5vw, 1.2rem);
    line-height: 1.65;
}

.hero .store-badges {
    margin-top: 32px;
}

.hero-points {
    display: flex;
    flex-wrap: wrap;
    gap: 10px 22px;
    margin-top: 26px;
    padding: 0;
    list-style: none;
    color: var(--ink-700);
    font-size: 15px;
    font-weight: 500;
}

.hero-points li {
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.hero-points .icon {
    width: 18px;
    height: 18px;
    color: var(--brand-600);
    stroke-width: 2.5;
}

.hero-visual {
    position: relative;
    justify-self: center;
    width: 100%;
    max-width: 660px;
}

.hero-visual::before {
    content: "";
    position: absolute;
    inset: 6% 10% 2% 4%;
    border-radius: 50%;
    background: radial-gradient(closest-side, rgba(27, 165, 161, .38), rgba(107, 210, 107, .16) 60%, transparent 100%);
    filter: blur(8px);
}

.hero-visual img {
    position: relative;
    display: block;
    width: 100%;
    height: auto;
    filter: drop-shadow(0 30px 40px rgba(3, 48, 45, .22));
}

.float-card {
    position: absolute;
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 16px 12px 12px;
    border: 1px solid rgba(255, 255, 255, .8);
    border-radius: 16px;
    background: rgba(255, 255, 255, .88);
    -webkit-backdrop-filter: blur(10px);
    backdrop-filter: blur(10px);
    box-shadow: 0 18px 40px -18px rgba(3, 48, 45, .45);
    white-space: nowrap;
}

.float-card strong {
    display: block;
    color: var(--ink-900);
    font-size: 14px;
    line-height: 1.3;
}

.float-card span {
    display: block;
    color: var(--ink-500);
    font-size: 12.5px;
    line-height: 1.3;
}

.float-icon {
    display: grid;
    place-items: center;
    width: 38px;
    height: 38px;
    border-radius: 12px;
    background: var(--grad-brand);
    color: #fff;
}

.float-card--a {
    top: 12%;
    left: -4%;
}

.float-card--b {
    right: 2%;
    bottom: 10%;
}

@media (prefers-reduced-motion: no-preference) {
    .float-card--a {
        animation: float 6s ease-in-out infinite;
    }

    .float-card--b {
        animation: float 6s ease-in-out -3s infinite;
    }
}

@keyframes float {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-8px);
    }
}

@media (max-width: 991px) {
    .hero-grid {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .hero-lead {
        margin-inline: auto;
    }

    .hero .store-badges,
    .hero-points {
        justify-content: center;
    }

    .hero-visual {
        max-width: 520px;
    }
}

@media (max-width: 575px) {
    .float-card {
        padding: 8px 12px 8px 8px;
        gap: 8px;
    }

    .float-icon {
        width: 30px;
        height: 30px;
        border-radius: 9px;
    }

    .float-icon .icon {
        width: 16px;
        height: 16px;
    }

    .float-card strong {
        font-size: 12.5px;
    }

    .float-card span {
        font-size: 11px;
    }

    .float-card--a {
        left: 0;
        top: 4%;
    }

    .float-card--b {
        right: 0;
        bottom: 4%;
    }
}

/* ----- How it works ----- */
.hero + .section {
    padding-top: clamp(56px, 7vw, 88px);
}

.steps {
    position: relative;
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 24px;
    padding: 0;
    list-style: none;
    counter-reset: step;
}

.steps::before {
    content: "";
    position: absolute;
    top: 27px;
    left: 16%;
    right: 16%;
    border-top: 2px dashed var(--brand-200);
}

.step {
    position: relative;
    text-align: center;
    padding: 0 8px;
}

.step-num {
    position: relative;
    display: grid;
    place-items: center;
    width: 56px;
    height: 56px;
    margin: 0 auto 22px;
    border-radius: 18px;
    background: var(--grad-brand);
    box-shadow: 0 0 0 8px #fff, 0 14px 28px -12px rgba(1, 121, 114, .7);
    color: #fff;
    font-size: 20px;
    font-weight: 800;
}

.step h3 {
    font-size: 20px;
}

.step p {
    max-width: 340px;
    margin: 10px auto 0;
    color: var(--ink-500);
}

@media (max-width: 767px) {
    .steps {
        grid-template-columns: 1fr;
        gap: 36px;
    }

    .steps::before {
        top: 28px;
        bottom: 28px;
        left: 27px;
        right: auto;
        border-top: 0;
        border-left: 2px dashed var(--brand-200);
    }

    .step {
        display: grid;
        grid-template-columns: 56px 1fr;
        column-gap: 18px;
        padding: 0;
        text-align: left;
    }

    .step-num {
        grid-row: span 2;
        margin: 0;
    }

    .step p {
        margin: 6px 0 0;
    }
}

/* ----- Features (bento) ----- */
.bento {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 20px;
}

.bento > .card:not(.card-full) {
    padding: 26px 24px;
}

.bento > .card:not(.card-full) h3 {
    font-size: 18px;
}

@media (max-width: 1099px) {
    .bento {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

.card {
    position: relative;
    padding: 28px;
    border: 1px solid var(--line);
    border-radius: var(--radius-lg);
    background: #fff;
    transition: transform .25s var(--ease), box-shadow .25s var(--ease), border-color .25s var(--ease);
}

.card:hover {
    transform: translateY(-3px);
    border-color: var(--brand-200);
    box-shadow: var(--shadow);
}

.card h3 {
    margin-top: 18px;
    font-size: 19px;
}

.card p {
    margin-top: 10px;
    color: var(--ink-500);
}

.card-icon {
    display: grid;
    place-items: center;
    width: 48px;
    height: 48px;
    border-radius: 14px;
    background: var(--brand-50);
    color: var(--brand-600);
    box-shadow: inset 0 0 0 1px var(--brand-100);
}

.card-icon .icon {
    width: 24px;
    height: 24px;
}

.card-wide {
    grid-column: span 2;
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    gap: 28px;
    align-items: center;
}

.card-full {
    grid-column: 1 / -1;
}

.card-dark {
    border-color: transparent;
    background: var(--grad-dark);
    color: rgba(255, 255, 255, .8);
    overflow: hidden;
}

.card-dark:hover {
    border-color: transparent;
}

.card-dark h3 {
    color: #fff;
}

.card-dark p {
    color: rgba(255, 255, 255, .78);
}

.card-dark .card-icon {
    background: rgba(255, 255, 255, .12);
    color: #fff;
    box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .18);
}

.card-dark::after {
    content: "";
    position: absolute;
    right: -120px;
    top: -120px;
    width: 360px;
    height: 360px;
    border-radius: 50%;
    background: radial-gradient(closest-side, rgba(107, 210, 107, .35), transparent);
    pointer-events: none;
}

.fleet-card {
    display: grid;
    grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr);
    gap: 32px;
    align-items: center;
}

.badge {
    display: inline-block;
    margin-left: 8px;
    padding: 3px 10px;
    border-radius: 999px;
    background: var(--brand-100);
    color: var(--brand-700);
    font-size: 12px;
    font-weight: 700;
    letter-spacing: .02em;
    vertical-align: middle;
}

.card-dark .badge {
    background: rgba(107, 210, 107, .2);
    color: #b8f0b8;
}

.chip-grid {
    position: relative;
    z-index: 1;
    display: flex;
    flex-wrap: wrap;
    align-content: center;
    gap: 10px;
    padding: 0;
    list-style: none;
}

.chip-grid li {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 14px;
    border: 1px solid rgba(255, 255, 255, .16);
    border-radius: 12px;
    background: rgba(255, 255, 255, .08);
    color: #fff;
    font-size: 14px;
    font-weight: 500;
}

.chip-grid .icon {
    width: 16px;
    height: 16px;
    color: #9fe39f;
}

/* Mini trip mock inside the mileage card */
.trip-mock {
    padding: 16px;
    border: 1px solid var(--line);
    border-radius: 18px;
    background: var(--surface-2);
    font-size: 13px;
}

.trip-mock-head {
    display: flex;
    justify-content: space-between;
    padding: 0 4px 10px;
    color: var(--ink-500);
    font-size: 12px;
    font-weight: 600;
}

.trip-row {
    padding: 10px 12px;
    border-radius: 12px;
    background: #fff;
    box-shadow: var(--shadow-sm);
}

.trip-row + .trip-row {
    margin-top: 8px;
}

.trip-row-top {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
}

.trip-row-top strong {
    color: var(--ink-900);
    font-size: 14px;
}

.trip-row-top span {
    color: var(--brand-600);
    font-weight: 700;
    font-variant-numeric: tabular-nums;
}

.hwy {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    margin-top: 8px;
}

.hwy span {
    padding: 2px 8px;
    border-radius: 999px;
    background: var(--surface-2);
    color: var(--ink-500);
    font-size: 11.5px;
    font-weight: 600;
}

.trip-total {
    display: flex;
    justify-content: space-between;
    padding: 12px 4px 0;
    color: var(--ink-900);
    font-weight: 700;
}

@media (max-width: 991px) {
    .card-wide {
        grid-column: 1 / -1;
    }

    .fleet-card {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 639px) {
    .bento {
        grid-template-columns: 1fr;
    }

    .card-wide {
        grid-template-columns: 1fr;
    }

    .card {
        padding: 24px;
    }
}

/* ----- Audience split ----- */
.split {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 24px;
}

.split-card {
    position: relative;
    display: flex;
    flex-direction: column;
    padding: clamp(28px, 4vw, 44px);
    border-radius: var(--radius-xl);
    overflow: hidden;
}

.split-card.is-light {
    border: 1px solid var(--brand-100);
    background: linear-gradient(160deg, var(--brand-50) 0%, #fff 70%);
}

.split-card.is-dark {
    background: var(--grad-dark);
    color: rgba(255, 255, 255, .82);
}

.split-card.is-dark::after {
    content: "";
    position: absolute;
    left: -100px;
    bottom: -140px;
    width: 340px;
    height: 340px;
    border-radius: 50%;
    background: radial-gradient(closest-side, rgba(27, 165, 161, .55), transparent);
    pointer-events: none;
}

.split-card .eyebrow {
    margin-bottom: 12px;
}

.split-card.is-dark .eyebrow {
    color: #9fe39f;
}

.split-card h3 {
    font-size: clamp(1.4rem, 2.4vw, 1.75rem);
    font-weight: 800;
    letter-spacing: -0.025em;
}

.split-card.is-dark h3 {
    color: #fff;
}

.split-card > p {
    margin-top: 14px;
    color: var(--ink-500);
    font-size: 16.5px;
}

.split-card.is-dark > p {
    color: rgba(255, 255, 255, .78);
}

.split-card .check-list {
    position: relative;
    z-index: 1;
    margin: 26px 0 30px;
}

.split-card.is-dark .check-list .icon {
    background: rgba(255, 255, 255, .14);
    color: #9fe39f;
}

.split-card.is-dark .check-list li {
    color: #fff;
}

.split-card .link-arrow {
    position: relative;
    z-index: 1;
    margin-top: auto;
}

.split-card.is-dark .link-arrow {
    color: #fff;
}

@media (max-width: 899px) {
    .split {
        grid-template-columns: 1fr;
    }
}

/* ----- Diesel tool band ----- */
.tool-band {
    position: relative;
    overflow: hidden;
    background: var(--brand-950);
    color: rgba(255, 255, 255, .78);
}

.tool-band::before {
    content: "";
    position: absolute;
    inset: 0;
    background:
        radial-gradient(50% 70% at 85% 50%, rgba(27, 165, 161, .32), transparent 70%),
        radial-gradient(35% 55% at 0% 100%, rgba(107, 210, 107, .18), transparent 70%);
    pointer-events: none;
}

.tool-band .container {
    position: relative;
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    align-items: center;
    gap: clamp(32px, 6vw, 80px);
}

.tool-band .eyebrow {
    color: #9fe39f;
}

.tool-band h2 {
    color: #fff;
    font-size: clamp(1.9rem, 3.6vw, 2.75rem);
    font-weight: 800;
    letter-spacing: -0.03em;
    line-height: 1.1;
}

.tool-band p {
    margin-top: 18px;
    font-size: clamp(1rem, 1.4vw, 1.125rem);
}

.tool-band .btn {
    margin-top: 30px;
}

.formula-card {
    padding: clamp(24px, 3vw, 36px);
    border: 1px solid rgba(255, 255, 255, .12);
    border-radius: var(--radius-lg);
    background: rgba(255, 255, 255, .06);
    -webkit-backdrop-filter: blur(6px);
    backdrop-filter: blur(6px);
}

.mock-toggle {
    display: flex;
    max-width: 320px;
    padding: 4px;
    border-radius: 999px;
    background: rgba(255, 255, 255, .1);
    font-size: 13px;
    font-weight: 600;
}

.mock-toggle span {
    flex: 1;
    padding: 8px 0;
    border-radius: 999px;
    text-align: center;
    color: rgba(255, 255, 255, .65);
}

.mock-toggle span.is-on {
    background: #fff;
    color: var(--brand-600);
}

.formula {
    margin-top: 26px;
    color: #fff;
    font-size: clamp(1.1rem, 1.8vw, 1.35rem);
    font-weight: 700;
    line-height: 1.4;
}

.formula small {
    display: block;
    margin-bottom: 6px;
    color: rgba(255, 255, 255, .6);
    font-size: 12px;
    font-weight: 700;
    letter-spacing: .1em;
    text-transform: uppercase;
}

.formula .op {
    color: #9fe39f;
    padding: 0 4px;
}

.scale {
    margin-top: 28px;
}

.scale-bar {
    height: 10px;
    border-radius: 999px;
    background: linear-gradient(90deg, #2e9d4f 0%, #e7d33a 50%, #d9432f 100%);
}

.scale-labels {
    display: flex;
    justify-content: space-between;
    margin-top: 8px;
    color: rgba(255, 255, 255, .65);
    font-size: 12.5px;
}

@media (max-width: 899px) {
    .tool-band .container {
        grid-template-columns: 1fr;
    }
}

/* ----- Pricing ----- */
.billing-toggle {
    display: inline-flex;
    margin: 28px auto 0;
    padding: 4px;
    border: 1px solid var(--line);
    border-radius: 999px;
    background: var(--surface-2);
}

.billing-toggle button {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    height: 40px;
    padding: 0 18px;
    border: 0;
    border-radius: 999px;
    background: transparent;
    color: var(--ink-500);
    font: inherit;
    font-size: 14.5px;
    font-weight: 600;
    cursor: pointer;
    transition: background-color .2s var(--ease), color .2s var(--ease), box-shadow .2s var(--ease);
}

.billing-toggle button.is-active {
    background: #fff;
    color: var(--ink-900);
    box-shadow: var(--shadow-sm);
}

.save-tag {
    padding: 2px 8px;
    border-radius: 999px;
    background: var(--brand-100);
    color: var(--brand-700);
    font-size: 12px;
    font-weight: 700;
}

.plans {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 20px;
    align-items: stretch;
}

.plan {
    position: relative;
    display: flex;
    flex-direction: column;
    padding: 32px 28px;
    border: 1px solid var(--line);
    border-radius: var(--radius-lg);
    background: #fff;
}

.plan.is-featured {
    border-color: transparent;
    box-shadow: 0 0 0 2px var(--brand-600), 0 24px 48px -28px rgba(1, 73, 68, .5);
}

.plan-tag {
    position: absolute;
    top: -13px;
    left: 30%;
    padding: 4px 12px;
    border-radius: 999px;
    background: var(--grad-brand);
    color: #fff;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: .02em;
}

.plan-tag.is-quiet {
    background: var(--ink-900);
}

.plan h3 {
    font-size: 20px;
}

.plan-desc {
    margin-top: 6px;
    color: var(--ink-500);
    font-size: 15px;
}

.plan-price {
    min-height: 92px;
    margin-top: 22px;
    padding-bottom: 22px;
    border-bottom: 1px solid var(--line);
}

.plan-price .amount {
    color: var(--ink-900);
    font-size: 44px;
    font-weight: 800;
    letter-spacing: -0.03em;
    line-height: 1;
    font-variant-numeric: tabular-nums;
}

.plan-price .per {
    margin-left: 4px;
    color: var(--ink-500);
    font-size: 15px;
    font-weight: 500;
}

.plan-price .note {
    margin-top: 10px;
    color: var(--ink-500);
    font-size: 14px;
}

.plan-price .note strong {
    color: var(--brand-600);
}

.plan .check-list {
    margin: 22px 0 28px;
    font-size: 15px;
}

.plan-foot {
    margin-top: auto;
}

.plan .btn {
    width: 100%;
}

.pricing-note {
    margin-top: 28px;
    color: var(--ink-500);
    font-size: 14px;
    text-align: center;
}

@media (max-width: 991px) {
    .plans {
        grid-template-columns: 1fr;
        max-width: 480px;
        margin-inline: auto;
        gap: 28px;
    }
}

/* ----- FAQ ----- */
.faq-layout {
    display: grid;
    grid-template-columns: minmax(0, .8fr) minmax(0, 1.4fr);
    gap: clamp(32px, 6vw, 80px);
    align-items: start;
}

.faq-layout .section-head {
    position: sticky;
    top: calc(var(--header-h) + 32px);
    margin-bottom: 0;
}

.faq-list {
    display: grid;
    gap: 12px;
}

.faq-item {
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: #fff;
    transition: border-color .2s var(--ease), box-shadow .2s var(--ease);
}

.faq-item[open] {
    border-color: var(--brand-200);
    box-shadow: var(--shadow-sm);
}

.faq-item summary {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding: 20px 22px;
    list-style: none;
    cursor: pointer;
}

.faq-item summary::-webkit-details-marker {
    display: none;
}

.faq-item summary h3 {
    font-size: 17px;
    font-weight: 600;
    letter-spacing: -0.01em;
    line-height: 1.4;
}

.faq-item summary .icon {
    color: var(--brand-600);
    transition: transform .25s var(--ease);
}

.faq-item[open] summary .icon {
    transform: rotate(180deg);
}

.faq-item summary:hover h3 {
    color: var(--brand-700);
}

.faq-answer {
    padding: 0 22px 22px;
    color: var(--ink-500);
}

.faq-answer p + p {
    margin-top: 10px;
}

@media (max-width: 899px) {
    .faq-layout {
        grid-template-columns: 1fr;
    }

    .faq-layout .section-head {
        position: static;
        text-align: center;
        margin-inline: auto;
    }
}

/* ----- Final CTA ----- */
.cta-section {
    padding-block: clamp(24px, 4vw, 48px) clamp(72px, 9vw, 120px);
}

.cta-card {
    position: relative;
    overflow: hidden;
    padding: clamp(40px, 6vw, 72px) clamp(24px, 6vw, 72px);
    border-radius: var(--radius-xl);
    background: var(--grad-dark);
    color: rgba(255, 255, 255, .8);
    text-align: center;
}

.cta-card::before {
    content: "";
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(to right, rgba(255, 255, 255, .06) 1px, transparent 1px),
        linear-gradient(to bottom, rgba(255, 255, 255, .06) 1px, transparent 1px);
    background-size: 40px 40px;
    -webkit-mask-image: radial-gradient(ellipse 60% 80% at 50% 0%, #000 20%, transparent 75%);
    mask-image: radial-gradient(ellipse 60% 80% at 50% 0%, #000 20%, transparent 75%);
    pointer-events: none;
}

.cta-card::after {
    content: "";
    position: absolute;
    right: -140px;
    bottom: -180px;
    width: 460px;
    height: 460px;
    border-radius: 50%;
    background: radial-gradient(closest-side, rgba(107, 210, 107, .35), transparent);
    pointer-events: none;
}

.cta-card > * {
    position: relative;
    z-index: 1;
}

.cta-icon {
    width: 64px;
    height: 64px;
    margin: 0 auto 22px;
    padding: 10px;
    border-radius: 18px;
    background: #fff;
    box-shadow: 0 16px 32px -14px rgba(0, 0, 0, .5);
}

.cta-card h2 {
    max-width: 720px;
    margin-inline: auto;
    color: #fff;
    font-size: clamp(1.9rem, 4vw, 3rem);
    font-weight: 800;
    letter-spacing: -0.03em;
    line-height: 1.1;
}

.cta-card p {
    max-width: 560px;
    margin: 16px auto 0;
    font-size: clamp(1rem, 1.4vw, 1.125rem);
}

.cta-card .store-badges {
    justify-content: center;
    margin-top: 32px;
}

/* ----- Footer ----- */
.site-footer {
    background: var(--brand-950);
    color: rgba(255, 255, 255, .66);
    font-size: 15px;
}

.footer-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.6fr) repeat(3, minmax(0, 1fr));
    gap: 40px;
    padding-block: 64px 48px;
}

.footer-brand p {
    max-width: 320px;
    margin-top: 16px;
}

.footer-brand .store-badges {
    margin-top: 22px;
}

.footer-col h2 {
    margin-bottom: 14px;
    color: #fff;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: .1em;
    text-transform: uppercase;
}

.footer-col ul {
    display: grid;
    gap: 10px;
    padding: 0;
    list-style: none;
}

.footer-col a {
    color: rgba(255, 255, 255, .72);
}

.footer-col a:hover {
    color: #fff;
}

.footer-bottom {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 8px 24px;
    padding-block: 24px 32px;
    border-top: 1px solid rgba(255, 255, 255, .1);
    font-size: 14px;
}

@media (max-width: 899px) {
    .footer-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }

    .footer-brand {
        grid-column: 1 / -1;
    }
}

@media (max-width: 479px) {
    .footer-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

/* ==========================================================================
   Inner pages (diesel prices, terms, privacy)
   ========================================================================== */
.page-hero {
    position: relative;
    overflow: hidden;
    padding: clamp(36px, 5vw, 64px) 0 clamp(28px, 4vw, 44px);
    background:
        radial-gradient(50% 80% at 90% 0%, rgba(27, 165, 161, .14), transparent 70%),
        radial-gradient(35% 70% at 0% 0%, rgba(107, 210, 107, .12), transparent 70%),
        #fff;
}

.page-hero::before {
    content: "";
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(to right, rgba(1, 121, 114, .06) 1px, transparent 1px),
        linear-gradient(to bottom, rgba(1, 121, 114, .06) 1px, transparent 1px);
    background-size: 48px 48px;
    -webkit-mask-image: radial-gradient(ellipse 80% 100% at 50% 0%, #000 20%, transparent 70%);
    mask-image: radial-gradient(ellipse 80% 100% at 50% 0%, #000 20%, transparent 70%);
    pointer-events: none;
}

.page-hero .container {
    position: relative;
}

.breadcrumbs ol {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    padding: 0;
    list-style: none;
    color: var(--ink-500);
    font-size: 14px;
}

.breadcrumbs li + li::before {
    content: "/";
    margin-right: 8px;
    color: var(--line-strong);
}

.breadcrumbs a {
    color: var(--ink-500);
}

.breadcrumbs a:hover {
    color: var(--brand-600);
}

.page-hero h1 {
    max-width: 880px;
    margin-top: 18px;
    font-size: clamp(2rem, 4.4vw, 3.1rem);
    font-weight: 800;
    letter-spacing: -0.03em;
    line-height: 1.08;
}

.page-hero .lead {
    max-width: 700px;
    margin-top: 16px;
    color: var(--ink-500);
    font-size: clamp(1rem, 1.5vw, 1.15rem);
}

.page-meta {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-top: 20px;
    padding: 6px 12px;
    border: 1px solid var(--line);
    border-radius: 999px;
    background: #fff;
    color: var(--ink-500);
    font-size: 13.5px;
    font-weight: 500;
}

.page-meta .icon {
    width: 16px;
    height: 16px;
    color: var(--brand-600);
}

/* ----- Legal pages ----- */
.legal {
    padding: clamp(32px, 4vw, 56px) 0 clamp(72px, 8vw, 112px);
}

.legal-grid {
    display: grid;
    grid-template-columns: 240px minmax(0, 1fr);
    gap: clamp(32px, 5vw, 72px);
    align-items: start;
}

.toc {
    position: sticky;
    top: calc(var(--header-h) + 28px);
    font-size: 14px;
}

.toc-title {
    margin-bottom: 12px;
    color: var(--ink-500);
    font-size: 12px;
    font-weight: 700;
    letter-spacing: .1em;
    text-transform: uppercase;
}

.toc ol {
    padding: 0;
    list-style: none;
    border-left: 2px solid var(--line);
}

.toc a {
    display: block;
    margin-left: -2px;
    padding: 7px 0 7px 16px;
    border-left: 2px solid transparent;
    color: var(--ink-500);
    line-height: 1.4;
}

.toc a:hover {
    color: var(--ink-900);
}

.toc a.is-active {
    border-left-color: var(--brand-600);
    color: var(--brand-600);
    font-weight: 600;
}

.prose {
    max-width: 760px;
    font-size: 16.5px;
    line-height: 1.75;
}

.prose > section + section {
    margin-top: 44px;
    padding-top: 44px;
    border-top: 1px solid var(--line);
}

.prose h2 {
    display: flex;
    align-items: baseline;
    gap: 12px;
    margin-bottom: 16px;
    font-size: clamp(1.3rem, 2vw, 1.55rem);
    font-weight: 700;
    letter-spacing: -0.02em;
}

.prose h2 .num {
    color: var(--brand-600);
    font-variant-numeric: tabular-nums;
}

.prose p + p,
.prose p + .clauses,
.prose .clauses + p {
    margin-top: 14px;
}

.clauses {
    display: grid;
    gap: 14px;
    padding: 0;
    list-style: none;
}

.clauses li {
    display: grid;
    grid-template-columns: 44px minmax(0, 1fr);
    gap: 4px;
}

.clause-num {
    color: var(--brand-600);
    font-weight: 600;
    font-variant-numeric: tabular-nums;
}

.clause-title {
    color: var(--ink-900);
    font-weight: 600;
}

.def-list {
    display: grid;
    gap: 18px;
    margin: 0;
}

.def-list dt {
    color: var(--ink-900);
    font-weight: 600;
}

.def-list dd {
    margin: 4px 0 0;
}

.callout {
    padding: 18px 20px;
    border: 1px solid var(--brand-100);
    border-radius: var(--radius);
    background: var(--brand-50);
    color: var(--ink-700);
}

@media (max-width: 899px) {
    .legal-grid {
        grid-template-columns: 1fr;
    }

    .toc {
        display: none;
    }
}
