/* ==========================================================================
   HAAT — design system
   Loaded after tailwind.css. Owns tokens, layout, and every component class.
   ========================================================================== */

/* --------------------------------------------------------------------------
   1. Tokens
   -------------------------------------------------------------------------- */

:root {
    /* Brand */
    --haat-primary: #5abcd7;         /* brand teal — fills, mockups, dark-bg text */
    --haat-heading: #1e9dbd;         /* brand teal for large display headings (3.1:1) */
    --haat-primary-deep: #0e7490;    /* brand teal for body text / CTAs (4.5:1) */
    --haat-primary-dark: #0b5f77;
    --haat-secondary: #1f2937;
    --haat-accent: #ff7a00;
    --haat-green: #00c48c;
    --haat-mist: #eaf8fc;
    --haat-sky: #8ee6f6;
    --haat-ink: #171412;

    /* Text */
    --ink: #1c1917;
    --ink-2: #4b5563;
    --ink-3: #6b7280;
    --ink-inverse: #ffffff;
    --ink-inverse-2: #cbd5e1;

    /* Surfaces */
    --surface: #ffffff;
    --surface-tint: #f2fafc;         /* the teal equivalent of Zomato's pink band */
    --surface-dark: #0d1418;
    --line: #e6eaec;
    --line-strong: #d3d9dc;

    /* Radii */
    --r-sm: 8px;
    --r-md: 12px;
    --r-lg: 16px;
    --r-pill: 999px;

    /* Elevation — deliberately restrained */
    --shadow-xs: 0 1px 2px rgba(23, 20, 18, 0.05);
    --shadow-sm: 0 1px 3px rgba(23, 20, 18, 0.06), 0 1px 2px rgba(23, 20, 18, 0.04);
    --shadow-md: 0 4px 14px rgba(23, 20, 18, 0.07);
    --shadow-lg: 0 12px 32px rgba(23, 20, 18, 0.1);
    --shadow-soft: var(--shadow-md);

    /* Type scale */
    --fs-hero: clamp(2.375rem, 5vw, 3.875rem);     /* 38 → 62 */
    --fs-h2: clamp(1.75rem, 3vw, 2.5rem);          /* 28 → 40 */
    --fs-h3: 1.0625rem;                            /* 17 */
    --fs-lead: clamp(1rem, 1.1vw, 1.125rem);       /* 16 → 18 */
    --fs-body: 0.9375rem;                          /* 15 */
    --fs-sm: 0.875rem;                             /* 14 */
    --fs-xs: 0.75rem;                              /* 12 */

    /* Rhythm */
    --section-y: clamp(3.5rem, 6vw, 5.5rem);
    --container: 1180px;
    --gutter: clamp(1.25rem, 4vw, 2rem);
    --header-h: 68px;
}

/* --------------------------------------------------------------------------
   2. Base
   -------------------------------------------------------------------------- */

* {
    box-sizing: border-box;
}

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

body {
    margin: 0;
    background: var(--surface);
    color: var(--ink);
    font-family: Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    font-size: var(--fs-body);
    line-height: 1.6;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}

body.bg-white {
    background: var(--surface);
}

img {
    display: block;
    max-width: 100%;
}

a {
    color: inherit;
    text-decoration: none;
}

h1, h2, h3, h4 {
    margin: 0;
    font-family: Sora, Inter, system-ui, sans-serif;
    font-weight: 700;
    letter-spacing: -0.02em;
    color: var(--ink);
}

p {
    margin: 0;
}

:focus-visible {
    outline: 2px solid var(--haat-primary-deep);
    outline-offset: 2px;
    border-radius: 4px;
}

.skip-link {
    position: fixed;
    left: 1rem;
    top: -4rem;
    z-index: 300;
    border-radius: var(--r-sm);
    background: var(--ink);
    color: #fff;
    padding: 0.7rem 1rem;
    font-size: var(--fs-sm);
    font-weight: 600;
    transition: top 0.2s ease;
}

.skip-link:focus {
    top: 1rem;
}

/* --------------------------------------------------------------------------
   3. Layout primitives
   -------------------------------------------------------------------------- */

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

.section {
    position: relative;
    padding-block: var(--section-y);
    background: var(--surface);
}

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

.section--dark {
    background: var(--surface-dark);
    color: var(--ink-inverse);
}

.section--dark h2 {
    color: var(--haat-primary);
}

.section--dark h3 {
    color: var(--ink-inverse);
}

/* Zomato-style arc where a dark band meets the surrounding page.
   The arcs are drawn in the neighbouring surface colour and overlap the band. */
.section--curved {
    overflow: hidden;
    margin-block: -1px;
    padding-block: calc(var(--section-y) + 2.5rem);
}

.section--curved::before,
.section--curved::after {
    content: "";
    position: absolute;
    left: -10%;
    width: 120%;
    height: 6rem;
    background: var(--surface);
    pointer-events: none;
}

.section--curved::before {
    top: -3rem;
    border-radius: 0 0 50% 50%;
}

.section--curved::after {
    bottom: -3rem;
    border-radius: 50% 50% 0 0;
}

.section--curved > .container {
    position: relative;
    z-index: 1;
}

/* When a curved band sits against a tinted section, match the arc colour */
.section--curved.section--curved-tint-top::before,
.section--curved.section--curved-tint-bottom::after {
    background: var(--surface-tint);
}

/* Two-column text/media split */
.split {
    display: grid;
    gap: clamp(2rem, 4vw, 3.25rem);
    align-items: center;
}

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

    .split--media-first > :first-child {
        order: -1;
    }
}

/* Section heading block — centred, short measure (Zomato's core rhythm) */
.section-heading {
    max-width: 46rem;
    margin-inline: auto;
    margin-bottom: clamp(2rem, 3.5vw, 3rem);
    text-align: center;
}

.section-heading--wide {
    max-width: none;
}

.section-heading h2 {
    margin-top: 0.75rem;
    color: var(--haat-heading);
    font-size: var(--fs-h2);
    line-height: 1.18;
}

.section-heading p:last-child {
    margin-top: 1rem;
    color: var(--ink-2);
    font-size: var(--fs-lead);
    line-height: 1.6;
}

.section--dark .section-heading p:last-child {
    color: var(--ink-inverse-2);
}

/* Block-level copy — used inside split sections, so it stays left aligned */
.block-title {
    margin-top: 0.75rem;
    color: var(--haat-heading);
    font-size: var(--fs-h2);
    line-height: 1.18;
}

.section--dark .block-title {
    color: var(--haat-primary);
}

.block-copy {
    margin-top: 0.9rem;
    max-width: 34rem;
    color: var(--ink-2);
    font-size: var(--fs-lead);
    line-height: 1.7;
}

.section--dark .block-copy {
    color: var(--ink-inverse-2);
}

/* Spacing helper for blocks that follow copy */
.mt-block {
    margin-top: 1.5rem;
}

/* Grids */
.grid-3 {
    display: grid;
    gap: 1rem;
    grid-template-columns: 1fr;
}

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

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

/* Five service areas — keep the row intact instead of orphaning a card */
.grid-areas {
    display: grid;
    gap: 1rem;
    grid-template-columns: 1fr;
}

