:root {
  --navy: #04162f;
  --cyan: #39a9ff;
  --orange: #d90429;
  --paper: #f4f7fb;
  --ink: #06172e;
  --muted: #53677c;
  --line: #bfcede;
  --brand-red: #d90429;
  --brand-blue: #168cff;
  --brand-white: #ffffff;
}

body {
  background:
    radial-gradient(circle at 8% 10%, rgb(22 140 255 / 9%), transparent 24rem),
    radial-gradient(circle at 95% 4%, rgb(217 4 41 / 7%), transparent 22rem),
    var(--paper);
}

.nav {
  position: sticky;
  top: 0;
  z-index: 20;
  border-bottom-color: rgb(6 23 46 / 16%);
  background: rgb(244 247 251 / 88%);
  backdrop-filter: blur(16px);
}

.brand {
  gap: 11px;
  letter-spacing: .045em;
}

.brand-mark {
  width: 40px;
  height: 40px;
  flex: none;
  border: 1px solid rgb(255 255 255 / 70%);
  border-radius: 50%;
  object-fit: cover;
  box-shadow: 0 0 0 2px #082652, 0 0 22px rgb(22 140 255 / 24%);
}

.brand b {
  color: var(--brand-red);
}

.navlinks a {
  position: relative;
}

.navlinks a::after {
  content: "";
  position: absolute;
  right: 0;
  bottom: -7px;
  left: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--brand-blue), var(--brand-red));
  transform: scaleX(0);
  transition: transform .18s ease;
}

.navlinks a:hover::after {
  transform: scaleX(1);
}

