:root {
  --bg: #07080B;
  --card: #0D0F15;
  --card-2: #12141B;
  --line: rgba(242, 241, 237, 0.09);
  --ink: #F2F1ED;
  --ink-dim: rgba(242, 241, 237, 0.62);
  --ink-faint: rgba(242, 241, 237, 0.4);
  --violet: #6D1BFF;
  --violet-2: #9D4DFF;
  --magenta: #E040D0;
  --coral: #FF5A6E;
  --orange: #FF5A00;
  --grad: linear-gradient(90deg, #6D1BFF, #9D4DFF 25%, #E040D0 50%, #FF5A6E 75%, #FF5A00);
  --sans: "Inter", ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --mono: ui-monospace, "SF Mono", Menlo, Consolas, monospace;
  --wrap: 1120px;
  --radius: 14px;
}
* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; scroll-padding-top: 80px; }
body {
  background: var(--bg);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
a { color: inherit; }
::selection { background: rgba(157, 77, 255, 0.4); }

#field {
  position: fixed;
  inset: 0;
  width: 100%;
  height: 100%;
  display: block;
  z-index: 0;
}
.content { position: relative; z-index: 1; }
.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 40px; }

/* ---------- Header ---------- */
.site-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 10;
  transition: background 0.3s, border-color 0.3s;
  border-bottom: 1px solid transparent;
}
.site-header.scrolled {
  background: rgba(7, 8, 11, 0.92);
  border-bottom-color: var(--line);
}
.site-header .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 68px;
  gap: 24px;
}
.wordmark { display: inline-flex; align-items: center; text-decoration: none; }
.wordmark img { height: 24px; width: auto; display: block; }
.foot-brand { display: inline-flex; align-items: center; gap: 18px; flex-wrap: wrap; }
.foot-brand img { height: 18px; width: auto; display: block; opacity: 0.85; }
.nav { display: flex; align-items: center; gap: 28px; font-size: 14px; }
.nav a:not(.btn) { color: var(--ink-dim); text-decoration: none; transition: color 0.2s; }
.nav a:not(.btn):hover { color: var(--ink); }

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  height: 44px;
  padding: 0 20px;
  border-radius: 999px;
  font: 600 14px/1 var(--sans);
  text-decoration: none;
  border: 0;
  cursor: pointer;
  transition: transform 0.15s, box-shadow 0.2s, background 0.2s;
}
.btn:active { transform: translateY(1px); }
.btn-primary {
  background: var(--grad);
  color: #fff;
  box-shadow: 0 0 0 0 rgba(224, 64, 208, 0);
}
.btn-primary:hover { box-shadow: 0 6px 30px -6px rgba(224, 64, 208, 0.6); }
.btn-ghost {
  background: rgba(242, 241, 237, 0.06);
  color: var(--ink);
  border: 1px solid var(--line);
}
.btn-ghost:hover { background: rgba(242, 241, 237, 0.11); }
.btn-sm { height: 38px; padding: 0 16px; font-size: 13px; }
:focus-visible { outline: 2px solid var(--violet-2); outline-offset: 3px; border-radius: 6px; }

