:root {
  color-scheme: light;
  --ink: #151716;
  --muted: #64706c;
  --line: rgba(21, 23, 22, 0.12);
  --paper: #f7f8f4;
  --panel: #ffffff;
  --panel-2: #eef5f1;
  --teal: #087f68;
  --amber: #a86504;
  --red: #c43c2e;
  --blue: #266dd3;
  --green: #407c2a;
  --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;
  background: var(--paper);
  color: var(--ink);
}

section {
  scroll-margin-top: 82px;
}

button,
input,
textarea,
select {
  font: inherit;
}

button {
  min-height: 44px;
  border: 1px solid rgba(21, 23, 22, 0.16);
  border-radius: var(--radius);
  background: #151716;
  color: #fffdf7;
  padding: 0 18px;
  cursor: pointer;
}

button:hover {
  border-color: var(--teal);
}

a {
  color: inherit;
  text-decoration: none;
}

.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;
}

.topbar {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 64px;
  padding: 12px clamp(16px, 4vw, 48px);
  background: rgba(247, 248, 244, 0.86);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(16px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 760;
}

.brand-mark {
  display: inline-grid;
  place-items: center;
  width: 32px;
  height: 32px;
  border: 1px solid var(--line);
  border-radius: 50%;
  color: var(--teal);
  background: #fff;
}

nav {
  display: flex;
  gap: clamp(12px, 2vw, 28px);
  color: var(--muted);
  font-size: 14px;
}

nav a:hover {
  color: var(--ink);
}

.hero {
  position: relative;
  min-height: 92vh;
  display: grid;
  grid-template-columns: minmax(320px, 0.82fr) minmax(420px, 1fr);
  gap: clamp(28px, 5vw, 64px);
  align-items: center;
  padding: 96px clamp(16px, 5vw, 72px) 96px;
  overflow: hidden;
  border-bottom: 1px solid var(--line);
}

.hero::after {
  content: "";
  position: absolute;
  inset: auto 0 0 0;
  height: 16vh;
  background: linear-gradient(to bottom, rgba(247, 248, 244, 0), rgba(247, 248, 244, 0.98));
  pointer-events: none;
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 920px;
}

.eyebrow {
  margin: 0 0 12px;
  color: var(--teal);
  text-transform: uppercase;
  letter-spacing: 0;
  font-size: 13px;
  font-weight: 800;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  margin-bottom: 12px;
  font-size: clamp(58px, 12vw, 156px);
  line-height: 0.84;
  letter-spacing: 0;
}

h2 {
  margin-bottom: 0;
  font-size: clamp(34px, 5vw, 72px);
  line-height: 0.95;
  letter-spacing: 0;
}

h3 {
  margin-bottom: 12px;
  font-size: 18px;
  letter-spacing: 0;
}

.hero-copy {
  max-width: 680px;
  color: var(--ink);
  font-size: clamp(25px, 4vw, 52px);
  line-height: 1.02;
  margin-bottom: 12px;
}

.hero-subcopy {
  max-width: 660px;
  color: var(--muted);
  font-size: clamp(18px, 2vw, 24px);
  line-height: 1.32;
}

.hero-command {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 10px;
  max-width: 760px;
  margin-top: 32px;
  padding: 8px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.9);
  box-shadow: 0 20px 60px rgba(21, 23, 22, 0.12);
}

.hero-command input {
  min-width: 0;
  min-height: 48px;
  border: 0;
  outline: 0;
  background: transparent;
  color: var(--ink);
  padding: 0 12px;
}

.hero-status {
  min-height: 24px;
  margin-top: 12px;
  color: var(--muted);
}

.hero-visual {
  position: relative;
  z-index: 2;
  display: grid;
  gap: 14px;
  align-self: stretch;
  min-height: min(720px, calc(100vh - 150px));
}

.signal-stage {
  position: relative;
  min-height: 460px;
  overflow: hidden;
  border: 1px solid rgba(21, 23, 22, 0.18);
  border-radius: 18px;
  background: #111716;
  box-shadow: 0 36px 100px rgba(21, 23, 22, 0.22);
}

#signalCanvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  opacity: 1;
}

.signal-stage::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(to bottom, rgba(17, 23, 22, 0), rgba(17, 23, 22, 0.56)),
    radial-gradient(circle at 72% 44%, rgba(121, 221, 201, 0.14), transparent 30%);
  pointer-events: none;
}

