:root {
  color-scheme: dark;
  --bg: #101318;
  --panel: #171c22;
  --panel-strong: #202832;
  --line: #33404d;
  --text: #eef4f7;
  --muted: #aebac4;
  --soft: #d7e4ea;
  --cyan: #35c4c9;
  --green: #8dd67b;
  --amber: #f0bd55;
  --red: #e66e66;
  --ink: #0a0d10;
  --max: 1180px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family:
    Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI",
    sans-serif;
  line-height: 1.5;
}

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

code {
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(255, 255, 255, 0.06);
  border-radius: 6px;
  padding: 0.12rem 0.35rem;
  color: var(--soft);
  font-family: "SFMono-Regular", Consolas, "Liberation Mono", monospace;
  font-size: 0.92em;
}

.topbar {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 18px clamp(20px, 4vw, 56px);
  background: rgba(16, 19, 24, 0.82);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(18px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 750;
  letter-spacing: 0;
}

.brand-mark {
  display: grid;
  width: 34px;
  height: 34px;
  place-items: center;
  border: 1px solid rgba(53, 196, 201, 0.55);
  background: rgba(53, 196, 201, 0.14);
  border-radius: 8px;
  color: var(--cyan);
  font-size: 0.76rem;
}

.nav {
  display: flex;
  gap: clamp(14px, 2vw, 28px);
  color: var(--muted);
  font-size: 0.95rem;
}

.nav a:hover {
  color: var(--text);
}

.hero {
  position: relative;
  min-height: 92vh;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(270px, 360px);
  align-items: end;
  gap: clamp(24px, 5vw, 72px);
  padding: 140px clamp(20px, 6vw, 76px) 70px;
  overflow: hidden;
}

.signal-canvas,
.hero-overlay {
  position: absolute;
  inset: 0;
}

.signal-canvas {
  width: 100%;
  height: 100%;
  background:
    radial-gradient(circle at 75% 18%, rgba(53, 196, 201, 0.17), transparent 34%),
    linear-gradient(135deg, #101318 0%, #14201f 42%, #171a20 100%);
}

.hero-overlay {
  background:
    linear-gradient(90deg, rgba(16, 19, 24, 0.9), rgba(16, 19, 24, 0.42)),
    linear-gradient(0deg, rgba(16, 19, 24, 0.98), transparent 38%);
}

.hero-content,
.hero-panel {
  position: relative;
  z-index: 2;
}

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

.eyebrow {
  margin: 0 0 14px;
  color: var(--cyan);
  font-size: 0.78rem;
  font-weight: 760;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  letter-spacing: 0;
}

h1 {
  margin: 0;
  font-size: clamp(3.6rem, 10vw, 8.4rem);
  line-height: 0.92;
}

h2 {
  margin: 0;
  font-size: clamp(2rem, 4.5vw, 4.2rem);
  line-height: 1.02;
}

h3 {
  margin: 0 0 8px;
  font-size: 1.05rem;
}

.hero-copy {
  max-width: 690px;
  margin: 24px 0 0;
  color: var(--soft);
  font-size: clamp(1.1rem, 2vw, 1.45rem);
}

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

.button {
  display: inline-flex;
  min-height: 46px;
  align-items: center;
  justify-content: center;
  border-radius: 8px;
  padding: 0 18px;
  font-weight: 720;
}

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

.button.secondary {
  border: 1px solid rgba(255, 255, 255, 0.18);
  background: rgba(255, 255, 255, 0.06);
}

.hero-panel {
  align-self: end;
  border: 1px solid rgba(255, 255, 255, 0.16);
  background: rgba(16, 19, 24, 0.72);
  border-radius: 8px;
  padding: 18px;
  backdrop-filter: blur(14px);
}

.hero-panel dl {
  display: grid;
  gap: 14px;
  margin: 0;
}

.hero-panel div {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  padding-bottom: 14px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.hero-panel div:last-child {
  padding-bottom: 0;
  border-bottom: 0;
}

.hero-panel dt {
  color: var(--muted);
}

.hero-panel dd {
  margin: 0;
  color: var(--text);
  font-weight: 740;
  text-align: right;
}

.band {
  background: #e9eff0;
  color: #172026;
}

.summary-band {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.section,
.band {
  padding: clamp(70px, 9vw, 118px) clamp(20px, 5vw, 64px);
}

.section-inner {
  width: min(100%, var(--max));
  margin: 0 auto;
}

.split {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(280px, 0.75fr);
  gap: clamp(30px, 7vw, 92px);
  align-items: start;
}

.split p:last-child,
.section-heading p,
.deploy-layout p {
  margin: 0;
  color: #52616b;
  font-size: 1.08rem;
}

.section .section-heading p,
.section .sticky-copy p {
  color: var(--muted);
}

.section-heading {
  max-width: 760px;
  margin-bottom: clamp(28px, 5vw, 56px);
}

.section-heading.compact {
  max-width: 900px;
}

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

.flow-step {
  min-height: 210px;
  border: 1px solid var(--line);
  background: var(--panel);
  border-radius: 8px;
  padding: 20px;
}

.flow-step p {
  margin: 0;
  color: var(--muted);
}

.step-number {
  display: block;
  margin-bottom: 42px;
  color: var(--cyan);
  font-family: "SFMono-Regular", Consolas, "Liberation Mono", monospace;
  font-size: 0.86rem;
}

.ladder {
  position: relative;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  min-height: 360px;
  margin-top: 18px;
  border: 1px solid var(--line);
  border-radius: 8px;
  overflow: hidden;
  background:
    linear-gradient(90deg, transparent calc(25% - 1px), rgba(255, 255, 255, 0.08) 25%, transparent calc(25% + 1px)),
    linear-gradient(90deg, transparent calc(50% - 1px), rgba(255, 255, 255, 0.08) 50%, transparent calc(50% + 1px)),
    linear-gradient(90deg, transparent calc(75% - 1px), rgba(255, 255, 255, 0.08) 75%, transparent calc(75% + 1px)),
    var(--panel);
}

.lane {
  padding: 18px;
  color: var(--muted);
  font-weight: 740;
}

.message {
  position: absolute;
  height: 34px;
  display: flex;
  align-items: center;
  padding: 0 14px;
  border-radius: 6px;
  color: var(--ink);
  font-size: 0.9rem;
  font-weight: 780;
}

.message::after {
  content: "";
  position: absolute;
  right: -9px;
  width: 0;
  height: 0;
  border-top: 8px solid transparent;
  border-bottom: 8px solid transparent;
  border-left: 9px solid currentColor;
  color: inherit;
}

.m1 {
  left: 8%;
  top: 86px;
  width: 38%;
  background: var(--amber);
}

.m2 {
  left: 31%;
  top: 154px;
  width: 38%;
  background: var(--cyan);
}

.m3 {
  left: 57%;
  top: 222px;
  width: 32%;
  background: var(--green);
}

.m4 {
  left: 31%;
  top: 290px;
  width: 38%;
  background: var(--red);
}

.use-list {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1px;
  overflow: hidden;
  border: 1px solid #c4ced3;
  border-radius: 8px;
  background: #c4ced3;
}

.use-list article {
  min-height: 190px;
  padding: 22px;
  background: #f7fafb;
}

.use-list p {
  margin: 0;
  color: #52616b;
}

.ops-layout {
  display: grid;
  grid-template-columns: minmax(260px, 0.85fr) minmax(320px, 1fr);
  gap: clamp(28px, 7vw, 88px);
  align-items: start;
}

.sticky-copy {
  position: sticky;
  top: 104px;
}

.ops-table {
  border: 1px solid var(--line);
  border-radius: 8px;
  overflow: hidden;
}

.ops-table div {
  display: grid;
  grid-template-columns: minmax(150px, 0.7fr) minmax(0, 1fr);
  gap: 18px;
  padding: 18px 20px;
  border-bottom: 1px solid var(--line);
  background: var(--panel);
}

.ops-table div:last-child {
  border-bottom: 0;
}

.ops-table span {
  color: var(--muted);
}

.deploy-band {
  background: #dfe8e5;
}

.deploy-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(320px, 0.8fr);
  gap: clamp(28px, 7vw, 88px);
}

.config-snippet {
  border: 1px solid #b9c6c1;
  border-radius: 8px;
  background: #f8fbfa;
  overflow: hidden;
}

.config-snippet div {
  display: grid;
  grid-template-columns: 150px minmax(0, 1fr);
  gap: 16px;
  padding: 16px 18px;
  border-bottom: 1px solid #d3ddda;
}

.config-snippet div:last-child {
  border-bottom: 0;
}

.config-snippet span {
  color: #5d6d66;
}

.config-snippet code {
  overflow-wrap: anywhere;
  background: #ebf0ef;
  border-color: #cbd6d3;
  color: #1b2527;
}

.footer {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  padding: 28px clamp(20px, 5vw, 64px);
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  color: var(--muted);
}

@media (max-width: 920px) {
  .topbar {
    align-items: flex-start;
  }

  .nav {
    display: none;
  }

  .hero {
    min-height: 94vh;
    grid-template-columns: 1fr;
    padding-top: 118px;
  }

  .hero-panel {
    max-width: 460px;
  }

  .split,
  .ops-layout,
  .deploy-layout {
    grid-template-columns: 1fr;
  }

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

  .sticky-copy {
    position: static;
  }
}

@media (max-width: 620px) {
  .section,
  .band {
    padding-top: 58px;
    padding-bottom: 58px;
  }

  .flow-grid,
  .use-list {
    grid-template-columns: 1fr;
  }

  .flow-step {
    min-height: 160px;
  }

  .step-number {
    margin-bottom: 22px;
  }

  .ladder {
    min-height: 430px;
    grid-template-columns: 1fr;
    background: var(--panel);
  }

  .lane {
    min-height: 58px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  }

  .message {
    left: 18px;
    right: 18px;
    width: auto;
  }

  .m1 {
    top: 88px;
  }

  .m2 {
    top: 168px;
  }

  .m3 {
    top: 248px;
  }

  .m4 {
    top: 328px;
  }

  .ops-table div,
  .config-snippet div {
    grid-template-columns: 1fr;
    gap: 6px;
  }

  .footer {
    flex-direction: column;
  }
}