/* ---------- Hero ---------- */
.hero {
  min-height: 100vh;
  min-height: 100svh;
  display: flex;
  align-items: center;
  padding: 120px 0 80px;
  position: relative;
}
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    radial-gradient(ellipse 60% 55% at 30% 50%, rgba(7, 8, 11, 0.9), rgba(7, 8, 11, 0) 100%);
}
.hero .wrap { position: relative; }
.hero h1 {
  max-width: 860px;
  font-size: clamp(38px, 6vw, 76px);
  font-weight: 600;
  line-height: 1.02;
  letter-spacing: -0.035em;
}
.grad-text {
  background: var(--grad);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.hero .lede {
  margin-top: 24px;
  max-width: 600px;
  font-size: clamp(17px, 1.6vw, 20px);
  color: var(--ink-dim);
}
.hero-cta { margin-top: 36px; display: flex; flex-wrap: wrap; gap: 12px; }
.hero-cta .btn { height: 50px; padding: 0 26px; font-size: 15px; }

/* ---------- Sections ---------- */
section.block {
  position: relative;
  padding: 110px 0;
}
.kicker {
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--violet-2);
}
.block h2 {
  margin-top: 14px;
  max-width: 760px;
  font-size: clamp(30px, 3.8vw, 46px);
  font-weight: 600;
  line-height: 1.08;
  letter-spacing: -0.03em;
}
.block .sub {
  margin-top: 18px;
  max-width: 640px;
  font-size: 18px;
  color: var(--ink-dim);
}
.note {
  margin-top: 18px;
  font-size: 13px;
  color: var(--ink-faint);
}
.card {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 26px;
}
.grid { display: grid; gap: 16px; margin-top: 48px; }
.g2 { grid-template-columns: repeat(2, 1fr); }
.g3 { grid-template-columns: repeat(3, 1fr); }
.g4 { grid-template-columns: repeat(4, 1fr); }
.card h3 { font-size: 18px; font-weight: 600; letter-spacing: -0.01em; }
.card p { margin-top: 8px; color: var(--ink-dim); font-size: 15px; }
.num {
  font-family: var(--mono);
  font-size: 12px;
  color: var(--ink-faint);
  margin-bottom: 18px;
  display: block;
}

/* Opportunity */
.stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-top: 48px; }
.stat .big {
  font-size: clamp(40px, 5vw, 60px);
  font-weight: 600;
  letter-spacing: -0.04em;
  line-height: 1;
}
.stat p { margin-top: 12px; color: var(--ink-dim); font-size: 15px; }

/* Process steps */
.steps { display: grid; grid-template-columns: repeat(5, 1fr); gap: 12px; margin-top: 48px; counter-reset: s; }
.step { position: relative; padding: 22px 20px; }
.step::after {
  content: "";
  position: absolute;
  top: 34px; right: -12px;
  width: 12px; height: 1px;
  background: var(--line);
}
.step:last-child::after { display: none; }
.step h3 { font-size: 16px; }
.step p { font-size: 14px; }

/* Timeline: client forecast -> market cutoff, per auction */
.timeline { margin-top: 16px; padding: 28px; }
.tl-head { display: flex; justify-content: space-between; align-items: center; gap: 14px 24px; flex-wrap: wrap; }
.tl-head h3 { font-size: 16px; }
.tl-legend { display: flex; gap: 18px; flex-wrap: wrap; font-size: 13px; color: var(--ink-dim); }
.tl-legend span { display: inline-flex; align-items: center; gap: 8px; }
.pin { width: 12px; height: 12px; border-radius: 50%; flex: none; }
.pin.you { border: 2px solid var(--ink); background: var(--card-2); }
.pin.mkt { background: var(--violet-2); box-shadow: 0 0 0 4px rgba(157, 77, 255, 0.18); }
.tl-markets { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; margin-top: 22px; }
.tl-m {
  background: var(--card-2);
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 18px 18px 16px;
}
.tl-top { display: flex; justify-content: space-between; align-items: baseline; gap: 8px; }
.tl-m .m { font-weight: 600; font-size: 18px; }
.tl-m .day {
  font: 600 11px/1 var(--mono);
  letter-spacing: 0.06em;
  color: var(--ink-dim);
  padding: 4px 7px;
  border-radius: 6px;
  background: rgba(242, 241, 237, 0.06);
}
.tl-m .day.d { color: var(--violet-2); background: rgba(157, 77, 255, 0.12); }
.rail { position: relative; margin-top: 18px; display: grid; gap: 14px; }
.rail::before {
  content: "";
  position: absolute;
  left: 5px; top: 12px; bottom: 12px;
  width: 2px;
  background: linear-gradient(180deg, var(--ink), var(--violet-2));
  opacity: 0.5;
}
.rail .stop { position: relative; display: grid; grid-template-columns: 12px 1fr auto; align-items: center; gap: 12px; }
.rail .stop .who { font-size: 13px; color: var(--ink-dim); line-height: 1.3; }
.rail .stop .t { font: 600 16px/1 var(--mono); color: var(--ink); }
.rail .gap30 { margin-left: 24px; font: 11px/1 var(--mono); color: var(--ink-faint); }
.tl-m .qh { margin-top: 16px; padding-top: 12px; border-top: 1px solid var(--line); font-family: var(--mono); font-size: 11px; color: var(--ink-faint); }
.tl-m .qh b { color: var(--ink-dim); font-weight: 600; }

