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

:root {
  --bg: #07080c;
  --bg-2: #0d1018;
  --bg-3: #131826;
  --text: #e8eaf0;
  --text-dim: #9aa0b0;
  --muted: #6a7080;
  --accent-c: #00e6c8;
  --accent-m: #ff5ac8;
  --accent-y: #f5b91a;
  --border: #1c2030;
}

html, body {
  background: var(--bg);
  color: var(--text);
  font-family: 'Inter', -apple-system, system-ui, sans-serif;
  font-weight: 400;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  scroll-behavior: smooth;
}

body {
  background:
    radial-gradient(circle at 20% 10%, rgba(0, 230, 200, 0.08), transparent 40%),
    radial-gradient(circle at 80% 60%, rgba(255, 90, 200, 0.06), transparent 45%),
    var(--bg);
  min-height: 100vh;
}

.back-link {
  position: absolute;
  top: 20px;
  left: 24px;
  color: var(--text-dim);
  text-decoration: none;
  font-size: 13px;
  z-index: 10;
  padding: 8px 14px;
  border: 1px solid var(--border);
  border-radius: 24px;
  background: rgba(13, 16, 24, 0.6);
  backdrop-filter: blur(8px);
  transition: 0.2s;
}
.back-link:hover { color: var(--text); border-color: var(--accent-c); }