.signal-legend {
  position: absolute;
  z-index: 2;
  left: 18px;
  right: 18px;
  top: 18px;
  display: grid;
  gap: 6px;
  color: #fffdf7;
}

.signal-legend span {
  color: #79ddc9;
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
}

.signal-legend strong {
  max-width: 520px;
  font-size: clamp(22px, 3vw, 42px);
  line-height: 0.98;
}

.source-rail {
  position: absolute;
  z-index: 2;
  left: 18px;
  right: 18px;
  bottom: 18px;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.source-rail span {
  border: 1px solid rgba(255, 253, 247, 0.18);
  border-radius: 999px;
  background: rgba(255, 253, 247, 0.08);
  color: rgba(255, 253, 247, 0.82);
  padding: 7px 10px;
  font-size: 12px;
  font-weight: 800;
}

.hero-dock {
  display: grid;
  grid-template-columns: auto auto;
  gap: 8px 16px;
  width: 100%;
  padding: 14px 16px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.94);
  color: var(--muted);
  box-shadow: 0 14px 40px rgba(21, 23, 22, 0.09);
}

.hero-dock strong {
  color: var(--ink);
  text-align: right;
}

.operator-preview {
  position: relative;
  display: grid;
  gap: 14px;
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.92);
  color: var(--ink);
  box-shadow: 0 22px 64px rgba(21, 23, 22, 0.16);
  animation: preview-float 7s ease-in-out infinite;
}

.operator-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  color: var(--muted);
  font-size: 12px;
}

.operator-top div {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--ink);
}

.status-dot {
  width: 8px;
  height: 8px;
  border-radius: 999px;
  background: var(--green);
  box-shadow: 0 0 0 6px rgba(64, 124, 42, 0.12);
}

.imessage-card {
  display: grid;
  gap: 14px;
  padding: 16px;
  border-radius: 26px;
  background: #111;
  color: #fff;
}

.phone-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  color: rgba(255, 255, 255, 0.72);
  font-size: 13px;
}

.phone-bar span {
  color: #fff;
  font-weight: 800;
}

.bubble {
  max-width: 92%;
  padding: 12px 14px;
  border-radius: 18px;
  line-height: 1.35;
}

.bubble.user {
  justify-self: end;
  background: #0b84ff;
  color: #fff;
}

.bubble.captain {
  justify-self: start;
  background: #262a2d;
}

.work-feed {
  display: grid;
  gap: 8px;
}

.work-feed div {
  display: grid;
  gap: 4px;
  padding: 12px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fbfcf8;
  animation: feed-rise 520ms ease both;
}

.work-feed div:nth-child(2) {
  animation-delay: 120ms;
}

.work-feed div:nth-child(3) {
  animation-delay: 240ms;
}

.work-feed div:nth-child(4) {
  animation-delay: 360ms;
}

.work-feed span {
  color: var(--teal);
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
}

.cockpit,
.brain,
.demo,
.outcomes,
.compatibility,
.mvp,
.pricing,
.trust {
  padding: clamp(64px, 8vw, 112px) clamp(16px, 5vw, 72px);
}

.section-head {
  display: grid;
  gap: 6px;
  margin-bottom: 28px;
}

.wide-head {
  max-width: 1100px;
}

.compatibility {
  position: relative;
  overflow: hidden;
  background: #eef5f1;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.compatibility::before,
.mvp::before {
  content: "";
  position: absolute;
  inset: 24px 24px auto auto;
  width: min(54vw, 780px);
  aspect-ratio: 1.55;
  border: 1px solid rgba(8, 127, 104, 0.18);
  border-radius: 50%;
  transform: rotate(-10deg);
  pointer-events: none;
}

.compatibility-grid {
  position: relative;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
}

.compat-card {
  min-height: 320px;
  display: grid;
  align-content: space-between;
  gap: 18px;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.88);
  box-shadow: 0 18px 50px rgba(21, 23, 22, 0.08);
  transition: transform 260ms ease, border-color 260ms ease;
}

.compat-card:hover {
  border-color: rgba(8, 127, 104, 0.34);
  transform: translateY(-5px);
}