/* QH walkthrough */
.qh-demo { margin-top: 48px; display: grid; grid-template-columns: 1.1fr 1fr; gap: 16px; align-items: stretch; }
.qh-chart { padding: 24px 26px 22px; display: flex; flex-direction: column; }
.chart-head { display: flex; justify-content: space-between; align-items: center; gap: 12px; }
.play {
  flex: none;
  width: 34px; height: 34px;
  border-radius: 50%;
  border: 1px solid var(--line);
  background: rgba(242, 241, 237, 0.05);
  color: var(--ink);
  display: grid;
  place-items: center;
  cursor: pointer;
  opacity: 0;
  transform: scale(0.8) rotate(-90deg);
  pointer-events: none;
  transition: opacity 0.45s ease, transform 0.6s cubic-bezier(.22,1,.36,1), background 0.2s, border-color 0.2s;
}
.play.show { opacity: 1; transform: none; pointer-events: auto; }
.play:hover { background: rgba(242, 241, 237, 0.11); border-color: rgba(242, 241, 237, 0.2); }
.play.show:active { transform: scale(0.94); }
.play svg { width: 15px; height: 15px; }
.chart-title { font-size: 14px; font-weight: 600; }
.chart-title small { font: 400 12px var(--mono); color: var(--ink-faint); margin-left: 8px; }
.plot {
  position: relative;
  flex: 1;
  min-height: 280px;
  margin-top: 26px;
  margin-left: 34px;
}
.gridline {
  position: absolute;
  left: 0; right: 0;
  border-top: 1px solid rgba(242, 241, 237, 0.06);
}
.gridline span {
  position: absolute;
  right: calc(100% + 10px);
  top: -7px;
  font: 11px/1 var(--mono);
  color: var(--ink-faint);
}
.gridline.zero { border-top-color: rgba(242, 241, 237, 0.16); }
.plot .ref {
  position: absolute;
  left: 0; right: 0;
  bottom: 80%;
  border-top: 1.5px dashed rgba(242, 241, 237, 0.7);
  z-index: 0;
  pointer-events: none;
}
.plot .ref span {
  position: absolute;
  right: 0; bottom: 6px;
  font: 600 11px/1 var(--mono);
  color: var(--ink);
  background: rgba(242, 241, 237, 0.08);
  border: 1px solid rgba(242, 241, 237, 0.28);
  padding: 4px 7px;
  border-radius: 999px;
  white-space: nowrap;
}
.bars {
  position: absolute;
  inset: 0;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  z-index: 1;
}
.bar-col { position: relative; height: 100%; display: flex; justify-content: center; isolation: isolate; }
.bar-clip, .gap {
  position: absolute;
  bottom: 0;
  width: min(56%, 76px);
  left: 50%;
  transform: translateX(-50%);
}
/* The bar is always full plot height and slides up inside its clip, so the
   motion is a GPU transform (no layout per frame) and the corners stay round. */
