/* ═══════════════════════════════════════════════
   kern — style.css
   European. Cloud-native. AI-first.
   ═══════════════════════════════════════════════ */

/* ── Tokens ───────────────────────────────────── */
:root {
    /* Backgrounds */
    --bg:          #07080c;
    --bg-surface:  #0d0f16;
    --bg-card:     #111320;
    --bg-elevated: #171a28;

    /* Accent — electric chartreuse */
    --accent:       #c8ee44;
    --accent-dim:   #a3c438;
    --accent-glow:  rgba(200, 238, 68, 0.12);
    --accent-ghost: rgba(200, 238, 68, 0.06);

    /* Pillar accents */
    --eu-accent:    #5b8def;
    --cloud-accent: #44d9e8;
    --ai-accent:    #e866e8;

    /* Text */
    --text:         #e4e2dc;
    --text-secondary: #8b8d97;
    --text-muted:   #4a4c56;

    /* Borders */
    --border:       #1a1c28;
    --border-light: #252838;

    /* Code */
    --code-bg:      #0a0c14;
    --code-kw:      #c8ee44;
    --code-str:     #f0a67a;
    --code-fn:      #7ec8e3;
    --code-ty:      #d4a5e5;
    --code-cm:      #4a5568;
    --code-num:     #f0a67a;

    /* Typography */
    --font-display: 'Instrument Serif', Georgia, serif;
    --font-body:    'Outfit', system-ui, sans-serif;
    --font-mono:    'JetBrains Mono', 'Fira Code', monospace;

    /* Spacing */
    --section-pad: clamp(80px, 12vw, 160px);
    --container:   1200px;

    /* Motion */
    --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
    --ease-in-out: cubic-bezier(0.65, 0, 0.35, 1);
    --duration: 0.7s;
}

/* ── Reset & Base ─────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html {
    scroll-behavior: smooth;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

body {
    font-family: var(--font-body);
    font-weight: 400;
    font-size: 16px;
    line-height: 1.6;
    color: var(--text);
    background: var(--bg);
    overflow-x: hidden;
}

a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
button { border: none; background: none; cursor: pointer; font: inherit; color: inherit; }
ul { list-style: none; }

::selection {
    background: var(--accent);
    color: var(--bg);
}

/* ── Utility ──────────────────────────────────── */
.container {
    width: 100%;
    max-width: var(--container);
    margin: 0 auto;
    padding: 0 24px;
}

@media (min-width: 768px) {
    .container { padding: 0 40px; }
}

/* ── Grain overlay ────────────────────────────── */
.grain {
    position: fixed;
    inset: 0;
    z-index: 9999;
    pointer-events: none;
    opacity: 0.035;
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)'/%3E%3C/svg%3E");
    background-size: 256px;
}

/* ── Canvas background ────────────────────────── */
#grid-bg {
    position: fixed;
    inset: 0;
    z-index: 0;
    pointer-events: none;
}

/* ── Navigation ───────────────────────────────── */
.nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 100;
    padding: 0;
    transition: background var(--duration) var(--ease-out),
                border-color var(--duration) var(--ease-out),
                backdrop-filter var(--duration) var(--ease-out);
    border-bottom: 1px solid transparent;
}

.nav--scrolled {
    background: rgba(7, 8, 12, 0.82);
    backdrop-filter: blur(20px) saturate(1.2);
    -webkit-backdrop-filter: blur(20px) saturate(1.2);
    border-bottom-color: var(--border);
}

.nav__inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 72px;
    gap: 32px;
}

.nav__logo {
    font-family: var(--font-mono);
    font-size: 22px;
    font-weight: 500;
    letter-spacing: 0.08em;
    color: var(--accent);
    position: relative;
}

.nav__logo::after {
    content: '_';
    animation: blink 1.2s steps(1) infinite;
    color: var(--accent);
    opacity: 0.6;
}

