:root {
  color-scheme: dark;
  --bg: #000;
  --panel: #050505;
  --panel-raised: #0a0a0a;
  --line: #262626;
  --line-strong: #3a3a3a;
  --text: #fafafa;
  --muted: #a3a3a3;
  --dim: #737373;
  --light: #fff;
  --black: #000;
  --radius: 8px;
  --mono: "Geist Mono", "SFMono-Regular", Consolas, "Liberation Mono", Menlo, monospace;
  --sans: "Geist", Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-width: 320px;
  background:
    radial-gradient(ellipse at 50% -18%, rgba(255, 255, 255, 0.16), transparent 46%),
    linear-gradient(rgba(255, 255, 255, 0.018) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.014) 1px, transparent 1px),
    var(--bg);
  background-repeat: no-repeat, repeat, repeat, repeat;
  background-size: auto, 32px 32px, 32px 32px, auto;
  color: var(--text);
  font-family: var(--sans);
  letter-spacing: 0;
}

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

.page-shell {
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
}

.site-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  min-height: 78px;
  border-bottom: 1px solid var(--line);
  background: rgba(0, 0, 0, 0.64);
}

.brand-lockup {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-family: var(--mono);
  font-weight: 700;
  font-size: 16px;
}

.brand-mark {
  display: grid;
  place-items: center;
  width: 36px;
  height: 36px;
  border: 1px solid var(--line);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.08), transparent),
    #050505;
  border-radius: 6px;
  overflow: hidden;
  box-shadow:
    0 0 0 1px rgba(255, 255, 255, 0.04) inset,
    0 12px 32px rgba(255, 255, 255, 0.06);
}

.brand-mark img {
  width: 30px;
  height: 30px;
  object-fit: cover;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 20px;
  color: var(--muted);
  font-family: var(--mono);
  font-size: 13px;
}

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

.hero-section {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(360px, 1.05fr);
  gap: 40px;
  align-items: center;
  padding: 70px 0 44px;
}

.hero-copy {
  min-width: 0;
}

.eyebrow {
  margin: 0 0 20px;
  color: var(--text);
  font-family: var(--mono);
  font-size: 12px;
  text-transform: uppercase;
  text-shadow: 0 0 28px rgba(255, 255, 255, 0.24);
}

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

h1 {
  max-width: 620px;
  margin-bottom: 24px;
  font-size: clamp(46px, 5vw, 66px);
  line-height: 0.96;
  font-weight: 850;
  text-shadow: 0 18px 80px rgba(255, 255, 255, 0.18);
}

.hero-intro {
  max-width: 650px;
  color: var(--muted);
  font-size: clamp(18px, 2vw, 22px);
  line-height: 1.55;
}

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

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 0 18px;
  border-radius: 6px;
  border: 1px solid var(--line-strong);
  font-family: var(--mono);
  font-size: 13px;
  font-weight: 700;
}

.button.primary {
  background: var(--light);
  color: var(--black);
  border-color: var(--light);
  box-shadow:
    0 0 0 1px rgba(255, 255, 255, 0.28) inset,
    0 16px 44px rgba(255, 255, 255, 0.11);
}

.button.secondary {
  color: var(--text);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.05), transparent),
    #050505;
  box-shadow: 0 14px 36px rgba(0, 0, 0, 0.35);
}

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

.signal-console {
  border: 1px solid var(--line-strong);
  border-radius: var(--radius);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.06), rgba(255, 255, 255, 0.014)),
    #020202;
  box-shadow:
    0 46px 120px rgba(0, 0, 0, 0.72),
    0 0 0 1px rgba(255, 255, 255, 0.035) inset,
    0 -44px 120px rgba(255, 255, 255, 0.045) inset;
  overflow: hidden;
}

.console-topline {
  display: flex;
  justify-content: space-between;
  align-items: center;
  min-height: 44px;
  padding: 0 16px;
  border-bottom: 1px solid var(--line);
  color: var(--muted);
  font-family: var(--mono);
  font-size: 12px;
}

.status-light {
  width: 9px;
  height: 9px;
  border-radius: 999px;
  background: var(--light);
  box-shadow: 0 0 22px rgba(255, 255, 255, 0.86);
}

.console-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
  padding: 16px;
}

.terminal-pane,
.log-terminal {
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: 6px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.04), transparent),
    #030303;
  color: #e5e5e5;
  font-family: var(--mono);
  font-size: 12px;
  line-height: 1.7;
}

.terminal-pane p,
.log-terminal p {
  margin: 0;
  overflow-wrap: anywhere;
}

.prompt {
  color: var(--text);
}

