:root {
  --cds-background: #080d16;
  --cds-layer-01: #111827;
  --cds-layer-02: #172033;
  --cds-layer-03: #202c44;
  --cds-text-primary: #f8fafc;
  --cds-text-secondary: #cbd5e1;
  --cds-text-muted: #94a3b8;
  --cds-border-subtle: #334155;
  --cds-border-strong: #64748b;
  --cds-blue-60: #0f62fe;
  --cds-blue-40: #78a9ff;
  --cds-blue-70: #0043ce;
  --cds-field: #0f172a;
  --cds-success: #24a148;
  --cds-warning: #f1c21b;
  --max-width: 1480px;
  --grid-gap: 1px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background:
    radial-gradient(circle at 82% 8%, rgba(15, 98, 254, 0.24), transparent 34rem),
    radial-gradient(circle at 10% 18%, rgba(120, 169, 255, 0.12), transparent 28rem),
    var(--cds-background);
  color: var(--cds-text-primary);
  font-family: "IBM Plex Sans", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.5;
}

body::before {
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  content: "";
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.035) 1px, transparent 1px);
  background-size: 48px 48px;
  mask-image: linear-gradient(to bottom, rgba(0,0,0,0.9), rgba(0,0,0,0.25));
}

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

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 64px;
  padding: 0 32px;
  background: rgba(8, 13, 22, 0.86);
  border-bottom: 1px solid rgba(148, 163, 184, 0.24);
  backdrop-filter: blur(18px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-width: 260px;
}