.bar-clip { height: 100%; overflow: hidden; border-radius: 6px 6px 0 0; z-index: 1; }
.bar {
  position: absolute;
  inset: 0;
  border-radius: 6px 6px 0 0;
  background: #2B1B48;
  transform: translateY(calc((1 - var(--h, 0)) * 100%));
  transition: transform 1.2s cubic-bezier(.65,0,.35,1), background-color 0.9s ease, border-color 0.9s ease;
  will-change: transform;
}
.bar::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: linear-gradient(180deg, #8A3DFF, var(--violet));
  opacity: 0;
  transition: opacity 0.9s ease;
}
.bar-col.active .bar::before { opacity: 1; }
.bar-col:not(.on) .bar {
  background-color: #17191F;
}
.bar .val {
  position: absolute;
  top: 10px; left: 0; right: 0;
  text-align: center;
  font: 600 14px/1 var(--mono);
  color: #fff;
  transition: opacity 0.7s ease 0.3s, transform 0.9s cubic-bezier(.22,1,.36,1) 0.3s, color 0.7s ease;
  z-index: 1;
}
.bar-col:not(.on) .val { opacity: 0; transform: translateY(6px); }
.bar-col.on:not(.active) .val { color: var(--ink-dim); }
/* Top 10 MW of the IDA2 bar: the energy sold back to return to forecast. */
.bar .band {
  position: absolute;
  left: 0; right: 0; top: 0;
  height: 20%;
  z-index: 1;
  background: rgba(255, 255, 255, 0.18);
  border-radius: 6px 6px 0 0;
  box-shadow: inset 0 -1px 0 rgba(255, 255, 255, 0.28);
  display: grid;
  place-items: center;
  opacity: 0;
  transition: opacity 0.8s ease 0.6s;
}
.bar .band::after { content: "+10"; font: 600 12px/1 var(--mono); color: rgba(255, 255, 255, 0.9); }
.bar-col.active .band { opacity: 1; }
.bar .band + .val { top: calc(20% + 10px); }
/* The 10 MW bought back in IDA1: an outlined slot sitting flush on the 30 MW bar. */
.gap {
  bottom: 60%;
  height: 20%;
  box-sizing: border-box;
  border: 1.5px dashed rgba(255, 90, 110, 0.6);
  border-bottom: 0;
  border-radius: 6px 6px 0 0;
  background: rgba(255, 90, 110, 0.07);
  display: grid;
  place-items: center;
  opacity: 0;
  transition: opacity 0.8s ease 0.5s;
  z-index: 0;
}
.gap span { font: 600 12px/1 var(--mono); color: var(--coral); }
.gap.show { opacity: 1; }
/* While the slot is shown, the bar below loses its rounded top so the two read as one column. */
.bar-col:has(.gap.show, .gap.past) :is(.bar-clip, .bar) { border-top-left-radius: 0; border-top-right-radius: 0; }
.gap.past { opacity: 0.4; transition-delay: 0.1s; }
.bar-labels {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  margin: 14px 0 0 34px;
  text-align: center;
}
.bar-labels .lbl b { display: block; font: 600 13px/1.2 var(--mono); color: var(--ink-dim); transition: color 0.6s ease; }
.bar-labels .lbl small { display: block; margin-top: 4px; font: 11px/1.2 var(--mono); color: var(--ink-faint); transition: color 0.6s ease; }
.bar-labels .lbl.active b { color: var(--ink); }
.bar-labels .lbl.active small { color: var(--violet-2); }
.qh-steps { display: flex; flex-direction: column; gap: 10px; }
.qh-step {
  text-align: left;
  width: 100%;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 18px 20px;
  color: var(--ink);
  font: inherit;
  cursor: pointer;
  transition: border-color 0.6s ease, background 0.6s ease;
  position: relative;
  overflow: hidden;
}
.qh-step .prog {
  position: absolute;
  left: 0; bottom: 0;
  height: 2px;
  width: 100%;
  background: var(--grad);
  transform-origin: left;
  transform: scaleX(var(--p, 0));
  opacity: 0;
}
.qh-step.active .prog { opacity: 1; }
.qh-step:hover { background: var(--card-2); }
.qh-step.active { border-color: rgba(224, 64, 208, 0.55); background: var(--card-2); }
.qh-step .top { display: flex; justify-content: space-between; align-items: baseline; gap: 4px 10px; flex-wrap: wrap; }
.qh-step .mk { font-family: var(--mono); font-size: 12px; color: var(--ink-faint); letter-spacing: 0.06em; }
.qh-step.active .mk { color: var(--magenta); }
.qh-step .dec { font-weight: 600; font-size: 17px; margin-top: 4px; }
.qh-step .why { color: var(--ink-dim); font-size: 14px; margin-top: 2px; }
.qh-step .tags { display: flex; gap: 8px; margin-top: 12px; flex-wrap: wrap; }
.tag-s { font-family: var(--mono); font-size: 11px; padding: 4px 9px; border-radius: 6px; background: rgba(242,241,237,0.06); color: var(--ink-dim); }

