:root {
    --bg: #0d1117;
    --bg-elev: #111827;
    --text: #e6edf3;
    --muted: #9aa4b2;
    --line: rgba(255,255,255,.08);
    --accent: #7c3aed;
    --accent-2: #22d3ee;
    --radius: 14px;
    --shadow: 0 8px 24px rgba(0,0,0,.2);
    --maxw: 1100px;
    --nav-bg: rgba(255,255,255,.06);
}
[data-theme="light"] {
    --bg: #ffffff;
    --bg-elev: #f8fafc;
    --text: #0b1220;
    --muted: #5b6472;
    --line: rgba(11,18,32,.1);
    --nav-bg: rgba(0,0,0,.04);
}

* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
body { background: var(--bg); color: var(--text); font-family: system-ui, -apple-system, Segoe UI, Roboto, Inter, Arial, sans-serif; line-height: 1.6; }
a { color: inherit; text-decoration: none; }
.container { max-width: var(--maxw); margin: 0 auto; padding: 0 24px; }
.muted { color: var(--muted); }
.divider { height: 1px; background: var(--line); margin: 24px 0; }

/* Nav */
nav { position: sticky; top: 0; backdrop-filter: saturate(140%) blur(8px); background: var(--nav-bg); border-bottom:1px solid var(--line); z-index: 50; }
.nav-inner { display:flex; align-items:center; justify-content:space-between; gap:16px; padding: 12px 24px; max-width: var(--maxw); margin: 0 auto; }
.brand { font-weight: 800; letter-spacing: 0.2px; }
.nav-links { display:flex; gap: 10px; flex-wrap: wrap; }
.btn { display:inline-flex; align-items:center; gap:10px; padding:10px 14px; border-radius:12px; border:1px solid var(--line); background: linear-gradient(180deg, var(--bg-elev), var(--bg)); box-shadow: var(--shadow); font-weight: 700; cursor: pointer; }
.btn:hover { transform: translateY(-1px); transition: 180ms ease; }
.btn.primary { border: none; background: linear-gradient(90deg, var(--accent), var(--accent-2)); color: #081018; }
.btn.ghost { background: transparent; box-shadow: none; }

/* Hero */
.hero { padding: 64px 24px 24px; }
.hero h1 { font-size: clamp(32px, 6vw, 56px); line-height: 1.1; margin: 16px 0 12px; }
.hero p { font-size: clamp(16px, 2.5vw, 20px); margin: 0; }
.badges { display:flex; flex-wrap:wrap; gap: 10px; margin-top: 14px; }
.badge { border: 1px solid var(--line); background: var(--bg-elev); padding: 6px 10px; border-radius: 10px; font-weight: 600; }

/* Sections */
section { padding: 24px 0; }
.section-title { display:flex; align-items:center; justify-content:space-between; margin-bottom: 12px; }
.kicker { font-weight: 800; text-transform: uppercase; letter-spacing: 1.5px; color: var(--muted); font-size: 12px; }

/* Grid and Cards */
.grid { display:grid; gap: 16px; }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
@media (max-width: 900px){ .grid-2 { grid-template-columns: 1fr; } }
.cards { display:grid; grid-template-columns: repeat(12, 1fr); gap: 16px; }
.card { grid-column: span 4; background: linear-gradient(180deg, var(--bg-elev), var(--bg)); border: 1px solid var(--line); border-radius: var(--radius); padding: 18px; box-shadow: var(--shadow); }
.card.wide { grid-column: span 6; }
.card h3 { margin: 2px 0 6px; font-size: 20px; }
.card p { margin: 0; color: var(--muted); }
@media (max-width: 900px){ .card, .card.wide { grid-column: 1 / -1; } }

/* Timeline */
.timeline { position: relative; }
.timeline::before { content:""; position:absolute; left:10px; top:0; bottom:0; width:2px; background: var(--line); }
.t-item { display:grid; grid-template-columns: 24px 1fr; gap:12px; padding: 10px 0; }
.t-dot { width: 22px; height:22px; border-radius: 50%; background: linear-gradient(180deg, var(--accent), var(--accent-2)); border: 2px solid rgba(0,0,0,.2); box-shadow: var(--shadow); }

/* Footer */
footer { border-top:1px solid var(--line); margin-top: 32px; padding: 24px 0 48px; color: var(--muted); }

/* Print */
@media print {
    nav, .btn, .badge, .badges, .divider { display:none !important; }
    body { background: #fff; color: #000; }
    a { color: #000; text-decoration: underline; }
}