:root {
    --bg: #f4f8f8;
    --bg-alt: #e8f0ef;
    --surface: #ffffff;
    --surface-soft: #f7fbfa;
    --ink: #102730;
    --ink-muted: #4d6370;
    --line: #d7e3e2;
    --brand: #0f5a67;
    --brand-strong: #0d7385;
    --brand-soft: #cdeef2;
    --accent: #f0b95a;
    --success: #0b7d4b;
    --radius: 18px;
    --radius-sm: 12px;
    --shadow: 0 12px 40px rgba(11, 42, 49, 0.08);
}

* {
    box-sizing: border-box;
}

html,
body {
    margin: 0;
    padding: 0;
}

body {
    font-family: "Manrope", sans-serif;
    color: var(--ink);
    background: radial-gradient(circle at top right, #e4f7f8 0%, var(--bg) 45%, #f8fbfb 100%);
    line-height: 1.6;
}

h1,
h2,
h3,
h4,
.brand strong {
    font-family: "Sora", sans-serif;
    letter-spacing: -0.02em;
    line-height: 1.25;
    margin-top: 0;
}

a {
    color: var(--brand);
    text-decoration: none;
}

a:hover {
    color: var(--brand-strong);
}

.container {
    width: min(1120px, 92%);
    margin: 0 auto;
}

.narrow {
    width: min(760px, 92%);
}

.skip-link {
    position: absolute;
    left: -10000px;
    top: auto;
}

.skip-link:focus {
    left: 16px;
    top: 16px;
    background: #fff;
    padding: 0.5rem 0.75rem;
    border-radius: 8px;
    z-index: 999;
}

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

.site-header {
    position: sticky;
    top: 0;
    z-index: 40;
    backdrop-filter: blur(14px);
    background: rgba(244, 248, 248, 0.92);
    border-bottom: 1px solid rgba(16, 39, 48, 0.08);
}

.nav-shell {
    display: grid;
    grid-template-columns: auto 1fr auto;
    align-items: center;
    gap: 1rem;
    min-height: 78px;
}

.brand {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    color: var(--ink);
}

.brand-mark {
    display: grid;
    place-items: center;
    width: 42px;
    height: 42px;
    border-radius: 12px;
    color: #fff;
    background: linear-gradient(145deg, var(--brand), var(--brand-strong));
    font-family: "Sora", sans-serif;
    font-weight: 700;
}

.brand small {
    display: block;
    color: var(--ink-muted);
    font-size: 0.78rem;
}

.site-nav {
    display: flex;
    justify-content: center;
    gap: 1.2rem;
    font-size: 0.95rem;
}

.site-nav a {
    color: #1b3943;
    font-weight: 600;
}

.nav-cta {
    display: flex;
    gap: 0.65rem;
}

.nav-toggle {
    display: none;
    border: 0;
    background: transparent;
    width: 42px;
    height: 42px;
    padding: 0;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    gap: 5px;
}

.nav-toggle span {
    display: block;
    width: 22px;
    height: 2px;
    background: var(--ink);
}

.hero {
    padding: 5.4rem 0 3rem;
}

.hero-grid {
    display: grid;
    grid-template-columns: 1.25fr 0.95fr;
    gap: 1.75rem;
    align-items: stretch;
}

.eyebrow {
    text-transform: uppercase;
    letter-spacing: 0.12em;
    font-size: 0.75rem;
    font-weight: 700;
    color: var(--brand-strong);
    margin-bottom: 0.7rem;
}

h1 {
    font-size: clamp(1.9rem, 3.5vw, 3rem);
    margin-bottom: 1rem;
}

.lead {
    font-size: 1.07rem;
    color: #28434f;
    max-width: 62ch;
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    margin: 1.4rem 0;
}

.hero-points {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.55rem 1rem;
    padding-left: 1.1rem;
    margin: 0;
    color: var(--ink-muted);
}

.hero-card,
.info-card,
.market-card,
.resource-card,
.identity-card,
.success-panel,
.timeline-item,
.step,
.risk-note,
.cta-panel,
.lead-form-wrap,
.legal-banner,
.toast,
.table-wrap {
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
}

.hero-card {
    padding: 1.5rem;
    background: linear-gradient(180deg, #ffffff 0%, #f1fbfb 100%);
}

.hero-card ul,
.check-list {
    margin: 0.75rem 0 0;
    padding-left: 1.1rem;
}

.hero-card-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    margin-top: 1rem;
}

.legal-banner {
    margin-top: 1rem;
    padding: 0.85rem 1rem;
    font-size: 0.95rem;
    background: #fff9ec;
    border-color: #f0ddae;
    box-shadow: none;
}

.section {
    padding: 3.8rem 0;
}

.section.alt {
    background: linear-gradient(180deg, var(--bg-alt) 0%, #edf5f4 100%);
    border-top: 1px solid #d9e8e7;
    border-bottom: 1px solid #d9e8e7;
}

.section-head {
    max-width: 720px;
    margin-bottom: 1.5rem;
}

.card-grid {
    display: grid;
    gap: 1rem;
}

.card-grid.three {
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.card-grid.two {
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.info-card,
.market-card,
.resource-card,
.identity-card {
    padding: 1.25rem;
}

.resource-grid {
    display: grid;
    gap: 1rem;
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.resource-card {
    color: var(--ink);
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.resource-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 20px 35px rgba(12, 43, 50, 0.13);
}

.steps {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 1rem;
}

.step {
    position: relative;
    padding: 1.15rem;
}

.step span {
    display: inline-grid;
    place-items: center;
    width: 30px;
    height: 30px;
    border-radius: 999px;
    background: var(--brand-soft);
    color: var(--brand);
    font-weight: 800;
    margin-bottom: 0.7rem;
}

.faq-list details {
    background: #fff;
    border: 1px solid var(--line);
    border-radius: var(--radius-sm);
    padding: 1rem 1.1rem;
    margin-bottom: 0.8rem;
}

.faq-list summary {
    cursor: pointer;
    font-weight: 700;
}

.broker-feature {
    display: grid;
    grid-template-columns: 1.15fr 1fr;
    gap: 1.2rem;
    align-items: start;
}

.support-flow {
    display: grid;
    gap: 1rem;
}

.flow-steps {
    display: grid;
    gap: 1rem;
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.lead-magnet {
    display: grid;
    gap: 1.2rem;
    grid-template-columns: 1.05fr 1fr;
    align-items: start;
}

.table-wrap {
    overflow-x: auto;
    padding: 0.3rem;
}

table {
    width: 100%;
    border-collapse: collapse;
    font-size: 0.95rem;
}

th,
td {
    text-align: left;
    padding: 0.9rem;
    border-bottom: 1px solid #e8efef;
}

th {
    color: #20414b;
    background: #f1f9f8;
}

.page-hero {
    padding: 4.2rem 0 2rem;
}

.timeline {
    display: grid;
    gap: 0.9rem;
}

.timeline-item {
    padding: 1.2rem;
}

.split {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 1rem;
    align-items: start;
}

.prose {
    max-width: 820px;
}

.prose h2 {
    margin-top: 1.6rem;
    margin-bottom: 0.5rem;
}

.prose ul {
    padding-left: 1.1rem;
}

.lead-form-wrap {
    padding: 1.2rem;
    background: linear-gradient(180deg, #ffffff 0%, #f6fbfb 100%);
}

.lead-form-wrap.compact {
    padding: 1rem;
}

.lead-form-header p {
    margin-top: -0.3rem;
    color: var(--ink-muted);
}

.lead-form-grid {
    display: grid;
    gap: 0.9rem;
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.lead-form-grid label,
.lead-form-grid fieldset {
    display: flex;
    flex-direction: column;
    gap: 0.45rem;
    font-weight: 600;
    color: #14313a;
}

.lead-form-grid input,
.lead-form-grid select,
.lead-form-grid textarea {
    border: 1px solid #cddfdd;
    border-radius: 12px;
    padding: 0.72rem 0.8rem;
    font: inherit;
    background: #fff;
}

.lead-form-grid input:focus,
.lead-form-grid select:focus,
.lead-form-grid textarea:focus {
    border-color: var(--brand-strong);
    outline: 2px solid rgba(13, 115, 133, 0.12);
}

fieldset {
    border: 1px solid #d3e5e3;
    border-radius: 12px;
    padding: 0.75rem;
}

legend {
    font-weight: 700;
    padding: 0 0.3rem;
}

.interest-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.5rem;
}

.check-pill {
    border: 1px solid #d5e4e3;
    border-radius: 999px;
    padding: 0.35rem 0.6rem;
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    font-size: 0.9rem;
}

.check-pill input {
    accent-color: var(--brand-strong);
}

.full-row {
    grid-column: 1 / -1;
}

.consent {
    align-items: flex-start;
    flex-direction: row !important;
    font-weight: 500 !important;
}

.consent input {
    margin-top: 0.2rem;
}

.form-actions {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 0.7rem;
}

.form-alert {
    border-radius: 10px;
    padding: 0.75rem 0.85rem;
    margin-bottom: 0.8rem;
}

.form-alert.error {
    background: #fff1f2;
    border: 1px solid #fcc9cf;
    color: #82293a;
}

small {
    color: #8a2b37;
}

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

.mono {
    font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace;
    font-size: 0.9rem;
    word-break: break-all;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 12px;
    border: 1px solid transparent;
    padding: 0.7rem 1.05rem;
    font-weight: 700;
    transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.btn:hover {
    transform: translateY(-1px);
}

.btn-primary {
    color: #fff;
    background: linear-gradient(145deg, var(--brand), var(--brand-strong));
    box-shadow: 0 8px 20px rgba(13, 115, 133, 0.28);
}

.btn-primary:hover {
    color: #fff;
}

.btn-ghost {
    border-color: #c6d9d7;
    background: #fff;
    color: #1e404a;
}

.risk-note {
    padding: 1rem 1.1rem;
    border-left: 5px solid var(--accent);
}

.cta-panel {
    margin-top: 1.2rem;
    padding: 1.25rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1rem;
}

.cta-panel-actions {
    display: flex;
    gap: 0.65rem;
    flex-wrap: wrap;
}

.success-panel {
    padding: 1.4rem;
    text-align: center;
}

.toast-wrap {
    position: fixed;
    top: 90px;
    right: 4%;
    z-index: 60;
}

.toast {
    padding: 0.85rem 1rem;
    min-width: 300px;
}

.toast.success {
    border-left: 5px solid var(--success);
}

.site-footer {
    margin-top: 3.5rem;
    background: #0f2f39;
    color: #d6e8eb;
    padding-top: 2.2rem;
}

.site-footer a {
    color: #eef9fb;
}

.footer-grid {
    display: grid;
    gap: 1rem;
    grid-template-columns: 1.2fr repeat(3, 1fr);
    padding-bottom: 1.1rem;
}

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

.footer-links li {
    margin-bottom: 0.45rem;
}

.footer-risk {
    border-top: 1px solid rgba(214, 232, 235, 0.2);
    padding: 1rem 0 1.6rem;
    font-size: 0.9rem;
}

.mobile-sticky-bar {
    position: fixed;
    left: 12px;
    right: 12px;
    bottom: 12px;
    padding: 0.55rem;
    border-radius: 14px;
    background: rgba(9, 36, 43, 0.92);
    border: 1px solid rgba(214, 232, 235, 0.2);
    backdrop-filter: blur(10px);
    display: none;
    gap: 0.55rem;
    justify-content: center;
    align-items: center;
    box-shadow: 0 10px 22px rgba(13, 115, 133, 0.35);
    z-index: 50;
}

.mobile-sticky-bar .btn {
    flex: 1;
    min-width: 0;
    padding: 0.64rem 0.7rem;
    font-size: 0.9rem;
}

.mobile-sticky-bar .btn-ghost {
    background: #ffffff;
}

.reveal {
    opacity: 0;
    transform: translateY(14px);
    transition: opacity 0.55s ease, transform 0.55s ease;
}

.reveal.in-view {
    opacity: 1;
    transform: translateY(0);
}

@media (max-width: 1100px) {
    .nav-shell {
        grid-template-columns: auto auto auto;
        justify-content: space-between;
    }

    .nav-toggle {
        display: inline-flex;
    }

    .site-nav {
        position: absolute;
        left: 4%;
        right: 4%;
        top: 84px;
        background: #fff;
        border: 1px solid var(--line);
        border-radius: 14px;
        box-shadow: var(--shadow);
        display: none;
        flex-direction: column;
        padding: 0.8rem;
    }

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

    .nav-cta {
        display: none;
    }

    .hero-grid,
    .broker-feature,
    .lead-magnet,
    .split,
    .footer-grid {
        grid-template-columns: 1fr;
    }

    .flow-steps,
    .steps {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .card-grid.three,
    .resource-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 720px) {
    body {
        padding-bottom: 88px;
    }

    .hero,
    .page-hero {
        padding-top: 3.4rem;
    }

    .hero-points,
    .card-grid.two,
    .card-grid.three,
    .resource-grid,
    .flow-steps,
    .steps,
    .lead-form-grid,
    .interest-grid {
        grid-template-columns: 1fr;
    }

    .toast-wrap {
        left: 4%;
        right: 4%;
        top: 84px;
    }

    .toast {
        min-width: 0;
    }

    .mobile-sticky-bar {
        display: flex;
    }

    .section {
        padding: 3rem 0;
    }
}
