/* home.css
 *
 * The home page (index.php). Built on the site's tokens (colors.css), the lit
 * orange and the lit button (brand-lockup.css). Two surfaces: the warm
 * off-white page with white cards, and the dark "pump board" used for the
 * price board and the app band — the price board is the page's centrepiece,
 * so it looks like the thing people read prices off: a dark pylon with lit
 * numbers.
 *
 * Every class is prefixed h- so nothing here leaks into other pages.
 */

.home-page {
    --h-bg: var(--color-offwhite-background, #fefcf9);
    --h-card: #ffffff;
    --h-ink: #14110d;
    --h-text: #2b2722;
    --h-muted: #6b645b;
    --h-line: rgba(20, 17, 13, 0.09);
    /* --color-primary is 2.4:1 on white: fine as a fill, not for small text. 5.0:1. */
    --h-brand-text: #b0552f;
    --h-dark: #17130f;
    --h-dark-2: #221d17;
    --h-dark-line: rgba(255, 255, 255, 0.09);
    --h-dark-text: #e9e3da;
    --h-dark-muted: #a39a8e;
    --h-good: #1f8a4c;
    --h-good-dark: #7fdca3;
    --h-radius: 20px;
    --h-gutter: 16px;

    background: var(--h-bg);
    color: var(--h-text);
}

#index-sections {
    font-family: var(--font-family-body);
}

.h-wrap {
    width: 100%;
    max-width: 1180px;
    margin: 0 auto;
    padding: 0 var(--h-gutter);
}

@media (min-width: 768px) {
    .home-page { --h-gutter: 24px; }
}

.home-page a { color: var(--h-brand-text); text-underline-offset: 0.18em; }
.home-page a:hover { color: var(--h-ink); }
/* The lit button keeps its black label (brand-lockup.css). */
.home-page a.bt-lit-button,
.home-page a.bt-lit-button:hover { color: #000; }

/* --- Section rhythm -------------------------------------------------------- */
.h-section { padding: 56px 0; }

@media (min-width: 992px) {
    .h-section { padding: 88px 0; }
}

.h-section-head { max-width: 46rem; margin-bottom: 28px; }

.h-section-head--row {
    max-width: none;
    display: flex;
    flex-wrap: wrap;
    align-items: flex-end;
    justify-content: space-between;
    gap: 16px 32px;
}

.h-section-head--row > div { max-width: 46rem; }

.h-h2 {
    margin: 0;
    font-family: var(--font-family-title);
    font-weight: 800;
    font-size: clamp(1.6rem, 3.2vw, 2.4rem);
    line-height: 1.12;
    letter-spacing: -0.02em;
    color: var(--h-ink);
    text-wrap: balance;
}

.h-intro {
    margin: 12px 0 0;
    font-size: 1.05rem;
    line-height: 1.6;
    color: var(--h-muted);
}

.h-note {
    margin: 18px 0 0;
    font-size: 0.92rem;
    line-height: 1.55;
    color: var(--h-muted);
}


.h-more {
    font-weight: 700;
    text-decoration: none;
    white-space: nowrap;
}

.h-flag {
    display: inline-block;
    width: 18px;
    height: 12px;
    border-radius: 2px;
    box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.12);
    vertical-align: -1px;
    flex: 0 0 auto;
}

/* --- Hero ------------------------------------------------------------------- */
.h-hero {
    position: relative;
    z-index: 2;
    padding: 104px 0 48px;
    /* Clip the glow sideways only: the search suggestions may hang below. */
    overflow-x: clip;
}

/* A warm glow behind the headline: the lit orange, as light rather than fill. */
.h-hero::before {
    content: '';
    position: absolute;
    inset: -30% auto auto -20%;
    width: 80vw;
    max-width: 1000px;
    aspect-ratio: 1;
    background: radial-gradient(closest-side, rgba(var(--rgb-primary, 243, 134, 81), 0.16), transparent 70%);
    pointer-events: none;
}

.h-hero-grid {
    position: relative;
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    gap: 40px;
    align-items: center;
}

@media (min-width: 992px) {
    .h-hero { padding: 136px 0 72px; }
    .h-hero-grid { grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr); gap: 56px; }
}

