﻿:root {
    --text: #202020;
    --muted: #536471;
    --border: #dddddd;
    --accent: #1d9bf0;
    --gap: 28px;
    --brand: #047857;
    --brand-700: #065f46;
    --red: #EB1700; /* DoorDash red */
    --ink: #1f2937;
    --ink-2: #374151;
    --muted: #6b7280;
    --line: #e5e7eb;
    --bg: #ffffff;
    --bg-alt: #f7f7f8;
    --radius: 16px;
    --shadow: 0 1px 3px rgba(16,24,40,.06), 0 10px 25px rgba(16,24,40,.0);
    --max: 1600px;
}
html, body {
    font-family: ui-sans-serif,system-ui,-apple-system,"Segoe UI",Roboto,Helvetica,Arial
}

html {
    scroll-behavior: smooth
}

body {
    margin: 0;
    color: var(--text);
    background: #fff
}

a {
    color: inherit;
    text-decoration: none
}

img {
    max-width: 100%;
    display: block
}

.section {
    margin-top: 26px
}
.full-container {
    max-width: 1480px;
    margin: 0 auto;
    padding: 0 16px;
}
.container {
    max-width: 1480px;
    margin: 0 auto;
    padding: 0 16px
}
.h-container {
    max-width: 1480px;
    margin: 0 auto;
    padding: 15px 10px;
}
h1, h2, h3, h4 {
    margin: 0 0 6px;
    font-weight: 700;
    letter-spacing: -.03em
}
h1 {
    font-size: 1.45em;
    font-weight: 800;
    letter-spacing: -.055em
}
h2 {
    font-size: 1.45em;
    font-weight: 800;
    letter-spacing: -.055em
}
h4 {
    font-size: 1.45em;
    font-weight: 800;
    letter-spacing: -.055em
}
/* Header */
.header {
    position: sticky;
    top: 0;
    z-index: 30;
    background: #fff;
    border-bottom: 1px solid var(--line);
}

.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 20px 0px;
}

.left {
    display: flex;
    align-items: center;
    gap: 14px
}

.icon-btn {
    appearance: none;
    border: 0;
    background: transparent;
    width: 24px;
    height: 24px;
    border-radius: 9px;
    display: grid;
    place-items: center;
    cursor: pointer;
}

    .icon-btn:hover {
        background: rgba(0,0,0,.04)
    }

.hamburger, .chev {
    width: 18px;
    height: 18px
}

.logo {
    display: flex;
    align-items: center;
    gap: 8px;
    color: #000000;
    font-weight: 800;
    letter-spacing: -0.045em;
    font-size: 1.05rem;
    text-decoration: none;
    margin: 0 0;
}

a.logo {
    text-decoration: none;
}

.logo img {
    height: 32px;
    display: block
}

.nav {
    display: flex;
    align-items: center;
    gap: 18px
}

    .nav a {
        font-weight: 600;
        color: #111827;
        text-decoration: none;
        letter-spacing: -0.045em;
        font-size: 0.85em;
    }

        .nav a.sign {
            opacity: .85
        }

        .nav a.signup {
            padding: 6px 10px;
            border: 0px solid var(--line);
            border-radius: 15px;
            background-color: #028d18;
            color: #ffffff;
        }

/* Header */
.topbar {
    position: sticky;
    top: 0;
    z-index: 30;
    background: #fff;
    border-bottom: 0px solid var(--border)
}

    .topbar .inner {
        display: flex;
        align-items: center;
        gap: 16px;
        padding: 10px 16px
    }

.brand {
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: 800;
    letter-spacing: -.02em
}

    .brand img {
        height: 28px
    }

.topbar nav {
    margin-left: auto;
    display: flex;
    gap: 18px;
}

    .topbar nav a {
        font-weight: 400;
        font-size:0.9rem;
    }

        .topbar nav a:hover {
            color: var(--accent)
        }

.skip {
    position: absolute;
    left: -9999px;
    top: auto
}

    .skip:focus {
        left: 16px;
        top: 10px;
        background: #fff;
        border: 2px solid var(--accent);
        padding: 8px 10px;
        border-radius: 8px;
        z-index: 40
    }