/* Dashboard */
.dash { margin-top: 48px; padding: 0; overflow: hidden; }
.dash-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  padding: 16px 22px;
  border-bottom: 1px solid var(--line);
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.08em;
  color: var(--ink-faint);
  flex-wrap: wrap;
}
.demo-badge {
  color: var(--orange);
  border: 1px solid rgba(255, 90, 0, 0.4);
  padding: 4px 8px;
  border-radius: 6px;
}
.dash-body { display: grid; grid-template-columns: 1fr 1.4fr; }
.kpis { display: grid; grid-template-rows: repeat(3, 1fr); border-right: 1px solid var(--line); }
.kpi { padding: 22px; border-bottom: 1px solid var(--line); }
.kpi:last-child { border-bottom: 0; }
.kpi .l { font-family: var(--mono); font-size: 11px; letter-spacing: 0.08em; color: var(--ink-faint); }
.kpi .v { margin-top: 8px; font-size: 30px; font-weight: 600; letter-spacing: -0.02em; }
.kpi .v small { font-size: 14px; color: var(--ink-dim); font-weight: 500; margin-left: 4px; }
.dash-main { padding: 22px; }
.dash-controls { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.tabs { display: flex; gap: 6px; flex-wrap: wrap; }
.tab {
  font: 600 12px/1 var(--mono);
  letter-spacing: 0.06em;
  padding: 9px 14px;
  border-radius: 8px;
  border: 1px solid var(--line);
  background: transparent;
  color: var(--ink-dim);
  cursor: pointer;
  position: relative;
  overflow: hidden;
  transition: color 0.25s, border-color 0.25s, background 0.25s;
}
.tab:hover { color: var(--ink); border-color: rgba(242, 241, 237, 0.2); }
.tab.active { background: var(--ink); color: var(--bg); border-color: transparent; }
.tab.active::after {
  content: "";
  position: absolute;
  left: 0; bottom: 0;
  height: 2px; width: 100%;
  background: var(--violet);
  transform-origin: left;
  transform: scaleX(var(--p, 0));
}
.ledger { margin-top: 20px; }
.ledger-head { display: flex; justify-content: space-between; font-family: var(--mono); font-size: 11px; color: var(--ink-faint); letter-spacing: 0.06em; }
.dev-chart { display: block; width: 100%; height: auto; margin-top: 10px; overflow: visible; }
.dev-chart text { font-family: var(--mono); }
.dev-chart .grid line { stroke: rgba(242, 241, 237, 0.06); }
.dev-chart .grid text { fill: var(--ink-faint); font-size: 10px; }
.dev-chart .fc { stroke: rgba(242, 241, 237, 0.7); stroke-width: 1.5; stroke-dasharray: 4 4; }
.dev-chart .fc-label { fill: var(--ink); font-size: 10px; font-weight: 600; }
.dev-chart .seg, .dev-chart .stem {
  fill: none;
  stroke-linecap: round;
  stroke-dasharray: 1 1;
  stroke-dashoffset: 1;
  transition: stroke-dashoffset 0.8s cubic-bezier(.22,1,.36,1), opacity 0.45s;
}
.dev-chart .seg { stroke-width: 2; opacity: 0.4; }
.dev-chart .seg.on { stroke-dashoffset: 0; }
.dev-chart .seg.current { opacity: 1; }
.dev-chart .stem { stroke-width: 6; opacity: 0.18; stroke-linecap: butt; }
.dev-chart .mkt.done .stem { stroke-dashoffset: 0; }
.dev-chart .mkt.current .stem { opacity: 0.35; }
.dev-chart .ghost { fill: none; stroke: rgba(242, 241, 237, 0.28); stroke-width: 1.5; stroke-dasharray: 2 3; transition: opacity 0.3s; }
.dev-chart .mkt.done .ghost { opacity: 0; }
.dev-chart .dot, .dev-chart .halo {
  transform-box: fill-box;
  transform-origin: center;
  transform: scale(0);
  transition: transform 0.55s cubic-bezier(.34,1.4,.5,1) 0.3s, opacity 0.4s;
}
.dev-chart .mkt { --c: var(--ink); }
.dev-chart .mkt.pos { --c: var(--orange); }
.dev-chart .mkt.neg { --c: var(--violet-2); }
.dev-chart .stem { stroke: var(--c); }
.dev-chart .dot { fill: var(--c); stroke: var(--card); stroke-width: 3; }
.dev-chart .halo { fill: var(--c); opacity: 0; }
.dev-chart .mkt.done .dot { transform: scale(1); }
.dev-chart .mkt.done:not(.current) .dot { opacity: 0.6; }
.dev-chart .mkt.current .halo { transform: scale(1); opacity: 0.22; }
.dev-chart .dv { fill: var(--ink-dim); font-size: 11px; font-weight: 600; opacity: 0; transition: opacity 0.4s 0.45s, fill 0.3s; }
.dev-chart .mkt.done .dv { opacity: 1; }
.dev-chart .mkt.done .dv { fill: var(--c); }
.dev-chart .xl { fill: var(--ink-faint); font-size: 11px; font-weight: 600; transition: fill 0.3s; }
.dev-chart .mkt.current .xl { fill: var(--ink); }
.dev-stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; margin-top: 12px; }
.ds {
  background: var(--card-2);
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 10px 12px;
  transition: border-color 0.35s, background 0.35s;
}
.ds .m { display: block; font: 600 11px/1 var(--mono); color: var(--ink-faint); letter-spacing: 0.06em; }
.ds .pos { display: block; margin-top: 8px; font-size: 18px; font-weight: 600; letter-spacing: -0.01em; font-variant-numeric: tabular-nums; }
.ds .pos small { font-size: 11px; color: var(--ink-faint); font-weight: 500; margin-left: 3px; }
.ds .dv { display: block; margin-top: 3px; font: 12px/1 var(--mono); color: var(--ink-dim); }
.ds.pos .dv { color: var(--orange); }
.ds.neg .dv { color: var(--violet-2); }
.ds.pending .pos, .ds.pending .dv { color: var(--ink-faint); }
.ds.current { border-color: rgba(242, 241, 237, 0.35); background: rgba(242, 241, 237, 0.05); }
.ds.current .m { color: var(--ink); }
.ledger-foot { margin-top: 14px; font-size: 13px; color: var(--ink-dim); }

