* { box-sizing: border-box; }
:root {
  --bg: #0b0b0d; --panel: #15161b; --panel-2: #101115; --border: #2b2d36;
  --text: #f5f6fb; --muted: #a3a8b7; --accent: #d9a93a; --accent-soft: rgba(217, 169, 58, 0.12);
}
html { scroll-behavior: smooth; }
body {
  margin: 0; font-family: Arial, Helvetica, sans-serif;
  background: radial-gradient(circle at top, #161923 0%, #0c0d11 35%, #090909 100%);
  color: var(--text); line-height: 1.55;
}
.container { width: min(1120px, calc(100% - 32px)); margin: 0 auto; }
.site-header { position: sticky; top: 0; z-index: 20; backdrop-filter: blur(10px); background: rgba(9, 9, 11, 0.88); border-bottom: 1px solid var(--border); }
.topbar { display: flex; align-items: center; justify-content: space-between; padding: 18px 0; gap: 20px; }
.topbar nav { display: flex; gap: 18px; flex-wrap: wrap; justify-content: flex-end; }
.topbar a { color: #d6d9e4; text-decoration: none; font-size: 14px; }
.topbar a:hover { color: white; }
.eyebrow { text-transform: uppercase; letter-spacing: 0.28em; font-size: 12px; color: var(--accent); }
.brand { margin-top: 6px; font-size: 20px; font-weight: 700; }
.hero { padding: 72px 0 36px; }
.hero-grid { display: grid; grid-template-columns: 1.15fr 0.85fr; gap: 36px; align-items: center; }
.pill { display: inline-block; border: 1px solid rgba(217, 169, 58, 0.35); background: var(--accent-soft); color: #eed389; border-radius: 999px; padding: 10px 14px; font-size: 14px; }
h1 { margin: 22px 0 18px; font-size: clamp(40px, 6vw, 66px); line-height: 1.04; }
h1 span, .hero-card h2 { color: var(--accent); }
h2 { margin: 10px 0 16px; font-size: clamp(28px, 4vw, 42px); line-height: 1.1; }
h3 { margin: 10px 0 12px; font-size: 24px; }
.lead { font-size: 20px; color: #d8dbe6; max-width: 760px; }
.lead.small { font-size: 18px; }
.cta-row { display: flex; gap: 14px; margin-top: 28px; flex-wrap: wrap; }
.btn { display: inline-block; text-decoration: none; border-radius: 18px; padding: 14px 18px; font-weight: 700; }
.btn-primary { background: var(--accent); color: #0b0b0d; }
.btn-secondary { border: 1px solid #474b58; color: #f4f6fb; }
.card-stack, .lesson-list { display: grid; gap: 16px; }
.card, .callout, .module-card {
  border: 1px solid var(--border); border-radius: 28px; background: linear-gradient(180deg, var(--panel) 0%, var(--panel-2) 100%);
  padding: 26px; box-shadow: 0 20px 60px rgba(0,0,0,0.26);
}
.hero-card { background: linear-gradient(180deg, rgba(217,169,58,0.09) 0%, #14151a 100%); }
.stat-grid { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: 14px; }
.stat { border: 1px solid var(--border); border-radius: 20px; padding: 16px; background: rgba(255,255,255,0.02); }
.stat span { display: block; color: var(--muted); font-size: 13px; }
.stat strong { display: block; margin-top: 8px; font-size: 17px; }
.section, .section-bottom { padding: 34px 0; }
.section-bottom { padding-bottom: 90px; }
.section-head { display: flex; justify-content: space-between; gap: 24px; align-items: end; margin-bottom: 24px; }
.section-copy { max-width: 560px; color: var(--muted); font-size: 18px; }
.grid { display: grid; gap: 20px; }
.grid.two, .grid.three { grid-template-columns: repeat(2, minmax(0,1fr)); }
.grid.three { grid-template-columns: repeat(3, minmax(0,1fr)); }
.module-card .tag { display: inline-block; border: 1px solid #535867; border-radius: 999px; padding: 7px 10px; font-size: 12px; color: #dde2f0; }
.bullet-list, .number-list { margin: 0; padding-left: 20px; }
.bullet-list li, .number-list li { margin: 10px 0; color: #eceef5; }
.muted { color: var(--muted); }
.code-block, .mini-code { margin: 16px 0 0; border: 1px solid var(--border); border-radius: 18px; background: #0b0d12; overflow: auto; }
.code-block code, .mini-code code { display: block; padding: 18px; color: #f3f6ff; font-family: Consolas, Monaco, monospace; white-space: pre-wrap; }
.mini-code code { font-size: 14px; }
code { color: #eed389; }
@media (max-width: 900px) {
  .hero-grid, .grid.two, .grid.three, .stat-grid, .section-head { grid-template-columns: 1fr; display: grid; }
}
@media (max-width: 640px) {
  .topbar { flex-direction: column; align-items: flex-start; }
  .topbar nav { justify-content: flex-start; }
  .hero { padding-top: 42px; }
  .lead { font-size: 18px; }
}
