:root {
    color-scheme: dark;
    --bg: #0d1620;
    --bg-elevated: rgba(255, 255, 255, 0.04);
    --bg-panel: rgba(17, 28, 39, 0.78);
    --border: rgba(255, 255, 255, 0.08);
    --text-primary: #f5f7fa;
    --text-secondary: #a7b4c4;
    --text-tertiary: #7e8b9a;
    --accent: #5b8cff;
    --accent-soft: rgba(91, 140, 255, 0.14);
    --accent-teal: #69d4cb;
    --success: #8ad1b2;
    --shadow: 0 20px 60px rgba(0, 0, 0, 0.28);
    --radius-xl: 28px;
    --radius-lg: 20px;
    --radius-md: 14px;
    --content-width: 1120px;
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    min-height: 100vh;
    font-family: -apple-system, BlinkMacSystemFont, "SF Pro Text", "SF Pro Display", "Helvetica Neue", sans-serif;
    color: var(--text-primary);
    background:
        radial-gradient(circle at top, rgba(91, 140, 255, 0.18), transparent 34%),
        radial-gradient(circle at 85% 10%, rgba(105, 212, 203, 0.12), transparent 20%),
        linear-gradient(180deg, #101925 0%, var(--bg) 52%, #0a1118 100%);
}

a {
    color: inherit;
    text-decoration: none;
}

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

.shell {
    width: min(100%, var(--content-width));
    margin: 0 auto;
    padding: 28px 20px 64px;
}

.site-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    padding: 14px 0 28px;
}

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

.brand-mark {
    width: 48px;
    height: 48px;
    border-radius: 14px;
    background: rgba(255, 255, 255, 0.02);
    box-shadow: inset 0 0 0 1px var(--border);
    padding: 6px;
}

.brand-lockup {
    display: flex;
    flex-direction: column;
    gap: 3px;
}

.brand-lockup strong {
    font-size: 1.12rem;
    font-weight: 650;
    letter-spacing: -0.02em;
}

.brand-lockup span {
    color: var(--text-secondary);
    font-size: 0.92rem;
}

.nav {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
}

.nav a {
    padding: 10px 14px;
    border-radius: 999px;
    color: var(--text-secondary);
    border: 1px solid transparent;
    transition: background-color 0.2s ease, border-color 0.2s ease, color 0.2s ease;
}

.nav a:hover,
.nav a.active {
    color: var(--text-primary);
    border-color: var(--border);
    background: var(--bg-elevated);
}

.hero {
    display: grid;
    grid-template-columns: minmax(0, 1.35fr) minmax(320px, 0.9fr);
    gap: 28px;
    align-items: stretch;
}

.hero-panel,
.panel,
.card,
.support-card {
    background: var(--bg-panel);
    border: 1px solid var(--border);
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow);
    backdrop-filter: blur(22px);
}

.hero-copy {
    padding: 40px;
}

.eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 12px;
    border-radius: 999px;
    background: var(--accent-soft);
    color: #dbe5ff;
    font-size: 0.84rem;
    letter-spacing: 0.01em;
}

.hero h1,
.page-header h1 {
    margin: 18px 0 12px;
    font-size: clamp(2.3rem, 4vw, 4.2rem);
    line-height: 1.02;
    letter-spacing: -0.04em;
}

.hero p,
.page-header p,
.section-copy,
.support-copy,
.body-copy,
.meta-list dd,
.faq-answer,
.footer-note {
    color: var(--text-secondary);
    line-height: 1.62;
    font-size: 1rem;
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 28px;
}

.button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 48px;
    padding: 0 18px;
    border-radius: 14px;
    border: 1px solid var(--border);
    font-weight: 600;
    letter-spacing: -0.01em;
}

.button.primary {
    background: linear-gradient(180deg, #5c8dff 0%, #3f72f3 100%);
    border-color: rgba(133, 166, 255, 0.26);
    color: white;
}

.button.secondary {
    background: rgba(255, 255, 255, 0.03);
    color: var(--text-primary);
}

.hero-brand {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 32px;
}

.brand-showcase {
    width: min(100%, 360px);
    aspect-ratio: 1;
    border-radius: 34px;
    background:
        linear-gradient(180deg, rgba(255, 255, 255, 0.03), rgba(255, 255, 255, 0.015)),
        #111a24;
    border: 1px solid rgba(255, 255, 255, 0.09);
    display: grid;
    place-items: center;
    padding: 22px;
    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.04),
        0 30px 60px rgba(0, 0, 0, 0.3);
}

.brand-showcase img {
    width: 100%;
    height: auto;
    border-radius: 28px;
}

.grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 18px;
    margin-top: 24px;
}

.card {
    padding: 22px;
}

.card h2,
.panel h2,
.support-card h2,
.faq h2,
.section h2 {
    margin: 0 0 10px;
    font-size: 1.15rem;
    letter-spacing: -0.02em;
}

.card p,
.panel p,
.support-card p,
.faq p,
.section p,
.section li {
    color: var(--text-secondary);
    line-height: 1.58;
}

.page-header {
    padding: 34px 34px 22px;
    margin-bottom: 18px;
}

.content-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.55fr) minmax(280px, 0.85fr);
    gap: 18px;
}

.panel {
    padding: 28px;
}

.section + .section {
    margin-top: 26px;
    padding-top: 26px;
    border-top: 1px solid var(--border);
}

.meta-list {
    margin: 0;
}

.meta-list div + div {
    margin-top: 14px;
    padding-top: 14px;
    border-top: 1px solid var(--border);
}

.meta-list dt {
    font-size: 0.84rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--text-tertiary);
    margin-bottom: 6px;
}

.meta-list dd {
    margin: 0;
}

.support-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 18px;
}

.support-card {
    padding: 24px;
}

.support-card strong {
    display: block;
    margin-bottom: 10px;
    font-size: 1rem;
    font-weight: 650;
}

.faq {
    margin-top: 18px;
}

.faq-item + .faq-item {
    margin-top: 18px;
    padding-top: 18px;
    border-top: 1px solid var(--border);
}

.footer {
    margin-top: 32px;
    padding-top: 24px;
    border-top: 1px solid var(--border);
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 16px;
}

.footer-links {
    display: inline-flex;
    gap: 16px;
    flex-wrap: wrap;
    color: var(--text-secondary);
}

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

@media (max-width: 900px) {
    .hero,
    .content-grid,
    .grid,
    .support-grid {
        grid-template-columns: 1fr;
    }

    .site-header,
    .footer {
        flex-direction: column;
        align-items: flex-start;
    }

    .hero-copy,
    .page-header,
    .panel,
    .card,
    .support-card {
        padding: 24px;
    }
}
