@font-face {
  font-family: "Inter";
  src: url("inter-var-latin.woff2") format("woff2");
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Space Grotesk";
  src: url("space-grotesk-700-latin.woff2") format("woff2");
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "JetBrains Mono";
  src: url("jetbrains-mono-600-latin.woff2") format("woff2");
  font-weight: 600;
  font-style: normal;
  font-display: swap;
}

:root {
  --bg: #f5f8fd;
  --card: #ffffff;
  --ink: #0b1526;
  --ink-2: #31405e;
  --muted: #5d6b84;
  --faint: #93a0b4;
  --line: #e3e9f3;
  --line-2: #cdd8e8;
  --blue: #2453ee;
  --blue-2: #173dbd;
  --blue-bg: #eef3fe;
  --blue-line: #c5d4fb;
  --green: #12915b;
  --green-2: #0c6b43;
  --green-bg: #e9f8f0;
  --navy: #070d19;
  --navy-2: #0a1426;
  --navy-3: #0c1a30;
  --orange: #f18d45;
  --shadow: 0 24px 70px rgba(14, 31, 68, 0.12);
  --shadow-soft: 0 10px 30px rgba(14, 31, 68, 0.07);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--bg);
  font-family: "Inter", Arial, sans-serif;
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

img,
svg {
  display: block;
}

button,
input {
  font: inherit;
}

button,
a {
  -webkit-tap-highlight-color: transparent;
}

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

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

h1,
h2,
h3,
h4 {
  color: var(--ink);
  line-height: 1.12;
}

h1,
h2 {
  font-family: "Space Grotesk", "Inter", Arial, sans-serif;
  font-weight: 700;
  letter-spacing: -0.045em;
}

h2 {
  margin-bottom: 24px;
  font-size: clamp(2.2rem, 4vw, 4rem);
}

.container {
  width: min(1200px, calc(100% - 48px));
  margin: 0 auto;
}

.container.narrow {
  width: min(850px, calc(100% - 48px));
}

.section {
  padding: 112px 0;
}

.section-kicker,
.eyebrow {
  margin-bottom: 18px;
  color: var(--blue);
  font-family: "JetBrains Mono", monospace;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.11em;
  text-transform: uppercase;
}

.section-kicker-light {
  color: #86a9ff;
}

.section-lead {
  margin: 0;
  color: var(--ink-2);
  font-size: 1.2rem;
  line-height: 1.75;
}

.section-heading {
  display: grid;
  grid-template-columns: minmax(0, 1.45fr) minmax(300px, 0.55fr);
  gap: 70px;
  align-items: end;
  margin-bottom: 54px;
}

.section-heading h2 {
  margin-bottom: 0;
}

.section-heading > p {
  margin: 0 0 5px;
  color: var(--muted);
  line-height: 1.75;
}

.button {
  display: inline-flex;
  min-height: 50px;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 0 22px;
  border: 1px solid transparent;
  border-radius: 10px;
  cursor: pointer;
  font-size: 0.92rem;
  font-weight: 750;
  transition: transform 180ms ease, background 180ms ease, border-color 180ms ease, color 180ms ease;
}

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

