:root {
    --paper: #f3efe6;
    --paper-deep: #e6dfd1;
    --ink: #1a2332;
    --muted: #5c6774;
    --pine: #1e4e86;
    --pine-deep: #13293d;
    --clay: #1e4e86;
    --clay-deep: #163a66;
    --white: #fffdf9;
    --line: rgba(26, 35, 50, 0.12);
    --shadow: 0 22px 50px rgba(26, 35, 50, 0.14);
    --serif: "Rubik", "Heebo", "Arial Hebrew", sans-serif;
    --sans: "Heebo", "Arial Hebrew", "Arial", sans-serif;
    --header: 76px;
}

* { box-sizing: border-box; }

html {
    scroll-behavior: smooth;
    scroll-padding-top: 92px;
}

body {
    margin: 0;
    background: var(--paper);
    color: var(--ink);
    font-family: var(--sans);
    font-size: 1.05rem;
    line-height: 1.7;
}

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

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

button, input { font: inherit; }

h1, h2, h3 {
    font-family: var(--serif);
    font-weight: 700;
    line-height: 1.15;
    margin: 0;
}

p { margin: 0; }

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

.skip-link {
    position: absolute;
    inset-inline-start: 1rem;
    top: -4rem;
    background: var(--ink);
    color: white;
    padding: 0.6rem 0.9rem;
    border-radius: 8px;
    z-index: 80;
}

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

:focus-visible {
    outline: 2px solid var(--pine);
    outline-offset: 3px;
}

