/* ─── Street Cuisines — Landing v3 additions ─────────────────────────────────
   Loaded after style.css. Adds the comparison chart, worked example,
   benefits, membership, service area, FAQ, and footer link styles.
   ─────────────────────────────────────────────────────────────────────────── */

:root {
    /* Display type matches Jason's mockups and infographic: bold condensed caps */
    --font-display: 'Bebas Neue', 'Arial Narrow', Impact, sans-serif;
    --gold:    #F2B705;
    --green:   #1E6B1E;
    --green-bg:#EDF7ED;
}

/* ── Shared ──────────────────────────────────────────────────────────────── */
.lp-narrow { max-width: 820px; }
.lp-center { margin-top: var(--sp-8); }
.lp-section-head { margin-bottom: var(--sp-10); max-width: 760px; }

.lp-heading {
    font-size: var(--text-3xl);
    margin-bottom: var(--sp-4);
}

.lp-subheading {
    font-size: var(--text-xl);
    margin: var(--sp-10) 0 var(--sp-4);
}
.lp-subheading:first-of-type { margin-top: 0; }

.lp-lead {
    font-size: var(--text-lg);
    color: var(--gray);
    max-width: 680px;
}
.section--dark .lp-lead { color: var(--gray-lt); }

.lp-footnote {
    font-size: var(--text-xs);
    color: var(--gray);
    margin-top: var(--sp-4);
    max-width: 760px;
}
.lp-footnote--dark { color: var(--gray-lt); }

.lp-badge {
    display: inline-block;
    background: var(--gold);
    color: var(--charcoal);
    font-family: var(--font-body);
    font-size: var(--text-xs);
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    padding: 2px var(--sp-2);
    border-radius: var(--radius-sm);
    vertical-align: middle;
    margin-left: var(--sp-1);
}

.btn--outline-dark {
    border: 2px solid var(--charcoal);
    color: var(--charcoal);
    background: transparent;
}
.btn--outline-dark:hover { background: var(--charcoal); color: var(--warm-white); }

/* ── Hero ────────────────────────────────────────────────────────────────── */
.lp-hero-note {
    margin-top: var(--sp-4);
    font-size: var(--text-sm);
    color: var(--gray-lt);
    letter-spacing: 0.04em;
}

/* ── City chips (state pages) ────────────────────────────────────────────── */
.lp-chips {
    display: flex;
    flex-wrap: wrap;
    gap: var(--sp-2);
}
.lp-chips li {
    background: var(--warm-white);
    border: 1px solid var(--rule);
    border-radius: 999px;
    padding: var(--sp-2) var(--sp-4);
    font-size: var(--text-sm);
    font-weight: 600;
}

/* ── Comparison chart ────────────────────────────────────────────────────── */
.lp-table-wrap {
    overflow-x: auto;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-card);
    background: #fff;
}

.lp-compare {
    width: 100%;
    min-width: 560px;
    border-collapse: collapse;
    font-size: var(--text-sm);
}

.lp-compare th,
.lp-compare td {
    padding: var(--sp-4);
    text-align: left;
    vertical-align: top;
    border-bottom: 1px solid var(--rule);
}

.lp-compare tbody tr:last-child th,
.lp-compare tbody tr:last-child td { border-bottom: none; }

.lp-compare thead th {
    font-family: var(--font-body);
    font-size: var(--text-xs);
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: #fff;
    background: var(--charcoal);
}
.lp-compare thead th.lp-compare__them { background: var(--crimson-dk); }
.lp-compare thead th.lp-compare__us   { background: var(--green); }

.lp-compare tbody th {
    font-family: var(--font-body);
    font-weight: 700;
    width: 24%;
}

.lp-compare tbody td.lp-compare__them { color: var(--gray); }

.lp-compare tbody td.lp-compare__us {
    background: var(--green-bg);
    color: var(--green);
    font-weight: 700;
}

/* ── Worked example ──────────────────────────────────────────────────────── */
.lp-example {
    display: grid;
    gap: var(--sp-6);
}

.lp-example__col {
    background: var(--charcoal-mid);
    border-radius: var(--radius-lg);
    padding: var(--sp-8) var(--sp-6);
    border-top: 5px solid var(--crimson);
}
.lp-example__col--us { border-top-color: var(--gold); }

.lp-example__col h3 {
    font-size: var(--text-xl);
    margin-bottom: var(--sp-6);
}

.lp-example__col dl div {
    display: flex;
    justify-content: space-between;
    gap: var(--sp-4);
    padding: var(--sp-2) 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    font-size: var(--text-sm);
}
.lp-example__col dt { color: var(--gray-lt); }
.lp-example__col dd { font-weight: 700; white-space: nowrap; }

