:root {
    --bg: #f4f7fb;
    --surface: #fff;
    --surface-soft: #eef2f8;
    --text: #0f172a;
    --muted: #5c6b7a;
    --primary: #1e3a8a;
    --accent: #0e7490;
    --accent-soft: #e0f2f7;
    --border: #e2e8f0;
    --glow: #1e3a8a1f;
    --radius: 16px;
    --max: 1180px;
    color-scheme: light;
}

html.dark {
    --bg: #060d18;
    --surface: #0c1424;
    --surface-soft: #111c2e;
    --text: #f1f5f9;
    --muted: #94a3b8;
    --primary: #5b7cfa;
    --accent: #38bdf8;
    --accent-soft: #0f2438;
    --border: #ffffff17;
    --glow: #5b7cfa26;
    color-scheme: dark;
}

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

html {
    -webkit-text-size-adjust: 100%;
    scroll-behavior: smooth;
}

body {
    margin: 0;
    font-family: "Plus Jakarta Sans", system-ui, -apple-system, "Segoe UI", sans-serif;
    font-size: 1rem;
    line-height: 1.7;
    color: var(--text);
    background: var(--bg);
}

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

a {
    color: var(--primary);
    text-underline-offset: 3px;
}

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

:focus-visible {
    outline: 2px solid var(--accent);
    outline-offset: 3px;
    border-radius: 6px;
}

h1,
h2,
h3 {
    line-height: 1.2;
    letter-spacing: -0.01em;
    margin: 0 0 0.6em;
}

h1 {
    font-size: clamp(2rem, 4.6vw, 3.1rem);
    font-weight: 800;
}

h2 {
    font-size: clamp(1.5rem, 3vw, 2.1rem);
    font-weight: 700;
}

h3 {
    font-size: 1.12rem;
    font-weight: 700;
}

p {
    margin: 0 0 1em;
}

ul,
ol {
    margin: 0 0 1em;
    padding-left: 1.25em;
}

.skip-link {
    position: absolute;
    left: -999px;
    top: 8px;
    z-index: 100;
    background: var(--primary);
    color: #fff;
    padding: 8px 14px;
    border-radius: 8px;
}

.skip-link:focus {
    left: 12px;
    color: #fff;
}

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

/* Header */
.site-header {
    position: sticky;
    top: 0;
    z-index: 50;
    background: color-mix(in srgb, var(--surface) 92%, transparent);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--border);
}

.site-header .wrap {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    min-height: 72px;
}

.brand {
    display: inline-flex;
    align-items: center;
}

.brand img {
    height: 40px;
    width: auto;
}

.brand .logo-dark {
    display: none;
}

html.dark .brand .logo-light {
    display: none;
}

html.dark .brand .logo-dark {
    display: block;
}

.main-nav {
    display: flex;
    align-items: center;
    gap: 0.25rem;
}

.main-nav a {
    color: var(--text);
    text-decoration: none;
    font-weight: 600;
    font-size: 0.94rem;
    padding: 0.45rem 0.7rem;
    border-radius: 999px;
}

.main-nav a:hover,
.main-nav a[aria-current="page"] {
    background: var(--surface-soft);
    color: var(--primary);
}