@keyframes blink {
    0%, 100% { opacity: 0.6; }
    50% { opacity: 0; }
}

.nav__links {
    display: none;
    gap: 8px;
}

@media (min-width: 768px) {
    .nav__links {
        display: flex;
    }
}

.nav__links a {
    font-size: 14px;
    font-weight: 500;
    color: var(--text-secondary);
    padding: 6px 14px;
    border-radius: 6px;
    transition: color 0.2s, background 0.2s;
}

.nav__links a:hover {
    color: var(--text);
    background: var(--accent-ghost);
}

.nav__actions {
    display: none;
    align-items: center;
    gap: 12px;
}

@media (min-width: 768px) {
    .nav__actions { display: flex; }
}

/* Mobile toggle */
.nav__toggle {
    display: flex;
    flex-direction: column;
    gap: 5px;
    padding: 8px;
    z-index: 200;
}

@media (min-width: 768px) {
    .nav__toggle { display: none; }
}

.nav__toggle span {
    display: block;
    width: 22px;
    height: 2px;
    background: var(--text);
    border-radius: 2px;
    transition: transform 0.3s var(--ease-out), opacity 0.3s;
}

.nav__toggle.active span:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
}
.nav__toggle.active span:nth-child(2) {
    opacity: 0;
}
.nav__toggle.active span:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
}

/* Mobile menu */
.mobile-menu {
    position: fixed;
    inset: 0;
    z-index: 99;
    background: rgba(7, 8, 12, 0.96);
    backdrop-filter: blur(24px);
    -webkit-backdrop-filter: blur(24px);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.4s var(--ease-out);
}

.mobile-menu.active {
    opacity: 1;
    pointer-events: auto;
}

.mobile-menu__links {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 24px;
}

.mobile-menu__links a {
    font-size: 28px;
    font-weight: 600;
    color: var(--text);
    transition: color 0.2s;
}

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

/* ── Buttons ──────────────────────────────────── */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-family: var(--font-body);
    font-weight: 600;
    border-radius: 8px;
    transition: all 0.25s var(--ease-out);
    white-space: nowrap;
    position: relative;
    overflow: hidden;
}

.btn--sm {
    font-size: 13px;
    padding: 8px 16px;
    border-radius: 6px;
}

.btn--lg {
    font-size: 15px;
    padding: 14px 28px;
}

.btn--primary {
    background: var(--accent);
    color: var(--bg);
}

.btn--primary:hover {
    background: #d4f55a;
    transform: translateY(-1px);
    box-shadow: 0 8px 30px rgba(200, 238, 68, 0.2);
}

.btn--primary:active {
    transform: translateY(0);
}

.btn--ghost {
    border: 1px solid var(--border-light);
    color: var(--text-secondary);
    background: transparent;
}

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

/* ── Hero ─────────────────────────────────────── */
.hero {
    position: relative;
    z-index: 1;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding-top: 120px;
    padding-bottom: 60px;
}

.hero__inner {
    display: grid;
    grid-template-columns: 1fr;
    gap: 48px;
    align-items: center;
}

@media (min-width: 1024px) {
    .hero__inner {
        grid-template-columns: 1fr 1fr;
        gap: 64px;
    }
}

.hero__badge {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-size: 13px;
    font-weight: 500;
    color: var(--text-secondary);
    padding: 6px 16px 6px 10px;
    border-radius: 100px;
    border: 1px solid var(--border-light);
    background: var(--bg-surface);
    width: fit-content;
    margin-bottom: 28px;
}

.hero__badge-dot {
    width: 8px;
    height: 8px;
    background: var(--accent);
    border-radius: 50%;
    animation: pulse-dot 2s ease-in-out infinite;
}

@keyframes pulse-dot {
    0%, 100% { box-shadow: 0 0 0 0 rgba(200, 238, 68, 0.4); }
    50% { box-shadow: 0 0 0 6px rgba(200, 238, 68, 0); }
}

