@import url("https://fonts.googleapis.com/css2?family=DM+Mono:wght@400;500&family=Manrope:wght@400;500;600;700;800&display=swap");

:root {
  --ink: #07110f;
  --ink-2: #0d1c19;
  --paper: #f2f0e8;
  --paper-2: #e9e7de;
  --white: #fbfaf5;
  --muted: #69746f;
  --line: rgba(7, 17, 15, .14);
  --line-light: rgba(255, 255, 255, .14);
  --acid: #c7ff42;
  --mint: #71f8c2;
  --cyan: #59d8ff;
  --orange: #ff8d5d;
  --shadow: 0 36px 100px rgba(3, 12, 10, .16);
  --sans: "Manrope", ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --mono: "DM Mono", ui-monospace, SFMono-Regular, Consolas, monospace;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--sans);
  -webkit-font-smoothing: antialiased;
}
body.menu-open { overflow: hidden; }
a { color: inherit; text-decoration: none; }
button, input, textarea, select { font: inherit; }
button { color: inherit; }
canvas { display: block; width: 100%; height: 100%; }
.shell { width: min(1180px, calc(100% - 48px)); margin-inline: auto; }
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}
.skip-link {
  position: fixed;
  z-index: 1000;
  top: 8px;
  left: 8px;
  padding: 12px 16px;
  background: var(--acid);
  color: var(--ink);
  transform: translateY(-150%);
}
.skip-link:focus { transform: none; }

.site-header {
  position: fixed;
  z-index: 100;
  top: 0;
  left: 0;
  width: 100%;
  border-bottom: 1px solid transparent;
  color: var(--white);
  transition: background .25s ease, border-color .25s ease, backdrop-filter .25s ease;
}
.site-header.scrolled {
  background: rgba(7, 17, 15, .86);
  border-color: var(--line-light);
  backdrop-filter: blur(18px);
}
.nav-shell {
  min-height: 78px;
  display: flex;
  align-items: center;
  gap: 32px;
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-size: .78rem;
  font-weight: 800;
  letter-spacing: .13em;
  white-space: nowrap;
}
.brand-mark {
  width: 36px;
  height: 36px;
  display: grid;
  place-items: center;
  position: relative;
  overflow: hidden;
  border: 1px solid currentColor;
  font-family: var(--mono);
  letter-spacing: -.08em;
}
.brand-mark::after {
  content: "";
  position: absolute;
  inset: auto -15px 4px 9px;
  height: 7px;
  background: var(--acid);
  transform: rotate(-25deg);
  opacity: .7;
}
.brand-mark span { color: var(--acid); }
.site-nav {
  display: flex;
  align-items: center;
  justify-content: center;
  flex: 1;
  gap: 34px;
}
.site-nav a {
  color: rgba(255, 255, 255, .66);
  font-size: .83rem;
  font-weight: 600;
  transition: color .2s ease;
}
.site-nav a:hover, .site-nav a:focus-visible { color: var(--white); }
.button {
  min-height: 52px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 28px;
  padding: 0 22px;
  border: 1px solid transparent;
  border-radius: 0;
  font-size: .82rem;
  font-weight: 800;
  letter-spacing: .04em;
  cursor: pointer;
  transition: transform .2s ease, background .2s ease, color .2s ease, border-color .2s ease;
}
.button:hover { transform: translateY(-2px); }
.button-primary { background: var(--acid); color: var(--ink); }
.button-primary:hover { background: #d8ff7a; }
.button-ghost { border-color: rgba(255, 255, 255, .3); color: var(--white); }
.button-ghost:hover { border-color: var(--acid); color: var(--acid); }
.button-small { min-height: 40px; padding-inline: 16px; font-size: .73rem; }
.button-light { background: var(--white); }
.menu-button { display: none; }

.hero {
  min-height: 900px;
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(circle at 77% 35%, rgba(73, 255, 194, .12), transparent 28%),
    radial-gradient(circle at 18% 10%, rgba(89, 216, 255, .08), transparent 28%),
    var(--ink);
  color: var(--white);
}
.hero-grid,
.cta-grid {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background-image:
    linear-gradient(rgba(255,255,255,.045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.045) 1px, transparent 1px);
  background-size: 68px 68px;
  mask-image: linear-gradient(to bottom, black, transparent 90%);
}
.hero::before {
  content: "";
  position: absolute;
  width: 530px;
  height: 530px;
  top: 130px;
  right: -260px;
  border: 1px solid rgba(199, 255, 66, .23);
  border-radius: 50%;
  box-shadow:
    0 0 0 70px rgba(199, 255, 66, .018),
    0 0 0 140px rgba(199, 255, 66, .012);
}
.hero-layout {
  min-height: 850px;
  display: grid;
  grid-template-columns: .92fr 1.08fr;
  align-items: center;
  gap: 66px;
  padding-top: 98px;
  padding-bottom: 76px;
}
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  margin-bottom: 28px;
  color: var(--mint);
  font-family: var(--mono);
  font-size: .7rem;
  letter-spacing: .11em;
  text-transform: uppercase;
}
.live-dot, .pulse {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--mint);
  box-shadow: 0 0 16px rgba(113, 248, 194, .75);
}
.hero h1 {
  max-width: 660px;
  margin: 0;
  font-size: clamp(3.8rem, 6vw, 6.2rem);
  line-height: .96;
  letter-spacing: -.075em;
}
.hero h1 em { color: var(--acid); font-style: normal; }
.hero-lede {
  max-width: 600px;
  margin: 30px 0 0;
  color: rgba(251, 250, 245, .67);
  font-size: 1.04rem;
  line-height: 1.8;
}
.hero-actions {
  display: flex;
  align-items: center;
  gap: 28px;
  margin-top: 38px;
}
.text-link {
  padding: 12px 0;
  border-bottom: 1px solid rgba(255,255,255,.3);
  color: rgba(255,255,255,.8);
  font-size: .82rem;
  font-weight: 700;
}
.trust-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 22px;
  margin-top: 54px;
  color: rgba(255,255,255,.54);
  font-family: var(--mono);
  font-size: .64rem;
  letter-spacing: .03em;
  text-transform: uppercase;
}
.trust-row i { color: var(--acid); font-style: normal; }

