:root {
  --black: #030507;
  --near-black: #090d12;
  --graphite: #151a21;
  --graphite-2: #111820;
  --silver: #d9dee5;
  --steel: #9fa8b3;
  --muted: #6f7a86;
  --ice: #8debff;
  --ice-deep: #24c8f3;
  --line: rgba(217, 222, 229, 0.14);
  --line-strong: rgba(141, 235, 255, 0.28);
  --shadow: 0 24px 80px rgba(0, 0, 0, 0.42);
  --max: 1180px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background:
    linear-gradient(180deg, rgba(36, 200, 243, 0.08) 0, rgba(3, 5, 7, 0) 360px),
    var(--black);
  color: var(--silver);
  font-family:
    Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.5;
}

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

img {
  display: block;
  max-width: 100%;
}

button,
input,
select {
  font: inherit;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: grid;
  grid-template-columns: 220px 1fr auto;
  align-items: center;
  gap: 28px;
  width: min(var(--max), calc(100% - 40px));
  margin: 0 auto;
  padding: 18px 0;
  background: rgba(3, 5, 7, 0.82);
  backdrop-filter: blur(18px);
  border-bottom: 1px solid rgba(217, 222, 229, 0.08);
}

.brand img {
  width: 38px;
  height: 38px;
  object-fit: contain;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 16px;
}

.brand span {
  display: grid;
  gap: 2px;
  font-family: "Avenir Next Condensed", "Avenir Next", "Helvetica Neue", Arial, sans-serif;
}

.brand strong {
  color: var(--silver);
  font-size: 15px;
  font-weight: 430;
  letter-spacing: 10px;
  line-height: 1;
}

.brand small {
  color: var(--steel);
  font-size: 9px;
  font-weight: 420;
  letter-spacing: 11px;
  line-height: 1;
}

.nav {
  justify-self: center;
  display: flex;
  align-items: center;
  gap: 30px;
  color: var(--steel);
  font-size: 13px;
  letter-spacing: 0;
}

.nav a,
.site-footer a {
  transition: color 180ms ease;
}

.nav a:hover,
.site-footer a:hover {
  color: var(--silver);
}

.header-cta,
.button {
  display: inline-flex;
  min-height: 42px;
  align-items: center;
  justify-content: center;
  border-radius: 6px;
  font-size: 13px;
  font-weight: 650;
  letter-spacing: 0;
  transition:
    transform 180ms ease,
    border-color 180ms ease,
    background-color 180ms ease,
    color 180ms ease;
}

.header-cta {
  padding: 0 18px;
  color: var(--black);
  background: var(--silver);
}

.button {
  padding: 0 21px;
  border: 1px solid var(--line);
}

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

.primary {
  color: var(--black);
  background: var(--ice);
  border-color: var(--ice);
  box-shadow: 0 0 26px rgba(36, 200, 243, 0.22);
}

.secondary {
  color: var(--silver);
  background: rgba(217, 222, 229, 0.04);
}

.menu-button {
  display: none;
  width: 42px;
  height: 42px;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: rgba(217, 222, 229, 0.04);
  color: var(--silver);
}

.menu-button span {
  display: block;
  width: 16px;
  height: 1px;
  margin: 5px auto;
  background: currentColor;
}

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

main section {
  scroll-margin-top: 96px;
}

.hero {
  min-height: calc(100vh - 220px);
  display: grid;
  grid-template-columns: minmax(520px, 0.9fr) minmax(560px, 1.1fr);
  gap: 56px;
  align-items: center;
  padding: 48px 0 54px;
  border-bottom: 1px solid var(--line);
}

.hero-copy h1 {
  max-width: 630px;
  margin: 0;
  font-size: clamp(52px, 6vw, 78px);
  line-height: 1.03;
  font-weight: 710;
  letter-spacing: 0;
  color: #f4f7fb;
}

.hero-copy p {
  max-width: 540px;
  margin: 24px 0 0;
  color: var(--steel);
  font-size: 19px;
  line-height: 1.65;
}

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

.command-stage {
  position: relative;
  min-height: 500px;
  display: grid;
  align-items: center;
}

.stage-ring {
  position: absolute;
  inset: 8% 6% auto auto;
  width: 170px;
  opacity: 0.38;
  filter: drop-shadow(0 0 28px rgba(141, 235, 255, 0.16));
}

