:root {
  color-scheme: dark;
  --bg: #070b14;
  --bg-2: #0c1220;
  --panel: rgba(18, 26, 42, 0.82);
  --panel-solid: #121a2a;
  --fg: #e8eef8;
  --muted: #93a0b8;
  --line: #243044;
  --indigo: #818cf8;
  --indigo-deep: #4f46e5;
  --cyan: #22d3ee;
  --ok: #4ade80;
  --font: "Outfit", ui-sans-serif, system-ui, sans-serif;
  --mono: "JetBrains Mono", ui-monospace, Consolas, monospace;
  --radius: 16px;
  --max: 1120px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font: 16px/1.55 var(--font);
  color: var(--fg);
  background: var(--bg);
  min-height: 100%;
}
a { color: var(--cyan); text-decoration: none; }
a:hover { text-decoration: underline; }
code { font-family: var(--mono); font-size: 0.92em; }
.hidden { display: none !important; }
.muted { color: var(--muted); }
.fine { color: var(--muted); font-size: 13px; margin-top: 10px; }
.row { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 14px; }

.bgGlow {
  pointer-events: none;
  position: fixed;
  inset: 0;
  z-index: -1;
  background:
    radial-gradient(900px 480px at 12% -8%, rgba(79, 70, 229, 0.28), transparent 58%),
    radial-gradient(700px 420px at 92% 8%, rgba(34, 211, 238, 0.12), transparent 50%),
    radial-gradient(600px 400px at 50% 110%, rgba(79, 70, 229, 0.1), transparent 55%),
    linear-gradient(180deg, #070b14 0%, #0a1020 40%, #070b14 100%);
}

.siteHeader {
  position: sticky;
  top: 0;
  z-index: 40;
  display: flex;
  align-items: center;
  gap: 18px;
  padding: 14px clamp(16px, 4vw, 32px);
  border-bottom: 1px solid rgba(36, 48, 68, 0.85);
  background: rgba(7, 11, 20, 0.78);
  backdrop-filter: blur(14px);
}
.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  color: inherit;
  text-decoration: none;
  min-width: 0;
}
.brandMark {
  width: 34px;
  height: 34px;
  border-radius: 11px;
  background: linear-gradient(135deg, var(--indigo-deep), var(--cyan));
  box-shadow: 0 0 28px rgba(79, 70, 229, 0.35);
  flex: 0 0 auto;
}
.brandText { display: grid; gap: 2px; min-width: 0; }
.brandText strong {
  font-size: 15px;
  letter-spacing: -0.02em;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.betaBadge {
  width: fit-content;
  font-size: 11px;
  color: var(--muted);
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 1px 8px;
}
.siteNav {
  display: flex;
  gap: 8px;
  margin-left: auto;
  flex-wrap: wrap;
}
.siteNav a {
  color: var(--muted);
  text-decoration: none;
  padding: 8px 10px;
  border-radius: 10px;
  font-size: 14px;
  transition: color .15s ease, background .15s ease;
}
.siteNav a:hover { color: var(--fg); background: rgba(148, 163, 184, 0.08); text-decoration: none; }
.headerActions { display: flex; gap: 8px; align-items: center; }
.menuBtn {
  display: none;
  background: transparent;
  border: 1px solid var(--line);
  color: var(--fg);
  border-radius: 10px;
  padding: 8px 10px;
  cursor: pointer;
}
.mobileNav {
  display: none;
  flex-direction: column;
  gap: 8px;
  padding: 12px 16px 16px;
  border-bottom: 1px solid var(--line);
  background: var(--bg-2);
}
.mobileNav a {
  color: var(--fg);
  text-decoration: none;
  padding: 10px 12px;
  border-radius: 10px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 10px 14px;
  border-radius: 12px;
  border: 1px solid var(--line);
  background: rgba(18, 26, 42, 0.9);
  color: var(--fg);
  font: 600 14px/1 var(--font);
  text-decoration: none;
  cursor: pointer;
  transition: transform .12s ease, border-color .15s ease, filter .15s ease, background .15s ease;
}
.btn:hover { text-decoration: none; border-color: #3b4a63; }
.btn:active { transform: translateY(1px); }
.btn.primary {
  background: linear-gradient(180deg, #6366f1, var(--indigo-deep));
  border-color: transparent;
  box-shadow: 0 10px 30px rgba(79, 70, 229, 0.28);
}
.btn.primary:hover { filter: brightness(1.06); }
.btn.ghost { background: transparent; }
.btn.lg { padding: 13px 18px; font-size: 15px; }
.btn.full { width: 100%; }

main { width: min(var(--max), calc(100% - 32px)); margin: 0 auto; }

.hero {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 36px;
  align-items: center;
  padding: clamp(36px, 7vw, 88px) 0 56px;
}
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin: 0 0 16px;
  padding: 6px 12px;
  border-radius: 999px;
  border: 1px solid rgba(34, 211, 238, 0.28);
  background: rgba(34, 211, 238, 0.06);
  color: #a5f3fc;
  font-size: 13px;
  font-weight: 500;
}
.eyebrowDot {
  width: 7px; height: 7px; border-radius: 50%;
  background: var(--cyan);
  box-shadow: 0 0 0 0 rgba(34, 211, 238, 0.5);
  animation: pulse 1.8s infinite;
}
@keyframes pulse {
  0% { box-shadow: 0 0 0 0 rgba(34, 211, 238, 0.45); }
  70% { box-shadow: 0 0 0 8px rgba(34, 211, 238, 0); }
  100% { box-shadow: 0 0 0 0 rgba(34, 211, 238, 0); }
}
.hero h1 {
  margin: 0;
  font-size: clamp(2rem, 4.4vw, 3.35rem);
  line-height: 1.08;
  letter-spacing: -0.04em;
  font-weight: 800;
  max-width: 16ch;
}
.subline {
  margin: 18px 0 0;
  color: var(--muted);
  font-size: 1.05rem;
  max-width: 46ch;
}
.heroCtas { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 28px; }
.trustPills {
  list-style: none;
  margin: 28px 0 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.trustPills li {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 12px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: rgba(18, 26, 42, 0.65);
  color: var(--muted);
  font-size: 12.5px;
}
.trustPills svg { color: var(--cyan); flex: 0 0 auto; }

.heroVisual { min-width: 0; }
.terminalCard {
  border: 1px solid var(--line);
  border-radius: 18px;
  background: linear-gradient(180deg, rgba(24, 34, 54, 0.95), rgba(12, 18, 32, 0.98));
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.45);
  overflow: hidden;
  transform: perspective(1200px) rotateY(-6deg) rotateX(3deg);
  animation: floatIn .8s ease both;
}
@keyframes floatIn {
  from { opacity: 0; transform: perspective(1200px) rotateY(-6deg) rotateX(3deg) translateY(18px); }
  to { opacity: 1; transform: perspective(1200px) rotateY(-6deg) rotateX(3deg) translateY(0); }
}
.terminalTop {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 12px 14px;
  border-bottom: 1px solid var(--line);
  color: var(--muted);
  font-size: 12px;
}
.terminalTop span {
  width: 9px; height: 9px; border-radius: 50%;
  background: #475569;
}
.terminalTop span:nth-child(1) { background: #f87171; }
.terminalTop span:nth-child(2) { background: #fbbf24; }
.terminalTop span:nth-child(3) { background: #34d399; }
.terminalTop em { margin-left: auto; font-style: normal; }
.terminalBody {
  margin: 0;
  padding: 18px 16px 22px;
  font: 500 13px/1.7 var(--mono);
  overflow: auto;
}
.tMuted { color: #64748b; }
.tCyan { color: var(--cyan); }
.tIndigo { color: var(--indigo); }
.tOk { color: var(--ok); }

.section { padding: 72px 0; }
.sectionHead { margin-bottom: 28px; max-width: 640px; }
.sectionEyebrow {
  margin: 0 0 8px;
  color: var(--cyan);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}
.sectionHead h2 {
  margin: 0;
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  letter-spacing: -0.03em;
  font-weight: 700;
}
.sectionSub { color: var(--muted); margin: 10px 0 0; }

.featureGrid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}
.featureCard {
  position: relative;
  padding: 20px;
  border-radius: var(--radius);
  border: 1px solid var(--line);
  background: var(--panel);
  transition: border-color .2s ease, transform .2s ease;
}
.featureCard:hover {
  border-color: rgba(129, 140, 248, 0.45);
  transform: translateY(-2px);
}
.featureCardNew {
  border-color: rgba(34, 211, 238, 0.28);
  background:
    linear-gradient(165deg, rgba(34, 211, 238, 0.06), transparent 42%),
    var(--panel);
}
.featureNewBadge {
  position: absolute;
  top: 14px;
  right: 14px;
  margin: 0;
  padding: 3px 8px;
  border-radius: 999px;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--cyan);
  border: 1px solid rgba(34, 211, 238, 0.35);
  background: rgba(34, 211, 238, 0.1);
}
.featureKicker {
  margin: 0 0 8px !important;
  font-size: 12px !important;
  font-weight: 600;
  letter-spacing: 0.02em;
  color: rgba(165, 243, 252, 0.85) !important;
}
.featureIcon {
  width: 42px; height: 42px;
  display: grid; place-items: center;
  border-radius: 12px;
  margin-bottom: 14px;
  color: var(--cyan);
  background: rgba(34, 211, 238, 0.08);
  border: 1px solid rgba(34, 211, 238, 0.2);
}
.featureIconAccent {
  color: #a5f3fc;
  background: rgba(34, 211, 238, 0.12);
  border-color: rgba(34, 211, 238, 0.35);
}
.featureCard h3 {
  margin: 0 0 8px;
  font-size: 1.05rem;
  letter-spacing: -0.02em;
  padding-right: 48px;
}
.featureCard p { margin: 0; color: var(--muted); font-size: 14.5px; }

.workflow {
  display: flex;
  flex-wrap: wrap;
  align-items: stretch;
  gap: 8px;
  padding: 18px;
  border-radius: 18px;
  border: 1px solid var(--line);
  background:
    linear-gradient(90deg, rgba(79, 70, 229, 0.12), rgba(34, 211, 238, 0.06)),
    var(--panel-solid);
}
.wfStep {
  flex: 1 1 110px;
  min-width: 110px;
  padding: 14px 12px;
  border-radius: 12px;
  border: 1px solid var(--line);
  background: rgba(7, 11, 20, 0.55);
  text-align: center;
  font-weight: 600;
  font-size: 13px;
  letter-spacing: -0.01em;
}
.wfStep small { display: block; margin-top: 4px; color: var(--muted); font-weight: 500; font-size: 11px; }
.wfStep.scout { border-color: rgba(34, 211, 238, 0.45); }
.wfStep.primary { border-color: rgba(129, 140, 248, 0.55); }
.wfStep.reviewer { border-color: rgba(167, 139, 250, 0.45); }
.wfStep.verify { border-color: rgba(251, 191, 36, 0.4); }
.wfStep.green {
  border-color: rgba(74, 222, 128, 0.55);
  background: rgba(22, 101, 52, 0.25);
  color: #bbf7d0;
}
.wfArrow {
  display: grid;
  place-items: center;
  color: var(--muted);
  font-family: var(--mono);
  padding: 0 2px;
}
.archNotes {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  margin-top: 16px;
}
.noteCard {
  padding: 16px;
  border-radius: 14px;
  border: 1px solid var(--line);
  background: rgba(18, 26, 42, 0.55);
}
.noteCard h3 { margin: 0 0 6px; font-size: 14px; }
.noteCard p { margin: 0; color: var(--muted); font-size: 13.5px; }

.pricingGrid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}
.priceCard {
  position: relative;
  padding: 24px;
  border-radius: 18px;
  border: 1px solid var(--line);
  background: var(--panel);
}
.priceCard.featured {
  border-color: rgba(129, 140, 248, 0.55);
  background:
    linear-gradient(180deg, rgba(79, 70, 229, 0.2), rgba(18, 26, 42, 0.92)),
    var(--panel-solid);
  box-shadow: 0 20px 50px rgba(79, 70, 229, 0.18);
}
.recBadge {
  position: absolute;
  top: 14px;
  right: 14px;
  margin: 0;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  padding: 4px 8px;
  border-radius: 999px;
  background: rgba(129, 140, 248, 0.2);
  border: 1px solid rgba(129, 140, 248, 0.45);
  color: #c7d2fe;
}
.priceTier { margin: 0; color: var(--muted); font-size: 13px; font-weight: 600; }
.priceAmount {
  margin: 8px 0 4px;
  font-size: 2.4rem;
  font-weight: 800;
  letter-spacing: -0.04em;
}
.priceAmount span { font-size: 15px; color: var(--muted); font-weight: 500; }
.priceFor { margin: 0 0 14px; color: var(--muted); font-size: 14px; }
.priceCard ul {
  margin: 0 0 18px;
  padding-left: 18px;
  color: var(--muted);
  font-size: 14px;
}
.priceCard li { margin: 8px 0; }
.priceCard li strong { color: var(--fg); }

.releaseGrid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}
.releaseCard {
  padding: 22px;
  border-radius: 18px;
  border: 1px solid var(--line);
  background: var(--panel);
}
.releaseCard.locked { opacity: 0.88; }
.releaseCard h3 { margin: 0 0 6px; letter-spacing: -0.02em; }
.releaseMeta { color: var(--muted); font-family: var(--mono); font-size: 12.5px; }
.lockBadge {
  width: 36px; height: 36px;
  display: grid; place-items: center;
  border-radius: 10px;
  margin-bottom: 10px;
  color: var(--muted);
  border: 1px solid var(--line);
  background: rgba(15, 23, 42, 0.7);
}
.sysReq {
  margin-top: 16px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: rgba(18, 26, 42, 0.5);
  padding: 12px 16px;
}
.sysReq summary {
  cursor: pointer;
  font-weight: 600;
  list-style: none;
}
.sysReq summary::-webkit-details-marker { display: none; }
.sysReq ul { margin: 10px 0 4px; padding-left: 18px; color: var(--muted); }

.agbGate {
  margin: 0 0 16px;
  padding: 14px 16px;
  border-radius: 14px;
  border: 1px solid var(--line);
  background: rgba(18, 26, 42, 0.65);
  transition: border-color .2s ease, box-shadow .2s ease;
}
.agbGate.is-accepted {
  border-color: rgba(74, 222, 128, 0.35);
}
.agbGate.shake {
  border-color: #f87171;
  box-shadow: 0 0 0 3px rgba(248, 113, 113, 0.25);
  animation: agbShake 0.35s ease;
}
@keyframes agbShake {
  0%, 100% { transform: translateX(0); }
  25% { transform: translateX(-4px); }
  75% { transform: translateX(4px); }
}
.agbCheckLabel {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.45;
  cursor: pointer;
}
.agbCheckLabel input {
  margin-top: 3px;
  width: 18px;
  height: 18px;
  flex: 0 0 auto;
  accent-color: var(--indigo-deep);
}
.agbHint {
  margin: 10px 0 0;
  color: #fca5a5;
  font-size: 13px;
}
.btn.downloadGated.is-disabled,
a.downloadGated.is-disabled {
  opacity: 0.45;
  cursor: not-allowed;
  filter: grayscale(0.2);
}

.agbPage ol { padding-left: 1.25rem; color: var(--muted); }
.agbPage li { margin: 8px 0; }

.siteFooter {
  width: min(var(--max), calc(100% - 32px));
  margin: 40px auto 0;
  padding: 28px 0 48px;
  border-top: 1px solid var(--line);
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  justify-content: space-between;
}
.footerBrand p { margin: 6px 0 0; color: var(--muted); font-size: 13px; }
.footerLinks {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 16px;
  align-items: center;
}
.footerLinks a { color: var(--muted); font-size: 13px; }
.footerLinks a:hover { color: var(--fg); }

.legalPage {
  width: min(720px, calc(100% - 32px));
  margin: 40px auto 64px;
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: var(--panel);
}
.legalPage h1 { margin-top: 0; letter-spacing: -0.03em; }
.legalPage h2 { margin-top: 28px; font-size: 1.15rem; }
.legalPage.prose code {
  font-family: ui-monospace, Consolas, monospace;
  font-size: 0.9em;
  background: rgba(255,255,255,0.06);
  padding: 0.1em 0.35em;
  border-radius: 4px;
}
.legalPage.prose a { color: var(--accent, #7dd3fc); }

@media (max-width: 1100px) and (min-width: 961px) {
  .featureGrid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 960px) {
  .siteNav, .headerActions { display: none; }
  .menuBtn { display: inline-flex; margin-left: auto; }
  .mobileNav:not(.hidden) { display: flex; }
  .hero { grid-template-columns: 1fr; padding-top: 40px; }
  .hero h1 { max-width: none; }
  .terminalCard { transform: none; animation: none; }
  .featureGrid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .archNotes, .pricingGrid, .releaseGrid { grid-template-columns: 1fr; }
  .wfArrow { display: none; }
}
@media (max-width: 640px) {
  .featureGrid { grid-template-columns: 1fr; }
}

/* Read-only current/planned feature notice. */
.brainSyncNotice { border: 1px solid #7775b8; border-radius: 12px; padding: 20px; overflow-wrap: anywhere; }
.brainSyncNotice p { line-height: 1.6; }