.brand-mark {
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  color: #fff;
  font-family: "IBM Plex Mono", monospace;
  font-weight: 600;
  letter-spacing: -0.08em;
  background: linear-gradient(135deg, var(--cds-blue-60), #0b1f47);
  border: 1px solid var(--cds-blue-40);
}

.brand strong,
.brand small {
  display: block;
}

.brand strong {
  font-size: 16px;
  font-weight: 600;
  line-height: 1.1;
}

.brand small {
  color: var(--cds-text-muted);
  font-size: 12px;
  letter-spacing: 0.16px;
  text-transform: uppercase;
}

.nav {
  display: flex;
  align-items: center;
  gap: 1px;
}

.nav a {
  padding: 22px 16px 20px;
  color: var(--cds-text-secondary);
  font-size: 14px;
  letter-spacing: 0.16px;
  border-bottom: 2px solid transparent;
}

.nav a:hover,
.nav a:focus-visible {
  color: #fff;
  background: rgba(255, 255, 255, 0.06);
  border-bottom-color: var(--cds-blue-40);
  outline: none;
}

main,
.site-footer {
  width: min(calc(100% - 64px), var(--max-width));
  margin: 0 auto;
}

.section,
.section-grid {
  margin-top: 1px;
  background: rgba(17, 24, 39, 0.86);
  border: 1px solid rgba(148, 163, 184, 0.18);
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(360px, 0.95fr);
  gap: 1px;
  min-height: 690px;
  margin-top: 32px;
  overflow: hidden;
}

.hero-copy,
.hero-panel,
.section,
.contact-copy,
.contact-form {
  padding: 56px;
}

.eyebrow {
  margin: 0 0 16px;
  color: var(--cds-blue-40);
  font-family: "IBM Plex Mono", ui-monospace, monospace;
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

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

h1 {
  max-width: 920px;
  margin-bottom: 24px;
  font-size: clamp(44px, 6.4vw, 88px);
  font-weight: 300;
  line-height: 0.98;
  letter-spacing: -0.05em;
}

h2 {
  max-width: 900px;
  margin-bottom: 18px;
  font-size: clamp(34px, 4.2vw, 60px);
  font-weight: 300;
  line-height: 1.02;
  letter-spacing: -0.04em;
}

h3 {
  margin-bottom: 12px;
  font-size: 22px;
  font-weight: 500;
  line-height: 1.25;
}

.hero-lede,
.section-heading p,
.contact-copy p,
.roadmap-section > p + h2 + .timeline p {
  max-width: 720px;
  color: var(--cds-text-secondary);
  font-size: 19px;
}

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

.button {
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  min-height: 48px;
  min-width: 190px;
  padding: 14px 16px;
  font-size: 15px;
  font-weight: 500;
  border: 1px solid transparent;
  border-radius: 0;
}

.button::after {
  margin-left: 48px;
  content: "→";
}

.button.primary {
  color: #fff;
  background: var(--cds-blue-60);
}

.button.primary:hover,
.button.primary:focus-visible {
  background: var(--cds-blue-70);
  outline: 2px solid var(--cds-blue-40);
  outline-offset: 2px;
}

.button.secondary {
  color: var(--cds-text-primary);
  background: rgba(255, 255, 255, 0.06);
  border-color: var(--cds-border-subtle);
}

.button.secondary:hover,
.button.secondary:focus-visible {
  background: rgba(255, 255, 255, 0.12);
  border-color: var(--cds-blue-40);
  outline: none;
}

.hero-panel {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  min-height: 560px;
  background:
    linear-gradient(135deg, rgba(15, 98, 254, 0.18), transparent 38%),
    linear-gradient(180deg, rgba(17, 24, 39, 0.3), #0b1020),
    var(--cds-layer-01);
  overflow: hidden;
}

.hero-panel::before {
  position: absolute;
  inset: 48px 48px 220px;
  content: "";
  border: 1px solid rgba(120, 169, 255, 0.3);
  background:
    linear-gradient(90deg, rgba(120, 169, 255, 0.2), transparent 1px),
    linear-gradient(rgba(120, 169, 255, 0.16), transparent 1px);
  background-size: 32px 32px;
}

.hero-panel::after {
  position: absolute;
  top: 128px;
  right: 104px;
  width: 190px;
  height: 190px;
  content: "";
  border: 1px solid rgba(120, 169, 255, 0.42);
  background: radial-gradient(circle, rgba(120, 169, 255, 0.34) 0 2px, transparent 3px), conic-gradient(from 120deg, transparent, rgba(15, 98, 254, 0.38), transparent 58%);
  clip-path: polygon(50% 0, 100% 35%, 82% 100%, 18% 100%, 0 35%);
}

.panel-topline,
.matrix,
.signal-card,
.panel-naics {
  position: relative;
  z-index: 1;
}

.panel-naics {
  margin-top: auto;
  margin-bottom: 1px;
  padding: 20px 24px;
  background: rgba(15, 23, 42, 0.72);
  border: 1px solid rgba(120, 169, 255, 0.18);
  border-left: 3px solid rgba(120, 169, 255, 0.4);
}

.panel-naics-label {
  display: block;
  margin-bottom: 14px;
  color: var(--cds-blue-40);
  font-family: "IBM Plex Mono", monospace;
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.panel-naics div {
  display: flex;
  gap: 16px;
  align-items: baseline;
  padding: 5px 0;
}

.panel-naics div + div {
  border-top: 1px solid rgba(148, 163, 184, 0.1);
}

.panel-naics strong {
  flex-shrink: 0;
  color: var(--cds-text-primary);
  font-family: "IBM Plex Mono", monospace;
  font-size: 13px;
  font-weight: 500;
}

.panel-naics span {
  color: var(--cds-text-muted);
  font-size: 13px;
}

.panel-topline {
  position: absolute;
  top: 24px;
  right: 24px;
  left: 24px;
  display: flex;
  justify-content: space-between;
  color: var(--cds-text-muted);
  font-family: "IBM Plex Mono", monospace;
  font-size: 13px;
}

.status-dot {
  color: #b7f7c9;
}

.status-dot::before {
  display: inline-block;
  width: 8px;
  height: 8px;
  margin-right: 8px;
  background: var(--cds-success);
  content: "";
}

.matrix {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1px;
  margin-top: auto;
  border: 1px solid rgba(148, 163, 184, 0.2);
}

.matrix div,
.signal-card {
  padding: 24px;
  background: rgba(15, 23, 42, 0.88);
}

.matrix strong,
.matrix span,
.signal-card span,
.signal-card strong {
  display: block;
}

.matrix strong,
.signal-card span {
  color: var(--cds-blue-40);
  font-family: "IBM Plex Mono", monospace;
  font-size: 13px;
}

.matrix span,
.signal-card strong {
  margin-top: 12px;
  font-size: 18px;
  font-weight: 500;
}

.matrix small {
  display: block;
  margin-top: 8px;
  color: var(--cds-text-muted);
  font-size: 13px;
  font-weight: 400;
  line-height: 1.4;
}

.signal-card {
  margin-top: 1px;
  border-left: 4px solid var(--cds-blue-60);
}

.trust-band {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  margin-top: 1px;
  border: 1px solid rgba(148, 163, 184, 0.18);
  background: rgba(148, 163, 184, 0.18);
}

.trust-band div {
  padding: 22px 24px;
  color: var(--cds-text-secondary);
  background: rgba(15, 23, 42, 0.92);
  font-size: 15px;
}

.trust-band span,
.card-index,
.portfolio-card span,
.timeline span {
  display: block;
  margin-bottom: 12px;
  color: var(--cds-blue-40);
  font-family: "IBM Plex Mono", monospace;
  font-size: 12px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.section-heading {
  display: grid;
  grid-template-columns: minmax(260px, 0.9fr) minmax(320px, 1fr);
  column-gap: 64px;
  align-items: start;
  margin-bottom: 48px;
}

.section-heading .eyebrow {
  grid-column: 1 / -1;
}

.section-heading.compact {
  display: block;
  max-width: 850px;
}

.card-grid,
.portfolio-grid,
.timeline {
  display: grid;
  gap: 1px;
  background: rgba(148, 163, 184, 0.2);
  border: 1px solid rgba(148, 163, 184, 0.2);
}

.card-grid.three {
  grid-template-columns: repeat(3, 1fr);
}

.capability-card,
.portfolio-card,
.timeline div,
.sector-list article {
  min-height: 240px;
  padding: 28px;
  background: rgba(15, 23, 42, 0.92);
}

.capability-card p,
.portfolio-card p,
.sector-list p,
.timeline p,
.site-footer p {
  color: var(--cds-text-secondary);
}

.capability-card.future {
  background: linear-gradient(135deg, rgba(15, 98, 254, 0.24), rgba(15, 23, 42, 0.92));
}

.split-section {
  display: grid;
  grid-template-columns: minmax(300px, 0.8fr) minmax(420px, 1.2fr);
  gap: 64px;
}

.sector-list {
  display: grid;
  gap: 1px;
  background: rgba(148, 163, 184, 0.2);
}

.sector-list article {
  min-height: auto;
}

.portfolio-grid {
  grid-template-columns: repeat(3, 1fr);
}

.portfolio-card {
  position: relative;
  transition: background 160ms ease, transform 160ms ease;
}

.portfolio-card::after {
  position: absolute;
  right: 28px;
  bottom: 24px;
  color: var(--cds-blue-40);
  font-size: 28px;
  content: "→";
}

.portfolio-card:hover,
.portfolio-card:focus-visible {
  background: rgba(32, 44, 68, 0.96);
  outline: 2px solid var(--cds-blue-40);
  outline-offset: -2px;
}

.roadmap-section {
  background:
    linear-gradient(135deg, rgba(15, 98, 254, 0.18), transparent 34%),
    rgba(17, 24, 39, 0.9);
}

.product-section {
  background:
    linear-gradient(160deg, rgba(15, 98, 254, 0.14), transparent 42%),
    rgba(17, 24, 39, 0.9);
}

.product-grid {
  display: grid;
  grid-template-columns: minmax(420px, 1.25fr) minmax(300px, 0.75fr);
  gap: 48px;
  align-items: start;
}

.feature-list {
  display: grid;
  gap: 1px;
  margin: 0;
  padding: 0;
  list-style: none;
  background: rgba(148, 163, 184, 0.2);
  border: 1px solid rgba(148, 163, 184, 0.2);
}

.feature-list li {
  padding: 22px 24px;
  color: var(--cds-text-secondary);
  background: rgba(15, 23, 42, 0.92);
  font-size: 15px;
  line-height: 1.55;
}

.feature-list strong {
  display: block;
  margin-bottom: 6px;
  color: var(--cds-text-primary);
  font-size: 17px;
  font-weight: 500;
}

.product-stats {
  position: sticky;
  top: 96px;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1px;
  background: rgba(148, 163, 184, 0.2);
  border: 1px solid rgba(148, 163, 184, 0.2);
}

.product-stats div {
  padding: 26px 22px;
  background: rgba(15, 23, 42, 0.92);
}

.product-stats strong {
  display: block;
  color: var(--cds-blue-40);
  font-family: "IBM Plex Mono", monospace;
  font-size: 34px;
  font-weight: 500;
  letter-spacing: -0.02em;
}

.product-stats span {
  display: block;
  margin-top: 8px;
  color: var(--cds-text-muted);
  font-size: 13px;
  letter-spacing: 0.02em;
}

.form-notice {
  grid-column: 1 / -1;
  padding: 14px 16px;
  font-size: 14px;
  border-left: 4px solid transparent;
}

.form-notice--success {
  color: #b7f7c9;
  background: rgba(36, 161, 72, 0.12);
  border-left-color: var(--cds-success);
}

.form-notice--error {
  color: #ffc2c2;
  background: rgba(218, 30, 40, 0.12);
  border-left-color: #da1e28;
}

.footer-meta {
  margin-bottom: 0;
  color: var(--cds-text-muted);
  font-size: 13px;
}

.form-note {
  grid-column: 1 / -1;
  margin: 0;
  color: var(--cds-text-muted);
  font-size: 13px;
}

.timeline {
  grid-template-columns: repeat(4, 1fr);
  margin-top: 40px;
}

.timeline div {
  min-height: 280px;
}

.contact-section {
  display: grid;
  grid-template-columns: minmax(320px, 0.85fr) minmax(440px, 1.15fr);
  padding: 0;
}

.contact-copy {
  border-right: 1px solid rgba(148, 163, 184, 0.18);
}

.contact-methods {
  display: grid;
  gap: 8px;
  margin-top: 32px;
  padding: 24px;
  background: rgba(15, 23, 42, 0.92);
  border-left: 4px solid var(--cds-blue-60);
}

.contact-methods a {
  color: var(--cds-blue-40);
  font-family: "IBM Plex Mono", monospace;
}

.contact-methods span {
  color: var(--cds-text-muted);
  font-size: 14px;
}

.contact-form {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
  background: rgba(15, 23, 42, 0.62);
}

.contact-form label {
  display: grid;
  gap: 8px;
  color: var(--cds-text-secondary);
  font-size: 12px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.contact-form .full,
.contact-form button {
  grid-column: 1 / -1;
}

input,
select,
textarea {
  width: 100%;
  min-height: 48px;
  padding: 12px 14px;
  color: var(--cds-text-primary);
  background: var(--cds-field);
  border: 0;
  border-bottom: 2px solid var(--cds-border-strong);
  border-radius: 0;
  font: inherit;
}

textarea {
  resize: vertical;
}

input:focus,
select:focus,
textarea:focus {
  border-bottom-color: var(--cds-blue-40);
  outline: 2px solid rgba(120, 169, 255, 0.42);
  outline-offset: 0;
}

.site-footer {
  display: flex;
  justify-content: space-between;
  gap: 32px;
  margin-top: 1px;
  margin-bottom: 32px;
  padding: 32px;
  background: #030712;
  border: 1px solid rgba(148, 163, 184, 0.18);
}

.footer-links {
  display: flex;
  gap: 24px;
  color: var(--cds-text-secondary);
}

.footer-links a:hover {
  color: var(--cds-blue-40);
}

@media (max-width: 1056px) {
  .site-header {
    position: static;
    align-items: flex-start;
    flex-direction: column;
    padding: 18px 24px 0;
  }

  .nav {
    width: 100%;
    overflow-x: auto;
  }

  main,
  .site-footer {
    width: min(calc(100% - 32px), var(--max-width));
  }

  .hero,
  .split-section,
  .contact-section,
  .section-heading,
  .product-grid {
    grid-template-columns: 1fr;
  }

  .product-stats {
    position: static;
  }

  .card-grid.three,
  .portfolio-grid,
  .timeline,
  .trust-band {
    grid-template-columns: repeat(2, 1fr);
  }

  .contact-copy {
    border-right: 0;
    border-bottom: 1px solid rgba(148, 163, 184, 0.18);
  }
}

@media (max-width: 680px) {
  .hero-copy,
  .hero-panel,
  .section,
  .contact-copy,
  .contact-form {
    padding: 32px 24px;
  }

  .card-grid.three,
  .portfolio-grid,
  .timeline,
  .trust-band,
  .matrix,
  .contact-form,
  .product-stats {
    grid-template-columns: 1fr;
  }

  .hero {
    min-height: auto;
  }

  .hero-panel::before,
  .hero-panel::after {
    opacity: 0.35;
  }

  .site-footer {
    flex-direction: column;
  }
}