@media (min-width: 520px) {
    .grid-areas {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

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

@media (min-width: 1080px) {
    .grid-areas {
        grid-template-columns: repeat(5, minmax(0, 1fr));
    }
}

.grid-2 {
    display: grid;
    gap: 0.75rem;
    grid-template-columns: repeat(auto-fit, minmax(13rem, 1fr));
}

/* --------------------------------------------------------------------------
   4. Header / navigation
   -------------------------------------------------------------------------- */

/* Glass header — floats over the hero at the top of the page, then settles into a
   light state once scrolled. `.scrolled` is toggled from main.js; `.menu-open` reuses
   the same treatment so the open mobile panel and the bar above it stay coherent. */
.site-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 100;
    background: rgba(8, 42, 54, 0.22);
    backdrop-filter: blur(10px) saturate(140%);
    -webkit-backdrop-filter: blur(10px) saturate(140%);
    color: #ffffff;
    transition: background 0.35s ease, box-shadow 0.35s ease, color 0.35s ease;
}

/* Tapers the blur into the page instead of cutting off hard. */
.site-header::after {
    content: "";
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    height: 64px;
    pointer-events: none;
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
    mask-image: linear-gradient(to bottom, rgba(0, 0, 0, 0.55), transparent);
    -webkit-mask-image: linear-gradient(to bottom, rgba(0, 0, 0, 0.55), transparent);
}

.site-header.scrolled,
.site-header.menu-open,
.page-light-top .site-header {
    background: rgba(8, 42, 54, 0.09);
    box-shadow: var(--shadow-sm);
    color: var(--ink);
}

.site-header.scrolled::after,
.site-header.menu-open::after,
.page-light-top .site-header::after {
    display: none;
}

/* The open mobile panel is opaque, so the bar above it goes solid to match rather
   than staying translucent over the hero. The spec does not cover this state. */
.site-header.menu-open {
    background: var(--surface);
}

/* The wordmark is the mono SVG, which paints in currentColor and therefore renders
   black inside an <img>. Forced white while the header is glass; left black once
   scrolled onto light content. The full-colour version is not used here — its white
   letter fills vanish against a light header. */
.site-header .brand-logo {
    filter: brightness(0) invert(1);
    transition: filter 0.35s ease;
}

.site-header.scrolled .brand-logo,
.site-header.menu-open .brand-logo,
.page-light-top .site-header .brand-logo {
    filter: none;
}

.site-header .brand-tag {
    color: rgba(255, 255, 255, 0.75);
}

.site-header.scrolled .brand-tag,
.site-header.menu-open .brand-tag,
.page-light-top .site-header .brand-tag {
    color: var(--ink-3);
}

.site-header .nav-link {
    color: rgba(255, 255, 255, 0.92);
}

.site-header .nav-link:hover {
    color: #ffffff;
}

.site-header.scrolled .nav-link,
.site-header.menu-open .nav-link,
.page-light-top .site-header .nav-link {
    color: var(--ink);
}

.site-header.scrolled .nav-link:hover,
.site-header.menu-open .nav-link:hover,
.page-light-top .site-header .nav-link:hover {
    color: var(--haat-primary-deep);
}

.site-header .menu-toggle {
    border-color: rgba(255, 255, 255, 0.3);
    background: rgba(255, 255, 255, 0.1);
    color: #ffffff;
}

.site-header.scrolled .menu-toggle,
.site-header.menu-open .menu-toggle,
.page-light-top .site-header .menu-toggle {
    border-color: var(--line);
    background: none;
    color: var(--haat-primary-deep);
}

/* A fixed header no longer occupies flow space — the first block of each page
   makes room for it, and anchor targets clear it when scrolled to. */
.hero {
    padding-top: var(--header-h);
}

.page-hero {
    padding-top: calc(clamp(3rem, 6vw, 5rem) + var(--header-h));
}

.legal-page {
    padding-top: calc(var(--section-y) + var(--header-h));
}

.site-nav {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1.5rem;
    min-height: var(--header-h);
    padding-block: 0.625rem;
}

.brand {
    display: inline-flex;
    align-items: center;
    gap: 0.625rem;
    min-width: 0;
}



.brand-tag {
    display: block;
    margin-top: 1px;
    color: var(--ink-3);
    font-size: 0.6875rem;
    font-weight: 500;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    white-space: nowrap;
}

.nav-links {
    display: none;
    align-items: center;
    gap: 1.75rem;
}

.nav-link {
    color: var(--ink-2);
    font-size: var(--fs-sm);
    font-weight: 500;
    transition: color 0.15s ease;
}

.nav-link:hover {
    color: var(--haat-primary-deep);
}

.nav-cta {
    display: none;
}

.menu-toggle {
    display: inline-flex;
    width: 2.5rem;
    height: 2.5rem;
    align-items: center;
    justify-content: center;
    border: 1px solid var(--line-strong);
    border-radius: var(--r-sm);
    background: #fff;
    color: var(--ink);
}

.menu-toggle svg {
    width: 1.15rem;
    height: 1.15rem;
}

.mobile-menu {
    border-top: 1px solid var(--line);
    background: #fff;
}

.mobile-menu-inner {
    display: grid;
    gap: 0.125rem;
    padding-block: 0.75rem;
}

.mobile-menu a {
    border-radius: var(--r-sm);
    padding: 0.7rem 0.75rem;
    color: var(--ink-2);
    font-size: var(--fs-body);
    font-weight: 500;
}

.mobile-menu a:hover {
    background: var(--surface-tint);
    color: var(--ink);
}

.mobile-menu .mobile-menu-cta {
    margin-top: 0.5rem;
    background: var(--haat-primary-deep);
    color: #fff;
    font-weight: 600;
    text-align: center;
}

@media (min-width: 1024px) {
    .nav-links,
    .nav-cta {
        display: inline-flex;
    }

    .menu-toggle {
        display: none;
    }
}

/* --------------------------------------------------------------------------
   5. Buttons, pills, labels
   -------------------------------------------------------------------------- */

.btn-primary,
.btn-secondary,
.nav-cta {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    min-height: 2.875rem;
    border-radius: var(--r-sm);
    padding: 0.65rem 1.25rem;
    font-size: var(--fs-body);
    font-weight: 600;
    letter-spacing: 0;
    white-space: nowrap;
    transition: background 0.15s ease, border-color 0.15s ease, color 0.15s ease;
}

.btn-primary,
.nav-cta {
    border: 1px solid var(--haat-primary-deep);
    background: var(--haat-primary-deep);
    color: #fff;
}

.btn-primary:hover,
.nav-cta:hover {
    background: var(--haat-primary-dark);
    border-color: var(--haat-primary-dark);
}

.btn-secondary {
    border: 1px solid var(--line-strong);
    background: #fff;
    color: var(--ink);
}

.btn-secondary:hover {
    border-color: var(--haat-primary-deep);
    color: var(--haat-primary-deep);
}

.section--dark .btn-secondary {
    border-color: rgba(255, 255, 255, 0.28);
    background: transparent;
    color: #fff;
}

.section--dark .btn-secondary:hover {
    border-color: #fff;
    background: rgba(255, 255, 255, 0.08);
    color: #fff;
}

/* The header CTA is desktop-only; the hamburger owns mobile.
   Declared after the shared button rule so it wins on display. */
.nav-cta {
    display: none;
    min-height: 2.5rem;
    padding: 0.5rem 1rem;
    font-size: var(--fs-sm);
}

@media (min-width: 1024px) {
    .nav-cta {
        display: inline-flex;
    }
}

.btn-row {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    margin-top: 1.5rem;
}

.eyebrow {
    display: inline-block;
    color: var(--haat-primary-deep);
    font-size: var(--fs-xs);
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.eyebrow-light {
    color: var(--haat-sky);
}

/* App store buttons */
.store-row {
    display: flex;
    flex-wrap: wrap;
    gap: 0.625rem;
    margin-top: 1.25rem;
}

.store-button {
    display: inline-flex;
    align-items: center;
    gap: 0.625rem;
    min-height: 2.875rem;
    border: 1px solid var(--ink);
    border-radius: var(--r-sm);
    background: var(--ink);
    color: #fff;
    padding: 0.5rem 1rem;
    transition: opacity 0.15s ease;
}

.store-button:hover {
    opacity: 0.88;
}

.store-button svg {
    width: 1.15rem;
    height: 1.15rem;
    flex: none;
    color: #fff;
}

.store-button span {
    display: block;
    font-size: 0.9375rem;
    font-weight: 600;
    line-height: 1.15;
}

.store-button small {
    display: block;
    color: #b6b2ae;
    font-size: 0.625rem;
    font-weight: 500;
    line-height: 1.2;
}

/* Check pills (partner benefits) */
.benefit-pill {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    border: 1px solid var(--line);
    border-radius: var(--r-sm);
    background: #fff;
    padding: 0.625rem 0.875rem;
    color: var(--ink);
    font-size: var(--fs-sm);
    font-weight: 500;
}

.benefit-pill svg {
    width: 0.95rem;
    height: 0.95rem;
    flex: none;
    color: var(--haat-primary-deep);
}

.benefit-pill-dark {
    border-color: rgba(255, 255, 255, 0.14);
    background: rgba(255, 255, 255, 0.06);
    color: #fff;
}

.benefit-pill-dark svg {
    color: var(--haat-sky);
}

/* --------------------------------------------------------------------------
   6. Cards
   -------------------------------------------------------------------------- */

.card {
    border: 1px solid var(--line);
    border-radius: var(--r-md);
    background: #fff;
    padding: 1.25rem;
    box-shadow: var(--shadow-xs);
    transition: border-color 0.15s ease, box-shadow 0.15s ease;
}

.card:hover {
    border-color: var(--line-strong);
    box-shadow: var(--shadow-sm);
}

.card h3 {
    font-size: var(--fs-h3);
    line-height: 1.35;
}

.card p {
    margin-top: 0.4rem;
    color: var(--ink-2);
    font-size: var(--fs-sm);
    line-height: 1.6;
}

.icon-bubble {
    display: inline-flex;
    width: 2.25rem;
    height: 2.25rem;
    align-items: center;
    justify-content: center;
    margin-bottom: 0.875rem;
    border-radius: var(--r-sm);
    background: var(--haat-mist);
    color: var(--haat-primary-deep);
}

.icon-bubble svg {
    width: 1.125rem;
    height: 1.125rem;
}

/* Stats — one divided strip rather than four floating cards */
.stat-strip {
    display: grid;
    gap: 0;
    grid-template-columns: 1fr;
    margin-inline: auto;
    max-width: 62rem;
    border: 1px solid var(--line);
    border-radius: var(--r-lg);
    background: #fff;
    box-shadow: var(--shadow-sm);
    overflow: hidden;
}

.stat-item {
    padding: 1.5rem 1.75rem;
    text-align: center;
}

.stat-item + .stat-item {
    border-top: 1px solid var(--line);
}

.stat-item strong {
    display: block;
    color: var(--haat-heading);
    font-family: Sora, Inter, sans-serif;
    font-size: 1.75rem;
    font-weight: 700;
    line-height: 1.1;
    letter-spacing: -0.02em;
}

.stat-item h3 {
    margin-top: 0.3rem;
    font-size: var(--fs-body);
    font-weight: 600;
}

.stat-item p {
    margin-top: 0.3rem;
    color: var(--ink-3);
    font-size: var(--fs-sm);
    line-height: 1.5;
}

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

    .stat-item + .stat-item {
        border-top: 0;
    }

    .stat-item:nth-child(n + 3) {
        border-top: 1px solid var(--line);
    }

    .stat-item:nth-child(even) {
        border-left: 1px solid var(--line);
    }
}

@media (min-width: 1000px) {
    .stat-strip {
        grid-template-columns: repeat(4, minmax(0, 1fr));
    }

    .stat-item:nth-child(n + 3) {
        border-top: 0;
    }

    .stat-item + .stat-item {
        border-left: 1px solid var(--line);
    }
}

/* Service areas */
.service-area-card {
    scroll-margin-top: calc(var(--header-h) + 1.5rem);
}

.service-area-icon {
    display: inline-flex;
    width: 2.25rem;
    height: 2.25rem;
    align-items: center;
    justify-content: center;
    margin-bottom: 0.875rem;
    border-radius: var(--r-sm);
    background: var(--haat-mist);
    color: var(--haat-primary-deep);
}

.service-area-icon svg {
    width: 1.125rem;
    height: 1.125rem;
}

/* Feature tiles — soft white squares, icon over label */
.feature-grid {
    display: grid;
    gap: 1rem;
    grid-template-columns: repeat(auto-fit, minmax(9rem, 1fr));
    max-width: 60rem;
    margin-inline: auto;
}

.feature-tile {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    gap: 0.75rem;
    border-radius: var(--r-lg);
    background: #fff;
    padding: 1.25rem 0.875rem;
    text-align: center;
    box-shadow: var(--shadow-sm);
    transition: transform 0.18s ease, box-shadow 0.18s ease;
}

.feature-tile:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-md);
}

