/* kingsboro.unykorn.ai - adapted from the tunica.unykorn.ai design variables */
:root {
  --bg-primary: #070a11;
  --bg-secondary: #0d131f;
  --bg-card: rgba(16, 24, 40, 0.75);
  --bg-card-hover: rgba(22, 34, 56, 0.9);
  --border-color: rgba(0, 240, 255, 0.18);
  --border-glow: rgba(0, 240, 255, 0.45);

  --accent-cyan: #00f0ff;
  --accent-cyan-glow: rgba(0, 240, 255, 0.25);
  --accent-emerald: #00ffaa;
  --accent-emerald-glow: rgba(0, 255, 170, 0.25);
  --accent-amber: #ffb700;
  --accent-orange: #ff9900;
  --accent-rose: #ff3366;

  --text-primary: #f0f6fc;
  --text-secondary: #8b9bb4;
  --text-muted: #56657a;

  --font-heading: 'Outfit', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --font-body: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --font-mono: 'JetBrains Mono', 'Cascadia Code', 'Fira Code', Consolas, monospace;

  --transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 20px;
  --shadow-card: 0 10px 30px -10px rgba(0, 0, 0, 0.5), 0 0 0 1px var(--border-color);
  --shadow-glow: 0 0 25px var(--accent-cyan-glow);
  --gutter: 2rem;
}

* { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; scroll-padding-top: 96px; }

body {
  background-color: var(--bg-primary);
  color: var(--text-primary);
  font-family: var(--font-body);
  line-height: 1.6;
  overflow-x: hidden;
  background-image:
    radial-gradient(circle at 15% 15%, rgba(0, 240, 255, 0.05) 0%, transparent 40%),
    radial-gradient(circle at 85% 75%, rgba(0, 255, 170, 0.04) 0%, transparent 45%);
  background-attachment: fixed;
}

a { color: var(--accent-cyan); }
strong { color: #fff; }

/* Glassmorphism utility */
.glass {
  background: var(--bg-card);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-card);
  transition: var(--transition);
}
.glass:hover { border-color: var(--border-glow); }

/* Navigation */
.navbar {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  padding: 0.8rem var(--gutter);
  background: rgba(7, 10, 17, 0.88);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border-color);
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  flex-wrap: wrap;
}

.nav-brand { display: flex; align-items: center; gap: 12px; text-decoration: none; }

.brand-badge {
  width: 38px; height: 38px; flex: 0 0 38px;
  background: linear-gradient(135deg, var(--accent-cyan), var(--accent-emerald));
  border-radius: 10px;
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-heading);
  font-weight: 900;
  color: #000;
  font-size: 1.2rem;
  box-shadow: 0 0 15px var(--accent-cyan-glow);
}

.brand-text h1 {
  font-family: var(--font-heading);
  font-size: 1rem;
  font-weight: 700;
  color: #fff;
  letter-spacing: 0.5px;
  line-height: 1.2;
}
.brand-text p {
  font-size: 0.72rem;
  color: var(--accent-cyan);
  text-transform: uppercase;
  letter-spacing: 1.5px;
  font-weight: 600;
}

.nav-links { display: flex; gap: 0.6rem; align-items: center; }

.nav-link {
  color: var(--text-secondary);
  text-decoration: none;
  font-size: 0.85rem;
  font-weight: 500;
  transition: var(--transition);
  padding: 0.4rem 0.7rem;
  border-radius: var(--radius-sm);
  white-space: nowrap;
}
.nav-link:hover, .nav-link.active { color: var(--accent-cyan); background: rgba(0, 240, 255, 0.08); }