.h-title {
    margin: 0 0 18px;
    font-family: var(--font-family-title);
    font-weight: 800;
    font-size: clamp(2.2rem, 5.2vw, 3.7rem);
    line-height: 1.03;
    letter-spacing: -0.03em;
    color: var(--h-ink);
    text-wrap: balance;
}

.h-title-lit { display: block; }

.h-lead {
    max-width: 34rem;
    margin: 0 0 26px;
    font-size: 1.1rem;
    line-height: 1.6;
}

/* The place search */
.h-search { max-width: 34rem; margin: 0; }

.h-search-label {
    display: block;
    margin-bottom: 8px;
    font-weight: 700;
    font-size: 0.95rem;
    color: var(--h-ink);
}

.h-search-row {
    position: relative;
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 6px;
    border: 1px solid var(--h-line);
    border-radius: 16px;
    background: var(--h-card);
    box-shadow: 0 8px 24px rgba(20, 17, 13, 0.06);
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.h-search-row:focus-within {
    border-color: var(--color-primary);
    box-shadow: 0 0 0 3px rgba(var(--rgb-primary, 243, 134, 81), 0.22), 0 8px 24px rgba(20, 17, 13, 0.06);
}

.h-search-icon { width: 20px; height: 20px; margin-left: 10px; color: var(--h-muted); flex: 0 0 auto; }

.h-search-input {
    flex: 1 1 auto;
    min-width: 0;
    height: 44px;
    padding: 0 6px;
    border: 0;
    background: transparent;
    font-size: 1rem;
    color: var(--h-ink);
    outline: none;
}

.h-search-input::-webkit-calendar-picker-indicator { display: none !important; }

/* Suggestions under the search field (js/place-search.js). */
.h-suggest {
    position: absolute;
    top: calc(100% + 6px);
    left: 0;
    right: 0;
    z-index: 20;
    max-height: 320px;
    overflow-y: auto;
    margin: 0;
    padding: 6px;
    list-style: none;
    border: 1px solid var(--h-line);
    border-radius: 16px;
    background: var(--h-card);
    box-shadow: 0 18px 40px -12px rgba(20, 17, 13, 0.25);
}

.h-suggest-item {
    display: flex;
    flex-direction: column;
    gap: 1px;
    padding: 10px 12px;
    border-radius: 10px;
    cursor: pointer;
}

.h-suggest-item:hover,
.h-suggest-item[aria-selected="true"] { background: rgba(var(--rgb-primary, 243, 134, 81), 0.12); }

.h-suggest-main { font-weight: 700; color: var(--h-ink); }
.h-suggest-sub { font-size: 0.85rem; color: var(--h-muted); }

.h-search-button {
    flex: 0 0 auto;
    height: 44px;
    padding: 0 18px;
    border: 0;
    border-radius: 11px;
    background: var(--h-ink);
    color: #fff;
    font-weight: 700;
    cursor: pointer;
    transition: background-color 0.2s ease;
}

.h-search-button:hover { background: #000; }
.h-search-button:focus-visible { outline: 3px solid rgba(var(--rgb-primary, 243, 134, 81), 0.5); outline-offset: 2px; }


.h-hero-actions {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 14px 22px;
    margin-top: 22px;
}

.h-cta { display: inline-flex; }

.home-page .h-cta-ghost {
    font-weight: 700;
    color: var(--h-ink);
    text-decoration: none;
}

.home-page .h-cta-ghost:hover { color: var(--h-brand-text); }
.h-cta-ghost span { display: inline-block; transition: transform 0.2s ease; }
.h-cta-ghost:hover span { transform: translateX(3px); }

@media (prefers-reduced-motion: reduce) {
    .h-cta-ghost span { transition: none; }
    .h-cta-ghost:hover span { transform: none; }
}

/* --- The price board -------------------------------------------------------- */
.h-board {
    position: relative;
    padding: 22px 18px 18px;
    border-radius: 26px;
    background:
        linear-gradient(180deg, rgba(255, 255, 255, 0.04), transparent 40%),
        var(--h-dark);
    color: var(--h-dark-text);
    box-shadow: 0 30px 60px -20px rgba(20, 17, 13, 0.45), 0 2px 6px rgba(0, 0, 0, 0.12);
}

@media (min-width: 576px) {
    .h-board { padding: 28px 26px 22px; }
}

/* The pylon's foot: the board stands on something. */
.h-board::after {
    content: '';
    position: absolute;
    left: 50%;
    bottom: -18px;
    width: 34%;
    height: 18px;
    transform: translateX(-50%);
    border-radius: 0 0 10px 10px;
    background: linear-gradient(180deg, #2a241d, #1d1915);
    z-index: -1;
}

.h-board-head {
    display: flex;
    flex-wrap: wrap;
    align-items: baseline;
    justify-content: space-between;
    gap: 4px 16px;
    margin-bottom: 14px;
}

.h-board-title {
    margin: 0;
    font-family: var(--font-family-title);
    font-weight: 800;
    font-size: 1.3rem;
    letter-spacing: -0.01em;
    color: #fff;
}

.h-board-sub { margin: 0; font-size: 0.82rem; color: var(--h-dark-muted); }

.h-board-table {
    width: 100%;
    border-collapse: separate;
    border-spacing: 0;
    table-layout: fixed;
}

/* styles.css paints every th orange with !important; not on this board. */
.h-board-table th {
    background: transparent !important;
    color: inherit !important;
}

.h-board-table thead th {
    padding: 0 4px 10px;
    font-size: 0.78rem;
    font-weight: 600;
    color: var(--h-dark-muted) !important;
    text-align: right;
    white-space: nowrap;
}

.h-board-table thead td { width: 26%; }

.h-board-table thead th .h-flag { margin-right: 6px; }
.h-board-code { display: none; }

@media (max-width: 479.98px) {
    .h-board-country { display: none; }
    .h-board-code { display: inline; }
}

.h-board-table tbody th,
.h-board-table tbody td {
    padding: 12px 4px;
    border-top: 1px solid var(--h-dark-line);
    vertical-align: middle;
}

.h-board-table tbody th { text-align: left; font-weight: 400; }
.h-board-table tbody td { text-align: right; }

.h-fuel {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    font-weight: 700;
    font-size: 1rem;
    color: #fff;
}

.h-fuel::before {
    content: '';
    width: 9px;
    height: 9px;
    border-radius: 50%;
    background: currentColor;
    box-shadow: 0 0 0 2px rgba(255, 255, 255, 0.12);
}

/* The site's fuel colours; diesel's black becomes white-ringed on the dark board. */
.h-fuel--diesel::before { background: #000; box-shadow: 0 0 0 2px rgba(255, 255, 255, 0.55); }
.h-fuel--e10::before { background: var(--fuel-type-e10, #57b757); }
.h-fuel--e5::before { background: var(--fuel-type-e5, #da4848); }

.h-fuel-hint {
    display: block;
    margin-top: 2px;
    padding-left: 16px;
    font-size: 0.74rem;
    color: var(--h-dark-muted);
}

/* The number, as a pump shows it: tabular, lit, the third decimal raised. */
.h-pump {
    display: inline-flex;
    align-items: flex-start;
    font-family: var(--font-family-title);
    font-weight: 700;
    font-size: clamp(1.25rem, 4.6vw, 1.75rem);
    line-height: 1;
    font-variant-numeric: tabular-nums;
    letter-spacing: -0.01em;
    color: var(--color-primary, #F38651);
    text-shadow: 0 0 14px rgba(var(--rgb-primary, 243, 134, 81), 0.35);
}

.h-pump-eur { font-size: 0.55em; margin: 0.18em 0.12em 0 0; opacity: 0.8; }
.h-pump sup { top: 0; font-size: 0.55em; margin-left: 0.04em; line-height: 1; }

.h-board-n {
    display: block;
    margin-top: 5px;
    font-size: 0.7rem;
    color: var(--h-dark-muted);
}

/* The cheapest country in the row. */
.h-board-table td.is-best .h-pump { color: var(--h-good-dark); text-shadow: 0 0 14px rgba(127, 220, 163, 0.35); }

.h-board-n { white-space: nowrap; }

/* The dearest country in the row. */
.h-board-table td.is-worst .h-pump { color: #ff5a50; text-shadow: 0 0 14px rgba(255, 90, 80, 0.35); }

@media (min-width: 480px) {
    .h-board-table td.is-best .h-board-n::before {
        content: 'laagst · ';
        color: var(--h-good-dark);
        font-weight: 700;
    }

    .h-board-table td.is-worst .h-board-n::before {
        content: 'duurst · ';
        color: #ff5a50;
        font-weight: 700;
    }
}

.h-board-none { color: var(--h-dark-muted); font-size: 1.2rem; }

.h-board-empty { margin: 8px 0 4px; color: var(--h-dark-text); }

/* --- Cheapest today --------------------------------------------------------- */
.h-cheapest { padding-top: 32px; }

.h-tabs {
    display: inline-flex;
    padding: 4px;
    border-radius: 14px;
    background: rgba(20, 17, 13, 0.06);
}

.h-tab {
    min-width: 72px;
    height: 38px;
    padding: 0 14px;
    border: 0;
    border-radius: 10px;
    background: transparent;
    font-weight: 700;
    font-size: 0.92rem;
    color: var(--h-muted);
    cursor: pointer;
    transition: background-color 0.2s ease, color 0.2s ease, box-shadow 0.2s ease;
}

.h-tab[aria-selected="true"] {
    background: var(--h-card);
    color: var(--h-ink);
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.12);
}

.h-tab:focus-visible { outline: 3px solid rgba(var(--rgb-primary, 243, 134, 81), 0.5); outline-offset: 1px; }

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

@media (min-width: 768px) {
    .h-cheap-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}

.h-cheap {
    position: relative;
    padding: 18px 20px;
    border: 1px solid var(--h-line);
    border-radius: var(--h-radius);
    background: var(--h-card);
    transition: border-color 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease;
}

.h-cheap:has(a):hover {
    border-color: rgba(var(--rgb-primary, 243, 134, 81), 0.55);
    transform: translateY(-2px);
    box-shadow: 0 12px 24px -12px rgba(20, 17, 13, 0.2);
}

.h-cheap-country {
    display: flex;
    align-items: center;
    gap: 8px;
    margin: 0 0 10px;
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--h-muted);
}

.h-cheap-price { display: flex; align-items: baseline; gap: 10px; margin: 0 0 8px; }
.h-cheap .h-pump { color: var(--h-ink); text-shadow: none; font-size: 2rem; }
.h-cheap-fuel { font-size: 0.82rem; font-weight: 700; color: var(--h-muted); }

.h-cheap-name { margin: 0; font-weight: 700; color: var(--h-ink); }
.home-page .h-cheap-name a { color: var(--h-ink); text-decoration: none; }
.h-cheap-name a::after { content: ''; position: absolute; inset: 0; border-radius: inherit; }
.h-cheap-name a:focus-visible { outline: none; }
.h-cheap:has(a:focus-visible) { outline: 3px solid rgba(var(--rgb-primary, 243, 134, 81), 0.5); outline-offset: 2px; }

/* --- Features ---------------------------------------------------------------- */
.h-features {
    display: grid;
    gap: 16px;
}

@media (min-width: 900px) {
    .h-features { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
}

.h-feature {
    position: relative;
    display: flex;
    flex-direction: column;
    padding: 24px;
    border: 1px solid var(--h-line);
    border-radius: 24px;
    background: var(--h-card);
    transition: border-color 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease;
}

.h-feature:hover {
    border-color: rgba(var(--rgb-primary, 243, 134, 81), 0.55);
    transform: translateY(-3px);
    box-shadow: 0 18px 36px -18px rgba(20, 17, 13, 0.25);
}

.h-feature:has(a:focus-visible) { outline: 3px solid rgba(var(--rgb-primary, 243, 134, 81), 0.5); outline-offset: 2px; }

.h-chip {
    display: inline-flex;
    align-items: center;
    height: 24px;
    padding: 0 10px;
    border-radius: 999px;
    font-size: 0.75rem;
    font-weight: 700;
}

.h-chip--app { background: var(--h-ink); color: #fff; }

.h-feature-name { margin: 0 0 14px; }
.home-page .h-feature-name a { color: var(--h-ink); text-decoration: none; }
.h-feature-name a::after { content: ''; position: absolute; inset: 0; border-radius: inherit; }
.h-feature-name a:focus-visible { outline: none; }
/* "BorderTanker" inline, then the lit word (renderInlineBrandLockup). */
.h-feature-name .bt-lockup { --bt-word-size: 26px; }

.h-feature-tagline { margin: 0 0 12px; font-weight: 700; color: var(--h-brand-text); }
.h-feature-blurb { margin: 0 0 18px; line-height: 1.6; color: var(--h-text); }

.h-feature-badges { display: flex; align-items: center; gap: 10px; margin: -4px 0 12px; }
.h-feature-badges .bt-pro-badge { margin-left: 0; }
.h-feature-badges .bt-pro-badge .bt-word { --bt-size: 17px; }

.h-feature-cta { margin: auto 0 0; font-weight: 700; color: var(--h-ink); }

.h-feature-cta span { display: inline-block; transition: transform 0.2s ease; }
.h-feature:hover .h-feature-cta span { transform: translateX(4px); }

/* --- The app band ------------------------------------------------------------ */
.h-app {
    background:
        radial-gradient(60% 80% at 85% 20%, rgba(var(--rgb-primary, 243, 134, 81), 0.22), transparent 70%),
        var(--h-dark);
    color: var(--h-dark-text);
    overflow: hidden;
}

.h-app-grid { display: grid; gap: 48px; align-items: center; }

@media (min-width: 992px) {
    .h-app-grid { grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr); }
}

/* The lockup's logo is black-on-transparent; lift it on the dark band. */
.h-app .bt-lockup { margin-bottom: 18px; }
.h-app .bt-lockup-logo { filter: invert(1) hue-rotate(180deg) brightness(1.05); }

.h-app-title { color: #fff; max-width: 18em; }

.h-app-lead {
    max-width: 34rem;
    margin: 16px 0 22px;
    font-size: 1.06rem;
    line-height: 1.6;
}

.h-app-points {
    display: grid;
    gap: 10px;
    margin: 0 0 28px;
    padding: 0;
    list-style: none;
}

.h-app-points li {
    position: relative;
    padding-left: 30px;
    line-height: 1.5;
}

.h-app-points li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 2px;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background: rgba(var(--rgb-primary, 243, 134, 81), 0.18) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23F38651' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 12 4 4 8-8'/%3E%3C/svg%3E") center / 12px no-repeat;
}

.h-app-points strong { color: #fff; }

.h-app-phone { display: none; max-width: 360px; margin-bottom: 16px; }
.h-app-cta[data-platform="ios"] .h-app-phone,
.h-app-cta[data-platform="android"] .h-app-phone { display: block; }
.h-app-open { width: 100%; }

.h-app-badges { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; }
.h-badge { display: inline-block; line-height: 0; border-radius: 8px; transition: transform 0.2s ease; }
.h-badge img { height: 48px; width: auto; }
.h-badge:hover { transform: translateY(-2px); }
.h-badge:focus-visible { outline: 3px solid rgba(var(--rgb-primary, 243, 134, 81), 0.6); outline-offset: 3px; }

.h-app-note { margin: 12px 0 0; font-size: 0.88rem; color: var(--h-dark-muted); }

/* The phone: the app's own map still, with today's three cheapest pumps. */
.h-app-art {
    position: relative;
    display: flex;
    justify-content: center;
    padding: 0 0 8px;
}

.h-phone {
    position: relative;
    width: min(290px, 78vw);
    aspect-ratio: 9 / 18.5;
    padding: 10px;
    border-radius: 46px;
    background: #0b0907;
    box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.08), 0 40px 80px -24px rgba(0, 0, 0, 0.7);
    transform: rotate(3deg);
}

.h-phone-screen {
    position: relative;
    height: 100%;
    overflow: hidden;
    border-radius: 37px;
    background: #f5f2ec;
}

.h-phone-map {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: 62% 40%;
}

.h-phone-sheet {
    position: absolute;
    left: 8px;
    right: 8px;
    bottom: 8px;
    padding: 10px 12px 12px;
    border-radius: 24px;
    background: #fff;
    color: #14110d;
    box-shadow: 0 -6px 24px rgba(0, 0, 0, 0.15);
}

.h-phone-grip {
    display: block;
    width: 36px;
    height: 4px;
    margin: 0 auto 10px;
    border-radius: 2px;
    background: #d9d4cc;
}

.h-phone-sheet-title {
    margin: 0 0 6px;
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    color: #6b645b;
}

.h-phone-row {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 8px 4px;
    border-top: 1px solid #efeae3;
}

.h-phone-row:first-of-type { border-top: 0; }
.h-phone-dot { display: grid; place-items: center; width: 30px; height: 30px; border-radius: 50%; background: #f3efe9; flex: 0 0 auto; }
.h-phone-name { flex: 1 1 auto; min-width: 0; font-weight: 700; font-size: 0.86rem; line-height: 1.2; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.h-phone-name small { display: block; font-weight: 400; font-size: 0.74rem; color: #6b645b; overflow: hidden; text-overflow: ellipsis; }
.h-phone-price { font-family: var(--font-family-title); font-weight: 700; font-variant-numeric: tabular-nums; font-size: 0.95rem; }
.h-phone-row.is-first .h-phone-price { padding: 2px 8px; border-radius: 8px; background: #e6f6ec; color: var(--h-good); }

.h-mascot {
    position: absolute;
    left: calc(50% - min(290px, 78vw) / 2 - 46px);
    bottom: -4px;
    width: 104px;
    height: auto;
    transform: rotate(-8deg);
    filter: drop-shadow(0 12px 18px rgba(0, 0, 0, 0.35));
}

/* On a narrow screen the phone fills the width: the mascot peeks over its top corner instead. */
@media (max-width: 600px) {
    .h-mascot { left: auto; right: 2px; top: -14px; bottom: auto; width: 76px; transform: rotate(10deg); }
}

/* --- Cities ------------------------------------------------------------------- */
.h-cities {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(min(100%, 230px), 1fr));
    gap: 12px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.home-page .h-city {
    display: block;
    height: 100%;
    padding: 16px 18px;
    border: 1px solid var(--h-line);
    border-radius: 16px;
    background: var(--h-card);
    color: var(--h-ink);
    text-decoration: none;
    transition: border-color 0.2s ease, transform 0.2s ease;
}

.home-page .h-city:hover { border-color: rgba(var(--rgb-primary, 243, 134, 81), 0.6); transform: translateY(-2px); color: var(--h-ink); }
.h-city:focus-visible { outline: 3px solid rgba(var(--rgb-primary, 243, 134, 81), 0.5); outline-offset: 2px; }
.h-city-name { display: block; font-weight: 700; }
.h-city-meta { display: block; margin-top: 4px; font-size: 0.84rem; color: var(--h-muted); }

/* --- How we compare ----------------------------------------------------------- */
.h-how { background: var(--h-card); border-top: 1px solid var(--h-line); border-bottom: 1px solid var(--h-line); }

.h-steps {
    display: grid;
    gap: 28px;
    margin: 0;
    padding: 0;
    list-style: none;
    counter-reset: h-step;
}

@media (min-width: 900px) {
    .h-steps { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 40px; }
}

.h-step { counter-increment: h-step; }

.h-step::before {
    content: counter(h-step, decimal-leading-zero);
    display: block;
    margin-bottom: 12px;
    font-family: var(--font-family-title);
    font-weight: 800;
    font-size: 2.4rem;
    line-height: 1;
    color: var(--color-primary, #F38651);
}

.h-step h3 { margin: 0 0 8px; font-weight: 800; font-size: 1.2rem; color: var(--h-ink); }
.h-step p { margin: 0; line-height: 1.6; }

/* --- Pro ------------------------------------------------------------------ */
/* The upgrade page's pitch, on the home page: the lockup, what Pro gives, and a
   ticket with the price, the period switch and the button. */
.h-pro {
    position: relative;
    overflow: hidden;
    background:
        radial-gradient(50% 70% at 90% 10%, rgba(var(--rgb-primary, 243, 134, 81), 0.20), transparent 70%),
        radial-gradient(40% 60% at 0% 100%, rgba(var(--rgb-amber, 255, 189, 89), 0.18), transparent 70%),
        #fff7f0;
    border-bottom: 1px solid var(--h-line);
}

.h-pro-grid { display: grid; grid-template-columns: minmax(0, 1fr); gap: 40px; align-items: center; }

@media (min-width: 992px) {
    .h-pro-grid { grid-template-columns: minmax(0, 1.25fr) minmax(0, 0.75fr); gap: 64px; }
}

.h-pro .bt-lockup { margin-bottom: 18px; }
.h-pro-title .bt-lit { display: block; }
.h-pro-lead { margin: 14px 0 28px; font-size: 1.08rem; color: var(--h-muted); }

.h-pro-features {
    display: grid;
    gap: 18px 28px;
    margin: 0 0 24px;
    padding: 0;
    list-style: none;
}

@media (min-width: 640px) {
    .h-pro-features { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

.h-pro-feature { display: flex; gap: 14px; align-items: flex-start; }

.h-pro-feature-icon {
    display: grid;
    place-items: center;
    width: 42px;
    height: 42px;
    flex: 0 0 auto;
    border-radius: 13px;
    background: var(--color-primary, #F38651);
    color: #000;
    box-shadow: var(--primary-action-shadow);
}

.h-pro-feature-icon svg { width: 21px; height: 21px; }

.h-pro-feature h3 {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 6px;
    margin: 2px 0 3px;
    font-family: var(--font-family-body);
    font-weight: 700;
    font-size: 1rem;
    color: var(--h-ink);
}

.h-pro-feature p { margin: 0; font-size: 0.92rem; line-height: 1.5; color: var(--h-muted); }

.h-pro-tag {
    padding: 1px 8px;
    border-radius: 999px;
    background: var(--h-ink);
    color: #fff;
    font-size: 0.7rem;
    font-weight: 700;
}

/* The ticket. */
.h-pro-card {
    position: relative;
    padding: 26px;
    border-radius: 28px;
    background: var(--h-card);
    border: 1px solid rgba(var(--rgb-primary, 243, 134, 81), 0.35);
    box-shadow: 0 30px 60px -28px rgba(var(--rgb-primary, 243, 134, 81), 0.55), 0 2px 6px rgba(0, 0, 0, 0.05);
}

@media (min-width: 576px) {
    .h-pro-card { padding: 30px; }
}

.h-period {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4px;
    padding: 4px;
    margin-bottom: 22px;
    border-radius: 14px;
    background: rgba(20, 17, 13, 0.06);
}

.h-period input { position: absolute; opacity: 0; pointer-events: none; }

.h-period label {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    height: 40px;
    margin: 0;
    border-radius: 10px;
    font-weight: 700;
    font-size: 0.92rem;
    color: var(--h-muted);
    cursor: pointer;
    transition: background-color 0.2s ease, color 0.2s ease, box-shadow 0.2s ease;
}

.h-period input:checked + label { background: var(--h-card); color: var(--h-ink); box-shadow: 0 1px 3px rgba(0, 0, 0, 0.12); }
.h-period input:focus-visible + label { outline: 3px solid rgba(var(--rgb-primary, 243, 134, 81), 0.5); outline-offset: 1px; }

.h-period-gift {
    padding: 1px 7px;
    border-radius: 999px;
    background: #e6f6ec;
    color: var(--h-good);
    font-size: 0.72rem;
}

.h-pro-option[data-period="yearly"] { display: none; }
.h-pro-card:has(#h-period-yearly:checked) .h-pro-option[data-period="yearly"] { display: block; }
.h-pro-card:has(#h-period-yearly:checked) .h-pro-option[data-period="monthly"] { display: none; }

.h-pro-price {
    margin: 0;
    font-family: var(--font-family-title);
    font-weight: 800;
    font-size: 3.2rem;
    line-height: 1;
    letter-spacing: -0.03em;
    color: var(--h-ink);
}

.h-pro-price span { margin-left: 4px; font-size: 1rem; font-weight: 600; letter-spacing: 0; color: var(--h-muted); }
.h-pro-caption { margin: 8px 0 0; font-size: 0.92rem; font-weight: 600; color: var(--h-muted); }
.h-pro-caption.is-good { color: var(--h-good); }

.h-pro-payback {
    display: flex;
    gap: 10px;
    align-items: flex-start;
    margin: 18px 0 0;
    padding: 12px 14px;
    border-radius: 14px;
    background: #e6f6ec;
    color: #145c33;
    font-size: 0.9rem;
    line-height: 1.45;
}

.h-pro-payback svg { width: 20px; height: 20px; flex: 0 0 auto; margin-top: 1px; }

.h-pro-buy { width: 100%; margin-top: 20px; }

.h-pro-perks { display: grid; gap: 8px; margin: 20px 0 0; padding: 0; list-style: none; }

.h-pro-perks li { position: relative; padding-left: 26px; font-size: 0.92rem; line-height: 1.45; }

.h-pro-perks li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 2px;
    width: 16px;
    height: 16px;
    background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%231f8a4c' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m5 12 4 4 10-10'/%3E%3C/svg%3E") center / contain no-repeat;
}

.h-pro-fine { margin: 18px 0 0; padding-top: 16px; border-top: 1px solid var(--h-line); font-size: 0.86rem; line-height: 1.5; color: var(--h-muted); }
.h-pro-status { margin: 0 0 8px; font-weight: 800; font-size: 1.3rem; color: var(--h-good); }

.home-page .h-plan-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 48px;
    margin-top: 16px;
    padding: 0 22px;
    border: 1px solid var(--h-ink);
    border-radius: 16px;
    color: var(--h-ink);
    font-weight: 700;
    text-decoration: none;
    transition: background-color 0.2s ease, color 0.2s ease;
}

.home-page .h-plan-button:hover { background: var(--h-ink); color: #fff; }

/* --- Over the border + guides --------------------------------------------- */
.h-border-grid { display: grid; gap: 20px; }

@media (min-width: 900px) {
    .h-border-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 28px; }
}

.h-border-col {
    padding: 26px;
    border: 1px solid var(--h-line);
    border-radius: 24px;
    background: var(--h-card);
}

.h-border-col h3 {
    display: flex;
    align-items: center;
    gap: 10px;
    margin: 0 0 12px;
    font-weight: 800;
    font-size: 1.25rem;
    color: var(--h-ink);
}

.h-border-col p { margin: 0 0 12px; line-height: 1.65; }
.h-border-col p:last-child { margin-bottom: 0; }

.h-guides-title { margin: 44px 0 16px; font-weight: 800; font-size: 1.2rem; color: var(--h-ink); }

.h-guides {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(min(100%, 300px), 1fr));
    gap: 12px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.home-page .h-guide {
    display: block;
    height: 100%;
    padding: 18px 20px;
    border-radius: 16px;
    background: rgba(var(--rgb-primary, 243, 134, 81), 0.08);
    color: var(--h-ink);
    text-decoration: none;
    transition: background-color 0.2s ease;
}

.home-page .h-guide:hover { background: rgba(var(--rgb-primary, 243, 134, 81), 0.16); color: var(--h-ink); }
.h-guide:focus-visible { outline: 3px solid rgba(var(--rgb-primary, 243, 134, 81), 0.5); outline-offset: 2px; }
.h-guide-title { display: block; margin-bottom: 6px; font-weight: 800; }
.h-guide-summary { display: block; font-size: 0.9rem; line-height: 1.5; color: var(--h-muted); }

/* --- FAQ --------------------------------------------------------------------- */
.h-faq-wrap { display: grid; gap: 24px; }

@media (min-width: 992px) {
    .h-faq-wrap { grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr); gap: 56px; align-items: start; }
}

.h-faq-list { border-top: 1px solid var(--h-line); }
.h-faq-item { border-bottom: 1px solid var(--h-line); }

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

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

.h-faq-item summary h3 {
    margin: 0;
    font-family: var(--font-family-body);
    font-weight: 700;
    font-size: 1.04rem;
    line-height: 1.4;
    color: var(--h-ink);
}

.h-faq-item summary::after {
    content: '';
    flex: 0 0 auto;
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background: rgba(20, 17, 13, 0.06) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2314110d' stroke-width='2.4' stroke-linecap='round'%3E%3Cpath d='M12 6v12M6 12h12'/%3E%3C/svg%3E") center / 14px no-repeat;
    transition: transform 0.25s ease;
}

.h-faq-item[open] summary::after { transform: rotate(45deg); }
.h-faq-item summary:focus-visible { outline: 3px solid rgba(var(--rgb-primary, 243, 134, 81), 0.5); outline-offset: 2px; border-radius: 8px; }
.h-faq-item p { margin: 0 0 20px; padding-right: 44px; line-height: 1.65; color: var(--h-text); }

/* --- Motion ------------------------------------------------------------------ */
@media (prefers-reduced-motion: reduce) {
    .h-cheap, .h-feature, .h-city, .h-badge, .h-feature-cta span { transition: none; }
    .h-cheap:has(a):hover, .h-feature:hover, .home-page .h-city:hover, .h-badge:hover { transform: none; }
    .h-faq-item summary::after, .h-period label { transition: none; }
}

/* The three feature names share one glint that sweeps left to right across
   all of them (index.php drives it; one 4 s cycle as brand-lockup.css). */
.h-features.is-sweep .h-feature-name .bt-shine { animation: none; }