.feature-tile i,
.feature-tile svg {
    display: block;
}

.feature-tile svg {
    width: 1.5rem;
    height: 1.5rem;
    color: var(--haat-primary-deep);
}

.feature-tile:nth-child(3n) svg {
    color: var(--haat-accent);
}

.feature-tile span {
    color: var(--ink);
    font-size: var(--fs-sm);
    font-weight: 600;
    line-height: 1.3;
}

/* Ecosystem */
.ecosystem-card h3 {
    font-size: 1.125rem;
}

/* Rewards — the premium band, styled after Zomato Gold */
.rewards-lockup {
    text-align: center;
}


.rewards-title {
    color: var(--haat-primary);
    font-size: clamp(2.5rem, 6vw, 4.5rem);
    font-weight: 700;
    letter-spacing: 0.02em;
    line-height: 1;
    text-transform: uppercase;
}

.rewards-sub {
    margin-top: 1rem;
    margin-inline: auto;
    max-width: 30rem;
    color: rgba(255, 255, 255, 0.78);
    font-size: var(--fs-lead);
    line-height: 1.6;
}

.rewards-divider {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    margin-block: clamp(2rem, 4vw, 3rem);
    color: #fff;
    font-size: var(--fs-sm);
    font-weight: 600;
    letter-spacing: 0.2em;
    text-transform: uppercase;
}

.rewards-divider::before,
.rewards-divider::after {
    content: "";
    width: clamp(1.5rem, 6vw, 5rem);
    height: 1px;
    background: rgba(255, 255, 255, 0.25);
}

.reward-grid {
    display: grid;
    gap: 1rem 2.5rem;
    grid-template-columns: repeat(auto-fit, minmax(15rem, 1fr));
    max-width: 46rem;
    margin-inline: auto;
}

.reward-card {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    color: #fff;
    font-size: var(--fs-body);
    font-weight: 500;
}

.reward-card svg {
    width: 1.15rem;
    height: 1.15rem;
    flex: none;
    color: var(--haat-primary);
}

/* Testimonials */
.story-card {
    display: flex;
    height: auto;
    flex-direction: column;
    border: 1px solid var(--line);
    border-radius: var(--r-md);
    background: #fff;
    padding: 1.25rem;
    box-shadow: var(--shadow-xs);
}

.story-card .rating {
    color: var(--haat-accent);
    font-size: 0.875rem;
    letter-spacing: 0.08em;
}

.story-card p {
    margin-top: 0.65rem;
    color: var(--ink);
    font-size: var(--fs-body);
    line-height: 1.65;
}

.story-meta {
    display: flex;
    align-items: center;
    gap: 0.625rem;
    margin-top: 1.25rem;
    padding-top: 1rem;
    border-top: 1px solid var(--line);
}