.hero__title {
    font-family: var(--font-body);
    font-size: clamp(42px, 7vw, 72px);
    font-weight: 800;
    line-height: 1.05;
    letter-spacing: -0.03em;
    margin-bottom: 24px;
    color: var(--text);
}

.hero__title em {
    font-family: var(--font-display);
    font-style: italic;
    font-weight: 400;
    color: var(--accent);
}

.hero__sub {
    font-size: clamp(16px, 2vw, 18px);
    line-height: 1.65;
    color: var(--text-secondary);
    max-width: 520px;
    margin-bottom: 36px;
}

.hero__actions {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
}

/* Hero code window */
.hero__code {
    position: relative;
}

.hero__code::before {
    content: '';
    position: absolute;
    inset: -40px;
    background: radial-gradient(ellipse at center, var(--accent-glow) 0%, transparent 70%);
    border-radius: 50%;
    z-index: -1;
    filter: blur(40px);
}

/* Scroll hint */
.hero__scroll-hint {
    position: absolute;
    bottom: 32px;
    left: 50%;
    transform: translateX(-50%);
    color: var(--text-muted);
    animation: float 2.5s ease-in-out infinite;
}

@keyframes float {
    0%, 100% { transform: translateX(-50%) translateY(0); opacity: 0.5; }
    50% { transform: translateX(-50%) translateY(8px); opacity: 1; }
}

/* ── Code Windows ─────────────────────────────── */
.code-window {
    background: var(--code-bg);
    border: 1px solid var(--border);
    border-radius: 12px;
    overflow: hidden;
    box-shadow:
        0 4px 24px rgba(0, 0, 0, 0.3),
        0 0 0 1px rgba(255, 255, 255, 0.03) inset;
}

.code-window__bar {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 16px;
    border-bottom: 1px solid var(--border);
    background: rgba(255, 255, 255, 0.02);
}

.code-window__dots {
    display: flex;
    gap: 6px;
}

.code-window__dots span {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: var(--border-light);
}

.code-window__dots span:first-child { background: #ff5f57; }
.code-window__dots span:nth-child(2) { background: #febc2e; }
.code-window__dots span:last-child { background: #28c840; }

.code-window__name {
    font-family: var(--font-mono);
    font-size: 12px;
    color: var(--text-muted);
}

.code-window__body {
    padding: 20px;
    font-family: var(--font-mono);
    font-size: 13px;
    line-height: 1.7;
    overflow-x: auto;
    color: var(--text-secondary);
}

.code-window--large .code-window__body {
    font-size: 13.5px;
    padding: 24px;
}

/* Syntax highlighting */
.kw  { color: var(--code-kw); font-weight: 500; }
.str { color: var(--code-str); }
.fn  { color: var(--code-fn); }
.ty  { color: var(--code-ty); }
.cm  { color: var(--code-cm); font-style: italic; }
.num { color: var(--code-num); }

/* ── Section Headers ──────────────────────────── */
.section-label {
    display: inline-block;
    font-family: var(--font-mono);
    font-size: 12px;
    font-weight: 500;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--accent);
    margin-bottom: 16px;
}

.section-title {
    font-family: var(--font-body);
    font-size: clamp(32px, 5vw, 52px);
    font-weight: 800;
    line-height: 1.1;
    letter-spacing: -0.03em;
    margin-bottom: 16px;
}

.section-sub {
    font-size: clamp(16px, 2vw, 18px);
    line-height: 1.6;
    color: var(--text-secondary);
    max-width: 560px;
}

.section-header {
    margin-bottom: 64px;
}

/* ── Pillars ──────────────────────────────────── */
.pillars {
    position: relative;
    z-index: 1;
    padding: var(--section-pad) 0;
}

.pillars__grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 24px;
}

@media (min-width: 768px) {
    .pillars__grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 20px;
    }
}