.btn-primary {
  background: linear-gradient(135deg, var(--accent-cyan), #00a2ff);
  color: #050b14;
  border: none;
  padding: 0.6rem 1.3rem;
  border-radius: 30px;
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 0.9rem;
  cursor: pointer;
  display: inline-flex; align-items: center; gap: 8px;
  transition: var(--transition);
  text-decoration: none;
  box-shadow: 0 4px 15px rgba(0, 240, 255, 0.3);
  white-space: nowrap;
}
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 6px 22px rgba(0, 240, 255, 0.5); color: #000; }

.btn-outline {
  background: rgba(0, 240, 255, 0.05);
  color: var(--accent-cyan);
  border: 1px solid var(--border-color);
  padding: 0.6rem 1.3rem;
  border-radius: 30px;
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 0.9rem;
  cursor: pointer;
  display: inline-flex; align-items: center; gap: 8px;
  transition: var(--transition);
  text-decoration: none;
}
.btn-outline:hover { background: rgba(0, 240, 255, 0.15); border-color: var(--accent-cyan); color: #fff; }
.btn-outline.amber { border-color: rgba(255, 183, 0, 0.4); color: var(--accent-amber); }

/* Hero */
.hero {
  position: relative;
  min-height: 100vh;
  padding: 9rem var(--gutter) 4rem;
  display: flex; flex-direction: column; justify-content: center; align-items: center;
  text-align: center;
  background:
    linear-gradient(180deg, rgba(7, 10, 17, 0.2) 0%, rgba(7, 10, 17, 0.95) 100%),
    linear-gradient(135deg, #0a1422 0%, #070a11 45%, #061a1a 100%);
  border-bottom: 1px solid var(--border-color);
  overflow: hidden;
}
.hero-overlay {
  position: absolute; inset: 0;
  background:
    radial-gradient(circle at 50% 35%, rgba(0, 240, 255, 0.12) 0%, rgba(7, 10, 17, 0) 55%),
    repeating-linear-gradient(0deg, rgba(0, 240, 255, 0.035) 0 1px, transparent 1px 48px),
    repeating-linear-gradient(90deg, rgba(0, 240, 255, 0.035) 0 1px, transparent 1px 48px);
  pointer-events: none;
}
.hero-content { position: relative; z-index: 10; max-width: 1100px; width: 100%; }

.status-pill {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 6px 16px;
  border-radius: 30px;
  background: rgba(255, 183, 0, 0.1);
  border: 1px solid rgba(255, 183, 0, 0.35);
  color: var(--accent-amber);
  font-size: 0.78rem;
  font-weight: 600;
  margin-bottom: 1.5rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  max-width: 100%;
  text-align: left;
}
.status-pill.emerald { background: rgba(0, 255, 170, 0.1); border-color: rgba(0, 255, 170, 0.3); color: var(--accent-emerald); }
.status-pill.cyan { background: rgba(0, 240, 255, 0.08); border-color: rgba(0, 240, 255, 0.3); color: var(--accent-cyan); }
.status-pill.rose { background: rgba(255, 51, 102, 0.1); border-color: rgba(255, 51, 102, 0.35); color: var(--accent-rose); }
.status-pill.small { margin: 0; padding: 3px 9px; font-size: 0.7rem; }

.status-dot {
  width: 8px; height: 8px; flex: 0 0 8px;
  background: var(--accent-amber);
  border-radius: 50%;
  box-shadow: 0 0 10px var(--accent-amber);
  animation: pulse 2s infinite;
}
@keyframes pulse {
  0% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.4; transform: scale(0.85); }
  100% { opacity: 1; transform: scale(1); }
}

.hero-title {
  font-family: var(--font-heading);
  font-size: clamp(2.1rem, 5vw, 4.2rem);
  font-weight: 900;
  line-height: 1.08;
  margin-bottom: 1.2rem;
  letter-spacing: -1px;
}
.hero-title span {
  background: linear-gradient(135deg, var(--accent-cyan) 20%, var(--accent-emerald) 80%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}
.hero-desc { font-size: 1.1rem; color: var(--text-secondary); max-width: 820px; margin: 0 auto 2rem; }
.hero-actions { display: flex; gap: 0.8rem; justify-content: center; flex-wrap: wrap; }

.hero-stats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: 1rem;
  width: 100%;
  max-width: 1100px;
  margin: 2.5rem auto 0;
}
.stat-box {
  padding: 1.3rem 0.8rem;
  text-align: center;
  background: rgba(13, 19, 31, 0.7);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}
.stat-box .val {
  font-family: var(--font-heading);
  font-size: 1.9rem;
  font-weight: 800;
  color: #fff;
  line-height: 1.1;
  margin-bottom: 4px;
}
.stat-box .val.cyan { color: var(--accent-cyan); text-shadow: 0 0 15px var(--accent-cyan-glow); }
.stat-box .val.emerald { color: var(--accent-emerald); text-shadow: 0 0 15px var(--accent-emerald-glow); }
.stat-box .val.amber { color: var(--accent-amber); }
.stat-box .val.rose { color: var(--accent-rose); }
.stat-box .lbl { font-size: 0.72rem; color: var(--text-secondary); text-transform: uppercase; letter-spacing: 1px; font-weight: 600; }
.stat-box .src { font-size: 0.68rem; color: var(--text-muted); margin-top: 4px; font-family: var(--font-mono); }

/* Hero schematic */
.schematic { width: 100%; max-width: 1000px; margin: 2.5rem auto 0; }
.schematic svg { width: 100%; height: auto; display: block; }
.schematic-caption { font-size: 0.75rem; color: var(--text-muted); font-family: var(--font-mono); margin-top: 0.5rem; }

/* Sections */
.section { padding: 5.5rem var(--gutter); max-width: 1300px; margin: 0 auto; }
.section-header { text-align: center; margin-bottom: 3rem; }
.section-tag {
  color: var(--accent-cyan);
  font-size: 0.82rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 2px;
  margin-bottom: 0.5rem;
  display: block;
}
.section-tag.amber { color: var(--accent-orange); }
.section-tag.emerald { color: var(--accent-emerald); }
.section-title { font-family: var(--font-heading); font-size: clamp(1.8rem, 3.5vw, 2.7rem); font-weight: 800; color: #fff; line-height: 1.15; }
.section-subtitle { color: var(--text-secondary); font-size: 1.02rem; max-width: 720px; margin: 0.8rem auto 0; }

.grid-2 { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 1.5rem; }
.grid-3 { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 1.5rem; }

/* Cards */
.card { padding: 1.6rem; }
.card-top { display: flex; align-items: center; justify-content: space-between; gap: 0.6rem; margin-bottom: 0.8rem; flex-wrap: wrap; }
.card-kicker { font-size: 0.76rem; font-weight: 700; text-transform: uppercase; letter-spacing: 1px; color: var(--accent-cyan); }
.card-kicker.amber { color: var(--accent-orange); }
.card-kicker.emerald { color: var(--accent-emerald); }
.card-kicker.rose { color: var(--accent-rose); }
.card h3 { font-family: var(--font-heading); font-size: 1.2rem; margin-bottom: 0.6rem; color: #fff; line-height: 1.25; }
.card p { font-size: 0.9rem; color: var(--text-secondary); line-height: 1.6; margin-bottom: 0.8rem; }
.card ul { font-size: 0.86rem; color: var(--text-primary); list-style: none; line-height: 1.7; }
.card ul li { padding-left: 1.1rem; position: relative; margin-bottom: 0.3rem; }
.card ul li::before { content: '\25B8'; position: absolute; left: 0; color: var(--accent-cyan); }
.card.top-cyan { border-top: 3px solid var(--accent-cyan); }
.card.top-amber { border-top: 3px solid var(--accent-orange); }
.card.top-emerald { border-top: 3px solid var(--accent-emerald); }
.card.top-rose { border-top: 3px solid var(--accent-rose); }

/* Expandable cards (native details) */
details.card > summary {
  list-style: none;
  cursor: pointer;
  display: flex; justify-content: space-between; align-items: center; gap: 1rem;
}
details.card > summary::-webkit-details-marker { display: none; }
details.card > summary h3 { margin-bottom: 0; }
details.card > summary .chev {
  flex: 0 0 auto;
  width: 28px; height: 28px; border-radius: 50%;
  border: 1px solid var(--border-color);
  display: inline-flex; align-items: center; justify-content: center;
  color: var(--accent-cyan);
  font-size: 0.9rem;
  transition: var(--transition);
}
details.card[open] > summary .chev { transform: rotate(180deg); background: rgba(0, 240, 255, 0.12); }
details.card > .card-body { margin-top: 1rem; padding-top: 1rem; border-top: 1px solid rgba(255, 255, 255, 0.06); }

/* Timeline */
.timeline { position: relative; max-width: 900px; margin: 0 auto; padding-left: 2rem; }
.timeline::before {
  content: '';
  position: absolute; left: 7px; top: 6px; bottom: 6px;
  width: 2px;
  background: linear-gradient(180deg, var(--accent-cyan), var(--accent-amber) 60%, var(--accent-rose));
  opacity: 0.6;
}
.tl-item { position: relative; margin-bottom: 1.6rem; }
.tl-item::before {
  content: '';
  position: absolute; left: -2rem; top: 6px;
  width: 16px; height: 16px; border-radius: 50%;
  background: var(--bg-primary);
  border: 2px solid var(--accent-cyan);
  box-shadow: 0 0 10px var(--accent-cyan-glow);
}
.tl-item.warn::before { border-color: var(--accent-amber); box-shadow: 0 0 10px rgba(255, 183, 0, 0.35); }
.tl-item.stop::before { border-color: var(--accent-rose); box-shadow: 0 0 10px rgba(255, 51, 102, 0.35); }
.tl-date { font-family: var(--font-mono); font-size: 0.78rem; color: var(--accent-cyan); font-weight: 700; letter-spacing: 0.5px; }
.tl-item.warn .tl-date { color: var(--accent-amber); }
.tl-item.stop .tl-date { color: var(--accent-rose); }
.tl-body { font-size: 0.92rem; color: var(--text-primary); margin-top: 0.2rem; }
.tl-src { font-size: 0.74rem; color: var(--text-muted); font-family: var(--font-mono); margin-top: 0.25rem; }

/* Citations */
sup.cite { font-size: 0.65em; line-height: 0; vertical-align: super; }
sup.cite a { color: var(--accent-cyan); text-decoration: none; font-family: var(--font-mono); }
sup.cite a:hover { text-decoration: underline; }

/* Checklist */
.checklist { list-style: none; }
.checklist-head { display: grid; grid-template-columns: 1fr auto; gap: 0.8rem; padding-bottom: 0.5rem; border-bottom: 2px solid var(--border-color); font-size: 0.74rem; text-transform: uppercase; letter-spacing: 1px; color: var(--accent-cyan); font-weight: 700; }
.checklist li {
  display: grid; grid-template-columns: 1fr auto; gap: 0.8rem; align-items: start;
  padding: 0.7rem 0; border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  font-size: 0.9rem;
}
.checklist li:last-child { border-bottom: none; }
.checklist .note { display: block; font-size: 0.76rem; color: var(--text-muted); margin-top: 2px; }
.pill-nf { font-family: var(--font-mono); font-size: 0.7rem; font-weight: 700; color: var(--accent-amber); border: 1px solid rgba(255, 183, 0, 0.4); background: rgba(255, 183, 0, 0.1); padding: 2px 8px; border-radius: 6px; white-space: nowrap; }

/* Capital stack diagram */
.stack { display: flex; flex-direction: column; gap: 0.5rem; }
.stack-layer {
  display: grid; grid-template-columns: 170px 1fr; gap: 1rem; align-items: center;
  padding: 0.7rem 1rem;
  border-radius: var(--radius-sm);
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: var(--bg-secondary);
}
.stack-layer .name { font-family: var(--font-heading); font-weight: 700; color: #fff; font-size: 0.9rem; }
.stack-layer .bar { height: 14px; border-radius: 7px; background: rgba(255, 255, 255, 0.06); overflow: hidden; }
.stack-layer .bar > span { display: block; height: 100%; border-radius: 7px; }
.stack-layer .desc { grid-column: 1 / -1; font-size: 0.82rem; color: var(--text-secondary); }
.bar-cyan > span { background: linear-gradient(90deg, var(--accent-cyan), #00a2ff); }
.bar-emerald > span { background: linear-gradient(90deg, var(--accent-emerald), #00c98a); }
.bar-amber > span { background: linear-gradient(90deg, var(--accent-amber), var(--accent-orange)); }
.bar-rose > span { background: linear-gradient(90deg, var(--accent-rose), #c0204f); }
.bar-slate > span { background: linear-gradient(90deg, #8b9bb4, #56657a); }
.stack-note { font-size: 0.76rem; color: var(--text-muted); font-family: var(--font-mono); margin-top: 0.8rem; }

/* Calculator */
.simulator-box {
  padding: 2rem;
  background: var(--bg-secondary);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2.5rem;
}
.control-group { margin-bottom: 1.5rem; }
.control-label { display: flex; justify-content: space-between; gap: 0.5rem; font-weight: 600; margin-bottom: 0.5rem; color: #fff; font-size: 0.9rem; }
.control-label span.value { color: var(--accent-cyan); font-family: var(--font-mono); font-weight: 700; }
.slider { width: 100%; height: 8px; border-radius: 4px; background: rgba(255, 255, 255, 0.1); outline: none; -webkit-appearance: none; appearance: none; cursor: pointer; }
.slider::-webkit-slider-thumb { -webkit-appearance: none; width: 22px; height: 22px; border-radius: 50%; background: var(--accent-cyan); cursor: pointer; box-shadow: 0 0 12px var(--accent-cyan); }
.slider::-moz-range-thumb { width: 22px; height: 22px; border: none; border-radius: 50%; background: var(--accent-cyan); cursor: pointer; box-shadow: 0 0 12px var(--accent-cyan); }
.num-input {
  width: 100%;
  background: rgba(7, 10, 17, 0.8);
  border: 1px solid var(--border-color);
  color: #fff;
  font-family: var(--font-mono);
  font-size: 1rem;
  padding: 0.6rem 0.8rem;
  border-radius: var(--radius-sm);
}
.num-input:focus { outline: none; border-color: var(--accent-cyan); box-shadow: 0 0 0 3px var(--accent-cyan-glow); }

.calc-display-card {
  padding: 1.6rem;
  background: rgba(7, 10, 17, 0.8);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  display: flex; flex-direction: column; justify-content: space-between; gap: 1rem;
}
.calc-head { color: var(--accent-cyan); font-weight: 700; font-size: 0.8rem; text-transform: uppercase; letter-spacing: 1.5px; margin-bottom: 0.6rem; }
.calc-stat-row { display: flex; justify-content: space-between; gap: 1rem; padding: 0.7rem 0; border-bottom: 1px solid rgba(255, 255, 255, 0.06); }
.calc-stat-row:last-child { border-bottom: none; }
.calc-stat-lbl { color: var(--text-secondary); font-size: 0.86rem; }
.calc-stat-val { font-family: var(--font-mono); font-weight: 700; color: #fff; text-align: right; }
.calc-big { background: rgba(0, 240, 255, 0.08); padding: 1.1rem; border-radius: var(--radius-sm); border: 1px solid rgba(0, 240, 255, 0.25); }
.calc-big .lbl { font-size: 0.76rem; color: var(--accent-cyan); text-transform: uppercase; font-weight: 700; margin-bottom: 4px; }
.calc-big .val { font-family: var(--font-heading); font-size: 2rem; font-weight: 900; color: #fff; line-height: 1.1; word-break: break-word; }
.calc-big .sub { font-size: 0.82rem; color: var(--text-secondary); margin-top: 4px; }
.calc-compare { background: rgba(255, 183, 0, 0.06); border: 1px solid rgba(255, 183, 0, 0.25); padding: 1rem; border-radius: var(--radius-sm); font-size: 0.85rem; color: var(--text-secondary); }
.calc-compare strong { color: var(--accent-amber); }
.calc-warn { font-size: 0.78rem; color: var(--accent-amber); font-family: var(--font-mono); min-height: 1.2em; }
.calc-disclaimer { font-size: 0.76rem; color: var(--text-muted); font-family: var(--font-mono); margin-top: 1rem; text-align: center; }

/* Process steps */
.steps { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 1rem; }
.step {
  padding: 1.3rem;
  border-radius: var(--radius-md);
  background: var(--bg-secondary);
  border: 1px solid rgba(255, 255, 255, 0.08);
  position: relative; overflow: hidden;
}
.step::before {
  content: ''; position: absolute; top: 0; left: 0; right: 0; height: 3px;
  background: linear-gradient(90deg, var(--accent-cyan), var(--accent-emerald));
}
.step .n { font-family: var(--font-mono); font-size: 0.75rem; color: var(--accent-cyan); font-weight: 700; letter-spacing: 1px; }
.step h4 { font-family: var(--font-heading); font-size: 1.05rem; color: #fff; margin: 0.3rem 0 0.4rem; }
.step p { font-size: 0.85rem; color: var(--text-secondary); line-height: 1.55; }

.deliver { padding: 1.6rem; }
.deliver .window { font-family: var(--font-heading); font-size: 1.5rem; font-weight: 800; color: #fff; }
.deliver .window small { font-size: 0.85rem; color: var(--text-secondary); font-weight: 400; }

/* Perimeter */
.perimeter { max-width: 900px; margin: 0 auto; padding: 2rem; border-left: 4px solid var(--accent-amber); }
.perimeter blockquote { font-family: var(--font-heading); font-size: 1.15rem; color: #fff; line-height: 1.5; margin-bottom: 1rem; }
.perimeter p { font-size: 0.92rem; color: var(--text-secondary); margin-bottom: 0.6rem; }

/* Sources */
.sources { max-width: 1000px; margin: 0 auto; padding: 1.6rem 1.6rem 1.6rem 2.6rem; font-size: 0.84rem; color: var(--text-secondary); }
.sources li { margin-bottom: 0.55rem; line-height: 1.5; }
.sources li::marker { color: var(--accent-cyan); font-family: var(--font-mono); font-weight: 700; }
.sources li:target { color: #fff; }
.sources .u { color: var(--text-muted); font-family: var(--font-mono); font-size: 0.78rem; }

/* Footer */
.footer { background: #04060a; border-top: 1px solid var(--border-color); padding: 4rem var(--gutter) 2rem; color: var(--text-secondary); }
.footer-grid { display: grid; grid-template-columns: 1.5fr repeat(2, 1fr); gap: 3rem; max-width: 1300px; margin: 0 auto 3rem; }
.footer-heading { color: #fff; font-family: var(--font-heading); font-size: 1rem; font-weight: 700; margin-bottom: 1rem; }
.footer-links { list-style: none; }
.footer-links li { margin-bottom: 0.5rem; font-size: 0.88rem; }
.footer-links a { color: var(--text-secondary); text-decoration: none; transition: var(--transition); }
.footer-links a:hover { color: var(--accent-cyan); }
.footer-bottom { text-align: center; padding-top: 2rem; border-top: 1px solid rgba(255, 255, 255, 0.06); font-size: 0.8rem; color: var(--text-muted); max-width: 900px; margin: 0 auto; }

.muted { color: var(--text-muted); }
.mono { font-family: var(--font-mono); }
.unv { color: var(--accent-amber); font-family: var(--font-mono); font-size: 0.78em; font-weight: 700; letter-spacing: 0.5px; }

/* Responsive */
@media (max-width: 992px) {
  .navbar { padding: 0.6rem var(--gutter); }
  .nav-links { width: 100%; overflow-x: auto; -webkit-overflow-scrolling: touch; padding-bottom: 2px; scrollbar-width: none; }
  .nav-links::-webkit-scrollbar { display: none; }
  .nav-links .btn-primary { padding: 0.45rem 1rem; font-size: 0.8rem; }
  html { scroll-padding-top: 120px; }
  .hero { padding-top: 10rem; }
}
@media (max-width: 850px) {
  .simulator-box { grid-template-columns: 1fr; gap: 1.6rem; padding: 1.4rem; }
  .footer-grid { grid-template-columns: 1fr; gap: 2rem; }
  .stack-layer { grid-template-columns: 120px 1fr; }
}
@media (max-width: 600px) {
  :root { --gutter: 16px; }
  .section { padding: 3.5rem var(--gutter); }
  .hero { min-height: auto; padding: 9.5rem var(--gutter) 3rem; }
  .hero-stats-grid { grid-template-columns: repeat(2, 1fr); gap: 0.7rem; }
  .stat-box { padding: 1rem 0.5rem; }
  .stat-box .val { font-size: 1.5rem; }
  .brand-text h1 { font-size: 0.85rem; }
  .brand-text p { font-size: 0.62rem; }
  .card { padding: 1.2rem; }
  .perimeter { padding: 1.3rem; }
  .sources { padding: 1.2rem 1rem 1.2rem 2.2rem; }
  .timeline { padding-left: 1.6rem; }
  .tl-item::before { left: -1.6rem; }
  .calc-big .val { font-size: 1.6rem; }
  .stack-layer { grid-template-columns: 1fr; gap: 0.4rem; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .status-dot { animation: none; }
  * { transition: none !important; }
}