.story-avatar {
    display: inline-flex;
    width: 2.125rem;
    height: 2.125rem;
    flex: none;
    align-items: center;
    justify-content: center;
    border-radius: var(--r-pill);
    background: var(--haat-mist);
    color: var(--haat-primary-deep);
    font-size: var(--fs-sm);
    font-weight: 600;
}

.story-card strong {
    display: block;
    font-size: var(--fs-sm);
    font-weight: 600;
}

.story-card .story-meta span {
    display: block;
    color: var(--ink-3);
    font-size: var(--fs-xs);
}

.slider-nav {
    display: none;
    justify-content: center;
    gap: 0.5rem;
    margin-top: 1.75rem;
}

.slider-btn {
    display: inline-flex;
    width: 2.375rem;
    height: 2.375rem;
    align-items: center;
    justify-content: center;
    border: 1px solid var(--line-strong);
    border-radius: var(--r-pill);
    background: #fff;
    color: var(--ink);
    transition: border-color 0.15s ease, color 0.15s ease;
}

.slider-btn:hover {
    border-color: var(--haat-primary-deep);
    color: var(--haat-primary-deep);
}

.slider-btn svg {
    width: 1rem;
    height: 1rem;
}

@media (min-width: 768px) {
    .slider-nav {
        display: flex;
    }
}

/* FAQ */
.faq-list {
    display: grid;
    gap: 0.5rem;
    max-width: 48rem;
    margin-inline: auto;
}

.faq-item {
    border: 1px solid var(--line);
    border-radius: var(--r-md);
    background: #fff;
    padding: 0.9rem 1.1rem;
}

.faq-item summary {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    cursor: pointer;
    list-style: none;
    color: var(--ink);
    font-size: var(--fs-body);
    font-weight: 600;
}

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

.faq-item summary::after {
    content: "+";
    flex: none;
    color: var(--ink-3);
    font-size: 1.1rem;
    font-weight: 400;
    line-height: 1;
}

.faq-item[open] summary::after {
    content: "\2013";
}

.faq-item p {
    margin-top: 0.65rem;
    color: var(--ink-2);
    font-size: var(--fs-sm);
    line-height: 1.7;
}

/* --------------------------------------------------------------------------
   7. Hero
   -------------------------------------------------------------------------- */

/* Full-bleed cinematic hero: dark image, centred white content.
   This is the one place a viewport-height section is correct. */
.hero {
    position: relative;
    isolation: isolate;
    display: grid;
    place-items: center;
    overflow: hidden;
    min-height: min(100svh, 42rem);
    background: var(--surface-dark);
    text-align: center;
}

.hero-bg {
    position: absolute;
    inset: 0;
    z-index: -2;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

.hero-overlay {
    position: absolute;
    inset: 0;
    z-index: -1;
    background:
        linear-gradient(180deg, rgba(8, 14, 17, 0.72) 0%, rgba(8, 14, 17, 0.55) 45%, rgba(8, 14, 17, 0.82) 100%),
        radial-gradient(ellipse at center, rgba(8, 14, 17, 0.2) 0%, rgba(8, 14, 17, 0.7) 100%);
}

.hero-shell {
    padding-block: clamp(3.5rem, 8vw, 6rem);
}

.hero-copy {
    max-width: 46rem;
    margin-inline: auto;
}


.hero-title {
    color: #fff;
    font-size: var(--fs-hero);
    line-height: 1.12;
    text-wrap: balance;
}

.hero-lead {
    margin-top: 1.25rem;
    margin-inline: auto;
    max-width: 34rem;
    color: rgba(255, 255, 255, 0.86);
    font-size: var(--fs-lead);
    line-height: 1.6;
}

.hero .store-row {
    justify-content: center;
    margin-top: 2rem;
}

.hero .store-button {
    border-color: rgba(255, 255, 255, 0.22);
}

.hero-trust {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 1.5rem;
    margin-top: 2rem;
}

.hero-trust span {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    color: rgba(255, 255, 255, 0.82);
    font-size: var(--fs-sm);
    font-weight: 500;
}

.hero-trust svg {
    width: 0.95rem;
    height: 0.95rem;
    color: var(--haat-primary);
}

.hero-scroll {
    position: absolute;
    bottom: 1.75rem;
    left: 50%;
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    transform: translateX(-50%);
    color: rgba(255, 255, 255, 0.85);
    font-size: var(--fs-sm);
    font-weight: 500;
}

.hero-scroll svg {
    width: 1rem;
    height: 1rem;
    animation: scroll-nudge 1.8s ease-in-out infinite;
}

@keyframes scroll-nudge {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(4px); }
}


/* --------------------------------------------------------------------------
   8. Media panels
   -------------------------------------------------------------------------- */

.image-panel {
    position: relative;
    overflow: hidden;
    border-radius: var(--r-lg);
    box-shadow: var(--shadow-md);
}

.image-panel img {
    width: 100%;
    height: clamp(18rem, 34vw, 24rem);
    object-fit: cover;
}

.image-panel-dark {
    box-shadow: none;
}

.glass-caption {
    position: absolute;
    left: 0.875rem;
    right: 0.875rem;
    bottom: 0.875rem;
    border-radius: var(--r-md);
    background: rgba(255, 255, 255, 0.94);
    padding: 0.75rem 0.875rem;
    backdrop-filter: blur(10px);
}

.glass-caption strong {
    display: block;
    color: var(--ink);
    font-size: var(--fs-sm);
    font-weight: 600;
}

.glass-caption span {
    display: block;
    margin-top: 0.1rem;
    color: var(--ink-3);
    font-size: var(--fs-xs);
}

/* --------------------------------------------------------------------------
   9. App showcase phone frames
   -------------------------------------------------------------------------- */

.app-screen-pills {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.5rem;
    margin-bottom: 2.5rem;
}

.app-screen-pills span {
    border: 1px solid var(--line);
    border-radius: var(--r-pill);
    background: #fff;
    padding: 0.375rem 0.75rem;
    color: var(--ink-2);
    font-size: var(--fs-xs);
    font-weight: 500;
}

.phone-grid {
    display: grid;
    gap: 1.25rem;
    grid-template-columns: repeat(auto-fit, minmax(15rem, 1fr));
    justify-items: center;
}

.phone-frame {
    position: relative;
    width: 100%;
    max-width: 17.5rem;
    overflow: hidden;
    border: 8px solid var(--ink);
    border-radius: 2rem;
    background: #fff;
    padding: 1.75rem 0.75rem 0.875rem;
    box-shadow: var(--shadow-md);
}

.phone-notch {
    position: absolute;
    top: 0.55rem;
    left: 50%;
    width: 4rem;
    height: 0.65rem;
    transform: translateX(-50%);
    border-radius: var(--r-pill);
    background: var(--ink);
}

.app-top {
    border-radius: var(--r-sm);
    background: var(--haat-mist);
    padding: 0.75rem 0.875rem;
}

.app-top span {
    display: block;
    color: var(--ink-3);
    font-size: 0.6875rem;
    font-weight: 500;
}

.app-top strong {
    display: block;
    margin-top: 0.1rem;
    color: var(--ink);
    font-size: 0.9375rem;
    font-weight: 600;
}

.search-pill {
    display: flex;
    align-items: center;
    gap: 0.45rem;
    margin-top: 0.625rem;
    border: 1px solid var(--line);
    border-radius: var(--r-pill);
    background: #fff;
    padding: 0.55rem 0.75rem;
    color: var(--ink-3);
    font-size: 0.75rem;
    font-weight: 500;
}

.search-pill svg {
    width: 0.85rem;
    height: 0.85rem;
    flex: none;
}