.button {
  border: 1px solid rgb(255 255 255 / 20%);
  background: linear-gradient(115deg, #e10b31, #b90022);
  box-shadow: 5px 5px 0 var(--navy), 0 0 24px rgb(217 4 41 / 13%);
}

.button:hover {
  box-shadow: 7px 7px 0 var(--navy), 0 0 32px rgb(217 4 41 / 20%);
}

.hero {
  min-height: 700px;
}

.eyebrow,
.kicker {
  color: #0d5f9c;
}

.pulse {
  background: var(--brand-blue);
  box-shadow: 0 0 0 5px rgb(22 140 255 / 14%), 0 0 18px rgb(22 140 255 / 50%);
}

.hero h1 span {
  color: transparent;
  background: linear-gradient(90deg, #0c64a8 0%, #168cff 48%, #d90429 100%);
  background-clip: text;
  -webkit-background-clip: text;
  -webkit-text-stroke: 0;
}

.trust-row svg {
  color: var(--brand-blue);
}

.hero-visual {
  height: 565px;
  background: #031631;
  box-shadow: 12px 12px 0 var(--brand-blue), 18px 18px 0 var(--brand-red);
}

.hero-visual::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(125deg, transparent 45%, rgb(22 140 255 / 10%), transparent 62%);
}

.hero-banner {
  position: absolute;
  z-index: 1;
  top: 0;
  left: 0;
  width: 100%;
  height: 218px;
  border-bottom: 1px solid rgb(57 169 255 / 45%);
  object-fit: cover;
}

.grid-glow {
  top: 218px;
  z-index: 0;
  background-image:
    linear-gradient(rgb(57 169 255 / 15%) 1px, transparent 1px),
    linear-gradient(90deg, rgb(57 169 255 / 15%) 1px, transparent 1px);
}

.blueprint-card {
  z-index: 2;
  border-color: rgb(57 169 255 / 55%);
  background: rgb(7 38 76 / 92%);
  box-shadow: 0 12px 30px rgb(0 0 0 / 24%);
  backdrop-filter: blur(8px);
}

.card-one {
  top: 244px;
  left: 28px;
}

.card-two {
  top: 349px;
  right: 27px;
}

.card-three {
  bottom: 26px;
  left: 34px;
}

.line-one {
  top: 314px;
}

.line-two {
  top: 406px;
}

.node-icon.orange {
  border-color: var(--brand-red);
  color: #ff3859;
}

.lab-stamp {
  right: 18px;
  bottom: 14px;
  color: #ff4766;
  border-color: rgb(217 4 41 / 66%);
}

.manifesto {
  border-top: 1px solid rgb(57 169 255 / 35%);
  border-bottom: 4px solid var(--brand-red);
  background:
    linear-gradient(110deg, rgb(22 140 255 / 13%), transparent 38%),
    var(--navy);
}

.manifesto em {
  text-decoration-color: var(--brand-blue);
}

.steps {
  border-top-color: #12385e;
}

.step::before {
  background: var(--brand-blue);
  box-shadow: 0 0 16px rgb(22 140 255 / 50%);
}

.build-section,
.prototype-wrap {
  background:
    radial-gradient(circle at 88% 20%, rgb(22 140 255 / 16%), transparent 28rem),
    radial-gradient(circle at 8% 90%, rgb(217 4 41 / 12%), transparent 26rem),
    var(--navy);
}

.build-card {
  border-top-color: var(--brand-blue);
  background: linear-gradient(150deg, #0c2d55, #071d39);
  box-shadow: inset 0 0 0 1px rgb(255 255 255 / 5%), 0 18px 40px rgb(0 0 0 / 16%);
}

.build-card.orange {
  border-color: var(--brand-red);
}

.demo,
.build-demo {
  box-shadow: 10px 10px 0 var(--brand-blue);
}

.demo-tabs button.active {
  background: linear-gradient(120deg, #0b2b54, #071c38);
}

.result {
  border-color: var(--brand-blue);
}

.task,
.callout {
  background: #e5f3ff;
}

.boundaries,
.build-redline {
  background:
    linear-gradient(135deg, rgb(22 140 255 / 7%), transparent 46%),
    #eaf0f7;
}

.boundary-list,
.redline-grid ul {
  box-shadow: 8px 8px 0 var(--brand-red);
}

.submit-section {
  background:
    radial-gradient(circle at 10% 20%, rgb(22 140 255 / 8%), transparent 25rem),
    #fff;
}

.idea-form {
  border-color: #9cb5cd;
  background: #eef4fa;
  box-shadow: 9px 9px 0 #0a2a50;
}

.idea-form input:focus,
.idea-form select:focus,
.idea-form textarea:focus {
  border-color: var(--brand-blue);
  outline: 3px solid rgb(22 140 255 / 14%);
}

footer {
  border-top: 3px solid var(--brand-red);
  background:
    linear-gradient(110deg, rgb(22 140 255 / 10%), transparent 35%),
    #021124;
}

.footer-grid a {
  color: #75c4ff;
}

.legal-page,
.build-page {
  background:
    radial-gradient(circle at 90% 6%, rgb(22 140 255 / 9%), transparent 28rem),
    var(--paper);
}

.legal-content h1,
.build-hero h1 span {
  color: transparent;
  background: linear-gradient(90deg, #0c64a8, #168cff 55%, #d90429);
  background-clip: text;
  -webkit-background-clip: text;
  -webkit-text-stroke: 0;
}

.legal-date,
.build-explainer article > span {
  color: #0d67a9 !important;
}

.build-spec {
  background: linear-gradient(145deg, #06244a, #03162f);
  box-shadow: 11px 11px 0 var(--brand-blue), 16px 16px 0 var(--brand-red);
}

@media (max-width: 900px) {
  .nav {
    position: relative;
  }

  .hero {
    min-height: auto;
  }
}

@media (max-width: 600px) {
  .brand-mark {
    width: 34px;
    height: 34px;
  }

  .hero h1 span,
  .build-hero h1 span {
    -webkit-text-stroke: 0;
  }

  .hero-visual {
    height: 535px;
    box-shadow: 7px 7px 0 var(--brand-blue), 11px 11px 0 var(--brand-red);
  }

  .hero-banner {
    height: 175px;
  }

  .grid-glow {
    top: 175px;
  }

  .card-one {
    top: 200px;
    left: 18px;
  }

  .card-two {
    top: 310px;
    right: 16px;
  }

  .card-three {
    bottom: 24px;
    left: 18px;
  }

  .line-one {
    top: 265px;
  }

  .line-two {
    top: 365px;
  }

  .lab-stamp {
    display: none;
  }
}

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