:root {
  color-scheme: dark;
  --bg: #08111f;
  --surface: #0d1726;
  --surface-2: #111d2d;
  --border: #25364a;
  --text: #e7eef8;
  --muted: #a9b7c8;
  --soft: #7f90a5;
  --accent: #48b8e8;
  --accent-2: #69d7c7;
  --warning: #d99b32;
  --max: 1120px;
  --hero-line: rgba(69, 196, 240, .18);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background:
    radial-gradient(circle at 52% 0%, rgba(69, 196, 240, .16), transparent 34rem),
    var(--bg);
  color: var(--text);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.6;
}

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

a:hover {
  color: var(--accent-2);
}

:focus-visible {
  outline: 3px solid rgba(72, 184, 232, .55);
  outline-offset: 3px;
}

.skip-link {
  position: absolute;
  left: 1rem;
  top: -4rem;
  z-index: 10;
  border-radius: 6px;
  background: var(--accent-2);
  color: #06111e;
  font-weight: 800;
  padding: .6rem .9rem;
}

.skip-link:focus {
  top: 1rem;
}

.container {
  width: min(var(--max), calc(100% - 32px));
  margin-inline: auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 5;
  border-bottom: 1px solid var(--border);
  background: rgba(8, 17, 31, .9);
  backdrop-filter: blur(16px);
}