::selection { background: #d5e3f2; }

.container {
    width: min(1120px, calc(100% - 2.5rem));
    margin-inline: auto;
}

.site-header {
    position: sticky;
    top: 0;
    z-index: 40;
    height: var(--header);
    background: rgba(255, 253, 249, 0.88);
    backdrop-filter: blur(16px);
    border-bottom: 1px solid transparent;
}

.site-header.is-stuck {
    border-bottom-color: var(--line);
    box-shadow: 0 10px 30px rgba(26, 35, 50, 0.05);
}

.header-inner,
.logo,
.site-nav,
.btn,
.ticket-top,
.check-list li,
.stat-pills li,
.footer-inner,
.hero-actions,
.signal-row li,
.eyebrow {
    display: flex;
    align-items: center;
}

.header-inner {
    height: var(--header);
    justify-content: space-between;
    gap: 1.5rem;
}

.logo { gap: 0.7rem; color: var(--pine-deep); }

.logo-mark { display: flex; color: var(--pine-deep); }

.logo-word {
    font-weight: 700;
    letter-spacing: 0;
    font-size: 1.15rem;
}

.logo-word span { color: var(--clay); font-weight: 500; }

.site-nav { gap: 1.4rem; font-weight: 500; }

.site-nav a:hover { color: var(--pine); }

.nav-toggle {
    display: none;
    border: 1px solid var(--line);
    background: var(--white);
    width: 44px;
    height: 44px;
    border-radius: 12px;
    cursor: pointer;
}

.btn {
    gap: 0.55rem;
    justify-content: center;
    background: var(--clay);
    color: white;
    border: 0;
    border-radius: 999px;
    padding: 0.9rem 1.3rem;
    font-weight: 600;
    cursor: pointer;
    box-shadow: 0 10px 24px rgba(30, 78, 134, 0.22);
    transition: transform 0.2s ease, background 0.2s ease;
}

.btn:hover { background: var(--clay-deep); transform: translateY(-1px); }

.btn-small {
    padding: 0.55rem 1rem;
    box-shadow: none;
}

.btn-ghost {
    background: transparent;
    color: var(--ink);
    box-shadow: none;
    border: 1px solid var(--line);
}

.btn-ghost:hover { background: var(--white); }

.hero {
    padding: 3.5rem 0 4rem;
    background:
        radial-gradient(700px 320px at 100% 0%, rgba(30, 78, 134, 0.08), transparent 60%),
        var(--paper);
}

.hero-grid,
.split-grid,
.lead-grid,
.ticket-grid,
.audience-grid,
.steps {
    display: grid;
    gap: 2rem;
}

.hero-grid {
    grid-template-columns: 1.05fr 0.95fr;
    align-items: center;
    gap: 3.5rem;
}

.eyebrow {
    gap: 0.45rem;
    margin-bottom: 0.8rem;
    color: var(--pine);
    font-weight: 600;
    font-size: 0.92rem;
}

.hero h1 {
    font-size: clamp(2.5rem, 4.6vw, 4.15rem);
    max-width: 11ch;
}

.lede,
.split-copy > p,
.audience-card p,
.ticket p,
.lead-copy p {
    color: var(--muted);
    margin-top: 1rem;
}

.lede { font-size: 1.12rem; max-width: 38rem; }

.hero-actions { gap: 0.8rem; margin-top: 1.8rem; flex-wrap: wrap; }

.hero-visual { position: relative; }

.hero-visual img,
.split-media img {
    width: 100%;
    object-fit: cover;
    border-radius: 28px;
}

.hero-visual img {
    height: 540px;
    object-position: center 22%;
    box-shadow: var(--shadow);
}

.coupon-card {
    position: absolute;
    inset-inline-start: -18px;
    bottom: 28px;
    display: flex;
    width: min(300px, 80%);
    background: var(--white);
    border-radius: 18px;
    box-shadow: var(--shadow);
    overflow: hidden;
    animation: float 5.5s ease-in-out infinite;
}

.coupon-main,
.coupon-stub {
    padding: 1rem 0.95rem;
}

.coupon-main {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 0.15rem;
}

.coupon-brand,
.coupon-stub small {
    font-size: 0.75rem;
    letter-spacing: 0.04em;
    color: var(--muted);
}

.coupon-main strong {
    font-family: var(--serif);
    font-size: 2.4rem;
    line-height: 1;
    color: var(--pine-deep);
}

.coupon-main span { color: var(--ink); font-size: 0.92rem; }

.coupon-main code {
    margin-top: 0.45rem;
    font-family: var(--sans);
    font-weight: 700;
    letter-spacing: 0.08em;
}

.coupon-stub {
    width: 84px;
    border-inline-start: 1.5px dashed rgba(26, 35, 50, 0.22);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    align-items: center;
    gap: 0.6rem;
}

.barcode {
    width: 46px;
    height: 78px;
    background: repeating-linear-gradient(
        90deg,
        var(--ink) 0 2px,
        transparent 2px 4px,
        var(--ink) 4px 5px,
        transparent 5px 8px,
        var(--ink) 8px 12px,
        transparent 12px 14px
    );
}

.signals { background: var(--white); border-block: 1px solid var(--line); }

.signal-row {
    width: min(1120px, calc(100% - 2.5rem));
    margin: 0 auto;
    padding: 0;
    list-style: none;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
}

.signal-row li { gap: 0.9rem; padding: 1.35rem 0.4rem; }

.signal-row li + li { border-inline-start: 1px solid var(--line); padding-inline-start: 1.3rem; }

.signal-row i {
    width: 42px;
    height: 42px;
    display: grid;
    place-items: center;
    border-radius: 12px;
    background: #e7eef6;
    color: var(--pine);
    flex: none;
}

.signal-row strong,
.signal-row span { display: block; }

.signal-row span { color: var(--muted); font-size: 0.95rem; }

.section { padding: 5.5rem 0; }

.section-head { max-width: 16em; margin-bottom: 2.2rem; }

.section-head h2,
.split-copy h2,
.lead-copy h2 { font-size: clamp(2rem, 3vw, 3rem); }

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

.ticket,
.audience-card {
    background: var(--white);
    border: 1px solid var(--line);
    border-radius: 22px;
    padding: 1.5rem 1.4rem 1.45rem;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.ticket:hover,
.audience-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 16px 40px rgba(26, 35, 50, 0.08);
}

.ticket-top { justify-content: space-between; margin-bottom: 1.4rem; }

.ticket-top i {
    width: 46px;
    height: 46px;
    display: grid;
    place-items: center;
    border-radius: 50%;
    background: #e7eef6;
    color: var(--pine-deep);
}

.ticket-top span,
.step-no {
    font-family: var(--serif);
    color: var(--clay);
}

.ticket h3,
.audience-card h3,
.steps h3 { font-size: 1.7rem; margin-bottom: 0.35rem; }

.section-how { background: linear-gradient(180deg, rgba(255, 253, 249, 0.65), transparent 80%); }

.steps {
    grid-template-columns: repeat(4, 1fr);
    list-style: none;
    margin: 0;
    padding: 0;
    gap: 1.2rem;
}

.steps li {
    padding-top: 1rem;
    border-top: 1px dashed rgba(26, 35, 50, 0.28);
}

.step-no { display: block; font-size: 1.8rem; margin-bottom: 0.8rem; }

.steps p,
.ticket p { color: var(--muted); }

.split-grid { grid-template-columns: 1fr 1fr; align-items: center; gap: 4rem; }

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

.split-media { margin: 0; }

.split-media img { height: 440px; box-shadow: var(--shadow); }

.split-media figcaption {
    margin-top: 0.7rem;
    color: var(--muted);
    font-size: 0.92rem;
}

.check-list,
.stat-pills {
    list-style: none;
    margin: 1.4rem 0 0;
    padding: 0;
}

.check-list { display: grid; gap: 0.7rem; }

.check-list li { gap: 0.7rem; font-weight: 500; }

.check-list i { color: var(--pine); width: 1.2rem; }

.stat-pills { display: flex; flex-wrap: wrap; gap: 0.7rem; }

.stat-pills li {
    flex-direction: column;
    align-items: flex-start;
    background: var(--white);
    border: 1px solid var(--line);
    border-radius: 16px;
    padding: 0.8rem 1rem;
    min-width: 8.5rem;
}

.stat-pills span { color: var(--muted); font-size: 0.9rem; }

.section-audience { padding-top: 1rem; }

.audience-grid { grid-template-columns: 1fr 1fr; }

.audience-card i {
    font-size: 1.3rem;
    color: var(--pine);
}

.lead-band {
    background:
        radial-gradient(800px 380px at 100% 0%, rgba(255, 255, 255, 0.08), transparent 55%),
        var(--pine-deep);
    color: white;
    padding: 5rem 0;
}

.lead-grid { grid-template-columns: 0.9fr 1.1fr; align-items: start; gap: 3rem; }

.lead-copy { padding-top: 0.6rem; }

.eyebrow-light { color: #c5d6ea; }

.lead-copy p { color: rgba(255, 255, 255, 0.78); max-width: 28rem; }

.lead-card {
    background: var(--white);
    color: var(--ink);
    border-radius: 24px;
    padding: 1.6rem 1.5rem 1.4rem;
    box-shadow: var(--shadow);
}

.form-legend {
    font-family: var(--serif);
    font-size: 1.45rem;
    margin-bottom: 1rem;
}

.field-label {
    display: block;
    font-size: 0.92rem;
    font-weight: 600;
    margin-bottom: 0.35rem;
}

.inpt {
    width: 100%;
    display: block;
    background: var(--paper);
    border: 1px solid var(--line);
    border-radius: 12px;
    padding: 0.9rem 1rem;
    margin-bottom: 0.9rem;
    color: var(--ink);
    font-size: 1rem;
}

.inpt[type="email"],
.inpt[inputmode="numeric"] {
    direction: ltr;
    text-align: right;
}

.inpt:focus {
    outline: 2px solid var(--pine);
    outline-offset: 1px;
    background: white;
}

.inpt:user-invalid { border-color: #a33b2b; }

.goal-field {
    display: flex;
    flex-direction: column;
    border: 0;
    margin: 0.2rem 0 0.9rem;
    padding: 0;
    min-inline-size: 0;
}

.goal-field .field-label {
    display: block;
    width: 100%;
    padding: 0;
}

.goal-list {
    display: flex;
    flex-direction: column;
    gap: 0.2rem;
    padding: 0.35rem;
    border: 1px solid var(--line);
    border-radius: 12px;
    background: var(--paper);
}

.goal-option {
    display: flex;
    align-items: flex-start;
    gap: 0.55rem;
    padding: 0.35rem 0.45rem;
    border-radius: 10px;
    font-size: 0.92rem;
    line-height: 1.45;
    cursor: pointer;
}

.goal-option:has(input:checked) {
    background: rgba(30, 78, 134, 0.08);
}

.goal-option input {
    width: 1.05rem;
    height: 1.05rem;
    margin: 0.22rem 0 0;
    flex: 0 0 auto;
    accent-color: var(--pine);
}

.lead-card .btn { width: 100%; margin-top: 0.3rem; }

.site-footer {
    background: #0e2233;
    color: rgba(255, 255, 255, 0.78);
    padding: 2.2rem 0;
}

.footer-inner { justify-content: space-between; gap: 1.5rem; flex-wrap: wrap; }

.site-footer .logo-word { color: white; }

.site-footer p { margin-top: 0.25rem; }

.footer-nav { gap: 1rem; display: flex; flex-wrap: wrap; }

.footer-nav a:hover { color: white; }

.copyright { margin-inline-start: auto; }

.thanks[hidden] { display: none !important; }

.thanks {
    position: fixed;
    inset: 0;
    z-index: 80;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(0, 0, 0, 0.8);
    cursor: pointer;
    transition: opacity 0.45s ease;
}

.thanks p {
    margin: 0;
    color: #fff;
    font-family: var(--serif);
    font-weight: 600;
    font-size: clamp(2.6rem, 7vw, 4.8rem);
    line-height: 1.2;
}

.thanks.is-out {
    opacity: 0;
    pointer-events: none;
}

.js .reveal {
    opacity: 0;
    transform: translateY(18px);
    transition: opacity 0.7s ease, transform 0.7s ease;
}

.js .reveal.is-in { opacity: 1; transform: none; }

@keyframes float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-8px); }
}

