:root {
  --bg: #0a1523;
  --bg-alt: #10243a;
  --surface: rgba(11, 28, 43, 0.82);
  --surface-strong: rgba(12, 34, 52, 0.94);
  --line: rgba(118, 171, 188, 0.22);
  --teal: #3dd4c4;
  --teal-soft: rgba(61, 212, 196, 0.12);
  --gold: #f1b14c;
  --ink: #eef5f8;
  --ink-soft: #b6c8d1;
  --ink-muted: #88a0ab;
  --shadow: 0 24px 50px rgba(0, 0, 0, 0.28);
  --radius: 24px;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "IBM Plex Sans", sans-serif;
  color: var(--ink);
  background:
    radial-gradient(circle at 12% 10%, rgba(61, 212, 196, 0.18), transparent 18rem),
    radial-gradient(circle at 82% 14%, rgba(241, 177, 76, 0.16), transparent 22rem),
    linear-gradient(180deg, #091521, #10263c 38%, #0c1825 100%);
  line-height: 1.6;
}

a {
  color: var(--teal);
}

.shell {
  max-width: 1180px;
  margin: 0 auto;
}

.hero,
.section,
.footer {
  padding: 1.35rem 1.25rem 4rem;
}

.topbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  padding-bottom: 2.2rem;
}

.brand,
.toplinks a {
  text-decoration: none;
}

.brand {
  font-family: "Space Grotesk", sans-serif;
  font-weight: 700;
  color: var(--ink);
}

.toplinks {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
}

.toplinks a {
  color: var(--ink-soft);
  font-weight: 600;
}

.hero-grid,
.card-grid {
  display: grid;
  gap: 1rem;
}

.hero-grid {
  grid-template-columns: 1.3fr 0.92fr;
  align-items: stretch;
}

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

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

.hero-copy,
.hero-panel,
.info-card,
.doc-card,
.ops-card,
.growth-card,
.diagram-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  backdrop-filter: blur(8px);
}

.hero-copy {
  padding: 2rem;
}

.hero-panel,
.info-card,
.doc-card,
.ops-card,
.growth-card,
.diagram-card {
  padding: 1.35rem;
}

.eyebrow {
  margin: 0 0 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  font-size: 0.72rem;
  font-weight: 700;
  color: var(--teal);
}

h1,
h2,
h3,
.diag-title {
  font-family: "Space Grotesk", sans-serif;
  line-height: 1.05;
  margin: 0;
}

h1 {
  font-size: clamp(2.5rem, 5vw, 4.7rem);
  max-width: 12ch;
}

h2 {
  font-size: clamp(1.85rem, 3vw, 2.9rem);
  max-width: 15ch;
}

h3 {
  font-size: 1.14rem;
  margin-bottom: 0.55rem;
}

.hero-text,
.panel-note,
.section-copy,
.info-card p,
.doc-card p,
.growth-card p,
.ops-card li,
.proof-card span {
  color: var(--ink-soft);
}

.hero-text {
  margin: 1rem 0 1.4rem;
  max-width: 56ch;
  font-size: 1.05rem;
}

.badge-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.7rem;
  margin-bottom: 1.35rem;
}

.badge-row span {
  border: 1px solid rgba(61, 212, 196, 0.28);
  background: var(--teal-soft);
  color: var(--ink);
  border-radius: 999px;
  padding: 0.45rem 0.8rem;
  font-size: 0.92rem;
  font-weight: 600;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.95rem 1.25rem;
  border-radius: 999px;
  text-decoration: none;
  font-weight: 700;
}

.btn-primary {
  background: var(--gold);
  color: #1d2431;
}

.btn-secondary {
  border: 1px solid rgba(238, 245, 248, 0.18);
  color: var(--ink);
}

.panel-label {
  margin: 0 0 0.85rem;
  color: var(--gold);
  font-weight: 700;
}

.proof-list {
  display: grid;
  gap: 0.8rem;
}