.food-card {
    margin-top: 0.625rem;
    border-radius: var(--r-sm);
    background: linear-gradient(135deg, #fef3c7, #fed7aa);
}

.food-card.large {
    height: 6.5rem;
    background:
        linear-gradient(180deg, rgba(23, 20, 18, 0.02), rgba(23, 20, 18, 0.26)),
        url("../images/haaat-hero-food.jpg") center / cover;
}

.food-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 0.5rem;
    margin-top: 0.5rem;
}

.food-grid span {
    height: 3.5rem;
    border-radius: var(--r-sm);
    background: linear-gradient(135deg, #f8fafc, #dbeafe);
}

.food-grid span:nth-child(1) {
    background: url("../images/haaat-hero.jpg") center / cover;
}

.food-grid span:nth-child(2) {
    background: url("../images/haaat-hero-food.jpg") center / cover;
}

.food-grid span:nth-child(3) {
    background: linear-gradient(135deg, #fff7ed, #ffd8c2);
}

.food-grid span:nth-child(4) {
    background: linear-gradient(135deg, #ecfeff, #bdeffa);
}

.merchant-panel {
    border-radius: var(--r-sm);
    background: var(--surface-tint);
    padding: 0.75rem 0.875rem;
}

.live-dot {
    display: inline-block;
    width: 0.45rem;
    height: 0.45rem;
    border-radius: var(--r-pill);
    background: var(--haat-green);
}

.merchant-panel strong {
    display: block;
    margin-top: 0.4rem;
    color: var(--ink);
    font-size: 0.875rem;
    font-weight: 600;
}

.merchant-panel small {
    display: block;
    margin-top: 0.1rem;
    color: var(--ink-3);
    font-size: 0.6875rem;
}

.order-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.75rem;
    margin-top: 0.5rem;
    border: 1px solid var(--line);
    border-radius: var(--r-sm);
    background: #fff;
    padding: 0.55rem 0.65rem;
    font-size: 0.75rem;
}

.order-row span {
    color: var(--ink-3);
    font-weight: 500;
}

.order-row strong {
    color: var(--haat-primary-deep);
    font-weight: 600;
}

.chart-bars {
    display: flex;
    align-items: flex-end;
    gap: 0.375rem;
    height: 4rem;
    margin-top: 0.75rem;
}

.chart-bars span {
    flex: 1;
    border-radius: 3px 3px 0 0;
    background: var(--haat-primary);
}

.chart-bars span:nth-child(1) { height: 35%; }
.chart-bars span:nth-child(2) { height: 52%; }
.chart-bars span:nth-child(3) { height: 72%; }
.chart-bars span:nth-child(4) { height: 44%; }
.chart-bars span:nth-child(5) {
    height: 86%;
    background: var(--haat-accent);
}

.map-card {
    position: relative;
    height: 7.5rem;
    border-radius: var(--r-sm);
    background: linear-gradient(135deg, #fff5ed, #e6f8fb);
    padding: 0.75rem;
}

.map-card svg {
    width: 1.1rem;
    height: 1.1rem;
    color: var(--haat-primary-deep);
}

.map-card span {
    display: block;
    width: 75%;
    height: 0.25rem;
    margin: 2.5rem auto 0;
    border-radius: var(--r-pill);
    background: repeating-linear-gradient(90deg, var(--haat-primary) 0 0.9rem, transparent 0.9rem 1.5rem);
    transform: rotate(-18deg);
}

.delivery-status {
    margin-top: 0.625rem;
    border-radius: var(--r-sm);
    background: var(--surface-tint);
    padding: 0.75rem 0.875rem;
}

.delivery-status strong {
    display: block;
    color: var(--ink);
    font-size: 0.875rem;
    font-weight: 600;
}

.delivery-status p {
    margin-top: 0.15rem;
    color: var(--ink-3);
    font-size: 0.6875rem;
    line-height: 1.5;
}

.route-list {
    display: grid;
    gap: 0.375rem;
    margin-top: 0.5rem;
}

.route-list span {
    border: 1px solid var(--line);
    border-radius: var(--r-sm);
    background: #fff;
    padding: 0.5rem 0.65rem;
    color: var(--ink-2);
    font-size: 0.75rem;
    font-weight: 500;
}

/* --------------------------------------------------------------------------
   10. Download panel
   -------------------------------------------------------------------------- */

/* One tinted panel with the phone cropped by its lower edge */
.download-card {
    display: grid;
    gap: clamp(2rem, 4vw, 3rem);
    align-items: end;
    overflow: hidden;
    border: 1px solid var(--line);
    border-radius: 24px;
    background: linear-gradient(160deg, var(--surface-tint), #ffffff 70%);
    padding: clamp(2rem, 4vw, 3.25rem) clamp(1.5rem, 4vw, 3.25rem) 0;
}

.download-card > :first-child {
    padding-bottom: clamp(2rem, 4vw, 3.25rem);
}

.download-phone {
    display: flex;
    justify-content: center;
}

.download-phone .phone-frame {
    max-width: 17rem;
    margin-bottom: -3.5rem;
    border-bottom: 0;
    border-radius: 2rem 2rem 0 0;
}

.qr-panel {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
    padding: 1.5rem 0.5rem 3rem;
    text-align: center;
}

.qr-panel strong {
    color: var(--ink);
    font-size: var(--fs-body);
    font-weight: 600;
    line-height: 1.4;
}

.qr-panel .qr-mock {
    width: 8.5rem;
    min-width: 8.5rem;
    height: 8.5rem;
    gap: 0.3rem;
    border-width: 0.5rem;
}

@media (min-width: 860px) {
    .download-card {
        grid-template-columns: minmax(0, 1fr) minmax(0, 0.8fr);
    }
}

.qr-download {
    display: flex;
    align-items: center;
    gap: 1rem;
    border: 1px solid var(--line);
    border-radius: var(--r-md);
    background: var(--surface-tint);
    padding: 1rem;
}

.qr-download strong {
    display: block;
    color: var(--ink);
    font-size: var(--fs-body);
    font-weight: 600;
}

.qr-download p {
    margin-top: 0.2rem;
    color: var(--ink-3);
    font-size: var(--fs-xs);
    line-height: 1.5;
}

.qr-mock {
    display: grid;
    width: 4.5rem;
    min-width: 4.5rem;
    height: 4.5rem;
    grid-template-columns: repeat(4, 1fr);
    gap: 0.2rem;
    border: 0.3rem solid #fff;
    border-radius: var(--r-sm);
    background: #fff;
    box-shadow: var(--shadow-xs);
}

.qr-mock span {
    border-radius: 2px;
    background: var(--ink);
}

.qr-mock span:nth-child(3n),
.qr-mock span:nth-child(4n + 1) {
    background: var(--haat-primary);
}

.qr-mock span:nth-child(5),
.qr-mock span:nth-child(10),
.qr-mock span:nth-child(14) {
    opacity: 0;
}

.download-highlights {
    display: flex;
    flex-wrap: wrap;
    gap: 1.25rem;
    margin-top: 1.75rem;
}

.download-highlights span {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    color: var(--ink-2);
    font-size: var(--fs-sm);
    font-weight: 500;
}

.download-highlights svg {
    width: 1rem;
    height: 1rem;
    flex: none;
    color: var(--haat-primary-deep);
}

/* --------------------------------------------------------------------------
   11. Footer
   -------------------------------------------------------------------------- */

.site-footer {
    background: var(--surface-dark);
    color: var(--ink-inverse-2);
}

.footer-top {
    display: grid;
    gap: 2.5rem;
    padding-block: clamp(2.5rem, 4vw, 3.5rem);
}


.footer-brand p {
    margin-top: 1rem;
    max-width: 24rem;
    color: #a8a29e;
    font-size: var(--fs-sm);
    line-height: 1.7;
}

.footer-mail {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    margin-top: 1rem;
    color: var(--haat-sky);
    font-size: var(--fs-sm);
    font-weight: 500;
}

.footer-mail svg {
    width: 1rem;
    height: 1rem;
}

.footer-grid {
    display: grid;
    gap: 1.75rem;
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.footer-title {
    color: #fff;
    font-family: Inter, sans-serif;
    font-size: var(--fs-sm);
    font-weight: 600;
    letter-spacing: 0;
}

.footer-grid a {
    display: block;
    margin-top: 0.55rem;
    color: #a8a29e;
    font-size: var(--fs-sm);
    line-height: 1.4;
    transition: color 0.15s ease;
}

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

.footer-bottom {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-block: 1.125rem;
    color: #78716c;
    font-size: var(--fs-xs);
}

.footer-bottom a {
    color: #a8a29e;
    transition: color 0.15s ease;
}

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

@media (min-width: 720px) {
    .footer-grid {
        grid-template-columns: repeat(4, minmax(0, 1fr));
    }
}

@media (min-width: 1024px) {
    .footer-top {
        grid-template-columns: minmax(0, 1fr) minmax(0, 2fr);
        gap: 4rem;
    }
}

/* --------------------------------------------------------------------------
   12. Sticky mobile CTA
   -------------------------------------------------------------------------- */

.mobile-cta-bar {
    display: none;
}

@media (max-width: 767px) {
    .mobile-cta-bar {
        display: block;
        position: fixed;
        bottom: 0;
        left: 0;
        right: 0;
        z-index: 200;
        padding: 0.625rem;
        pointer-events: none;
        transform: translateY(110%);
        opacity: 0;
        visibility: hidden;
        transition: transform 0.25s ease, opacity 0.25s ease, visibility 0.25s;
    }

    .mobile-cta-bar.is-visible {
        transform: translateY(0);
        opacity: 1;
        visibility: visible;
        pointer-events: auto;
    }

    .mobile-cta-inner {
        display: flex;
        align-items: center;
        justify-content: space-between;
        gap: 0.75rem;
        border: 1px solid var(--line);
        border-radius: var(--r-md);
        background: rgba(255, 255, 255, 0.97);
        padding: 0.625rem 0.75rem;
        box-shadow: var(--shadow-lg);
        backdrop-filter: blur(12px);
    }

    .mobile-cta-text {
        display: flex;
        min-width: 0;
        flex-direction: column;
    }

    .mobile-cta-brand {
        font-family: Sora, Inter, sans-serif;
        font-size: var(--fs-sm);
        font-weight: 700;
        color: var(--ink);
    }

    .mobile-cta-tagline {
        color: var(--ink-3);
        font-size: 0.6875rem;
        line-height: 1.3;
    }

    .mobile-cta-buttons {
        display: flex;
        flex: none;
        gap: 0.375rem;
    }

    .mobile-cta-btn {
        display: inline-flex;
        min-height: 2.375rem;
        align-items: center;
        justify-content: center;
        gap: 0.35rem;
        border-radius: var(--r-sm);
        background: var(--ink);
        color: #fff;
        padding: 0.4rem 0.6rem;
    }

    .mobile-cta-btn svg {
        width: 0.85rem;
        height: 0.85rem;
        flex: none;
    }

    .mobile-cta-btn span {
        display: block;
        font-size: 0.6875rem;
        font-weight: 600;
        line-height: 1.1;
        text-align: left;
    }

    .mobile-cta-btn small {
        display: block;
        color: #b6b2ae;
        font-size: 0.5rem;
        line-height: 1.1;
    }
}

/* --------------------------------------------------------------------------
   13. Motion
   -------------------------------------------------------------------------- */

/* Content is visible by default. `.reveal-ready` is set by JS only when
   IntersectionObserver is available and motion is not reduced, so a script
   or CDN failure can never leave content hidden. */
[data-animate] {
    opacity: 1;
    transform: none;
}

.reveal-ready [data-animate] {
    opacity: 0;
    transform: translateY(12px);
    transition: opacity 0.5s ease, transform 0.5s ease;
    will-change: opacity, transform;
}

.reveal-ready [data-animate].is-visible {
    opacity: 1;
    transform: none;
    will-change: auto;
}

@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        scroll-behavior: auto !important;
        transition-duration: 0.01ms !important;
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
    }

    .reveal-ready [data-animate] {
        opacity: 1 !important;
        transform: none !important;
    }
}

/* --------------------------------------------------------------------------
   14. Responsive refinements
   -------------------------------------------------------------------------- */

@media (max-width: 900px) {
    .split--reverse-mobile > :first-child {
        order: 2;
    }
}

@media (max-width: 767px) {
    .hero {
        min-height: min(100svh, 38rem);
    }

    .hero .store-row .store-button {
        flex: 1 1 9rem;
    }

    .hero-trust {
        gap: 0.75rem 1.25rem;
    }

    .section--curved::before,
    .section--curved::after {
        height: 3rem;
    }

    .section--curved::before {
        top: -1.5rem;
    }

    .section--curved::after {
        bottom: -1.5rem;
    }

    .feature-grid {
        grid-template-columns: repeat(auto-fit, minmax(7.5rem, 1fr));
    }

    /* Clear the sticky download bar */
    body {
        padding-bottom: 4.5rem;
    }
}

@media (max-width: 480px) {
    .store-row .store-button {
        flex: 1 1 auto;
    }

    .split {
        gap: 1.75rem;
    }
}

/* ---------------------------------------------------------------------------
   Brand logo lockups
   --------------------------------------------------------------------------- */

.brand-logo {
    display: block;
    width: auto;
    height: 2.5rem;
    flex: none;
}

/* The mono wordmark paints in currentColor, which an <img> resolves to black.
   brightness(0) flattens it, invert(1) lifts it to white for dark panels. */
.brand-logo--light {
    filter: brightness(0) invert(1);
}

.site-footer .brand-logo {
    height: 2.25rem;
}

.hero-logo {
    display: block;
    width: auto;
    height: clamp(3.5rem, 8vw, 5.75rem);
    margin-bottom: 1.25rem;
    filter: brightness(0) invert(1) drop-shadow(0 2px 12px rgba(0, 0, 0, 0.45));
}

.hero-copy .hero-logo {
    margin-inline: auto;
}

.rewards-lockup .hero-logo {
    height: clamp(2.5rem, 5vw, 3.5rem);
    margin-inline: auto;
    margin-bottom: 0.75rem;
}

/* ---------------------------------------------------------------------------
   Legal pages (privacy policy)
   --------------------------------------------------------------------------- */

.legal-container {
    max-width: 52rem;
}

.legal-breadcrumb {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 1.5rem;
    color: var(--ink-3);
    font-size: var(--fs-sm);
}

.legal-breadcrumb a {
    color: var(--haat-primary-deep);
}

.legal-breadcrumb a:hover {
    text-decoration: underline;
}

.legal-page .section-heading {
    text-align: left;
    margin-inline: 0;
}

.legal-page h1 {
    color: var(--ink);
    font-family: Sora, Inter, sans-serif;
    font-size: var(--fs-h2);
    font-weight: 700;
    line-height: 1.15;
}

.legal-lead {
    color: var(--ink-2);
    font-size: var(--fs-lead);
    line-height: 1.7;
}

.legal-toc {
    margin-block: 2rem;
    border: 1px solid var(--line);
    border-radius: var(--r-lg);
    background: var(--surface-tint);
    padding: 1.25rem 1.5rem;
}

.legal-toc h2 {
    margin-bottom: 0.625rem;
    color: var(--ink);
    font-family: Inter, sans-serif;
    font-size: var(--fs-sm);
    font-weight: 600;
    letter-spacing: 0.06em;
    text-transform: uppercase;
}

.legal-toc ol {
    margin: 0;
    padding-left: 1.125rem;
    color: var(--ink-2);
    font-size: var(--fs-body);
    line-height: 1.9;
}

.legal-toc a {
    color: var(--haat-primary-deep);
}

.legal-toc a:hover {
    text-decoration: underline;
}

.legal-section {
    margin-top: 2.5rem;
    scroll-margin-top: 6rem;
}

.legal-section h2 {
    margin-bottom: 0.75rem;
    color: var(--ink);
    font-family: Sora, Inter, sans-serif;
    font-size: 1.375rem;
    font-weight: 600;
    line-height: 1.3;
}

.legal-section h3 {
    margin-top: 1.5rem;
    margin-bottom: 0.5rem;
    color: var(--ink);
    font-size: var(--fs-h3);
    font-weight: 600;
}

.legal-section p {
    margin-bottom: 1rem;
    color: var(--ink-2);
    font-size: var(--fs-body);
    line-height: 1.8;
}

.legal-section ul {
    margin-bottom: 1rem;
    padding-left: 1.125rem;
    list-style: disc;
}

.legal-section li {
    margin-bottom: 0.5rem;
    color: var(--ink-2);
    font-size: var(--fs-body);
    line-height: 1.75;
}

.legal-section li strong {
    color: var(--ink);
}

.legal-section a {
    color: var(--haat-primary-deep);
    text-decoration: underline;
    text-underline-offset: 2px;
}

.legal-contact {
    list-style: none;
    padding-left: 0;
    border: 1px solid var(--line);
    border-radius: var(--r-lg);
    padding: 1.25rem 1.5rem;
}

.legal-contact li:last-child {
    margin-bottom: 0;
}

.footer-bottom-links {
    display: inline-flex;
    align-items: center;
    gap: 1.25rem;
}

/* ---------------------------------------------------------------------------
   Standalone pages: hero, steps, specs, coverage
   --------------------------------------------------------------------------- */

.page-hero {
    position: relative;
    background: var(--surface-dark);
    color: var(--ink-inverse);
    padding-block: clamp(3rem, 6vw, 5rem);
}

.page-hero::before {
    content: "";
    position: absolute;
    inset: 0;
    background:
        linear-gradient(180deg, rgba(13, 20, 24, 0.88), rgba(13, 20, 24, 0.96)),
        url("../images/haaat-delivery-partner.jpg") center / cover;
    opacity: 0.85;
}

.page-hero-shell {
    position: relative;
    display: grid;
    gap: 2.5rem;
    align-items: center;
}

.page-hero-title {
    color: #fff;
    font-family: Sora, Inter, sans-serif;
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 700;
    line-height: 1.12;
    margin-bottom: 1rem;
}

.page-hero-lead {
    color: var(--ink-inverse-2);
    font-size: var(--fs-lead);
    line-height: 1.7;
    max-width: 34rem;
}

.page-hero-points {
    list-style: none;
    padding: 0;
    margin-top: 1.5rem;
    display: grid;
    gap: 0.625rem;
}

.page-hero-points li {
    display: flex;
    align-items: center;
    gap: 0.625rem;
    color: #fff;
    font-size: var(--fs-body);
    font-weight: 500;
}

.page-hero-points svg {
    width: 1.125rem;
    height: 1.125rem;
    flex: none;
    color: var(--haat-sky);
}

/* Signup card */

.lead-card {
    background: var(--surface);
    border-radius: var(--r-lg);
    box-shadow: var(--shadow-lg);
    padding: clamp(1.5rem, 3vw, 2rem);
}

.lead-card h2 {
    color: var(--ink);
    font-family: Sora, Inter, sans-serif;
    font-size: 1.375rem;
    font-weight: 700;
}

.lead-card-sub {
    margin-top: 0.25rem;
    margin-bottom: 1.25rem;
    color: var(--ink-3);
    font-size: var(--fs-sm);
}

.lead-honeypot {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip-path: inset(50%);
    white-space: nowrap;
}

.field {
    margin-bottom: 1rem;
}

.field label {
    display: block;
    margin-bottom: 0.375rem;
    color: var(--ink);
    font-size: var(--fs-sm);
    font-weight: 600;
}

.field input,
.field select {
    width: 100%;
    border: 1px solid var(--line-strong);
    border-radius: var(--r-sm);
    background: var(--surface);
    padding: 0.6875rem 0.875rem;
    color: var(--ink);
    font-family: inherit;
    font-size: var(--fs-body);
    transition: border-color 0.15s ease, box-shadow 0.15s ease;
}

.field input:focus,
.field select:focus {
    outline: none;
    border-color: var(--haat-primary-deep);
    box-shadow: 0 0 0 3px rgba(14, 116, 144, 0.15);
}

/* :user-invalid only fires after the field has been interacted with, so an
   untouched empty field is not flagged as an error on page load. */
.field input:user-invalid,
.field select:user-invalid {
    border-color: #dc2626;
}

.lead-submit {
    width: 100%;
    justify-content: center;
    margin-top: 0.25rem;
}

.lead-submit[disabled] {
    opacity: 0.6;
    cursor: not-allowed;
}

.form-status:empty {
    display: none;
}

.form-status {
    margin-top: 0.75rem;
    font-size: var(--fs-sm);
    font-weight: 500;
}

.lead-note {
    margin-top: 0.875rem;
    color: var(--ink-3);
    font-size: var(--fs-xs);
    line-height: 1.6;
}

.lead-note a {
    color: var(--haat-primary-deep);
    text-decoration: underline;
}

/* Earnings, steps, documents */

.highlight-grid {
    display: grid;
    gap: 1rem;
}

.highlight-card strong {
    display: block;
    color: var(--haat-heading);
    font-family: Sora, Inter, sans-serif;
    font-size: 1.75rem;
    font-weight: 700;
    line-height: 1.1;
}

.highlight-card h3 {
    margin-top: 0.25rem;
}

.benefit-wrap {
    margin-top: 1.5rem;
}

.step-grid {
    display: grid;
    gap: 1rem;
    list-style: none;
    padding: 0;
    counter-reset: step;
}

.step-card {
    position: relative;
}

.step-number {
    display: block;
    margin-bottom: 0.5rem;
    color: var(--haat-primary-deep);
    font-family: Sora, Inter, sans-serif;
    font-size: var(--fs-xs);
    font-weight: 700;
    letter-spacing: 0.1em;
    line-height: 1;
}

.step-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 2.5rem;
    height: 2.5rem;
    margin-bottom: 0.75rem;
    border-radius: var(--r-sm);
    background: var(--haat-mist);
    color: var(--haat-primary-deep);
}

.doc-list {
    list-style: none;
    padding: 0;
    margin-top: 1.25rem;
    display: grid;
    gap: 0.625rem;
}

.doc-list li {
    display: flex;
    align-items: center;
    gap: 0.625rem;
    color: var(--ink-2);
    font-size: var(--fs-body);
}

.doc-list svg {
    width: 1.125rem;
    height: 1.125rem;
    flex: none;
    color: var(--haat-primary-deep);
}

.page-cta {
    text-align: center;
}

.page-cta .btn-row {
    justify-content: center;
}

@media (min-width: 860px) {
    .page-hero-shell {
        grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr);
        gap: 3rem;
    }

    .highlight-grid {
        grid-template-columns: repeat(auto-fit, minmax(13rem, 1fr));
    }

    .step-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (min-width: 1100px) {
    .step-grid {
        grid-template-columns: repeat(4, minmax(0, 1fr));
    }
}

/* ---------------------------------------------------------------------------
   Standalone page sections: specs, coverage, journeys, facts
   --------------------------------------------------------------------------- */

/* Requirement / document lists — a title with a small qualifying note */
.spec-grid {
    display: grid;
    gap: 1rem;
}

.spec-item {
    border: 1px solid var(--line);
    border-radius: var(--r-md);
    padding: 1.125rem 1.25rem;
}

.spec-item h3 {
    margin: 0 0 0.25rem;
    color: var(--ink);
    font-size: var(--fs-h3);
    font-weight: 600;
}

.spec-item span {
    color: var(--ink-3);
    font-size: var(--fs-xs);
    font-weight: 600;
    letter-spacing: 0.06em;
    text-transform: uppercase;
}

/* Coverage table — zone code, district, note */
.zone-list {
    border-top: 1px solid var(--line);
}

.zone-row {
    display: grid;
    grid-template-columns: 5.5rem minmax(0, 1fr);
    gap: 0.25rem 1.25rem;
    align-items: baseline;
    border-bottom: 1px solid var(--line);
    padding: 1.125rem 0;
}

.zone-code {
    color: var(--haat-primary-deep);
    font-family: Sora, Inter, sans-serif;
    font-size: var(--fs-xs);
    font-weight: 600;
    letter-spacing: 0.08em;
}

.zone-row h3 {
    margin: 0;
    color: var(--ink);
    font-size: var(--fs-h3);
    font-weight: 600;
}

.zone-row p {
    grid-column: 2;
    margin: 0.25rem 0 0;
    color: var(--ink-2);
    font-size: var(--fs-body);
    line-height: 1.6;
}

/* Three connected journeys — numbered blocks with bullet points */
.journey-grid {
    display: grid;
    gap: 1.25rem;
}

.journey-card {
    border: 1px solid var(--line);
    border-radius: var(--r-lg);
    background: var(--surface);
    padding: 1.5rem;
}

.journey-no {
    color: var(--haat-primary-deep);
    font-family: Sora, Inter, sans-serif;
    font-size: var(--fs-xs);
    font-weight: 700;
    letter-spacing: 0.1em;
}

.journey-card h3 {
    margin: 0.5rem 0 0.375rem;
    color: var(--ink);
    font-size: 1.25rem;
    font-weight: 600;
}

.journey-card > p {
    margin: 0 0 1rem;
    color: var(--ink-2);
    font-size: var(--fs-body);
}

.journey-card ul {
    list-style: none;
    padding: 0;
    margin: 0;
    display: grid;
    gap: 0.5rem;
}

.journey-card li {
    display: flex;
    align-items: flex-start;
    gap: 0.5rem;
    color: var(--ink-2);
    font-size: var(--fs-sm);
    line-height: 1.5;
}

.journey-card li svg {
    width: 1rem;
    height: 1rem;
    flex: none;
    margin-top: 0.15rem;
    color: var(--haat-primary-deep);
}

/* Company facts — key/value rows */
.fact-list {
    border-top: 1px solid var(--line);
}

.fact-row {
    display: grid;
    gap: 0.25rem;
    border-bottom: 1px solid var(--line);
    padding: 1rem 0;
}

.fact-row dt {
    color: var(--ink-3);
    font-size: var(--fs-xs);
    font-weight: 600;
    letter-spacing: 0.06em;
    text-transform: uppercase;
}

.fact-row dd {
    margin: 0;
    color: var(--ink);
    font-size: var(--fs-body);
    line-height: 1.6;
}

/* Simple chip rows (payment methods, app screens) */
.chip-row {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-top: 1.25rem;
}

.chip {
    border: 1px solid var(--line-strong);
    border-radius: var(--r-pill);
    padding: 0.4375rem 0.875rem;
    color: var(--ink-2);
    font-size: var(--fs-sm);
    font-weight: 500;
}

.section--dark .chip {
    border-color: rgba(255, 255, 255, 0.22);
    color: var(--ink-inverse-2);
}

@media (min-width: 720px) {
    .spec-grid,
    .journey-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .fact-row,
    .zone-row {
        grid-template-columns: 12rem minmax(0, 1fr);
        align-items: baseline;
    }

    .fact-row dd {
        margin: 0;
    }
}

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

    .journey-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}

/* Centred single-column variant of the page hero (About, Why haaat) */
.page-hero--center .page-hero-shell {
    grid-template-columns: minmax(0, 1fr);
    justify-items: center;
    text-align: center;
}

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

.page-hero--center .page-hero-points {
    justify-items: center;
}

.page-hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    margin-top: 1.75rem;
}