/* Why Cumulant */
.why { grid-template-columns: repeat(3, 1fr); }
.why .card { display: flex; flex-direction: column; padding: 28px; }
.why .n {
  font: 600 13px/1 var(--mono);
  background: var(--grad);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  margin-bottom: 22px;
}
.why h3 { font-size: 19px; letter-spacing: -0.015em; }
.why p { margin-top: 10px; }

/* Two ways */
.way { position: relative; padding: 30px; }
.way .badge { font-family: var(--mono); font-size: 11px; letter-spacing: 0.08em; color: var(--ink-faint); }
.way h3 { font-size: 22px; margin-top: 12px; }
.way ul { margin-top: 18px; list-style: none; display: grid; gap: 10px; }
.way li { position: relative; padding-left: 22px; color: var(--ink-dim); font-size: 15px; }
.way li::before { content: ""; position: absolute; left: 0; top: 9px; width: 10px; height: 2px; background: var(--grad); }
.way.featured { border-color: rgba(157, 77, 255, 0.4); background: linear-gradient(180deg, rgba(109, 27, 255, 0.08), var(--card) 60%); }

/* FAQ */
.faq { margin-top: 48px; max-width: 820px; }
.faq details { border-bottom: 1px solid var(--line); }
.faq details:first-child { border-top: 1px solid var(--line); }
.faq summary {
  list-style: none;
  cursor: pointer;
  padding: 22px 40px 22px 0;
  font-size: 18px;
  font-weight: 600;
  position: relative;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "+";
  position: absolute;
  right: 4px; top: 18px;
  font-size: 24px;
  font-weight: 400;
  color: var(--ink-dim);
  transition: transform 0.25s;
}
.faq details[open] summary::after { transform: rotate(45deg); color: var(--magenta); }
.faq details p { padding: 0 40px 22px 0; color: var(--ink-dim); max-width: 700px; }