/* Hero */
.hero {
    margin-top: 25px;
    position: relative;
    max-width: 1600px;
    max-height: 70vh;
    margin: 25px auto;
}

    .hero .art {
        width:100%;
        background: #ddd center/cover no-repeat;
        
    }

    .hero .credit {
        position: absolute;
        left: 16px;
        bottom: 16px;
        background: #fff;
        border: 1px solid var(--border);
        border-radius: 12px;
        padding: 10px 12px;
        font-size: 12px;
        color: var(--muted)
    }

@media (max-width:980px) {
    .hero  {
        max-height: 70vh;
    }

    }
}

/* Headline */
.headline {
    line-height: 1.2;
    color: var(--text);
    font-size: 1.9rem;
    font-weight: 300;
    letter-spacing: -.04rem;
    margin: 0px 0 26px;
    border-bottom: 0;
    padding: 20px 0
}

    .headline strong {
        font-weight: 800;
        letter-spacing: -.065rem
    }

.eyebrow {
    display: inline-block;
    font-weight: 800;
    letter-spacing: .08em;
    text-transform: uppercase;
    font-size: .72rem;
    color: var(--brand)
}

/* Buttons (no shadows) */
.btn {
    display: inline-flex;
    align-items: center;
    gap: .5rem;
    padding: .55rem 1rem;
    border-radius: 999px;
    font-weight: 700;
    border: 1px solid transparent;
    line-height: 1;
    font-size: .9em
}

.btn-primary {
    background: var(--brand);
    color: #fff
}

    .btn-primary:hover {
        background: var(--brand-700)
    }

.btn-outline {
    background: #fff;
    color: var(--text);
    border-color: var(--border)
}

    .btn-outline:hover {
        background: #f7f7f7;
        border-color: var(--text)
    }

.btn-headline {
    font-size: .5em;
    padding: .5rem .9rem
}

/* Grids (your originals) */
.grid-2 {
    display: grid;
    grid-template-columns: repeat(2,1fr);
    gap: var(--gap)
}

.grid-3 {
    display: grid;
    grid-template-columns: repeat(3,1fr);
    gap: var(--gap)
}

.grid-4 {
    display: grid;
    grid-template-columns: repeat(4,1fr);
    gap: var(--gap)
}

.grid-3-6-3 {
    display: grid;
    grid-template-columns: 1fr 2fr 1fr;
    gap: var(--gap);
    padding-top: 4px
}

@media (max-width:1024px) {
    .grid-4 {
        grid-template-columns: repeat(2,1fr)
    }

    .grid-3-6-3 {
        grid-template-columns: 1fr
    }
    .headline {
        font-size: 1.25rem;
    }
}

@media (max-width:640px) {
    .grid-3, .grid-4 {
        grid-template-columns: 1fr
    }
    .headline {
        font-size: 1.25rem;
    }
}

/* Cards / text blocks – NO borders/shadows */
.card {
    display: block;
    padding: 8px 0
}

    .card h3, .card h4 {
        margin: 0 0 6px;
        font-weight: 700;
        letter-spacing: -.03em
    }
    .card h4 {
       font-size:1.45em;
        font-weight: 800;
        letter-spacing: -.055em
    }
    .card p {
        margin: 6px 0 0;
        font-size: 16px;
        line-height: 1.45
    }

.muted {
    color: var(--muted)
}

.img-card {
    width: 100%;
    aspect-ratio: 16/9;
    background-size: cover;
    background-position: center;
    margin: 10px 0
}

    .img-card.sm {
        aspect-ratio: 4/3
    }

/* Proof strip */
.proof {
    padding: 14px 0;
    margin: 8px auto 0 auto;
    color: var(--muted);
    font-size: .9rem;
}

.proof-row {
    display: flex;
    gap: 18px;
    flex-wrap: wrap;
    align-items: center;
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
    padding: 14px 0;
}

/* FAQ */
details {
    border-top: 1px solid var(--border);
    padding: 14px 0
}

    details summary {
        cursor: pointer;
        font-weight: 700
    }

    details[open] {
        background: #fafafa
    }

/* Footer */
.footer {
    border-top: 0;
    background: #fff;
    margin-top: 60px
}

    .footer .inner {
        padding: 48px 16px;
        border-top: 1px solid #e6e6e6
    }

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1.5fr;
    gap: var(--gap)
}