.page-hero--center .page-hero-actions {
    justify-content: center;
}

/* Visually hidden, still announced by screen readers */
.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip-path: inset(50%);
    white-space: nowrap;
    border: 0;
}

/* Grid column-count modifiers — keeps 6- and 9-item lists in even rows */
@media (min-width: 1024px) {
    .step-grid--three {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }

    .journey-grid--four {
        grid-template-columns: repeat(4, minmax(0, 1fr));
    }
}

/* Seven nav items are tight on a 1024px viewport. Stop labels wrapping, tighten the
   gap, and drop the decorative brand tag until there is room for it. */
.nav-link {
    white-space: nowrap;
}

@media (min-width: 1024px) and (max-width: 1279px) {
    .nav-links {
        gap: 0.9375rem;
    }

    .site-nav {
        gap: 1rem;
    }

    .brand-tag {
        display: none;
    }
}

/* Bengali pages: Inter and Sora carry no Bengali glyphs, so Noto Sans Bengali
   leads the stack. Latin runs (the haaat wordmark, UPI, FSSAI) still fall to Inter. */
[lang="bn-IN"] body,
[lang="bn-IN"] .hero-title,
[lang="bn-IN"] .page-hero-title,
[lang="bn-IN"] .block-title,
[lang="bn-IN"] h1,
[lang="bn-IN"] h2,
[lang="bn-IN"] h3 {
    font-family: "Noto Sans Bengali", Inter, Sora, system-ui, sans-serif;
}

