:root {
  --bg: #020303;
  --surface: #090a0a;
  --surface2: #0d0e0e;
  --line: rgba(255, 255, 255, .105);
  --text: #f5f6f4;
  --muted: #8a8e8a;
  --mint: #f1f2ef;
  --blue: #c5c7c4;
  --purple: #b5b5b7;
  --orange: #c8c6c2;
  --accent: #8291ff;
  --accent-soft: #ad88ff;
  --accent-warm: #ffb36b;
  --max: 1110px;
}

body {
  background: var(--bg);
  color: var(--text);
  font-family: Manrope, system-ui, sans-serif;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background:
    radial-gradient(circle at 8% 3%, rgba(255, 255, 255, .055), transparent 19%),
    radial-gradient(circle at 92% 1%, rgba(220, 222, 219, .035), transparent 24%);
}

.noise { opacity: .025; }
.section-pad { padding-left: max(5vw, 24px); padding-right: max(5vw, 24px); }

.nav-shell {
  top: 14px;
  width: min(calc(100% - 36px), 1180px);
  height: 76px;
  padding: 0 20px 0 26px;
  border-color: rgba(255, 255, 255, .11);
  border-radius: 15px;
  background: rgba(12, 13, 13, .84);
  box-shadow: 0 15px 45px rgba(0, 0, 0, .48), inset 0 1px rgba(255, 255, 255, .035);
}