.footer h6 {
    margin: 0 0 8px;
    font-size: .95rem;
    font-weight: 700
}

.footer p {
    margin: 0
}

.footer ul {
    list-style: none;
    padding: 0;
    margin: 0
}

.footer a {
    color: var(--muted)
}

    .footer a:hover {
        color: var(--accent)
    }

.footer form {
    display: flex;
    gap: 8px;
    margin-top: 4px
}

.footer input[type=email] {
    flex: 1;
    border: 1px solid var(--border);
    border-radius: 999px;
    padding: 10px 12px;
    font: inherit
}

.footer button {
    border: 0;
    border-radius: 999px;
    padding: 10px 16px;
    background: #047857;
    color: #fff;
    cursor: pointer
}

    .footer button:hover {
        background: #065f46
    }

.fineprint {
    padding: 12px 0 16px;
    font-size: .78rem;
    color: #6b7280;
    text-align: center
}
/* Header */
.topbar {
    position: sticky;
    top: 0;
    z-index: 40;
    background: #fff;
    border-bottom: 0px solid var(--border)
}

    .topbar .inner {
        display: flex;
        align-items: center;
        justify-content: space-between;
        gap: 12px;
        padding: 15px 16px
    }

.brand {
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: 800;
    letter-spacing: -.02em
}

    .brand img {
        height: 28px
    }

/* Desktop nav baseline */
.nav {
    display: flex;
    gap: 18px;
    align-items: center
}

    .nav a {
        font-weight: 600
    }

        .nav a:hover {
            color: var(--accent)
        }

/* Mobile toggle (hidden on desktop) */
.nav-toggle {
    display: none;
    -webkit-appearance: none;
    appearance: none;
    background: transparent;
    border: 1px solid var(--border);
    border-radius: 8px;
    padding: 8px;
    line-height: 0;
    cursor: pointer;
}

    .nav-toggle:focus-visible {
        outline: 2px solid var(--accent);
        outline-offset: 2px
    }

    .nav-toggle .bar {
        display: block;
        width: 22px;
        height: 2px;
        background: var(--text);
        margin: 4px 0;
        transition: transform .2s ease, opacity .2s ease
    }

/* Small screens: collapse nav */
@media (max-width: 860px) {
    .nav-toggle {
        display: inline-flex
    }

    .nav {
        position: absolute;
        inset: 56px 0 auto 0; /* below header */
        display: grid;
        gap: 8px;
        padding: 12px 16px;
        background: #fff;
        border-bottom: 1px solid var(--border);
        transform: translateY(-8px);
        opacity: 0;
        pointer-events: none;
        transition: opacity .18s ease, transform .18s ease;
    }
    /* Open state toggled by .nav-open on <html> */
    .nav-open .nav {
        transform: translateY(0);
        opacity: 1;
        pointer-events: auto
    }
    /* Animate icon into X */
    .nav-open .nav-toggle .bar:nth-child(1) {
        transform: translateY(6px) rotate(45deg)
    }

    .nav-open .nav-toggle .bar:nth-child(2) {
        opacity: 0
    }

    .nav-open .nav-toggle .bar:nth-child(3) {
        transform: translateY(-6px) rotate(-45deg)
    }
}
/* Mobile type/spacing refinements */
@media (max-width: 540px) {
    .container {
        padding: 0 14px
    }

    .headline {
        font-size: 1.2rem;
        letter-spacing: -.02rem
    }

    .eyebrow {
        font-size: .68rem
    }

    .btn {
        padding: .5rem .9rem;
        font-size: .75em
    }

    .section {
        margin-top: 22px
    }

    .img-card {
        aspect-ratio: 16/10
    }
}


/* Hero */
/* Hero */
.hero {
    margin-top: 0px;
    position: relative;
    max-width: 1600px;
    max-height: 75vh;
    margin: 0px auto;
}

    .hero .art {
        width: 100%;
        height: 50vh;
        background: #ddd center/cover no-repeat;

    }
