:root {
  --bg: #0a0e27;
  --panel: #1a1f3a;
  --panel-2: #101735;
  --table: #242d4a;
  --line: #2d3748;
  --cyan: #00d9ff;
  --cyan-soft: rgba(0, 217, 255, 0.14);
  --purple: #b13cff;
  --green: #12d67b;
  --red: #ff4d6d;
  --amber: #ffd166;
  --text: #f6fbff;
  --muted: #aab8d8;
  --muted-2: #7f8bad;
  --black: #050817;
  --radius: 8px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: "IBM Plex Mono", ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  line-height: 1.55;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
}

a {
  color: var(--cyan);
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 16px clamp(18px, 4vw, 56px);
  background: rgba(10, 14, 39, 0.94);
  border-bottom: 2px solid var(--cyan);
  backdrop-filter: blur(12px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--text);
  font-family: "Space Grotesk", system-ui, sans-serif;
  font-weight: 700;
}

.brand img {
  width: 34px;
  height: 34px;
  border-radius: 8px;
}

.brand span {
  color: var(--cyan);
}

.brand.small img {
  width: 28px;
  height: 28px;
}

nav {
  display: flex;
  align-items: center;
  gap: 18px;
  font-size: 13px;
  text-transform: uppercase;
}

nav a {
  color: var(--muted);
}

.nav-cta {
  color: var(--black);
  background: var(--cyan);
  border: 2px solid var(--cyan);
  padding: 8px 14px;
  border-radius: var(--radius);
  font-weight: 700;
}

.nav-cta:hover {
  color: var(--black);
  text-decoration: none;
}

.hero {
  min-height: 760px;
  position: relative;
  overflow: hidden;
  display: grid;
  align-items: center;
  padding: 88px clamp(18px, 6vw, 88px) 120px;
  background: var(--black);
  border-bottom: 2px solid var(--line);
}

.hero-copy {
  position: relative;
  z-index: 2;
  max-width: 780px;
}

.eyebrow {
  margin: 0 0 14px;
  color: var(--green);
  text-transform: uppercase;
  font-weight: 700;
  font-size: 13px;
}

h1,
h2,
h3 {
  font-family: "Space Grotesk", system-ui, sans-serif;
  letter-spacing: 0;
}

h1 {
  margin: 0;
  max-width: 920px;
  font-size: 78px;
  line-height: 0.95;
}

h2 {
  margin: 0;
  font-size: 48px;
  line-height: 1.04;
}

h3 {
  margin: 0 0 10px;
  font-size: 24px;
}

.lede,
.body-copy {
  max-width: 720px;
  color: var(--muted);
  font-size: 17px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin: 30px 0 16px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 12px 18px;
  border: 2px solid var(--cyan);
  border-radius: var(--radius);
  font-family: "IBM Plex Mono", ui-monospace, monospace;
  font-weight: 700;
  text-transform: uppercase;
  cursor: pointer;
}

.button.primary {
  color: var(--black);
  background: var(--cyan);
}

.button.secondary {
  color: var(--cyan);
  background: transparent;
}

.button:hover {
  text-decoration: none;
}

.status-line {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--muted);
  font-size: 13px;
}

.status-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--green);
  box-shadow: 0 0 18px rgba(18, 214, 123, 0.8);
}

.hero-visual {
  position: absolute;
  inset: 0;
}

.signal-grid {
  position: absolute;
  inset: 0;
  opacity: 0.28;
  background-image:
    linear-gradient(var(--line) 1px, transparent 1px),
    linear-gradient(90deg, var(--line) 1px, transparent 1px);
  background-size: 48px 48px;
}

.call-panel,
.route-strip {
  position: absolute;
  border: 2px solid var(--line);
  border-radius: var(--radius);
  background: rgba(26, 31, 58, 0.9);
  box-shadow: 0 24px 80px rgba(0, 0, 0, 0.32);
}

.call-panel {
  width: min(360px, 82vw);
  padding: 18px;
}

.panel-a {
  right: clamp(18px, 7vw, 110px);
  top: 150px;
}

.panel-b {
  right: clamp(42px, 12vw, 220px);
  bottom: 150px;
  border-color: rgba(0, 217, 255, 0.65);
}

.panel-kicker {
  display: block;
  color: var(--green);
  text-transform: uppercase;
  font-size: 12px;
  font-weight: 700;
  margin-bottom: 8px;
}

.call-panel strong {
  display: block;
  font-family: "Space Grotesk", system-ui, sans-serif;
  font-size: 30px;
}

.call-panel p {
  margin: 4px 0 0;
  color: var(--muted);
}

.accept-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  margin-top: 18px;
}

.accept-row span {
  display: grid;
  min-height: 40px;
  place-items: center;
  border-radius: var(--radius);
  border: 2px solid var(--line);
  color: var(--muted);
}

.accept-row span:last-child {
  border-color: var(--green);
  color: var(--black);
  background: var(--green);
  font-weight: 700;
}

.route-strip {
  left: clamp(18px, 6vw, 88px);
  bottom: 38px;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 16px;
  color: var(--muted);
  font-size: 13px;
}

.route-strip i {
  width: 42px;
  height: 2px;
  background: var(--cyan);
}

.section {
  padding: 86px clamp(18px, 6vw, 88px);
  border-bottom: 2px solid var(--line);
}

.section-head {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  align-items: end;
  margin-bottom: 28px;
}

.section-head h2 {
  max-width: 760px;
}

