/* =========================================================
   Dynamo — Design System
   Palette: Obsidian base · Volt (electric lime) primary · Signal cyan secondary
   Type: Geist (UI) · Geist Mono (code/telemetry) · Instrument Serif italic (emphasis)
   ========================================================= */
:root {
  --bg: #0A0B0D;
  --bg-2: #0F1114;
  --surface: #13161A;
  --surface-2: #181C21;
  --line: rgba(255,255,255,0.08);
  --line-2: rgba(255,255,255,0.14);
  --text: #EDEFF2;
  --text-2: #A3A9B3;
  --text-3: #6B727D;
  --volt: #C8FF3D;
  --volt-dim: rgba(200,255,61,0.14);
  --cyan: #4FD8FF;
  --red: #FF5C5C;
  --amber: #FFB547;
  --radius: 14px;
  --radius-lg: 20px;
  --font: 'Geist', ui-sans-serif, system-ui, -apple-system, sans-serif;
  --mono: 'Geist Mono', ui-monospace, SFMono-Regular, Menlo, monospace;
  --serif: 'Instrument Serif', Georgia, serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 80px; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
a { color: inherit; text-decoration: none; }
code { font-family: var(--mono); font-size: 0.88em; }
p code, li code, td code, summary code {
  background: rgba(255,255,255,0.06);
  border: 1px solid var(--line);
  padding: 1px 6px;
  border-radius: 6px;
  color: var(--text);
}
em { font-family: var(--serif); font-style: italic; font-weight: 400; }
h1, h2, h3, h4 { margin: 0; letter-spacing: -0.02em; }
::selection { background: var(--volt); color: #000; }

.container { width: 100%; max-width: 1200px; margin: 0 auto; padding: 0 24px; }
.container.narrow { max-width: 860px; }

/* Backgrounds */
.bg-grid {
  position: fixed; inset: 0; z-index: -2; pointer-events: none;
  background-image:
    linear-gradient(rgba(255,255,255,0.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.025) 1px, transparent 1px);
  background-size: 56px 56px;
  mask-image: radial-gradient(ellipse 80% 60% at 50% 0%, #000 30%, transparent 75%);
}
.bg-glow {
  position: absolute; top: -260px; left: 50%; transform: translateX(-50%);
  width: 1200px; height: 700px; z-index: -1; pointer-events: none;
  background: radial-gradient(closest-side, rgba(200,255,61,0.13), transparent 70%),
              radial-gradient(closest-side at 70% 60%, rgba(79,216,255,0.10), transparent 70%);
  filter: blur(20px);
}

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  font-family: var(--font); font-weight: 500; font-size: 15px;
  padding: 11px 18px; border-radius: 10px; border: 1px solid transparent;
  cursor: pointer; transition: transform .15s, background .2s, border-color .2s, box-shadow .2s;
  white-space: nowrap;
}
.btn-sm { padding: 8px 14px; font-size: 14px; }
.btn-lg { padding: 14px 22px; font-size: 15.5px; }
.btn-block { width: 100%; }
.btn-primary { background: var(--volt); color: #0A0B0D; box-shadow: 0 0 0 0 rgba(200,255,61,0.4); }
.btn-primary:hover { transform: translateY(-1px); box-shadow: 0 8px 30px -6px rgba(200,255,61,0.5); }
.btn-ghost { background: rgba(255,255,255,0.04); border-color: var(--line-2); color: var(--text); }
.btn-ghost:hover { background: rgba(255,255,255,0.08); }
.btn:focus-visible, a:focus-visible, button:focus-visible, input:focus-visible, select:focus-visible, textarea:focus-visible, summary:focus-visible {
  outline: 2px solid var(--volt); outline-offset: 2px;
}

/* ================= NAV ================= */
.site-header {
  position: sticky; top: 0; z-index: 50;
  backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
  background: rgba(10,11,13,0.7);
  border-bottom: 1px solid transparent;
  transition: border-color .2s;
}
.site-header.scrolled { border-bottom-color: var(--line); }
.nav { display: flex; align-items: center; gap: 32px; height: 66px; }
.brand { display: inline-flex; align-items: center; gap: 10px; color: var(--volt); }
.brand-name { font-weight: 600; font-size: 18px; color: var(--text); letter-spacing: -0.02em; }
.nav-links { display: flex; gap: 26px; list-style: none; margin: 0; padding: 0; flex: 1; }
.nav-links a { color: var(--text-2); font-size: 14.5px; transition: color .15s; }
.nav-links a:hover { color: var(--text); }
.nav-cta { display: flex; gap: 10px; }
.nav-toggle { display: none; background: none; border: 1px solid var(--line-2); color: var(--text); border-radius: 8px; width: 40px; height: 40px; cursor: pointer; margin-left: auto; }

/* ================= HERO ================= */
.hero {
  display: grid; grid-template-columns: 1.02fr 1fr; gap: 56px; align-items: center;
  padding-top: 72px; padding-bottom: 72px;
}
.pill {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: var(--mono); font-size: 12.5px; color: var(--text-2);
  padding: 6px 12px; border: 1px solid var(--line-2); border-radius: 999px;
  background: rgba(255,255,255,0.03); transition: border-color .2s;
}
.pill:hover { border-color: var(--volt); color: var(--text); }
.pill i { font-size: 10px; }
.pill-dot { width: 7px; height: 7px; border-radius: 50%; background: var(--volt); box-shadow: 0 0 10px var(--volt); }
.hero-title {
  font-size: clamp(40px, 5.6vw, 68px); line-height: 1.02; font-weight: 600;
  letter-spacing: -0.045em; margin: 22px 0 22px;
}
.hero-title em { color: var(--volt); font-size: 1.08em; letter-spacing: -0.02em; }
.hero-sub { color: var(--text-2); font-size: 18px; max-width: 560px; margin: 0 0 30px; }
.hero-sub strong { color: var(--text); font-weight: 500; }
.hl { color: var(--text); border-bottom: 1px dashed rgba(200,255,61,0.5); }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }
.install-cmd {
  display: inline-flex; align-items: center; gap: 12px;
  background: var(--surface); border: 1px solid var(--line-2); color: var(--text);
  padding: 13px 16px; border-radius: 10px; cursor: pointer; font-size: 14.5px;
  transition: border-color .2s;
}
.install-cmd:hover { border-color: var(--volt); }
.install-cmd .prompt { color: var(--volt); font-family: var(--mono); }
.install-cmd .copy-icon { color: var(--text-3); }
.hero-proof { display: flex; flex-wrap: wrap; gap: 20px; list-style: none; padding: 0; margin: 28px 0 0; color: var(--text-3); font-size: 14px; }
.hero-proof i { color: var(--volt); margin-right: 6px; font-size: 12px; }

/* Hero visual window */
.hero-visual { position: relative; }
.window {
  background: var(--surface); border: 1px solid var(--line-2); border-radius: var(--radius-lg);
  overflow: hidden; box-shadow: 0 40px 80px -30px rgba(0,0,0,0.8), 0 0 0 1px rgba(200,255,61,0.04);
}
.window-bar { display: flex; align-items: center; gap: 7px; padding: 12px 14px; border-bottom: 1px solid var(--line); background: var(--bg-2); }
.dot { width: 10px; height: 10px; border-radius: 50%; background: #2a2e34; }
.window-title { font-family: var(--mono); font-size: 12px; color: var(--text-3); margin-left: 10px; flex: 1; overflow: hidden; white-space: nowrap; text-overflow: ellipsis; }
.rec { font-family: var(--mono); font-size: 11.5px; color: var(--red); display: inline-flex; align-items: center; gap: 6px; padding: 3px 8px; border: 1px solid rgba(255,92,92,0.3); border-radius: 6px; }
.rec-dot { width: 7px; height: 7px; border-radius: 50%; background: var(--red); animation: blink 1.2s infinite; }
@keyframes blink { 50% { opacity: .25; } }

.screen { position: relative; aspect-ratio: 16 / 9; background: #0d0f12; overflow: hidden; }
.fake-app { position: absolute; inset: 0; display: flex; }
.fake-side { width: 14%; border-right: 1px solid var(--line); padding: 14px 10px; display: flex; flex-direction: column; gap: 10px; }
.fake-side span { height: 8px; border-radius: 4px; background: rgba(255,255,255,0.07); }
.fake-side span.on { background: rgba(200,255,61,0.35); }
.fake-main { flex: 1; padding: 18px; display: flex; flex-direction: column; gap: 10px; }
.fake-row { height: 9px; border-radius: 5px; background: rgba(255,255,255,0.07); }
.w40 { width: 40%; } .w50 { width: 50%; } .w60 { width: 60%; } .w80 { width: 80%; }
.fake-cards { display: grid; grid-template-columns: repeat(3,1fr); gap: 10px; margin: 6px 0; }
.fake-card { height: 62px; border-radius: 8px; background: rgba(255,255,255,0.04); border: 1px solid var(--line); transition: background .3s, border-color .3s; }
.fake-card.active { background: rgba(79,216,255,0.08); border-color: rgba(79,216,255,0.4); }
.fake-btn { align-self: flex-start; font-size: 11px; font-weight: 600; padding: 6px 14px; border-radius: 6px; background: rgba(255,255,255,0.08); color: var(--text-2); transition: all .25s; }
.fake-btn.pressed { background: var(--volt); color: #000; transform: scale(.96); }

.cursor { position: absolute; top: 30%; left: 60%; color: #fff; font-size: 18px; z-index: 3; transition: top .9s cubic-bezier(.6,.05,.3,1), left .9s cubic-bezier(.6,.05,.3,1); filter: drop-shadow(0 2px 4px rgba(0,0,0,.6)); pointer-events: none; }
.ring-layer { position: absolute; inset: 0; pointer-events: none; z-index: 2; }
.click-ring {
  position: absolute; width: 14px; height: 14px; margin: -7px 0 0 -7px; border-radius: 50%;
  border: 2px solid var(--volt); animation: ring 0.9s ease-out forwards;
}
.click-ring::after { content: ''; position: absolute; inset: 3px; border-radius: 50%; background: var(--volt); }
@keyframes ring { 0% { transform: scale(.6); opacity: 1; } 100% { transform: scale(4.5); opacity: 0; } }

.telemetry { font-family: var(--mono); font-size: 12px; padding: 12px 14px; border-top: 1px solid var(--line); background: var(--bg-2); height: 104px; overflow: hidden; display: flex; flex-direction: column; justify-content: flex-end; gap: 3px; }
.tel-line { color: var(--text-2); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; animation: fadeUp .3s ease; }
.tel-line .k { color: var(--cyan); } .tel-line .v { color: var(--volt); } .tel-line .n { color: var(--amber); }
.tel-line.muted { color: var(--text-3); }
@keyframes fadeUp { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: none; } }

.keyframe-strip { margin-top: 14px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 12px 14px; }
.kf-label { display: flex; justify-content: space-between; font-family: var(--mono); font-size: 11.5px; color: var(--text-3); margin-bottom: 10px; }
.kf-label span:first-child { color: var(--volt); }
.kf-track { display: flex; gap: 6px; height: 40px; overflow: hidden; }
.kf {
  flex: 0 0 auto; width: 64px; height: 40px; border-radius: 5px; border: 1px solid var(--line-2);
  background: linear-gradient(135deg, #1a1e24, #101318); position: relative; animation: fadeUp .35s ease;
}
.kf::before { content: ''; position: absolute; left: 6px; right: 20px; top: 8px; height: 3px; border-radius: 2px; background: rgba(255,255,255,.15); box-shadow: 0 7px 0 rgba(255,255,255,.08), 0 14px 0 rgba(255,255,255,.08); }
.kf span { position: absolute; bottom: 2px; right: 4px; font-family: var(--mono); font-size: 9px; color: var(--text-3); }
.kf.action { border-color: rgba(200,255,61,0.6); }
.kf.action span { color: var(--volt); }

/* ================= COMPAT ================= */
.compat { padding-bottom: 40px; }
.eyebrow { font-family: var(--mono); font-size: 12.5px; text-transform: uppercase; letter-spacing: 0.14em; color: var(--volt); margin: 0 0 16px; }
.eyebrow.center { text-align: center; color: var(--text-3); }
.compat-list { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px 36px; list-style: none; padding: 0; margin: 0; color: var(--text-2); font-size: 15px; }
.compat-list li { display: flex; align-items: center; gap: 8px; opacity: .8; }
.compat-list i { font-size: 18px; }

/* ================= SECTIONS ================= */
.section { padding-top: 110px; padding-bottom: 20px; }
.section-head { max-width: 760px; margin-bottom: 52px; }
.section-title { font-size: clamp(30px, 3.8vw, 46px); line-height: 1.08; font-weight: 600; letter-spacing: -0.035em; }
.section-title em { color: var(--volt); }
.section-sub { color: var(--text-2); font-size: 17.5px; margin: 18px 0 0; max-width: 640px; }

/* Problem */
.problem-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: var(--radius-lg); overflow: hidden; }
.problem-card { background: var(--bg); padding: 32px 28px; }
.problem-num { font-family: var(--mono); font-size: 13px; color: var(--red); }
.problem-card h3 { font-size: 19px; font-weight: 600; margin: 14px 0 10px; }
.problem-card p { color: var(--text-2); margin: 0; font-size: 15px; }

/* Pipeline */
.pipeline { position: relative; display: grid; grid-template-columns: repeat(5,1fr); gap: 14px; }
.pipeline-rail { position: absolute; top: 42px; left: 4%; right: 4%; height: 1px; background: linear-gradient(90deg, transparent, var(--line-2), transparent); z-index: 0; overflow: hidden; }
.pipeline-rail .pulse { position: absolute; top: 0; left: -20%; width: 20%; height: 1px; background: linear-gradient(90deg, transparent, var(--volt), transparent); animation: rail 3.5s linear infinite; }
@keyframes rail { to { left: 100%; } }
.module-card {
  position: relative; z-index: 1;
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 22px 18px; display: flex; flex-direction: column; transition: border-color .25s, transform .25s;
}
.module-card:hover { border-color: rgba(200,255,61,0.4); transform: translateY(-3px); }
.module-card::before { content: attr(data-step); position: absolute; top: 14px; right: 16px; font-family: var(--mono); font-size: 11px; color: var(--text-3); }
.module-card header { display: flex; flex-direction: column; gap: 14px; margin-bottom: 14px; }
.module-icon { width: 42px; height: 42px; border-radius: 10px; display: grid; place-items: center; background: var(--volt-dim); color: var(--volt); border: 1px solid rgba(200,255,61,0.25); }
.module-file { font-size: 12.5px; color: var(--cyan); }
.module-card h3 { font-size: 16.5px; font-weight: 600; margin-bottom: 8px; }
.module-card p { color: var(--text-2); font-size: 14px; margin: 0 0 16px; flex: 1; }
.module-card p code { font-size: 12px; }
.module-specs { list-style: none; padding: 12px 0 0; margin: 0; border-top: 1px dashed var(--line-2); display: grid; gap: 6px; }
.module-specs li { display: flex; justify-content: space-between; gap: 8px; font-family: var(--mono); font-size: 11.5px; }
.module-specs span { color: var(--text-3); }
.module-specs b { color: var(--text); font-weight: 500; text-align: right; }

/* SDK */
.sdk-layout { display: grid; grid-template-columns: 0.85fr 1.15fr; gap: 56px; align-items: center; }
.dx-list { list-style: none; padding: 0; margin: 34px 0 0; display: grid; gap: 22px; }
.dx-list li { display: flex; gap: 16px; }
.dx-list i { color: var(--volt); margin-top: 5px; width: 18px; }
.dx-list b { display: block; font-weight: 600; margin-bottom: 2px; }
.dx-list span { color: var(--text-2); font-size: 15px; }
.code-window { background: #0C0E11; border: 1px solid var(--line-2); border-radius: var(--radius-lg); overflow: hidden; box-shadow: 0 30px 70px -30px rgba(0,0,0,.8); min-width: 0; }
.code-tabs { display: flex; align-items: center; gap: 2px; padding: 8px; border-bottom: 1px solid var(--line); background: var(--bg-2); overflow-x: auto; }
.code-tab { background: none; border: 0; color: var(--text-3); font-family: var(--mono); font-size: 12.5px; padding: 7px 12px; border-radius: 7px; cursor: pointer; white-space: nowrap; }
.code-tab:hover { color: var(--text); }
.code-tab.active { background: rgba(255,255,255,0.07); color: var(--text); }
.code-copy { margin-left: auto; background: none; border: 0; color: var(--text-3); cursor: pointer; padding: 7px 10px; border-radius: 7px; }
.code-copy:hover { color: var(--volt); }
.code-panel { display: none; margin: 0; padding: 22px 24px; font-family: var(--mono); font-size: 13.5px; line-height: 1.75; color: #D6DAE0; overflow-x: auto; min-height: 420px; }
.code-panel.active { display: block; }
.code-panel code { font-size: inherit; }
.tk-k { color: #FF7AB6; } .tk-c { color: var(--cyan); } .tk-s { color: var(--volt); } .tk-n { color: var(--amber); }
.tk-f { color: #B79CFF; } .tk-cm { color: #5C6370; font-style: italic; } .tk-p { color: var(--text-3); } .tk-ok { color: var(--volt); }

/* Calculator */
.calc { display: grid; grid-template-columns: 1fr 1.1fr; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-lg); overflow: hidden; }
.calc-controls { padding: 34px; display: grid; gap: 24px; border-right: 1px solid var(--line); }
.ctl { display: grid; gap: 10px; }
.ctl-head { display: flex; justify-content: space-between; font-size: 14.5px; color: var(--text-2); }
.ctl-head output { font-family: var(--mono); color: var(--text); font-size: 13.5px; }
input[type=range] { -webkit-appearance: none; appearance: none; width: 100%; height: 4px; border-radius: 4px; background: var(--line-2); outline: none; }
input[type=range]::-webkit-slider-thumb { -webkit-appearance: none; width: 18px; height: 18px; border-radius: 50%; background: var(--volt); cursor: pointer; border: 3px solid var(--bg); box-shadow: 0 0 0 1px var(--volt); }
input[type=range]::-moz-range-thumb { width: 14px; height: 14px; border-radius: 50%; background: var(--volt); cursor: pointer; border: 3px solid var(--bg); }
.calc-note { font-size: 12.5px; color: var(--text-3); margin: 0; }
.calc-results { padding: 34px; display: flex; flex-direction: column; justify-content: center; gap: 30px; background: radial-gradient(ellipse at 80% 20%, rgba(200,255,61,0.06), transparent 60%); }
.result-row { display: flex; align-items: center; gap: 18px; }
.result { flex: 1; background: var(--bg-2); border: 1px solid var(--line); border-radius: var(--radius); padding: 18px; display: grid; gap: 4px; }
.result.accent { border-color: rgba(200,255,61,0.4); }
.result-label { font-family: var(--mono); font-size: 11.5px; color: var(--text-3); text-transform: uppercase; letter-spacing: .1em; }
.result-value { font-size: 34px; font-weight: 600; letter-spacing: -0.03em; font-variant-numeric: tabular-nums; }
.result.accent .result-value { color: var(--volt); }
.result-sub { font-family: var(--mono); font-size: 12.5px; color: var(--text-2); }
.result-arrow { color: var(--text-3); }
.bar-compare { display: grid; gap: 10px; }
.bar-row { display: grid; grid-template-columns: 64px 1fr; align-items: center; gap: 12px; font-family: var(--mono); font-size: 12px; color: var(--text-3); }
.bar { height: 10px; background: rgba(255,255,255,0.04); border-radius: 6px; overflow: hidden; }
.bar i { display: block; height: 100%; background: var(--text-3); border-radius: 6px; transition: width .4s ease; }
.bar i.volt { background: var(--volt); box-shadow: 0 0 12px var(--volt); min-width: 4px; }
.reduction { display: flex; align-items: baseline; gap: 16px; flex-wrap: wrap; }
.reduction span { font-family: var(--serif); font-style: italic; font-size: 72px; line-height: 1; color: var(--volt); }
.reduction p { margin: 0; color: var(--text-2); max-width: 260px; font-size: 15px; }

/* Artifacts */
.artifact-grid { display: grid; grid-template-columns: repeat(4,1fr); gap: 14px; }
.artifact-card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; transition: border-color .2s; min-width: 0; }
.artifact-card:hover { border-color: var(--line-2); }
.artifact-top { display: flex; align-items: center; gap: 10px; margin-bottom: 22px; }
.artifact-top i { color: var(--cyan); font-size: 18px; }
.artifact-top code { font-size: 13px; color: var(--text-2); }
.artifact-card h3 { font-size: 17px; font-weight: 600; margin-bottom: 8px; }
.artifact-card p { color: var(--text-2); font-size: 14.5px; margin: 0; }
.mini-code { margin: 14px 0 0; padding: 10px; background: var(--bg-2); border: 1px solid var(--line); border-radius: 8px; font-size: 11px; color: var(--volt); overflow-x: auto; white-space: pre; }

/* Compare table */
.table-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: var(--radius-lg); }
.compare-table { width: 100%; border-collapse: collapse; min-width: 640px; }
.compare-table th, .compare-table td { padding: 16px 22px; text-align: center; border-bottom: 1px solid var(--line); font-size: 15px; }
.compare-table th:first-child, .compare-table td:first-child { text-align: left; color: var(--text); }
.compare-table thead th { font-family: var(--mono); font-size: 12px; text-transform: uppercase; letter-spacing: .1em; color: var(--text-3); font-weight: 500; background: var(--bg-2); }
.compare-table tbody tr:last-child td { border-bottom: 0; }
.compare-table .col-dynamo { background: rgba(200,255,61,0.05); }
.compare-table thead .col-dynamo { color: var(--volt); }
.yes { color: var(--volt); } .no { color: #4a4f57; } .mid { color: var(--amber); }

/* Enterprise */
.enterprise { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: 56px; background: linear-gradient(180deg, var(--surface), var(--bg-2)); border: 1px solid var(--line); border-radius: 24px; padding: 56px; position: relative; overflow: hidden; }
.enterprise::before { content: ''; position: absolute; top: -200px; right: -200px; width: 500px; height: 500px; background: radial-gradient(closest-side, rgba(79,216,255,0.10), transparent); pointer-events: none; }
.enterprise-copy .btn { margin-top: 30px; }
.enterprise-grid { display: grid; grid-template-columns: repeat(2,1fr); gap: 28px 32px; position: relative; }
.ent-item i { color: var(--volt); font-size: 18px; margin-bottom: 12px; }
.ent-item h3 { font-size: 16px; font-weight: 600; margin-bottom: 6px; }
.ent-item p { margin: 0; color: var(--text-2); font-size: 14.5px; }

/* FAQ */
.faq-list { border-top: 1px solid var(--line); }
.faq-item { border-bottom: 1px solid var(--line); }
.faq-item summary { list-style: none; cursor: pointer; padding: 22px 40px 22px 0; font-size: 17.5px; font-weight: 500; position: relative; }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after { content: '+'; position: absolute; right: 4px; top: 50%; transform: translateY(-50%); font-family: var(--mono); color: var(--volt); font-size: 22px; transition: transform .2s; }
.faq-item[open] summary::after { transform: translateY(-50%) rotate(45deg); }
.faq-item p { color: var(--text-2); margin: 0 0 24px; max-width: 720px; }

/* Demo form */
.demo { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: 56px; align-items: start; padding-bottom: 100px; }
.demo-points { list-style: none; padding: 0; margin: 30px 0 0; display: grid; gap: 12px; color: var(--text-2); }
.demo-points i { color: var(--volt); margin-right: 10px; }
.demo-form { background: var(--surface); border: 1px solid var(--line-2); border-radius: var(--radius-lg); padding: 30px; display: grid; gap: 16px; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.field { display: grid; gap: 7px; font-size: 13.5px; color: var(--text-2); }
.field em { font-family: var(--font); font-style: normal; color: var(--text-3); }
.field input, .field select, .field textarea {
  font-family: var(--font); font-size: 15px; color: var(--text);
  background: var(--bg-2); border: 1px solid var(--line-2); border-radius: 9px; padding: 11px 13px;
  transition: border-color .2s; width: 100%;
}
.field textarea { resize: vertical; }
.field select { appearance: none; background-image: linear-gradient(45deg, transparent 50%, var(--text-3) 50%), linear-gradient(135deg, var(--text-3) 50%, transparent 50%); background-position: calc(100% - 18px) 50%, calc(100% - 13px) 50%; background-size: 5px 5px; background-repeat: no-repeat; }
.field input:focus, .field select:focus, .field textarea:focus { border-color: var(--volt); outline: none; }
.field .invalid { border-color: var(--red); }
.form-status { margin: 0; font-size: 14px; min-height: 20px; }
.form-status.ok { color: var(--volt); } .form-status.err { color: var(--red); }

/* Footer */
.site-footer { border-top: 1px solid var(--line); padding: 56px 0 30px; background: var(--bg-2); }
.footer-inner { display: flex; justify-content: space-between; gap: 40px; flex-wrap: wrap; }
.footer-brand p { color: var(--text-3); margin: 12px 0 0; font-size: 14.5px; max-width: 300px; }
.footer-links { display: flex; gap: 64px; }
.footer-links div { display: grid; gap: 10px; align-content: start; }
.footer-links h4 { font-family: var(--mono); font-size: 12px; text-transform: uppercase; letter-spacing: .12em; color: var(--text-3); font-weight: 500; margin-bottom: 4px; }
.footer-links a { color: var(--text-2); font-size: 14.5px; }
.footer-links a:hover { color: var(--volt); }
.footer-base { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 10px; margin-top: 48px; padding-top: 24px; border-top: 1px solid var(--line); color: var(--text-3); font-size: 13px; }
.mono { font-family: var(--mono); }

/* Toast */
.toast { position: fixed; bottom: 24px; left: 50%; transform: translate(-50%, 20px); background: var(--volt); color: #000; font-weight: 500; font-size: 14px; padding: 10px 18px; border-radius: 10px; opacity: 0; pointer-events: none; transition: all .25s; z-index: 100; }
.toast.show { opacity: 1; transform: translate(-50%, 0); }

/* Reveal */
.reveal { opacity: 0; transform: translateY(18px); transition: opacity .7s ease, transform .7s ease; }
.reveal.in { opacity: 1; transform: none; }

/* ================= RESPONSIVE ================= */
@media (max-width: 1080px) {
  .pipeline { grid-template-columns: repeat(2,1fr); }
  .pipeline-rail { display: none; }
  .module-card:last-child { grid-column: span 2; }
  .artifact-grid { grid-template-columns: repeat(2,1fr); }
}
@media (max-width: 960px) {
  .nav-links, .nav-cta { display: none; }
  .nav-toggle { display: grid; place-items: center; }
  .site-header.open .nav-links {
    display: flex; flex-direction: column; position: absolute; top: 66px; left: 0; right: 0;
    background: var(--bg); padding: 20px 24px; gap: 18px; border-bottom: 1px solid var(--line);
  }
  .site-header.open .nav-links a { font-size: 16px; }
  .hero, .sdk-layout, .calc, .enterprise, .demo { grid-template-columns: 1fr; }
  .hero { padding-top: 48px; gap: 44px; }
  .calc-controls { border-right: 0; border-bottom: 1px solid var(--line); }
  .enterprise { padding: 36px 26px; gap: 40px; }
  .problem-grid { grid-template-columns: 1fr; }
}
@media (max-width: 600px) {
  .container { padding: 0 18px; }
  .section { padding-top: 80px; }
  .hero-sub { font-size: 16.5px; }
  .hero-actions { flex-direction: column; align-items: stretch; }
  .install-cmd { justify-content: space-between; font-size: 13px; }
  .pipeline, .artifact-grid, .enterprise-grid, .field-row { grid-template-columns: 1fr; }
  .module-card:last-child { grid-column: auto; }
  .result-row { flex-direction: column; align-items: stretch; }
  .result-arrow { transform: rotate(90deg); text-align: center; }
  .reduction span { font-size: 56px; }
  .calc-controls, .calc-results, .demo-form { padding: 24px; }
  .code-panel { font-size: 12px; padding: 18px; min-height: 0; }
  .footer-links { gap: 40px; }
  .telemetry { font-size: 10.5px; height: 92px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .reveal { opacity: 1; transform: none; }
}
