:root {
  --bg-0: #071026;
  --bg-1: #0d1f4a;
  --bg-2: #1b47df;
  --ink-0: #f6f8ff;
  --ink-1: #c9d6ff;
  --ink-2: #8ea7ff;
  --line: rgba(255, 255, 255, 0.14);
  --panel: rgba(7, 17, 45, 0.72);
  --panel-strong: rgba(8, 18, 52, 0.88);
  --glow: rgba(72, 121, 255, 0.55);
  --shadow: 0 24px 80px rgba(0, 0, 0, 0.35);
  --radius-lg: 32px;
  --radius-md: 22px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  color: var(--ink-0);
  font-family: "Space Grotesk", "Trebuchet MS", sans-serif;
  background:
    radial-gradient(circle at top left, rgba(112, 145, 255, 0.22), transparent 30%),
    radial-gradient(circle at 80% 20%, rgba(99, 148, 255, 0.32), transparent 24%),
    radial-gradient(circle at bottom center, rgba(41, 82, 255, 0.4), transparent 34%),
    linear-gradient(145deg, var(--bg-0), var(--bg-1) 40%, var(--bg-2));
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  background-image:
    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: 96px 96px;
  mask-image: radial-gradient(circle at center, black 40%, transparent 88%);
  opacity: 0.18;
}

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

.hero {
  position: relative;
  padding: 20px 0 24px;
}

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

.brand-lockup {
  display: inline-flex;
  align-items: center;
  gap: 14px;
}

.brand-name,
.topbar-copy,
.eyebrow,
.panel-label,
.card-title,
.card-badge,
.metric-label,
.flow-index {
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.brand-name {
  font-size: 1rem;
  font-weight: 700;
}

.topbar-copy,
.eyebrow,
.panel-label,
.card-title,
.card-badge,
.metric-label {
  color: var(--ink-2);
  font-family: "IBM Plex Mono", monospace;
  font-size: 0.79rem;
}

.brand-mark {
  display: block;
  width: 78px;
  height: auto;
  filter: drop-shadow(0 0 20px rgba(134, 171, 255, 0.16));
}

.hero-copy {
  max-width: 760px;
}

.hero h1,
.section-heading h2,
.panel h2 {
  margin: 0;
  line-height: 0.95;
}

.hero h1 {
  font-size: clamp(4.5rem, 12vw, 8rem);
  font-weight: 700;
}

.hero-text {
  max-width: 740px;
  margin: 24px 0 0;
  color: var(--ink-1);
  font-size: clamp(1.18rem, 2vw, 1.55rem);
  line-height: 1.5;
}

.inline-link {
  color: var(--ink-0);
  text-decoration: none;
  border-bottom: 1px solid rgba(255, 255, 255, 0.28);
}

.inline-link:hover {
  border-bottom-color: rgba(255, 255, 255, 0.72);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 28px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 144px;
  padding: 14px 18px;
  border-radius: 999px;
  border: 1px solid var(--line);
  color: var(--ink-0);
  text-decoration: none;
  font-weight: 500;
  transition:
    transform 160ms ease,
    border-color 160ms ease,
    background-color 160ms ease;
}

.button:hover {
  transform: translateY(-1px);
  border-color: rgba(255, 255, 255, 0.3);
}

.button-primary {
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.18), rgba(255, 255, 255, 0.08));
  box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.06), 0 18px 42px rgba(10, 26, 69, 0.3);
}

.button-secondary {
  background: rgba(8, 18, 52, 0.42);
}

.install-card,
.panel,
.statement,
.flow-step,
.strip {
  border: 1px solid var(--line);
  background: linear-gradient(180deg, rgba(10, 24, 67, 0.88), rgba(7, 17, 45, 0.74));
  box-shadow: var(--shadow);
  backdrop-filter: blur(18px);
}

.install-card {
  margin-top: 52px;
  padding: 24px;
  border-radius: var(--radius-lg);
  max-width: 860px;
}

.card-header {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.card-badge {
  padding: 7px 10px;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--ink-1);
}

pre {
  overflow-x: auto;
  margin: 18px 0 0;
  padding: 22px 24px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 20px;
  background: rgba(4, 11, 31, 0.9);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.04);
}

code,
pre {
  font-family: "IBM Plex Mono", monospace;
  font-size: 0.98rem;
}

.card-note,
.panel p,
.flow-step p,
.statement p,
.section-copy {
  margin: 16px 0 0;
  color: var(--ink-1);
  line-height: 1.7;
}

main {
  display: grid;
  gap: 24px;
  margin-top: 28px;
}

.benchmark-section {
  padding: 6px 0 2px;
}

.benchmark-shell {
  position: relative;
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background:
    linear-gradient(180deg, rgba(10, 24, 67, 0.88), rgba(7, 17, 45, 0.78)),
    radial-gradient(circle at top right, rgba(121, 154, 255, 0.16), transparent 30%);
  box-shadow: var(--shadow);
  overflow: hidden;
}

.benchmark-shell::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background-image: linear-gradient(90deg, rgba(255, 255, 255, 0.06) 1px, transparent 1px);
  background-size: 10% 100%;
  mask-image: linear-gradient(180deg, black 15%, transparent 100%);
  opacity: 0.42;
}

.benchmark-legend {
  position: relative;
  z-index: 1;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
  margin-bottom: 24px;
}

