/* Design System – Light Theme */
:root {
    --bg: #f7f9fc;
    /* page background */
    --panel: #ffffff;
    /* surfaces/cards */
    --panel-2: #fafafa;
    /* subtle alt surface */
    --text: #0f172a;
    /* primary text (slate-900) */
    --muted: #6b7280;
    /* secondary text (gray-500/600) */
    --brand: #5b8cff;
    /* primary brand */
    --brand-2: #7c3aed;
    /* accent */
    --success: #10b981;
    --warning: #f59e0b;
    --danger: #ef4444;
    --border: #e5e7eb;
    --radius: 12px;
    --radius-sm: 8px;
    --shadow: 0 10px 30px rgba(16, 24, 40, .08);
    --shadow-sm: 0 4px 14px rgba(16, 24, 40, .06);
    --max: 1200px;
}

* {
    box-sizing: border-box;
}

html,
body {
    height: 100%;
}

body {
    margin: 0;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Helvetica Neue', Arial, sans-serif;
    background:
        radial-gradient(1200px 600px at 10% -10%, rgba(91, 140, 255, .12), transparent),
        radial-gradient(1000px 600px at 90% 10%, rgba(124, 58, 237, .08), transparent),
        var(--bg);
    color: var(--text);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

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

.container {
    width: 100%;
    max-width: var(--max);
    margin: 0 auto;
    padding: 0 20px;
}

/* Header */
.header {
    position: sticky;
    top: 0;
    z-index: 50;
    background: rgba(255, 255, 255, 0.85);
    backdrop-filter: saturate(140%) blur(10px);
    border-bottom: 1px solid var(--border);
}

.navbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 14px 0;
}

.brand {
    display: flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
    color: var(--text);
}

.brand img {
    width: 28px;
    height: 28px;
}

.brand strong {
    font-size: 18px;
    letter-spacing: .2px;
}

.nav {
    display: flex;
    align-items: center;
    gap: 16px;
}

.nav a {
    color: var(--muted);
    text-decoration: none;
    padding: 8px 10px;
    border-radius: 8px;
}

.nav a:hover,
.nav a.active {
    color: var(--text);
    background: rgba(2, 6, 23, .06);
}

.nav-cta {
    margin-left: 6px;
    padding: 10px 14px;
    background: linear-gradient(135deg, var(--brand), var(--brand-2));
    color: #fff !important;
    border-radius: 10px;
    box-shadow: var(--shadow-sm);
}

.nav-cta:hover {
    filter: brightness(1.05);
}

.burger {
    display: none;
    background: none;
    border: 1px solid var(--border);
    color: var(--text);
    border-radius: 10px;
    padding: 8px 10px;
}

/* Hero */
.hero {
    padding: 72px 0 32px;
    text-align: center;
}

.kicker {
    color: var(--brand);
    font-weight: 600;
    letter-spacing: .12em;
    text-transform: uppercase;
    font-size: 12px;
}

.hero h1 {
    margin: 10px auto;
    font-size: clamp(28px, 4vw, 46px);
    line-height: 1.1;
    max-width: 900px;
}

.hero p.lede {
    margin: 16px auto 28px;
    color: var(--muted);
    font-size: clamp(16px, 2.2vw, 20px);
    max-width: 820px;
}

.cta {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 14px 18px;
    border-radius: 12px;
    text-decoration: none;
    color: #fff;
    background: linear-gradient(135deg, var(--brand), var(--brand-2));
    box-shadow: var(--shadow);
}

.cta:hover {
    transform: translateY(-1px);
    filter: brightness(1.05);
}

.cta.secondary {
    background: transparent;
    border: 1px solid var(--border);
    color: var(--text);
    box-shadow: none;
}

.cta-row {
    display: flex;
    justify-content: center;
    gap: 12px;
    flex-wrap: wrap;
}

/* Sections */
.section {
    padding: 56px 0;
}

.section h2 {
    font-size: clamp(22px, 3vw, 34px);
    margin: 0 0 14px;
    text-align: center;
    color: var(--text);
}

.section p.section-lede {
    color: var(--muted);
    text-align: center;
    max-width: 820px;
    margin: 0 auto 26px;
}

.grid {
    display: grid;
    gap: 18px;
    grid-template-columns: repeat(12, 1fr);
}

.card {
    grid-column: span 4;
    background: var(--panel);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 20px;
    box-shadow: var(--shadow-sm);
}

.card h3 {
    margin-top: 0;
    font-size: 18px;
    color: var(--text);
}

.card p {
    color: var(--muted);
    margin-bottom: 0;
}

.card .icon {
    width: 28px;
    height: 28px;
    margin-bottom: 8px;
    opacity: .95;
}

.panel {
    background: var(--panel);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 22px;
    box-shadow: var(--shadow-sm);
}

.split {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 28px;
    align-items: center;
}

/* Footer */
.footer {
    border-top: 1px solid var(--border);
    background: #ffffff;
    margin-top: 40px;
}

.footer-inner {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 20px 0;
}

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

/* Utilities */
.m-0 {
    margin: 0;
}

.mt-8 {
    margin-top: 8px;
}

.mt-16 {
    margin-top: 16px;
}

.mt-24 {
    margin-top: 24px;
}

.mt-32 {
    margin-top: 32px;
}

.text-center {
    text-align: center;
}

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

.visually-hidden {
    position: absolute !important;
    height: 1px;
    width: 1px;
    overflow: hidden;
    clip: rect(1px, 1px, 1px, 1px);
    white-space: nowrap;
}

/* Responsive */
@media (max-width: 960px) {
    .card {
        grid-column: span 6;
    }

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

@media (max-width: 680px) {
    .nav {
        display: none;
        position: absolute;
        right: 20px;
        top: 64px;
        flex-direction: column;
        background: var(--panel);
        padding: 10px;
        border-radius: 12px;
        width: calc(100% - 40px);
        box-shadow: var(--shadow);
        border: 1px solid var(--border);
    }

    .nav.open {
        display: flex;
    }

    .burger {
        display: inline-flex;
    }

    .card {
        grid-column: span 12;
    }
}