.terminal-card {
  position: relative;
  z-index: 2;
  border: 1px solid rgba(255,255,255,.17);
  background: rgba(8, 23, 20, .88);
  box-shadow: 0 50px 100px rgba(0,0,0,.38);
  backdrop-filter: blur(18px);
}
.terminal-card::before {
  content: "";
  position: absolute;
  inset: -10px 10px 10px -10px;
  z-index: -1;
  border: 1px solid rgba(199, 255, 66, .16);
}
.terminal-top, .terminal-foot {
  min-height: 52px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 0 20px;
  border-bottom: 1px solid var(--line-light);
  font-family: var(--mono);
  font-size: .62rem;
  letter-spacing: .08em;
}
.terminal-label { display: flex; align-items: center; gap: 9px; color: rgba(255,255,255,.62); }
.paper-badge {
  padding: 5px 8px;
  border: 1px solid rgba(199,255,66,.45);
  color: var(--acid);
}
.terminal-prompt {
  min-height: 112px;
  display: flex;
  gap: 15px;
  padding: 24px 22px;
  border-bottom: 1px solid var(--line-light);
  background: rgba(255,255,255,.025);
}
.prompt-symbol, .prompt-caret { color: var(--acid); font-family: var(--mono); }
.terminal-prompt p {
  max-width: 470px;
  margin: 0;
  color: rgba(255,255,255,.84);
  font-family: var(--mono);
  font-size: .76rem;
  line-height: 1.65;
}
.logic-stack { padding: 12px; }
.logic-row {
  display: grid;
  grid-template-columns: 38px 1fr auto;
  align-items: center;
  gap: 14px;
  min-height: 68px;
  padding: 12px;
  border-bottom: 1px solid rgba(255,255,255,.08);
}
.logic-row.active { background: rgba(113,248,194,.055); }
.logic-index { color: rgba(255,255,255,.3); font-family: var(--mono); font-size: .66rem; }
.logic-row span { display: block; margin-bottom: 5px; color: rgba(255,255,255,.36); font-family: var(--mono); font-size: .57rem; letter-spacing: .09em; }
.logic-row strong { font-size: .76rem; font-weight: 600; }
.logic-row b { color: var(--mint); font-family: var(--mono); font-size: .54rem; font-weight: 500; }
.risk-row b { color: var(--acid); }
.terminal-chart {
  height: 180px;
  position: relative;
  border-top: 1px solid rgba(255,255,255,.08);
  background:
    linear-gradient(rgba(255,255,255,.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.03) 1px, transparent 1px);
  background-size: 42px 42px;
}
.chart-label {
  position: absolute;
  right: 12px;
  padding: 3px 6px;
  background: var(--ink-2);
  font-family: var(--mono);
  font-size: .52rem;
}
.chart-label-a { top: 44px; color: var(--acid); }
.chart-label-b { top: 74px; color: var(--cyan); }
.terminal-foot {
  min-height: 54px;
  justify-content: flex-start;
  border-top: 1px solid var(--line-light);
  border-bottom: 0;
  color: rgba(255,255,255,.37);
}
.terminal-foot strong { color: rgba(255,255,255,.82); }
.terminal-foot .status-ready { margin-left: auto; color: var(--mint); }
.signal-strip {
  height: 50px;
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  overflow: hidden;
  border-top: 1px solid rgba(199,255,66,.35);
  background: var(--acid);
  color: var(--ink);
}
.signal-strip div {
  width: max-content;
  height: 100%;
  display: flex;
  align-items: center;
  gap: 35px;
  animation: ticker 28s linear infinite;
}
.signal-strip span { font-size: .72rem; font-weight: 900; letter-spacing: .14em; }
.signal-strip i { font-family: var(--mono); font-size: .62rem; font-style: normal; opacity: .55; }
@keyframes ticker { to { transform: translateX(-50%); } }

