:root {
    color-scheme: dark;
    --bg: #121417;
    --panel: #1b1e23;
    --text: #f5f7fb;
    --muted: #aeb6c2;
    --line: rgba(255, 255, 255, 0.14);
    --orange: #f56b1c;
    --amber: #f6c76f;
    --green: #8fe3bd;
    --radius: 8px;
    font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    background: var(--bg);
    color: var(--text);
    line-height: 1.6;
}

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

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

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

.skip-link:focus {
    z-index: 20;
    width: auto;
    height: auto;
    top: 12px;
    left: 12px;
    padding: 0.7rem 1rem;
    clip: auto;
    border-radius: var(--radius);
    background: var(--text);
    color: #0a0d12;
}

.site-header {
    position: sticky;
    top: 0;
    z-index: 10;
    border-bottom: 1px solid var(--line);
    background: rgba(18, 20, 23, 0.86);
    backdrop-filter: blur(18px);
}

.nav {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    max-width: 1080px;
    margin: 0 auto;
    padding: 0.7rem 1rem;
}

.brand {
    display: inline-flex;
    align-items: center;
    gap: 0.65rem;
    color: var(--text);
    font-weight: 760;
    text-decoration: none;
}

.brand img {
    border-radius: 8px;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 0.2rem;
}

.nav-links a {
    padding: 0.55rem 0.75rem;
    border-radius: 999px;
    color: var(--muted);
    font-size: 0.95rem;
    text-decoration: none;
}

.nav-links a:hover,
.nav-links a[aria-current="page"] {
    background: rgba(255, 255, 255, 0.1);
    color: var(--text);
}

.nav-toggle {
    display: none;
    width: 44px;
    height: 44px;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: rgba(255, 255, 255, 0.06);
    color: var(--text);
}

.nav-toggle span:not(.sr-only) {
    display: block;
    width: 19px;
    height: 2px;
    margin: 4px auto;
    background: currentColor;
}

.section {
    padding: clamp(3rem, 7vw, 5.5rem) 1rem;
}

.section.tinted {
    background: #171a1e;
}

.content-grid {
    max-width: 1080px;
    margin: 0 auto;
}

.narrow {
    max-width: 760px;
}

.hero {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: clamp(2rem, 6vw, 4rem);
    align-items: center;
}

.hero-icon {
    width: clamp(140px, 22vw, 240px);
    border-radius: 22%;
    box-shadow: 0 22px 70px rgba(0, 0, 0, 0.45);
}

.eyebrow {
    margin: 0 0 0.65rem;
    color: var(--orange);
    font-size: 0.78rem;
    font-weight: 800;
    text-transform: uppercase;
}

h1,
h2,
h3,
p {
    margin-top: 0;
}

h1 {
    margin-bottom: 1rem;
    font-size: clamp(2.6rem, 8vw, 5rem);
    line-height: 0.95;
}

h2 {
    margin-top: 2rem;
    font-size: clamp(1.5rem, 3.5vw, 2.2rem);
    line-height: 1.1;
}

.section-heading h2 {
    margin-top: 0;
}

h3 {
    margin-bottom: 0.35rem;
    font-size: 1.05rem;
    line-height: 1.25;
}

p,
li {
    color: var(--muted);
}

strong {
    color: var(--text);
}

.hero-copy {
    max-width: 640px;
    font-size: clamp(1.05rem, 2.1vw, 1.3rem);
}

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

.button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 44px;
    padding: 0.72rem 1rem;
    border: 1px solid transparent;
    border-radius: var(--radius);
    font: inherit;
    font-weight: 760;
    text-decoration: none;
}

.button.primary {
    background: var(--orange);
    color: #140b05;
}

.button.secondary {
    border-color: var(--line);
    background: rgba(255, 255, 255, 0.08);
    color: var(--text);
}

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

.feature-card,
details {
    padding: 1.1rem;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: rgba(255, 255, 255, 0.05);
}

.feature-card p {
    margin-bottom: 0;
}

.faq-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.9rem;
    margin-top: 1.4rem;
}

summary {
    color: var(--text);
    font-weight: 760;
    cursor: pointer;
}

details p {
    margin: 0.65rem 0 0;
}

.note {
    margin-top: 1rem;
    padding-left: 0.9rem;
    border-left: 3px solid var(--amber);
    color: #d8dee8;
}

.footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    max-width: 1080px;
    margin: 0 auto;
    padding: 2rem 1rem;
    border-top: 1px solid var(--line);
}

.footer p {
    margin-bottom: 0;
}

.footer a {
    font-weight: 720;
    text-decoration: none;
}

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

    .nav-links {
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        display: none;
        flex-direction: column;
        align-items: stretch;
        padding: 0.6rem 1rem 1rem;
        border-bottom: 1px solid var(--line);
        background: rgba(18, 20, 23, 0.98);
    }

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

    .nav-links a {
        border-radius: var(--radius);
    }

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

    .hero-icon {
        order: -1;
    }

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

@media (max-width: 560px) {
    .hero-actions,
    .footer {
        flex-direction: column;
        align-items: stretch;
    }

    .button {
        width: 100%;
    }
}

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