.brand { gap: 8px; font-size: 15px; letter-spacing: -.01em; }
.brand-logo {
  display: block;
  width: auto;
  height: 44px;
  object-fit: contain;
}
.brand-mark { width: 19px; height: 18px; gap: 2px; }
.brand-mark i { width: 5px; background: #f1f3ef; border-radius: 1px; }
.brand-mark i:nth-child(1) { height: 10px; }
.brand-mark i:nth-child(2) { height: 18px; }
.brand-mark i:nth-child(3) { height: 13px; }
.nav-shell nav { flex: 1; justify-content: center; gap: 38px; margin: 0 32px; }
.nav-shell nav a, .text-link { color: #929592; font-size: 17px; }
.nav-actions { gap: 21px; }

.button {
  padding: 13px 18px;
  border-radius: 999px;
  border-color: #f3f4f0;
  background: #f3f4f0;
  color: #080909;
  box-shadow: none;
  font-size: 11px;
  letter-spacing: -.01em;
}

.button:hover { background: #fff; box-shadow: 0 8px 30px rgba(255, 255, 255, .12); }
.button-small { padding: 10px 17px; font-size: 14px; }

.hero {
  min-height: 920px;
  padding-top: 162px;
  padding-bottom: 76px;
  background: #020303;
}

.hero::before {
  opacity: .2;
  background-image: radial-gradient(circle, rgba(231, 238, 234, .8) .65px, transparent .8px);
  background-size: 5px 5px;
  mask-image: radial-gradient(ellipse 77% 44% at 50% 4%, #000 10%, transparent 70%);
}

.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    radial-gradient(ellipse 62% 34% at 50% 0%, transparent 20%, #020303 78%),
    linear-gradient(to bottom, transparent 64%, #020303 92%);
}

.hero-orb { display: none; }
.ambient-motion {
  position: absolute;
  inset: 0;
  z-index: 1;
  overflow: hidden;
  pointer-events: none;
  background: #020303;
}

.square-field {
  --grid-size: 52px;
  position: absolute;
  left: 50%;
  width: 100vw;
  height: 420px;
  transform: translateX(-50%);
  background-image:
    linear-gradient(rgba(224, 226, 223, .14) 1px, transparent 1px),
    linear-gradient(90deg, rgba(224, 226, 223, .14) 1px, transparent 1px),
    repeating-conic-gradient(from 90deg at 1px 1px, rgba(230, 231, 228, .035) 0 25%, transparent 0 50%);
  background-size: var(--grid-size) var(--grid-size);
  opacity: .64;
  filter: drop-shadow(0 0 12px rgba(255, 255, 255, .045));
}

.square-field::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    radial-gradient(circle at 25% 30%, rgba(245, 246, 243, .7) 0 2px, transparent 3px),
    radial-gradient(circle at 75% 70%, rgba(230, 232, 228, .46) 0 2px, transparent 3px);
  background-size: 208px 208px;
  filter: drop-shadow(0 0 7px rgba(255, 255, 255, .16));
  opacity: .35;
}

.square-top {
  top: -55px;
  mask-image: linear-gradient(to bottom, #000 8%, #000 42%, rgba(0,0,0,.55) 70%, transparent 100%);
}

.square-bottom {
  bottom: -55px;
  mask-image: linear-gradient(to top, #000 8%, #000 42%, rgba(0,0,0,.55) 70%, transparent 100%);
}

.grid-light {
  position: absolute;
  width: var(--grid-size);
  height: var(--grid-size);
  border: 1px solid rgba(248, 249, 246, .7);
  background: linear-gradient(135deg, rgba(248, 249, 246, .58), rgba(205, 208, 203, .17));
  box-shadow:
    inset 0 0 22px rgba(255, 255, 255, .46),
    0 0 13px rgba(245, 247, 243, .42),
    0 0 30px rgba(221, 224, 219, .22);
  opacity: 0;
  animation: square-blink var(--blink-duration) steps(1, end) var(--blink-delay) infinite;
}

.center-void {
  position: absolute;
  inset: 28% 0;
  background: linear-gradient(to bottom, transparent, rgba(2,3,3,.92) 22%, #020303 48%, #020303 52%, rgba(2,3,3,.92) 78%, transparent);
}

@keyframes square-blink {
  0%, 66%, 84%, 100% { opacity: 0; }
  69%, 80% { opacity: var(--blink-peak); }
}

.hero-copy {
  display: grid;
  grid-template-columns: 1.08fr .72fr;
  column-gap: 96px;
  align-items: start;
}

.hero-copy .eyebrow { grid-column: 1 / -1; }
.eyebrow { color: #a8ada8; font-size: 9px; letter-spacing: .18em; }
.pulse { width: 5px; height: 5px; background: #f4f5f2; box-shadow: 0 0 12px rgba(255, 255, 255, .48); }
.hero h1 {
  grid-column: 1;
  max-width: 600px;
  margin: 22px 0 0;
  font-size: clamp(43px, 4vw, 54px);
  line-height: 1.07;
  letter-spacing: -.045em;
  font-weight: 600;
}

.hero h1 span { color: #f5f6f4; }
.hero-lead {
  grid-column: 2;
  margin: 31px 0 0;
  max-width: 410px;
  color: #b5b8b4;
  font-size: 13px;
  line-height: 1.65;
}

.hero-actions { grid-column: 2; margin-top: 20px; gap: 22px; }
.hero-actions .button { border-radius: 999px; }
.ghost-link { display: none; }
.trust-row { display: none; }

.terminal {
  margin-top: 42px;
  border-color: rgba(255, 255, 255, .14);
  border-radius: 11px;
  background: #080909;
  box-shadow: 0 55px 120px rgba(0, 0, 0, .8), 0 0 0 1px rgba(255, 255, 255, .025) inset;
}

.terminal-top { height: 36px; border-color: rgba(255, 255, 255, .08); }
.window-dots i { width: 5px; height: 5px; background: #4a4b49; }
.window-dots i:nth-child(2) { background: #737571; }
.terminal-title { color: #777b77; font-size: 8px; }
.live-pill { color: #e7e9e6; font-size: 8px; }
.terminal-body { min-height: 455px; grid-template-columns: 46px 1.55fr .85fr; }
.tool-rail, .market-panel, .panel-heading, .metrics-strip, .agent-tabs { border-color: rgba(255, 255, 255, .075); }
.tool-rail { color: #555956; gap: 21px; }
.tool-rail .active { background: #eee; color: #111; }
.panel-heading { height: 62px; }
.panel-heading small { color: #686c69; }
.price em, .mint, .agent-tabs b, .agent-task strong { color: #e3e5e2; }
.chart-wrap { height: 280px; }
.chart-grid { opacity: .55; background-image: linear-gradient(rgba(255,255,255,.055) 1px,transparent 1px),linear-gradient(90deg,rgba(255,255,255,.055) 1px,transparent 1px); }
.chart .line { stroke: #e9eeea; stroke-width: 1.3; }
.chart .area { opacity: .42; filter: grayscale(1); }
.chart-tag { background: #efefeb; color: #090a09; }
.metrics-strip { height: 77px; }
.metrics-strip div { padding-top: 15px; border-color: rgba(255,255,255,.075); }
.agent-panel { background: #090a0a; }
.agent-tabs b { color: #f2f3ef; }
.message.user { background: #141515; color: #a5a9a5; }
.mini-mark { background: #f0f1ed; color: #080909; }
.agent-task, .prompt-bar { border-color: rgba(255,255,255,.1); }
.prompt-bar button { background: #eee; }
.spinner { border-color: #303230; border-top-color: #eceeeb; }
.code-lines i,
.code-lines i:nth-child(2),
.code-lines i:nth-child(3),
.code-lines i:nth-child(4) { background: #242624; }
.code-lines i:nth-child(2) { background: #303230; }

/* OMIRUS agentic workspace preview */
.terminal { max-width: 1420px; }

.omirus-workspace {
  min-height: 780px;
  grid-template-columns: 204px minmax(0, 1fr) 350px;
  background: #070808;
}

.omirus-workspace .tool-rail {
  position: relative;
  padding: 0 8px 10px;
  display: flex;
  align-items: stretch !important;
  justify-content: flex-start;
  gap: 0;
  text-align: left;
  background: #050606;
}

.rail-brand-wide {
  height: 52px;
  width: 100%;
  padding: 0 8px;
  display: flex;
  align-items: center;
  border-bottom: 1px solid rgba(255,255,255,.07);
}

.rail-brand-wide img {
  display: block;
  width: auto;
  height: 24px;
  max-width: 175px;
  object-fit: contain;
}

.rail-menu {
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 3px;
  padding-top: 11px;
  text-align: left;
}

.open-rail .rail-item {
  width: 100% !important;
  height: 34px;
  padding: 0 9px;
  display: flex !important;
  align-items: center;
  justify-content: flex-start !important;
  gap: 8px;
  border-radius: 6px;
  color: #c5c8c4;
  font-size: 11px;
}

.rail-item i {
  width: 16px;
  flex: 0 0 16px;
  color: #a7aba7;
  font: normal 13px "JetBrains Mono", monospace;
  text-align: center;
}

.rail-item .menu-icon {
  height: 18px;
  display: grid;
  place-items: center;
}

.menu-icon svg {
  width: 17px;
  height: 17px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.45;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.rail-item b { min-width: 0; font-weight: 500; text-align: left; }
.rail-item em { margin-left: auto; color: #858985; font: normal 9px "JetBrains Mono", monospace; white-space: nowrap; }
.rail-item.active { background: #202222; color: #fff; }
.rail-item.active i { color: #fff; }
.rail-item.muted { color: #626662; }
.rail-item.muted i,
.rail-item.muted em { color: #555955; }
.rail-section { margin-top: 17px; }

.rail-strategies {
  width: 100%;
  margin-top: 16px;
  padding-top: 12px;
  border-top: 1px solid rgba(255,255,255,.07);
  text-align: left;
}

.strategy-search {
  width: 100%;
  height: 40px;
  margin: 0 0 12px;
  padding: 0 11px;
  display: flex;
  align-items: center;
  gap: 10px;
  border: 1px solid rgba(255,255,255,.1);
  border-radius: 7px;
  background: #0b0c0c;
  color: #656965;
  font-size: 10px;
}

.strategy-search i {
  color: #8e94a6;
  font: normal 14px "JetBrains Mono", monospace;
}

.open-rail .strategy-search span {
  width: auto;
  height: auto;
  display: block;
}

.strategy-heading {
  height: 35px;
  padding: 0 8px;
  display: grid;
  grid-template-columns: 17px 1fr auto;
  align-items: center;
  gap: 8px;
  color: #aeb9cc;
  font-family: "JetBrains Mono", monospace;
}

.strategy-heading i { color: #718099; font-style: normal; font-size: 10px; }
.strategy-heading b { font-size: 9px; letter-spacing: .14em; font-weight: 600; }
.strategy-heading em { color: #4e5d73; font-size: 8px; font-style: normal; }
.strategy-heading.collapsed {
  margin-top: 2px;
  border-top: 1px solid rgba(255,255,255,.045);
  color: #8995a7;
}

.strategy-list {
  display: flex;
  flex-direction: column;
  padding: 2px 0 0 31px;
}

.open-rail .strategy-list span {
  width: 100%;
  height: 31px;
  padding: 0;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 10px;
  color: #8f9bad;
  font-size: 10px;
  white-space: nowrap;
}

.strategy-list span:first-child { color: #d6dad6; }
.strategy-list span i {
  width: 7px;
  height: 7px;
  flex: 0 0 7px;
  border-radius: 50%;
  background: var(--dot);
  box-shadow: 0 0 8px color-mix(in srgb, var(--dot) 40%, transparent);
}

.rail-footer {
  width: 100%;
  margin-top: auto;
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.rail-token-card {
  margin: 7px 0 8px;
  padding: 10px;
  border: 1px solid rgba(255,255,255,.1);
  border-radius: 7px;
  background: #0a0b0b;
}

.rail-token-card > div {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 7px;
}

.rail-token-card small {
  color: #727772;
  font: 7px "JetBrains Mono", monospace;
  letter-spacing: .06em;
}

.rail-token-card a {
  color: #bfc3bf;
  font: 7px "JetBrains Mono", monospace;
  white-space: nowrap;
}

.rail-token-card strong {
  display: block;
  margin-top: 7px;
  color: #e1e3e0;
  font: 11px "JetBrains Mono", monospace;
  font-weight: 500;
}

.rail-credits {
  margin-top: 9px;
  padding: 10px;
  border: 1px solid rgba(130,145,255,.18);
  border-radius: 8px;
  background: radial-gradient(circle at 100% 100%, rgba(130,145,255,.14), transparent 58%), #0b0c0c;
}

.rail-credits > div {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 10px;
}

.rail-credits > div span {
  width: 21px;
  height: 21px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--accent);
  color: #090a0a;
  font-size: 9px;
  font-weight: 700;
  box-shadow: 0 0 14px rgba(130,145,255,.42);
}

.rail-credits > div b {
  padding: 5px 8px;
  border: 1px solid rgba(255,255,255,.12);
  border-radius: 6px;
  color: #d7dad6;
  font-size: 8px;
  font-weight: 500;
}

.rail-credits small,
.rail-credits strong { display: block; }
.rail-credits small { color: #b1b4b0; font-size: 8px; }
.rail-credits strong { margin-top: 4px; color: #747874; font: 9px "JetBrains Mono", monospace; font-weight: 400; }

.rail-account {
  min-height: 34px;
  padding: 9px 7px 0;
  display: flex;
  justify-content: space-between;
  color: #8d918d;
  font-size: 8px;
}

.rail-account b { color: #c3c6c2; font-weight: 400; }
.rail-account span { width: auto; height: auto; display: inline; }

.rail-logo-crop {
  display: block;
  width: 26px;
  height: 27px;
  overflow: hidden;
}

.rail-logo-crop img {
  display: block;
  width: auto;
  height: 27px;
  max-width: none;
}

.workspace-main {
  min-width: 0;
  display: grid;
  grid-template-rows: 39px 380px minmax(340px, 1fr);
  border-right: 1px solid rgba(255,255,255,.08);
}

.market-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 14px;
  border-bottom: 1px solid rgba(255,255,255,.08);
  background: #090a0a;
  font: 9px "JetBrains Mono", monospace;
}

.market-tabs,
.market-symbol {
  display: flex;
  align-items: center;
  gap: 15px;
}

.market-tabs b { color: #f2f3ef; font-weight: 500; }
.market-tabs span,
.market-symbol span { color: #676b67; }
.market-symbol strong { color: #bfc2be; font-size: 9px; }
.market-symbol i {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 10px rgba(130,145,255,.55);
}

.tradingview-chart {
  position: relative;
  min-width: 0;
  height: 380px;
  overflow: hidden;
  background: #080909;
  border-bottom: 1px solid rgba(255,255,255,.08);
}

.tradingview-widget-container,
.tradingview-widget-container__widget { min-height: 0; }

.tradingview-widget-copyright {
  height: 18px;
  padding-right: 8px;
  text-align: right;
  color: #555955;
  font: 7px "JetBrains Mono", monospace;
  line-height: 18px;
}

.tradingview-widget-copyright a { color: #8e94c8; }

.strategy-workbench {
  min-height: 0;
  display: flex;
  flex-direction: column;
  background: #080909;
}

.workbench-head {
  min-height: 46px;
  padding: 0 16px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid rgba(255,255,255,.08);
}

.workbench-head > div:first-child {
  display: flex;
  align-items: center;
  gap: 11px;
}

.workbench-head small,
.strategy-file,
.strategy-status {
  font-family: "JetBrains Mono", monospace;
  font-size: 8px;
}

.workbench-head small { color: #5e625e; letter-spacing: .09em; }
.workbench-head strong { color: #f0f1ed; font-size: 11px; font-weight: 600; }
.strategy-file { display: flex; align-items: center; gap: 12px; color: #797d79; }
.strategy-file b { color: #aeb7ff; font-size: 7px; letter-spacing: .08em; }

.strategy-editor {
  min-height: 150px;
  flex: 1;
  display: grid;
  grid-template-columns: 38px 1fr;
  overflow: hidden;
}

.line-numbers {
  padding: 12px 10px;
  border-right: 1px solid rgba(255,255,255,.055);
  color: #3f433f;
  text-align: right;
  font: 10px/1.55 "JetBrains Mono", monospace;
}

.strategy-editor pre {
  margin: 0;
  padding: 12px 17px;
  overflow: hidden;
  color: #8f938f;
  font: 10px/1.55 "JetBrains Mono", monospace;
  white-space: pre-wrap;
}

.strategy-editor code > span { color: #bd9cff; }
.strategy-editor code > b { color: #e7e9e5; font-weight: 500; }
.strategy-editor code > em { color: #8eb8ff; font-style: normal; }
.strategy-editor code > i { color: #d7b787; font-style: normal; }

.strategy-status {
  min-height: 32px;
  padding: 0 14px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-top: 1px solid rgba(255,255,255,.07);
  color: #565a56;
}

.strategy-status span:first-child { color: #aeb1ae; }
.strategy-status i {
  display: inline-block;
  width: 5px;
  height: 5px;
  margin-right: 7px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 8px rgba(130,145,255,.55);
}

.omirus-workspace .agent-panel { min-width: 0; background: #080909; }
.omirus-workspace .agent-tabs { height: 39px; padding: 0 14px; }
.omirus-workspace .agent-tabs b { color: #f1f2ef; font-weight: 500; }

.agent-context {
  height: 52px;
  padding: 0 14px;
  display: grid;
  grid-template-columns: 1fr auto;
  align-content: center;
  gap: 2px 10px;
  border-bottom: 1px solid rgba(255,255,255,.075);
  font-family: "JetBrains Mono", monospace;
}

.agent-context span { grid-row: 1 / 3; align-self: center; color: #737773; font-size: 8px; }
.agent-context b { color: #dadcda; font-size: 10px; }
.agent-context em { color: #aeb7ff; font-size: 8px; font-style: normal; text-align: right; }

.omirus-workspace .agent-feed {
  min-height: 0;
  overflow: hidden;
  padding: 14px;
}

.omirus-workspace .message { margin-bottom: 11px; }
.omirus-workspace .message.user { margin-left: 17px; }
.omirus-workspace .message.ai { margin-right: 3px; }
.compact-message { margin-top: 11px; }

.agent-task.complete > span {
  width: 18px;
  height: 18px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: rgba(130,145,255,.12);
  color: #aeb7ff;
  font-size: 9px;
}

.agent-result {
  padding: 12px;
  border: 1px solid rgba(255,255,255,.09);
  border-radius: 7px;
  background: linear-gradient(145deg, rgba(130,145,255,.055), rgba(255,255,255,.015));
}

.agent-result > small {
  display: block;
  margin-bottom: 8px;
  color: #666a66;
  font: 7px "JetBrains Mono", monospace;
  letter-spacing: .09em;
}

.agent-result > div {
  display: flex;
  justify-content: space-between;
  padding: 5px 0;
  border-top: 1px solid rgba(255,255,255,.055);
  font-size: 9px;
}

.agent-result span { color: #777b77; }
.agent-result b { color: #dfe1de; font-size: 9px; }
.agent-result div:first-of-type b { color: #aeb7ff; }

.omirus-workspace .prompt-bar {
  min-height: 39px;
  height: 39px;
  margin: 0 12px 12px;
}

.exchange-connectors {
  position: relative;
  z-index: 3;
  width: min(100%, 720px);
  margin: 30px auto 0;
  text-align: center;
}

.exchange-connectors > small {
  display: block;
  margin-bottom: 16px;
  color: #686d68;
  font: 9px "JetBrains Mono", monospace;
  letter-spacing: .16em;
}

.exchange-connectors > div {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 25px;
}

.exchange-connectors > div > b {
  width: 1px;
  height: 24px;
  background: rgba(255,255,255,.11);
}

.exchange-logo {
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: .9;
  transition: opacity .2s ease, transform .2s ease;
}

.exchange-logo:hover {
  opacity: 1;
  transform: translateY(-1px);
}

.exchange-logo img { display: block; width: auto; object-fit: contain; }
.hyperliquid-logo img { height: 31px; }
.aster-logo img { height: 32px; }
.lighter-logo img { height: 28px; }
.bluefin-logo img { height: 28px; }

.scroll-cue { display: none; }

.ticker-band { height: 56px; border-color: rgba(255,255,255,.075); background: #050606; }
.ticker-track {
  width: max-content;
  gap: 0;
  animation-duration: 44s;
}
.ticker-group {
  display: flex;
  align-items: center;
  gap: 58px;
  flex-shrink: 0;
  padding-right: 58px;
}
.ticker-band .ticker-track span {
  color: #8b908b;
  font-size: 12px;
  line-height: 1;
}
.ticker-band .ticker-track i {
  color: #f0f2ef;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: .04em;
}
.ticker-band .ticker-track b {
  font-size: 12px;
  font-weight: 600;
}
.ticker-track .ticker-up b { color: #35d07f; }
.ticker-track .ticker-down b { color: #ff5b68; }

.lifecycle, .agents, .engine, .pricing, .faq { padding-top: 125px; padding-bottom: 125px; }
.section-intro { grid-template-columns: .6fr 1.25fr .85fr; gap: 50px; margin-bottom: 60px; }
.section-no { border: 0; padding: 0; color: #777c78; font-size: 8px; margin-right: 17px; }
.section-intro h2 { font-size: clamp(33px, 3.7vw, 47px); font-weight: 500; letter-spacing: -.045em; }
.section-intro h2 span, .faq h2 span, .final-cta h2 span { color: #6c706c; }
.section-intro p { color: #7d817e; font-size: 11px; }

.lifecycle { position: relative; }
.lifecycle::before, .engine::before {
  content: "";
  position: absolute;
  left: 0; right: 0;
  height: 420px;
  pointer-events: none;
  background-image: radial-gradient(circle, rgba(255,255,255,.23) .55px, transparent .7px);
  background-size: 5px 5px;
  mask-image: radial-gradient(ellipse, #000 5%, transparent 69%);
  opacity: .25;
}
.lifecycle::before { bottom: -170px; }
.lifecycle-grid { gap: 0; border: 1px solid rgba(255,255,255,.09); }
.steps { border: 0; background: #030404; }
.step { padding: 24px; border-color: rgba(255,255,255,.085); grid-template-columns: 35px 1fr 20px; }
.step b { font-size: 14px; font-weight: 500; }
.step p { color: #878b87; font-size: 11px; }
.step.active { background: #080909; }
.step.active>span, .step.active>i { color: #e7eae6; }
.workflow-card { border: 0; border-left: 1px solid rgba(255,255,255,.09); border-radius: 0; padding: 30px; background: #0a0b0b; box-shadow: none; }
.workflow-head i { background: #eceeeb; box-shadow: 0 0 12px rgba(255,255,255,.3); }
.workflow-card h3 { font-size: 18px; font-weight: 500; }
.scan-stats { border-color: rgba(255,255,255,.09); }
.scan-stats div { border-color: rgba(255,255,255,.09); }
.bar-chart i { background: linear-gradient(90deg, rgba(225,227,224,.07), rgba(225,227,224,.25)); color: #e5e7e4; }
.workflow-log { border-color: rgba(255,255,255,.08); }

.agents { position: relative; overflow: hidden; isolation: isolate; background: #070808; color: #f2f3ef; border-color: rgba(255,255,255,.08); }
.agents-ambient { z-index: 0; background: transparent; }
.agents-ambient .square-field { opacity: .34; }
.agents-ambient .square-top { top: -95px; }
.agents-ambient .square-bottom { bottom: -95px; }
.agents-ambient .center-void { inset: 25% 0; background: linear-gradient(to bottom,transparent,rgba(7,8,8,.94) 22%,#070808 48%,#070808 52%,rgba(7,8,8,.94) 78%,transparent); }
.agents > .section-intro, .agents > .agent-switch, .agents > .strategy-grid { position: relative; z-index: 2; }
.agents .eyebrow { color: var(--accent); }
.agents .section-no { color: #696d69; }
.agents .section-intro h2 span { color: #6e726e; }
.agent-switch { border-color: rgba(255,255,255,.12); }
.agent-switch button { color: #747874; font-size: 11px; }
.agent-switch button.active { color: #eeeeea; border-color: #eeeeea; }
.strategy-grid { gap: 10px; }
.strategy-card { border-color: rgba(255,255,255,.12); background: #0b0c0c; border-radius: 7px; }
.strategy-card.featured:before { background: radial-gradient(circle at 20% 10%, rgba(255,255,255,.045), transparent 42%); }
.strategy-card:hover { border-color: rgba(255,255,255,.32); }
.card-code, .strategy-card>p, .card-metrics span { color: #717571; }
.risk { background: rgba(255,255,255,.055); color: #a5a9a5; }
.strategy-icon { color: #e0e3df; }
.strategy-card h3 { font-weight: 600; }
.tag-row span { background: #131515; color: #777c78; }
.card-metrics { border-color: rgba(255,255,255,.1); }
.card-metrics b, .card-metrics .neutral { color: #e7e9e6; }
.card-chat { min-height: 96px; padding: 12px 0; border-top: 1px solid rgba(255,255,255,.1); border-bottom: 1px solid rgba(255,255,255,.1); display: flex; flex-direction: column; gap: 8px; }
.card-chat-label { align-self: flex-end; display: flex; align-items: center; gap: 6px; color: #6f7470; font: 700 7px/1 "DM Mono", monospace; letter-spacing: .1em; }
.card-chat-label i { width: 5px; height: 5px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 8px rgba(86,193,255,.65); }
.card-chat p { width: fit-content; max-width: 88%; margin: 0; padding: 8px 12px; border: 0; border-radius: 17px 17px 5px 17px; background: #252727; color: #e4e7e5; font-size: 10px; line-height: 1.4; box-shadow: 0 3px 10px rgba(0,0,0,.15); }
.card-chat p:first-child { align-self: flex-end; }
.card-chat p:last-child { align-self: flex-start; border-radius: 17px 17px 17px 5px; background: var(--accent); color: #03131b; box-shadow: 0 5px 18px rgba(86,193,255,.14); }
.card-chat span { margin-right: 6px; color: #969b97; font: 700 7px/1.4 "DM Mono", monospace; letter-spacing: .08em; }
.card-chat p:last-child span { color: rgba(3,19,27,.65); }
.strategy-card>a span { color: #d9ded9; }

.engine { position: relative; overflow: hidden; }
.engine::before { top: -180px; }
.engine .eyebrow { color: var(--accent); }
.engine .section-intro { grid-template-columns: 1.65fr .85fr; }
.engine .section-intro > p { grid-column: auto; }
.engine .section-intro h2 { margin: 22px 0 0; font-size: clamp(20px, 3vw, 38px); white-space: nowrap; }
.code-card { background: #080909; border-color: rgba(255,255,255,.11); border-radius: 8px; box-shadow: none; }
.code-header, .code-status { border-color: rgba(255,255,255,.085); }
.purple, .blue, .green, .orange { color: #d6d9d5; }
.code-status span { color: #e5e7e4; }
.engine-features { border-color: rgba(255,255,255,.1); }
.engine-features article { border-color: rgba(255,255,255,.1); }
.engine-features article>span { color: #848985; }
.engine-features h3 { font-weight: 500; }
.engine-features p { color: #7f837f; }

.pricing { background: #050606; border-color: rgba(255,255,255,.08); }
.compact.centered { max-width: 650px; }
.pricing-grid { gap: 10px; }
.price-card { padding: 27px; border-color: rgba(255,255,255,.11); border-radius: 8px; background: #090a0a; }
.price-card.popular { border-color: rgba(255,255,255,.3); background: #0e0f0f; box-shadow: none; }
.popular-label { background: #ededE9; color: #0a0b0a; }
.plan-name span { font-size: 15px; }
.price-card h3 { font-size: 36px; font-weight: 500; }
.price-card>p, .price-card li { color: #878b87; }
.price-card ul, .credit-selector { border-color: rgba(255,255,255,.09); }
.price-card li:before { color: #ddd; }
.credit-selector { background: #090a0a; }
.credit-selector input { accent-color: #e6e8e4; }
.button-outline { color: #eceeeb; border-color: rgba(255,255,255,.28); background: transparent; }

.wallet-showcase { --wallet-light-x: 27%; position: relative; overflow: hidden; padding-top: 120px; padding-bottom: 105px; background: #050606; border-top: 1px solid rgba(255,255,255,.08); }
.wallet-showcase::before,
.wallet-showcase::after { content: ""; position: absolute; z-index: 0; left: -4%; width: 108%; height: 310px; pointer-events: none; background: radial-gradient(ellipse 27% 62% at var(--wallet-light-x) 50%,rgba(116,87,255,.14),rgba(83,83,211,.045) 46%,transparent 74%); filter: blur(22px); opacity: .56; animation: wallet-section-glow 8s ease-in-out infinite; }
.wallet-showcase::before { top: -105px; }
.wallet-showcase::after { bottom: -105px; transform: scaleY(-1); animation-delay: -4s; }
@keyframes wallet-section-glow {
  0%,100% { opacity: .4; filter: blur(26px); }
  50% { opacity: .66; filter: blur(18px); }
}
.wallet-showcase-shell { position: relative; z-index: 2; max-width: var(--max); min-height: 680px; margin: auto; display: grid; grid-template-columns: .9fr 1.1fr; align-items: center; }
.wallet-device-stage { position: relative; z-index: 1; min-height: 680px; display: grid; place-items: center; isolation: isolate; }
.wallet-phone { position: relative; z-index: 1; width: 310px; height: 630px; padding: 9px; border: 1px solid rgba(255,255,255,.27); border-radius: 44px; background: linear-gradient(145deg,#242626,#101212); box-shadow: 0 45px 100px rgba(0,0,0,.58),0 0 0 5px rgba(255,255,255,.025),0 0 55px rgba(130,145,255,.1); transform: rotate(-1.5deg); }
.wallet-phone::before { content: ""; position: absolute; z-index: 3; top: 13px; left: 50%; width: 82px; height: 21px; transform: translateX(-50%); border-radius: 20px; background: #030404; }
.wallet-phone-top { position: absolute; z-index: 4; top: 17px; left: 25px; right: 24px; display: flex; align-items: center; justify-content: space-between; color: #a5aaa6; font: 7px/1 "DM Mono",monospace; }
.wallet-phone-top i { width: 54px; }
.wallet-phone-top b { font-size: 5px; letter-spacing: 1px; }
.wallet-phone-body { position: relative; height: 100%; padding: 43px 16px 14px; overflow: hidden; border-radius: 35px; background: radial-gradient(circle at 72% -5%,rgba(130,145,255,.24),transparent 28%),radial-gradient(circle at 5% 20%,rgba(86,193,255,.1),transparent 25%),#08090c; }
.wallet-app-header { height: 36px; display: grid; grid-template-columns: 1fr 92px 1fr; align-items: center; }
.wallet-app-header > img { width: 92px; height: auto; opacity: .92; }
.wallet-profile,.wallet-more { padding: 0; border: 0; background: none; color: #e8eaf0; }
.wallet-profile { display: flex; align-items: center; gap: 7px; text-align: left; }
.wallet-profile > span { width: 25px; height: 25px; display: grid; place-items: center; border-radius: 50%; background: linear-gradient(145deg,#9aa7ff,#6170df); color: #070810; font-size: 10px; font-weight: 800; }
.wallet-profile b { font-size: 8px; font-weight: 600; line-height: 1.15; white-space: nowrap; }
.wallet-profile small { display: block; margin-top: 2px; color: #717786; font-size: 6px; font-weight: 500; }
.wallet-profile i { color: #777e8d; font-size: 8px; font-style: normal; }
.wallet-more { justify-self: end; font-size: 10px; letter-spacing: 1px; }
.wallet-balance-card { padding: 24px 0 19px; text-align: center; }
.wallet-balance-card small,.wallet-balance-card strong,.wallet-balance-card span { display: block; }
.wallet-balance-card small,.wallet-token-reward small { color: #6f7584; font: 7px/1 "DM Mono",monospace; letter-spacing: .1em; }
.wallet-balance-card strong { margin-top: 9px; color: #f3f4f8; font-size: 31px; font-weight: 600; letter-spacing: -.05em; }
.wallet-balance-card span { margin-top: 7px; color: #747a88; font-size: 8px; }
.wallet-balance-card span b { color: #5dd8a0; font-weight: 600; }
.wallet-action-row { display: grid; grid-template-columns: repeat(4,1fr); gap: 9px; margin-bottom: 23px; }
.wallet-action-row button { display: grid; justify-items: center; gap: 6px; padding: 0; border: 0; background: none; color: #aeb3c0; font-size: 7px; }
.wallet-action-row button i { width: 38px; height: 38px; display: grid; place-items: center; border-radius: 14px; background: rgba(130,145,255,.14); color: #b9c2ff; font-size: 15px; font-style: normal; box-shadow: inset 0 0 0 1px rgba(130,145,255,.16); }
.wallet-action-row button:last-child i { background: linear-gradient(145deg,#97a3ff,#6877e5); color: #080914; box-shadow: 0 8px 24px rgba(104,119,229,.28); }
.wallet-assets-head { display: flex; align-items: center; justify-content: space-between; padding-bottom: 9px; border-bottom: 1px solid rgba(255,255,255,.075); }
.wallet-assets-head b { color: #f0f1f5; font-size: 11px; font-weight: 600; }
.wallet-assets-head button { border: 0; background: none; color: #6e7482; font-size: 8px; }
.wallet-assets > div { display: grid; grid-template-columns: 34px 1fr auto; align-items: center; gap: 10px; padding: 12px 0; border-bottom: 1px solid rgba(255,255,255,.055); }
.wallet-assets .coin { width: 32px; height: 32px; display: grid; place-items: center; overflow: hidden; border-radius: 50%; background: rgba(255,255,255,.035); font-style: normal; }
.wallet-assets .coin img { display: block; width: 32px; height: 32px; object-fit: contain; }
.wallet-assets .eth img { width: 25px; height: 25px; }
.wallet-assets span b,.wallet-assets span small,.wallet-assets em b,.wallet-assets em small { display: block; }
.wallet-assets span b,.wallet-assets em b { color: #e8eaf0; font-size: 9px; font-weight: 550; }
.wallet-assets span small,.wallet-assets em small { margin-top: 3px; color: #6e7482; font-size: 7px; }
.wallet-assets em { text-align: right; font-style: normal; }
.wallet-assets em small.positive { color: #55ce96; }
.wallet-token-reward { display: flex; align-items: center; justify-content: space-between; margin-top: 13px; padding: 11px 12px 8px; border-radius: 11px 11px 3px 3px; background: linear-gradient(110deg,rgba(130,145,255,.14),rgba(86,193,255,.05)); }
.wallet-token-reward small,.wallet-token-reward strong { display: block; }
.wallet-token-reward strong { margin-top: 5px; color: #c8ceff; font-size: 10px; font-weight: 600; }
.wallet-token-reward > span { color: #8f9aff; font-size: 7px; }
.wallet-reward-track { height: 3px; overflow: hidden; border-radius: 0 0 8px 8px; background: rgba(255,255,255,.06); }
.wallet-reward-track i { display: block; width: 62%; height: 100%; background: linear-gradient(90deg,#8291ff,#60c8f3); box-shadow: 0 0 10px rgba(130,145,255,.5); }
.wallet-app-nav { position: absolute; left: 13px; right: 13px; bottom: 8px; display: grid; grid-template-columns: repeat(4,1fr); padding-top: 8px; border-top: 1px solid rgba(255,255,255,.065); }
.wallet-app-nav button { display: grid; justify-items: center; gap: 2px; padding: 0; border: 0; background: none; color: #555c6b; }
.wallet-app-nav button i { font-size: 12px; font-style: normal; line-height: 1; }
.wallet-app-nav button span { font-size: 6px; }
.wallet-app-nav button.active { color: #aeb8ff; }
.wallet-showcase-copy { position: relative; z-index: 1; padding: 50px 0 50px 82px; }
.wallet-showcase-copy > .eyebrow { color: var(--accent); }
.wallet-showcase-copy h2 { margin: 25px 0 24px; color: #f0f2ef; font-size: clamp(38px,4.2vw,57px); font-weight: 500; line-height: 1.02; letter-spacing: -.055em; }
.wallet-showcase-copy h2 span { color: #696f6a; }
.wallet-showcase-copy > p { max-width: 560px; margin: 0; color: #898f8a; font-size: 14px; line-height: 1.75; }
.wallet-benefits { margin-top: 34px; border-top: 1px solid rgba(255,255,255,.09); }
.wallet-benefits article { display: grid; grid-template-columns: 34px 1fr; gap: 12px; padding: 17px 0; border-bottom: 1px solid rgba(255,255,255,.09); }
.wallet-benefits article > span { color: var(--accent); font: 9px/1.6 "DM Mono",monospace; }
.wallet-benefits h3 { margin: 0 0 5px; color: #e8ebe7; font-size: 14px; font-weight: 500; }
.wallet-benefits p { margin: 0; color: #747a75; font-size: 11px; line-height: 1.55; }
.wallet-showcase-actions { display: flex; align-items: center; gap: 20px; margin-top: 28px; }
.wallet-showcase-actions small { max-width: 260px; color: #626863; font-size: 8px; line-height: 1.5; }

.faq { gap: 110px; }
.faq-title .section-no { color: #707470; }
.faq h2 { font-size: 46px; font-weight: 500; }
.faq-title p a { color: #d4d8d4; }
.accordion, .accordion article { border-color: rgba(255,255,255,.1); }
.accordion button { font-size: 13px; font-weight: 500; }
.accordion button i { color: #aeb2ae; font-weight: 400; }
.accordion article>div p { color: #858985; }

.final-cta {
  padding-top: 135px;
  padding-bottom: 150px;
  border-color: rgba(255,255,255,.08);
  background: #020303;
}
.final-cta::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: radial-gradient(circle, rgba(255,255,255,.32) .6px, transparent .75px);
  background-size: 5px 5px;
  mask-image: radial-gradient(ellipse 55% 50% at 50% 100%, #000, transparent 70%);
  opacity: .34;
}
.cta-glow { display: none; }
.final-cta h2 { max-width: 780px; font-size: clamp(38px,4.6vw,60px); font-weight: 500; }
.final-cta p { color: #858985; font-size: 12px; }
.button-light { border-radius: 999px; }

footer { background: #020303; border-color: rgba(255,255,255,.08); padding-top: 60px; }
.footer-main b { color: #626662; }
.footer-main a:not(.brand) { color: #9a9e9a; }
.footer-brand p, .footer-bottom { color: #646864; }
.footer-bottom { border-color: rgba(255,255,255,.08); }

/* Controlled color accents */
.nav-shell nav a:hover,
.nav-shell .text-link:hover { color: #fff; }

.pulse {
  background: var(--accent);
  box-shadow: 0 0 14px rgba(130,145,255,.7);
}

.hero h1 span {
  color: #f5f6f4;
  background: none;
  background-clip: border-box;
  -webkit-background-clip: border-box;
}

.live-pill,
.price em,
.mint,
.agent-tabs b,
.agent-task strong,
.ticker-track b { color: #aeb7ff; }

.live-pill i {
  background: var(--accent);
  box-shadow: 0 0 12px rgba(130,145,255,.72);
}

.chart .line { stroke: var(--accent); }
.chart-tag { background: var(--accent); color: #080915; }
.tool-rail .active { background: var(--accent); color: #080915; }
.spinner { border-top-color: var(--accent); }

.section-no,
.step.active>span,
.step.active>i,
.engine-features article>span { color: var(--accent); }

.step.active { border-left-color: var(--accent); background: linear-gradient(90deg, rgba(130,145,255,.075), transparent); }
.workflow-head i { background: var(--accent); box-shadow: 0 0 13px rgba(130,145,255,.55); }
.bar-chart i { background: linear-gradient(90deg, rgba(130,145,255,.08), rgba(130,145,255,.36)); color: #c7cdff; }
.agent-switch button.active { border-color: var(--accent); }

.strategy-card:first-child .strategy-icon { color: var(--accent); }
.strategy-card:nth-child(2) .strategy-icon { color: var(--accent-soft); }
.strategy-card:nth-child(3) .strategy-icon { color: var(--accent-warm); }
.strategy-card>a span { color: var(--accent); }
.card-metrics b { color: #aeb7ff; }
.card-metrics .neutral { color: #d9dcda; }

.purple { color: #bd9cff; }
.blue { color: #8eb8ff; }
.green { color: #9ca8ff; }
.orange { color: var(--accent-warm); }
.code-status span { color: #aeb7ff; }
.code-status i { background: var(--accent); box-shadow: 0 0 9px rgba(130,145,255,.5); }

.price-card.popular {
  border-color: rgba(130,145,255,.48);
  background: linear-gradient(180deg, rgba(130,145,255,.09), #0e0f0f 34%);
}
.popular-label { background: var(--accent); color: #080915; }
.credit-selector input { accent-color: var(--accent); }
.price-card li:before { color: #aeb7ff; }
.accordion button i,
.faq-title p a { color: #aeb7ff; }

.final-cta {
  background:
    radial-gradient(circle at 50% 110%, rgba(130,145,255,.13), transparent 42%),
    #020303;
}

/* Readable typography system */
body {
  font-family: Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 16px;
  line-height: 1.55;
  font-feature-settings: "cv02", "cv03", "cv04", "cv11";
}

.eyebrow,
.section-no,
.terminal-title,
.live-pill,
.panel-heading small,
.metrics-strip span,
.workflow-head,
.scan-stats small,
.card-code,
.risk,
.card-metrics span,
.code-header,
.code-card pre,
.code-status,
.plan-name b,
.popular-label,
.credit-selector small,
.ticker-track span {
  font-family: "JetBrains Mono", ui-monospace, SFMono-Regular, monospace;
}

.brand { font-size: 17px; }
.nav-shell nav a, .text-link { font-size: 17px; }
.button { font-size: 13px; line-height: 1.2; }
.eyebrow { font-size: 11px; }
.hero-lead { font-size: 16px; line-height: 1.7; max-width: 420px; }

.terminal-title, .live-pill { font-size: 10px; }
.panel-heading small { font-size: 9px; }
.panel-heading strong, .price b { font-size: 15px; }
.price em { font-size: 11px; }
.agent-tabs { font-size: 11px; }
.message { font-size: 11px; line-height: 1.6; }
.agent-task b, .agent-task small { font-size: 10px; }
.agent-task strong { font-size: 11px; }
.prompt-bar { font-size: 10px; }
.metrics-strip span { font-size: 9px; }
.metrics-strip b { font-size: 14px; }
.ticker-track span { font-size: 10px; }

.section-no { font-size: 10px; }
.section-intro p { font-size: 14px; line-height: 1.75; }
.step>span { font-size: 10px; }
.step b { font-size: 17px; }
.step p { font-size: 13px; line-height: 1.7; }
.workflow-head { font-size: 10px; }
.workflow-card h3 { font-size: 21px; }
.scan-stats small { font-size: 9px; }
.scan-stats b { font-size: 18px; }
.bar-chart span, .bar-chart i, .workflow-log { font-size: 11px; }

.agent-switch button { font-size: 13px; }
.card-code, .risk { font-size: 10px; }
.strategy-card h3 { font-size: 22px; }
.strategy-card>p { font-size: 13px; line-height: 1.7; min-height: 75px; }
.tag-row span { font-size: 10px; }
.card-metrics span { font-size: 9px; }
.card-metrics b { font-size: 14px; }
.strategy-card>a { font-size: 13px; }

.code-header, .code-status { font-size: 10px; }
.code-card pre { font-size: 12px; line-height: 1.9; }
.engine-features article>span { font-size: 11px; }
.engine-features h3 { font-size: 18px; }
.engine-features p { font-size: 13px; line-height: 1.7; }

.plan-name span { font-size: 17px; }
.plan-name b, .popular-label { font-size: 9px; }
.price-card h3 small { font-size: 12px; }
.price-card>p, .price-card li { font-size: 13px; line-height: 1.65; }
.credit-selector div { font-size: 13px; }
.credit-selector small { font-size: 9px; }

.faq-title p { font-size: 14px; }
.accordion button { font-size: 15px; line-height: 1.4; }
.accordion article>div p { font-size: 14px; line-height: 1.75; }
.final-cta p { font-size: 15px; line-height: 1.75; }

.footer-brand p { font-size: 13px; line-height: 1.7; }
.footer-main b { font-size: 12px; }
.footer-main a:not(.brand) { font-size: 13px; }
.footer-bottom { font-size: 11px; }
.footer-bottom small { font-size: 10px; line-height: 1.6; }

@media (max-width: 1000px) {
  .hero-copy { column-gap: 50px; }
  .section-intro { grid-template-columns: .5fr 1.5fr; }
  .section-intro>p { grid-column: 2; }
  .omirus-workspace { grid-template-columns: 180px minmax(0, 1fr); }
  .rail-item { padding-left: 6px; padding-right: 6px; font-size: 10px; }
  .rail-brand-wide img { max-width: 145px; height: 22px; }
  .workspace-main { border-right: 0; }
}

@media (max-width: 680px) {
  .nav-shell { top: 9px; width: calc(100% - 18px); height: 64px; }
  .nav-shell.menu-open nav { margin: 0; }
  .brand-logo { height: 40px; }
  .hero { min-height: auto; padding-top: 126px; padding-bottom: 68px; }
  .hero::before { mask-image: radial-gradient(ellipse 120% 30% at 50% 0%, #000, transparent 72%); }
  .square-field { --grid-size: 42px; height: 330px; opacity: .52; }
  .square-top { top: -40px; }
  .square-bottom { bottom: -40px; }
  .center-void { inset: 26% 0; }
  .hero-copy { display: block; }
  .hero h1 { font-size: 36px; margin-top: 19px; line-height: 1.1; }
  .hero-lead { margin-top: 22px; font-size: 15px; }
  .hero-actions { margin-top: 23px; }
  .terminal { margin-top: 40px; border-radius: 8px; }
  .terminal-body { min-height: 360px; grid-template-columns: 1fr; }
  .omirus-workspace { display: block; }
  .omirus-workspace .tool-rail { display: none; }
  .workspace-main { grid-template-rows: 38px 280px minmax(245px, auto); }
  .tradingview-chart { height: 280px; }
  .market-toolbar { padding: 0 10px; }
  .market-tabs { gap: 10px; }
  .market-tabs span:last-child { display: none; }
  .strategy-file span { display: none; }
  .strategy-editor pre { padding-right: 10px; font-size: 9px; }
  .omirus-workspace .agent-panel {
    display: flex;
    min-height: 500px;
    border-top: 1px solid rgba(255,255,255,.1);
  }
  .exchange-connectors > div {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 20px 22px;
    max-width: 390px;
    margin: 0 auto;
  }
  .exchange-connectors > div > b { display: none; }
  .hyperliquid-logo img { height: 24px; }
  .aster-logo img { height: 25px; }
  .lighter-logo img { height: 23px; }
  .bluefin-logo img { height: 23px; }
  .market-panel { width: 100%; border-right: 0; }
  .chart-wrap { height: 245px; }
  .ticker-band { display: flex; }
  .lifecycle, .agents, .engine, .pricing, .faq { padding-top: 90px; padding-bottom: 90px; }
  .section-intro { display: block; }
  .section-intro h2 { margin-top: 24px; font-size: 35px; }
  .lifecycle-grid { border: 0; }
  .steps { border: 1px solid rgba(255,255,255,.09); }
  .workflow-card { border: 1px solid rgba(255,255,255,.09); margin-top: 10px; }
  .bar-chart div {
    display: grid;
    grid-template-columns: 92px 1fr;
    gap: 10px;
    height: 42px;
    margin-left: 0;
    border-left: 0;
  }
  .bar-chart span {
    position: static;
    align-self: center;
    text-align: right;
    font-size: 10px;
  }
  .bar-chart i,
  .bar-chart .negative i {
    position: static;
    align-self: center;
    justify-content: flex-start;
    padding-left: 10px;
    padding-right: 4px;
    font-size: 9px;
  }
  .strategy-card { background: #0b0c0c; }
  .faq { gap: 45px; }
  .footer-main { gap: 38px; }
  .strategy-card>p { min-height: 0; }
  .code-card pre { font-size: 11px; }
  .accordion button { font-size: 14px; }
}

/* Strategy lifecycle workspace */
.lifecycle .section-intro { margin-bottom: 54px; }

.lifecycle-grid {
  grid-template-columns: minmax(330px, .72fr) minmax(0, 1.28fr);
  gap: 16px;
  border: 0;
  background: transparent;
}

.lifecycle-grid .steps {
  display: grid;
  gap: 9px;
  align-content: start;
  padding: 10px;
  border: 1px solid rgba(255,255,255,.09);
  border-radius: 18px;
  background: linear-gradient(180deg, #080909, #050606);
}

.lifecycle-grid .step {
  min-height: 150px;
  grid-template-columns: 42px minmax(0, 1fr) 20px;
  gap: 15px;
  align-items: start;
  padding: 21px 20px;
  border: 1px solid transparent;
  border-radius: 13px;
  background: transparent;
  text-align: left;
  transition: border-color .25s ease, background .25s ease, transform .25s ease;
}

.lifecycle-grid .step:hover {
  transform: translateX(2px);
  border-color: rgba(255,255,255,.09);
  background: rgba(255,255,255,.025);
}

.lifecycle-grid .step.active {
  border-color: rgba(130,145,255,.28);
  background:
    radial-gradient(circle at 0 0, rgba(130,145,255,.15), transparent 42%),
    linear-gradient(120deg, rgba(130,145,255,.08), rgba(255,255,255,.015));
  box-shadow: inset 3px 0 0 var(--accent), 0 16px 45px rgba(0,0,0,.18);
}

.lifecycle-grid .step > span {
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border: 1px solid rgba(255,255,255,.11);
  border-radius: 10px;
  color: #737873;
  background: #050606;
  font: 10px "JetBrains Mono", monospace;
}

.lifecycle-grid .step.active > span {
  color: #eef0ff;
  border-color: rgba(130,145,255,.36);
  background: rgba(130,145,255,.13);
}

.lifecycle-grid .step small {
  display: block;
  margin-bottom: 9px;
  color: #747a75;
  font: 8px "JetBrains Mono", monospace;
  letter-spacing: .12em;
}

.lifecycle-grid .step.active small { color: #aeb7ff; }
.lifecycle-grid .step b { display: block; color: #eceeeb; font-size: 16px; line-height: 1.35; }
.lifecycle-grid .step p { margin: 9px 0 0; color: #7e837e; font-size: 12px; line-height: 1.58; }
.lifecycle-grid .step > i { margin-top: 8px; color: #656a65; font-size: 13px; font-style: normal; }
.lifecycle-grid .step.active > i { color: #b8c0ff; }

.lifecycle-grid .workflow-card {
  min-width: 0;
  min-height: 560px;
  padding: 0;
  overflow: hidden;
  border: 1px solid rgba(255,255,255,.1);
  border-radius: 18px;
  background:
    radial-gradient(circle at 82% 0, rgba(130,145,255,.08), transparent 32%),
    #080909;
  box-shadow: 0 30px 80px rgba(0,0,0,.28), inset 0 1px rgba(255,255,255,.025);
}

.workflow-shell-head {
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 18px;
  border-bottom: 1px solid rgba(255,255,255,.08);
  color: #919691;
  font: 9px "JetBrains Mono", monospace;
  letter-spacing: .08em;
}

.workflow-shell-head > div { display: flex; align-items: center; gap: 9px; }
.workflow-shell-head small { color: #5f645f; font: inherit; }
.workflow-shell-head b { color: #aeb7ff; font-weight: 500; }
.workspace-dot { width: 6px; height: 6px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 12px rgba(130,145,255,.7); }

.workflow-panel {
  min-height: 510px;
  padding: 28px 30px 24px;
  animation: lifecycle-panel-in .38s ease both;
}

.workflow-panel[hidden] { display: none; }

.workflow-panel-top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 22px;
}

.phase-label {
  display: block;
  margin-bottom: 10px;
  color: #aeb7ff;
  font: 9px "JetBrains Mono", monospace;
  letter-spacing: .13em;
}

.workflow-panel h3 {
  max-width: 540px;
  margin: 0;
  color: #f0f2ef;
  font-size: clamp(21px, 2vw, 28px);
  font-weight: 500;
  line-height: 1.18;
  letter-spacing: -.025em;
}

.status-chip {
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 7px 9px;
  border: 1px solid rgba(130,145,255,.2);
  border-radius: 999px;
  color: #aeb7ff;
  background: rgba(130,145,255,.07);
  font: 8px "JetBrains Mono", monospace;
  letter-spacing: .08em;
}

.status-chip i { width: 5px; height: 5px; border-radius: 50%; background: currentColor; box-shadow: 0 0 8px currentColor; }
.status-chip.live { color: #44d88d; border-color: rgba(68,216,141,.2); background: rgba(68,216,141,.06); }
.status-chip.approval { color: #f0b55b; border-color: rgba(240,181,91,.22); background: rgba(240,181,91,.06); }

.workflow-panel-copy { max-width: 650px; margin: 14px 0 20px; color: #818681; font-size: 12px; line-height: 1.65; }

.workflow-kpis {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  margin-bottom: 18px;
  border: 1px solid rgba(255,255,255,.08);
  border-radius: 11px;
  background: rgba(255,255,255,.015);
}

.workflow-kpis div { padding: 13px 15px; border-right: 1px solid rgba(255,255,255,.08); }
.workflow-kpis div:last-child { border-right: 0; }
.workflow-kpis small, .workflow-kpis b { display: block; }
.workflow-kpis small { margin-bottom: 7px; color: #696e69; font: 8px "JetBrains Mono", monospace; letter-spacing: .05em; }
.workflow-kpis b { color: #e6e8e5; font: 16px "JetBrains Mono", monospace; font-weight: 500; }
.workflow-kpis .positive { color: #55da96; }

.chart-frame {
  position: relative;
  overflow: hidden;
  padding: 14px 14px 8px;
  border: 1px solid rgba(255,255,255,.08);
  border-radius: 12px;
  background:
    linear-gradient(180deg, rgba(255,255,255,.018), transparent),
    #050606;
}

.chart-meta { display: flex; align-items: center; justify-content: space-between; padding: 0 2px 10px; color: #727772; font: 8px "JetBrains Mono", monospace; letter-spacing: .06em; }
.chart-meta b { color: #6f746f; font-weight: 400; }
.chart-meta b i { color: #b6beff; font-style: normal; }
.chart-frame svg { display: block; width: 100%; height: 230px; overflow: visible; }
.chart-grid-lines path { fill: none; stroke: rgba(255,255,255,.055); stroke-width: 1; }
.chart-line { fill: none; stroke-linecap: round; stroke-linejoin: round; }
.chart-line.primary { stroke: #8a98ff; stroke-width: 2.2; filter: drop-shadow(0 0 7px rgba(130,145,255,.35)); }
.chart-line.secondary { stroke: rgba(72,213,196,.58); stroke-width: 1.2; stroke-dasharray: 5 6; }
.chart-line.benchmark { stroke: rgba(255,255,255,.28); stroke-width: 1; stroke-dasharray: 4 7; }
.workflow-panel.active .chart-line.primary { stroke-dasharray: 1200; stroke-dashoffset: 1200; animation: lifecycle-line-draw 1.1s .08s ease forwards; }
.signal-points circle, .variant-points circle { fill: #0b0c0c; stroke: #8a98ff; stroke-width: 2; }
.signal-points .hot, .variant-points .selected { fill: #8a98ff; filter: drop-shadow(0 0 8px rgba(130,145,255,.8)); }
.chart-axis { display: flex; justify-content: space-between; padding: 0 2px; color: #4f544f; font: 7px "JetBrains Mono", monospace; }

.signal-row { display: flex; flex-wrap: wrap; gap: 18px; margin-top: 15px; color: #7b807b; font: 9px "JetBrains Mono", monospace; }
.signal-row span { display: flex; align-items: center; gap: 7px; }
.signal-row i { width: 6px; height: 6px; border-radius: 50%; }
.purple-dot { background: #8a98ff; box-shadow: 0 0 8px rgba(138,152,255,.5); }
.blue-dot { background: #48d5c4; }
.red-dot { background: #ff6675; }

.regime-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 7px;
  margin-top: 13px;
}

.regime-row div { padding: 10px 11px; border: 1px solid rgba(255,255,255,.07); border-radius: 9px; background: rgba(255,255,255,.015); }
.regime-row span, .regime-row b { display: block; font-family: "JetBrains Mono", monospace; }
.regime-row span { margin-bottom: 6px; color: #5f645f; font-size: 7px; }
.regime-row b { color: #55da96; font-size: 11px; font-weight: 500; }
.regime-row .negative b, .regime-row div:last-child b { color: #ff7582; }

.execution-chart .profit-zone { fill: rgba(68,216,141,.055); }
.execution-chart .risk-zone { fill: rgba(255,91,104,.055); }
.execution-chart .level { fill: none; stroke-width: 1; stroke-dasharray: 5 5; }
.execution-chart .target { stroke: rgba(68,216,141,.65); }
.execution-chart .entry { stroke: rgba(138,152,255,.75); }
.execution-chart .stop { stroke: rgba(255,91,104,.68); }
.entry-point { fill: #8a98ff; stroke: #0b0c0c; stroke-width: 3; filter: drop-shadow(0 0 8px rgba(138,152,255,.75)); }
.level-labels text { fill: #7a807a; font: 8px "JetBrains Mono", monospace; }

.execution-route { display: grid; grid-template-columns: 1fr auto 1fr auto 1fr; align-items: center; gap: 9px; margin-top: 13px; }
.execution-route > span { display: flex; align-items: center; gap: 8px; min-width: 0; padding: 9px 10px; border: 1px solid rgba(255,255,255,.07); border-radius: 9px; color: #878c87; font: 8px "JetBrains Mono", monospace; }
.execution-route > span i { display: grid; place-items: center; flex: 0 0 auto; width: 20px; height: 20px; border-radius: 6px; background: rgba(130,145,255,.1); color: #b7bfff; font-style: normal; }
.execution-route > b { color: #454a45; font-weight: 400; }
.execution-route .pending { border-color: rgba(240,181,91,.2); color: #d8ae6f; }
.execution-route .pending i { color: #f0b55b; background: rgba(240,181,91,.09); }

@keyframes lifecycle-panel-in { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }
@keyframes lifecycle-line-draw { to { stroke-dashoffset: 0; } }

/* Minimal lifecycle refinement */
.lifecycle .section-intro { margin-bottom: 40px; }

.lifecycle-grid {
  align-items: start;
  grid-template-columns: minmax(300px, .88fr) minmax(0, 1.12fr);
  gap: 18px;
}

.lifecycle-grid .steps {
  display: block;
  padding: 6px 14px;
  border: 1px solid rgba(255,255,255,.085);
  border-radius: 10px;
  background: #060707;
}

.lifecycle-grid .step {
  min-height: 0;
  grid-template-columns: 30px minmax(0, 1fr) 16px;
  gap: 11px;
  padding: 18px 2px;
  border: 0;
  border-bottom: 1px solid rgba(255,255,255,.09);
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}

.lifecycle-grid .step:hover {
  transform: none;
  border-color: rgba(255,255,255,.16);
  background: transparent;
}

.lifecycle-grid .step.active {
  border-color: rgba(130,145,255,.52);
  background: transparent;
  box-shadow: none;
}

.lifecycle-grid .step > span,
.lifecycle-grid .step.active > span {
  display: block;
  width: auto;
  height: auto;
  padding-top: 2px;
  border: 0;
  border-radius: 0;
  color: #666b66;
  background: transparent;
}

.lifecycle-grid .step.active > span { color: #aeb7ff; }
.lifecycle-grid .step small { margin-bottom: 6px; font-size: 7px; }
.lifecycle-grid .step b { font-size: 14px; font-weight: 500; }
.lifecycle-grid .step p { max-width: 330px; margin-top: 6px; font-size: 10px; line-height: 1.5; }
.lifecycle-grid .step > i { margin-top: 4px; font-size: 11px; }

.lifecycle-grid .workflow-card {
  min-height: 0;
  overflow: hidden;
  border: 1px solid rgba(255,255,255,.085);
  border-radius: 10px;
  background: #070808;
  box-shadow: none;
}

.workflow-shell-head { height: 40px; padding: 0 15px; font-size: 8px; }
.workflow-panel { min-height: 0; padding: 20px 18px 17px; }
.workflow-panel h3 { font-size: clamp(18px, 1.7vw, 22px); }
.phase-label { margin-bottom: 7px; font-size: 8px; }
.workflow-panel-copy { margin: 10px 0 14px; font-size: 10px; line-height: 1.55; }

.status-chip,
.status-chip.live,
.status-chip.approval {
  padding: 1px 0;
  border: 0;
  border-radius: 0;
  background: transparent;
}

.workflow-kpis {
  margin-bottom: 13px;
  border: 0;
  border-top: 1px solid rgba(255,255,255,.08);
  border-bottom: 1px solid rgba(255,255,255,.08);
  border-radius: 0;
  background: transparent;
}

.workflow-kpis div { padding: 9px 0; border-right: 0; }
.workflow-kpis div + div { padding-left: 15px; border-left: 1px solid rgba(255,255,255,.08); }
.workflow-kpis small { margin-bottom: 5px; font-size: 7px; }
.workflow-kpis b { font-size: 13px; }

.chart-frame {
  padding: 10px 0 6px;
  border: 0;
  border-bottom: 1px solid rgba(255,255,255,.07);
  border-radius: 0;
  background: transparent;
}

.chart-meta { padding-bottom: 7px; font-size: 7px; }
.chart-frame svg { height: 150px; }
.chart-axis { font-size: 6px; }
.signal-row { gap: 13px; margin-top: 10px; font-size: 8px; }

.regime-row { gap: 0; }
.regime-row div {
  padding: 7px 0;
  border: 0;
  border-radius: 0;
  background: transparent;
}
.regime-row div + div { padding-left: 10px; border-left: 1px solid rgba(255,255,255,.08); }
.regime-row span { margin-bottom: 4px; font-size: 6px; }
.regime-row b { font-size: 9px; }

.execution-route { gap: 9px; margin-top: 8px; }
.execution-route > span {
  padding: 5px 0;
  border: 0;
  border-radius: 0;
  background: transparent;
}
.execution-route > span { font-size: 7px; }
.execution-route .pending { border: 0; }
.execution-route > span i,
.execution-route .pending i {
  width: auto;
  height: auto;
  border-radius: 0;
  background: transparent;
}

@media (max-width: 1000px) {
  .lifecycle-grid { grid-template-columns: 1fr; }
  .lifecycle-grid .steps { grid-template-columns: repeat(3, 1fr); }
  .lifecycle-grid .step { min-height: 145px; grid-template-columns: 30px minmax(0, 1fr); padding: 15px 12px; }
  .lifecycle-grid .step > i { display: none; }
  .lifecycle-grid .workflow-card { margin-top: 0; }
}

@media (max-width: 680px) {
  .lifecycle .section-intro { margin-bottom: 36px; }
  .lifecycle-grid .steps { display: grid; grid-template-columns: 1fr; padding: 7px; }
  .lifecycle-grid .step { min-height: 0; grid-template-columns: 30px minmax(0, 1fr) 16px; padding: 15px 5px; }
  .lifecycle-grid .step > i { display: block; }
  .lifecycle-grid .step p { font-size: 10px; }
  .workflow-shell-head { padding: 0 13px; font-size: 8px; }
  .workflow-shell-head small { display: none; }
  .workflow-panel { padding: 17px 12px 14px; }
  .workflow-panel-top { display: block; }
  .status-chip { margin-top: 14px; }
  .workflow-panel h3 { font-size: 19px; }
  .workflow-panel-copy { font-size: 10px; }
  .workflow-kpis div { padding: 11px 9px; }
  .workflow-kpis small { font-size: 7px; line-height: 1.4; }
  .workflow-kpis b { font-size: 13px; }
  .chart-frame { padding: 9px 0 6px; }
  .chart-meta { gap: 12px; font-size: 7px; }
  .chart-meta b { text-align: right; }
  .chart-frame svg { height: 145px; }
  .signal-row { gap: 10px; font-size: 8px; }
  .regime-row { grid-template-columns: repeat(2, 1fr); }
  .execution-route { grid-template-columns: 1fr; }
  .execution-route > b { display: none; }
}

/* Lifecycle — focused visual composition */
.lifecycle { padding-top: 112px; padding-bottom: 112px; }

.lifecycle-grid {
  display: grid;
  grid-template-columns: minmax(330px, .86fr) minmax(0, 1.14fr);
  gap: 0;
  min-height: 570px;
  border: 1px solid rgba(255,255,255,.09);
  background: #020303;
}

.lifecycle-copy {
  display: flex;
  flex-direction: column;
  min-width: 0;
  padding: 38px 30px 0;
  border-right: 1px solid rgba(255,255,255,.09);
}

.lifecycle-copy h2 {
  margin: 19px 0 14px;
  color: #f0f2ef;
  font-size: clamp(30px, 3vw, 40px);
  font-weight: 500;
  line-height: 1.08;
  letter-spacing: -.045em;
}

.lifecycle-copy h2 span { color: #747974; }
.lifecycle-intro { max-width: 440px; margin: 0; color: #777c77; font-size: 12px; line-height: 1.65; }

.lifecycle-grid .steps {
  display: block;
  margin-top: auto;
  padding: 0;
  border: 0;
  border-top: 1px solid rgba(255,255,255,.09);
  border-radius: 0;
  background: transparent;
}

.lifecycle-grid .step {
  min-height: 0;
  display: grid;
  grid-template-columns: 25px minmax(0, 1fr);
  gap: 11px;
  width: 100%;
  padding: 17px 0;
  border: 0;
  border-bottom: 1px solid rgba(255,255,255,.09);
  border-radius: 0;
  background: transparent;
  box-shadow: none;
  text-align: left;
  transition: opacity .2s ease;
}

.lifecycle-grid .step:hover,
.lifecycle-grid .step.active {
  transform: none;
  border-color: rgba(255,255,255,.09);
  background: transparent;
  box-shadow: none;
}

.lifecycle-grid .step:not(.active) { opacity: .56; }
.lifecycle-grid .step:not(.active):hover { opacity: .82; }

.lifecycle-grid .step > span,
.lifecycle-grid .step.active > span {
  display: grid;
  place-items: center;
  width: 23px;
  height: 23px;
  padding: 0;
  border: 0;
  border-radius: 5px;
  color: #a6aba6;
  background: rgba(255,255,255,.08);
  font: 9px "JetBrains Mono", monospace;
}

.lifecycle-grid .step.active > span { color: white; background: var(--accent); }
.lifecycle-grid .step b { display: block; color: #e7e9e6; font-size: 14px; font-weight: 500; line-height: 1.5; }
.lifecycle-grid .step p { display: none; max-width: 430px; margin: 10px 0 1px; color: #9a9f9a; font-size: 11px; line-height: 1.55; }
.lifecycle-grid .step.active p { display: block; animation: lifecycle-copy-in .28s ease both; }

.lifecycle-grid .workflow-card {
  position: relative;
  min-width: 0;
  min-height: 570px;
  overflow: hidden;
  border: 0;
  border-radius: 0;
  background:
    radial-gradient(circle at 48% 54%, rgba(82,90,84,.16), transparent 38%),
    radial-gradient(circle, rgba(255,255,255,.045) 1px, transparent 1.5px),
    #040505;
  background-size: auto, 5px 5px, auto;
  box-shadow: none;
}

.lifecycle-grid .workflow-card::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(90deg, #040505 0%, transparent 16%, transparent 84%, #040505 100%), linear-gradient(180deg, #040505 0%, transparent 16%, transparent 84%, #040505 100%);
}

.workflow-panel {
  position: relative;
  z-index: 1;
  min-height: 570px;
  padding: 52px 44px 30px;
  animation: lifecycle-panel-in .35s ease both;
}

.workflow-panel[hidden] { display: none; }

.visual-command {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  max-width: calc(100% - 20px);
  padding: 8px 11px;
  border: 1px solid rgba(255,255,255,.07);
  border-radius: 6px;
  color: #858a85;
  background: rgba(16,18,17,.82);
  font: 9px "JetBrains Mono", monospace;
  box-shadow: 0 8px 30px rgba(0,0,0,.22);
}

.visual-command i,
.visual-foot span i {
  width: 5px;
  height: 5px;
  flex: 0 0 auto;
  border-radius: 50%;
  background: #5fdaa0;
  box-shadow: 0 0 8px rgba(95,218,160,.65);
}

.visual-foot {
  position: absolute;
  right: 44px;
  bottom: 26px;
  left: 44px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  color: #606560;
  font: 8px "JetBrains Mono", monospace;
}

.visual-foot span { display: flex; align-items: center; gap: 7px; }
.visual-foot b { color: #8b908b; font-weight: 500; letter-spacing: .06em; }

.context-network { position: relative; width: min(100%, 570px); height: 390px; margin: 3px auto 0; }
.context-network svg { display: block; width: 100%; height: 100%; }
.network-lines path { fill: none; stroke: rgba(194,201,195,.16); stroke-width: 1; }
.network-nodes circle { fill: #111312; stroke: rgba(255,255,255,.22); stroke-width: 1; }
.network-nodes .core { fill: rgba(130,145,255,.2); stroke: #8e9bff; filter: drop-shadow(0 0 10px rgba(130,145,255,.5)); }
.network-tag { position: absolute; padding: 6px 8px; border: 1px solid rgba(255,255,255,.06); border-radius: 5px; color: #717671; background: rgba(9,11,10,.8); font: 8px "JetBrains Mono", monospace; }
.network-tag.tag-a { top: 72px; left: 3px; }
.network-tag.tag-b { top: 174px; left: 42%; color: #b8c0ff; }
.network-tag.tag-c { top: 62px; right: 0; }
.network-tag.tag-d { right: 0; bottom: 70px; }
.network-tag.tag-e { left: 5px; bottom: 50px; }

.sweep-composition { position: relative; width: min(100%, 570px); height: 390px; margin: 18px auto 0; }
.sweep-window, .equity-window, .sweep-controls { border: 1px solid rgba(255,255,255,.08); background: rgba(13,15,14,.94); box-shadow: 0 24px 70px rgba(0,0,0,.34); }
.sweep-window { position: absolute; top: 28px; left: 0; width: 78%; padding: 0 14px 14px; }
.micro-head { min-height: 36px; display: flex; align-items: center; justify-content: space-between; border-bottom: 1px solid rgba(255,255,255,.07); color: #b5bab5; font: 9px "JetBrains Mono", monospace; }
.micro-head b { color: #6ddba6; font-size: 7px; font-weight: 500; }
.micro-head b i { display: inline-block; width: 5px; height: 5px; margin-right: 6px; border-radius: 50%; background: #63d99f; }
.sweep-stats { display: grid; grid-template-columns: repeat(3, 1fr); padding: 12px 0; }
.sweep-stats small, .sweep-stats b { display: block; font-family: "JetBrains Mono", monospace; }
.sweep-stats small { margin-bottom: 5px; color: #666b66; font-size: 7px; }
.sweep-stats b { color: #d8dbd8; font-size: 11px; font-weight: 500; }
.sweep-bars { display: grid; gap: 6px; }
.sweep-bars div { display: grid; grid-template-columns: 16px 1fr; align-items: center; gap: 6px; color: #555a55; font: 8px "JetBrains Mono", monospace; }
.sweep-bars i { width: var(--score); min-width: max-content; padding: 6px 8px; border-radius: 4px; color: #e9ebff; background: linear-gradient(90deg, rgba(98,119,255,.92), rgba(130,145,255,.74)); font-style: normal; }
.sweep-controls { position: absolute; top: 47px; right: 0; width: 38%; padding: 12px; }
.sweep-controls > div:first-child { display: flex; justify-content: space-between; margin-bottom: 13px; color: #878c87; font: 7px "JetBrains Mono", monospace; }
.sweep-controls > div:first-child span { color: #d0d3d0; }
.sweep-controls label { display: block; margin-top: 12px; color: #8b908b; font: 8px "JetBrains Mono", monospace; }
.sweep-controls label i { position: relative; display: block; height: 4px; margin-top: 7px; border-radius: 4px; background: rgba(255,255,255,.08); }
.sweep-controls label i::after { content: ""; position: absolute; top: -2px; left: var(--value); width: 8px; height: 8px; border-radius: 50%; background: #dedfdd; }
.control-foot { display: flex; gap: 16px; margin-top: 16px; color: #626762; font: 7px "JetBrains Mono", monospace; }
.control-foot b { color: #b0b4b0; font-weight: 500; }

.equity-window { width: min(100%, 500px); margin: 48px auto 0; padding: 0 15px 12px; }
.equity-legend { display: flex; gap: 18px; padding: 11px 0 5px; color: #7e837e; font: 8px "JetBrains Mono", monospace; }
.equity-legend span { display: flex; align-items: center; gap: 6px; }
.equity-legend i { width: 7px; height: 7px; border-radius: 2px; }
.strategy-color { background: #72aaa0; }
.market-color { background: #ad8d72; }
.equity-window svg { display: block; width: 100%; height: 230px; }
.equity-grid path { fill: none; stroke: rgba(255,255,255,.055); stroke-width: 1; }
.equity-line { fill: none; stroke-linecap: round; stroke-linejoin: round; stroke-width: 1.6; }
.equity-line.strategy { stroke: #72aaa0; }
.equity-line.benchmark { stroke: #ad8d72; }
.workflow-panel.active .equity-line { stroke-dasharray: 1000; stroke-dashoffset: 1000; animation: lifecycle-line-draw 1s ease forwards; }
.equity-axis text { fill: #565b56; font: 7px "JetBrains Mono", monospace; }

@keyframes lifecycle-copy-in { from { opacity: 0; transform: translateY(-4px); } to { opacity: 1; transform: none; } }

@media (max-width: 900px) {
  .lifecycle-grid { grid-template-columns: 1fr; }
  .lifecycle-copy { min-height: 510px; border-right: 0; border-bottom: 1px solid rgba(255,255,255,.09); }
  .lifecycle-grid .workflow-card, .workflow-panel { min-height: 500px; }
}

@media (max-width: 680px) {
  .lifecycle { padding-top: 88px; padding-bottom: 88px; }
  .lifecycle-copy { min-height: 500px; padding: 28px 18px 0; }
  .lifecycle-copy h2 { font-size: 31px; }
  .lifecycle-grid .step { grid-template-columns: 24px 1fr; padding: 15px 0; }
  .workflow-panel { min-height: 460px; padding: 32px 18px 24px; }
  .visual-command { font-size: 7px; }
  .context-network, .sweep-composition { height: 330px; }
  .network-tag { font-size: 6px; }
  .sweep-window { width: 88%; }
  .sweep-controls { top: 180px; width: 48%; }
  .equity-window { margin-top: 34px; }
  .equity-window svg { height: 190px; }
  .visual-foot { right: 18px; bottom: 18px; left: 18px; font-size: 7px; }
}

/* Lifecycle — horizontal phase structure */
.lifecycle-heading {
  margin-bottom: 38px;
  grid-template-columns: .58fr 1.2fr .72fr;
  align-items: start;
}

.lifecycle-heading h2 {
  margin: 0;
  font-size: clamp(38px, 4.4vw, 58px);
  line-height: 1.02;
}

.lifecycle-heading > p { margin-top: 4px; font-size: 13px; line-height: 1.72; }

.lifecycle-grid {
  display: block;
  min-height: 0;
  border: 0;
  background: transparent;
}

.lifecycle-copy {
  display: block;
  min-height: 0;
  padding: 0;
  border: 0;
}

.lifecycle-grid .steps {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin: 0;
  border: 1px solid rgba(255,255,255,.09);
  background: #030404;
}

.lifecycle-grid .step {
  min-height: 122px;
  display: grid;
  grid-template-columns: 28px minmax(0, 1fr);
  align-content: start;
  padding: 20px 22px;
  border: 0;
  border-right: 1px solid rgba(255,255,255,.09);
  background: transparent;
  opacity: .56;
}

.lifecycle-grid .step:last-child { border-right: 0; }
.lifecycle-grid .step:not(.active) { opacity: .56; }
.lifecycle-grid .step:hover { opacity: .82; background: rgba(255,255,255,.012); }
.lifecycle-grid .step.active { opacity: 1; background: linear-gradient(180deg, rgba(130,145,255,.065), transparent); }
.lifecycle-grid .step > span,
.lifecycle-grid .step.active > span { margin-top: 1px; }
.lifecycle-grid .step b { font-size: 14px; line-height: 1.42; }
.lifecycle-grid .step p,
.lifecycle-grid .step.active p {
  display: block;
  margin: 8px 0 0;
  color: #747974;
  font-size: 9px;
  line-height: 1.5;
  animation: none;
}

.lifecycle-grid .workflow-card {
  min-height: 480px;
  border: 1px solid rgba(255,255,255,.09);
  border-top: 0;
}

.workflow-panel { min-height: 480px; padding: 42px 52px 28px; }
.context-network { height: 320px; }
.sweep-composition { height: 320px; margin-top: 8px; }
.sweep-window { top: 17px; width: 68%; }
.sweep-controls { top: 37px; width: 32%; }
.equity-window { width: min(100%, 470px); margin-top: 25px; }
.equity-window svg { height: 205px; }
.visual-foot { right: 52px; left: 52px; bottom: 21px; }

@media (max-width: 900px) {
  .lifecycle-heading { display: grid; grid-template-columns: .45fr 1.55fr; }
  .lifecycle-heading > p { grid-column: 2; max-width: 520px; margin-top: 20px; }
  .lifecycle-copy { min-height: 0; border: 0; }
  .lifecycle-grid .step { min-height: 140px; padding: 18px 15px; }
  .lifecycle-grid .workflow-card, .workflow-panel { min-height: 470px; }
}

@media (max-width: 680px) {
  .lifecycle-heading { display: block; margin-bottom: 30px; }
  .lifecycle-heading h2 { margin-top: 22px; font-size: 35px; }
  .lifecycle-heading > p { margin-top: 18px; }
  .lifecycle-grid .steps { grid-template-columns: 1fr; }
  .lifecycle-grid .step { min-height: 0; padding: 16px 14px; border-right: 0; border-bottom: 1px solid rgba(255,255,255,.09); }
  .lifecycle-grid .step:last-child { border-bottom: 0; }
  .lifecycle-grid .step p,
  .lifecycle-grid .step.active p { font-size: 9px; }
  .lifecycle-grid .workflow-card { border-top: 0; }
  .workflow-panel { min-height: 450px; padding: 31px 18px 24px; }
  .context-network, .sweep-composition { height: 310px; }
  .sweep-window { width: 88%; }
  .sweep-controls { top: 165px; width: 48%; }
  .visual-foot { right: 18px; left: 18px; }
}

/* Lifecycle — connected visual story */
.lifecycle-story {
  position: relative;
  max-width: var(--max);
  margin: 0 auto;
}

.story-line {
  position: absolute;
  z-index: 0;
  top: 82px;
  bottom: 82px;
  left: 50%;
  width: 1px;
  background: linear-gradient(180deg, transparent, rgba(130,145,255,.42) 12%, rgba(130,145,255,.18) 88%, transparent);
}

.journey-phase {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 76px minmax(0, 1fr);
  align-items: center;
  min-height: 430px;
  padding: 42px 0;
  border-top: 1px solid rgba(255,255,255,.07);
}

.journey-phase:last-child { border-bottom: 1px solid rgba(255,255,255,.07); }
.phase-copy { grid-column: 1; max-width: 440px; padding-right: 42px; }
.story-node { grid-column: 2; grid-row: 1; justify-self: center; }
.phase-visual { grid-column: 3; grid-row: 1; }
.journey-phase.reverse .phase-copy { grid-column: 3; padding-right: 0; padding-left: 42px; }
.journey-phase.reverse .phase-visual { grid-column: 1; }

.phase-kicker {
  display: block;
  margin-bottom: 16px;
  color: #aeb7ff;
  font: 10px "JetBrains Mono", monospace;
  letter-spacing: .11em;
}

.phase-copy h3 {
  margin: 0;
  color: #f0f2ef;
  font-size: clamp(27px, 2.8vw, 38px);
  font-weight: 500;
  line-height: 1.08;
  letter-spacing: -.04em;
}

.phase-copy h3 span { color: #707570; }
.phase-copy > p { margin: 18px 0 20px; color: #8b908b; font-size: 14px; line-height: 1.7; }
.phase-details { display: flex; flex-wrap: wrap; gap: 9px 17px; }
.phase-details span { position: relative; padding-left: 11px; color: #6f746f; font: 10px "JetBrains Mono", monospace; }
.phase-details span::before { content: ""; position: absolute; top: 5px; left: 0; width: 4px; height: 4px; border-radius: 50%; background: #7d89e8; }

.story-node {
  display: grid;
  place-items: center;
  width: 43px;
  height: 43px;
  border: 1px solid rgba(130,145,255,.3);
  border-radius: 50%;
  color: #c9ceff;
  background: #080909;
  font: 11px "JetBrains Mono", monospace;
  box-shadow: 0 0 0 8px #050606, 0 0 28px rgba(130,145,255,.12);
}

.phase-visual {
  position: relative;
  min-width: 0;
  min-height: 350px;
  padding: 25px 25px 42px;
  background:
    radial-gradient(circle at 50% 50%, rgba(82,90,84,.13), transparent 43%),
    radial-gradient(circle, rgba(255,255,255,.035) 1px, transparent 1.4px);
  background-size: auto, 6px 6px;
}

.phase-visual::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(90deg, #050606 0%, transparent 13%, transparent 87%, #050606 100%), linear-gradient(180deg, #050606 0%, transparent 15%, transparent 85%, #050606 100%);
}

.phase-visual > * { position: relative; z-index: 1; }
.phase-visual .visual-command { padding: 9px 12px; font-size: 11px; line-height: 1.35; }
.phase-visual .visual-foot { right: 25px; bottom: 18px; left: 25px; font-size: 10px; }
.phase-visual .visual-foot b { font-size: 10px; }

.phase-visual .context-network { height: 270px; margin-top: 4px; }
.phase-visual .network-tag { padding: 6px 8px; font-size: 9px; }
.phase-visual .network-tag.tag-a { top: 52px; }
.phase-visual .network-tag.tag-b { top: 124px; }
.phase-visual .network-tag.tag-c { top: 45px; }
.phase-visual .network-tag.tag-d { bottom: 52px; }
.phase-visual .network-tag.tag-e { bottom: 36px; }

.phase-visual .sweep-composition { height: 270px; margin-top: 10px; }
.phase-visual .sweep-window { top: 12px; width: 74%; padding: 0 14px 14px; }
.phase-visual .sweep-controls { top: 31px; width: 37%; padding: 13px; }
.phase-visual .micro-head { font-size: 11px; }
.phase-visual .micro-head b { font-size: 9px; }
.phase-visual .sweep-stats small { font-size: 9px; }
.phase-visual .sweep-stats b { font-size: 13px; }
.phase-visual .sweep-bars div { grid-template-columns: 18px 1fr; font-size: 10px; }
.phase-visual .sweep-bars i { padding: 6px 8px; font-size: 10px; }
.phase-visual .sweep-controls > div:first-child { font-size: 9px; }
.phase-visual .sweep-controls label { font-size: 9px; }
.phase-visual .control-foot { font-size: 9px; }

.phase-visual .equity-window { width: min(100%, 470px); margin-top: 28px; }
.phase-visual .equity-legend { font-size: 10px; }
.phase-visual .equity-window svg { height: 195px; }
.phase-visual .equity-axis text { font-size: 9px; }

@media (max-width: 900px) {
  .story-line { top: 50px; bottom: 50px; left: 21px; }
  .journey-phase,
  .journey-phase.reverse {
    grid-template-columns: 44px minmax(0, 1fr);
    min-height: 0;
    padding: 48px 0 54px;
  }
  .story-node,
  .journey-phase.reverse .story-node { grid-column: 1; grid-row: 1; width: 36px; height: 36px; font-size: 9px; }
  .phase-copy,
  .journey-phase.reverse .phase-copy { grid-column: 2; grid-row: 1; max-width: 620px; padding: 0 0 30px 20px; }
  .phase-visual,
  .journey-phase.reverse .phase-visual { grid-column: 2; grid-row: 2; margin-left: 20px; }
}

@media (max-width: 680px) {
  .journey-phase,
  .journey-phase.reverse { grid-template-columns: 38px minmax(0, 1fr); padding: 38px 0 46px; }
  .story-line { left: 17px; }
  .story-node,
  .journey-phase.reverse .story-node { width: 32px; height: 32px; }
  .phase-copy,
  .journey-phase.reverse .phase-copy { padding-left: 14px; }
  .phase-copy h3 { font-size: 28px; }
  .phase-copy > p { font-size: 13px; }
  .phase-visual,
  .journey-phase.reverse .phase-visual { min-height: 330px; margin-left: 14px; padding: 20px 14px 42px; }
  .phase-visual .visual-command { font-size: 10px; }
  .phase-visual .visual-foot { right: 14px; left: 14px; font-size: 9px; }
  .phase-visual .network-tag { font-size: 8px; }
  .phase-visual .sweep-window { width: 90%; }
  .phase-visual .sweep-controls { top: 158px; width: 51%; }
  .phase-visual .equity-window svg { height: 170px; }
}

/* Lifecycle — compact three-column view */
.lifecycle { padding-top: 88px; padding-bottom: 88px; }
.lifecycle-heading { margin-bottom: 28px; }
.lifecycle-heading h2 { font-size: clamp(34px, 3.8vw, 48px); }
.lifecycle-heading > p { font-size: 12px; }

.lifecycle-story {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  border-top: 1px solid rgba(255,255,255,.09);
  border-bottom: 1px solid rgba(255,255,255,.09);
}

.story-line,
.story-node { display: none; }

.journey-phase,
.journey-phase.reverse {
  display: block;
  min-height: 0;
  padding: 25px 22px 18px;
  border: 0;
  border-right: 1px solid rgba(255,255,255,.08);
}

.journey-phase:last-child { border-right: 0; border-bottom: 0; }
.phase-copy,
.journey-phase.reverse .phase-copy {
  max-width: none;
  min-height: 180px;
  padding: 0;
}

.phase-kicker { margin-bottom: 11px; font-size: 9px; }
.phase-copy h3 { font-size: clamp(20px, 1.85vw, 25px); line-height: 1.12; }
.phase-copy > p { margin: 12px 0 0; font-size: 11px; line-height: 1.55; }
.phase-details { display: none; }

.phase-visual,
.journey-phase.reverse .phase-visual {
  min-height: 214px;
  margin: 0;
  padding: 12px 8px 10px;
  background: radial-gradient(circle at 50% 50%, rgba(82,90,84,.1), transparent 48%);
}

.phase-visual::after { display: none; }
.phase-visual .visual-command {
  max-width: 100%;
  padding: 7px 8px;
  overflow: hidden;
  font-size: 10px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.phase-visual .visual-foot {
  position: static;
  margin-top: 7px;
  font-size: 9px;
}
.phase-visual .visual-foot b { font-size: 9px; }

.phase-visual .context-network { height: 157px; margin-top: 2px; }
.phase-visual .network-tag { padding: 4px 5px; font-size: 9px; }
.phase-visual .network-tag.tag-a { top: 29px; }
.phase-visual .network-tag.tag-b { top: 71px; }
.phase-visual .network-tag.tag-c { top: 24px; }
.phase-visual .network-tag.tag-d { bottom: 27px; }
.phase-visual .network-tag.tag-e { bottom: 18px; }

.phase-visual .sweep-composition { height: 158px; margin-top: 8px; }
.phase-visual .sweep-window {
  position: relative;
  top: auto;
  left: auto;
  width: 100%;
  padding: 0 10px 10px;
}
.phase-visual .sweep-controls { display: none; }
.phase-visual .micro-head { min-height: 29px; font-size: 10px; }
.phase-visual .micro-head b { font-size: 9px; }
.phase-visual .sweep-stats { padding: 8px 0; }
.phase-visual .sweep-stats small { font-size: 8px; }
.phase-visual .sweep-stats b { font-size: 11px; }
.phase-visual .sweep-bars { gap: 4px; }
.phase-visual .sweep-bars div { grid-template-columns: 13px 1fr; font-size: 9px; }
.phase-visual .sweep-bars i { padding: 4px 6px; font-size: 9px; }

.phase-visual .equity-window { width: 100%; margin: 9px 0 0; padding: 0 9px 6px; }
.phase-visual .equity-legend { gap: 10px; padding: 7px 0 2px; font-size: 9px; }
.phase-visual .equity-window svg { height: 126px; }
.phase-visual .equity-axis text { font-size: 8px; }

@media (max-width: 900px) {
  .lifecycle-story { grid-template-columns: 1fr; }
  .journey-phase,
  .journey-phase.reverse { padding: 26px 20px; border-right: 0; border-bottom: 1px solid rgba(255,255,255,.08); }
  .phase-copy,
  .journey-phase.reverse .phase-copy { min-height: 0; padding-bottom: 18px; }
  .phase-visual,
  .journey-phase.reverse .phase-visual { max-width: 560px; min-height: 210px; }
}

@media (max-width: 680px) {
  .lifecycle { padding-top: 76px; padding-bottom: 76px; }
  .journey-phase,
  .journey-phase.reverse { padding: 24px 14px; }
  .phase-copy h3 { font-size: 23px; }
  .phase-copy > p { font-size: 11px; }
  .phase-visual,
  .journey-phase.reverse .phase-visual { min-height: 205px; padding: 10px 0; }
}

/* Lifecycle — restored split reference logic */
.lifecycle { padding-top: 108px; padding-bottom: 108px; }

.lifecycle-grid {
  display: grid;
  grid-template-columns: minmax(340px, .86fr) minmax(0, 1.14fr);
  gap: 0;
  min-height: 540px;
  border: 1px solid rgba(255,255,255,.09);
  background: #020303;
}

.lifecycle-copy {
  display: flex;
  flex-direction: column;
  min-height: 540px;
  padding: 36px 30px 0;
  border-right: 1px solid rgba(255,255,255,.09);
}

.lifecycle-copy h2 {
  margin: 20px 0 14px;
  color: #f0f2ef;
  font-size: clamp(32px, 2.7vw, 38px);
  font-weight: 500;
  line-height: 1.07;
  letter-spacing: -.045em;
  white-space: normal;
}

.lifecycle-copy h2 span { color: #737873; }
.lifecycle-copy > .eyebrow { color: var(--accent); }
.lifecycle-intro { max-width: 440px; margin: 0; color: #828782; font-size: 13px; line-height: 1.65; }

.lifecycle-grid .steps {
  display: block;
  margin-top: auto;
  padding: 0;
  border: 0;
  border-top: 1px solid rgba(255,255,255,.09);
  background: transparent;
}

.lifecycle-grid .step {
  display: grid;
  grid-template-columns: 26px minmax(0, 1fr);
  gap: 11px;
  min-height: 0;
  width: 100%;
  padding: 17px 0;
  border: 0;
  border-bottom: 1px solid rgba(255,255,255,.09);
  border-radius: 0;
  background: transparent;
  box-shadow: none;
  text-align: left;
  opacity: .54;
}

.lifecycle-grid .step:hover { transform: none; opacity: .8; background: transparent; }
.lifecycle-grid .step.active { opacity: 1; background: transparent; box-shadow: none; }
.lifecycle-grid .step > span,
.lifecycle-grid .step.active > span {
  display: grid;
  place-items: center;
  width: 24px;
  height: 24px;
  padding: 0;
  border: 0;
  border-radius: 5px;
  color: #aeb3ae;
  background: rgba(255,255,255,.08);
  font: 10px "JetBrains Mono", monospace;
}
.lifecycle-grid .step.active > span { color: white; background: var(--accent); }
.lifecycle-grid .step b { display: block; color: #e6e8e5; font-size: 16px; font-weight: 500; line-height: 1.45; }
.lifecycle-grid .step p { display: none; max-width: 440px; margin: 11px 0 2px; color: #bec3be; font-size: 16px; line-height: 1.65; }
.lifecycle-grid .step.active p { display: block; animation: lifecycle-copy-in .28s ease both; }

.lifecycle-grid .workflow-card {
  position: relative;
  min-width: 0;
  min-height: 540px;
  overflow: hidden;
  border: 0;
  border-radius: 0;
  background:
    radial-gradient(circle at 48% 54%, rgba(82,90,84,.16), transparent 38%),
    radial-gradient(circle, rgba(255,255,255,.045) 1px, transparent 1.5px),
    #040505;
  background-size: auto, 5px 5px, auto;
  box-shadow: none;
}

.lifecycle-grid .workflow-card::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(90deg, #040505 0%, transparent 16%, transparent 84%, #040505 100%), linear-gradient(180deg, #040505 0%, transparent 16%, transparent 84%, #040505 100%);
}

.workflow-panel {
  position: relative;
  z-index: 1;
  min-height: 540px;
  padding: 48px 42px 28px;
}
.workflow-panel[hidden] { display: none; }
.workflow-panel .visual-command { padding: 9px 12px; font-size: 11px; line-height: 1.35; }
.workflow-panel .visual-foot { right: 42px; bottom: 24px; left: 42px; font-size: 10px; }
.workflow-panel .visual-foot b { font-size: 10px; }
.workflow-panel .context-network { height: 350px; margin-top: 2px; }
.workflow-panel .network-tag { padding: 6px 8px; font-size: 10px; }
.workflow-panel .sweep-composition { height: 350px; margin-top: 14px; }
.workflow-panel .sweep-window { top: 24px; width: 78%; }
.workflow-panel .sweep-controls { top: 45px; width: 38%; }
.workflow-panel .micro-head { font-size: 11px; }
.workflow-panel .sweep-stats small { font-size: 9px; }
.workflow-panel .sweep-stats b { font-size: 13px; }
.workflow-panel .sweep-bars div,
.workflow-panel .sweep-bars i { font-size: 10px; }
.workflow-panel .sweep-controls > div:first-child,
.workflow-panel .sweep-controls label,
.workflow-panel .control-foot { font-size: 9px; }
.workflow-panel .equity-window { width: min(100%, 500px); margin-top: 44px; }
.workflow-panel .equity-legend { font-size: 10px; }
.workflow-panel .equity-window svg { height: 220px; }
.workflow-panel .equity-axis text { font-size: 9px; }

@media (max-width: 1050px) {
  .lifecycle-grid { grid-template-columns: 1fr; }
  .lifecycle-copy { min-height: 500px; border-right: 0; border-bottom: 1px solid rgba(255,255,255,.09); }
  .lifecycle-grid .workflow-card,
  .workflow-panel { min-height: 500px; }
}

@media (max-width: 680px) {
  .lifecycle { padding-top: 86px; padding-bottom: 86px; }
  .lifecycle-copy { min-height: 500px; padding: 28px 18px 0; }
  .lifecycle-copy h2 { font-size: 32px; }
  .lifecycle-copy h2 { white-space: normal; }
  .lifecycle-grid .step { grid-template-columns: 25px 1fr; padding: 15px 0; }
  .lifecycle-grid .step b { font-size: 15px; }
  .lifecycle-grid .step p { font-size: 15px; }
  .workflow-panel { min-height: 460px; padding: 32px 18px 24px; }
  .workflow-panel .visual-command { font-size: 10px; }
  .workflow-panel .context-network,
  .workflow-panel .sweep-composition { height: 325px; }
  .workflow-panel .sweep-window { width: 89%; }
  .workflow-panel .sweep-controls { top: 175px; width: 50%; }
  .workflow-panel .equity-window { margin-top: 32px; }
  .workflow-panel .equity-window svg { height: 185px; }
  .workflow-panel .visual-foot { right: 18px; left: 18px; font-size: 9px; }
}

.lifecycle-grid .step.active p {
  color: #8f948f;
  font-size: 12px !important;
  line-height: 1.55;
}

@media (max-width: 680px) {
  .lifecycle-grid .step.active p { font-size: 11px !important; }
}

.validation-composition {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 138px;
  gap: 14px;
  min-height: 305px;
  margin-top: 24px;
  align-items: center;
}

.robustness-matrix {
  padding: 0 13px 13px;
  border: 1px solid rgba(255,255,255,.08);
  background: rgba(11,13,12,.88);
}

.matrix-title {
  min-height: 39px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid rgba(255,255,255,.07);
  color: #aeb3ae;
  font: 10px "JetBrains Mono", monospace;
}
.matrix-title b { color: #697069; font-size: 8px; font-weight: 500; }

.matrix-head,
.matrix-row {
  display: grid;
  grid-template-columns: 70px repeat(4, minmax(45px, 1fr));
  gap: 6px;
  align-items: center;
}

.matrix-head { padding: 12px 4px 7px; color: #626762; font: 8px "JetBrains Mono", monospace; text-align: center; }
.matrix-head span:first-child { text-align: left; }
.matrix-row { padding: 4px; border-top: 1px solid rgba(255,255,255,.045); }
.matrix-row b { color: #8a8f8a; font: 9px "JetBrains Mono", monospace; font-weight: 500; }
.matrix-row i { display: grid; place-items: center; min-height: 31px; border-radius: 3px; font: 9px "JetBrains Mono", monospace; font-style: normal; }
.matrix-row .strong { color: #cbd0ff; background: rgba(130,145,255,.28); }
.matrix-row .good { color: #aeb5e6; background: rgba(130,145,255,.17); }
.matrix-row .mid { color: #a6aaa6; background: rgba(255,255,255,.07); }
.matrix-row .weak { color: #c1888f; background: rgba(255,91,104,.1); }
.matrix-row.selected b { color: #d9dcff; }
.matrix-row.selected { background: rgba(130,145,255,.035); }

.robustness-score {
  padding: 17px 14px;
  border-top: 1px solid rgba(255,255,255,.08);
  border-bottom: 1px solid rgba(255,255,255,.08);
  text-align: center;
}

.score-ring {
  width: 82px;
  height: 82px;
  display: flex;
  align-items: baseline;
  justify-content: center;
  margin: 0 auto 10px;
  padding-top: 27px;
  border-radius: 50%;
  background: radial-gradient(circle at center, #090a0a 58%, transparent 60%), conic-gradient(#8291ff 0 86%, rgba(255,255,255,.08) 86% 100%);
}
.score-ring span { color: #eef0ff; font: 21px "JetBrains Mono", monospace; }
.score-ring small { color: #686d68; font: 8px "JetBrains Mono", monospace; }
.robustness-score > p { margin: 0 0 13px; color: #777c77; font: 8px/1.45 "JetBrains Mono", monospace; letter-spacing: .08em; }
.robustness-score > div:not(.score-ring) { display: flex; justify-content: space-between; padding: 7px 0; border-top: 1px solid rgba(255,255,255,.06); color: #6c716c; font: 8px "JetBrains Mono", monospace; }
.robustness-score > div b { color: #a8ada8; font-weight: 500; }

@media (max-width: 680px) {
  .validation-composition { grid-template-columns: 1fr; min-height: 330px; margin-top: 16px; }
  .robustness-score { display: none; }
  .matrix-head,
  .matrix-row { grid-template-columns: 54px repeat(4, minmax(38px, 1fr)); gap: 4px; }
  .matrix-title b { display: none; }
}

.execution-blueprint {
  min-height: 325px;
  margin-top: 28px;
}

.blueprint-flow {
  display: grid;
  grid-template-columns: minmax(120px, 1fr) 48px minmax(120px, 1fr) 48px 132px;
  align-items: center;
  gap: 7px;
  padding: 22px 0 28px;
}

.blueprint-node {
  min-height: 112px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 15px 14px;
  border-top: 1px solid rgba(255,255,255,.1);
  border-bottom: 1px solid rgba(255,255,255,.1);
  background: rgba(9,11,10,.58);
}

.blueprint-node small,
.blueprint-node b,
.blueprint-node span { display: block; }
.blueprint-node small { margin-bottom: 12px; color: #6e736e; font: 9px "JetBrains Mono", monospace; letter-spacing: .08em; }
.blueprint-node b { color: #d8dbd8; font-size: 12px; font-weight: 500; line-height: 1.4; }
.blueprint-node span { margin-top: 8px; color: #777c77; font: 9px "JetBrains Mono", monospace; line-height: 1.45; }
.risk-guard { border-color: rgba(130,145,255,.22); }
.risk-guard small { color: #aeb7ff; }

.blueprint-link { position: relative; height: 40px; text-align: center; }
.blueprint-link::before { content: ""; position: absolute; top: 15px; left: 0; width: 100%; height: 1px; background: rgba(255,255,255,.14); }
.blueprint-link i { position: relative; z-index: 1; display: block; width: 7px; height: 7px; margin: 12px auto 5px; border-radius: 50%; background: #8291ff; box-shadow: 0 0 9px rgba(130,145,255,.55); }
.blueprint-link span { position: relative; z-index: 1; color: #555a55; background: #050606; font: 7px "JetBrains Mono", monospace; }

.wallet-signature { text-align: center; }
.wallet-mark {
  position: relative;
  width: 76px;
  height: 76px;
  display: grid;
  place-items: center;
  margin: 0 auto 12px;
  border: 1px solid rgba(240,181,91,.3);
  border-radius: 50%;
  background: radial-gradient(circle, rgba(240,181,91,.12), transparent 67%);
  box-shadow: 0 0 30px rgba(240,181,91,.08);
}
.wallet-mark span { color: #f0c77f; font: 18px "JetBrains Mono", monospace; }
.wallet-mark i { position: absolute; right: 2px; bottom: 8px; width: 10px; height: 10px; border: 2px solid #050606; border-radius: 50%; background: #f0b55b; }
.wallet-signature small, .wallet-signature b { display: block; }
.wallet-signature small { margin-bottom: 5px; color: #77706a; font: 8px "JetBrains Mono", monospace; }
.wallet-signature b { color: #dfb870; font-size: 11px; font-weight: 500; }

.execution-ledger { border-top: 1px solid rgba(255,255,255,.08); }
.execution-ledger > div { display: grid; grid-template-columns: 1fr 1.2fr auto; gap: 12px; align-items: center; padding: 10px 2px; border-bottom: 1px solid rgba(255,255,255,.06); }
.execution-ledger span, .execution-ledger b, .execution-ledger i { font-family: "JetBrains Mono", monospace; }
.execution-ledger span { color: #626762; font-size: 9px; }
.execution-ledger b { color: #a9aea9; font-size: 10px; font-weight: 500; }
.execution-ledger i { color: #777c77; font-size: 8px; font-style: normal; }
.execution-ledger .ready { color: #62d99f; }
.execution-ledger .pending { color: #e5b96d; }

@media (max-width: 680px) {
  .execution-blueprint { margin-top: 16px; }
  .blueprint-flow { grid-template-columns: 1fr; gap: 8px; padding: 8px 0 14px; }
  .blueprint-node { min-height: 76px; }
  .blueprint-link { display: none; }
  .wallet-mark { width: 54px; height: 54px; margin-bottom: 7px; }
  .execution-ledger > div { grid-template-columns: 1fr auto; }
  .execution-ledger b { display: none; }
}

@media (max-width: 900px) {
  .wallet-showcase { --wallet-light-x: 50%; }
  .wallet-showcase-shell { grid-template-columns: 1fr; }
  .wallet-device-stage { min-height: 610px; }
  .wallet-showcase-copy { padding: 52px; }
}

@media (max-width: 680px) {
  .wallet-showcase { padding-top: 90px; padding-bottom: 90px; }
  .wallet-device-stage { min-height: 480px; }
  .wallet-phone { transform: rotate(-1deg) scale(.8); }
  .wallet-showcase-copy { padding: 38px 22px 42px; }
  .wallet-showcase-copy h2 { font-size: 38px; }
  .wallet-showcase-copy > p { font-size: 13px; }
  .wallet-showcase-actions { align-items: flex-start; flex-direction: column; }
}

@media (prefers-reduced-motion: reduce) {
  .grid-light { animation: none; opacity: .12; }
  .wallet-showcase::before, .wallet-showcase::after { animation: none; }
  .workflow-panel.active .chart-line.primary { animation: none; stroke-dasharray: none; stroke-dashoffset: 0; }
}

/* Keep both the section links and account entry accessible in the compact menu. */
@media (max-width: 1000px) {
  .nav-shell .menu-toggle {
    display: grid;
    align-content: center;
    justify-content: center;
    gap: 5px;
    width: 44px;
    height: 44px;
    margin-left: 12px;
    cursor: pointer;
  }
  .menu-toggle span { display: block; width: 21px; height: 1px; background: white; }
  .nav-shell .brand { margin-right: auto; }
  .nav-shell.menu-open { height: auto; flex-wrap: wrap; padding-block: 10px; align-items: center; }
  .nav-shell.menu-open nav {
    display: flex;
    flex: 0 0 100%;
    order: 3;
    flex-direction: column;
    gap: 12px;
    margin: 0;
    padding: 16px 0 8px;
  }
}
@media (max-width: 680px) {
  .nav-shell.menu-open .nav-actions {
    display: flex;
    flex-basis: 100%;
    order: 4;
    padding: 12px 0 4px;
    border-top: 1px solid var(--line);
  }
}
