:root {
    --bg: #F4F6F8;
    --surface: #FFFFFF;
    --primary: #0033FF; /* International Klein Blue / Electric Blue */
    --text: #050505;
    --text-muted: #666666;
    --border: #E1E4E8;
    --line: rgba(0,0,0,0.06);
    --font-sans: 'Inter', sans-serif;
    --font-mono: 'JetBrains Mono', monospace;
}

* {
    box-sizing: border-box;
}

body {
    background-color: var(--bg);
    color: var(--text);
    font-family: var(--font-sans);
    margin: 0;
    line-height: 1.5;
    overflow-x: hidden;
}

.container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 2rem;
    position: relative;
    z-index: 2;
}

/* Nav */
.nav-bar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    padding: 1.5rem 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    z-index: 100;
    background: rgba(244, 246, 248, 0.9);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(0,0,0,0.05);
}

.logo {
    font-weight: 600;
    font-size: 1rem;
    letter-spacing: -0.02em;
}

.tm {
    font-size: 0.6rem;
    vertical-align: super;
}

.btn-pill {
    background: var(--text);
    color: var(--surface);
    padding: 0.6rem 1.2rem;
    border-radius: 99px;
    text-decoration: none;
    font-size: 0.8rem;
    font-weight: 500;
    transition: transform 0.2s;
}
.btn-pill:hover {
    transform: scale(1.05);
}

/* Hero */
.hero {
    min-height: 100vh;
    padding-top: 8rem;
    display: flex;
    flex-direction: column;
}

.hero-meta {
    display: flex;
    justify-content: space-between;
    border-bottom: 1px solid var(--text);
    padding-bottom: 1rem;
    margin-bottom: 4rem;
}

.mono-label {
    font-family: var(--font-mono);
    font-size: 0.7rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--text-muted);
}

.hero-title {
    font-size: clamp(4rem, 10vw, 9rem);
    line-height: 0.9;
    letter-spacing: -0.04em;
    margin: 0;
    font-weight: 400;
    display: flex;
    flex-direction: column;
}

.text-blue {
    color: var(--primary);
}

.hero-footer {
    margin-top: auto;
    padding-bottom: 4rem;
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
    align-items: end;
}

@media(min-width: 768px) {
    .hero-footer {
        grid-template-columns: 1fr 1fr;
    }
}

.lead {
    font-size: 1.25rem;
    max-width: 40ch;
    color: var(--text-muted);
}

.scroll-indicator {
    display: none;
    flex-direction: column;
    align-items: flex-end;
    gap: 1rem;
}

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

.line-drop {
    width: 1px;
    height: 60px;
    background: var(--text);
    animation: drop 2s infinite;
}

@keyframes drop {
    0% { transform: scaleY(0); transform-origin: top; }
    50% { transform: scaleY(1); transform-origin: top; }
    51% { transform: scaleY(1); transform-origin: bottom; }
    100% { transform: scaleY(0); transform-origin: bottom; }
}

/* Ticker */
.stats-ticker {
    background: var(--primary);
    color: white;
    padding: 1.25rem 0;
    overflow: hidden;
    font-family: var(--font-mono);
    font-size: 0.9rem;
    white-space: nowrap;
    position: relative;
    z-index: 2;
}

.ticker-track {
    display: inline-block;
    animation: ticker 30s linear infinite;
}

.ticker-item {
    display: inline-block;
    padding: 0 2rem;
}

@keyframes ticker {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}

/* Comparison */
.comparison-section {
    padding: 8rem 0;
    background: var(--surface);
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
}

.section-header {
    display: flex;
    align-items: baseline;
    gap: 2rem;
    margin-bottom: 4rem;
}

.section-idx {
    font-family: var(--font-mono);
    font-size: 0.8rem;
    color: var(--primary);
}

h2 {
    font-size: 3rem;
    font-weight: 400;
    letter-spacing: -0.03em;
    margin: 0;
}

.comparison-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 4rem;
}
@media(min-width: 768px) {
    .comparison-grid { grid-template-columns: 1fr 1fr; }
}

.comp-col {
    padding: 2.5rem;
    border: 1px solid var(--border);
    border-radius: 4px;
    background: #fff;
    transition: 0.3s;
}

.comp-col.active {
    border-color: var(--primary);
    box-shadow: 0 10px 40px rgba(0, 51, 255, 0.05);
}

