:root {
    --navy: #0b1520;
    --navy-2: #142433;
    --ink: #121820;
    --paper: #ebe6dc;
    --cream: #f7f4ee;
    --gold: #d4a017;
    --gold-2: #ebc25a;
    --teal: #0f8a78;
    --white: #ffffff;
    --muted: #5a6570;
    --line: rgba(11, 21, 32, 0.1);
    --shadow: 0 20px 48px rgba(11, 21, 32, 0.1);
    --radius: 22px;
    --max: 1180px;
    --wide: 1320px;
    --sans: "Segoe UI", "Avenir Next", "Helvetica Neue", system-ui, sans-serif;
    --serif: "Iowan Old Style", "Palatino Linotype", Palatino, "Times New Roman", serif;
}

*,
*::before,
*::after {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

@media (prefers-reduced-motion: reduce) {
    html {
        scroll-behavior: auto;
    }

    *,
    *::before,
    *::after {
        animation: none !important;
        transition: none !important;
    }
}

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

img,
.ph {
    max-width: 100%;
}

a {
    color: var(--teal);
}

a:hover {
    color: var(--navy);
}

.skip-link {
    position: absolute;
    left: 1rem;
    top: -3rem;
    background: var(--gold-2);
    color: var(--navy);
    padding: 0.5rem 0.8rem;
    z-index: 100;
}

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

.wrap {
    width: min(var(--max), calc(100% - 2rem));
    margin-inline: auto;
}

.wrap-wide {
    width: min(var(--wide), calc(100% - 2rem));
    margin-inline: auto;
}

.site-header {
    position: sticky;
    top: 0;
    z-index: 40;
    background: rgba(11, 21, 32, 0.94);
    color: var(--white);
}

.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    min-height: 4.1rem;
}

.brand {
    display: flex;
    align-items: center;
    gap: 0.7rem;
    text-decoration: none;
    color: var(--white);
}

.brand img {
    width: 36px;
    height: 36px;
}

.brand-copy {
    display: flex;
    flex-direction: column;
    line-height: 1.1;
}

.brand-name {
    font-weight: 700;
    letter-spacing: 0.01em;
}

.brand-tag {
    font-size: 0.74rem;
    color: rgba(255, 255, 255, 0.62);
}

.nav-toggle {
    display: none;
    border: 1px solid rgba(255, 255, 255, 0.22);
    background: transparent;
    color: var(--white);
    border-radius: 10px;
    padding: 0.4rem 0.7rem;
    font: inherit;
}

.site-nav {
    display: flex;
    align-items: center;
    gap: 0.2rem 1.05rem;
    flex-wrap: wrap;
}

.site-nav a {
    text-decoration: none;
    color: rgba(255, 255, 255, 0.86);
    font-weight: 600;
    font-size: 0.92rem;
}

.site-nav a[aria-current="page"],
.site-nav a:hover {
    color: var(--gold-2);
}

.nav-cta {
    background: var(--gold-2);
    color: var(--navy) !important;
    padding: 0.42rem 0.85rem;
    border-radius: 999px;
}

.hero {
    position: relative;
    color: var(--white);
    background: var(--navy);
    overflow: hidden;
}

.hero-cover {
    min-height: min(86vh, 820px);
    display: grid;
}

.hero-cover > .ph {
    grid-area: 1 / 1;
    min-height: min(86vh, 820px);
    border-radius: 0;
}

.hero-cover .hero-copy,
.hero .wrap,
.hero .wrap-wide {
    position: relative;
    z-index: 2;
}

.hero-copy {
    grid-area: 1 / 1;
    align-self: end;
    width: min(var(--max), calc(100% - 2rem));
    margin: 0 auto;
    padding: 5.5rem 0 3.2rem;
}

.hero-copy .lede,
.hero .lede {
    color: rgba(255, 255, 255, 0.9);
}

.hero-plain {
    padding: 4.4rem 0 3.6rem;
    background:
        radial-gradient(circle at 80% 10%, rgba(235, 194, 90, 0.16), transparent 32%),
        linear-gradient(165deg, var(--navy) 0%, var(--navy-2) 100%);
}

.hero-grid,
.split,
.cards,
.stats,
.faq-list,
.bento {
    display: grid;
    gap: 1.2rem;
}

.hero-grid,
.split {
    grid-template-columns: 1.15fr 0.85fr;
    align-items: center;
}

.split-top {
    align-items: start;
}

.kicker {
    display: inline-block;
    text-transform: uppercase;
    letter-spacing: 0.14em;
    font-size: 0.74rem;
    font-weight: 700;
    color: var(--gold-2);
    margin-bottom: 0.75rem;
}