.compat-card.is-live {
  background: #151716;
  color: #fffdf7;
}

.compat-card span,
.mvp-system span {
  color: var(--teal);
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
}

.compat-card.is-live span {
  color: #79ddc9;
}

.compat-card h3,
.mvp-system h3 {
  margin: 0;
  font-size: clamp(24px, 3vw, 38px);
  line-height: 1;
}

.compat-card p,
.mvp-system p {
  margin: 0;
  color: var(--muted);
  line-height: 1.45;
}

.compat-card.is-live p {
  color: rgba(255, 253, 247, 0.74);
}

.compat-strip {
  position: relative;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 16px;
}

.compat-strip span {
  border: 1px solid rgba(21, 23, 22, 0.14);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.74);
  color: var(--ink);
  padding: 8px 10px;
  font-size: 13px;
  font-weight: 780;
}

.import-lab {
  position: relative;
  display: grid;
  grid-template-columns: minmax(260px, 0.42fr) 1fr;
  gap: 18px;
  align-items: start;
  margin-top: 18px;
  padding: 18px;
  border: 1px solid rgba(21, 23, 22, 0.14);
  border-radius: var(--radius);
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.94), rgba(238, 245, 241, 0.86)),
    #ffffff;
  box-shadow: 0 20px 58px rgba(21, 23, 22, 0.08);
}

.import-lab h3 {
  margin-bottom: 10px;
  font-size: clamp(26px, 3vw, 44px);
  line-height: 0.98;
}

.import-lab p {
  color: var(--muted);
  line-height: 1.45;
}

.import-controls {
  display: grid;
  gap: 10px;
}

.import-controls label {
  color: var(--teal);
  font-size: 13px;
  font-weight: 900;
  text-transform: uppercase;
}

.import-controls textarea {
  min-height: 150px;
  background: #fff;
}

.import-status {
  min-height: 22px;
  color: var(--muted);
  line-height: 1.35;
}

.mvp {
  position: relative;
  overflow: hidden;
  background: #ffffff;
}

.mvp::before {
  inset: auto auto 8% -18%;
  border-color: rgba(38, 109, 211, 0.14);
  transform: rotate(14deg);
}

.mvp-system {
  position: relative;
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 12px;
}

.mvp-system article {
  min-height: 260px;
  display: grid;
  align-content: space-between;
  gap: 18px;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background:
    linear-gradient(150deg, rgba(8, 127, 104, 0.08), rgba(38, 109, 211, 0.06)),
    #fbfcf8;
  box-shadow: 0 16px 42px rgba(21, 23, 22, 0.06);
}

.mvp-system article {
  grid-column: span 2;
}

.console-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(320px, 0.7fr);
  gap: 18px;
}

.quickstart {
  display: grid;
  grid-template-columns: minmax(220px, 0.42fr) 1fr auto;
  align-items: end;
  gap: 18px;
  margin-bottom: 18px;
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--panel);
  box-shadow: 0 10px 30px rgba(21, 23, 22, 0.06);
}

.demo {
  position: relative;
  overflow: hidden;
  background: #ffffff;
}

.demo::before {
  content: "";
  position: absolute;
  inset: 8% -20% auto auto;
  width: 56vw;
  aspect-ratio: 1;
  border: 1px solid rgba(8, 127, 104, 0.16);
  border-radius: 50%;
  pointer-events: none;
  animation: demo-orbit 16s linear infinite;
}

.demo-shell {
  position: relative;
  display: grid;
  grid-template-columns: minmax(180px, 0.24fr) 1fr;
  gap: 18px;
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: rgba(247, 248, 244, 0.88);
  box-shadow: 0 24px 80px rgba(21, 23, 22, 0.1);
}

.demo-controls {
  display: grid;
  align-content: start;
  gap: 10px;
}

.demo-controls button {
  justify-content: start;
  width: 100%;
  background: #fff;
  color: var(--ink);
  text-align: left;
}

.demo-controls button.is-active {
  border-color: var(--teal);
  background: rgba(8, 127, 104, 0.1);
}

.demo-stage {
  display: grid;
  grid-template-columns: minmax(260px, 0.46fr) 1fr;
  grid-template-rows: auto auto;
  gap: 14px;
}