.terminal-output {
  color: #cfcfcf;
}

.forwardian-wall {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.forwardian-tile {
  display: grid;
  grid-template-columns: 72px minmax(0, 1fr);
  gap: 14px;
  align-items: center;
  min-height: 104px;
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: 6px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.055), rgba(255, 255, 255, 0.014)),
    #050505;
  color: var(--text);
  font-family: var(--mono);
  font-size: 12px;
  font-weight: 800;
  box-shadow:
    0 18px 42px rgba(0, 0, 0, 0.45),
    0 0 0 1px rgba(255, 255, 255, 0.025) inset;
}

.pixel-avatar {
  position: relative;
  display: block;
  width: 72px;
  height: 72px;
  border: 1px solid var(--line-strong);
  border-radius: 6px;
  overflow: hidden;
  background-color: #111;
  image-rendering: pixelated;
  box-shadow:
    0 0 0 1px rgba(255, 255, 255, 0.06) inset,
    0 12px 34px rgba(255, 255, 255, 0.06);
}

.pixel-avatar::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(rgba(255, 255, 255, 0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.05) 1px, transparent 1px);
  background-size: 8px 8px;
  mix-blend-mode: screen;
}

.avatar-a {
  background:
    radial-gradient(circle at 52% 28%, #f5f5f5 0 14%, transparent 15%),
    linear-gradient(135deg, transparent 0 34%, #d9d9d9 35% 54%, transparent 55%),
    linear-gradient(90deg, #111 0 28%, #f5f5f5 29% 40%, #111 41% 58%, #f5f5f5 59% 70%, #111 71%);
}

.avatar-b {
  background:
    linear-gradient(90deg, #111 0 18%, #f5f5f5 19% 32%, #111 33% 45%, #f5f5f5 46% 62%, #111 63%),
    radial-gradient(circle at 50% 50%, #fff 0 8%, transparent 9%);
}

.avatar-c {
  background:
    linear-gradient(45deg, transparent 0 24%, #f5f5f5 25% 34%, transparent 35%),
    linear-gradient(135deg, transparent 0 28%, #f5f5f5 29% 42%, transparent 43%),
    radial-gradient(circle at 50% 48%, #111 0 28%, #f5f5f5 29% 32%, #111 33%);
}

.avatar-d {
  background:
    radial-gradient(circle at 36% 40%, #f5f5f5 0 8%, transparent 9%),
    radial-gradient(circle at 64% 40%, #f5f5f5 0 8%, transparent 9%),
    linear-gradient(180deg, #111 0 54%, #f5f5f5 55% 62%, #111 63%);
}

.proof-strip {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow:
    0 26px 72px rgba(0, 0, 0, 0.45),
    0 0 0 1px rgba(255, 255, 255, 0.018) inset;
}

.proof-strip div {
  min-height: 104px;
  padding: 18px;
  border-right: 1px solid var(--line);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.04), transparent),
    rgba(255, 255, 255, 0.012);
}

.proof-strip div:last-child {
  border-right: 0;
}

.proof-strip strong,
.proof-strip span {
  display: block;
}

.proof-strip strong {
  margin-bottom: 12px;
  color: var(--muted);
  font-family: var(--mono);
  font-size: 12px;
  text-transform: uppercase;
}

.proof-strip span {
  font-size: 18px;
  font-weight: 750;
}

.section-block {
  padding: 98px 0 0;
}

.section-heading {
  display: grid;
  grid-template-columns: 0.58fr 1fr;
  gap: 30px;
  align-items: end;
  margin-bottom: 32px;
}

.section-heading h2 {
  max-width: 820px;
  margin-bottom: 0;
  font-size: clamp(34px, 5vw, 68px);
  line-height: 0.98;
}

.system-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow:
    0 30px 88px rgba(0, 0, 0, 0.48),
    0 0 0 1px rgba(255, 255, 255, 0.018) inset;
}

.feature-card {
  min-height: 294px;
  padding: 22px;
  border-right: 1px solid var(--line);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.035), transparent),
    rgba(255, 255, 255, 0.01);
}

.feature-card:last-child {
  border-right: 0;
}

.card-index,
.row-label {
  display: inline-block;
  margin-bottom: 48px;
  color: var(--text);
  font-family: var(--mono);
  font-size: 12px;
  text-shadow: 0 0 22px rgba(255, 255, 255, 0.18);
}

.feature-card h3,
.product-row h3 {
  margin-bottom: 16px;
  font-size: 26px;
  line-height: 1.05;
}

.feature-card p,
.product-row p {
  margin-bottom: 0;
  color: var(--muted);
  line-height: 1.55;
}

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

.product-row {
  display: grid;
  grid-template-columns: 0.45fr 1fr;
  gap: 28px;
  padding: 30px 0;
  border-bottom: 1px solid var(--line);
}

.product-row p {
  max-width: 720px;
  font-size: 18px;
}

.newsletter-panel {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 48px;
  align-items: center;
  padding: clamp(28px, 5vw, 58px);
  border: 1px solid var(--line-strong);
  border-radius: var(--radius);
  background:
    radial-gradient(circle at 86% 10%, rgba(255, 255, 255, 0.1), transparent 38%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.04), transparent),
    #030303;
  box-shadow:
    0 34px 100px rgba(0, 0, 0, 0.55),
    0 0 0 1px rgba(255, 255, 255, 0.025) inset;
}

.newsletter-panel h2 {
  max-width: 620px;
  margin-bottom: 20px;
  font-size: clamp(34px, 4.6vw, 62px);
  line-height: 0.98;
}

.newsletter-copy {
  max-width: 600px;
  margin-bottom: 0;
  color: var(--muted);
  font-size: 17px;
  line-height: 1.6;
}

.newsletter-form {
  position: relative;
  min-width: 0;
}

.newsletter-form > label {
  display: block;
  margin-bottom: 10px;
  font-family: var(--mono);
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
}

.newsletter-controls {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 10px;
}

.newsletter-controls input {
  min-width: 0;
  min-height: 46px;
  padding: 0 14px;
  border: 1px solid var(--line-strong);
  border-radius: 6px;
  outline: 0;
  background: #050505;
  color: var(--text);
  font: inherit;
}

.newsletter-controls input:focus {
  border-color: var(--light);
  box-shadow: 0 0 0 3px rgba(255, 255, 255, 0.1);
}

.newsletter-controls button {
  cursor: pointer;
}

.newsletter-controls button:disabled {
  cursor: wait;
  opacity: 0.7;
}

.form-trap {
  position: absolute;
  left: -10000px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.form-note,
.form-status {
  margin: 10px 0 0;
  color: var(--dim);
  font-family: var(--mono);
  font-size: 11px;
  line-height: 1.5;
}

.form-status {
  min-height: 17px;
  color: var(--text);
}

.log-terminal {
  font-size: 15px;
}

.site-footer {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  padding: 70px 0 34px;
  color: var(--muted);
  font-family: var(--mono);
  font-size: 13px;
}

@media (max-width: 940px) {
  .hero-section,
  .section-heading,
  .product-row,
  .newsletter-panel {
    grid-template-columns: 1fr;
  }

  .hero-section {
    padding-top: 52px;
  }

  .proof-strip,
  .system-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .proof-strip div:nth-child(2),
  .feature-card:nth-child(2) {
    border-right: 0;
  }

  .proof-strip div:nth-child(-n + 2),
  .feature-card:nth-child(-n + 2) {
    border-bottom: 1px solid var(--line);
  }

  .site-nav {
    display: none;
  }
}

@media (max-width: 620px) {
  .page-shell {
    width: min(100% - 22px, 1180px);
  }

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

  h1 {
    font-size: clamp(34px, 10vw, 44px);
    max-width: 100%;
  }

  .hero-intro,
  .product-row p {
    font-size: 16px;
  }

  .signal-console {
    border-radius: 6px;
  }

  .console-grid {
    padding: 14px;
  }

  .terminal-pane,
  .log-terminal {
    padding: 14px;
    font-size: 12px;
  }

  .hero-section .terminal-pane {
    display: none;
  }

  .forwardian-wall {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
  }

  .forwardian-tile {
    display: block;
    min-height: 116px;
    padding: 12px;
    font-size: 11px;
    line-height: 1.25;
  }

  .forwardian-tile span:last-child {
    display: block;
    margin-top: 10px;
    overflow-wrap: anywhere;
  }

  .pixel-avatar {
    width: 48px;
    height: 48px;
  }

  .proof-strip,
  .system-grid {
    grid-template-columns: 1fr;
  }

  .proof-strip div,
  .feature-card {
    min-height: auto;
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .proof-strip div:last-child,
  .feature-card:last-child {
    border-bottom: 0;
  }

  .card-index,
  .row-label {
    margin-bottom: 24px;
  }

  .section-block {
    padding-top: 72px;
  }

  .newsletter-controls {
    grid-template-columns: 1fr;
  }

  .site-footer {
    display: block;
  }

  .site-footer span {
    display: block;
    margin-bottom: 10px;
  }
}