.section { padding: 132px 0; }
.section-heading { max-width: 800px; margin-bottom: 68px; }
.section-heading .section-number, .section-number {
  display: block;
  margin-bottom: 24px;
  color: #53625d;
  font-family: var(--mono);
  font-size: .67rem;
  letter-spacing: .1em;
}
.section-heading h2 {
  margin: 0;
  font-size: clamp(2.55rem, 5vw, 4.8rem);
  line-height: 1.02;
  letter-spacing: -.06em;
}
.section-heading p {
  max-width: 610px;
  margin: 26px 0 0;
  color: var(--muted);
  font-size: 1rem;
  line-height: 1.75;
}
.section-heading.inverted .section-number { color: var(--mint); }
.section-heading.inverted p { color: rgba(255,255,255,.58); }

.feature-grid {
  display: grid;
  grid-template-columns: 1.15fr .85fr;
  gap: 14px;
}
.feature-card {
  min-height: 390px;
  position: relative;
  overflow: hidden;
  padding: 38px;
  border: 1px solid var(--line);
  background: rgba(255,255,255,.38);
}
.feature-card::after {
  content: "";
  position: absolute;
  width: 120px;
  height: 120px;
  right: -60px;
  top: -60px;
  border: 1px solid rgba(7,17,15,.09);
  transform: rotate(45deg);
}
.feature-large { min-height: 520px; background: var(--ink-2); color: var(--white); }
.feature-wide {
  grid-column: 1 / -1;
  min-height: 270px;
  display: grid;
  grid-template-columns: .9fr 1.1fr;
  align-items: center;
  gap: 70px;
}
.card-kicker {
  margin-bottom: 30px;
  color: #5e6d67;
  font-family: var(--mono);
  font-size: .64rem;
  letter-spacing: .09em;
}
.feature-large .card-kicker { color: var(--mint); }
.feature-card h3 { margin: 0; font-size: clamp(1.7rem, 3vw, 2.5rem); line-height: 1.1; letter-spacing: -.045em; }
.feature-card p { max-width: 560px; margin: 19px 0 0; color: var(--muted); font-size: .9rem; line-height: 1.75; }
.feature-large p { color: rgba(255,255,255,.58); }
.prompt-demo { margin-top: 46px; border: 1px solid rgba(255,255,255,.15); }
.prompt-demo-input { min-height: 76px; display: flex; align-items: center; gap: 13px; padding: 0 18px; font-family: var(--mono); font-size: .72rem; }
.prompt-hint { display: block; padding: 10px 18px; border-top: 1px solid rgba(255,255,255,.1); color: rgba(255,255,255,.3); font-family: var(--mono); font-size: .55rem; }
.receipt { margin-top: 42px; border-top: 1px solid var(--line); }
.receipt div { display: grid; grid-template-columns: 90px 1fr; gap: 14px; padding: 16px 0; border-bottom: 1px solid var(--line); }
.receipt span { color: var(--muted); font-family: var(--mono); font-size: .64rem; }
.receipt strong { font-size: .78rem; }
.risk-meter { margin-top: 58px; }
.risk-meter-top { display: flex; justify-content: space-between; margin-bottom: 13px; font-size: .76rem; }
.risk-meter-top strong { font-family: var(--mono); }
.meter-track { height: 8px; overflow: hidden; background: #d6d8d0; }
.meter-track span { display: block; height: 100%; background: var(--orange); }
.risk-pills { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 18px; }
.risk-pills span { padding: 7px 9px; border: 1px solid var(--line); font-family: var(--mono); font-size: .57rem; }
.deploy-rail { display: grid; grid-template-columns: repeat(5, 1fr); position: relative; }
.deploy-rail::before { content: ""; position: absolute; top: 17px; left: 10%; right: 10%; height: 1px; background: var(--line); }
.deploy-rail span { z-index: 1; display: flex; flex-direction: column; align-items: center; gap: 12px; color: var(--muted); font-family: var(--mono); font-size: .58rem; text-transform: uppercase; }
.deploy-rail i { width: 34px; height: 34px; display: grid; place-items: center; border: 1px solid var(--line); border-radius: 50%; background: var(--paper); font-style: normal; }
.deploy-rail .complete i { border-color: var(--ink); background: var(--ink); color: var(--acid); }
.deploy-rail .current { color: var(--ink); }
.deploy-rail .current i { border-color: var(--orange); box-shadow: 0 0 0 5px rgba(255,141,93,.13); color: var(--orange); }

.workflow-section { background: var(--ink); color: var(--white); }
.workflow-list { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--line-light); }
.workflow-list li {
  display: grid;
  grid-template-columns: 100px 1fr auto;
  align-items: center;
  gap: 30px;
  padding: 34px 0;
  border-bottom: 1px solid var(--line-light);
}
.workflow-number { color: rgba(255,255,255,.28); font-family: var(--mono); font-size: .8rem; }
.workflow-list h3 { margin: 0; font-size: 1.35rem; letter-spacing: -.03em; }
.workflow-list p { max-width: 680px; margin: 9px 0 0; color: rgba(255,255,255,.5); font-size: .85rem; line-height: 1.65; }
.workflow-tag { padding: 7px 9px; border: 1px solid rgba(199,255,66,.3); color: var(--acid); font-family: var(--mono); font-size: .55rem; }