.kicker-dark {
    color: var(--teal);
}

h1,
h2,
h3,
.serif {
    font-family: var(--serif);
    font-weight: 600;
    letter-spacing: -0.03em;
    line-height: 1.08;
}

h1 {
    font-size: clamp(2.3rem, 6vw, 4.5rem);
    margin: 0 0 1rem;
}

h2 {
    font-size: clamp(1.7rem, 3.2vw, 2.6rem);
    margin: 0 0 0.75rem;
}

h3 {
    font-size: 1.28rem;
    margin: 0 0 0.4rem;
}

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

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

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.4rem;
    text-decoration: none;
    border: 0;
    border-radius: 999px;
    padding: 0.8rem 1.2rem;
    font: inherit;
    font-weight: 700;
    cursor: pointer;
}

.btn-gold {
    background: var(--gold-2);
    color: var(--navy);
}

.btn-gold:hover {
    background: #f3d078;
    color: var(--navy);
}

.btn-ghost {
    background: transparent;
    color: var(--white);
    box-shadow: inset 0 0 0 1.5px rgba(255, 255, 255, 0.42);
}

.btn-ghost:hover {
    color: var(--white);
    background: rgba(255, 255, 255, 0.08);
}

.btn-navy {
    background: var(--navy);
    color: var(--white);
}

.btn-navy:hover {
    color: var(--white);
    background: #102030;
}

.panel {
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.16);
    border-radius: var(--radius);
    padding: 1.35rem 1.4rem;
    backdrop-filter: blur(8px);
}

.panel h2,
.panel h3 {
    color: var(--white);
}

.panel li,
.panel p {
    color: rgba(255, 255, 255, 0.88);
}

.stats {
    grid-template-columns: repeat(3, 1fr);
    margin-top: -2.4rem;
    position: relative;
    z-index: 3;
}

.stat {
    background: var(--white);
    border-radius: var(--radius);
    padding: 1.25rem 1.3rem;
    box-shadow: var(--shadow);
}

.stat strong {
    display: block;
    font-family: var(--serif);
    font-size: 1.9rem;
    color: var(--navy);
}

.stat span {
    color: var(--muted);
}

.section {
    padding: 4.4rem 0;
    content-visibility: auto;
    contain-intrinsic-size: 1px 720px;
}

.section.tight {
    padding-top: 2.6rem;
}

.muted {
    color: var(--muted);
}

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

.card,
.form-card,
.guide-article {
    background: var(--white);
    border-radius: var(--radius);
    padding: 1.35rem;
    box-shadow: var(--shadow);
}

.card .icon {
    width: 2.5rem;
    height: 2.5rem;
    border-radius: 11px;
    background: #e7f4f1;
    color: var(--teal);
    display: grid;
    place-items: center;
    margin-bottom: 0.85rem;
    font-weight: 800;
}

.price-box {
    background: var(--navy);
    color: var(--white);
    border-radius: var(--radius);
    padding: 1.8rem;
}

.price-box .amount {
    font-family: var(--serif);
    font-size: 3.5rem;
    line-height: 1;
}

.checklist {
    margin: 0;
    padding: 0;
    list-style: none;
}

.checklist li {
    padding: 0.42rem 0 0.42rem 1.55rem;
    position: relative;
}

.checklist li::before {
    content: "✓";
    position: absolute;
    left: 0;
    color: var(--gold-2);
    font-weight: 800;
}

.funnel {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 0.9rem;
}

.funnel article {
    background: var(--white);
    border-radius: 16px;
    padding: 0;
    overflow: hidden;
    box-shadow: var(--shadow);
}

.funnel article .funnel-copy {
    padding: 1rem 1.05rem 1.15rem;
}

.band-paper {
    background: var(--paper);
}

.bento {
    grid-template-columns: 1.4fr 1fr;
}

.bento .ph--cover {
    min-height: 420px;
}

.form-card {
    color: var(--ink);
}

.form-card label,
.field label {
    display: block;
    font-weight: 700;
    margin-bottom: 0.3rem;
}

.field {
    margin-bottom: 1rem;
}

.field input,
.field select,
.field textarea {
    width: 100%;
    border: 1px solid var(--line);
    border-radius: 12px;
    padding: 0.7rem 0.8rem;
    font: inherit;
    background: var(--cream);
}

.field input:focus,
.field select:focus,
.field textarea:focus {
    outline: 3px solid rgba(15, 138, 120, 0.28);
    border-color: var(--teal);
}