@media (max-width: 900px) {
    .hero-grid,
    .split-grid,
    .ticket-grid,
    .steps,
    .audience-grid,
    .lead-grid,
    .signal-row {
        grid-template-columns: 1fr;
    }

    .hero h1 { max-width: none; }

    .hero-visual img,
    .split-media img { height: 320px; }

    .hero { padding: 2.2rem 0 2.6rem; }

    .lede { font-size: 1.02rem; }

    .hero-actions { margin-top: 1.2rem; }

    .coupon-card {
        position: relative;
        inset-inline-start: auto;
        bottom: auto;
        margin-top: -8.5rem;
        margin-inline: 0.85rem 0.2rem;
        width: auto;
    }

    .signal-row li + li {
        border-inline-start: 0;
        border-top: 1px solid var(--line);
        padding-inline-start: 0;
    }

    .media-first .split-media { order: 2; }

    .copyright { margin-inline-start: 0; }
}

@media (max-width: 760px) {
    .nav-toggle { display: inline-flex; align-items: center; justify-content: center; }

    .site-nav {
        display: none;
        position: absolute;
        inset-inline: 0;
        top: 100%;
        background: var(--white);
        border-bottom: 1px solid var(--line);
        padding: 0.4rem 1.25rem 1.1rem;
        flex-direction: column;
        align-items: stretch;
        gap: 0.2rem;
    }

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

    .site-nav a { padding: 0.7rem 0; }

    .site-nav .btn { margin-top: 0.4rem; }
}

@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    .coupon-card { animation: none; }
    .thanks { transition: none; }
    .js .reveal { opacity: 1; transform: none; transition: none; }
    .btn,
.ticket,
.audience-card { transition: none; }
}