.lp-example__total {
    margin-top: var(--sp-6);
    font-size: var(--text-lg);
}
.lp-example__total strong {
    display: block;
    font-family: var(--font-display);
    font-size: var(--text-4xl);
    line-height: 1.1;
}
.lp-example__col--them .lp-example__total strong { color: #F08A8E; }
.lp-example__col--us   .lp-example__total strong { color: var(--gold); }

.lp-example__diff {
    margin-top: var(--sp-8);
    text-align: center;
    font-family: var(--font-display);
    font-size: var(--text-2xl);
    color: var(--gold);
}

/* ── Benefit cards ───────────────────────────────────────────────────────── */
.lp-cards {
    display: grid;
    gap: var(--sp-4);
}

/* ── Membership plans ────────────────────────────────────────────────────── */
.lp-plans {
    display: grid;
    gap: var(--sp-4);
    margin-top: var(--sp-8);
}

.lp-plan {
    background: #fff;
    border: 1.5px solid var(--rule);
    border-radius: var(--radius-lg);
    padding: var(--sp-6);
    text-align: center;
}
.lp-plan--featured { border-color: var(--crimson); box-shadow: var(--shadow-card); }

.lp-plan__name {
    font-size: var(--text-xs);
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--gray);
}
.lp-plan__price {
    font-family: var(--font-display);
    font-size: var(--text-3xl);
    font-weight: 700;
    margin: var(--sp-2) 0;
}
.lp-plan__price span {
    font-family: var(--font-body);
    font-size: var(--text-base);
    font-weight: 500;
    color: var(--gray);
}
.lp-plan__desc { font-size: var(--text-sm); color: var(--gray); }

/* ── Service area ────────────────────────────────────────────────────────── */
.lp-states {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
    gap: var(--sp-3);
}

.lp-state,
.lp-state a {
    display: flex;
    flex-direction: column;
    gap: var(--sp-1);
}

.lp-state {
    border: 1.5px dashed var(--rule);
    border-radius: var(--radius);
    padding: var(--sp-4);
    color: var(--gray);
}
.lp-state span { font-size: var(--text-xs); text-transform: uppercase; letter-spacing: 0.1em; }

.lp-state--live {
    border: 2px solid var(--green);
    background: var(--green-bg);
    color: var(--green);
}
.lp-state--live a:hover strong { text-decoration: underline; }

/* ── FAQ ─────────────────────────────────────────────────────────────────── */
.lp-faq { margin-top: var(--sp-6); }

.lp-faq__item {
    background: #fff;
    border: 1px solid var(--rule);
    border-radius: var(--radius);
    margin-bottom: var(--sp-3);
}

.lp-faq__item summary {
    cursor: pointer;
    list-style: none;
    padding: var(--sp-4) var(--sp-12) var(--sp-4) var(--sp-6);
    font-weight: 600;
    position: relative;
}
.lp-faq__item summary::-webkit-details-marker { display: none; }
.lp-faq__item summary::after {
    content: '+';
    position: absolute;
    right: var(--sp-6);
    top: 50%;
    transform: translateY(-50%);
    font-size: var(--text-xl);
    color: var(--crimson);
}
.lp-faq__item[open] summary::after { content: '−'; }

.lp-faq__item p {
    padding: 0 var(--sp-6) var(--sp-6);
    color: var(--gray);
}