/* Final CTA */
.final { padding: 120px 0; text-align: left; }
.final-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: start; }
.final h2 { font-size: clamp(34px, 4.4vw, 56px); }
form.contact { display: grid; gap: 14px; padding: 30px; }
.field { display: grid; gap: 7px; }
.field label { font-size: 13px; color: var(--ink-dim); }
.field input, .field textarea {
  width: 100%;
  background: var(--card-2);
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 13px 14px;
  color: var(--ink);
  font: 15px/1.4 var(--sans);
  transition: border-color 0.2s;
}
.field textarea { min-height: 110px; resize: vertical; }
.field input:focus, .field textarea:focus { outline: none; border-color: var(--violet-2); }
.two { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
form.contact .btn { height: 50px; margin-top: 6px; font-size: 15px; }
.form-note { font-size: 12px; color: var(--ink-faint); }
.form-status { font-size: 14px; color: var(--ink-dim); min-height: 1em; }
.form-status.error { color: var(--coral); }
.hp { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.turnstile { min-height: 65px; }
form.contact .btn[disabled] { opacity: 0.6; cursor: progress; }
.sent-msg { display: grid; gap: 10px; padding: 18px 4px; }
.sent-msg h3 { font-size: 22px; letter-spacing: -0.01em; }
.sent-msg p { color: var(--ink-dim); }

/* Footer */
footer.site {
  position: relative;
  padding: 34px 0 40px;
  font-size: 13px;
  color: var(--ink-faint);
}
footer.site .wrap { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; }
footer.site a { text-decoration: none; color: var(--ink-dim); }
footer.site a:hover { color: var(--ink); }

/* Reveal on scroll */
.reveal { opacity: 0; transform: translateY(18px); transition: opacity 0.7s, transform 0.7s cubic-bezier(.2,.7,.2,1); }
.reveal.in { opacity: 1; transform: none; }

@media (max-width: 980px) {
  .steps { grid-template-columns: repeat(2, 1fr); }
  .step::after { display: none; }
  .g4 { grid-template-columns: repeat(2, 1fr); }
  .g3, .stats { grid-template-columns: 1fr; }
  .why { grid-template-columns: repeat(2, 1fr); }
  .qh-demo, .dash-body, .final-grid { grid-template-columns: 1fr; }
  .kpis { grid-template-rows: none; grid-template-columns: repeat(3, 1fr); border-right: 0; border-bottom: 1px solid var(--line); }
  .kpi { border-bottom: 0; border-right: 1px solid var(--line); }
  .kpi:last-child { border-right: 0; }
  .final-grid { gap: 36px; }
}
@media (max-width: 720px) {
  .wrap { padding: 0 16px; }
  .nav a:not(.btn) { display: none; }
  section.block { padding: 80px 0; }
  .g2, .g4, .steps, .why { grid-template-columns: 1fr; }
  .tl-markets { grid-template-columns: repeat(2, 1fr); }
  .kpis { grid-template-columns: 1fr; }
  .kpi { border-right: 0; border-bottom: 1px solid var(--line); padding: 14px 18px; display: flex; justify-content: space-between; align-items: baseline; gap: 12px; }
  .kpi:last-child { border-bottom: 0; }
  .kpi .v { margin-top: 0; font-size: 20px; white-space: nowrap; }
  .kpi .v small { font-size: 12px; }
  .dash-main { padding: 18px; }
  .tabs { display: grid; grid-template-columns: repeat(4, 1fr); flex: 1; }
  .tab { padding: 9px 0; }
  .ledger-head { flex-wrap: wrap; gap: 4px 12px; }
  .dev-stats { gap: 6px; }
  .ds { padding: 9px 8px; }
  .ds .pos { font-size: 15px; }
  .ds .pos small { display: none; }
  .two { grid-template-columns: 1fr; }
  .bars, .bar-labels { gap: 10px; }
  .plot { min-height: 230px; }
  .card, form.contact { padding: 22px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
  .bar, .gap, .band, .dev-chart *, .ds { transition: none !important; }
}

.gridline.p0 { bottom: 0%; }
.gridline.p20 { bottom: 20%; }
.gridline.p40 { bottom: 40%; }
.gridline.p60 { bottom: 60%; }
.gridline.p80 { bottom: 80%; }
.gridline.p100 { bottom: 100%; }
.opt { color: var(--ink-faint); }
