:root {
  --bg: #020608;
  --panel: rgba(3, 14, 17, 0.82);
  --panel-strong: rgba(5, 22, 27, 0.94);
  --line: rgba(125, 211, 252, 0.32);
  --line-hot: rgba(251, 191, 36, 0.7);
  --text: #eff8f9;
  --muted: #9bb8bd;
  --dim: #50727a;
  --teal: #2eafcb;
  --cyan: #7dd3fc;
  --amber: #fbbf24;
  --red: #d85b4f;
  --green: #8bd450;
  --black: #010304;
  --max: 1180px;
  --hero-max: 1680px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--text);
  background:
    radial-gradient(circle at 18% 0%, rgba(46, 175, 203, 0.16), transparent 34rem),
    radial-gradient(circle at 85% 8%, rgba(139, 212, 80, 0.08), transparent 26rem),
    linear-gradient(180deg, #041012 0%, var(--bg) 45%, #010303 100%);
  font-family: "IBM Plex Mono", "SFMono-Regular", Consolas, "Liberation Mono", monospace;
  min-width: 320px;
}

body::before {
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  content: "";
  background:
    linear-gradient(rgba(125, 211, 252, 0.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(125, 211, 252, 0.025) 1px, transparent 1px);
  background-size: 32px 32px;
  mask-image: linear-gradient(to bottom, black, transparent 78%);
}

body::after {
  position: fixed;
  inset: 0;
  z-index: 20;
  pointer-events: none;
  content: "";
  background: repeating-linear-gradient(
    to bottom,
    rgba(255, 255, 255, 0.035) 0,
    rgba(255, 255, 255, 0.035) 1px,
    transparent 1px,
    transparent 4px
  );
  mix-blend-mode: overlay;
  opacity: 0.35;
}

a {
  color: inherit;
}

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

.page-shell {
  overflow: hidden;
}

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  width: min(var(--max), calc(100% - 32px));
  margin: 16px auto 0;
  padding: 12px 14px;
  border: 1px solid rgba(125, 211, 252, 0.22);
  background: rgba(1, 5, 7, 0.72);
  backdrop-filter: blur(16px);
}

.brand,
.nav-links,
.header-cta,
.primary-button,
.secondary-button {
  text-decoration: none;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  font-weight: 800;
  letter-spacing: 0.08em;
}

.brand-mark {
  display: grid;
  width: 30px;
  height: 30px;
  place-items: center;
  border: 1px solid var(--cyan);
  color: var(--black);
  background: var(--cyan);
  box-shadow: 0 0 24px rgba(125, 211, 252, 0.35);
}

.nav-links {
  display: flex;
  gap: 1.35rem;
  color: var(--muted);
  font-size: 0.86rem;
  text-transform: uppercase;
}

.nav-links a,
.header-cta {
  transition: color 180ms ease, border-color 180ms ease;
}

.nav-links a:hover,
.header-cta:hover {
  color: var(--cyan);
}

.header-cta {
  border: 1px solid rgba(251, 191, 36, 0.55);
  padding: 0.72rem 0.95rem;
  color: var(--amber);
  font-weight: 700;
  text-transform: uppercase;
  font-size: 0.78rem;
}

.hero {
  position: relative;
  min-height: 94svh;
  display: grid;
  align-items: end;
  isolation: isolate;
}

.hero-art {
  position: absolute;
  inset: 0;
  z-index: -2;
  background: #061416;
}

.hero-image {
  width: 108%;
  height: 100%;
  object-fit: cover;
  max-width: none;
  transform: translateX(4%);
}

.hero-art::after {
  position: absolute;
  inset: 0;
  content: "";
  background:
    radial-gradient(circle at 58% 52%, transparent 0 16rem, rgba(2, 6, 8, 0.16) 31rem, rgba(2, 6, 8, 0.72) 64rem),
    linear-gradient(90deg, rgba(2, 6, 8, 0.82), rgba(2, 6, 8, 0.12) 48%, rgba(2, 6, 8, 0.64)),
    linear-gradient(0deg, var(--bg) 0%, rgba(2, 6, 8, 0.18) 45%, rgba(2, 6, 8, 0.56) 100%);
}

.hero-fallback {
  position: absolute;
  inset: 0;
  display: none;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 0.75rem;
  color: var(--cyan);
  text-align: center;
  background:
    linear-gradient(120deg, rgba(46, 175, 203, 0.18), transparent 45%),
    repeating-linear-gradient(90deg, rgba(125, 211, 252, 0.08), rgba(125, 211, 252, 0.08) 1px, transparent 1px, transparent 18px),
    #031012;
}

.hero-art.is-missing .hero-image {
  display: none;
}

.hero-art.is-missing .hero-fallback {
  display: flex;
}

.hero-overlay {
  width: min(var(--hero-max), calc(100% - 40px));
  margin: 0 auto;
  padding: 132px 0 108px;
  display: grid;
  grid-template-columns: minmax(0, 620px) minmax(280px, 360px);
  align-items: end;
  justify-content: space-between;
  gap: clamp(2rem, 12vw, 14rem);
}