.header-actions {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.theme-toggle {
    width: 42px;
    height: 42px;
    border-radius: 999px;
    border: 1px solid var(--border);
    background: var(--surface-soft);
    color: var(--text);
    cursor: pointer;
    font-size: 1.05rem;
}

.mobile-nav {
    display: none;
    position: relative;
}

.mobile-nav summary {
    list-style: none;
    cursor: pointer;
    width: 42px;
    height: 42px;
    border-radius: 10px;
    border: 1px solid var(--border);
    background: var(--surface-soft);
    display: grid;
    place-items: center;
    font-size: 1.2rem;
}

.mobile-nav summary::-webkit-details-marker {
    display: none;
}

.mobile-nav nav {
    position: absolute;
    right: 0;
    top: 52px;
    min-width: 230px;
    padding: 0.5rem;
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: 14px;
    box-shadow: 0 18px 50px -20px rgba(15, 23, 42, 0.35);
    display: grid;
}

.mobile-nav nav a {
    padding: 0.6rem 0.8rem;
    border-radius: 10px;
    color: var(--text);
    text-decoration: none;
    font-weight: 600;
}

.mobile-nav nav a:hover {
    background: var(--surface-soft);
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    min-height: 46px;
    padding: 0.7rem 1.35rem;
    border-radius: 12px;
    font-weight: 700;
    font-size: 0.97rem;
    text-decoration: none;
    border: 1px solid transparent;
    transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

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

.btn-primary {
    background: var(--primary);
    color: #fff;
    box-shadow: 0 10px 30px -14px var(--primary);
}

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

.btn-ghost {
    background: var(--surface);
    color: var(--text);
    border-color: var(--border);
}

.btn-ghost:hover {
    color: var(--primary);
    border-color: var(--primary);
}

.btn-light {
    background: #fff;
    color: #0f172a;
}

.btn-light:hover {
    color: #0f172a;
}

.btn-outline-light {
    color: #fff;
    border-color: rgba(255, 255, 255, 0.45);
}

.btn-outline-light:hover {
    color: #fff;
    border-color: #fff;
}

.header-cta {
    min-height: 42px;
    padding: 0.5rem 1rem;
}

/* Breadcrumbs */
.breadcrumbs {
    padding: 1.1rem 0 0;
    font-size: 0.88rem;
    color: var(--muted);
}

.breadcrumbs ol {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-wrap: wrap;
    gap: 0.35rem;
}

.breadcrumbs li+li::before {
    content: "/";
    margin-right: 0.35rem;
    opacity: 0.6;
}

.breadcrumbs a {
    color: var(--muted);
    text-decoration: none;
}

.breadcrumbs a:hover {
    color: var(--primary);
}

/* Hero */
.hero {
    padding: 2.5rem 0 3.5rem;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: "";
    position: absolute;
    inset: -40% -10% auto auto;
    width: 60vw;
    height: 60vw;
    max-width: 720px;
    max-height: 720px;
    background: radial-gradient(circle, var(--glow), transparent 65%);
    pointer-events: none;
}

.hero .wrap {
    position: relative;
}

.eyebrow {
    display: inline-block;
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--accent);
    margin-bottom: 0.9rem;
}

.lead {
    font-size: 1.13rem;
    color: var(--muted);
    max-width: 760px;
}

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

.hero-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-top: 1.6rem;
    padding: 0;
    list-style: none;
}

.hero-meta li {
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--primary);
    background: var(--accent-soft);
    padding: 0.3rem 0.8rem;
    border-radius: 999px;
}

/* Sections */
.section {
    padding: 3.25rem 0;
}

.section.alt {
    background: var(--surface);
    border-block: 1px solid var(--border);
}

.section-head {
    max-width: 760px;
    margin-bottom: 1.8rem;
}

.section-head p {
    color: var(--muted);
}

.grid {
    display: grid;
    gap: 1.1rem;
}

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

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

.card {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 1.35rem 1.4rem;
}

.section.alt .card {
    background: var(--bg);
}

.card h3 {
    margin-bottom: 0.4em;
}

.card p:last-child {
    margin-bottom: 0;
}

.card p {
    color: var(--muted);
    font-size: 0.96rem;
}

a.card {
    display: block;
    text-decoration: none;
    color: inherit;
    transition: border-color 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease;
}

a.card:hover {
    border-color: color-mix(in srgb, var(--primary) 35%, var(--border));
    box-shadow: 0 16px 48px -28px var(--primary);
    transform: translateY(-2px);
}

a.card h3 {
    color: var(--text);
}

.card-link-label {
    display: inline-block;
    margin-top: 0.6rem;
    font-weight: 700;
    font-size: 0.9rem;
    color: var(--accent);
}

.check-list {
    list-style: none;
    padding: 0;
    display: grid;
    gap: 0.65rem;
}

.check-list li {
    position: relative;
    padding-left: 1.8rem;
}

.check-list li::before {
    content: "✓";
    position: absolute;
    left: 0;
    top: 0.05rem;
    width: 1.25rem;
    height: 1.25rem;
    border-radius: 999px;
    display: grid;
    place-items: center;
    font-size: 0.72rem;
    font-weight: 800;
    color: var(--primary);
    background: var(--accent-soft);
}

.two-col {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 2.5rem;
    align-items: start;
}

.steps {
    list-style: none;
    padding: 0;
    counter-reset: step;
    display: grid;
    gap: 1rem;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
}

.steps li {
    counter-increment: step;
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 1.3rem 1.3rem 1.2rem;
}

.section.alt .steps li {
    background: var(--bg);
}

