:root {
  color-scheme: dark;
  --bg: #050913;
  --bg-2: #07111f;
  --panel: rgba(10, 22, 38, 0.78);
  --panel-2: rgba(12, 26, 46, 0.92);
  --line: rgba(142, 203, 255, 0.18);
  --line-strong: rgba(103, 202, 255, 0.38);
  --text: #edf6ff;
  --muted: #a8bbce;
  --blue: #1f8cff;
  --cyan: #50dcff;
  --violet: #9d65ff;
  --amber: #ffbc66;
  --green: #65e698;
  --danger: #ff6f7f;
  --shadow: 0 24px 80px rgba(0, 0, 0, 0.42);
  --radius: 8px;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  overflow-x: hidden;
  background:
    radial-gradient(circle at 72% 12%, rgba(85, 117, 255, 0.26), transparent 28rem),
    radial-gradient(circle at 22% 26%, rgba(29, 143, 255, 0.22), transparent 24rem),
    radial-gradient(circle at 78% 80%, rgba(255, 171, 84, 0.12), transparent 24rem),
    linear-gradient(180deg, #030711 0%, #07111f 48%, #050913 100%);
  color: var(--text);
  letter-spacing: 0;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -2;
  background-image:
    linear-gradient(rgba(80, 220, 255, 0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(80, 220, 255, 0.05) 1px, transparent 1px);
  background-size: 70px 70px;
  mask-image: linear-gradient(to bottom, rgba(0, 0, 0, 0.9), transparent 78%);
}

body::after {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -1;
  background:
    radial-gradient(circle at 50% 18%, rgba(80, 220, 255, 0.12), transparent 0.18rem),
    radial-gradient(circle at 54% 22%, rgba(157, 101, 255, 0.13), transparent 0.16rem),
    radial-gradient(circle at 66% 30%, rgba(255, 188, 102, 0.14), transparent 0.15rem),
    radial-gradient(circle at 42% 34%, rgba(80, 220, 255, 0.12), transparent 0.15rem);
  opacity: 0.82;
  pointer-events: none;
}

a {
  color: inherit;
}

.site-shell {
  width: min(1180px, calc(100% - 40px));
  margin: 0 auto;
}

.nav {
  position: sticky;
  top: 0;
  z-index: 20;
  border-bottom: 1px solid rgba(147, 199, 255, 0.12);
  background: rgba(5, 9, 19, 0.82);
  backdrop-filter: blur(20px);
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 22px;
  min-height: 76px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  font-weight: 760;
}

.brand-mark {
  display: grid;
  width: 34px;
  height: 34px;
  place-items: center;
  border: 1px solid rgba(80, 220, 255, 0.32);
  border-radius: 8px;
  background: linear-gradient(135deg, rgba(31, 140, 255, 0.86), rgba(157, 101, 255, 0.82));
  box-shadow: 0 0 28px rgba(31, 140, 255, 0.32);
}

.brand small {
  display: block;
  color: var(--muted);
  font-size: 0.72rem;
  font-weight: 600;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 22px;
  color: #c9d9e9;
  font-size: 0.92rem;
}

.nav-links a,
.footer a {
  text-decoration: none;
}

.nav-links a:hover,
.footer a:hover {
  color: var(--cyan);
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 10px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  min-height: 46px;
  padding: 0 18px;
  border: 1px solid rgba(139, 197, 255, 0.26);
  border-radius: 8px;
  background: rgba(7, 19, 35, 0.72);
  color: var(--text);
  text-decoration: none;
  font-weight: 760;
  box-shadow: inset 0 1px rgba(255, 255, 255, 0.06);
}

.button.primary {
  border-color: rgba(80, 220, 255, 0.44);
  background: linear-gradient(135deg, #0974ff, #1f8cff 45%, #7d54ff);
  box-shadow: 0 16px 44px rgba(31, 140, 255, 0.36);
}

.button.amber {
  border-color: rgba(255, 188, 102, 0.5);
  background: linear-gradient(135deg, rgba(255, 188, 102, 0.94), rgba(255, 128, 92, 0.9));
  color: #06101e;
}

.button:hover {
  transform: translateY(-1px);
}

.button[disabled],
.button.is-disabled {
  cursor: not-allowed;
  opacity: 0.62;
  transform: none;
}

.hero {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1.02fr) minmax(360px, 0.98fr);
  gap: 58px;
  align-items: center;
  min-height: min(780px, calc(100vh - 140px));
  padding: 60px 0 36px;
}

.hero h1,
.page-hero h1 {
  max-width: 760px;
  margin: 0;
  font-size: clamp(3.1rem, 6vw, 6.8rem);
  line-height: 0.96;
  letter-spacing: 0;
}

.page-hero h1 {
  font-size: clamp(2.7rem, 5vw, 5.1rem);
}

.gradient-text {
  background: linear-gradient(110deg, #ffffff 0%, #72d9ff 48%, #ffbc66 78%, #d9c8ff 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.lead {
  max-width: 720px;
  color: #c5d3e5;
  font-size: clamp(1.04rem, 1.5vw, 1.28rem);
  line-height: 1.65;
}

.hero-actions,
.actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 28px;
}

.micro-row {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  margin-top: 34px;
  color: #c5d7e9;
}

.micro-row span {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.micro-row span::before {
  content: "";
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--green);
  box-shadow: 0 0 18px rgba(101, 230, 152, 0.55);
}

.orb-system {
  position: relative;
  min-height: 520px;
  display: grid;
  place-items: center;
}

.orb-system::before {
  content: "";
  position: absolute;
  inset: 8% 6%;
  border: 1px solid rgba(80, 220, 255, 0.16);
  border-radius: 50%;
  box-shadow: inset 0 0 80px rgba(31, 140, 255, 0.08), 0 0 90px rgba(31, 140, 255, 0.08);
}

.core-orb {
  position: relative;
  z-index: 2;
  display: grid;
  width: 176px;
  height: 176px;
  place-items: center;
  border: 1px solid rgba(80, 220, 255, 0.54);
  border-radius: 50%;
  background:
    radial-gradient(circle at 50% 35%, rgba(80, 220, 255, 0.95), rgba(31, 140, 255, 0.38) 44%, rgba(5, 9, 19, 0.94) 78%),
    #08162a;
  box-shadow: 0 0 70px rgba(31, 140, 255, 0.42), inset 0 0 52px rgba(255, 255, 255, 0.16);
  text-align: center;
  font-size: 1.22rem;
  font-weight: 820;
}

.node {
  position: absolute;
  z-index: 3;
  width: 126px;
  min-height: 92px;
  padding: 16px;
  border: 1px solid rgba(142, 203, 255, 0.28);
  border-radius: 8px;
  background: rgba(8, 19, 35, 0.84);
  box-shadow: var(--shadow);
}

.node strong {
  display: block;
  margin-bottom: 6px;
}

.node small {
  color: var(--muted);
}

.node:nth-child(2) { top: 12%; left: 12%; }
.node:nth-child(3) { top: 6%; right: 18%; }
.node:nth-child(4) { right: 5%; top: 42%; }
.node:nth-child(5) { right: 17%; bottom: 8%; }
.node:nth-child(6) { left: 14%; bottom: 10%; }
.node:nth-child(7) { left: 2%; top: 45%; }

.section {
  padding: 84px 0;
}

.section.compact {
  padding: 54px 0;
}

.section-head {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 28px;
  margin-bottom: 28px;
}

.section-head h2,
.page-hero h2 {
  margin: 0;
  font-size: clamp(2rem, 3vw, 3.2rem);
  line-height: 1.06;
}

.section-head p {
  max-width: 560px;
  margin: 0;
  color: var(--muted);
  line-height: 1.6;
}

.grid {
  display: grid;
  gap: 16px;
}

.grid.three {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.grid.four {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.definition-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

.definition-card {
  display: grid;
  gap: 12px;
  width: 100%;
  min-height: 178px;
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background:
    linear-gradient(180deg, rgba(13, 31, 55, 0.94), rgba(5, 14, 28, 0.84)),
    var(--panel);
  color: var(--text);
  text-align: left;
  font: inherit;
  box-shadow: inset 0 1px rgba(255, 255, 255, 0.05);
}

.definition-card:hover,
.definition-card:focus-visible {
  border-color: var(--line-strong);
  outline: none;
  transform: translateY(-2px);
  box-shadow: 0 18px 52px rgba(31, 140, 255, 0.18);
}

.definition-card strong {
  font-size: 1.05rem;
}

.definition-card span:last-child {
  color: #b9c9db;
  line-height: 1.55;
}

.card {
  position: relative;
  overflow: hidden;
  min-height: 100%;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background:
    linear-gradient(180deg, rgba(12, 28, 50, 0.88), rgba(6, 15, 29, 0.82)),
    var(--panel);
  box-shadow: inset 0 1px rgba(255, 255, 255, 0.04);
}

.card::after {
  content: "";
  position: absolute;
  inset: auto 18px 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(80, 220, 255, 0.42), transparent);
}

.card h3 {
  margin: 0 0 10px;
  font-size: 1.1rem;
}

.card p,
.card li {
  color: #b9c9db;
  line-height: 1.58;
}

.card ul {
  padding-left: 20px;
}

.detail-list {
  display: grid;
  gap: 12px;
  margin: 16px 0 0;
  padding: 0;
  list-style: none;
}

.detail-list li {
  padding: 12px 13px;
  border: 1px solid rgba(142, 203, 255, 0.16);
  border-radius: 8px;
  background: rgba(2, 8, 18, 0.34);
}

.detail-list strong {
  display: block;
  margin-bottom: 4px;
  color: var(--text);
}

.mini-detail-list {
  display: grid;
  gap: 8px;
  margin: 16px 0 18px;
  padding: 0;
  list-style: none;
}

.mini-detail-list li {
  padding: 10px 11px;
  border: 1px solid rgba(142, 203, 255, 0.13);
  border-radius: 8px;
  background: rgba(2, 8, 18, 0.28);
  color: #c5d6e7;
  line-height: 1.45;
}

.mini-detail-list strong {
  color: #f2f8ff;
}

.faq-stack {
  display: grid;
  gap: 12px;
}

.faq-item {
  padding: 20px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(8, 19, 35, 0.76);
}

.faq-item h3 {
  margin: 0 0 8px;
  font-size: 1rem;
}

.faq-item p {
  margin: 0;
  color: #b9c9db;
  line-height: 1.58;
}

.status-chip,
.proof-chip {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  width: fit-content;
  min-height: 30px;
  padding: 5px 10px;
  border: 1px solid rgba(80, 220, 255, 0.24);
  border-radius: 999px;
  background: rgba(31, 140, 255, 0.12);
  color: #cfedff;
  font-size: 0.82rem;
  font-weight: 760;
}

.status-chip.green {
  border-color: rgba(101, 230, 152, 0.38);
  background: rgba(101, 230, 152, 0.12);
  color: #d6ffe7;
}

.status-chip.amber {
  border-color: rgba(255, 188, 102, 0.4);
  background: rgba(255, 188, 102, 0.13);
  color: #ffe4bd;
}

.flow {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 12px;
}

.step {
  padding: 20px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(8, 19, 35, 0.78);
}

.step span {
  display: inline-grid;
  width: 34px;
  height: 34px;
  place-items: center;
  margin-bottom: 14px;
  border-radius: 50%;
  background: rgba(80, 220, 255, 0.12);
  color: var(--cyan);
  font-weight: 820;
}

.page-hero {
  padding: 88px 0 44px;
}

.split {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(320px, 0.72fr);
  gap: 30px;
  align-items: start;
}

.panel {
  padding: 26px;
  border: 1px solid var(--line-strong);
  border-radius: 8px;
  background: rgba(8, 20, 38, 0.88);
  box-shadow: var(--shadow);
}

.definition-drawer {
  position: fixed;
  inset: 0;
  z-index: 1000;
  display: grid;
  place-items: end;
  pointer-events: none;
  visibility: hidden;
}

.definition-drawer.is-open {
  pointer-events: auto;
  visibility: visible;
}

.drawer-backdrop {
  position: absolute;
  inset: 0;
  border: 0;
  background: rgba(1, 5, 12, 0.72);
  opacity: 0;
  transition: opacity 180ms ease;
}

.definition-drawer.is-open .drawer-backdrop {
  opacity: 1;
}

.drawer-panel {
  position: relative;
  z-index: 2;
  width: min(680px, calc(100vw - 26px));
  max-height: calc(100vh - 26px);
  margin: 13px;
  overflow: auto;
  padding: 28px;
  border: 1px solid var(--line-strong);
  border-radius: 8px;
  background:
    radial-gradient(circle at 18% 0%, rgba(80, 220, 255, 0.16), transparent 22rem),
    linear-gradient(180deg, rgba(10, 24, 44, 0.98), rgba(4, 11, 23, 0.98));
  box-shadow: 0 30px 90px rgba(0, 0, 0, 0.58);
  transform: translateX(24px);
  opacity: 0;
  transition: transform 180ms ease, opacity 180ms ease;
}

.definition-drawer.is-open .drawer-panel {
  transform: translateX(0);
  opacity: 1;
}

.drawer-close {
  position: absolute;
  top: 16px;
  right: 16px;
  min-height: 38px;
  padding: 0 12px;
  border: 1px solid rgba(142, 203, 255, 0.24);
  border-radius: 8px;
  background: rgba(2, 8, 18, 0.7);
  color: var(--text);
  font-weight: 760;
}

.drawer-panel h2 {
  max-width: 560px;
  margin: 18px 0 10px;
  font-size: clamp(2rem, 4vw, 3.3rem);
  line-height: 1.02;
}

.drawer-lead {
  max-width: 600px;
  color: #c7d9e9;
  font-size: 1.08rem;
  line-height: 1.58;
}

.drawer-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  margin-top: 20px;
}

.drawer-grid > div {
  min-height: 152px;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(6, 16, 31, 0.72);
}

.drawer-grid h3 {
  margin: 0 0 8px;
  font-size: 0.95rem;
}

.drawer-grid p {
  margin: 0;
  color: #b9c9db;
  line-height: 1.55;
}

.drawer-open body {
  overflow: hidden;
}

.form-grid {
  display: grid;
  gap: 12px;
}

.form-grid input,
.form-grid textarea,
.form-grid select {
  width: 100%;
  min-height: 46px;
  border: 1px solid rgba(142, 203, 255, 0.24);
  border-radius: 8px;
  background: rgba(2, 8, 18, 0.78);
  color: var(--text);
  padding: 12px 13px;
  font: inherit;
}

.form-grid textarea {
  min-height: 126px;
  resize: vertical;
}

.field-row {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.checkbox-line {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  color: #c5d3e5;
  line-height: 1.45;
}

.checkbox-line input {
  width: 18px;
  min-width: 18px;
  height: 18px;
  margin-top: 2px;
}

.honeypot {
  position: absolute;
  left: -100vw;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.notice {
  border-left: 3px solid var(--amber);
  padding: 14px 16px;
  background: rgba(255, 188, 102, 0.1);
  color: #f6dcc0;
}

.notice.error {
  border-left-color: var(--danger);
  background: rgba(255, 111, 127, 0.1);
  color: #ffd4d9;
}

.public-ask-chat {
  display: grid;
  gap: 14px;
}

.public-ask-chat h2,
.public-ask-chat p {
  margin: 0;
}

.public-ask-chat input,
.public-ask-chat textarea {
  width: 100%;
  min-height: 48px;
  border: 1px solid rgba(142, 203, 255, 0.24);
  border-radius: 8px;
  background: rgba(2, 8, 18, 0.78);
  color: var(--text);
  padding: 12px 13px;
  font: inherit;
}

.public-ask-chat textarea {
  min-height: 160px;
  resize: vertical;
}

.ask-suggestion-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.ask-suggestion-row button {
  min-height: 36px;
  border: 1px solid rgba(80, 220, 255, 0.26);
  border-radius: 999px;
  background: rgba(31, 140, 255, 0.11);
  color: #dcefff;
  padding: 0 12px;
  font: inherit;
  font-size: 0.88rem;
  font-weight: 720;
}

.ask-suggestion-row button:hover,
.ask-suggestion-row button:focus-visible {
  border-color: var(--line-strong);
  outline: none;
  background: rgba(31, 140, 255, 0.2);
}

.ask-agent-output {
  display: block;
  min-height: 118px;
  padding: 16px;
  border: 1px solid rgba(80, 220, 255, 0.22);
  border-radius: 8px;
  background:
    linear-gradient(180deg, rgba(12, 28, 50, 0.82), rgba(3, 10, 21, 0.76)),
    rgba(2, 8, 18, 0.72);
  color: #d8eaff;
  line-height: 1.6;
  white-space: pre-wrap;
}

.footer {
  padding: 36px 0 44px;
  border-top: 1px solid rgba(142, 203, 255, 0.14);
  color: var(--muted);
}

.footer-inner {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
}

.footer nav {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

.product-hero {
  min-height: min(880px, calc(100vh - 76px));
  grid-template-columns: minmax(0, 0.82fr) minmax(520px, 1.18fr);
  gap: 42px;
  padding-top: 52px;
  overflow: visible;
}

.product-hero::before,
.product-hero::after {
  content: "";
  position: absolute;
  inset: 0 calc((100vw - min(1180px, calc(100vw - 40px))) / -2);
  z-index: -1;
}

.product-hero::before {
  background:
    radial-gradient(circle at 68% 34%, rgba(31, 140, 255, 0.28), transparent 28rem),
    radial-gradient(circle at 86% 46%, rgba(157, 101, 255, 0.17), transparent 20rem),
    linear-gradient(180deg, rgba(5, 9, 19, 0.12), rgba(5, 9, 19, 0.88));
}

.product-hero::after {
  opacity: 0.42;
  background-image:
    linear-gradient(90deg, rgba(80, 220, 255, 0.07) 1px, transparent 1px),
    linear-gradient(rgba(80, 220, 255, 0.05) 1px, transparent 1px),
    radial-gradient(circle at 75% 28%, rgba(80, 220, 255, 0.7) 0 1px, transparent 2px);
  background-size: 48px 48px, 48px 48px, 96px 96px;
  mask-image: radial-gradient(circle at 70% 40%, #000 0 38%, transparent 74%);
}

.hero-copy {
  position: relative;
  z-index: 3;
}

.agent-map {
  position: relative;
  min-height: 600px;
  border-radius: 8px;
  background:
    radial-gradient(circle at 50% 34%, rgba(80, 220, 255, 0.17), transparent 17rem),
    radial-gradient(circle at 22% 65%, rgba(157, 101, 255, 0.12), transparent 18rem);
}

.agent-map::before,
.agent-map::after {
  content: "";
  position: absolute;
  inset: 12% 8%;
  border: 1px solid rgba(80, 220, 255, 0.18);
  border-radius: 50%;
  box-shadow: 0 0 90px rgba(31, 140, 255, 0.12), inset 0 0 70px rgba(31, 140, 255, 0.08);
}

.agent-map::after {
  inset: 28% 24%;
  border-color: rgba(157, 101, 255, 0.24);
  transform: rotate(-14deg);
}

.map-core {
  position: absolute;
  left: 50%;
  top: 38%;
  z-index: 4;
  display: grid;
  width: 150px;
  height: 150px;
  place-items: center;
  transform: translate(-50%, -50%);
  border: 1px solid rgba(80, 220, 255, 0.6);
  border-radius: 50%;
  background: radial-gradient(circle at 50% 32%, rgba(80, 220, 255, 0.95), rgba(31, 140, 255, 0.38) 46%, rgba(4, 11, 23, 0.95) 76%);
  box-shadow: 0 0 80px rgba(31, 140, 255, 0.46), inset 0 0 42px rgba(255, 255, 255, 0.16);
  text-align: center;
  font-size: 1.05rem;
  font-weight: 860;
}

.agent-chip {
  position: absolute;
  z-index: 5;
  min-width: 182px;
  padding: 13px 15px;
  border: 1px solid rgba(142, 203, 255, 0.28);
  border-radius: 8px;
  background: rgba(8, 19, 35, 0.84);
  box-shadow: 0 22px 72px rgba(0, 0, 0, 0.36), inset 0 1px rgba(255, 255, 255, 0.05);
  font-weight: 820;
}

.agent-chip small {
  display: block;
  margin-top: 4px;
  color: var(--muted);
  font-size: 0.73rem;
  font-weight: 620;
}

.agent-chip.research { top: 7%; left: 8%; border-color: rgba(157, 101, 255, 0.55); }
.agent-chip.strategy { top: 4%; left: 42%; border-color: rgba(80, 220, 255, 0.48); }
.agent-chip.web { top: 15%; right: 2%; border-color: rgba(255, 188, 102, 0.5); }
.agent-chip.seo { top: 41%; right: 8%; border-color: rgba(80, 220, 255, 0.48); }
.agent-chip.proof { bottom: 18%; right: 3%; border-color: rgba(157, 101, 255, 0.5); }
.agent-chip.memory { bottom: 11%; left: 37%; border-color: rgba(80, 220, 255, 0.44); }
.agent-chip.outreach { top: 31%; left: 0; border-color: rgba(31, 140, 255, 0.5); }

.capability-section,
.factory-section,
.proof-section {
  border-top: 1px solid rgba(142, 203, 255, 0.1);
}

.capability-layout,
.factory-layout,
.proof-layout,
.contact-band {
  display: grid;
  grid-template-columns: minmax(0, 0.72fr) minmax(0, 1.1fr);
  gap: 42px;
  align-items: center;
}

.capability-list {
  display: grid;
  gap: 20px;
  margin-top: 28px;
}

.capability-list article {
  display: grid;
  grid-template-columns: 38px minmax(0, 1fr);
  column-gap: 16px;
  align-items: start;
}

.capability-list span {
  display: grid;
  width: 34px;
  height: 34px;
  place-items: center;
  border: 1px solid rgba(80, 220, 255, 0.3);
  border-radius: 50%;
  color: var(--cyan);
  font-weight: 850;
}

.capability-list h3,
.capability-list p {
  grid-column: 2;
  margin: 0;
}

.capability-list p {
  margin-top: 5px;
  color: var(--muted);
  line-height: 1.55;
}

.ops-panels {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) minmax(230px, 0.72fr);
  gap: 22px;
}

.run-panel,
.guardrail-panel,
.proof-record,
.logged-panel,
.playbook-card {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: linear-gradient(180deg, rgba(12, 28, 50, 0.88), rgba(6, 15, 29, 0.82)), var(--panel);
  box-shadow: inset 0 1px rgba(255, 255, 255, 0.04), var(--shadow);
}

.run-panel,
.guardrail-panel,
.proof-record,
.logged-panel,
.playbook-card {
  padding: 22px;
}

.run-head {
  display: flex;
  align-items: center;
  gap: 10px;
  justify-content: space-between;
  margin-bottom: 14px;
}

.run-head em {
  padding: 4px 9px;
  border-radius: 999px;
  background: rgba(101, 230, 152, 0.16);
  color: #aaffc8;
  font-size: 0.76rem;
  font-style: normal;
  font-weight: 800;
}

.run-row {
  display: grid;
  grid-template-columns: minmax(0, 0.74fr) minmax(0, 1fr) auto;
  gap: 12px;
  align-items: center;
  margin-top: 8px;
  padding: 13px;
  border: 1px solid rgba(142, 203, 255, 0.14);
  border-radius: 8px;
  background: rgba(2, 8, 18, 0.28);
}

.run-row span {
  font-weight: 820;
}

.run-row small,
.playbook-card p,
.playbook-card small {
  color: var(--muted);
  line-height: 1.55;
}

.run-row b {
  color: #8fb0d0;
  font-size: 0.8rem;
}

.run-row.done b { color: var(--green); }
.run-row.live b { color: var(--cyan); }

.guardrail-panel ul {
  display: grid;
  gap: 10px;
  margin: 16px 0 18px;
  padding: 0;
  list-style: none;
}

.guardrail-panel li,
.logged-panel p {
  display: flex;
  justify-content: space-between;
  gap: 10px;
  padding: 14px;
  border: 1px solid rgba(142, 203, 255, 0.14);
  border-radius: 8px;
  background: rgba(2, 8, 18, 0.34);
}

.guardrail-panel span,
.logged-panel p {
  color: var(--muted);
}

.factory-rail {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 16px;
  position: relative;
}

.factory-rail::after {
  content: "";
  position: absolute;
  left: 6%;
  right: 6%;
  bottom: -22px;
  height: 3px;
  background: linear-gradient(90deg, rgba(31, 140, 255, 0.5), rgba(157, 101, 255, 0.5), rgba(255, 188, 102, 0.5));
}

.factory-rail article {
  min-height: 190px;
  padding: 20px;
  border: 1px solid rgba(142, 203, 255, 0.28);
  border-radius: 8px;
  background: rgba(8, 19, 35, 0.82);
}

.factory-rail span {
  display: block;
  margin-bottom: 42px;
  color: var(--cyan);
  font-weight: 850;
}

.factory-rail article:nth-child(2),
.factory-rail article:nth-child(5) {
  border-color: rgba(157, 101, 255, 0.42);
  background: linear-gradient(180deg, rgba(45, 24, 77, 0.58), rgba(8, 19, 35, 0.82));
}

.factory-rail article:nth-child(4) {
  border-color: rgba(255, 188, 102, 0.44);
  background: linear-gradient(180deg, rgba(83, 55, 10, 0.45), rgba(8, 19, 35, 0.82));
}

.proof-layout {
  grid-template-columns: minmax(0, 0.8fr) minmax(300px, 0.9fr) minmax(230px, 0.58fr);
}

.proof-bullets {
  display: grid;
  gap: 9px;
  margin: 22px 0;
  padding: 0;
  list-style: none;
  color: #d5e5f6;
}

.proof-bullets li {
  display: flex;
  gap: 10px;
  align-items: center;
}

.proof-bullets li::before {
  content: "";
  display: inline-block;
  width: 10px;
  height: 10px;
  border: 2px solid var(--amber);
  border-radius: 50%;
}

.proof-record dl {
  display: grid;
  grid-template-columns: minmax(90px, 0.45fr) minmax(0, 1fr);
  margin: 16px 0 18px;
  border: 1px solid rgba(142, 203, 255, 0.16);
  border-radius: 8px;
  overflow: hidden;
}

.proof-record dt,
.proof-record dd {
  margin: 0;
  padding: 13px;
  border-bottom: 1px solid rgba(142, 203, 255, 0.12);
}

.proof-record dt {
  color: var(--muted);
  background: rgba(2, 8, 18, 0.28);
}

.proof-record dd {
  color: #d9e9f9;
}

.logged-panel {
  display: grid;
  gap: 10px;
}

.playbook-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.playbook-card {
  display: grid;
  gap: 12px;
}

.playbook-card span {
  width: fit-content;
  color: var(--amber);
  font-size: 0.78rem;
  font-weight: 850;
  text-transform: uppercase;
}

.playbook-card h3,
.playbook-card p {
  margin: 0;
}

.text-link {
  color: var(--cyan);
  font-weight: 820;
  text-decoration: none;
}

.contact-band {
  align-items: stretch;
  padding: 24px;
  border: 1px solid var(--line-strong);
  border-radius: 8px;
  background: radial-gradient(circle at 70% 12%, rgba(80, 220, 255, 0.12), transparent 18rem), rgba(8, 20, 38, 0.82);
  box-shadow: var(--shadow);
}

@media (max-width: 940px) {
  .hero,
  .split,
  .product-hero,
  .capability-layout,
  .factory-layout,
  .proof-layout,
  .contact-band {
    grid-template-columns: 1fr;
  }

  .hero {
    min-height: auto;
  }

  .orb-system {
    min-height: 420px;
  }

  .grid.three,
  .grid.four,
  .definition-grid,
  .flow,
  .playbook-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .ops-panels,
  .factory-rail {
    grid-template-columns: 1fr;
  }

  .factory-rail::after {
    display: none;
  }

  .agent-map {
    min-height: 470px;
  }

  .agent-chip {
    min-width: 158px;
  }

  .nav-links {
    display: none;
  }
}

@media (max-width: 640px) {
  .site-shell {
    width: 100%;
    max-width: 100%;
    padding-inline: 12px;
  }

  .hero h1,
  .page-hero h1 {
    display: block;
    width: min(310px, calc(100vw - 40px));
    max-width: min(310px, calc(100vw - 40px));
    font-size: 2rem;
    overflow-wrap: anywhere;
  }

  .section-head {
    display: grid;
    align-items: start;
    justify-content: stretch;
    gap: 14px;
  }

  .section-head h2,
  .section-head p {
    width: 100%;
    max-width: min(330px, calc(100vw - 40px));
  }

  .grid.three,
  .grid.four,
  .definition-grid,
  .playbook-grid,
  .field-row,
  .drawer-grid,
  .flow {
    grid-template-columns: 1fr;
  }

  .drawer-panel {
    width: 100%;
    max-height: 88vh;
    margin: auto 0 0;
    border-radius: 8px 8px 0 0;
    transform: translateY(22px);
  }

  .orb-system {
    display: none;
  }

  .agent-map {
    display: grid;
    grid-template-columns: 1fr;
    gap: 10px;
    min-height: auto;
    margin-top: 24px;
    padding: 14px;
    overflow: visible;
  }

  .agent-map::before,
  .agent-map::after {
    display: none;
  }

  .map-core {
    position: static;
    width: 118px;
    height: 118px;
    margin: 0 auto 6px;
    transform: none;
    font-size: 0.94rem;
  }

  .agent-chip {
    position: static;
    min-width: 136px;
    width: 100%;
    padding: 10px;
    font-size: 0.84rem;
    transform: none !important;
  }

  .agent-chip.research,
  .agent-chip.strategy,
  .agent-chip.web,
  .agent-chip.seo,
  .agent-chip.proof,
  .agent-chip.memory,
  .agent-chip.outreach {
    inset: auto;
  }

  .run-row,
  .proof-record dl {
    grid-template-columns: 1fr;
  }

  .run-row b {
    justify-self: start;
  }

  .nav-actions,
  .nav-inner > .button {
    display: none;
  }

  .nav-inner {
    min-height: 76px;
    justify-content: flex-start;
    gap: 10px;
  }

  .brand {
    min-width: 0;
  }

  .lead {
    width: min(320px, calc(100vw - 40px));
    max-width: min(320px, calc(100vw - 40px));
    font-size: 1rem;
    overflow-wrap: anywhere;
  }

  .button {
    min-height: 44px;
    padding: 0 15px;
  }

  .card,
  .step,
  .panel,
  .split,
  .grid,
  .flow {
    width: 100%;
    max-width: calc(100vw - 24px);
    overflow-wrap: anywhere;
  }

  .card p,
  .step p,
  .panel p,
  .card li {
    max-width: min(300px, calc(100vw - 84px));
  }

  .form-grid,
  .checkbox-line {
    min-width: 0;
    max-width: 100%;
  }

  .panel {
    padding: 18px;
  }

  .checkbox-line {
    display: grid;
    grid-template-columns: 18px minmax(0, 1fr);
    align-items: start;
    overflow-wrap: anywhere;
    font-size: 0.92rem;
  }
}