.pillar {
    background: var(--bg-surface);
    border: 1px solid var(--border);
    border-radius: 16px;
    padding: 36px 32px;
    transition: border-color 0.3s var(--ease-out), transform 0.3s var(--ease-out);
    position: relative;
    overflow: hidden;
}

.pillar::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 2px;
    opacity: 0;
    transition: opacity 0.3s;
}

.pillar:hover {
    border-color: var(--border-light);
    transform: translateY(-4px);
}

.pillar:hover::before { opacity: 1; }

.pillar:nth-child(1)::before { background: var(--eu-accent); }
.pillar:nth-child(2)::before { background: var(--cloud-accent); }
.pillar:nth-child(3)::before { background: var(--ai-accent); }

.pillar__icon {
    width: 56px;
    height: 56px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 12px;
    margin-bottom: 24px;
}

.pillar__icon--eu   { background: rgba(91, 141, 239, 0.1);  color: var(--eu-accent); }
.pillar__icon--cloud { background: rgba(68, 217, 232, 0.1);  color: var(--cloud-accent); }
.pillar__icon--ai   { background: rgba(232, 102, 232, 0.1); color: var(--ai-accent); }

.pillar__label {
    display: inline-block;
    font-family: var(--font-mono);
    font-size: 11px;
    font-weight: 500;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    margin-bottom: 12px;
}

.pillar:nth-child(1) .pillar__label { color: var(--eu-accent); }
.pillar:nth-child(2) .pillar__label { color: var(--cloud-accent); }
.pillar:nth-child(3) .pillar__label { color: var(--ai-accent); }

.pillar__title {
    font-size: 22px;
    font-weight: 700;
    line-height: 1.25;
    letter-spacing: -0.02em;
    margin-bottom: 16px;
}

.pillar__desc {
    font-size: 14px;
    line-height: 1.65;
    color: var(--text-secondary);
    margin-bottom: 24px;
}

.pillar__features {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.pillar__features li {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    font-size: 13px;
    color: var(--text-secondary);
    line-height: 1.5;
}

.pillar__features li svg {
    flex-shrink: 0;
    margin-top: 2px;
    color: var(--accent-dim);
}

/* ── Features Grid ────────────────────────────── */
.features {
    position: relative;
    z-index: 1;
    padding: var(--section-pad) 0;
    background: var(--bg-surface);
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
}

.features__grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 16px;
}

@media (min-width: 600px) {
    .features__grid { grid-template-columns: repeat(2, 1fr); }
}

@media (min-width: 900px) {
    .features__grid { grid-template-columns: repeat(3, 1fr); }
}

.feature-card {
    padding: 28px 24px;
    border: 1px solid var(--border);
    border-radius: 12px;
    background: var(--bg);
    transition: border-color 0.3s, transform 0.3s var(--ease-out);
}

.feature-card:hover {
    border-color: var(--border-light);
    transform: translateY(-2px);
}

.feature-card__icon {
    color: var(--accent);
    margin-bottom: 16px;
}

.feature-card h3 {
    font-size: 16px;
    font-weight: 700;
    margin-bottom: 8px;
    letter-spacing: -0.01em;
}

.feature-card p {
    font-size: 13.5px;
    line-height: 1.6;
    color: var(--text-secondary);
}

/* ── Code Examples ────────────────────────────── */
.examples {
    position: relative;
    z-index: 1;
    padding: var(--section-pad) 0;
}

.examples__showcase {
    background: var(--bg-surface);
    border: 1px solid var(--border);
    border-radius: 16px;
    overflow: hidden;
}

.examples__tabs {
    display: flex;
    border-bottom: 1px solid var(--border);
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
}

.examples__tab {
    flex: 1;
    padding: 16px 24px;
    font-size: 14px;
    font-weight: 600;
    color: var(--text-muted);
    transition: color 0.2s, background 0.2s;
    text-align: center;
    position: relative;
    min-width: fit-content;
}