.legend-chip,
.legend-note,
.ratio-pill {
  font-family: "IBM Plex Mono", monospace;
  font-size: 0.79rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.legend-chip,
.ratio-pill {
  display: inline-flex;
  align-items: center;
  border-radius: 999px;
  border: 1px solid var(--line);
  padding: 7px 10px;
}

.legend-chip-poly {
  color: #dce7ff;
  background: rgba(164, 196, 255, 0.14);
  box-shadow: 0 0 24px rgba(133, 177, 255, 0.16);
}

.legend-chip-cli {
  color: #9ab3ff;
  background: rgba(76, 110, 214, 0.14);
}

.legend-note {
  color: var(--ink-2);
}

.benchmark-grid {
  position: relative;
  z-index: 1;
  display: grid;
  gap: 18px;
}

.benchmark-row {
  padding: 18px 18px 20px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 24px;
  background: rgba(5, 13, 36, 0.58);
}

.benchmark-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 14px;
  margin-bottom: 16px;
}

.benchmark-head h3 {
  margin: 6px 0 0;
  font-size: 1.2rem;
}

.ratio-pill {
  color: #e9f0ff;
  background: linear-gradient(135deg, rgba(115, 147, 255, 0.24), rgba(255, 255, 255, 0.08));
  box-shadow: 0 10px 28px rgba(24, 58, 153, 0.22);
  white-space: nowrap;
}

.bar-stack {
  display: grid;
  gap: 10px;
}

.bar-line {
  display: grid;
  grid-template-columns: 120px minmax(0, 1fr) 96px;
  gap: 14px;
  align-items: center;
}

.bar-label {
  color: var(--ink-1);
  font-family: "IBM Plex Mono", monospace;
  font-size: 0.82rem;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.bar-track {
  position: relative;
  height: 22px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.05);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.04);
  overflow: hidden;
}

.bar-fill {
  position: relative;
  width: var(--bar-width);
  height: 100%;
  border-radius: 999px;
}

.bar-fill-sliver {
  min-width: 1.5px;
}

.bar-fill-poly {
  background: linear-gradient(90deg, #dce7ff, #f7fbff);
  box-shadow: 0 0 28px rgba(173, 204, 255, 0.18);
}

.bar-fill-cli {
  background: linear-gradient(90deg, rgba(70, 103, 208, 0.76), rgba(111, 147, 255, 0.86));
}

.bar-value {
  color: var(--ink-1);
  font-family: "IBM Plex Mono", monospace;
  font-size: 0.78rem;
  white-space: nowrap;
  text-align: right;
}

.grid-section {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 24px;
}

.panel,
.statement {
  padding: 28px;
  border-radius: var(--radius-lg);
}

.panel h2,
.section-heading h2,
.statement h2 {
  font-size: clamp(2rem, 4vw, 3rem);
}

.capability-list {
  display: grid;
  gap: 14px;
  margin: 20px 0 0;
  padding: 0;
  list-style: none;
}

.capability-list li {
  position: relative;
  padding-left: 18px;
  color: var(--ink-1);
  line-height: 1.6;
}

.capability-list li::before {
  content: "";
  position: absolute;
  top: 0.72em;
  left: 0;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #a8bcff;
  box-shadow: 0 0 18px var(--glow);
}

.strip {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0;
  padding: 0;
  border-radius: var(--radius-lg);
  overflow: hidden;
}

.metric {
  padding: 26px 24px;
}

.metric + .metric {
  border-left: 1px solid var(--line);
}

.metric-value {
  display: block;
  font-size: clamp(1.6rem, 3vw, 2.5rem);
  font-weight: 700;
}

.flow-section {
  padding: 8px 0;
}

.section-heading {
  max-width: 720px;
  margin-bottom: 22px;
}

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

.flow-step {
  padding: 24px;
  border-radius: var(--radius-md);
}

.flow-index {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 54px;
  padding: 6px 10px;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--ink-1);
  font-family: "IBM Plex Mono", monospace;
  font-size: 0.8rem;
}

.flow-step h3 {
  margin: 18px 0 0;
  font-size: 1.25rem;
}

.statement {
  background:
    linear-gradient(120deg, rgba(255, 255, 255, 0.06), transparent 40%),
    linear-gradient(180deg, rgba(10, 24, 67, 0.88), rgba(7, 17, 45, 0.8));
}

@media (max-width: 980px) {
  .topbar,
  .card-header,
  .benchmark-head {
    align-items: flex-start;
    flex-direction: column;
  }

  .grid-section,
  .flow-grid,
  .strip {
    grid-template-columns: 1fr;
  }

  .metric + .metric {
    border-left: 0;
    border-top: 1px solid var(--line);
  }

  .bar-line {
    grid-template-columns: 1fr;
    gap: 8px;
  }

  .bar-value {
    text-align: left;
  }
}

@media (max-width: 720px) {
  .page-shell {
    width: min(100% - 24px, 1180px);
    padding-top: 18px;
  }

  .topbar {
    margin-bottom: 56px;
  }

  .hero h1 {
    font-size: clamp(3.4rem, 19vw, 5.3rem);
  }

  .install-card,
  .panel,
  .flow-step,
  .statement {
    padding: 20px;
    border-radius: 24px;
  }

  pre {
    padding: 18px;
  }
}