.eyebrow,
.section-kicker {
  color: var(--amber);
  font-size: clamp(0.76rem, 1.6vw, 0.94rem);
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

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

h1 {
  max-width: 620px;
  margin-bottom: 1.25rem;
  color: #ffffff;
  font-size: clamp(3rem, 5.65vw, 6.25rem);
  line-height: 0.9;
  letter-spacing: 0;
  text-transform: uppercase;
  text-wrap: balance;
  text-shadow: 0 6px 28px rgba(0, 0, 0, 0.72);
}

h2 {
  margin-bottom: 1rem;
  font-size: clamp(2rem, 4vw, 4.2rem);
  line-height: 0.96;
  letter-spacing: 0;
  text-transform: uppercase;
  text-wrap: balance;
}

h3 {
  margin-bottom: 0.75rem;
  color: #ffffff;
  font-size: 1.05rem;
  text-transform: uppercase;
}

.hero-copy {
  max-width: 600px;
  color: #d5e8ea;
  font-size: clamp(1rem, 2vw, 1.32rem);
  line-height: 1.55;
  text-shadow: 0 3px 18px rgba(0, 0, 0, 0.86);
}

.hero-console {
  border: 1px solid rgba(125, 211, 252, 0.34);
  background: rgba(2, 8, 10, 0.72);
  box-shadow: 0 22px 70px rgba(0, 0, 0, 0.42);
  backdrop-filter: blur(8px);
  transform: translateY(-34px);
}

.console-topline {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  border-bottom: 1px solid rgba(125, 211, 252, 0.22);
  padding: 0.75rem 0.9rem;
  color: var(--amber);
  font-size: 0.78rem;
  font-weight: 900;
}

.console-readout {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  border-bottom: 1px solid rgba(125, 211, 252, 0.14);
  padding: 0.85rem 0.9rem;
}

.console-readout span {
  color: var(--dim);
  font-size: 0.76rem;
}

.console-readout strong {
  color: var(--cyan);
  font-size: 0.92rem;
}

.hero-console p {
  margin: 0;
  padding: 0.9rem;
  color: #c9dde0;
  font-size: 0.86rem;
  line-height: 1.55;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.9rem;
  margin: 2rem 0;
}

.primary-button,
.secondary-button {
  position: relative;
  display: inline-flex;
  min-height: 48px;
  align-items: center;
  justify-content: center;
  gap: 0.7rem;
  border: 1px solid transparent;
  padding: 0.9rem 1.15rem;
  font: inherit;
  font-weight: 900;
  text-transform: uppercase;
  cursor: pointer;
}

.primary-button {
  color: #061012;
  background: var(--amber);
  box-shadow: 0 0 34px rgba(251, 191, 36, 0.27);
}

.secondary-button {
  color: var(--cyan);
  border-color: rgba(125, 211, 252, 0.46);
  background: rgba(2, 6, 8, 0.48);
}

.button-pulse {
  width: 10px;
  height: 10px;
  background: #061012;
  animation: blink 1.1s steps(2, start) infinite;
}

.signal-strip {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 170px));
  gap: 1px;
  width: min(100%, 560px);
  margin: 0;
  border: 1px solid rgba(125, 211, 252, 0.28);
  background: rgba(125, 211, 252, 0.28);
  box-shadow: 0 18px 48px rgba(0, 0, 0, 0.32);
}

.signal-strip div {
  padding: 0.8rem;
  background: rgba(2, 6, 8, 0.78);
}

.signal-strip dt {
  margin-bottom: 0.35rem;
  color: var(--dim);
  font-size: 0.75rem;
  text-transform: uppercase;
}

.signal-strip dd {
  margin: 0;
  color: var(--cyan);
  font-weight: 800;
  text-transform: uppercase;
}

.status-band {
  border-block: 1px solid rgba(125, 211, 252, 0.22);
  overflow: hidden;
  background: rgba(4, 19, 22, 0.9);
  white-space: nowrap;
}

.ticker {
  display: flex;
  width: max-content;
  color: var(--cyan);
  font-size: 0.88rem;
  font-weight: 800;
  text-transform: uppercase;
  will-change: transform;
  animation: ticker var(--ticker-duration, 54s) linear infinite;
}

.ticker-track {
  display: flex;
  flex: 0 0 auto;
  gap: 2.4rem;
  padding: 0.8rem 1.15rem;
}

.ticker-track span:nth-child(even) {
  color: var(--amber);
}

.intro-section,
.mission-section,
.build-section,
.signup-section {
  width: min(var(--max), calc(100% - 32px));
  margin: 0 auto;
  padding: clamp(64px, 9vw, 118px) 0;
}

.intro-section p,
.mission-copy p,
.build-list p,
.signup-copy p {
  max-width: 780px;
  color: var(--muted);
  font-size: 1.02rem;
  line-height: 1.68;
}

.test-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1px;
  width: min(var(--max), calc(100% - 32px));
  margin: 0 auto;
  border: 1px solid rgba(125, 211, 252, 0.22);
  background: rgba(125, 211, 252, 0.22);
}

.test-card {
  min-height: 260px;
  padding: 1.2rem;
  background: rgba(3, 14, 17, 0.9);
}