.examples__tab::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: var(--accent);
    opacity: 0;
    transition: opacity 0.2s;
}

.examples__tab:hover {
    color: var(--text-secondary);
    background: rgba(255, 255, 255, 0.02);
}

.examples__tab.active {
    color: var(--accent);
}

.examples__tab.active::after {
    opacity: 1;
}

.examples__panel {
    display: none;
}

.examples__panel.active {
    display: block;
}

.examples__split {
    display: grid;
    grid-template-columns: 1fr;
}

@media (min-width: 900px) {
    .examples__split {
        grid-template-columns: 1.2fr 1fr;
    }
}

.examples__split .code-window {
    border: none;
    border-radius: 0;
    box-shadow: none;
}

@media (min-width: 900px) {
    .examples__split .code-window {
        border-right: 1px solid var(--border);
    }
}

.examples__info {
    padding: 32px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.examples__info h3 {
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 12px;
    letter-spacing: -0.02em;
}

.examples__info p {
    font-size: 14px;
    line-height: 1.65;
    color: var(--text-secondary);
    margin-bottom: 20px;
}

.examples__info ul {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.examples__info li {
    font-size: 13px;
    color: var(--text-secondary);
    padding-left: 20px;
    position: relative;
}

.examples__info li::before {
    content: '→';
    position: absolute;
    left: 0;
    color: var(--accent);
    font-family: var(--font-mono);
    font-size: 12px;
}

.examples__info code {
    font-family: var(--font-mono);
    font-size: 12px;
    background: var(--bg-card);
    padding: 2px 6px;
    border-radius: 4px;
    color: var(--accent);
}

/* ── Performance ──────────────────────────────── */
.performance {
    position: relative;
    z-index: 1;
    padding: var(--section-pad) 0;
    background: var(--bg-surface);
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
}

.perf__grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
}

@media (min-width: 768px) {
    .perf__grid { grid-template-columns: repeat(4, 1fr); }
}

.perf__card {
    text-align: center;
    padding: 40px 20px;
    border: 1px solid var(--border);
    border-radius: 12px;
    background: var(--bg);
}

.perf__number {
    display: block;
    font-family: var(--font-body);
    font-size: clamp(48px, 6vw, 64px);
    font-weight: 800;
    letter-spacing: -0.04em;
    color: var(--accent);
    line-height: 1;
}

.perf__unit {
    display: block;
    font-size: 15px;
    font-weight: 600;
    color: var(--text);
    margin-top: 4px;
    margin-bottom: 8px;
}

.perf__label {
    display: block;
    font-size: 13px;
    color: var(--text-muted);
}

/* ── Get Started ──────────────────────────────── */
.get-started {
    position: relative;
    z-index: 1;
    padding: var(--section-pad) 0;
}

.steps {
    max-width: 680px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 32px;
}

.step {
    display: flex;
    gap: 24px;
    align-items: flex-start;
}

.step__num {
    flex-shrink: 0;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: var(--font-mono);
    font-size: 15px;
    font-weight: 500;
    color: var(--accent);
    border: 1px solid var(--border-light);
    border-radius: 10px;
    background: var(--bg-surface);
}

.step__content {
    flex: 1;
    min-width: 0;
}

.step__content h3 {
    font-size: 17px;
    font-weight: 700;
    margin-bottom: 12px;
    letter-spacing: -0.01em;
}

/* Terminal blocks */
.terminal {
    background: var(--code-bg);
    border: 1px solid var(--border);
    border-radius: 10px;
    overflow: hidden;
}

.terminal__bar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 8px 14px;
    border-bottom: 1px solid var(--border);
    background: rgba(255, 255, 255, 0.02);
}

.terminal__bar span {
    font-family: var(--font-mono);
    font-size: 11px;
    color: var(--text-muted);
}