.nav-shell {
  min-height: 70px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.brand {
  display: inline-flex;
}

.brand img {
  width: 200px;
  height: auto;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: .15rem;
}

.site-nav a,
.nav-toggle {
  border-radius: 6px;
  color: var(--muted);
  font-size: .92rem;
  font-weight: 650;
  padding: .5rem .66rem;
  text-decoration: none;
}

.site-nav a:hover,
.site-nav a:focus,
.site-nav a.active {
  background: var(--surface-2);
  color: var(--text);
}

.nav-toggle {
  display: none;
  border: 1px solid var(--border);
  background: transparent;
}

.hero {
  border-bottom: 1px solid var(--border);
  background:
    linear-gradient(90deg, rgba(72, 184, 232, .05) 1px, transparent 1px),
    linear-gradient(180deg, rgba(12, 27, 49, .96), #07111f 78%);
  background-size: 72px 72px, auto;
  padding: 44px 0 50px;
  overflow: hidden;
}

.hero-shell {
  display: grid;
  grid-template-columns: minmax(0, .78fr) minmax(430px, 1.12fr);
  gap: 2rem;
  align-items: center;
}

.hero-copy {
  position: relative;
  z-index: 2;
}

.hero-lockup {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1.15rem;
}

.hero-lockup img {
  width: 82px;
  height: 82px;
}

.hero-lockup strong {
  display: block;
  font-size: clamp(1.9rem, 5vw, 3.2rem);
  line-height: 1;
  letter-spacing: -.05em;
}

.hero-lockup span {
  display: block;
  color: var(--muted);
  font-size: .82rem;
  font-weight: 750;
  letter-spacing: .09em;
  margin-top: .35rem;
  text-transform: uppercase;
}

.eyebrow {
  display: inline-block;
  color: var(--accent-2);
  font-size: .78rem;
  font-weight: 800;
  letter-spacing: .08em;
  text-transform: uppercase;
}

h1,
h2,
h3 {
  color: var(--text);
  line-height: 1.15;
  letter-spacing: -.025em;
}

h1 {
  max-width: 820px;
  margin: .75rem 0 1rem;
  font-size: clamp(2.4rem, 5vw, 4.55rem);
}

h2 {
  margin: 0 0 .75rem;
  font-size: clamp(1.65rem, 3vw, 2.45rem);
}

h3 {
  margin: 0 0 .45rem;
  font-size: 1.08rem;
}

p {
  color: var(--muted);
  margin: 0 0 1rem;
}

.lead {
  max-width: 760px;
  color: #c8d3df;
  font-size: clamp(1.05rem, 1.6vw, 1.22rem);
}

.actions {
  display: flex;
  gap: .7rem;
  flex-wrap: wrap;
  margin-top: 1.35rem;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  border: 1px solid var(--border);
  border-radius: 8px;
  background: var(--surface);
  color: var(--text);
  font-weight: 750;
  padding: .62rem .9rem;
  text-decoration: none;
}

.button.primary {
  border-color: var(--accent);
  background: var(--accent);
  color: #04111f;
}

.hero-visual {
  position: relative;
  isolation: isolate;
}

.hero-visual::before {
  content: "";
  position: absolute;
  inset: 6% 4% 10%;
  z-index: -1;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(69, 196, 240, .22), transparent 62%);
  filter: blur(10px);
}

.hero-visual img {
  display: block;
  width: 100%;
  border: 1px solid rgba(72, 184, 232, .18);
  border-radius: 20px;
  box-shadow: 0 30px 100px rgba(0, 0, 0, .22);
}

.section {
  padding: 40px 0;
}

.section + .section {
  border-top: 1px solid var(--border);
}

.section-header {
  max-width: 760px;
  margin-bottom: 1.45rem;
}

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

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

.capability-strip {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  border: 1px solid var(--border);
  border-radius: 16px;
  overflow: hidden;
}

.capability-strip .card {
  border: 0;
  border-radius: 0;
  background: rgba(13, 23, 38, .74);
}

.capability-strip .card + .card {
  border-left: 1px solid var(--border);
}

.fit-section {
  background: linear-gradient(180deg, rgba(13, 23, 38, .45), transparent);
}

.fit-grid {
  display: grid;
  grid-template-columns: minmax(0, .9fr) minmax(360px, 1fr);
  gap: 2rem;
  align-items: center;
}

.flow-diagram {
  display: grid;
  grid-template-columns: 1fr 34px 1fr 34px 1fr;
  gap: .7rem;
  align-items: center;
}

.flow-diagram div {
  border: 1px solid rgba(69, 196, 240, .28);
  border-radius: 12px;
  background: #0b1628;
  color: var(--text);
  font-weight: 750;
  padding: .85rem;
  text-align: center;
}

.flow-diagram span {
  height: 2px;
  background: linear-gradient(90deg, var(--accent-2), var(--accent));
}

.cta-panel {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 1.5rem;
  align-items: center;
  border: 1px solid var(--border);
  border-radius: 18px;
  background: linear-gradient(135deg, rgba(13, 23, 38, .94), rgba(11, 22, 40, .68));
  padding: 1.35rem;
}

.card,
.doc-card,
.callout,
.content-panel,
.side-nav,
.code-block {
  border: 1px solid var(--border);
  border-radius: 10px;
  background: var(--surface);
}

.card,
.doc-card {
  padding: 1.1rem;
}

.doc-card {
  color: inherit;
  text-decoration: none;
}

.card ul,
.doc-card ul,
.content-panel ul {
  color: var(--muted);
  padding-left: 1.1rem;
}

.badge-list {
  display: flex;
  flex-wrap: wrap;
  gap: .45rem;
  margin-top: 1rem;
}

.badge {
  border: 1px solid var(--border);
  border-radius: 999px;
  color: var(--muted);
  font-size: .82rem;
  font-weight: 650;
  padding: .28rem .55rem;
}

.page-hero {
  border-bottom: 1px solid var(--border);
  background: #0a1423;
  padding: 42px 0 30px;
}

.page-grid {
  display: grid;
  grid-template-columns: 240px minmax(0, 1fr);
  gap: 1.5rem;
  align-items: start;
  padding: 32px 0 56px;
}

.side-nav {
  position: sticky;
  top: 94px;
  padding: .75rem;
}

.side-nav a {
  display: block;
  border-radius: 6px;
  color: var(--muted);
  font-size: .94rem;
  font-weight: 650;
  padding: .48rem .55rem;
  text-decoration: none;
}

.side-nav a:hover,
.side-nav a:focus {
  background: var(--surface-2);
  color: var(--text);
}

.content-panel {
  padding: clamp(1rem, 2.4vw, 1.65rem);
}

.content-panel section + section {
  border-top: 1px solid var(--border);
  margin-top: 1.65rem;
  padding-top: 1.65rem;
}

.code-block {
  position: relative;
  margin: 1rem 0;
  padding: 1rem;
  overflow-x: auto;
}

pre {
  margin: 0;
  white-space: pre-wrap;
}

code {
  color: #e7f6ff;
  font-family: "Cascadia Code", "SFMono-Regular", Consolas, monospace;
  font-size: .91rem;
}

.copy-button {
  position: absolute;
  top: .6rem;
  right: .6rem;
  border: 1px solid var(--border);
  border-radius: 6px;
  background: var(--bg);
  color: var(--text);
  cursor: pointer;
  font-size: .76rem;
  font-weight: 750;
  padding: .28rem .5rem;
}

.status-list {
  display: grid;
  gap: .65rem;
}

.status-row {
  display: grid;
  grid-template-columns: 150px 1fr;
  gap: 1rem;
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: .75rem;
}

.status-row strong {
  color: var(--text);
}

.callout {
  padding: 1rem;
}

.callout.warning {
  border-color: rgba(217, 155, 50, .55);
}

.site-footer {
  border-top: 1px solid var(--border);
  background: #060d18;
  padding: 34px 0;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.35fr repeat(3, 1fr);
  gap: 1.25rem;
}

.site-footer h2 {
  font-size: .98rem;
  letter-spacing: 0;
}

.site-footer a {
  display: block;
  color: var(--muted);
  margin: .36rem 0;
  text-decoration: none;
}

.site-footer a:hover,
.site-footer a:focus {
  color: var(--accent-2);
}

@media (max-width: 920px) {
  .nav-toggle {
    display: inline-flex;
  }

  .site-nav {
    display: none;
    position: absolute;
    left: 16px;
    right: 16px;
    top: 70px;
    border: 1px solid var(--border);
    border-radius: 10px;
    background: var(--bg);
    padding: .65rem;
  }

  .site-nav.open {
    display: grid;
  }

  .hero-shell,
  .page-grid,
  .grid,
  .grid.two,
  .capability-strip,
  .fit-grid,
  .cta-panel,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .hero-visual {
    max-width: 640px;
  }

  .capability-strip .card + .card {
    border-left: 0;
    border-top: 1px solid var(--border);
  }

  .flow-diagram {
    grid-template-columns: 1fr;
  }

  .flow-diagram span {
    width: 2px;
    height: 22px;
    margin: 0 auto;
  }

  .side-nav {
    position: static;
  }

  .status-row {
    grid-template-columns: 1fr;
    gap: .2rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: .001ms !important;
    scroll-behavior: auto !important;
    transition-duration: .001ms !important;
  }
}

/* Brand refresh built from the attached ClueStack identity. */
:root {
  --brand-bg: #071126;
  --brand-bg-2: #0a1630;
  --brand-panel: #0e1a31;
  --brand-panel-2: #111f3a;
  --brand-blue: #286cff;
  --brand-blue-2: #1ea7ff;
  --brand-gold: #ffb51d;
  --brand-cream: #f4f0e8;
  --border: rgba(68, 92, 141, .34);
  --accent: var(--brand-blue-2);
  --accent-2: var(--brand-gold);
  --text: #f1f5ff;
  --muted: #aebbd2;
}

body {
  background:
    radial-gradient(circle at 82% -10%, rgba(40, 108, 255, .22), transparent 28rem),
    radial-gradient(circle at 18% 18%, rgba(255, 181, 29, .10), transparent 22rem),
    linear-gradient(180deg, #071126 0%, #081224 48%, #060c18 100%);
}

.site-header {
  border-bottom-color: rgba(80, 105, 155, .28);
  background: rgba(7, 13, 27, .84);
}

.nav-shell {
  min-height: 76px;
}

.brand {
  align-items: center;
  max-width: 240px;
  overflow: hidden;
}

.brand img {
  width: 228px;
  max-width: 100%;
  border-radius: 8px;
  object-fit: contain;
  object-position: left center;
}

.site-nav a,
.nav-toggle {
  border-radius: 999px;
  font-size: .9rem;
  letter-spacing: .01em;
}

.site-nav a:hover,
.site-nav a:focus,
.site-nav a.active {
  background: rgba(40, 108, 255, .13);
  color: var(--brand-cream);
}

.hero {
  position: relative;
  border-bottom-color: rgba(80, 105, 155, .28);
  background:
    linear-gradient(90deg, rgba(48, 80, 155, .13) 1px, transparent 1px),
    linear-gradient(180deg, rgba(15, 29, 57, .95), rgba(7, 17, 38, .96) 62%, #071126);
  background-size: 88px 88px, auto;
  padding: clamp(56px, 8vw, 94px) 0 clamp(54px, 7vw, 86px);
}

.hero::before,
.hero::after {
  content: "";
  position: absolute;
  pointer-events: none;
}

.hero::before {
  inset: 0;
  background:
    radial-gradient(circle at 4% 0%, rgba(40, 108, 255, .24), transparent 14rem),
    radial-gradient(circle at 88% 16%, rgba(40, 108, 255, .20), transparent 15rem),
    radial-gradient(circle at 24% 92%, rgba(255, 181, 29, .12), transparent 18rem);
}

.hero::after {
  left: -80px;
  bottom: -92px;
  width: 320px;
  height: 320px;
  border: 46px solid rgba(40, 108, 255, .10);
  border-radius: 50%;
}

.hero-shell {
  position: relative;
  z-index: 1;
  grid-template-columns: minmax(0, .95fr) minmax(420px, .9fr);
  gap: clamp(2rem, 6vw, 5rem);
}

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

.hero-brand {
  display: block;
  width: min(620px, 100%);
  height: auto;
  margin: 0 0 1.2rem;
  border-radius: 18px;
  filter: drop-shadow(0 24px 52px rgba(0, 0, 0, .34));
}

.hero h1 {
  max-width: 780px;
  margin-top: 0;
  color: var(--brand-cream);
  font-size: clamp(2.55rem, 5.5vw, 5.05rem);
  letter-spacing: -.06em;
}

.hero .lead {
  max-width: 690px;
  color: #c6d2e5;
  font-size: clamp(1.08rem, 1.7vw, 1.28rem);
}

.hero-note {
  max-width: 680px;
  margin-top: 1rem;
  color: #8190aa;
  font-size: .92rem;
}

.button {
  border-radius: 999px;
  border-color: rgba(87, 113, 168, .52);
  background: rgba(13, 25, 49, .76);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .05);
}

.button.primary {
  border-color: rgba(255, 181, 29, .9);
  background: linear-gradient(135deg, var(--brand-gold), #ffd36d);
  color: #111827;
}

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

.hero-visual {
  min-height: 520px;
}

.hero-visual::before {
  inset: 2% 0 0;
  border-radius: 36px;
  background:
    radial-gradient(circle at 50% 45%, rgba(40, 108, 255, .28), transparent 36%),
    linear-gradient(135deg, rgba(18, 32, 60, .92), rgba(7, 17, 38, .64));
  filter: none;
  border: 1px solid rgba(78, 111, 178, .28);
}

.infra-map {
  position: relative;
  min-height: 520px;
  border-radius: 34px;
  overflow: hidden;
}

.infra-map::before {
  content: "";
  position: absolute;
  inset: 8%;
  border: 1px dashed rgba(126, 152, 205, .28);
  border-radius: 50%;
}

.infra-map::after {
  content: "";
  position: absolute;
  inset: 22% 25%;
  border: 1px solid rgba(255, 181, 29, .34);
  border-radius: 999px;
  transform: rotate(-18deg);
}

.map-core,
.map-node {
  position: absolute;
  z-index: 1;
}

.map-core {
  left: 50%;
  top: 50%;
  display: grid;
  width: 116px;
  height: 116px;
  place-items: center;
  transform: translate(-50%, -50%);
}

.map-core img {
  width: 100%;
  height: 100%;
  border: 0;
  border-radius: 28px;
  box-shadow: 0 22px 52px rgba(0, 0, 0, .36);
}

.map-node {
  width: min(210px, 42%);
  border: 1px solid rgba(91, 124, 191, .38);
  border-radius: 18px;
  background: rgba(9, 20, 41, .86);
  padding: .9rem;
  box-shadow: 0 24px 80px rgba(0, 0, 0, .24);
}

.map-node::before {
  content: "";
  position: absolute;
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--brand-gold);
  box-shadow: 0 0 0 5px rgba(255, 181, 29, .12);
}

.map-node span {
  display: block;
  color: var(--brand-gold);
  font-size: .74rem;
  font-weight: 850;
  letter-spacing: .1em;
  text-transform: uppercase;
}

.map-node strong {
  display: block;
  margin-top: .22rem;
  color: #eef4ff;
  font-size: .94rem;
  line-height: 1.32;
}

.map-node.command {
  left: 2%;
  top: 14%;
}

.map-node.api {
  right: 4%;
  top: 18%;
}

.map-node.k8s {
  left: 9%;
  bottom: 12%;
}

.map-node.metrics {
  right: 4%;
  bottom: 19%;
}

.map-node.logs {
  left: 36%;
  top: 2%;
}

.map-node.alerts {
  left: 42%;
  bottom: 2%;
}

.map-node.command::before,
.map-node.k8s::before {
  right: -5px;
  top: 50%;
}

.map-node.api::before,
.map-node.metrics::before {
  left: -5px;
  top: 50%;
}

.map-node.logs::before {
  left: 50%;
  bottom: -5px;
}

.map-node.alerts::before {
  left: 50%;
  top: -5px;
}

.intro-section {
  background:
    linear-gradient(180deg, rgba(13, 25, 49, .52), transparent),
    radial-gradient(circle at 12% 0%, rgba(255, 181, 29, .08), transparent 18rem);
}

.capability-strip {
  border-radius: 22px;
  border-color: rgba(80, 105, 155, .30);
}

.capability-strip .card,
.card,
.doc-card,
.callout,
.content-panel,
.side-nav,
.code-block {
  background: rgba(12, 24, 46, .86);
  border-color: rgba(80, 105, 155, .30);
}

.fit-section {
  background:
    linear-gradient(180deg, rgba(8, 16, 32, .10), rgba(15, 30, 58, .40)),
    radial-gradient(circle at 78% 45%, rgba(40, 108, 255, .12), transparent 24rem);
}

.flow-diagram div {
  border-color: rgba(69, 119, 255, .34);
  background: linear-gradient(180deg, rgba(17, 31, 58, .96), rgba(10, 22, 42, .96));
}

.flow-diagram span {
  background: linear-gradient(90deg, var(--brand-gold), var(--brand-blue-2));
}

.page-hero {
  background:
    radial-gradient(circle at 12% 0%, rgba(40, 108, 255, .18), transparent 22rem),
    linear-gradient(180deg, #0b1730, #081224);
}

.site-footer {
  background:
    radial-gradient(circle at 8% 10%, rgba(255, 181, 29, .08), transparent 18rem),
    #050a14;
}

.site-footer img {
  border-radius: 14px;
}

@media (max-width: 920px) {
  .brand {
    max-width: 192px;
  }

  .brand img {
    width: 192px;
  }

  .hero-shell {
    grid-template-columns: 1fr;
  }

  .hero-visual,
  .infra-map {
    min-height: 430px;
  }

  .map-node {
    width: min(190px, 48%);
  }
}

@media (max-width: 620px) {
  .hero {
    padding-top: 42px;
  }

  .hero-brand {
    border-radius: 12px;
  }

  .hero-visual,
  .infra-map {
    min-height: auto;
  }

  .infra-map {
    display: grid;
    gap: .75rem;
    padding: 1rem;
  }

  .infra-map::before,
  .infra-map::after,
  .map-node::before {
    display: none;
  }

  .map-core,
  .map-node {
    position: static;
    transform: none;
  }

  .map-core {
    width: 86px;
    height: 86px;
    margin: 0 auto .2rem;
    order: -1;
  }

  .map-node {
    width: 100%;
  }
}

/* Final layout refinement: wider grid, calmer hero, denser documentation pages. */
:root {
  --max: 1280px;
  --content-max: 920px;
}

body {
  font-size: 17px;
}

.container {
  width: min(var(--max), calc(100% - 56px));
}

.site-nav a,
.nav-toggle {
  font-size: .98rem;
}

.hero {
  padding: clamp(52px, 7vw, 82px) 0 clamp(48px, 6vw, 76px);
}

.hero-shell {
  display: block;
}

.hero-copy {
  max-width: 980px;
  margin-inline: auto;
  text-align: center;
}

.hero-brand {
  width: min(650px, 100%);
  margin: 0 auto 1.35rem;
}

.hero h1 {
  max-width: 1040px;
  margin-left: auto;
  margin-right: auto;
  font-size: clamp(2.75rem, 4.8vw, 5.2rem);
  line-height: 1.04;
  text-wrap: balance;
}

.hero .lead {
  max-width: 820px;
  margin-left: auto;
  margin-right: auto;
  font-size: clamp(1.12rem, 1.35vw, 1.28rem);
}

.hero .actions {
  justify-content: center;
}

.hero-visual,
.infra-map {
  min-height: 500px;
}

.signal-board {
  width: min(1120px, 100%);
  min-height: auto;
  margin: clamp(2.2rem, 5vw, 4rem) auto 0;
  border: 1px solid rgba(72, 113, 192, .34);
  border-radius: 28px;
  background:
    linear-gradient(90deg, rgba(40, 108, 255, .08) 1px, transparent 1px),
    linear-gradient(180deg, rgba(13, 26, 52, .96), rgba(7, 17, 38, .94));
  background-size: 96px 96px, auto;
  box-shadow: 0 34px 120px rgba(0, 0, 0, .28);
  padding: clamp(1.1rem, 2vw, 1.5rem);
}

.signal-board::before {
  display: none;
}

.signal-board-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  border-bottom: 1px solid rgba(80, 105, 155, .28);
  padding-bottom: 1rem;
  margin-bottom: 1rem;
}

.signal-board-header span {
  color: var(--brand-gold);
  font-size: .78rem;
  font-weight: 850;
  letter-spacing: .11em;
  text-transform: uppercase;
}

.signal-board-header strong {
  color: var(--brand-cream);
  font-size: clamp(1.2rem, 2vw, 1.75rem);
}

.signal-lanes {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: .85rem;
}

.signal-lanes article {
  border: 1px solid rgba(78, 111, 178, .34);
  border-radius: 18px;
  background: rgba(8, 19, 40, .82);
  padding: 1rem;
}

.signal-lanes article > span {
  color: var(--brand-gold);
  font-weight: 850;
  letter-spacing: .08em;
}

.signal-lanes strong {
  display: block;
  color: var(--text);
  font-size: 1.18rem;
  margin: .2rem 0 .35rem;
}

.signal-lanes p {
  margin: 0;
  font-size: .96rem;
}

.source-strip {
  display: flex;
  flex-wrap: wrap;
  gap: .55rem;
  justify-content: center;
  margin-top: 1rem;
}

.source-strip span {
  border: 1px solid rgba(255, 181, 29, .26);
  border-radius: 999px;
  background: rgba(255, 181, 29, .07);
  color: #d6e2f6;
  font-size: .9rem;
  font-weight: 750;
  padding: .4rem .7rem;
}

.map-node {
  width: min(224px, 44%);
}

.section {
  padding: clamp(48px, 6vw, 76px) 0;
}

.section-header {
  max-width: 820px;
}

.section-header.wide {
  max-width: 980px;
}

.section-header p,
.split-feature > div > p,
.content-panel p,
.content-panel li,
.card p,
.callout li,
.doc-card p,
.status-row span {
  font-size: 1.02rem;
}

.grid {
  gap: 1.15rem;
}

.split-feature {
  display: grid;
  grid-template-columns: minmax(0, .86fr) minmax(560px, 1.14fr);
  gap: clamp(2rem, 5vw, 4rem);
  align-items: start;
}

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

.info-grid article,
.stack-grid article,
.timeline-list article,
.doc-list a {
  border: 1px solid rgba(80, 105, 155, .30);
  border-radius: 18px;
  background: rgba(12, 24, 46, .84);
  padding: 1.1rem;
}

.stack-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1rem;
}

.stack-grid strong,
.doc-list strong {
  display: block;
  color: var(--brand-cream);
  font-size: 1.06rem;
  margin-bottom: .35rem;
}

.stack-grid span,
.doc-list span {
  display: block;
  color: var(--muted);
  line-height: 1.55;
}

.timeline-list {
  display: grid;
  gap: .85rem;
}

.timeline-list article {
  position: relative;
  padding-left: 1.35rem;
}

.timeline-list article::before {
  content: "";
  position: absolute;
  left: .62rem;
  top: 1.45rem;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--brand-gold);
}