.demo-phone {
  display: grid;
  gap: 14px;
  grid-row: span 2;
  padding: 16px;
  border-radius: 28px;
  background: #111;
  color: #fff;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.08);
}

.demo-phone .bubble {
  transition: transform 260ms ease, opacity 260ms ease;
}

.demo-pipeline {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
}

.demo-card {
  position: relative;
  min-height: 138px;
  display: grid;
  align-content: space-between;
  gap: 12px;
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #ffffff;
  overflow: hidden;
  transition: transform 260ms ease, border-color 260ms ease, box-shadow 260ms ease;
}

.demo-card::after {
  content: "";
  position: absolute;
  inset: auto 0 0 0;
  height: 3px;
  background: var(--teal);
  transform: scaleX(0);
  transform-origin: left;
}

.demo-card.is-active {
  border-color: rgba(8, 127, 104, 0.42);
  box-shadow: 0 18px 40px rgba(8, 127, 104, 0.12);
  transform: translateY(-4px);
}

.demo-card.is-active::after {
  animation: active-card-line 4s linear;
}

.demo-card span {
  color: var(--teal);
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
}

.demo-card strong {
  line-height: 1.1;
}

.demo-result {
  display: grid;
  gap: 14px;
  padding: 16px;
  border-radius: var(--radius);
  background: #151716;
  color: #fffdf7;
}

.demo-result-head {
  display: grid;
  gap: 4px;
}

.demo-result-head span {
  color: #79ddc9;
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
}

.demo-result-head strong {
  font-size: clamp(22px, 3vw, 36px);
  line-height: 1;
}

.demo-result ul {
  display: grid;
  gap: 8px;
  margin: 0;
  padding-left: 18px;
  color: rgba(255, 253, 247, 0.78);
}

.demo-progress {
  height: 6px;
  overflow: hidden;
  border-radius: 999px;
  background: rgba(255, 253, 247, 0.14);
}

.demo-progress span {
  display: block;
  height: 100%;
  width: 25%;
  border-radius: inherit;
  background: #79ddc9;
  transition: width 260ms ease;
}

@keyframes active-card-line {
  from {
    transform: scaleX(0);
  }
  to {
    transform: scaleX(1);
  }
}

@keyframes demo-orbit {
  from {
    transform: rotate(0deg);
  }
  to {
    transform: rotate(360deg);
  }
}

@keyframes preview-float {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-8px);
  }
}