.test-card:nth-child(2) {
  border-top: 3px solid var(--red);
}

.test-card:nth-child(3) {
  border-top: 3px solid var(--amber);
}

.test-card:nth-child(4) {
  border-top: 3px solid var(--green);
}

.card-code {
  display: block;
  margin-bottom: 3.5rem;
  color: var(--cyan);
  font-weight: 900;
}

.test-card p {
  color: var(--muted);
  line-height: 1.6;
}

.mission-section,
.signup-section {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(320px, 0.75fr);
  gap: clamp(1.5rem, 5vw, 4.5rem);
  align-items: center;
}

.feature-list {
  display: grid;
  gap: 0.7rem;
  margin: 1.6rem 0 0;
  padding: 0;
  list-style: none;
}

.feature-list li {
  border-left: 3px solid var(--cyan);
  padding-left: 0.8rem;
  color: #c9dde0;
}

.terminal-panel {
  border: 1px solid rgba(125, 211, 252, 0.34);
  background: var(--panel-strong);
  box-shadow: 0 0 60px rgba(46, 175, 203, 0.08);
}

.terminal-header {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  border-bottom: 1px solid rgba(125, 211, 252, 0.24);
  padding: 0.8rem 1rem;
  color: var(--amber);
  font-weight: 900;
}

.terminal-panel pre {
  margin: 0;
  padding: 1rem;
  color: var(--cyan);
  font: inherit;
  line-height: 1.75;
  white-space: pre-wrap;
}

.build-content {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(300px, 0.8fr);
  gap: 1.5rem;
  margin-top: 2rem;
}

.screenshot-frame {
  position: relative;
  min-height: 430px;
  overflow: hidden;
  border: 1px solid rgba(125, 211, 252, 0.32);
  background: rgba(1, 5, 7, 0.88);
}

.screenshot-frame img {
  width: 100%;
  height: 100%;
  min-height: 430px;
  object-fit: cover;
}

.screenshot-placeholder {
  position: absolute;
  inset: 0;
  display: none;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 0.75rem;
  color: var(--cyan);
  text-align: center;
  background:
    repeating-linear-gradient(0deg, rgba(125, 211, 252, 0.07), rgba(125, 211, 252, 0.07) 1px, transparent 1px, transparent 22px),
    rgba(4, 16, 20, 0.95);
}

.screenshot-frame.is-missing img {
  display: none;
}

.screenshot-frame.is-missing .screenshot-placeholder {
  display: flex;
}

.build-list {
  display: grid;
  gap: 1px;
  border: 1px solid rgba(125, 211, 252, 0.22);
  background: rgba(125, 211, 252, 0.22);
}

.build-list div {
  padding: 1.1rem;
  background: rgba(3, 14, 17, 0.88);
}

.signup-form {
  display: grid;
  gap: 0.9rem;
  border: 1px solid rgba(251, 191, 36, 0.34);
  padding: 1rem;
  background: rgba(3, 14, 17, 0.9);
}

label {
  display: grid;
  gap: 0.45rem;
  color: var(--amber);
  font-size: 0.8rem;
  font-weight: 900;
  text-transform: uppercase;
}

input,
select,
textarea {
  width: 100%;
  border: 1px solid rgba(125, 211, 252, 0.28);
  border-radius: 0;
  padding: 0.8rem;
  color: var(--text);
  background: rgba(1, 5, 7, 0.9);
  font: inherit;
}

input:focus,
select:focus,
textarea:focus {
  outline: 2px solid rgba(251, 191, 36, 0.62);
  outline-offset: 0;
}

.form-button {
  width: 100%;
  border: 0;
}

.form-note {
  margin: 0;
  color: var(--dim);
  font-size: 0.78rem;
  line-height: 1.5;
}

code {
  color: var(--cyan);
}

@keyframes blink {
  50% {
    opacity: 0;
  }
}

@keyframes ticker {
  from {
    transform: translateX(0);
  }

  to {
    transform: translateX(calc(-1 * var(--ticker-distance, 100vw)));
  }
}

@media (max-width: 920px) {
  .site-header {
    position: absolute;
  }

  .nav-links {
    display: none;
  }

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

  .signal-strip,
  .test-grid,
  .mission-section,
  .build-content,
  .signup-section,
  .hero-overlay {
    grid-template-columns: 1fr;
  }

  .hero-console {
    display: none;
  }

  .test-card {
    min-height: auto;
  }

  .card-code {
    margin-bottom: 1.5rem;
  }
}

@media (max-width: 560px) {
  .site-header {
    width: calc(100% - 20px);
    margin-top: 10px;
  }

  .header-cta {
    display: none;
  }

  .hero-overlay,
  .intro-section,
  .mission-section,
  .build-section,
  .signup-section,
  .test-grid {
    width: calc(100% - 20px);
  }

  .hero-overlay {
    padding-bottom: 42px;
  }

  .hero-actions {
    flex-direction: column;
  }

  .primary-button,
  .secondary-button {
    width: 100%;
  }

  .signal-strip {
    font-size: 0.78rem;
  }

  .screenshot-frame,
  .screenshot-frame img {
    min-height: 280px;
  }
}

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