.steps li::before {
    content: counter(step, decimal-leading-zero);
    display: block;
    font-weight: 800;
    font-size: 0.85rem;
    color: var(--accent);
    letter-spacing: 0.12em;
    margin-bottom: 0.5rem;
}

.steps h3 {
    margin-bottom: 0.35em;
}

.steps p {
    color: var(--muted);
    font-size: 0.95rem;
    margin: 0;
}

.chips {
    list-style: none;
    padding: 0;
    display: flex;
    flex-wrap: wrap;
    gap: 0.55rem;
}

.chips li {
    border: 1px solid var(--border);
    background: var(--surface);
    padding: 0.4rem 0.9rem;
    border-radius: 999px;
    font-weight: 600;
    font-size: 0.9rem;
}

.note {
    font-size: 0.92rem;
    color: var(--muted);
}

.prose {
    max-width: 800px;
}

.prose h3 {
    margin-top: 1.6rem;
}

/* FAQ */
.faq {
    display: grid;
    gap: 0.75rem;
    max-width: 860px;
}

.faq details {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: 14px;
    padding: 0 1.2rem;
}

.section.alt .faq details {
    background: var(--bg);
}

.faq summary {
    cursor: pointer;
    list-style: none;
    padding: 1rem 2rem 1rem 0;
    font-weight: 700;
    position: relative;
}

.faq summary::-webkit-details-marker {
    display: none;
}

.faq summary::after {
    content: "+";
    position: absolute;
    right: 0;
    top: 0.85rem;
    font-size: 1.3rem;
    color: var(--accent);
}

.faq details[open] summary::after {
    content: "–";
}

.faq summary h3 {
    display: inline;
    font-size: 1rem;
    margin: 0;
}

.faq .answer {
    padding: 0 0 1rem;
    color: var(--muted);
}

.faq .answer p:last-child {
    margin-bottom: 0;
}

/* CTA band */
.cta-band {
    padding: 3.5rem 0 4rem;
}

.cta-box {
    background: linear-gradient(135deg, #1e3a8a, #0e7490);
    color: #fff;
    border-radius: 22px;
    padding: clamp(1.8rem, 4vw, 3rem);
    display: grid;
    grid-template-columns: 1.3fr 1fr;
    gap: 2rem;
    align-items: center;
}

.cta-box h2 {
    color: #fff;
}

.cta-box p {
    color: rgba(255, 255, 255, 0.85);
}

.cta-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    justify-content: flex-end;
}

.cta-contact {
    list-style: none;
    padding: 0;
    margin: 1rem 0 0;
    display: grid;
    gap: 0.3rem;
    font-size: 0.95rem;
}

.cta-contact a {
    color: #fff;
}

/* Footer */
.site-footer {
    background: var(--surface);
    border-top: 1px solid var(--border);
    padding: 3rem 0 1.5rem;
    font-size: 0.94rem;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.4fr repeat(4, 1fr);
    gap: 2rem;
}

.site-footer h2 {
    font-size: 0.8rem;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    margin-bottom: 0.9rem;
}

.site-footer ul {
    list-style: none;
    padding: 0;
    margin: 0;
    display: grid;
    gap: 0.45rem;
}

.site-footer a {
    color: var(--muted);
    text-decoration: none;
}

.site-footer a:hover {
    color: var(--primary);
}

.footer-about p {
    color: var(--muted);
}

.footer-bottom {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 1rem;
    margin-top: 2.5rem;
    padding-top: 1.25rem;
    border-top: 1px solid var(--border);
    color: var(--muted);
    font-size: 0.85rem;
}

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

/* Responsive */
@media (max-width: 1080px) {
    .footer-grid {
        grid-template-columns: repeat(3, 1fr);
    }

    .footer-about {
        grid-column: 1 / -1;
    }
}

@media (max-width: 960px) {

    .main-nav,
    .header-cta {
        display: none;
    }

    .mobile-nav {
        display: block;
    }

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

    .two-col,
    .cta-box {
        grid-template-columns: 1fr;
    }

    .cta-actions {
        justify-content: flex-start;
    }
}

@media (max-width: 640px) {

    .grid-2,
    .grid-3 {
        grid-template-columns: 1fr;
    }

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

    .section {
        padding: 2.5rem 0;
    }

    .hero {
        padding: 1.75rem 0 2.5rem;
    }

    .brand img {
        height: 34px;
    }
}

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

    .btn,
    a.card {
        transition: none;
    }

    .btn:hover,
    a.card:hover {
        transform: none;
    }
}