@keyframes feed-rise {
  from {
    opacity: 0;
    transform: translateY(10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes node-pulse {
  0%,
  100% {
    border-color: var(--line);
    transform: translateY(0);
  }
  50% {
    border-color: rgba(8, 127, 104, 0.34);
    transform: translateY(-3px);
  }
}

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

.outcomes {
  background: #151716;
  color: #fffdf7;
}

.outcomes .section-head .eyebrow {
  color: #79ddc9;
}

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

.outcome-grid article {
  min-height: 280px;
  display: grid;
  align-content: space-between;
  gap: 18px;
  padding: 20px;
  border: 1px solid rgba(255, 253, 247, 0.14);
  border-radius: var(--radius);
  background:
    linear-gradient(145deg, rgba(8, 127, 104, 0.24), rgba(255, 255, 255, 0.04)),
    #1d211f;
  transition: transform 260ms ease, border-color 260ms ease;
}

.outcome-grid article:hover {
  border-color: rgba(121, 221, 201, 0.34);
  transform: translateY(-6px);
}

.outcome-grid span {
  color: #79ddc9;
  font-weight: 900;
}

.outcome-grid h3 {
  margin: 0;
  font-size: clamp(28px, 4vw, 54px);
  line-height: 0.95;
}

.outcome-grid p {
  margin: 0;
  color: rgba(255, 253, 247, 0.72);
  line-height: 1.45;
}

.pricing {
  background: #ffffff;
}

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

.price-card {
  min-height: 440px;
  display: grid;
  align-content: space-between;
  gap: 22px;
  padding: 20px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: #f7f8f4;
  box-shadow: 0 14px 44px rgba(21, 23, 22, 0.06);
}

.price-card.is-featured {
  background: #151716;
  color: #fffdf7;
  transform: translateY(-8px);
}

.price-card span,
.setup-offer span {
  display: inline-block;
  margin-bottom: 10px;
  color: var(--teal);
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
}

.price-card.is-featured span {
  color: #79ddc9;
}

.price-card h3 {
  margin: 0 0 12px;
  font-size: clamp(38px, 5vw, 64px);
  line-height: 0.9;
}

.price-card p,
.setup-offer p {
  color: var(--muted);
  line-height: 1.45;
}

.price-card.is-featured p {
  color: rgba(255, 253, 247, 0.74);
}

.price-card ul {
  display: grid;
  gap: 10px;
  margin: 0;
  padding-left: 18px;
  color: var(--muted);
}

.price-card.is-featured ul {
  color: rgba(255, 253, 247, 0.78);
}

.payment-button {
  min-height: 48px;
  display: inline-grid;
  place-items: center;
  border: 1px solid rgba(21, 23, 22, 0.16);
  border-radius: var(--radius);
  background: #151716;
  color: #fffdf7;
  padding: 0 18px;
  text-align: center;
}

.price-card.is-featured .payment-button {
  background: #fffdf7;
  color: #151716;
}

.payment-button.is-disabled {
  cursor: not-allowed;
  opacity: 0.58;
}

.setup-offer {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 18px;
  align-items: center;
  margin-top: 18px;
  padding: 20px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: #eef5f1;
}

.setup-offer strong {
  display: block;
  margin-bottom: 8px;
  font-size: clamp(24px, 3vw, 38px);
  line-height: 1;
}

.payment-note {
  min-height: 22px;
  margin: 14px 0 0;
  color: var(--muted);
}

.quickstart h3 {
  margin: 0;
  font-size: clamp(22px, 3vw, 36px);
  line-height: 1;
}

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

fieldset {
  min-width: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 0;
  padding: 0;
  border: 0;
}

legend {
  width: 100%;
  margin-bottom: 2px;
  color: var(--muted);
  font-size: 13px;
}

fieldset button {
  min-height: 36px;
  padding: 0 10px;
  background: transparent;
  color: var(--ink);
}

fieldset button.is-selected {
  border-color: var(--teal);
  background: rgba(8, 127, 104, 0.12);
}

.operator-panel,
.brief-panel,
.brain-grid section {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--panel);
  box-shadow: 0 10px 30px rgba(21, 23, 22, 0.06);
}

.operator-panel {
  display: grid;
  gap: 14px;
  padding: 16px;
}

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

.command-form label {
  color: var(--teal);
  font-weight: 800;
}

textarea {
  width: 100%;
  min-height: 160px;
  resize: vertical;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  outline: 0;
  background: #f7f8f4;
  color: var(--ink);
  padding: 14px;
  line-height: 1.45;
}

textarea:focus,
input:focus,
select:focus {
  border-color: var(--teal);
}

select,
input[type="file"] {
  width: 100%;
  min-height: 44px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
  color: var(--ink);
  padding: 10px 12px;
}

.form-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.form-actions button + button {
  background: transparent;
  color: var(--ink);
}

.captain-reply {
  min-height: 96px;
  white-space: pre-wrap;
  border-top: 1px solid var(--line);
  padding-top: 14px;
  color: var(--ink);
  line-height: 1.5;
}

.brief-panel {
  padding: 16px;
}

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

.brief-card {
  display: grid;
  gap: 8px;
  padding: 12px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--panel-2);
}

.brief-card b {
  color: var(--amber);
}

.brief-card ul {
  margin: 0;
  padding-left: 18px;
  color: var(--muted);
}

.brain-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 18px;
}

.brain-map {
  position: relative;
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 10px;
  margin-bottom: 18px;
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background:
    radial-gradient(circle at 50% 50%, rgba(8, 127, 104, 0.18), transparent 34%),
    #ffffff;
  box-shadow: 0 10px 30px rgba(21, 23, 22, 0.06);
}

.brain-core {
  grid-column: span 6;
  display: grid;
  gap: 6px;
  padding: 18px;
  border-radius: var(--radius);
  background: #151716;
  color: #fffdf7;
}

.brain-core span {
  color: #79ddc9;
  font-weight: 900;
}

.brain-core strong {
  font-size: clamp(22px, 3vw, 38px);
  line-height: 1;
}

.brain-node {
  min-height: 72px;
  display: grid;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.82);
  color: var(--muted);
  font-weight: 800;
  animation: node-pulse 5s ease-in-out infinite;
}