.proof-card {
  display: grid;
  gap: 0.2rem;
  padding: 0.95rem 1rem;
  border: 1px solid rgba(118, 171, 188, 0.18);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.02);
}

.proof-card strong {
  color: var(--ink);
  font-size: 0.96rem;
}

.section-head {
  margin-bottom: 1.65rem;
}

.section-copy {
  max-width: 64ch;
  margin-top: 0.6rem;
}

.section-alt {
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0), rgba(16, 36, 58, 0.54)),
    transparent;
}

.icon-badge {
  width: 3rem;
  height: 3rem;
  display: inline-grid;
  place-items: center;
  border-radius: 18px;
  background: rgba(61, 212, 196, 0.12);
  border: 1px solid rgba(61, 212, 196, 0.22);
  margin-bottom: 0.95rem;
}

.icon-badge svg {
  width: 1.45rem;
  height: 1.45rem;
  stroke: var(--teal);
  fill: none;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

code {
  display: inline-block;
  margin-top: 0.35rem;
  padding: 0.25rem 0.5rem;
  border-radius: 999px;
  background: rgba(61, 212, 196, 0.08);
  color: #b5f1ea;
  font-family: "IBM Plex Sans", sans-serif;
  font-size: 0.86rem;
}

.diagram-card {
  padding: 1.2rem;
}

.architecture-diagram {
  width: 100%;
  height: auto;
}

.diag-box {
  stroke-width: 1.5;
}

.diag-a {
  fill: rgba(241, 177, 76, 0.1);
  stroke: rgba(241, 177, 76, 0.6);
}

.diag-b {
  fill: rgba(61, 212, 196, 0.1);
  stroke: rgba(61, 212, 196, 0.62);
}

.diag-c {
  fill: rgba(238, 245, 248, 0.05);
  stroke: rgba(182, 200, 209, 0.42);
}

.diag-title {
  font-size: 22px;
  fill: var(--ink);
  text-anchor: middle;
}

.diag-copy {
  font-size: 15px;
  fill: var(--ink-soft);
  text-anchor: middle;
}

.diag-line {
  stroke: var(--teal);
  stroke-width: 2.5;
  fill: none;
  marker-end: url(#arrow);
}

.diag-line-soft {
  stroke-dasharray: 8 8;
  opacity: 0.6;
}

.table-wrap {
  overflow-x: auto;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.status-table {
  width: 100%;
  border-collapse: collapse;
  min-width: 720px;
  background: var(--surface);
}

.status-table th,
.status-table td {
  padding: 1rem 1.1rem;
  text-align: left;
  border-bottom: 1px solid rgba(118, 171, 188, 0.14);
}

.status-table th {
  color: var(--ink);
  background: rgba(255, 255, 255, 0.03);
  font-family: "Space Grotesk", sans-serif;
}

.status-table td {
  color: var(--ink-soft);
}

.status {
  display: inline-flex;
  align-items: center;
  padding: 0.3rem 0.65rem;
  border-radius: 999px;
  font-size: 0.84rem;
  font-weight: 700;
}

.status-live {
  background: rgba(50, 166, 121, 0.18);
  color: #a8ebce;
}

.status-docs {
  background: rgba(61, 212, 196, 0.16);
  color: #b3f2ec;
}

.status-future {
  background: rgba(241, 177, 76, 0.18);
  color: #ffe2a5;
}

.ops-card ul {
  margin: 0;
  padding-left: 1.1rem;
}

.footer {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
  color: var(--ink-soft);
}

@media (max-width: 980px) {
  .hero-grid,
  .card-grid-4,
  .card-grid-3 {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 720px) {
  .topbar,
  .hero-actions,
  .footer {
    flex-direction: column;
    align-items: flex-start;
  }

  .hero-grid,
  .card-grid-4,
  .card-grid-3 {
    grid-template-columns: 1fr;
  }

  .hero-copy,
  .hero-panel,
  .info-card,
  .doc-card,
  .ops-card,
  .growth-card,
  .diagram-card {
    padding: 1.15rem;
  }
}