/* HERO */
.hero {
  position: relative;
  padding: 130px 24px 90px;
  overflow: hidden;
  text-align: center;
  border-bottom: 1px solid var(--border);
}
.hero-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.04) 1px, transparent 1px);
  background-size: 50px 50px;
  mask-image: radial-gradient(ellipse at center, #000 30%, transparent 75%);
  pointer-events: none;
}
.hero-orb {
  position: absolute;
  width: 420px; height: 420px;
  border-radius: 50%;
  filter: blur(80px);
  pointer-events: none;
  opacity: 0.5;
}
.hero-orb-cyan { background: var(--accent-c); top: -120px; left: -100px; }
.hero-orb-pink { background: var(--accent-m); bottom: -180px; right: -120px; }
.hero-inner { position: relative; max-width: 900px; margin: 0 auto; }
.kicker {
  display: inline-block;
  font-family: 'JetBrains Mono', monospace;
  font-size: 11px;
  letter-spacing: 4px;
  text-transform: uppercase;
  color: var(--accent-c);
  border: 1px solid rgba(0, 230, 200, 0.3);
  padding: 6px 14px;
  border-radius: 24px;
  background: rgba(0, 230, 200, 0.05);
  margin-bottom: 28px;
}
.hero h1 {
  font-size: clamp(48px, 9vw, 96px);
  font-weight: 800;
  letter-spacing: -3px;
  line-height: 1;
  background: linear-gradient(180deg, #fff 0%, #888 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  margin-bottom: 16px;
}
.hero .sub {
  font-size: 17px;
  color: var(--text-dim);
  letter-spacing: 0.5px;
  margin-bottom: 36px;
}
.hero-meta {
  display: inline-flex;
  gap: 32px;
  padding: 14px 28px;
  border: 1px solid var(--border);
  border-radius: 32px;
  background: rgba(13, 16, 24, 0.6);
  backdrop-filter: blur(8px);
  font-size: 12px;
  color: var(--text-dim);
  letter-spacing: 1px;
  text-transform: uppercase;
}
.hero-meta b { color: var(--text); font-weight: 700; margin-right: 6px; }

/* TOC */
.toc {
  max-width: 1100px;
  margin: -36px auto 80px;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
  padding: 0 24px;
  position: relative;
  z-index: 5;
}
.toc.toc-6 { grid-template-columns: repeat(3, 1fr); }
@media (max-width: 900px) {
  .toc.toc-6 { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 600px) {
  .toc, .toc.toc-6 { grid-template-columns: 1fr; }
}

/* Category Sections on Hub */
.cat-section {
  max-width: 1100px;
  margin: 0 auto 40px;
  padding: 0 24px;
}
.cat-section:first-of-type { margin-top: -36px; position: relative; z-index: 5; }
.cat-title {
  font-size: 14px;
  font-weight: 600;
  color: var(--text-dim);
  font-family: 'JetBrains Mono', monospace;
  letter-spacing: 4px;
  text-transform: uppercase;
  margin: 0 0 18px 4px;
  display: flex;
  align-items: center;
  gap: 12px;
}
.cat-num {
  display: inline-flex;
  width: 26px;
  height: 26px;
  align-items: center;
  justify-content: center;
  background: var(--accent-c);
  color: var(--bg);
  border-radius: 50%;
  font-weight: 900;
  font-size: 13px;
  letter-spacing: 0;
}
.cat-section .toc { margin: 0; padding: 0; }

/* Triangle / mode cards / additional components for new tutorials */
.tri {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
  margin: 18px 0;
}
@media (max-width: 720px) { .tri { grid-template-columns: 1fr; } }
.tri-card {
  background: var(--bg-3);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 16px;
}
.tri-name {
  display: block;
  font-size: 11px;
  font-family: 'JetBrains Mono', monospace;
  color: var(--accent-c);
  letter-spacing: 2px;
  text-transform: uppercase;
  margin-bottom: 6px;
}
.tri-val {
  display: block;
  font-weight: 800;
  font-size: 17px;
  margin-bottom: 8px;
  color: var(--text);
}
.tri-card p { font-size: 13px; color: var(--text-dim); }

.modes {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
  margin: 18px 0;
}
@media (max-width: 720px) { .modes { grid-template-columns: repeat(2, 1fr); } }
.mode-card {
  background: var(--bg-3);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 14px;
  text-align: center;
}
.mode-letter {
  display: inline-flex;
  width: 36px; height: 36px;
  align-items: center;
  justify-content: center;
  background: var(--accent-c);
  color: var(--bg);
  border-radius: 50%;
  font-weight: 900;
  font-size: 18px;
  margin-bottom: 10px;
}
.mode-card b { display: block; margin-bottom: 6px; font-size: 14px; }
.mode-card p { font-size: 12px; color: var(--text-dim); margin: 0; }

.kelvin-scale {
  margin: 18px 0;
  padding: 0;
}
.kelvin-scale > div {
  height: 70px;
  border-radius: 8px;
  position: relative;
  border: 1px solid var(--border);
}
.kelvin-marks {
  position: absolute;
  inset: 0;
}
.kelvin-marks span {
  position: absolute;
  bottom: -32px;
  transform: translateX(-50%);
  font-family: 'JetBrains Mono', monospace;
  font-size: 9px;
  color: var(--text);
  text-align: center;
  line-height: 1.3;
}
.kelvin-marks span i { color: var(--text-dim); font-style: italic; }
.kelvin-scale { margin-bottom: 50px; }

.pp-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 12px;
  margin: 16px 0;
}
.pp-card {
  background: var(--bg-3);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 14px;
}
.pp-card b { display: block; font-size: 14px; margin-bottom: 4px; }
.pp-tag {
  display: inline-block;
  font-family: 'JetBrains Mono', monospace;
  font-size: 9px;
  color: var(--accent-c);
  background: rgba(0, 230, 200, 0.08);
  border: 1px solid rgba(0, 230, 200, 0.2);
  padding: 2px 6px;
  border-radius: 3px;
  letter-spacing: 1px;
  margin-bottom: 8px;
}
.pp-card p { font-size: 12px; color: var(--text-dim); line-height: 1.4; margin: 0; }

.settings-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 14px;
  margin: 16px 0;
}
.set-card {
  background: var(--bg-3);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 16px;
}
.set-card b { display: block; margin-bottom: 8px; font-size: 14px; }
.set-card p { font-size: 13px; color: var(--text-dim); margin: 0; line-height: 1.5; }
.set-card ul { padding-left: 18px; margin: 0; }
.set-card li { font-size: 13px; color: var(--text-dim); margin-bottom: 4px; }

