:root {
    color-scheme: light;
    --brand: #2563eb;
    --on-brand: #fff;
    --ink: #14213d;
    --muted: #53627b;
    --border: #e3eaf5;
}

* {
    box-sizing: border-box;
}

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

body {
    margin: 0;
    font-family: Inter, ui-sans-serif, system-ui, -apple-system,
        BlinkMacSystemFont, "Segoe UI", sans-serif;
    color: var(--ink);
    background: #fff;
    line-height: 1.65;
}

a {
    color: inherit;
}

img {
    max-width: 100%;
}

button,
input,
select,
textarea {
    font: inherit;
}

.container {
    width: min(1180px, calc(100% - 40px));
    margin-inline: auto;
}

.skip-link {
    position: fixed;
    top: -100px;
    left: 20px;
    z-index: 100;
    padding: 12px 20px;
    background: #fff;
    color: #111;
}

.skip-link:focus {
    top: 10px;
}

:focus-visible {
    outline: 3px solid #0f172a;
    outline-offset: 4px;
}

.preview-banner {
    padding: 10px;
    text-align: center;
    color: #713f12;
    background: #fef3c7;
    font-weight: 600;
}

.site-header {
    position: sticky;
    top: 0;
    z-index: 30;
    background: #ffffffed;
    backdrop-filter: blur(18px);
    border-bottom: 1px solid var(--border);
}

.header-inner {
    min-height: 84px;
    display: flex;
    align-items: center;
    gap: 24px;
}

.brand {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    font-weight: 800;
    font-size: 19px;
    text-decoration: none;
    margin-right: auto;
}

.brand img {
    object-fit: contain;
}

.main-nav,
.nav-group {
    display: flex;
    align-items: center;
    gap: 12px;
}

.main-nav {
    gap: 24px;
}

.main-nav a {
    text-decoration: none;
    font-weight: 600;
    font-size: 14px;
}

.main-nav a:hover {
    text-decoration: underline;
}

.submenu {
    position: relative;
}

.submenu summary {
    cursor: pointer;
    list-style: none;
    padding: 6px;
}

.submenu-content {
    position: absolute;
    right: 0;
    top: 100%;
    min-width: 230px;
    padding: 10px;
    background: #fff;
    border: 1px solid var(--border);
    border-radius: 14px;
    box-shadow: 0 20px 50px #10213c20;
}

.submenu-content a {
    display: block;
    padding: 10px;
    border-radius: 8px;
}

.submenu-content a:hover {
    background: #f1f5fb;
}

.nav-toggle {
    display: none;
}

.nav-check {
    position: absolute;
    width: 1px;
    height: 1px;
    opacity: 0;
}

.section {
    padding: 86px 0;
}

.section-hero {
    overflow: hidden;
    position: relative;
    padding: 105px 0;
    background:
        radial-gradient(
            circle at 80% 20%,
            #bfdbfe 0,
            #dbeafe80 20%,
            transparent 48%
        ),
        linear-gradient(145deg, #eff6ff, #fff 70%);
}

.section-hero::before {
    content: "";
    position: absolute;
    width: 500px;
    height: 500px;
    right: -150px;
    top: -200px;
    border-radius: 50%;
    border: 70px solid #ffffff60;
    pointer-events: none;
}

.split {
    position: relative;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 60px;
    align-items: center;
}

.split:not(:has(.section-visual)) {
    grid-template-columns: minmax(0, 820px);
}

.reverse .section-copy {
    order: 2;
}

.reverse .section-visual {
    order: 1;
}

.eyebrow {
    color: #1e40af;
    font-size: 13px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: .15em;
}

h1,
h2,
h3 {
    line-height: 1.15;
    letter-spacing: -.035em;
    margin: 0 0 20px;
}

h1 {
    font-size: clamp(38px, 5vw, 65px);
}

h2 {
    font-size: clamp(29px, 3.5vw, 44px);
}

h3 {
    font-size: 21px;
}

.lead {
    color: var(--muted);
    font-size: 18px;
    max-width: 650px;
}

.button {
    display: inline-flex;
    align-items: center;
    gap: 24px;
    padding: 14px 24px;
    margin-top: 28px;
    border-radius: 12px;
    background: var(--brand);
    color: var(--on-brand);
    text-decoration: none;
    font-weight: 750;
    box-shadow: 0 12px 30px #1e40af18;
}

.button:hover {
    filter: brightness(.96);
}

.section-visual {
    border: 1px solid #ffffff;
    border-radius: 30px;
    overflow: hidden;
    background: #e9f2ff;
    box-shadow: 0 30px 70px #163c7420;
}

.section-visual img {
    display: block;
    width: 100%;
    height: auto;
    object-fit: contain;
}

.section-heading {
    max-width: 760px;
    margin: 0 auto 40px;
    text-align: center;
}

.section-heading p,
.card p,
.faq-list p {
    color: var(--muted);
}

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

.card {
    padding: 30px;
    border: 1px solid var(--border);
    border-radius: 20px;
    background: #fff;
    box-shadow: 0 12px 30px #162b4c05;
}

.stats .card {
    text-align: center;
    background: #f7faff;
}

.stats h3 {
    font-size: 38px;
    color: #1e40af;
}

.section-content:nth-child(even),
.section-faq {
    background: #f7faff;
}

.faq-list {
    max-width: 850px;
    margin: auto;
}

.faq-list details {
    padding: 20px 24px;
    margin: 12px 0;
    border: 1px solid var(--border);
    border-radius: 14px;
    background: #fff;
}

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

.section-cta {
    background: #eff6ff;
}

.site-footer {
    padding: 38px 0;
    border-top: 1px solid var(--border);
}

.footer-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    color: var(--muted);
    font-size: 14px;
}

.footer-meta {
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.footer-lock-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: var(--muted);
    opacity: 0.32;
    transition: opacity 0.2s ease, color 0.2s ease, transform 0.15s ease;
    text-decoration: none;
    padding: 6px;
    border-radius: 6px;
    vertical-align: middle;
}

.footer-lock-link:hover {
    opacity: 0.95;
    color: var(--brand, #2563eb);
    transform: scale(1.12);
}

.footer-lock-link:focus-visible {
    opacity: 1;
    outline: 2px solid var(--brand, #2563eb);
    outline-offset: 2px;
}

@media (max-width: 900px) {
    .header-inner {
        flex-wrap: wrap;
        padding-block: 16px;
        gap: 14px;
    }

    .nav-toggle {
        display: inline-block;
        padding: 8px 14px;
        border: 1px solid var(--border);
        border-radius: 9px;
        cursor: pointer;
    }

    .nav-check:focus-visible + .nav-toggle {
        outline: 3px solid #0f172a;
    }

    .main-nav {
        display: none;
        width: 100%;
        align-items: stretch;
        flex-direction: column;
        padding: 14px 0;
    }

    .nav-check:checked ~ .main-nav {
        display: flex;
    }

    .nav-group {
        justify-content: space-between;
    }

    .submenu-content {
        right: 0;
    }

    .section {
        padding: 58px 0;
    }

    .split,
    .split:not(:has(.section-visual)) {
        grid-template-columns: 1fr;
        gap: 32px;
    }

    .reverse .section-copy,
    .reverse .section-visual {
        order: initial;
    }

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

    .footer-inner {
        flex-direction: column;
        text-align: center;
    }
}

@media (max-width: 560px) {
    .cards {
        grid-template-columns: 1fr;
    }

    .container {
        width: calc(100% - 28px);
    }
}

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