.split-layout { display: grid; grid-template-columns: .86fr 1.14fr; gap: 80px; }
.audience-list { border-top: 1px solid var(--line); }
.audience-list article { display: grid; grid-template-columns: 48px 1fr; gap: 20px; padding: 28px 0; border-bottom: 1px solid var(--line); }
.audience-list > article > span { color: #83908b; font-family: var(--mono); font-size: .63rem; }
.audience-list h3 { margin: 0; font-size: 1.15rem; }
.audience-list p { margin: 8px 0 0; color: var(--muted); font-size: .85rem; line-height: 1.65; }

.safety-section { overflow: hidden; background: #dce9e3; }
.safety-layout { display: grid; grid-template-columns: 1fr 1fr; align-items: center; gap: 100px; }
.safety-layout .section-heading { margin: 0; }
.safety-visual { min-height: 530px; display: grid; place-items: center; position: relative; }
.shield-core {
  width: 178px;
  height: 210px;
  display: grid;
  place-items: center;
  position: relative;
  clip-path: polygon(50% 0, 94% 17%, 84% 75%, 50% 100%, 16% 75%, 6% 17%);
  background: var(--ink);
  color: var(--acid);
  font-family: var(--mono);
  font-size: 2.4rem;
}
.shield-core::after { content: ""; position: absolute; inset: 14px; clip-path: inherit; border: 1px solid rgba(199,255,66,.35); }
.orbit { position: absolute; width: 370px; height: 370px; border: 1px solid rgba(7,17,15,.17); border-radius: 50%; animation: orbit 24s linear infinite; }
.orbit::before { content: ""; position: absolute; width: 9px; height: 9px; top: 39px; right: 71px; border-radius: 50%; background: var(--orange); }
.orbit span { position: absolute; top: 27px; right: 95px; padding: 5px 8px; background: #dce9e3; font-family: var(--mono); font-size: .53rem; }
.orbit-b { width: 470px; height: 470px; animation-direction: reverse; animation-duration: 32s; }
.orbit-b::before { top: auto; right: auto; bottom: 75px; left: 51px; background: var(--cyan); }
.orbit-b span { top: auto; right: auto; bottom: 64px; left: 73px; }
.orbit-c { width: 570px; height: 570px; animation-duration: 44s; }
.orbit-c::before { top: 250px; right: -4px; background: var(--acid); }
.orbit-c span { top: 240px; right: 12px; }
@keyframes orbit { to { transform: rotate(360deg); } }
.orbit span { animation: orbit 24s linear infinite reverse; }
.orbit-b span { animation-duration: 32s; animation-direction: normal; }
.orbit-c span { animation-duration: 44s; }
.check-list { list-style: none; margin: 34px 0 0; padding: 0; }
.check-list li { display: flex; gap: 12px; padding: 12px 0; border-bottom: 1px solid rgba(7,17,15,.11); font-size: .84rem; }
.check-list span { color: #2c8b65; font-family: var(--mono); }

.roadmap-section { background: var(--paper-2); }
.roadmap-grid { display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid var(--line); border-left: 1px solid var(--line); }
.roadmap-grid article { min-height: 310px; padding: 34px; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.roadmap-grid article > span { color: var(--muted); font-family: var(--mono); font-size: .61rem; letter-spacing: .08em; }
.roadmap-grid h3 { margin: 70px 0 0; font-size: 1.55rem; letter-spacing: -.04em; }
.roadmap-grid p { margin: 14px 0 0; color: var(--muted); font-size: .83rem; line-height: 1.65; }
.roadmap-grid a { display: inline-block; margin-top: 28px; color: var(--ink); border-bottom: 1px solid var(--ink); font-size: .76rem; font-weight: 700; }
.roadmap-grid .current-release { background: var(--acid); }
.roadmap-grid .current-release > span { color: var(--ink); }

.cta-section { min-height: 620px; display: grid; place-items: center; position: relative; overflow: hidden; background: var(--ink); color: var(--white); text-align: center; }
.cta-section::before, .cta-section::after {
  content: "";
  position: absolute;
  width: 430px;
  height: 430px;
  border: 1px solid rgba(199,255,66,.18);
  border-radius: 50%;
}
.cta-section::before { top: -250px; left: -150px; }
.cta-section::after { right: -180px; bottom: -270px; }
.cta-inner { position: relative; z-index: 1; }
.cta-inner .section-number { color: var(--mint); }
.cta-inner h2 { margin: 0; font-size: clamp(3.6rem, 8vw, 7.5rem); line-height: .86; letter-spacing: -.08em; }
.cta-inner p { margin: 30px auto; color: rgba(255,255,255,.56); }

.site-footer { padding: 64px 0 34px; background: #030907; color: var(--white); }
.footer-top { display: grid; grid-template-columns: 1fr 1fr auto; align-items: start; gap: 40px; padding-bottom: 50px; border-bottom: 1px solid var(--line-light); }
.footer-top p { max-width: 330px; margin: 5px 0 0; color: rgba(255,255,255,.45); font-size: .82rem; }
.footer-links { display: grid; gap: 11px; color: rgba(255,255,255,.65); font-size: .78rem; }
.footer-bottom { display: grid; grid-template-columns: auto 1fr; gap: 60px; padding-top: 27px; color: rgba(255,255,255,.3); font-family: var(--mono); font-size: .54rem; line-height: 1.7; }
.footer-bottom p { max-width: 760px; margin: 0; justify-self: end; }

.reveal { opacity: 0; transform: translateY(20px); transition: opacity .75s ease, transform .75s ease; }
.reveal.visible { opacity: 1; transform: none; }
.reveal-delay { transition-delay: .12s; }

/* Strategy bot */
.bot-body { min-height: 100vh; background: var(--ink); color: var(--white); }
.bot-body .site-header { position: relative; border-bottom: 1px solid var(--line-light); }
.bot-shell { width: min(1440px, 100%); margin-inline: auto; }
.bot-main { min-height: calc(100vh - 79px); display: grid; grid-template-columns: minmax(320px, 430px) 1fr; }
.bot-sidebar { padding: 30px; border-right: 1px solid var(--line-light); background: #091512; }
.bot-sidebar-heading { margin-bottom: 30px; }
.bot-sidebar-heading span { color: var(--mint); font-family: var(--mono); font-size: .61rem; letter-spacing: .08em; }
.bot-sidebar-heading h1 { margin: 12px 0 0; font-size: 2.1rem; letter-spacing: -.055em; }
.bot-sidebar-heading p { margin: 12px 0 0; color: rgba(255,255,255,.45); font-size: .78rem; line-height: 1.6; }
.strategy-form label, .field-label { display: block; margin-bottom: 9px; color: rgba(255,255,255,.5); font-family: var(--mono); font-size: .59rem; letter-spacing: .08em; text-transform: uppercase; }
.strategy-form textarea {
  width: 100%;
  min-height: 155px;
  resize: vertical;
  padding: 16px;
  border: 1px solid rgba(255,255,255,.18);
  border-radius: 0;
  outline: none;
  background: rgba(255,255,255,.035);
  color: var(--white);
  font-family: var(--mono);
  font-size: .74rem;
  line-height: 1.7;
}
.strategy-form textarea:focus { border-color: var(--acid); box-shadow: 0 0 0 3px rgba(199,255,66,.07); }
.example-chips { display: flex; flex-wrap: wrap; gap: 7px; margin: 11px 0 26px; }
.example-chip {
  padding: 7px 9px;
  border: 1px solid rgba(255,255,255,.13);
  background: transparent;
  color: rgba(255,255,255,.6);
  font-family: var(--mono);
  font-size: .57rem;
  cursor: pointer;
}
.example-chip:hover { border-color: var(--mint); color: var(--mint); }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.form-field { margin-bottom: 18px; }
.form-field select, .form-field input {
  width: 100%;
  min-height: 44px;
  padding: 0 12px;
  border: 1px solid rgba(255,255,255,.15);
  border-radius: 0;
  outline: none;
  background: #10231e;
  color: var(--white);
  font-family: var(--mono);
  font-size: .67rem;
}
.form-field select:focus, .form-field input:focus { border-color: var(--acid); }
.button-generate { width: 100%; margin-top: 6px; }
.form-note { margin: 14px 0 0; color: rgba(255,255,255,.3); font-size: .64rem; line-height: 1.55; }
.bot-workspace { min-width: 0; padding: 30px; background:
  linear-gradient(rgba(255,255,255,.025) 1px, transparent 1px),
  linear-gradient(90deg, rgba(255,255,255,.025) 1px, transparent 1px),
  var(--ink);
  background-size: 52px 52px;
}
.workspace-head { display: flex; align-items: center; justify-content: space-between; gap: 20px; margin-bottom: 24px; }
.workspace-title span { color: rgba(255,255,255,.38); font-family: var(--mono); font-size: .58rem; letter-spacing: .08em; }
.workspace-title h2 { margin: 7px 0 0; font-size: 1.35rem; letter-spacing: -.04em; }
.mode-badge { padding: 8px 10px; border: 1px solid rgba(199,255,66,.35); color: var(--acid); font-family: var(--mono); font-size: .58rem; letter-spacing: .07em; }
.bot-empty {
  min-height: 570px;
  display: grid;
  place-items: center;
  border: 1px dashed rgba(255,255,255,.13);
  text-align: center;
}
.bot-empty-icon { width: 76px; height: 76px; display: grid; place-items: center; margin: 0 auto 24px; border: 1px solid rgba(199,255,66,.38); color: var(--acid); font-family: var(--mono); font-size: 1.35rem; transform: rotate(45deg); }
.bot-empty-icon span { transform: rotate(-45deg); }
.bot-empty h3 { margin: 0; font-size: 1.4rem; }
.bot-empty p { max-width: 390px; margin: 13px auto 0; color: rgba(255,255,255,.38); font-size: .78rem; line-height: 1.65; }
.strategy-output[hidden], .bot-empty[hidden] { display: none; }
.output-banner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 22px;
  padding: 14px 16px;
  border: 1px solid rgba(113,248,194,.25);
  background: rgba(113,248,194,.05);
}
.output-banner > div { display: flex; align-items: center; gap: 10px; }
.output-banner strong { color: var(--mint); font-family: var(--mono); font-size: .65rem; letter-spacing: .08em; }
.output-banner span { color: rgba(255,255,255,.45); font-size: .65rem; }
.output-layout { display: grid; grid-template-columns: 1.1fr .9fr; gap: 16px; margin-top: 16px; }
.output-panel { border: 1px solid var(--line-light); background: rgba(9,21,18,.88); }
.output-panel-head { min-height: 48px; display: flex; align-items: center; justify-content: space-between; padding: 0 16px; border-bottom: 1px solid var(--line-light); }
.output-panel-head h3 { margin: 0; font-family: var(--mono); font-size: .65rem; font-weight: 500; letter-spacing: .08em; }
.output-panel-head span { color: rgba(255,255,255,.28); font-family: var(--mono); font-size: .54rem; }
.strategy-nodes { padding: 12px; }
.strategy-node { position: relative; display: grid; grid-template-columns: 38px 1fr; gap: 13px; min-height: 88px; padding: 15px; border: 1px solid rgba(255,255,255,.1); background: rgba(255,255,255,.025); }
.strategy-node + .strategy-node { margin-top: 18px; }
.strategy-node + .strategy-node::before { content: ""; position: absolute; width: 1px; height: 19px; top: -19px; left: 33px; background: rgba(199,255,66,.35); }
.node-icon { width: 34px; height: 34px; display: grid; place-items: center; border: 1px solid rgba(199,255,66,.28); color: var(--acid); font-family: var(--mono); font-size: .59rem; }
.strategy-node span { color: rgba(255,255,255,.3); font-family: var(--mono); font-size: .54rem; letter-spacing: .08em; }
.strategy-node h4 { margin: 7px 0 0; font-size: .79rem; font-weight: 600; line-height: 1.5; }
.strategy-node.risk-node .node-icon { border-color: rgba(255,141,93,.35); color: var(--orange); }
.spec-code { margin: 0; padding: 18px; overflow: auto; color: #a7e4cf; font-family: var(--mono); font-size: .64rem; line-height: 1.75; white-space: pre-wrap; }
.confidence-list { padding: 15px; }
.confidence-item { display: grid; grid-template-columns: 80px 1fr auto; align-items: center; gap: 12px; padding: 10px 0; font-size: .61rem; }
.confidence-item > span:first-child { color: rgba(255,255,255,.45); }
.confidence-bar { height: 5px; background: rgba(255,255,255,.08); }
.confidence-bar span { display: block; height: 100%; background: var(--mint); }
.confidence-item strong { color: var(--mint); font-family: var(--mono); font-size: .56rem; }
.output-actions { display: flex; gap: 10px; margin-top: 16px; }
.button-disabled { opacity: .42; cursor: not-allowed; }
.button-disabled:hover { transform: none; }
.bot-disclaimer { max-width: 820px; margin: 22px 0 0; color: rgba(255,255,255,.27); font-size: .58rem; line-height: 1.65; }
.toast {
  position: fixed;
  z-index: 200;
  right: 24px;
  bottom: 24px;
  padding: 14px 18px;
  border: 1px solid rgba(199,255,66,.4);
  background: var(--ink-2);
  color: var(--white);
  box-shadow: var(--shadow);
  font-family: var(--mono);
  font-size: .65rem;
  opacity: 0;
  transform: translateY(12px);
  pointer-events: none;
  transition: .25s ease;
}
.toast.show { opacity: 1; transform: none; }

.not-found {
  min-height: 100vh;
  display: grid;
  place-items: center;
  padding: 40px;
  background: var(--ink);
  color: var(--white);
  text-align: center;
}
.not-found .brand { justify-content: center; }
.not-found h1 { margin: 42px 0 0; color: var(--acid); font-family: var(--mono); font-size: clamp(5rem, 20vw, 12rem); line-height: .8; letter-spacing: -.08em; }
.not-found p { margin: 28px 0; color: rgba(255,255,255,.55); }

@media (max-width: 1000px) {
  .site-nav { gap: 20px; }
  .hero-layout { grid-template-columns: 1fr; padding-top: 160px; }
  .hero { min-height: auto; }
  .terminal-card { max-width: 680px; margin-bottom: 80px; }
  .split-layout, .safety-layout { grid-template-columns: 1fr; }
  .safety-layout { gap: 40px; }
  .safety-visual { order: 2; min-height: 570px; }
  .feature-wide { gap: 30px; }
  .bot-main { grid-template-columns: 350px 1fr; }
  .output-layout { grid-template-columns: 1fr; }
}

@media (max-width: 760px) {
  .shell { width: min(100% - 32px, 1180px); }
  .site-header { background: rgba(7,17,15,.92); border-color: var(--line-light); backdrop-filter: blur(18px); }
  .nav-shell { min-height: 68px; }
  .menu-button {
    width: 40px;
    height: 40px;
    display: grid;
    align-content: center;
    gap: 5px;
    margin-left: auto;
    padding: 9px;
    border: 1px solid rgba(255,255,255,.2);
    background: transparent;
  }
  .menu-button span:not(.sr-only) { height: 1px; background: var(--white); }
  .site-nav {
    position: fixed;
    inset: 68px 0 auto;
    display: grid;
    gap: 0;
    padding: 20px 24px 28px;
    border-bottom: 1px solid var(--line-light);
    background: rgba(7,17,15,.98);
    transform: translateY(-130%);
    opacity: 0;
    pointer-events: none;
    transition: .25s ease;
  }
  .site-nav.open { transform: none; opacity: 1; pointer-events: auto; }
  .site-nav a { padding: 14px 0; border-bottom: 1px solid rgba(255,255,255,.08); }
  .nav-cta { display: none; }
  .hero-layout { min-height: 0; padding-top: 136px; gap: 56px; }
  .hero h1 { font-size: clamp(3.2rem, 15vw, 5.4rem); }
  .hero-actions { align-items: flex-start; flex-direction: column; }
  .trust-row { display: grid; }
  .terminal-card { margin-bottom: 70px; }
  .terminal-foot { flex-wrap: wrap; padding-block: 12px; }
  .terminal-foot .status-ready { width: 100%; margin-left: 0; }
  .section { padding: 92px 0; }
  .section-heading { margin-bottom: 46px; }
  .feature-grid, .feature-wide { grid-template-columns: 1fr; }
  .feature-card { min-height: auto; padding: 28px; }
  .feature-large { min-height: 480px; }
  .feature-wide { gap: 45px; }
  .deploy-rail { overflow-x: auto; padding-bottom: 10px; }
  .deploy-rail span { min-width: 78px; }
  .workflow-list li { grid-template-columns: 40px 1fr; align-items: start; gap: 14px; }
  .workflow-tag { grid-column: 2; width: fit-content; }
  .roadmap-grid { grid-template-columns: 1fr; }
  .safety-visual { min-height: 420px; transform: scale(.72); }
  .footer-top, .footer-bottom { grid-template-columns: 1fr; }
  .footer-bottom { gap: 24px; }
  .footer-bottom p { justify-self: start; }
  .bot-body .nav-cta { display: inline-flex; margin-left: auto; }
  .bot-body .menu-button { display: none; }
  .bot-main { grid-template-columns: 1fr; }
  .bot-sidebar { border-right: 0; border-bottom: 1px solid var(--line-light); }
  .bot-workspace { padding: 22px 16px 40px; }
  .workspace-head { align-items: flex-start; }
}

@media (max-width: 440px) {
  .brand > span:last-child { display: none; }
  .hero h1 { letter-spacing: -.065em; }
  .terminal-card { margin-inline: -6px; }
  .logic-row { grid-template-columns: 26px 1fr; }
  .logic-row b { display: none; }
  .form-grid { grid-template-columns: 1fr; gap: 0; }
  .output-banner { align-items: flex-start; flex-direction: column; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
  .reveal { opacity: 1; transform: none; }
}