/* ── Footer ──────────────────────────────────────────────────────────────── */
.lp-footer-links {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: var(--sp-2) var(--sp-6);
    font-size: var(--text-sm);
}
.lp-footer-links a,
.lp-footer-contact a { color: var(--gray-lt); }
.lp-footer-links a:hover,
.lp-footer-contact a:hover { color: #fff; }
.lp-footer-contact { font-size: var(--text-sm); color: var(--gray-lt); }

/* ── Responsive ──────────────────────────────────────────────────────────── */
@media (min-width: 600px) {
    .lp-cards { grid-template-columns: 1fr 1fr; }
    .lp-plans { grid-template-columns: repeat(3, 1fr); }
}

@media (min-width: 768px) {
    .lp-heading { font-size: var(--text-4xl); }
    .lp-example { grid-template-columns: 1fr 1fr; }
}

@media (min-width: 1024px) {
    .how__steps { grid-template-columns: repeat(5, 1fr); }
}

/* ═══ Brand look (from the Urban Eats / infographic mockups) ════════════════ */

h1, h2, h3, h4 {
    font-weight: 400;          /* Bebas Neue is already heavy */
    letter-spacing: 0.02em;
    line-height: 1;
}

/* Brushed-chrome rule under the header, like the mockups */
.site-header {
    border-bottom: 0;
    box-shadow: 0 3px 0 0 #9a9a9a, 0 4px 0 0 #e6e6e6, 0 6px 0 0 #6d6d6d;
}

.site-header__cta,
.btn--primary {
    letter-spacing: 0.02em;
}

/* Red stripe above the footer */
.site-footer { border-top: 6px solid var(--crimson); }

/* ── Hero: wide on desktop, stacked on phones ───────────────────────────── */
.hero__inner {
    grid-template-columns: 1fr;
    max-width: 780px;
}

.hero__headline {
    font-size: clamp(3.25rem, 8vw, 6.5rem);
    line-height: 0.92;
    margin-bottom: var(--sp-4);
    text-transform: uppercase;
}
.hero__headline em { color: var(--gold); }

.lp-hero-sub {
    margin: 0 0 var(--sp-6);
}
.lp-hero-sub span {
    display: inline-block;
    background: var(--crimson);
    color: #fff;
    font-family: var(--font-display);
    font-size: clamp(1.5rem, 3vw, 2.25rem);
    letter-spacing: 0.03em;
    padding: var(--sp-1) var(--sp-4);
    transform: skewX(-8deg);
    box-shadow: 4px 4px 0 rgba(0, 0, 0, 0.35);
}

.hero__body { max-width: 56ch; }

.hero__eyebrow { color: #fff; }
.hero__eyebrow::before { background: var(--gold); }

/* Section headings in the condensed face read better a touch larger */
.lp-heading,
.how__heading,
.why__heading,
.form-section__heading { font-size: clamp(2.5rem, 5vw, 3.75rem); }

.lp-subheading { font-size: var(--text-3xl); }
.callout__title,
.step__title { font-family: var(--font-display); font-size: var(--text-2xl); font-weight: 400; }
.lp-example__col h3 { font-size: var(--text-3xl); }
.lp-plan__price { font-size: var(--text-5xl); font-weight: 400; }
.lp-example__total strong { font-size: var(--text-5xl); }
.lp-example__diff { font-size: clamp(1.75rem, 4vw, 2.75rem); }
.stat__number { font-family: var(--font-display); }

/* White cards with the mockups' soft lift */
.callout {
    background: #fff;
    border: 1px solid var(--rule);
    box-shadow: var(--shadow-card);
}

@media (min-width: 768px) {
    .hero { padding-top: var(--sp-24); }
    .hero__inner {
        grid-template-columns: 1fr;
        padding-bottom: var(--sp-24);
    }
}

@media (min-width: 1024px) {
    .hero__inner { max-width: 820px; }
}

/* ═══ Layout fixes after first live review ══════════════════════════════════ */

/* Stats: 2 × 2 on phones, one row of 4 on wider screens */
.stats__inner {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: var(--sp-8) var(--sp-4);
}
@media (min-width: 768px) {
    .stats__inner { grid-template-columns: repeat(4, 1fr); gap: var(--sp-8); }
}

/* How it works: on desktop, five columns with the number above the text */
@media (min-width: 1024px) {
    .how__steps {
        grid-template-columns: repeat(5, 1fr);
        gap: var(--sp-8);
    }
    .step {
        grid-template-columns: 1fr;
        gap: var(--sp-4);
    }
}

/* Comparison chart: stacked cards on phones instead of a sideways-scrolling table */
@media (max-width: 699px) {
    .lp-table-wrap {
        overflow: visible;
        box-shadow: none;
        background: transparent;
    }
    .lp-compare { min-width: 0; }
    .lp-compare thead { display: none; }
    .lp-compare,
    .lp-compare tbody,
    .lp-compare tr,
    .lp-compare th,
    .lp-compare td { display: block; width: 100%; }

    .lp-compare tr {
        background: #fff;
        border-radius: var(--radius);
        box-shadow: var(--shadow-card);
        margin-bottom: var(--sp-4);
        overflow: hidden;
    }
    .lp-compare tbody th {
        width: 100%;
        background: var(--charcoal);
        color: #fff;
        font-family: var(--font-display);
        font-weight: 400;
        font-size: var(--text-xl);
        letter-spacing: 0.03em;
        padding: var(--sp-3) var(--sp-4);
        border-bottom: 0;
    }
    .lp-compare td {
        border-bottom: 0;
        padding: var(--sp-3) var(--sp-4);
    }
    .lp-compare td::before {
        content: attr(data-label);
        display: block;
        font-size: var(--text-xs);
        font-weight: 700;
        letter-spacing: 0.1em;
        text-transform: uppercase;
        margin-bottom: var(--sp-1);
    }
    .lp-compare td.lp-compare__them::before { color: var(--crimson-dk); }
    .lp-compare td.lp-compare__us::before   { color: var(--green); }
}

.lp-lead--tight { margin-bottom: var(--sp-4); font-size: var(--text-base); }

/* ═══ Events page ═══════════════════════════════════════════════════════════ */
.lp-hero--compact .hero__inner { padding-bottom: var(--sp-12); }
@media (min-width: 768px) {
    .lp-hero--compact { padding-top: var(--sp-16); }
    .lp-hero--compact .hero__inner { padding-bottom: var(--sp-16); }
}

.lp-nav-events { margin-right: var(--sp-2); }

.lp-events-note {
    background: #fff;
    border-left: 4px solid var(--gold);
    padding: var(--sp-4);
    border-radius: var(--radius);
    font-size: var(--text-sm);
}

.lp-events-day {
    font-size: var(--text-3xl);
    margin: var(--sp-10) 0 var(--sp-4);
    padding-bottom: var(--sp-2);
    border-bottom: 3px solid var(--crimson);
}

.lp-event {
    background: #fff;
    border: 1px solid var(--rule);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-card);
    padding: var(--sp-5) var(--sp-6);
    margin-bottom: var(--sp-4);
}
.lp-event--off { opacity: 0.6; }

.lp-event__time {
    color: var(--crimson);
    font-weight: 700;
    font-size: var(--text-sm);
    letter-spacing: 0.04em;
}

.lp-event__title { font-size: var(--text-2xl); margin: var(--sp-1) 0 var(--sp-2); }
.lp-event__venue { color: var(--gray); font-size: var(--text-sm); margin-bottom: var(--sp-2); }

.lp-event__actions {
    display: flex;
    flex-wrap: wrap;
    gap: var(--sp-2);
    margin-top: var(--sp-3);
}
.lp-event__actions a {
    border: 1.5px solid var(--charcoal);
    border-radius: var(--radius-sm);
    padding: var(--sp-2) var(--sp-3);
    font-size: var(--text-sm);
    font-weight: 600;
    color: var(--charcoal);
    text-decoration: none;
}
.lp-event__actions a:hover { background: var(--charcoal); color: #fff; }

.lp-event__trucks { margin-top: var(--sp-3); }
.lp-event__trucks summary {
    cursor: pointer;
    font-weight: 700;
    color: var(--crimson);
    font-size: var(--text-sm);
}
.lp-event__trucks ul { margin-top: var(--sp-2); }
.lp-event__trucks li { padding: var(--sp-1) 0; }

@media (max-width: 599px) {
    .lp-nav-events { display: none; }
}

/* ═══ Truck pages & reviews ════════════════════════════════════════════════ */
.lp-truck-hero { display: grid; gap: var(--sp-8); align-items: center; }
@media (min-width: 900px) { .lp-truck-hero { grid-template-columns: 1.2fr 1fr; max-width: 1100px; } }
.lp-truck-photo { width: 100%; max-height: 360px; object-fit: cover; border-radius: var(--radius-lg); border: 4px solid rgba(255,255,255,0.15); }
.lp-truck-cuisines { color: var(--gold); font-weight: 700; letter-spacing: 0.04em; margin: var(--sp-2) 0; }
.lp-truck-rating { color: #fff; margin-bottom: var(--sp-4); }
.lp-truck-stars { color: var(--gold); letter-spacing: 0.1em; }
.lp-review { background: #fff; border: 1px solid var(--rule); border-radius: var(--radius-lg); padding: var(--sp-5) var(--sp-6); margin-bottom: var(--sp-3); }
.lp-review__head { display: flex; flex-wrap: wrap; gap: var(--sp-3); align-items: center; margin-bottom: var(--sp-2); }
.lp-review__date { color: var(--gray); font-size: var(--text-sm); }
.lp-review__reply { background: var(--cream, #f5efe6); border-radius: var(--radius); padding: var(--sp-3) var(--sp-4); margin-top: var(--sp-3); font-size: var(--text-sm); }
.lp-truck-join { margin-top: var(--sp-12); padding-top: var(--sp-8); border-top: 2px solid var(--rule); }
.lp-mini-stars { color: var(--gray); font-size: var(--text-xs); margin-left: var(--sp-2); }
.lp-mini-stars::first-letter { color: var(--gold); }