.product-grid,
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.product-card,
.price-card,
.signup-form,
.support-box,
.feature-list div {
  border: 2px solid var(--line);
  border-radius: var(--radius);
  background: var(--panel);
}

.product-card {
  padding: 22px;
}

.product-card.featured {
  border-color: var(--cyan);
  background: var(--panel-2);
}

.product-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 18px;
}

.product-code {
  color: var(--cyan);
  font-size: 12px;
  font-weight: 700;
}

.product-card p,
.product-card li {
  color: var(--muted);
}

.product-card ul {
  padding-left: 18px;
  margin: 18px 0 0;
}

.split-section {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: 34px;
}

.feature-list {
  display: grid;
  gap: 12px;
}

.feature-list div {
  padding: 16px;
}

.feature-list span {
  color: var(--cyan);
  font-weight: 700;
}

.feature-list strong {
  display: block;
  margin-top: 8px;
}

.feature-list p {
  margin: 4px 0 0;
  color: var(--muted);
}

.pricing-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.price-card {
  min-height: 150px;
  padding: 18px;
  text-align: left;
  color: var(--text);
  cursor: pointer;
  font-family: "IBM Plex Mono", ui-monospace, monospace;
}

.price-card.active {
  border-color: var(--cyan);
  background: var(--cyan-soft);
}

.price-card span,
.price-card small {
  display: block;
  color: var(--muted);
}

.price-card strong {
  display: block;
  margin: 12px 0 4px;
  font-family: "Space Grotesk", system-ui, sans-serif;
  font-size: 42px;
}

.signup-section {
  display: grid;
  grid-template-columns: minmax(260px, 0.72fr) minmax(320px, 1.28fr);
  gap: 30px;
  align-items: start;
}

.signup-copy h1 {
  font-size: 52px;
  line-height: 1;
}

.support-box {
  margin-top: 24px;
  padding: 16px;
}

.support-box strong,
.support-box a {
  display: block;
}

.signup-form {
  padding: 20px;
}

.form-banner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 14px;
  border: 2px solid var(--cyan);
  border-radius: var(--radius);
  background: var(--cyan-soft);
  margin-bottom: 18px;
}

.form-banner span {
  color: var(--muted);
  text-transform: uppercase;
  font-size: 12px;
}

fieldset {
  min-width: 0;
  border: 0;
  padding: 0;
  margin: 0 0 18px;
}

legend {
  margin: 0 0 10px;
  color: var(--green);
  font-weight: 700;
  text-transform: uppercase;
  font-size: 12px;
}

.segmented {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  border: 2px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
}

.segmented button {
  min-height: 44px;
  border: 0;
  border-right: 2px solid var(--line);
  color: var(--muted);
  background: var(--panel-2);
  font-family: "IBM Plex Mono", ui-monospace, monospace;
  cursor: pointer;
}

.segmented button:last-child {
  border-right: 0;
}

.segmented button.active {
  color: var(--black);
  background: var(--cyan);
  font-weight: 700;
}

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

label {
  display: grid;
  gap: 7px;
  color: var(--muted);
  font-size: 13px;
  text-transform: uppercase;
  font-weight: 700;
}

input,
select {
  width: 100%;
  min-height: 46px;
  border: 2px solid var(--line);
  border-radius: var(--radius);
  background: #080d24;
  color: var(--text);
  padding: 10px 12px;
  font: inherit;
  text-transform: none;
}

input:focus,
select:focus {
  outline: 0;
  border-color: var(--cyan);
  box-shadow: 0 0 0 3px rgba(0, 217, 255, 0.16);
}

.field-note {
  margin: 8px 0 0;
  color: var(--muted-2);
  font-size: 12px;
}

.hidden {
  display: none;
}

.submit-button {
  width: 100%;
}

.signup-result {
  margin-top: 16px;
}

.signup-result:empty {
  display: none;
}

.result-box {
  border: 2px solid var(--line);
  border-radius: var(--radius);
  padding: 14px;
  background: var(--panel-2);
}

.result-box.success {
  border-color: var(--green);
}

.result-box.error {
  border-color: var(--red);
}

.result-box strong {
  display: block;
  margin-bottom: 8px;
}

.result-box p {
  margin: 6px 0;
  color: var(--muted);
}

.result-box ul {
  margin: 10px 0 0;
  padding-left: 18px;
  color: var(--muted);
}

footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 30px clamp(18px, 6vw, 88px);
  color: var(--muted);
}

footer p {
  margin: 0;
}

@media (max-width: 980px) {
  .product-grid,
  .pricing-grid,
  .split-section,
  .signup-section {
    grid-template-columns: 1fr;
  }

  .panel-a,
  .panel-b {
    opacity: 0.22;
  }
}

@media (max-width: 720px) {
  .site-header {
    align-items: flex-start;
    flex-direction: column;
  }

  nav {
    width: 100%;
    overflow-x: auto;
    padding-bottom: 2px;
  }

  .hero {
    min-height: 700px;
    padding-top: 64px;
  }

  h1 {
    font-size: 44px;
  }

  .signup-copy h1 {
    font-size: 36px;
  }

  h2 {
    font-size: 32px;
  }

  .section {
    padding-top: 62px;
    padding-bottom: 62px;
  }

  .section-head {
    display: block;
  }

  .form-grid,
  .segmented {
    grid-template-columns: 1fr;
  }

  .segmented button {
    border-right: 0;
    border-bottom: 2px solid var(--line);
  }

  .segmented button:last-child {
    border-bottom: 0;
  }

  .form-banner,
  footer {
    align-items: flex-start;
    flex-direction: column;
  }
}