.brain-node:nth-child(3) {
  animation-delay: 300ms;
}

.brain-node:nth-child(4) {
  animation-delay: 600ms;
}

.brain-node:nth-child(5) {
  animation-delay: 900ms;
}

.brain-node:nth-child(6) {
  animation-delay: 1200ms;
}

.brain-node:nth-child(7) {
  animation-delay: 1500ms;
}

.brain-grid section {
  min-height: 360px;
  padding: 14px;
}

.list-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  border-bottom: 1px solid var(--line);
  padding-bottom: 10px;
  margin-bottom: 12px;
}

.list-head span {
  display: inline-grid;
  place-items: center;
  min-width: 30px;
  height: 30px;
  border-radius: 50%;
  background: #f7f8f4;
  color: var(--teal);
}

.stack {
  display: grid;
  gap: 10px;
}

.item {
  display: grid;
  gap: 8px;
  padding: 12px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fbfcf8;
}

.item strong {
  overflow-wrap: anywhere;
}

.meta {
  color: var(--muted);
  font-size: 13px;
  line-height: 1.35;
  overflow-wrap: anywhere;
}

.pill-row {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.pill {
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 4px 8px;
  color: var(--muted);
  font-size: 12px;
}

.priority-high {
  color: var(--red);
}

.priority-medium {
  color: var(--amber);
}

.priority-low {
  color: var(--green);
}

.item-actions {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

.item-actions button {
  min-height: 34px;
  padding: 0 10px;
  background: transparent;
  color: var(--ink);
}

.trust {
  border-top: 1px solid var(--line);
  background: #ffffff;
}

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

.trust-grid article {
  min-height: 220px;
  display: grid;
  align-content: start;
  gap: 14px;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #f7f8f4;
  transition: transform 260ms ease, box-shadow 260ms ease;
}

.trust-grid article:hover {
  box-shadow: 0 18px 44px rgba(21, 23, 22, 0.08);
  transform: translateY(-5px);
}

.trust-grid span {
  color: var(--teal);
  font-weight: 900;
}

.trust-grid h3 {
  margin: 0;
  font-size: clamp(22px, 3vw, 34px);
  line-height: 1;
}

.trust-grid p {
  margin: 0;
  color: var(--muted);
  line-height: 1.45;
}

@media (max-width: 980px) {
  .hero,
  .console-layout,
  .brain-grid,
  .demo-shell,
  .demo-stage,
  .outcome-grid,
  .compatibility-grid,
  .mvp-system,
  .import-lab,
  .pricing-grid,
  .trust-grid {
    grid-template-columns: 1fr 1fr;
  }

  .hero {
    grid-template-columns: 1fr;
  }

  .operator-preview {
    max-width: 420px;
  }

  .quickstart {
    grid-template-columns: 1fr;
  }

  .demo-shell,
  .demo-stage {
    grid-template-columns: 1fr;
  }

  .demo-phone {
    grid-row: auto;
  }

  .demo-pipeline {
    grid-template-columns: 1fr 1fr;
  }

  .mvp-system article {
    grid-column: auto;
  }
}

@media (max-width: 720px) {
  .topbar {
    align-items: flex-start;
    gap: 12px;
  }

  nav {
    flex-wrap: wrap;
    justify-content: flex-end;
  }

  .hero {
    min-height: 94vh;
    align-items: start;
    padding-top: 112px;
  }

  .hero-command {
    grid-template-columns: 1fr;
  }

  .hero-dock {
    left: 16px;
    right: 16px;
  }

  .operator-preview {
    display: none;
  }

  .hero-visual {
    min-height: 440px;
  }

  .signal-stage {
    min-height: 360px;
  }

  .console-layout,
  .brain-grid,
  .demo-shell,
  .demo-stage,
  .demo-pipeline,
  .outcome-grid,
  .compatibility-grid,
  .mvp-system,
  .import-lab,
  .pricing-grid,
  .trust-grid,
  .quick-columns {
    grid-template-columns: 1fr;
  }

  .price-card.is-featured {
    transform: none;
  }

  .setup-offer {
    grid-template-columns: 1fr;
  }

  .brain-map {
    grid-template-columns: 1fr 1fr;
  }

  .brain-core {
    grid-column: span 2;
  }
}