.col-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 3rem;
}

.col-header h3 {
    margin: 0;
    font-size: 1.5rem;
    font-weight: 500;
}

.badge {
    font-family: var(--font-mono);
    font-size: 0.7rem;
    padding: 0.2rem 0.5rem;
    border-radius: 4px;
    text-transform: uppercase;
}

.badge-warn { background: #FFF4E5; color: #B35F00; }
.badge-success { background: #E5FFF0; color: #008822; }

.diagram {
    height: 200px;
    display: flex;
    justify-content: center;
    align-items: center;
    margin-bottom: 2rem;
    background: #FAFAFA;
    border-radius: 4px;
}

.diagram-circle {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    font-family: var(--font-mono);
    font-size: 0.8rem;
}

.shutdown {
    border: 2px dashed #ccc;
    color: #999;
}

.active-signal {
    border: 2px solid var(--primary);
    color: var(--primary);
    position: relative;
}

.pulse-ring {
    position: absolute;
    width: 100%;
    height: 100%;
    border-radius: 50%;
    border: 1px solid var(--primary);
    animation: pulse-ring 2s infinite;
}

@keyframes pulse-ring {
    0% { transform: scale(1); opacity: 1; }
    100% { transform: scale(1.5); opacity: 0; }
}

.description {
    color: var(--text-muted);
    line-height: 1.6;
}

/* Process - Sticky */
.process-section {
    padding: 8rem 0;
    background: var(--bg);
}

.process-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 4rem;
}

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

.sticky-col {
    position: sticky;
    top: 8rem;
    height: fit-content;
}

.sticky-desc {
    margin-top: 1rem;
    color: var(--text-muted);
    font-size: 1.1rem;
    max-width: 30ch;
}

.steps-col {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.step-card {
    background: var(--surface);
    padding: 3rem;
    border: 1px solid var(--border);
    border-left: 4px solid var(--border);
    border-radius: 4px;
    transition: all 0.3s ease;
}

.step-card:hover {
    border-left-color: var(--primary);
    transform: translateX(10px);
    box-shadow: 0 4px 20px rgba(0,0,0,0.05);
}

.step-num {
    font-family: var(--font-mono);
    color: var(--primary);
    display: block;
    margin-bottom: 1rem;
}

h4 {
    font-size: 1.5rem;
    margin: 0 0 1rem 0;
    font-weight: 500;
}

.step-card p {
    font-size: 1rem;
    color: var(--text-muted);
    margin: 0;
    max-width: 50ch;
}

/* Footer */
.footer-complex {
    padding: 8rem 0 4rem;
    border-top: 1px solid var(--border);
    background: var(--surface);
    position: relative;
    z-index: 2;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 4rem;
    margin-bottom: 6rem;
}

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

.f-logo {
    font-weight: 600;
    font-size: 1.25rem;
    margin-bottom: 1.5rem;
    color: var(--text);
    letter-spacing: -0.02em;
}

.f-mission {
    color: var(--text-muted);
    font-size: 1rem;
    max-width: 35ch;
    margin-bottom: 2rem;
    line-height: 1.6;
}

.f-status {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.75rem 1rem;
    background: var(--bg);
    border-radius: 4px;
    width: fit-content;
}

.status-dot {
    width: 6px;
    height: 6px;
    background: #00CC44;
    border-radius: 50%;
}

.status-label {
    font-size: 0.7rem;
    color: var(--text-muted);
}

.mono {
    font-family: var(--font-mono);
}

.f-col {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.f-title {
    font-family: var(--font-mono);
    font-size: 0.75rem;
    text-transform: uppercase;
    color: var(--text-muted);
    margin-bottom: 1rem;
    letter-spacing: 0.05em;
}

.f-col a {
    color: var(--text);
    text-decoration: none;
    font-size: 0.95rem;
    transition: all 0.2s ease;
    width: fit-content;
}

.f-col a:hover {
    color: var(--primary);
    transform: translateX(4px);
}

.footer-bottom {
    border-top: 1px solid var(--border);
    padding-top: 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.75rem;
    color: var(--text-muted);
}

.timestamp {
    opacity: 0.5;
}

.btn-text {
    font-weight: 600;
    color: var(--primary);
    text-decoration: none;
    transition: opacity 0.2s;
}
.btn-text:hover { opacity: 0.8; }