:root {
    --bg: #f7f3eb;
    --surface: #fffdf9;
    --surface-alt: #efe7da;
    --text: #1a2c2b;
    --muted: #596968;
    --line: #d9cfbe;
    --brand: #1b6b67;
    --brand-deep: #0f4f4c;
    --accent: #c77b31;
    --shadow: 0 18px 50px rgba(26, 44, 43, 0.08);
    --radius: 22px;
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    font-family: 'IBM Plex Sans', sans-serif;
    color: var(--text);
    background: linear-gradient(180deg, #fbf7ef 0%, #f4efe6 100%);
}

a {
    color: inherit;
    text-decoration: none;
}

img {
    max-width: 100%;
}

h1,
h2,
h3,
strong,
.brand,
.plan-name,
.eyebrow,
.badge {
    font-family: 'Plus Jakarta Sans', sans-serif;
}

h1,
h2,
h3,
p {
    margin-top: 0;
}

.shell {
    width: min(1120px, calc(100% - 32px));
    margin: 0 auto;
}

.site-header {
    position: sticky;
    top: 0;
    z-index: 20;
    backdrop-filter: blur(12px);
    background: rgba(247, 243, 235, 0.88);
    border-bottom: 1px solid rgba(217, 207, 190, 0.8);
}

.header-row,
.cta-band-row,
.footer-grid,
.hero-actions,
.filters-row {
    display: flex;
    gap: 16px;
}

.header-row {
    align-items: center;
    justify-content: space-between;
    padding: 16px 0;
}

.brand {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    font-size: 1.2rem;
    font-weight: 800;
}

.brand-mark {
    width: 40px;
    height: 40px;
    object-fit: contain;
    border-radius: 12px;
    flex: 0 0 auto;
}

.brand-text {
    white-space: nowrap;
}

.site-nav {
    display: flex;
    gap: 20px;
    align-items: center;
}

.nav-toggle {
    display: none;
}

.button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 48px;
    padding: 0 20px;
    border-radius: 999px;
    border: 1px solid var(--brand);
    font-weight: 700;
}

.button-primary {
    background: var(--brand);
    color: #fff;
}

.button-secondary {
    background: transparent;
    color: var(--brand-deep);
}

.hero {
    padding: 72px 0 40px;
}

.hero-grid,
.split-panel {
    display: grid;
    gap: 32px;
    grid-template-columns: 1.15fr 0.85fr;
    align-items: center;
}

.narrow-copy {
    max-width: 780px;
}

.eyebrow {
    text-transform: uppercase;
    letter-spacing: 0.08em;
    font-size: 0.76rem;
    color: var(--accent);
    font-weight: 800;
    margin-bottom: 16px;
}

h1 {
    font-size: clamp(2.6rem, 6vw, 4.7rem);
    line-height: 0.98;
    margin-bottom: 18px;
}

.lead {
    max-width: 62ch;
    font-size: 1.08rem;
    line-height: 1.7;
    color: var(--muted);
}

.support-line {
    color: var(--muted);
}

.hero-panel,
.score-card,
.mock-panel,
.bundle-card,
.info-card,
.step-card,
.plan-card,
.market-card {
    border-radius: var(--radius);
    background: var(--surface);
    border: 1px solid var(--line);
    box-shadow: var(--shadow);
}