.hp {
    position: absolute;
    left: -9999px;
    width: 1px;
    height: 1px;
    overflow: hidden;
}

.error {
    color: #9b2c2c;
    font-size: 0.92rem;
    margin-top: 0.25rem;
}

.banner-error {
    background: #fde8e8;
    color: #7a1f1f;
    padding: 0.8rem 1rem;
    border-radius: 12px;
    margin-bottom: 1rem;
}

.guide-article {
    max-width: 46rem;
}

.guide-article h2 {
    margin-top: 2rem;
}

.faq-list {
    grid-template-columns: 1fr 1fr;
}

details {
    background: var(--white);
    border-radius: 14px;
    padding: 0.9rem 1rem;
}

details summary {
    cursor: pointer;
    font-weight: 700;
}

.site-footer {
    background: var(--navy);
    color: rgba(255, 255, 255, 0.78);
    padding: 2.5rem 0 1.7rem;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.4fr 1fr 1fr;
    gap: 1.5rem;
}

.site-footer a {
    color: var(--gold-2);
}

.fineprint {
    font-size: 0.88rem;
    color: rgba(255, 255, 255, 0.55);
}

.ph {
    display: block;
    margin: 0;
    width: 100%;
    border-radius: var(--radius);
    overflow: hidden;
    isolation: isolate;
}

.ph-frame {
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    gap: 0.35rem;
    min-height: 220px;
    aspect-ratio: var(--ph-ratio, 16/9);
    padding: 1.25rem 1.3rem 1.2rem;
    color: var(--white);
    background:
        linear-gradient(180deg, rgba(11, 21, 32, 0.05) 0%, rgba(11, 21, 32, 0.72) 100%),
        repeating-linear-gradient(
            -28deg,
            transparent,
            transparent 14px,
            rgba(255, 255, 255, 0.04) 14px,
            rgba(255, 255, 255, 0.04) 15px
        );
}

.ph--navy .ph-frame {
    background-color: #1a3348;
}

.ph--stone .ph-frame {
    background-color: #8a8070;
}

.ph--teal .ph-frame {
    background-color: #14685c;
}

.ph--gold .ph-frame {
    background-color: #8a6a1d;
}

.ph--ink .ph-frame {
    background-color: #1b2128;
}

.ph--hero .ph-frame,
.ph--cover.ph--overlay .ph-frame {
    min-height: inherit;
    aspect-ratio: auto;
    justify-content: flex-start;
    align-items: flex-end;
    text-align: right;
    padding: 5.6rem 1.5rem 1.6rem;
}

.hero-cover > .ph .ph-title,
.hero-cover > .ph .ph-brief {
    max-width: 22rem;
}

.ph--hero {
    border-radius: 0;
}

.ph--tile .ph-frame,
.ph--square .ph-frame {
    min-height: 220px;
}

.ph--portrait .ph-frame {
    min-height: 360px;
}

.ph--split .ph-frame {
    min-height: 320px;
}

.ph--wide .ph-frame {
    min-height: 280px;
}

.ph-kicker {
    margin: 0;
    text-transform: uppercase;
    letter-spacing: 0.16em;
    font-size: 0.68rem;
    font-weight: 700;
    color: var(--gold-2);
}

.ph-title {
    margin: 0;
    font-family: var(--serif);
    font-size: clamp(1.25rem, 2.4vw, 2.1rem);
    line-height: 1.15;
    letter-spacing: -0.02em;
    max-width: 28rem;
}

.ph-brief {
    margin: 0;
    max-width: 36rem;
    color: rgba(255, 255, 255, 0.86);
    font-size: 0.95rem;
}

.ph-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 0.45rem;
    margin: 0.45rem 0 0;
}

.ph-meta span {
    background: rgba(0, 0, 0, 0.38);
    border: 1px solid rgba(255, 255, 255, 0.18);
    border-radius: 999px;
    padding: 0.22rem 0.6rem;
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.01em;
}

@media (max-width: 860px) {
    .nav-toggle {
        display: inline-flex;
    }

    .site-nav {
        display: none;
        width: 100%;
        flex-direction: column;
        align-items: flex-start;
        padding-bottom: 1rem;
    }

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

    .header-inner {
        flex-wrap: wrap;
    }

    .hero-grid,
    .split,
    .cards,
    .stats,
    .funnel,
    .faq-list,
    .footer-grid,
    .bento {
        grid-template-columns: 1fr;
    }

    .hero-cover {
        min-height: 72vh;
    }

    .hero-copy {
        padding-top: 3.4rem;
    }
}