.terminal__copy {
    color: var(--text-muted);
    padding: 4px;
    border-radius: 4px;
    transition: color 0.2s, background 0.2s;
}

.terminal__copy:hover {
    color: var(--accent);
    background: var(--accent-ghost);
}

.terminal__copy.copied { color: var(--accent); }

.terminal pre {
    padding: 16px;
    font-family: var(--font-mono);
    font-size: 13px;
    line-height: 1.7;
    overflow-x: auto;
    color: var(--text-secondary);
}

.terminal .prompt {
    color: var(--accent);
    user-select: none;
    margin-right: 8px;
}

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

.terminal .success {
    color: var(--accent);
}

/* ── CTA ──────────────────────────────────────── */
.cta {
    position: relative;
    z-index: 1;
    padding: var(--section-pad) 0;
}

.cta__inner {
    text-align: center;
    max-width: 600px;
    margin: 0 auto;
}

.cta__title {
    font-family: var(--font-body);
    font-size: clamp(36px, 5vw, 56px);
    font-weight: 800;
    line-height: 1.1;
    letter-spacing: -0.03em;
    margin-bottom: 20px;
}

.cta__title em {
    font-family: var(--font-display);
    font-style: italic;
    font-weight: 400;
    color: var(--accent);
}

.cta__sub {
    font-size: 17px;
    color: var(--text-secondary);
    line-height: 1.6;
    margin-bottom: 36px;
}

.cta__actions {
    display: flex;
    justify-content: center;
    gap: 16px;
    flex-wrap: wrap;
}

/* ── Footer ───────────────────────────────────── */
.footer {
    position: relative;
    z-index: 1;
    padding: 64px 0 40px;
    border-top: 1px solid var(--border);
    background: var(--bg-surface);
}

.footer__grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 40px;
    margin-bottom: 48px;
}

@media (min-width: 768px) {
    .footer__grid {
        grid-template-columns: 1.5fr repeat(3, 1fr);
        gap: 32px;
    }
}

.footer__logo {
    font-family: var(--font-mono);
    font-size: 20px;
    font-weight: 500;
    letter-spacing: 0.08em;
    color: var(--accent);
    display: inline-block;
    margin-bottom: 8px;
}

.footer__tagline {
    font-size: 14px;
    color: var(--text-muted);
}

.footer__col h4 {
    font-size: 13px;
    font-weight: 600;
    color: var(--text);
    margin-bottom: 16px;
    letter-spacing: 0.02em;
}

.footer__col a {
    display: block;
    font-size: 14px;
    color: var(--text-muted);
    padding: 4px 0;
    transition: color 0.2s;
}

.footer__col a:hover {
    color: var(--text);
}

.footer__bottom {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    font-size: 13px;
    color: var(--text-muted);
    padding-top: 24px;
    border-top: 1px solid var(--border);
}

.footer__sep {
    opacity: 0.4;
}

/* ── Reveal Animations ────────────────────────── */
.reveal {
    opacity: 0;
    transform: translateY(24px);
    transition: opacity var(--duration) var(--ease-out),
                transform var(--duration) var(--ease-out);
}

.reveal.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Stagger hero reveals */
.hero .reveal[data-delay="1"] { transition-delay: 0.1s; }
.hero .reveal[data-delay="2"] { transition-delay: 0.2s; }
.hero .reveal[data-delay="3"] { transition-delay: 0.3s; }

/* ── Scrollbar ────────────────────────────────── */
::-webkit-scrollbar { width: 8px; height: 8px; }
::-webkit-scrollbar-track { background: var(--bg); }
::-webkit-scrollbar-thumb { background: var(--border-light); border-radius: 4px; }
::-webkit-scrollbar-thumb:hover { background: var(--text-muted); }

/* ── Focus styles ─────────────────────────────── */
:focus-visible {
    outline: 2px solid var(--accent);
    outline-offset: 2px;
    border-radius: 4px;
}
