:root {
    color-scheme: light;
    --bg: #0b0d12;
    --bg-soft: #111521;
    --surface: #151a27;
    --text: #f5f7ff;
    --muted: #9aa5bd;
    --accent: #6ee7ff;
    --accent-strong: #2cc5ff;
    --border: rgba(255, 255, 255, 0.08);
    --shadow: 0 18px 60px rgba(0, 0, 0, 0.35);
    --radius: 16px;
    --max-width: 1100px;
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
}

@media (prefers-reduced-motion: reduce) {
    html {
        scroll-behavior: auto;
    }

    * {
        transition: none !important;
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
    }
}

body {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    background: radial-gradient(circle at top, #151a27 0%, var(--bg) 50%);
    color: var(--text);
    line-height: 1.6;
    min-height: 100vh;
}

a {
    color: inherit;
    text-decoration: none;
}

img {
    max-width: 100%;
    display: block;
}

.container {
    width: 100%;
    max-width: var(--max-width);
    padding: 0 1.5rem;
    margin: 0 auto;
}

.site-header {
    position: sticky;
    top: 0;
    background: rgba(11, 13, 18, 0.85);
    backdrop-filter: blur(16px);
    border-bottom: 1px solid var(--border);
    z-index: 10;
}

.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1.25rem 0;
}

.brand {
    font-size: 1.1rem;
    font-weight: 600;
    letter-spacing: 0.05em;
    text-transform: uppercase;
}

.nav ul {
    list-style: none;
    display: flex;
    gap: 1rem;
    align-items: center;
}

.nav-link {
    padding: 0.4rem 0.75rem;
    border-radius: 999px;
    color: var(--muted);
    font-size: 0.95rem;
    transition: color 0.2s ease, background 0.2s ease;
}

.nav-link:hover,
.nav-link:focus-visible {
    color: var(--text);
    background: rgba(255, 255, 255, 0.08);
    outline: none;
}

.nav-link.active {
    color: var(--text);
    background: rgba(110, 231, 255, 0.15);
}

.main {
    padding-bottom: 4rem;
}

.hero {
    padding: 5.5rem 0 4.5rem;
}

.hero-inner {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 3rem;
    align-items: center;
}

.hero-copy {
    max-width: 560px;
}

.eyebrow {
    text-transform: uppercase;
    letter-spacing: 0.2em;
    font-size: 0.75rem;
    color: var(--muted);
    margin-bottom: 0.75rem;
}

.hero-title {
    font-size: clamp(2.6rem, 4vw, 4.2rem);
    letter-spacing: 0.02em;
    margin-bottom: 1rem;
}

.hero-subtitle {
    font-size: 1.1rem;
    color: var(--muted);
    margin-bottom: 2rem;
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
}

.hero-panel {
    display: flex;
    justify-content: center;
}

.hero-card {
    background: linear-gradient(140deg, rgba(110, 231, 255, 0.1), rgba(255, 255, 255, 0.05));
    border: 1px solid rgba(110, 231, 255, 0.2);
    padding: 2rem;
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    max-width: 320px;
}

.hero-card-title {
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 0.2em;
    color: var(--muted);
    margin-bottom: 1rem;
}

.hero-card-value {
    font-size: 1.4rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.hero-card-meta {
    color: var(--muted);
}

.section {
    padding: 4rem 0;
}

.section-header {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    margin-bottom: 2.5rem;
}

.section-title,
.page-title {
    font-size: clamp(2rem, 3vw, 2.6rem);
}

.section-subtitle,
.lead {
    color: var(--muted);
    max-width: 640px;
}

.card-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 1.5rem;
}

.card {
    padding: 1.75rem;
    border-radius: var(--radius);
    background: var(--surface);
    border: 1px solid var(--border);
    min-height: 170px;
    transition: transform 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}

.card h3 {
    margin-bottom: 0.75rem;
    font-size: 1.1rem;
}

.card p {
    color: var(--muted);
}

.card:hover,
.card:focus-within {
    transform: translateY(-6px);
    border-color: rgba(110, 231, 255, 0.3);
    box-shadow: 0 18px 40px rgba(0, 0, 0, 0.25);
}

.button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.75rem 1.5rem;
    border-radius: 999px;
    font-weight: 600;
    background: var(--accent);
    color: #0b0d12;
    border: none;
    cursor: pointer;
    transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.button:hover,
.button:focus-visible {
    transform: translateY(-2px);
    background: var(--accent-strong);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.25);
    outline: none;
}

.button-ghost {
    background: transparent;
    color: var(--text);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.button-ghost:hover,
.button-ghost:focus-visible {
    background: rgba(255, 255, 255, 0.08);
    color: var(--text);
}

.copy-button.is-copied {
    border-color: rgba(110, 231, 255, 0.4);
    color: var(--accent);
}

.video-panel {
    background: var(--bg-soft);
    border-radius: var(--radius);
    border: 1px solid var(--border);
    padding: 2.5rem;
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    max-width: 640px;
}


.video-player {
    width: 100%;
    border-radius: 12px;
    background: #000;
    border: 1px solid var(--border);
}

.copy-row {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.75rem;
    padding: 0.75rem 1rem;
    border-radius: 12px;
    border: 1px solid var(--border);
    background: rgba(255, 255, 255, 0.03);
}

.mono {
    font-family: "SFMono-Regular", Consolas, "Liberation Mono", Menlo, monospace;
    font-size: 0.95rem;
    color: var(--muted);
}

.hint {
    color: var(--muted);
    font-size: 0.9rem;
}

.site-footer {
    border-top: 1px solid var(--border);
    padding: 2rem 0 3rem;
    color: var(--muted);
}

.footer-inner {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    font-size: 0.9rem;
}

@media (min-width: 720px) {
    .footer-inner {
        flex-direction: row;
        justify-content: space-between;
        align-items: center;
    }
}

@media (max-width: 640px) {
    .header-inner {
        flex-direction: column;
        gap: 1rem;
    }

    .nav ul {
        flex-wrap: wrap;
        justify-content: center;
    }
}