.hero .cvr {
    width: 100%;
    height: 60vh;
    background: #ddd center/cover no-repeat;
}

    .hero .credit {
        position: absolute;
        left: 16px;
        bottom: 16px;
        background: #fff;
        border: 1px solid var(--border);
        border-radius: 12px;
        padding: 10px 12px;
        font-size: 12px;
        color: var(--muted)
    }

@media (max-width: 980px) {
    .hero .art {
        height: 50vh;
    }
    .hero .cvr {
        height: 67vh;
    }
}

@media (max-width: 540px) {
    .hero .art {
        height: 50vh;
        background-position: center 30%;
    }
    .hero .cvr {
        height: 60vh;
    }
}
/* ===== Footer (responsive/stacking) ===== */
.footer {
    border-top: 0;
    background: #fff;
    margin-top: 60px
}

    .footer .inner {
        padding: 48px 16px;
        border-top: 1px solid #e6e6e6
    }

/* Desktop: 4 cols */
.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1.5fr;
    gap: var(--gap);
    align-items: start;
}

/* Headings, lists, links */
.footer h6 {
    margin: 0 0 8px;
    font-size: .95rem;
    font-weight: 700
}

.footer p {
    margin: 0
}

.footer ul {
    list-style: none;
    padding: 0;
    margin: 0
}

.footer a {
    color: var(--muted);
    text-decoration: none;
    display: inline-block;
    padding: 6px 0
}

    .footer a:hover {
        color: var(--accent)
    }

/* Subscribe */
.footer form {
    display: flex;
    gap: 8px;
    margin-top: 8px
}

.footer input[type=email] {
    flex: 1;
    border: 1px solid var(--border);
    border-radius: 999px;
    padding: 10px 12px;
    font: inherit
}

.footer button {
    border: 0;
    border-radius: 999px;
    padding: 10px 16px;
    background: #047857;
    color: #fff;
    cursor: pointer
}

    .footer button:hover {
        background: #065f46
    }

/* Fineprint */
.fineprint {
    padding: 12px 0 16px;
    font-size: .78rem;
    color: #6b7280;
    text-align: center
}

/* ===== Breakpoints for stacking ===== */

/* Medium: 2 columns */
@media (max-width: 900px) {
    .footer-grid {
        grid-template-columns: 1fr 1fr;
        gap: 20px;
    }
        /* Make subscribe span both columns if you'd like */
        .footer-grid > :last-child {
            grid-column: span 2;
        }
}

/* Small: 1 column stacked, with subtle dividers + bigger tap targets */
@media (max-width: 560px) {
    .footer .inner {
        padding: 36px 16px
    }

    .footer-grid {
        grid-template-columns: 1fr;
        gap: 18px;
    }

    /* Optional: center the brand block on mobile */
    .footer .brand {
        align-items: center
    }

    .footer .brand-name {
        display: inline-block
    }

    /* Add separators between sections */
    .footer-grid > * {
        padding-top: 10px;
        border-top: 1px solid var(--border);
    }

        .footer-grid > *:first-child {
            padding-top: 0;
            border-top: 0;
        }

    /* Larger tap targets on links */
    .footer a {
        padding: 10px 0
    }

    /* Stack subscribe controls vertical */
    .footer form {
        flex-direction: column
    }

    .footer button {
        width: 100%
    }
}
/* Forms (partner) */
.frm {
    margin-top: 10px
}

.frm-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 14px
}

.frm-field {
    display: flex;
    flex-direction: column;
    gap: 6px
}

    .frm-field label {
        font-weight: 700;
        font-size: .95rem
    }

    .frm-field input,
    .frm-field select,
    .frm-field textarea {
        border: 1px solid var(--border);
        border-radius: 10px;
        padding: 10px 12px;
        font: inherit;
        background: #fff;
        color: var(--text)
    }

    .frm-field textarea {
        resize: vertical
    }

.frm-actions {
    display: flex;
    gap: 12px;
    align-items: center;
    justify-content: space-between;
    margin-top: 12px;
    flex-wrap: wrap
}

.chk {
    display: flex;
    align-items: center;
    gap: 8px;
    color: var(--muted)
}

.hp {
    position: absolute !important;
    left: -10000px !important;
    top: auto !important;
    width: 1px !important;
    height: 1px !important;
    overflow: hidden !important
}