.console {
  position: relative;
  border: 1px solid var(--line);
  border-radius: 8px;
  overflow: hidden;
  background:
    linear-gradient(135deg, rgba(217, 222, 229, 0.08), rgba(217, 222, 229, 0.02)),
    #070a0f;
  box-shadow: var(--shadow);
}

.console::before,
.flow-canvas::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background-image:
    linear-gradient(rgba(217, 222, 229, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(217, 222, 229, 0.035) 1px, transparent 1px);
  background-size: 32px 32px;
  mask-image: linear-gradient(180deg, #000, transparent 82%);
}

.console-topbar {
  position: relative;
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 50px;
  padding: 0 18px;
  border-bottom: 1px solid var(--line);
  color: var(--muted);
  font-size: 12px;
}

.window-dot {
  display: inline-block;
  width: 8px;
  height: 8px;
  margin-right: 8px;
  border-radius: 50%;
  background: var(--ice);
}

.window-dot.dim {
  background: var(--steel);
}

.window-dot.dimmer {
  background: var(--graphite);
  border: 1px solid var(--line);
}

.console-grid {
  position: relative;
  display: grid;
  grid-template-columns: 1.18fr 0.82fr;
  gap: 12px;
  padding: 18px;
}

.timeline,
.owners,
.actions-panel,
.handoff,
.signal-table,
.audit-console,
.plans article,
.access-form {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(9, 13, 18, 0.78);
}

.timeline {
  min-height: 294px;
  padding: 18px;
  grid-row: span 2;
}

.timeline-head,
.panel-title {
  display: flex;
  justify-content: space-between;
  color: var(--muted);
  font-size: 12px;
  margin-bottom: 18px;
}

.timeline-head strong {
  color: var(--ice);
  font-size: 12px;
}

.decision {
  position: relative;
  padding: 14px 16px 14px 22px;
  margin-top: 10px;
  border: 1px solid rgba(217, 222, 229, 0.11);
  border-radius: 6px;
  background: rgba(217, 222, 229, 0.03);
}

.decision::before {
  content: "";
  position: absolute;
  left: 10px;
  top: 18px;
  bottom: 18px;
  width: 2px;
  background: var(--muted);
}

.decision.active {
  border-color: var(--line-strong);
  background: rgba(36, 200, 243, 0.08);
}

.decision.active::before {
  background: var(--ice);
}

.decision span,
.owner-row strong,
.action-line p {
  display: block;
  color: #eef3f8;
  font-size: 14px;
}

.decision small,
.owner-row small,
.handoff small,
.intelligence-rail small {
  color: var(--muted);
  font-size: 12px;
}

.owners,
.actions-panel,
.handoff {
  padding: 15px;
}

.owner-row {
  display: grid;
  grid-template-columns: 34px 1fr;
  gap: 11px;
  align-items: center;
  padding: 10px 0;
  border-top: 1px solid rgba(217, 222, 229, 0.08);
}

.avatar {
  width: 34px;
  height: 34px;
  display: inline-grid;
  place-items: center;
  border-radius: 50%;
  border: 1px solid var(--line-strong);
  color: var(--ice);
  font-size: 11px;
  font-weight: 700;
}

.action-line {
  display: grid;
  grid-template-columns: 12px 1fr;
  gap: 10px;
  align-items: center;
  min-height: 34px;
}

.action-line span {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  border: 1px solid var(--steel);
}

.action-line.complete span {
  background: var(--ice-deep);
  border-color: var(--ice-deep);
}

.action-line p {
  margin: 0;
}

.handoff {
  display: grid;
  gap: 6px;
}

.handoff span {
  color: var(--muted);
  font-size: 12px;
}

.handoff strong {
  color: var(--ice);
  font-size: 42px;
  line-height: 1;
}

.workflow,
.solutions,
.security,
.pricing,
.final-cta {
  padding: 92px 0;
  border-bottom: 1px solid var(--line);
}

.workflow {
  background: linear-gradient(180deg, rgba(21, 26, 33, 0.36), rgba(3, 5, 7, 0));
}

.section-copy {
  display: grid;
  grid-template-columns: 0.78fr 1fr;
  gap: 48px;
  align-items: end;
  margin-bottom: 38px;
}

.section-copy.compact {
  display: block;
  max-width: 640px;
}

.section-copy h2,
.final-cta h2 {
  margin: 0;
  color: #f4f7fb;
  font-size: clamp(34px, 4.2vw, 62px);
  line-height: 1.02;
  font-weight: 690;
  letter-spacing: 0;
}

.section-copy p,
.final-cta p {
  margin: 0;
  color: var(--steel);
  font-size: 17px;
  line-height: 1.7;
}

.flow-canvas {
  position: relative;
  display: grid;
  grid-template-columns: 0.9fr 0.42fr 0.72fr 0.42fr 1fr 0.82fr;
  align-items: center;
  min-height: 360px;
  padding: 28px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(9, 13, 18, 0.82);
  box-shadow: var(--shadow);
}

.input-stack,
.output-stack,
.stages {
  position: relative;
  display: grid;
  gap: 12px;
}

.source-row,
.output-row,
.stages article {
  min-height: 52px;
  display: grid;
  align-content: center;
  padding: 0 16px;
  border: 1px solid rgba(217, 222, 229, 0.12);
  border-radius: 6px;
  background: rgba(217, 222, 229, 0.035);
  color: var(--silver);
  font-size: 14px;
}

.output-row {
  border-color: var(--line-strong);
}

.flow-lane {
  position: relative;
  height: 180px;
}

.flow-lane span {
  position: absolute;
  left: 8px;
  right: 8px;
  height: 1px;
  background: linear-gradient(90deg, rgba(141, 235, 255, 0), var(--ice), rgba(141, 235, 255, 0.1));
}

.flow-lane span:nth-child(1) {
  top: 32px;
  transform: rotate(10deg);
}

.flow-lane span:nth-child(2) {
  top: 90px;
}

.flow-lane span:nth-child(3) {
  top: 148px;
  transform: rotate(-10deg);
}

.flow-lane.right span {
  background: linear-gradient(90deg, rgba(141, 235, 255, 0.1), var(--ice), rgba(141, 235, 255, 0));
}

.intelligence-rail {
  position: relative;
  display: grid;
  justify-items: center;
  gap: 14px;
  text-align: center;
  padding: 26px 16px;
  border: 1px solid var(--line-strong);
  border-radius: 8px;
  background: rgba(36, 200, 243, 0.07);
}

.intelligence-rail img {
  width: 82px;
}

.intelligence-rail strong {
  display: block;
  color: #eef3f8;
  font-size: 15px;
}

.stages article span {
  color: var(--ice);
  font-size: 12px;
  margin-bottom: 4px;
}

.stages article p {
  margin: 0;
}

.metric-strip {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  margin-bottom: 54px;
  border: 1px solid var(--line);
  border-radius: 8px;
  overflow: hidden;
  background: var(--line);
}

.metric-strip div {
  min-height: 128px;
  padding: 24px;
  background: rgba(9, 13, 18, 0.88);
}

.metric-strip span {
  display: block;
  color: var(--steel);
  font-size: 13px;
}

.metric-strip strong {
  display: block;
  margin-top: 14px;
  color: #f4f7fb;
  font-size: 42px;
  line-height: 1;
}

.split-section {
  display: grid;
  grid-template-columns: 0.78fr 1fr;
  gap: 44px;
  align-items: start;
}

.signal-table,
.audit-console {
  overflow: hidden;
}

.table-row,
.audit-header,
.audit-row {
  display: grid;
  align-items: center;
  min-height: 58px;
  border-top: 1px solid rgba(217, 222, 229, 0.08);
  color: var(--steel);
  font-size: 13px;
}

.table-row {
  grid-template-columns: 1.35fr 0.75fr 0.8fr;
  padding: 0 18px;
}

.table-row.head,
.audit-header {
  border-top: 0;
  color: var(--muted);
  background: rgba(217, 222, 229, 0.025);
}

.table-row span:first-child,
.audit-row strong {
  color: var(--silver);
}

.status {
  justify-self: start;
  padding: 6px 9px;
  border: 1px solid rgba(217, 222, 229, 0.12);
  border-radius: 6px;
  color: var(--steel);
}

.status.live {
  border-color: var(--line-strong);
  color: var(--ice);
}

.security {
  display: grid;
  grid-template-columns: 0.72fr 1fr;
  gap: 52px;
  align-items: start;
}

.audit-header,
.audit-row {
  grid-template-columns: 1.25fr 0.8fr 0.72fr 0.58fr;
  padding: 0 18px;
}

.pricing {
  display: grid;
  grid-template-columns: 0.72fr 1fr;
  gap: 52px;
  align-items: start;
}

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

.plans article {
  min-height: 284px;
  padding: 24px;
  display: flex;
  flex-direction: column;
}

.plans article.featured {
  border-color: var(--line-strong);
  background: rgba(36, 200, 243, 0.055);
}

.plans h3 {
  margin: 0;
  color: #f4f7fb;
  font-size: 23px;
}

.plans p {
  margin: 16px 0 0;
  color: var(--steel);
  font-size: 14px;
  line-height: 1.65;
}

.plans a {
  margin-top: auto;
  color: var(--ice);
  font-size: 13px;
  font-weight: 700;
}

.final-cta {
  display: grid;
  grid-template-columns: 1fr 420px;
  gap: 60px;
  align-items: center;
  padding-bottom: 110px;
}

.final-cta h2 {
  max-width: 780px;
}

.final-cta p {
  max-width: 560px;
  margin-top: 24px;
}

.access-form {
  display: grid;
  gap: 16px;
  padding: 22px;
}

.access-form label {
  display: grid;
  gap: 8px;
}

.access-form label span {
  color: var(--steel);
  font-size: 12px;
}

.access-form input,
.access-form select {
  width: 100%;
  min-height: 46px;
  border: 1px solid rgba(217, 222, 229, 0.16);
  border-radius: 6px;
  padding: 0 13px;
  background: rgba(3, 5, 7, 0.62);
  color: var(--silver);
  outline: none;
}

.access-form input:focus,
.access-form select:focus {
  border-color: var(--ice);
}

.access-form button {
  width: 100%;
}

.form-note {
  min-height: 20px;
  color: var(--muted);
  font-size: 12px;
  margin: 0;
}

.site-footer {
  width: min(var(--max), calc(100% - 40px));
  min-height: 112px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  color: var(--muted);
  font-size: 13px;
}

.site-footer img {
  width: 118px;
}

.site-footer nav {
  display: flex;
  gap: 24px;
}

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

  .menu-button {
    display: block;
    justify-self: end;
    grid-column: 3;
    grid-row: 1;
  }

  .header-cta {
    display: none;
  }

  .nav {
    display: none;
    grid-column: 1 / -1;
    justify-self: stretch;
    padding: 14px 0 6px;
    border-top: 1px solid var(--line);
  }

  .nav.is-open {
    display: grid;
    gap: 12px;
  }

  .hero,
  .section-copy,
  .split-section,
  .security,
  .pricing,
  .final-cta {
    grid-template-columns: 1fr;
  }

  .hero {
    gap: 42px;
    min-height: auto;
  }

  .command-stage {
    min-height: auto;
  }

  .flow-canvas {
    grid-template-columns: 1fr;
    gap: 18px;
  }

  .flow-lane {
    height: 32px;
  }

  .flow-lane span {
    left: 20%;
    right: 20%;
    top: 15px !important;
    transform: none !important;
  }

  .metric-strip,
  .plans {
    grid-template-columns: 1fr;
  }

  .final-cta {
    gap: 32px;
  }
}

@media (max-width: 640px) {
  .site-header,
  .section-shell,
  .site-footer {
    width: min(100% - 28px, var(--max));
  }

  .hero {
    padding-top: 54px;
  }

  .hero-copy h1 {
    font-size: 50px;
    line-height: 0.99;
  }

  .hero-copy p,
  .section-copy p,
  .final-cta p {
    font-size: 16px;
  }

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

  .timeline {
    min-height: auto;
  }

  .stage-ring {
    display: none;
  }

  .workflow,
  .solutions,
  .security,
  .pricing,
  .final-cta {
    padding: 68px 0;
  }

  .table-row {
    grid-template-columns: 1fr;
    gap: 7px;
    padding: 14px 16px;
  }

  .audit-header {
    display: none;
  }

  .audit-row {
    grid-template-columns: 1fr;
    gap: 8px;
    padding: 16px;
  }

  .site-footer {
    align-items: flex-start;
    flex-direction: column;
    padding: 28px 0;
  }

  .site-footer nav {
    flex-wrap: wrap;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition: none !important;
  }
}