.sensor-compare {
  display: flex;
  align-items: flex-end;
  gap: 8px;
  padding: 20px;
  background: #050505;
  border: 1px solid var(--border);
  border-radius: 10px;
  justify-content: center;
}
.sensor {
  background: linear-gradient(135deg, #2a3050, #1a1f30);
  border: 1px solid var(--accent-c);
  border-radius: 4px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 10px;
  font-family: 'JetBrains Mono', monospace;
  text-align: center;
  color: var(--text);
  font-weight: 700;
}
.sensor i { font-style: normal; font-size: 9px; color: var(--text-dim); margin-top: 4px; font-weight: 400; }
.sensor.mft  { width: 60px;  height: 46px; font-size: 10px; }
.sensor.apsc { width: 82px;  height: 54px; font-size: 11px; }
.sensor.ff   { width: 128px; height: 86px; font-size: 13px; border-color: var(--accent-m); }

.aperture-row {
  display: flex;
  gap: 16px;
  justify-content: center;
  margin: 18px 0;
  flex-wrap: wrap;
}
.ap { text-align: center; }
.ap b { display: block; font-size: 14px; margin: 6px 0 2px; }
.ap i { font-style: italic; font-size: 11px; color: var(--text-dim); }
.ap-ring {
  display: block;
  width: 64px;
  height: 64px;
  border-radius: 50%;
  margin: 0 auto;
  background: radial-gradient(circle, #1a1f2a 30%, transparent 31%), #444;
  position: relative;
}
.ap-ring.f14::before, .ap-ring.f18::before, .ap-ring.f28::before, .ap-ring.f4::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: 50%;
  background: radial-gradient(circle, #2a3a55 0%, #2a3a55 var(--ap, 70%), transparent calc(var(--ap, 70%) + 1%));
}
.ap-ring.f14::before { --ap: 14%; background: radial-gradient(circle, #5599ff 0%, #5599ff 14%, #1a1a1a 15%); }
.ap-ring.f18::before { --ap: 22%; background: radial-gradient(circle, #5599ff 0%, #5599ff 22%, #1a1a1a 23%); }
.ap-ring.f28::before { --ap: 32%; background: radial-gradient(circle, #5599ff 0%, #5599ff 32%, #1a1a1a 33%); }
.ap-ring.f4::before  { --ap: 42%; background: radial-gradient(circle, #5599ff 0%, #5599ff 42%, #1a1a1a 43%); }

.iso-ladder {
  margin: 18px 0;
  display: flex;
  flex-direction: column;
  gap: 4px;
  border: 1px solid var(--border);
  border-radius: 10px;
  overflow: hidden;
}
.iso-step {
  padding: 10px 16px;
  font-family: 'JetBrains Mono', monospace;
  font-weight: 700;
  font-size: 13px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.iso-step span { font-weight: 400; opacity: 0.85; font-size: 11.5px; }
.iso-step.ok   { background: rgba(0, 230, 200, 0.08); color: var(--accent-c); }
.iso-step.mid  { background: rgba(245, 185, 26, 0.08); color: var(--accent-y); }
.iso-step.warn { background: rgba(255, 90, 200, 0.08); color: var(--accent-m); }

.scenarios {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 14px;
  margin: 16px 0;
}
.scn {
  background: var(--bg-3);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 16px;
}
.scn h4 {
  font-size: 14px;
  margin-bottom: 10px;
  padding-bottom: 8px;
  border-bottom: 1px solid var(--border);
  color: var(--accent-c);
}
.scn ul { padding-left: 16px; }
.scn li { font-size: 12.5px; color: var(--text-dim); margin-bottom: 4px; }

.step h4 {
  font-size: 15px;
  margin: 10px 0 8px;
  color: var(--accent-c);
}
.toc-card {
  display: block;
  padding: 28px 28px;
  border: 1px solid var(--border);
  border-radius: 14px;
  background: var(--bg-2);
  text-decoration: none;
  color: inherit;
  transition: 0.3s;
  position: relative;
  overflow: hidden;
}
.toc-card::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(0,230,200,0.05), rgba(255,90,200,0.05));
  opacity: 0;
  transition: 0.3s;
}
.toc-card:hover { transform: translateY(-3px); border-color: var(--accent-c); }
.toc-card:hover::before { opacity: 1; }
.toc-card > * { position: relative; }
.toc-num {
  display: block;
  font-family: 'JetBrains Mono', monospace;
  font-size: 13px;
  color: var(--accent-c);
  margin-bottom: 10px;
  letter-spacing: 2px;
}
.toc-title {
  display: block;
  font-size: 28px;
  font-weight: 700;
  letter-spacing: -1px;
  margin-bottom: 8px;
}
.toc-desc { font-size: 14px; color: var(--text-dim); margin-bottom: 14px; line-height: 1.5; }
.toc-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  position: relative;
}
.toc-tag {
  display: inline-block;
  font-family: 'JetBrains Mono', monospace;
  font-size: 9px;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  padding: 3px 8px;
  border-radius: 3px;
  background: rgba(0, 230, 200, 0.08);
  border: 1px solid rgba(0, 230, 200, 0.18);
  color: var(--accent-c);
}
.toc-card .toc-tag:nth-child(2) {
  background: rgba(255, 90, 200, 0.06);
  border-color: rgba(255, 90, 200, 0.18);
  color: var(--accent-m);
}
.toc-card .toc-tag:nth-child(3) {
  background: rgba(245, 185, 26, 0.06);
  border-color: rgba(245, 185, 26, 0.18);
  color: var(--accent-y);
}
.toc-card.reveal { opacity: 0; transform: translateY(15px); transition: 0.5s; }
.toc-card.reveal.visible { opacity: 1; transform: translateY(0); }

/* TUTORIAL SECTIONS */
.tutorial {
  max-width: 980px;
  margin: 0 auto 100px;
  padding: 0 24px;
}
.tut-head {
  padding: 60px 0 50px;
  border-bottom: 1px solid var(--border);
  margin-bottom: 60px;
}
.tut-num {
  font-family: 'JetBrains Mono', monospace;
  font-size: 14px;
  color: var(--accent-c);
  letter-spacing: 3px;
  margin-bottom: 16px;
}
.tut-head h2 {
  font-size: clamp(34px, 5vw, 52px);
  font-weight: 800;
  letter-spacing: -2px;
  line-height: 1.05;
  margin-bottom: 18px;
}
.accent-c { color: var(--accent-c); }
.accent-m { color: var(--accent-m); }
.tut-lead {
  font-size: 17px;
  color: var(--text-dim);
  max-width: 720px;
  line-height: 1.6;
}

/* STEP */
.step {
  margin-bottom: 56px;
  padding: 36px;
  background: var(--bg-2);
  border: 1px solid var(--border);
  border-radius: 16px;
  transition: 0.4s;
}
.step.reveal {
  opacity: 0;
  transform: translateY(20px);
}
.step.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}
.step header {
  display: flex;
  align-items: baseline;
  gap: 18px;
  margin-bottom: 22px;
  padding-bottom: 18px;
  border-bottom: 1px solid var(--border);
}
.step-num {
  font-family: 'JetBrains Mono', monospace;
  color: var(--accent-c);
  font-size: 13px;
  font-weight: 700;
  padding: 4px 10px;
  border: 1px solid rgba(0, 230, 200, 0.3);
  border-radius: 4px;
  background: rgba(0, 230, 200, 0.05);
  letter-spacing: 1px;
  flex-shrink: 0;
}
.step h3 {
  font-size: 24px;
  font-weight: 700;
  letter-spacing: -0.5px;
}
.step p, .step ul, .step ol { margin-bottom: 14px; color: var(--text); }
.step ul, .step ol { padding-left: 22px; }
.step li { margin-bottom: 6px; line-height: 1.6; }
.step b { color: var(--text); font-weight: 700; }

.muted { color: var(--muted); font-size: 0.92em; }
.callout {
  margin-top: 16px;
  padding: 14px 18px;
  border-left: 3px solid var(--accent-y);
  background: rgba(245, 185, 26, 0.06);
  border-radius: 0 8px 8px 0;
  color: var(--text-dim);
  font-size: 14.5px;
}
.callout b { color: var(--accent-y); }

.numlist { counter-reset: ll; padding-left: 0; list-style: none; }
.numlist li {
  counter-increment: ll;
  padding-left: 36px;
  position: relative;
  margin-bottom: 10px;
}
.numlist li::before {
  content: counter(ll, decimal-leading-zero);
  position: absolute;
  left: 0;
  top: 0;
  font-family: 'JetBrains Mono', monospace;
  color: var(--accent-c);
  font-weight: 700;
  font-size: 12px;
}

.checklist { list-style: none; padding-left: 0; }
.checklist li {
  padding: 12px 14px 12px 36px;
  position: relative;
  border-bottom: 1px solid var(--border);
  line-height: 1.55;
}
.checklist li::before {
  content: '✓';
  position: absolute;
  left: 10px;
  top: 12px;
  color: var(--accent-c);
  font-weight: 800;
  font-size: 14px;
}
.checklist li:last-child { border-bottom: 0; }

kbd {
  display: inline-block;
  padding: 1px 7px;
  border: 1px solid var(--border);
  border-bottom: 2px solid var(--border);
  border-radius: 4px;
  background: var(--bg-3);
  font-family: 'JetBrains Mono', monospace;
  font-size: 12px;
  font-weight: 600;
  color: var(--text);
}
code {
  padding: 2px 7px;
  background: var(--bg-3);
  border: 1px solid var(--border);
  border-radius: 4px;
  font-family: 'JetBrains Mono', monospace;
  font-size: 13px;
  color: var(--accent-c);
}

/* Step grid (text + figure) */
.step-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
  align-items: start;
}
@media (max-width: 720px) {
  .step-grid { grid-template-columns: 1fr; }
}

/* Scope figures */
.scope-fig {
  background: #050505;
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 12px;
  text-align: center;
}
.scope-fig svg { width: 100%; height: auto; display: block; border-radius: 6px; }
.scope-fig figcaption {
  margin-top: 10px;
  font-size: 12px;
  color: var(--muted);
  font-family: 'JetBrains Mono', monospace;
  letter-spacing: 0.5px;
}

/* Histogram fill animation */
.hist-fill {
  animation: histPulse 4s ease-in-out infinite;
  transform-origin: bottom;
}
@keyframes histPulse {
  0%, 100% { transform: scaleY(1); }
  50% { transform: scaleY(0.96); }
}

/* Panel mock (sliders) */
.panel-mock {
  margin-top: 18px;
  padding: 18px 22px;
  background: var(--bg-3);
  border: 1px solid var(--border);
  border-radius: 10px;
  font-family: 'JetBrains Mono', monospace;
  font-size: 12px;
}
.panel-row {
  display: grid;
  grid-template-columns: 100px 1fr 60px;
  align-items: center;
  gap: 14px;
  padding: 6px 0;
}
.panel-row.sep { border-top: 1px solid var(--border); margin-top: 6px; padding-top: 12px; }
.panel-label { color: var(--text-dim); }
.panel-val { text-align: right; color: var(--accent-c); font-weight: 700; }
.panel-slider {
  position: relative;
  height: 2px;
  background: #2a2e3a;
  border-radius: 2px;
}
.panel-fill {
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  background: linear-gradient(90deg, var(--accent-c), var(--accent-c));
  border-radius: 2px;
  opacity: 0.5;
}
.panel-knob {
  position: absolute;
  top: 50%;
  transform: translate(-50%, -50%);
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--text);
  box-shadow: 0 0 6px rgba(0, 230, 200, 0.5);
}

/* HSL hue wheel */
.hsl-wheel {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 8px;
  padding: 16px;
  background: #050505;
  border-radius: 12px;
  border: 1px solid var(--border);
}
.hue {
  aspect-ratio: 1;
  border-radius: 50%;
  position: relative;
  cursor: pointer;
  transition: 0.2s;
}
.hue::after {
  content: '';
  position: absolute;
  inset: 30%;
  border-radius: 50%;
  background: #0a0a0a;
}
.hue:hover { transform: scale(1.1); }
.red     { background: radial-gradient(circle at 35% 35%, #ff8080, #cc1010); }
.orange  { background: radial-gradient(circle at 35% 35%, #ffcc88, #cc7010); }
.yellow  { background: radial-gradient(circle at 35% 35%, #ffee88, #cccc20); }
.green   { background: radial-gradient(circle at 35% 35%, #88ff88, #209030); }
.aqua    { background: radial-gradient(circle at 35% 35%, #88ffee, #20aacc); }
.blue    { background: radial-gradient(circle at 35% 35%, #88aaff, #2040cc); }
.purple  { background: radial-gradient(circle at 35% 35%, #cc88ff, #6020cc); }
.magenta { background: radial-gradient(circle at 35% 35%, #ff88dd, #cc2080); }

/* Color wheels (cinema) */
.wheels {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  margin: 24px 0;
}
.wheels.four { grid-template-columns: repeat(4, 1fr); }
@media (max-width: 720px) {
  .wheels, .wheels.four { grid-template-columns: repeat(2, 1fr); }
}
.wheel-card {
  background: var(--bg-3);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 18px;
  text-align: center;
}
.wheel {
  width: 96px;
  height: 96px;
  border-radius: 50%;
  margin: 0 auto 14px;
  position: relative;
  background:
    conic-gradient(
      from 0deg,
      #ff3030 0deg,
      #ff8030 30deg,
      #ffdd30 60deg,
      #80dd30 90deg,
      #30dd80 120deg,
      #30ddee 150deg,
      #3080ee 180deg,
      #3030ee 210deg,
      #8030ee 240deg,
      #ee30ee 270deg,
      #ee3080 300deg,
      #ee3030 330deg,
      #ff3030 360deg
    );
  box-shadow: 0 0 0 1px var(--border), inset 0 0 24px rgba(0,0,0,0.5);
}
.wheel::before {
  content: '';
  position: absolute;
  inset: 6px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255,255,255,0.15) 0%, rgba(0,0,0,0.6) 80%);
}
.wheel::after {
  content: '';
  position: absolute;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #fff;
  box-shadow: 0 0 8px rgba(255,255,255,0.8);
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}
.shadows-orange::after  { transform: translate(-180%, 100%); background: #ffa060; }
.mids-warm::after       { transform: translate(-30%, 0%); }
.mids-neutral::after    { transform: translate(-50%, -50%); }
.highlights-warm::after { transform: translate(180%, -100%); background: #ffc080; }
.shadows-cool::after    { transform: translate(-200%, 0%); background: #5599ff; }
.offset-neutral::after  { transform: translate(-50%, -50%); }
.wheel-label {
  font-weight: 800;
  font-size: 16px;
  letter-spacing: -0.3px;
  margin-bottom: 6px;
}
.wheel-hint {
  font-size: 12px;
  color: var(--text-dim);
  font-family: 'JetBrains Mono', monospace;
}

/* Nodes */
.nodes {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 20px 0;
  align-items: center;
  justify-content: space-between;
}
.node {
  flex: 1;
  min-width: 130px;
  background: var(--bg-3);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 12px;
  position: relative;
  transition: 0.2s;
}
.node:hover { border-color: var(--accent-c); transform: translateY(-2px); }
.node-n {
  display: block;
  font-family: 'JetBrains Mono', monospace;
  font-size: 10px;
  color: var(--accent-c);
  letter-spacing: 2px;
  margin-bottom: 4px;
}
.node-name {
  display: block;
  font-weight: 700;
  font-size: 14px;
  margin-bottom: 2px;
}
.node-desc {
  display: block;
  font-size: 11px;
  color: var(--text-dim);
  line-height: 1.4;
}
.node-arrow {
  color: var(--muted);
  font-size: 16px;
  user-select: none;
}
@media (max-width: 720px) {
  .nodes { flex-direction: column; align-items: stretch; }
  .node-arrow { transform: rotate(90deg); text-align: center; }
}

/* Footer */
.ftr {
  text-align: center;
  padding: 60px 24px;
  border-top: 1px solid var(--border);
  color: var(--text-dim);
  font-size: 13px;
}
.ftr p { margin-bottom: 16px; }
.ftr .back-link { position: static; display: inline-block; }