.hero-panel {
    min-height: 360px;
    background:
        radial-gradient(circle at top right, rgba(199, 123, 49, 0.18), transparent 38%),
        linear-gradient(180deg, #fffdf9 0%, #f3ecdf 100%);
    padding: 24px;
}

.score-card {
    max-width: 260px;
    padding: 24px;
}

.score-card strong {
    display: block;
    font-size: 4rem;
    line-height: 1;
    margin: 12px 0;
    color: var(--brand-deep);
}

.score-label,
.pill,
.badge,
.risk-tag {
    display: inline-flex;
    align-items: center;
    min-height: 30px;
    padding: 0 12px;
    border-radius: 999px;
    font-size: 0.78rem;
    font-weight: 700;
}

.pill,
.badge {
    background: #e6f2f1;
    color: var(--brand-deep);
}

.risk-tag {
    background: #f7e7d7;
    color: #935514;
}

.section {
    padding: 28px 0 72px;
}

.section-soft {
    background: linear-gradient(180deg, rgba(239, 231, 218, 0.7) 0%, rgba(239, 231, 218, 0.2) 100%);
}

.card-grid {
    display: grid;
    gap: 20px;
}

.section-heading {
    margin-bottom: 24px;
}

.three-up {
    grid-template-columns: repeat(3, 1fr);
}

.proof-grid {
    grid-template-columns: repeat(2, 1fr);
}

.info-card,
.step-card,
.market-card,
.plan-card,
.bundle-card {
    padding: 24px;
}

.proof-card {
    padding: 24px;
    border-radius: var(--radius);
    border: 1px solid var(--line);
    background:
        linear-gradient(180deg, rgba(255, 253, 249, 0.98) 0%, rgba(243, 236, 223, 0.92) 100%);
    box-shadow: var(--shadow);
}

.proof-card h3,
.evidence-card h3 {
    margin-bottom: 12px;
}

.proof-points {
    margin: 16px 0 0;
    padding-left: 18px;
    color: var(--muted);
    line-height: 1.7;
}

.evidence-grid {
    margin-top: 16px;
}

.evidence-card {
    background: var(--surface);
}

.steps-grid,
.pricing-grid {
    display: grid;
    gap: 20px;
}

.steps-grid {
    grid-template-columns: repeat(3, 1fr);
}

.pricing-grid {
    grid-template-columns: repeat(4, 1fr);
}

.step-card span {
    display: inline-flex;
    margin-bottom: 12px;
    color: var(--accent);
    font-weight: 800;
}

.mock-panel {
    min-height: 320px;
    background:
        linear-gradient(135deg, rgba(27, 107, 103, 0.08), rgba(199, 123, 49, 0.12)),
        var(--surface);
}

.text-link {
    color: var(--brand-deep);
    font-weight: 700;
}

.recommended {
    position: relative;
    border-color: var(--brand);
    transform: translateY(-10px);
}

.plan-card h2 {
    font-size: 2.3rem;
    margin-bottom: 12px;
}

.plan-card h2 span {
    font-size: 1rem;
    color: var(--muted);
}

.plan-card ul {
    padding-left: 18px;
    color: var(--muted);
    line-height: 1.7;
}

.marketplace-grid {
    margin-top: 24px;
}

.filters-row {
    flex-wrap: wrap;
    margin-bottom: 16px;
}

.filters-row input,
.filters-row select {
    min-height: 48px;
    padding: 0 14px;
    border-radius: 14px;
    border: 1px solid var(--line);
    background: var(--surface);
    color: var(--text);
}

.cta-band {
    padding-bottom: 88px;
}

.cta-band-row {
    align-items: center;
    justify-content: space-between;
    padding: 28px;
    border-radius: var(--radius);
    background: #1a2c2b;
    color: #fff;
}

.site-footer {
    padding: 32px 0 48px;
    border-top: 1px solid var(--line);
}

.footer-grid {
    justify-content: space-between;
}

.footer-grid div:last-child {
    display: flex;
    gap: 18px;
    flex-wrap: wrap;
}

@media (max-width: 1080px) {
    .pricing-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 860px) {
    .nav-toggle {
        display: inline-flex;
        min-height: 42px;
        padding: 0 14px;
        border-radius: 999px;
        border: 1px solid var(--line);
        background: var(--surface);
    }

    .site-nav {
        display: none;
        position: absolute;
        top: calc(100% + 8px);
        right: 16px;
        flex-direction: column;
        align-items: flex-start;
        padding: 16px;
        min-width: 220px;
        border-radius: 18px;
        background: var(--surface);
        border: 1px solid var(--line);
        box-shadow: var(--shadow);
    }

    .site-nav.is-open {
        display: flex;
    }

    .header-cta {
        display: none;
    }

    .hero-grid,
    .split-panel,
    .three-up,
    .proof-grid,
    .steps-grid,
    .pricing-grid {
        grid-template-columns: 1fr;
    }

    .recommended {
        transform: none;
    }

    .cta-band-row,
    .footer-grid {
        flex-direction: column;
        align-items: flex-start;
    }
}

@media (max-width: 640px) {
    .brand {
        gap: 10px;
    }

    .brand-mark {
        width: 34px;
        height: 34px;
    }

    .hero {
        padding-top: 48px;
    }

    .button,
    .filters-row input,
    .filters-row select {
        width: 100%;
    }

    .hero-actions {
        flex-direction: column;
    }
}