.button-primary {
  color: #fff;
  background: linear-gradient(135deg, var(--blue), #416cff);
  box-shadow: 0 12px 28px rgba(36, 83, 238, 0.28);
}

.button-light {
  color: var(--navy);
  background: #fff;
  box-shadow: 0 10px 26px rgba(0, 0, 0, 0.16);
}

.button-ghost-light {
  color: #fff;
  border-color: rgba(255, 255, 255, 0.25);
  background: rgba(255, 255, 255, 0.06);
}

.button-ghost-light:hover {
  border-color: rgba(255, 255, 255, 0.5);
  background: rgba(255, 255, 255, 0.1);
}

.reveal {
  opacity: 1;
}

.reveal.is-visible {
  animation: reveal-in 650ms both;
}

@keyframes reveal-in {
  from {
    opacity: 0;
    transform: translateY(18px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Access gate */

.gate-page {
  min-height: 100vh;
  overflow: hidden;
  color: #fff;
  background:
    radial-gradient(circle at 10% 12%, rgba(36, 83, 238, 0.2), transparent 35%),
    radial-gradient(circle at 90% 90%, rgba(18, 145, 91, 0.14), transparent 34%),
    linear-gradient(145deg, #050b16, #091427 52%, #07101e);
}

.gate-page::before {
  position: fixed;
  inset: 0;
  content: "";
  opacity: 0.32;
  pointer-events: none;
  background-image:
    linear-gradient(rgba(134, 169, 255, 0.07) 1px, transparent 1px),
    linear-gradient(90deg, rgba(134, 169, 255, 0.07) 1px, transparent 1px);
  background-size: 52px 52px;
  mask-image: radial-gradient(circle at center, black, transparent 77%);
}

.gate-shell {
  position: relative;
  display: grid;
  min-height: 100vh;
  place-items: center;
  padding: 42px 24px;
}

.gate-aurora {
  position: absolute;
  width: 420px;
  height: 420px;
  border-radius: 50%;
  filter: blur(90px);
  opacity: 0.2;
  pointer-events: none;
}

.gate-aurora-one {
  top: -220px;
  right: 5%;
  background: #2453ee;
}

.gate-aurora-two {
  bottom: -250px;
  left: 4%;
  background: #12915b;
}

.gate-card {
  position: relative;
  z-index: 1;
  width: min(490px, 100%);
  padding: 48px;
  border: 1px solid rgba(150, 177, 231, 0.18);
  border-radius: 24px;
  text-align: center;
  background: linear-gradient(145deg, rgba(17, 31, 56, 0.92), rgba(8, 18, 34, 0.94));
  box-shadow: 0 35px 100px rgba(0, 0, 0, 0.42);
  backdrop-filter: blur(22px);
}

.gate-card::before {
  position: absolute;
  inset: 0;
  border-radius: inherit;
  content: "";
  pointer-events: none;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.06), transparent 45%);
}

.gate-logo {
  width: 170px;
  margin: 0 auto 42px;
}

.gate-lock {
  display: grid;
  width: 54px;
  height: 54px;
  margin: 0 auto 24px;
  border: 1px solid rgba(128, 165, 255, 0.26);
  border-radius: 16px;
  place-items: center;
  color: #a9c0ff;
  background: rgba(36, 83, 238, 0.12);
}

.gate-lock svg {
  width: 25px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.7;
}

.gate-eyebrow {
  margin-bottom: 11px;
  color: #86a9ff;
}

.gate-card h1 {
  margin-bottom: 14px;
  color: #fff;
  font-size: 2.25rem;
}

.gate-copy {
  max-width: 360px;
  margin: 0 auto 30px;
  color: #9cabc4;
  line-height: 1.65;
}

.pin-form {
  position: relative;
}

.pin-inputs {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 9px;
}

.pin-digit {
  width: 100%;
  height: 58px;
  border: 1px solid rgba(164, 185, 229, 0.2);
  border-radius: 11px;
  outline: 0;
  color: #fff;
  caret-color: #86a9ff;
  text-align: center;
  font-family: "Space Grotesk", sans-serif;
  font-size: 1.5rem;
  font-weight: 700;
  background: rgba(255, 255, 255, 0.055);
  transition: border-color 160ms ease, background 160ms ease, box-shadow 160ms ease;
}

.pin-digit:focus {
  border-color: #6f97ff;
  background: rgba(36, 83, 238, 0.13);
  box-shadow: 0 0 0 3px rgba(36, 83, 238, 0.16);
}

.form-helper,
.form-error {
  min-height: 22px;
  margin: 14px 0 16px;
  font-size: 0.78rem;
}

.form-helper {
  color: #71819c;
}

.form-error {
  color: #ff9e9e;
}

.gate-submit {
  width: 100%;
}

.gate-submit svg {
  width: 18px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.7;
}

.gate-private {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin: 23px 0 0;
  color: #657590;
  font-family: "JetBrains Mono", monospace;
  font-size: 0.67rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.gate-private span {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #28c87e;
  box-shadow: 0 0 12px rgba(40, 200, 126, 0.65);
}

/* Proposal header and hero */

.site-header {
  position: sticky;
  z-index: 50;
  top: 0;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  min-height: 74px;
  align-items: center;
  padding: 0 max(24px, calc((100vw - 1200px) / 2));
  border-bottom: 1px solid rgba(227, 233, 243, 0.9);
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(18px);
}

.brand-link img {
  width: 156px;
}

.site-header nav {
  display: flex;
  gap: 34px;
  color: var(--ink-2);
  font-size: 0.83rem;
  font-weight: 700;
}

.site-header nav a {
  transition: color 160ms ease;
}

.site-header nav a:hover {
  color: var(--blue);
}

.header-lock {
  display: inline-flex;
  align-items: center;
  justify-self: end;
  gap: 7px;
  color: var(--muted);
  font-size: 0.77rem;
  font-weight: 700;
}

.header-lock svg {
  width: 17px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.6;
}

.hero {
  position: relative;
  min-height: 750px;
  overflow: hidden;
  color: #fff;
  background:
    radial-gradient(circle at 78% 42%, rgba(36, 83, 238, 0.23), transparent 34%),
    linear-gradient(135deg, #070d19, #09172d 62%, #07101d);
}

.hero-grid,
.closing-grid {
  position: absolute;
  inset: 0;
  opacity: 0.38;
  background-image:
    linear-gradient(rgba(123, 157, 230, 0.07) 1px, transparent 1px),
    linear-gradient(90deg, rgba(123, 157, 230, 0.07) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: linear-gradient(to right, black, transparent 85%);
}

.hero-glow {
  position: absolute;
  border-radius: 50%;
  filter: blur(100px);
  pointer-events: none;
}

.hero-glow-one {
  top: -120px;
  right: 9%;
  width: 480px;
  height: 480px;
  opacity: 0.2;
  background: #2453ee;
}

.hero-glow-two {
  bottom: -260px;
  left: 18%;
  width: 480px;
  height: 480px;
  opacity: 0.08;
  background: #12915b;
}

.hero-inner {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1.55fr) minmax(320px, 0.45fr);
  gap: 90px;
  min-height: 750px;
  align-items: center;
  padding-top: 60px;
  padding-bottom: 60px;
}

.proposal-meta {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 52px;
  color: #9daeca;
  font-family: "JetBrains Mono", monospace;
  font-size: 0.69rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.status-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #35d68d;
  box-shadow: 0 0 14px rgba(53, 214, 141, 0.75);
}

.meta-divider {
  width: 1px;
  height: 13px;
  background: rgba(255, 255, 255, 0.2);
}

.hero-kicker {
  margin-bottom: 20px;
  color: #86a9ff;
  font-size: 0.86rem;
  font-weight: 750;
  letter-spacing: 0.035em;
}

.hero h1 {
  max-width: 760px;
  margin-bottom: 30px;
  color: #fff;
  font-size: clamp(3.55rem, 6.8vw, 6.6rem);
  line-height: 0.97;
}

.hero h1 span {
  display: block;
  color: #91adff;
}

.hero-lead {
  max-width: 710px;
  margin-bottom: 38px;
  color: #aab8cf;
  font-size: 1.16rem;
  line-height: 1.75;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 13px;
}

.hero-proof {
  padding: 32px;
  border: 1px solid rgba(159, 180, 225, 0.17);
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.055);
  box-shadow: 0 30px 70px rgba(0, 0, 0, 0.22);
  backdrop-filter: blur(16px);
}

.proof-label {
  margin-bottom: 26px;
  color: #7f91af;
  font-family: "JetBrains Mono", monospace;
  font-size: 0.68rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.proof-stat {
  display: grid;
  grid-template-columns: 100px 1fr;
  gap: 14px;
  align-items: center;
}

.proof-stat strong {
  color: #fff;
  font-family: "Space Grotesk", sans-serif;
  font-size: 2.7rem;
  line-height: 1;
}

.proof-stat strong span {
  color: #8295b3;
  font-size: 1rem;
}

.proof-stat > span {
  color: #a9b6ca;
  font-size: 0.83rem;
  line-height: 1.45;
}

.proof-rule {
  height: 1px;
  margin: 22px 0;
  background: rgba(255, 255, 255, 0.1);
}

.proof-target strong {
  color: #86a9ff;
}

/* Opportunity */

.intro-section {
  background: #fff;
}

.intro-section .narrow {
  text-align: center;
}

.outcome-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
  margin-top: 70px;
}

.outcome-card {
  position: relative;
  overflow: hidden;
  min-height: 285px;
  padding: 34px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: var(--bg);
}

.outcome-card::after {
  position: absolute;
  right: -70px;
  bottom: -90px;
  width: 190px;
  height: 190px;
  border-radius: 50%;
  content: "";
  opacity: 0.55;
  background: radial-gradient(circle, var(--blue-bg), transparent 70%);
}

.card-number {
  display: grid;
  width: 42px;
  height: 42px;
  margin-bottom: 54px;
  border: 1px solid var(--blue-line);
  border-radius: 10px;
  place-items: center;
  color: var(--blue);
  font-family: "JetBrains Mono", monospace;
  font-size: 0.73rem;
  background: var(--blue-bg);
}

.outcome-card h3 {
  margin-bottom: 13px;
  font-size: 1.2rem;
}

.outcome-card p {
  position: relative;
  z-index: 1;
  margin: 0;
  color: var(--muted);
  font-size: 0.9rem;
  line-height: 1.7;
}

/* Workflow */

.workflow-section {
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: var(--bg);
}

.workflow-rail {
  display: grid;
  grid-template-columns: 1fr 54px 1fr 54px 1fr 54px 1fr;
  align-items: stretch;
}

.workflow-node {
  min-height: 290px;
  padding: 26px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: #fff;
  box-shadow: var(--shadow-soft);
}

.workflow-node-primary {
  border-color: #284caa;
  background: linear-gradient(150deg, #112143, #0b172c);
}

.logo-box {
  display: flex;
  width: 74px;
  height: 50px;
  align-items: center;
  justify-content: center;
  margin-bottom: 35px;
  padding: 9px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: #fff;
}

.logo-box img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
}

.logo-box-wide {
  width: 94px;
}

.logo-box-dark {
  border-color: rgba(255, 255, 255, 0.12);
  background: rgba(255, 255, 255, 0.92);
}

.output-icon {
  color: var(--blue);
  background: var(--blue-bg);
}

.output-icon svg {
  width: 29px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.5;
}

.workflow-step {
  display: block;
  margin-bottom: 10px;
  color: var(--blue);
  font-family: "JetBrains Mono", monospace;
  font-size: 0.66rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.workflow-node-primary .workflow-step {
  color: #86a9ff;
}

.workflow-node h3 {
  margin-bottom: 12px;
  font-size: 1.08rem;
}

.workflow-node-primary h3 {
  color: #fff;
}

.workflow-node p {
  margin: 0;
  color: var(--muted);
  font-size: 0.82rem;
  line-height: 1.65;
}

.workflow-node-primary p {
  color: #9caac2;
}

.workflow-arrow {
  position: relative;
  display: grid;
  place-items: center;
}

.workflow-arrow span {
  position: absolute;
  right: 0;
  left: 0;
  height: 1px;
  background: var(--line-2);
}

.workflow-arrow svg {
  position: relative;
  width: 23px;
  padding: 3px;
  fill: none;
  stroke: var(--blue);
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.6;
  background: var(--bg);
}

.approval-boundary {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 18px;
  align-items: start;
  margin-top: 34px;
  padding: 24px 28px;
  border: 1px solid var(--green);
  border-radius: 14px;
  background: var(--green-bg);
}

.boundary-icon {
  display: grid;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  place-items: center;
  color: #fff;
  background: var(--green);
}

.boundary-icon svg {
  width: 21px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 2;
}

.approval-boundary strong {
  display: block;
  margin-bottom: 4px;
  color: var(--green-2);
  font-size: 0.96rem;
}

.approval-boundary p {
  margin: 0;
  color: #32654f;
  font-size: 0.85rem;
}

/* Demonstration */

.demo-section {
  color: #fff;
  background:
    radial-gradient(circle at 75% 14%, rgba(36, 83, 238, 0.2), transparent 28%),
    linear-gradient(145deg, #060c17, #091426 70%, #07101d);
}

.demo-heading h2 {
  color: #fff;
}

.demo-disclosure {
  display: inline-flex;
  align-items: center;
  justify-self: end;
  gap: 9px;
  padding: 8px 12px;
  border: 1px solid rgba(146, 176, 239, 0.18);
  border-radius: 999px;
  color: #8f9fb9;
  font-family: "JetBrains Mono", monospace;
  font-size: 0.64rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  background: rgba(255, 255, 255, 0.04);
}

.demo-disclosure span {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #86a9ff;
  box-shadow: 0 0 10px rgba(134, 169, 255, 0.6);
}

.demo-shell {
  display: grid;
  grid-template-columns: 255px minmax(0, 1fr);
  min-height: 860px;
  overflow: hidden;
  border: 1px solid rgba(150, 177, 231, 0.15);
  border-radius: 20px;
  background: #eef2f8;
  box-shadow: 0 35px 100px rgba(0, 0, 0, 0.42);
}

.demo-sidebar {
  display: flex;
  flex-direction: column;
  padding: 24px 17px;
  background: #0a1426;
}

.demo-brand {
  display: flex;
  align-items: center;
  gap: 11px;
  padding: 0 8px 25px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.demo-brand img {
  width: 33px;
  height: 33px;
}

.demo-brand strong,
.demo-brand span {
  display: block;
}

.demo-brand strong {
  color: #fff;
  font-size: 0.82rem;
}

.demo-brand span {
  color: #71819d;
  font-size: 0.65rem;
}

.demo-nav-label {
  margin: 25px 10px 10px;
  color: #596a87;
  font-family: "JetBrains Mono", monospace;
  font-size: 0.59rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.scenario-button {
  display: grid;
  grid-template-columns: 22px 1fr;
  gap: 11px;
  width: 100%;
  margin-bottom: 6px;
  padding: 12px;
  border: 1px solid transparent;
  border-radius: 10px;
  cursor: pointer;
  color: #96a4ba;
  text-align: left;
  background: transparent;
  transition: color 160ms ease, background 160ms ease, border-color 160ms ease;
}

.scenario-button:hover {
  color: #d9e2f2;
  background: rgba(255, 255, 255, 0.035);
}

.scenario-button.is-active {
  border-color: rgba(103, 142, 246, 0.2);
  color: #fff;
  background: rgba(36, 83, 238, 0.15);
}

.scenario-button svg {
  width: 19px;
  margin-top: 2px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.5;
}

.scenario-button span,
.scenario-button small {
  display: block;
}

.scenario-button span {
  font-size: 0.74rem;
  font-weight: 700;
  line-height: 1.4;
}

.scenario-button small {
  margin-top: 2px;
  color: #65758f;
  font-size: 0.62rem;
  font-weight: 500;
}

.demo-sidebar-footer {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: auto 8px 0;
  color: #5d6d88;
  font-family: "JetBrains Mono", monospace;
  font-size: 0.58rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.live-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #35d68d;
  box-shadow: 0 0 10px rgba(53, 214, 141, 0.65);
}

.demo-main {
  min-width: 0;
  color: var(--ink);
  background: #f1f4f9;
}

.demo-toolbar {
  display: flex;
  min-height: 70px;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 0 25px;
  border-bottom: 1px solid #dce3ee;
  background: rgba(255, 255, 255, 0.92);
}

.demo-toolbar > div:first-child {
  display: flex;
  align-items: center;
  gap: 7px;
  min-width: 0;
}

.breadcrumb {
  color: #8290a6;
  font-size: 0.68rem;
}

.demo-toolbar strong {
  overflow: hidden;
  font-size: 0.72rem;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.source-pills {
  display: flex;
  gap: 6px;
}

.source-pills span {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 5px 8px;
  border: 1px solid #dde4ee;
  border-radius: 999px;
  color: #5f6d83;
  font-size: 0.59rem;
  font-weight: 700;
  background: #fff;
}

.source-status {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: #22ad6e;
}

.demo-workspace {
  padding: 22px;
}

.subject-card,
.run-panel,
.results-panel {
  border: 1px solid #dce3ee;
  border-radius: 13px;
  background: #fff;
  box-shadow: 0 7px 20px rgba(18, 34, 65, 0.045);
}

.subject-card {
  padding: 20px;
}

.subject-topline,
.run-header,
.results-header,
.result-card-heading,
.recommendation-top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 20px;
}

.mini-label {
  display: block;
  margin-bottom: 5px;
  color: #8390a6;
  font-family: "JetBrains Mono", monospace;
  font-size: 0.56rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.subject-card h3 {
  margin: 0;
  font-size: 1rem;
  letter-spacing: -0.02em;
}

.review-badge,
.ready-badge,
.confidence-pill,
.source-tag {
  display: inline-flex;
  align-items: center;
  flex: 0 0 auto;
  border-radius: 999px;
  font-size: 0.57rem;
  font-weight: 750;
}

.review-badge {
  padding: 5px 8px;
  color: #9a5a11;
  background: #fff4df;
}

.property-facts {
  display: flex;
  flex-wrap: wrap;
  gap: 0;
  margin-top: 18px;
  padding-top: 15px;
  border-top: 1px solid #edf0f5;
}

.property-facts span {
  padding: 0 13px;
  border-right: 1px solid #e4e9f1;
  color: #758298;
  font-size: 0.63rem;
}

.property-facts span:first-child {
  padding-left: 0;
}

.property-facts span:last-child {
  border-right: 0;
}

.property-facts strong {
  color: #27354d;
}

.run-panel {
  margin-top: 14px;
  overflow: hidden;
}

.run-header {
  align-items: center;
  padding: 19px 20px;
  border-bottom: 1px solid #e7ebf1;
}

.run-header h3 {
  margin-bottom: 4px;
  font-size: 0.88rem;
}

.run-header p {
  margin: 0;
  color: #748198;
  font-size: 0.65rem;
}

.run-button {
  display: inline-flex;
  flex: 0 0 auto;
  align-items: center;
  gap: 8px;
  min-height: 38px;
  padding: 0 13px;
  border: 0;
  border-radius: 8px;
  cursor: pointer;
  color: #fff;
  font-size: 0.65rem;
  font-weight: 750;
  background: var(--blue);
  box-shadow: 0 8px 18px rgba(36, 83, 238, 0.22);
}

.run-button:hover {
  background: var(--blue-2);
}

.run-button:disabled {
  cursor: wait;
  opacity: 0.78;
}

.run-button-icon svg {
  width: 16px;
  fill: currentColor;
}

.run-button.is-running .run-button-icon {
  width: 14px;
  height: 14px;
  border: 2px solid rgba(255, 255, 255, 0.35);
  border-top-color: #fff;
  border-radius: 50%;
  animation: spin 700ms linear infinite;
}

.run-button.is-running svg {
  display: none;
}

@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}

.activity-list {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
}

.activity-row {
  position: relative;
  display: grid;
  grid-template-columns: 24px 1fr;
  gap: 9px;
  min-height: 95px;
  padding: 16px 13px;
  border-right: 1px solid #e7ebf1;
}

.activity-row:last-child {
  border-right: 0;
}

.activity-state {
  display: grid;
  width: 20px;
  height: 20px;
  border: 1px solid #cbd4e1;
  border-radius: 50%;
  place-items: center;
  background: #fff;
}

.activity-state i {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #cbd4e1;
}

.activity-row.is-running .activity-state {
  border-color: #7698f7;
  background: #edf2ff;
}

.activity-row.is-running .activity-state i {
  background: var(--blue);
  animation: pulse 700ms ease-in-out infinite alternate;
}

.activity-row.is-done .activity-state {
  border-color: #9dd9bd;
  background: var(--green-bg);
}

.activity-row.is-done .activity-state i {
  width: 7px;
  height: 4px;
  border: solid var(--green);
  border-width: 0 0 2px 2px;
  border-radius: 0;
  background: transparent;
  transform: rotate(-45deg) translate(1px, -1px);
}

@keyframes pulse {
  from { opacity: 0.45; }
  to { opacity: 1; }
}

.activity-row strong,
.activity-row span,
.activity-row small {
  display: block;
}

.activity-row strong {
  color: #34415a;
  font-size: 0.61rem;
  line-height: 1.4;
}

.activity-row div span {
  margin-top: 3px;
  color: #8995a8;
  font-size: 0.53rem;
  line-height: 1.4;
}

.activity-row small {
  position: absolute;
  right: 12px;
  bottom: 9px;
  color: #9ba6b7;
  font-family: "JetBrains Mono", monospace;
  font-size: 0.47rem;
  text-transform: uppercase;
}

.results-panel {
  display: none;
  margin-top: 14px;
  overflow: hidden;
}

.results-panel.is-visible {
  display: block;
  animation: result-in 420ms both;
}

@keyframes result-in {
  from {
    opacity: 0;
    transform: translateY(8px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.results-header {
  align-items: center;
  padding: 17px 20px;
  border-bottom: 1px solid #e7ebf1;
}

.results-header h3 {
  margin: 0;
  font-size: 0.88rem;
}

.ready-badge {
  gap: 5px;
  padding: 5px 8px;
  color: var(--green-2);
  background: var(--green-bg);
}

.ready-badge svg {
  width: 12px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 2;
}

.evidence-metrics {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border-bottom: 1px solid #e7ebf1;
}

.evidence-metrics > div {
  padding: 15px 18px;
  border-right: 1px solid #e7ebf1;
}

.evidence-metrics > div:last-child {
  border-right: 0;
}

.evidence-metrics span,
.evidence-metrics strong,
.evidence-metrics small {
  display: block;
}

.evidence-metrics span {
  margin-bottom: 4px;
  color: #7e8ba0;
  font-size: 0.54rem;
}

.evidence-metrics strong {
  color: #23314a;
  font-family: "Space Grotesk", sans-serif;
  font-size: 1.15rem;
}

.evidence-metrics small {
  margin-top: 2px;
  color: #8c97aa;
  font-size: 0.5rem;
}

.evidence-metrics .metric-recommend {
  background: var(--blue-bg);
}

.evidence-metrics .metric-recommend strong {
  color: var(--blue);
}

.result-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
}

.comps-card,
.recommendation-card {
  min-width: 0;
  padding: 18px 20px;
}

.comps-card {
  border-right: 1px solid #e7ebf1;
}

.result-card-heading {
  align-items: center;
  margin-bottom: 10px;
}

.result-card-heading h4,
.recommendation-card h4 {
  margin: 0;
  font-size: 0.76rem;
}

.source-tag {
  padding: 4px 7px;
  color: #53637c;
  background: #edf0f5;
}

.comp-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 7px 0;
  border-top: 1px solid #edf0f4;
}

.comp-row span,
.comp-row strong,
.comp-row small {
  display: block;
}

.comp-row strong,
.comp-row b {
  color: #3a475d;
  font-size: 0.55rem;
}

.comp-row b {
  flex: 0 0 auto;
}

.comp-row small {
  margin-top: 1px;
  color: #9aa4b4;
  font-size: 0.48rem;
}

.recommendation-top {
  align-items: center;
  margin-bottom: 8px;
}

.confidence-pill {
  padding: 4px 7px;
  color: #8c5712;
  background: #fff3dc;
}

.recommendation-card > p {
  margin: 6px 0 12px;
  color: #707d92;
  font-size: 0.56rem;
  line-height: 1.55;
}

.output-actions {
  display: flex;
  gap: 2px;
  border-bottom: 1px solid #e2e7ef;
}

.output-tab {
  position: relative;
  padding: 7px 8px;
  border: 0;
  cursor: pointer;
  color: #8793a6;
  font-size: 0.52rem;
  font-weight: 700;
  background: transparent;
}

.output-tab.is-active {
  color: var(--blue);
}

.output-tab.is-active::after {
  position: absolute;
  right: 7px;
  bottom: -1px;
  left: 7px;
  height: 2px;
  content: "";
  background: var(--blue);
}

.output-preview {
  height: 137px;
  overflow: auto;
  padding: 11px 0 6px;
  color: #657187;
  font-size: 0.51rem;
  line-height: 1.48;
}

.output-preview > span {
  display: block;
  margin-bottom: 6px;
  color: #9aa5b5;
  font-family: "JetBrains Mono", monospace;
  font-size: 0.47rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.output-preview p {
  margin-bottom: 5px;
}

.approval-strip {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 7px 9px;
  border-radius: 6px;
  color: #3b6752;
  font-size: 0.5rem;
  font-weight: 700;
  background: var(--green-bg);
}

.approval-strip svg {
  width: 12px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.6;
}

.demo-footnote {
  max-width: 950px;
  margin: 24px auto 0;
  color: #7787a2;
  text-align: center;
  font-size: 0.72rem;
}

/* Capabilities */

.capability-section {
  background: #fff;
}

.capability-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}

.capability-card {
  min-height: 255px;
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: #fff;
  box-shadow: var(--shadow-soft);
}

.capability-icon {
  display: grid;
  width: 46px;
  height: 46px;
  margin-bottom: 48px;
  border-radius: 12px;
  place-items: center;
  color: var(--blue);
  background: var(--blue-bg);
}

.capability-icon svg {
  width: 23px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.7;
}

.capability-card h3 {
  margin-bottom: 10px;
  font-size: 1.05rem;
}

.capability-card p {
  margin: 0;
  color: var(--muted);
  font-size: 0.84rem;
  line-height: 1.7;
}

/* Investment */

.investment-section {
  color: #fff;
  background:
    radial-gradient(circle at 85% 15%, rgba(36, 83, 238, 0.2), transparent 28%),
    linear-gradient(150deg, #07101e, #0b1830 70%, #091324);
}

.investment-heading {
  max-width: 780px;
  margin-bottom: 55px;
}

.investment-heading h2 {
  margin-bottom: 16px;
  color: #fff;
}

.investment-heading > p:last-child {
  color: #94a4bd;
  font-size: 1.05rem;
}

.stage-list {
  display: grid;
  gap: 18px;
}

.stage-card {
  display: grid;
  grid-template-columns: 128px 1fr;
  overflow: hidden;
  border: 1px solid rgba(147, 174, 227, 0.16);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.055);
  box-shadow: 0 22px 50px rgba(0, 0, 0, 0.16);
}

.stage-featured {
  border-color: rgba(104, 143, 250, 0.48);
  background: linear-gradient(135deg, rgba(36, 83, 238, 0.17), rgba(255, 255, 255, 0.055));
}

.stage-index {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  border-right: 1px solid rgba(147, 174, 227, 0.13);
  background: rgba(4, 11, 23, 0.3);
}

.stage-index span {
  color: #71819d;
  font-family: "JetBrains Mono", monospace;
  font-size: 0.6rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.stage-index strong {
  color: #86a9ff;
  font-family: "Space Grotesk", sans-serif;
  font-size: 2.4rem;
}

.stage-content {
  padding: 34px 38px 36px;
}

.stage-title-row {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 40px;
  align-items: start;
}

.stage-tag {
  display: block;
  margin-bottom: 9px;
  color: #7f9dec;
  font-family: "JetBrains Mono", monospace;
  font-size: 0.61rem;
  letter-spacing: 0.07em;
  text-transform: uppercase;
}

.stage-content h3 {
  margin-bottom: 17px;
  color: #fff;
  font-size: 1.65rem;
}

.stage-content > p {
  max-width: 830px;
  margin-bottom: 24px;
  color: #9eacc1;
  font-size: 0.9rem;
}

.stage-price {
  min-width: 185px;
  text-align: right;
}

.stage-price strong,
.stage-price span {
  display: block;
}

.stage-price strong {
  color: #fff;
  font-family: "Space Grotesk", sans-serif;
  font-size: 1.55rem;
  line-height: 1.2;
}

.stage-price strong small {
  color: #8191aa;
  font-family: "Inter", sans-serif;
  font-size: 0.65rem;
}

.stage-price span {
  margin-top: 4px;
  color: #697b98;
  font-size: 0.65rem;
}

.check-list {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px 35px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.check-list li {
  position: relative;
  padding-left: 24px;
  color: #b4bfd0;
  font-size: 0.78rem;
}

.check-list li::before {
  position: absolute;
  top: 5px;
  left: 1px;
  width: 8px;
  height: 4px;
  border: solid #4bd292;
  border-width: 0 0 2px 2px;
  content: "";
  transform: rotate(-45deg);
}

.investment-summary {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 40px;
  align-items: center;
  margin-top: 24px;
  padding: 28px 35px;
  border: 1px solid rgba(134, 169, 255, 0.26);
  border-radius: 15px;
  background: rgba(36, 83, 238, 0.11);
}

.investment-summary span {
  color: #89a5ef;
  font-family: "JetBrains Mono", monospace;
  font-size: 0.64rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.investment-summary p {
  margin: 5px 0 0;
  color: #9eacc1;
  font-size: 0.78rem;
}

.total-price {
  display: flex;
  align-items: baseline;
  gap: 8px;
}

.total-price strong {
  color: #fff;
  font-family: "Space Grotesk", sans-serif;
  font-size: 2.65rem;
  line-height: 1;
}

.total-price span {
  color: #8294b1;
}

/* Conditions and close */

.conditions-section {
  background: #fff;
}

.conditions-grid {
  display: grid;
  grid-template-columns: minmax(280px, 0.72fr) minmax(0, 1.28fr);
  gap: 100px;
}

.conditions-intro {
  position: sticky;
  top: 120px;
  align-self: start;
}

.conditions-intro h2 {
  font-size: clamp(2.2rem, 3.7vw, 3.6rem);
}

.conditions-intro > p:last-child {
  color: var(--muted);
}

.conditions-list {
  border-top: 1px solid var(--line);
}

.condition-item {
  display: grid;
  grid-template-columns: 48px 1fr;
  gap: 20px;
  padding: 28px 0;
  border-bottom: 1px solid var(--line);
}

.condition-item > span {
  display: grid;
  width: 38px;
  height: 38px;
  border: 1px solid var(--blue-line);
  border-radius: 10px;
  place-items: center;
  color: var(--blue);
  font-family: "JetBrains Mono", monospace;
  font-size: 0.68rem;
  background: var(--blue-bg);
}

.condition-item h3 {
  margin-bottom: 8px;
  font-size: 1.05rem;
}

.condition-item p {
  margin: 0;
  color: var(--muted);
  font-size: 0.83rem;
  line-height: 1.7;
}

.closing-section {
  position: relative;
  overflow: hidden;
  padding: 115px 0;
  text-align: center;
  background:
    radial-gradient(circle at 50% 110%, rgba(36, 83, 238, 0.28), transparent 40%),
    linear-gradient(145deg, #070d19, #0a172d);
}

.closing-grid {
  opacity: 0.35;
  mask-image: radial-gradient(circle at center, black, transparent 70%);
}

.closing-inner {
  position: relative;
  z-index: 1;
}

.closing-inner > img {
  width: 48px;
  margin: 0 auto 30px;
}

.closing-inner h2 {
  max-width: 850px;
  margin: 0 auto 24px;
  color: #fff;
}

.closing-inner > p:not(.section-kicker) {
  max-width: 700px;
  margin: 0 auto 34px;
  color: #9dacbf;
  font-size: 1.05rem;
}

.site-footer {
  padding: 34px 0;
  border-top: 1px solid var(--line);
  background: #fff;
}

.footer-inner {
  display: grid;
  grid-template-columns: 1fr auto auto;
  gap: 35px;
  align-items: center;
}

.footer-inner img {
  width: 140px;
}

.footer-inner p {
  margin: 0;
  color: var(--faint);
  font-size: 0.66rem;
}

/* Responsive */

@media (max-width: 1080px) {
  .hero-inner {
    grid-template-columns: 1fr 300px;
    gap: 55px;
  }

  .workflow-rail {
    grid-template-columns: 1fr 38px 1fr;
    gap: 0;
  }

  .workflow-node:nth-of-type(3) {
    margin-top: 26px;
  }

  .workflow-arrow:nth-of-type(2) {
    display: none;
  }

  .workflow-node:nth-of-type(3)::before {
    display: none;
  }

  .demo-shell {
    grid-template-columns: 215px minmax(0, 1fr);
  }

  .activity-list {
    grid-template-columns: 1fr 1fr;
  }

  .activity-row:nth-child(2) {
    border-right: 0;
  }

  .activity-row:nth-child(-n+2) {
    border-bottom: 1px solid #e7ebf1;
  }

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

@media (max-width: 860px) {
  .site-header {
    grid-template-columns: 1fr auto;
  }

  .site-header nav {
    display: none;
  }

  .hero {
    min-height: auto;
  }

  .hero-inner {
    grid-template-columns: 1fr;
    gap: 50px;
    min-height: auto;
    padding-top: 105px;
    padding-bottom: 85px;
  }

  .hero h1 {
    font-size: clamp(3.4rem, 12vw, 5.3rem);
  }

  .hero-proof {
    max-width: 450px;
  }

  .section-heading {
    grid-template-columns: 1fr;
    gap: 20px;
  }

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

  .outcome-card {
    min-height: 230px;
  }

  .card-number {
    margin-bottom: 35px;
  }

  .workflow-rail {
    grid-template-columns: 1fr;
    gap: 14px;
  }

  .workflow-arrow {
    display: none;
  }

  .workflow-node,
  .workflow-node:nth-of-type(3) {
    min-height: auto;
    margin-top: 0;
  }

  .logo-box {
    margin-bottom: 26px;
  }

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

  .demo-sidebar {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 7px;
  }

  .demo-brand,
  .demo-nav-label,
  .demo-sidebar-footer {
    display: none;
  }

  .scenario-button {
    margin: 0;
  }

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

  .comps-card {
    border-right: 0;
    border-bottom: 1px solid #e7ebf1;
  }

  .conditions-grid {
    grid-template-columns: 1fr;
    gap: 55px;
  }

  .conditions-intro {
    position: static;
  }

  .stage-title-row {
    grid-template-columns: 1fr;
    gap: 18px;
  }

  .stage-price {
    text-align: left;
  }

  .footer-inner {
    grid-template-columns: 1fr;
    gap: 12px;
    text-align: center;
  }

  .footer-inner img {
    margin: 0 auto 8px;
  }
}

@media (max-width: 620px) {
  .container,
  .container.narrow {
    width: min(100% - 32px, 1200px);
  }

  .section {
    padding: 78px 0;
  }

  .gate-card {
    padding: 38px 22px;
  }

  .pin-inputs {
    gap: 6px;
  }

  .pin-digit {
    height: 52px;
    border-radius: 9px;
    font-size: 1.3rem;
  }

  .site-header {
    min-height: 66px;
    padding: 0 16px;
  }

  .brand-link img {
    width: 138px;
  }

  .hero-inner {
    padding-top: 80px;
  }

  .proposal-meta {
    margin-bottom: 36px;
  }

  .hero h1 {
    font-size: clamp(3rem, 16vw, 4.4rem);
  }

  .hero-actions {
    align-items: stretch;
    flex-direction: column;
  }

  .hero-actions .button {
    width: 100%;
  }

  .proof-stat {
    grid-template-columns: 85px 1fr;
  }

  .demo-heading {
    align-items: start;
  }

  .demo-disclosure {
    justify-self: start;
  }

  .demo-shell {
    margin-right: -8px;
    margin-left: -8px;
    border-radius: 14px;
  }

  .demo-sidebar {
    display: flex;
    overflow-x: auto;
    padding: 11px;
  }

  .scenario-button {
    flex: 0 0 185px;
  }

  .demo-toolbar {
    min-height: 62px;
    padding: 0 14px;
  }

  .breadcrumb,
  .source-pills span:nth-child(2) {
    display: none;
  }

  .demo-workspace {
    padding: 12px;
  }

  .subject-topline,
  .run-header,
  .results-header {
    align-items: flex-start;
    flex-direction: column;
  }

  .property-facts span {
    margin-bottom: 6px;
  }

  .run-button {
    width: 100%;
    justify-content: center;
  }

  .activity-list {
    grid-template-columns: 1fr;
  }

  .activity-row {
    border-right: 0;
    border-bottom: 1px solid #e7ebf1;
  }

  .evidence-metrics {
    grid-template-columns: 1fr 1fr;
  }

  .evidence-metrics > div:nth-child(2) {
    border-right: 0;
  }

  .evidence-metrics > div:nth-child(-n+2) {
    border-bottom: 1px solid #e7ebf1;
  }

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

  .stage-card {
    grid-template-columns: 1fr;
  }

  .stage-index {
    flex-direction: row;
    justify-content: flex-start;
    gap: 8px;
    padding: 15px 20px;
    border-right: 0;
    border-bottom: 1px solid rgba(147, 174, 227, 0.13);
  }

  .stage-index strong {
    font-size: 1.3rem;
  }

  .stage-content {
    padding: 27px 22px;
  }

  .check-list {
    grid-template-columns: 1fr;
  }

  .investment-summary {
    grid-template-columns: 1fr;
    gap: 24px;
    padding: 25px;
  }

  .conditions-grid {
    gap: 40px;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}