[lang="bn-IN"] .page-hero-title,
[lang="bn-IN"] h1,
[lang="bn-IN"] h2 {
    line-height: 1.32;
}

/* Language toggle in the header. Inherits the header's colour so it flips with the
   glass/scrolled states like the nav links do. */
.lang-toggle {
    display: none;
    align-items: center;
    gap: 0.375rem;
    flex: none;
    border: 1px solid currentColor;
    border-radius: var(--r-pill);
    padding: 0.3125rem 0.6875rem;
    color: inherit;
    font-size: var(--fs-xs);
    font-weight: 600;
    line-height: 1;
    opacity: 0.85;
    transition: opacity 0.15s ease, background 0.15s ease;
}

.lang-toggle:hover {
    opacity: 1;
    background: rgba(127, 127, 127, 0.12);
}

.lang-toggle svg {
    width: 0.9375rem;
    height: 0.9375rem;
}

.mobile-menu-lang {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-top: 0.5rem;
    border: 1px solid var(--line-strong);
    border-radius: var(--r-sm);
    font-weight: 600;
}

.mobile-menu-lang svg {
    width: 1rem;
    height: 1rem;
    color: var(--haat-primary-deep);
}

@media (min-width: 1024px) {
    .lang-toggle {
        display: inline-flex;
    }

    .mobile-menu-lang {
        display: none;
    }
}

/* Notice on the Bengali privacy policy explaining the English text is authoritative */
.legal-notice {
    margin-bottom: 1.75rem;
    border: 1px solid var(--haat-sky);
    border-left: 3px solid var(--haat-primary-deep);
    border-radius: var(--r-md);
    background: var(--surface-tint);
    padding: 1rem 1.25rem;
}

.legal-notice p {
    margin: 0;
    color: var(--ink-2);
    font-size: var(--fs-sm);
    line-height: 1.8;
}