/* Mobile form stack */
@media (max-width: 720px) {
    .frm-row {
        grid-template-columns: 1fr
    }

    .frm-actions {
        flex-direction: column;
        align-items: stretch
    }

        .frm-actions .btn {
            width: 100%
        }
}
/* Toggle button */
.nav-toggle {
    border: 0;
    background: transparent;
    padding: 8px;
    margin-left: auto;
    display: inline-flex;
    flex-direction: column;
    gap: 4px;
    cursor: pointer
}

    .nav-toggle .bar {
        display: block;
        width: 22px;
        height: 2px;
        background: var(--text);
        border-radius: 1px
    }

/* Show desktop nav ≥900px; hide toggle */
.desktop-nav {
    display: none
}

@@media (min-width:900px) {
    .desktop-nav {
        display: flex;
        gap: 10px;
        margin-left: auto
    }

    .nav-toggle {
        display: none
    }
}

/* Backdrop + drawer */
.menu-backdrop {
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,.5);
    opacity: 0;
    pointer-events: none;
    transition: opacity .25s ease;
    z-index: 95
}

    .menu-backdrop.show {
        opacity: 1;
        pointer-events: auto
    }

.menu-drawer {
    position: fixed;
    inset: 0 0 0 auto;
    width: 100vw;
    max-width: 100vw;
    background: #fff;
    transform: translateX(100%);
    transition: transform .3s ease;
    z-index: 100;
    display: grid;
    grid-template-rows: auto 1fr
}

    .menu-drawer.show {
        transform: translateX(0)
    }

.menu-close {
    position: absolute;
    top: 14px;
    right: 16px;
    border: 1px solid var(--border);
    background: #fff;
    border-radius: 999px;
    font-size: 24px;
    line-height: 1;
    padding: 6px 10px;
    cursor: pointer
}

.menu-nav {
    padding: 80px 28px 28px;
    display: flex;
    flex-direction: column;
    gap: 6px
}

    .menu-nav a {
        display: block;
        padding: 16px 0;
        border-bottom: 1px solid var(--border);
        font-size: 20px
    }

/* Lock scroll when open */
body.menu-open {
    overflow: hidden
}
/* Chapters separators: only on wide screens */
:root {
    --chap-sep: 1px;
}

@media (min-width:900px) {
    /* scope to this section only */
    .section[aria-label="Chapters"] .grid-3 .card {
        padding-left: calc(var(--gap)/4);
        padding-right: calc(var(--gap)/4);
    }

        /* vertical dividers on the middle card */
        .section[aria-label="Chapters"] .grid-3 .card:nth-child(2) {
            /*border-left: var(--chap-sep) solid var(--border);
            border-right: var(--chap-sep) solid var(--border);*/
        }

        /* give outer cards room next to the dividers */
        .section[aria-label="Chapters"] .grid-3 .card:first-child {
            padding-right: calc(var(--gap));
        }

        .section[aria-label="Chapters"] .grid-3 .card:last-child {
            padding-left: calc(var(--gap));
        }
}

/* On narrower screens the grid stacks, so no borders needed */
@media (max-width:899.98px) {
    .section[aria-label="Chapters"] .grid-3 .card {
        border: 0; /* ensure no carryover */
        padding-left: 0; /* keep your base spacing if you prefer */
        padding-right: 0;
    }
}
/* headline-only link lists */
.headlines {
    list-style: none;
    margin: 8px 0 0;
    padding: 0;
}

    .headlines li {
        margin: 6px 0;
    }

    .headlines a {
        text-decoration: none;
    }

        .headlines a:hover {
            text-decoration: underline;
        }
.figure {
    position: relative;
    border-radius: 12px;
    overflow: hidden;
    background: #f2f2f2
}

.ratio-4x5 {
    aspect-ratio: 4/5;
}

.ratio-16x9 {
    aspect-ratio: 16/9;
}

.ratio-9x16 {
    aspect-ratio: 9/16;
}

.ratio-3x2 {
    aspect-ratio: 3/2;
}

.ratio-2x3 {
    aspect-ratio: 2/3;
}

.ratio-3x4 {
    aspect-ratio: 3/4;
}

.ratio-4x3 {
    aspect-ratio: 4/3;
}

.ratio-1x1 {
    aspect-ratio: 1/1;
}