.docs-overview {
  min-height: auto;
}

.doc-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
}

.doc-list a {
  color: inherit;
  text-decoration: none;
}

.doc-list a:hover,
.doc-list a:focus {
  border-color: rgba(255, 181, 29, .55);
  transform: translateY(-1px);
}

.page-grid {
  grid-template-columns: 250px minmax(0, var(--content-max));
  justify-content: start;
  gap: 2rem;
  padding: 44px 0 72px;
}

.content-panel {
  width: 100%;
}

.content-panel section + section {
  margin-top: 1.9rem;
  padding-top: 1.9rem;
}

.status-row {
  grid-template-columns: minmax(170px, .32fr) minmax(0, 1fr);
}

.site-footer {
  padding: 42px 0;
}

@media (max-width: 1120px) {
  .split-feature {
    grid-template-columns: 1fr;
  }

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

  .hero-visual {
    max-width: 100%;
  }

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

  .signal-lanes {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 920px) {
  .container {
    width: min(var(--max), calc(100% - 32px));
  }

  .page-grid {
    grid-template-columns: 1fr;
  }

  .doc-list,
  .info-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 620px) {
  body {
    font-size: 16px;
  }

  .hero h1 {
    font-size: clamp(2.25rem, 12vw, 3.05rem);
  }

  .hero-brand {
    width: 100%;
    margin-bottom: 1.15rem;
  }

  .stack-grid {
    grid-template-columns: 1fr;
  }

  .signal-board {
    border-radius: 22px;
  }

  .signal-board-header {
    display: block;
  }

  .signal-board-header strong {
    display: block;
    margin-top: .25rem;
  }

  .signal-lanes {
    grid-template-columns: 1fr;
  }

  .section {
    padding: 42px 0;
  }

  .infra-map {
    display: grid;
    gap: .75rem;
    padding: 1rem;
  }

  .infra-map::before,
  .infra-map::after,
  .map-node::before {
    display: none;
  }

  .map-core,
  .map-node {
    position: static;
    transform: none;
  }

  .map-core {
    width: 86px;
    height: 86px;
    margin: 0 auto .2rem;
    order: -1;
  }

  .map-node {
    width: 100%;
  }
}
