:root {
  color-scheme: dark;
  --bg: #061018;
  --bg-soft: #0a1722;
  --panel: rgba(14, 23, 34, 0.88);
  --panel-strong: #0e1722;
  --line: #223547;
  --line-soft: rgba(255, 255, 255, 0.06);
  --text: #edf5fb;
  --muted: #8ea2b6;
  --muted-strong: #b9c7d5;
  --accent: #8fd8ff;
  --accent-strong: #d3f2ff;
  --ok: #62d89d;
  --warn: #f4bf65;
  --shadow: 0 24px 80px rgba(0, 0, 0, 0.32);
  --radius: 22px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  font-family: "Segoe UI", "Helvetica Neue", Arial, sans-serif;
  color: var(--text);
  background:
    radial-gradient(circle at top left, rgba(143, 216, 255, 0.18), transparent 24%),
    radial-gradient(circle at top right, rgba(98, 216, 157, 0.08), transparent 20%),
    linear-gradient(180deg, #061018 0%, #03070b 100%);
}

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

code,
pre,
textarea,
input {
  font-family: "SFMono-Regular", Consolas, "Liberation Mono", Menlo, monospace;
}

.page-shell {
  width: min(1240px, calc(100% - 32px));
  margin: 0 auto;
  padding: 24px 0 48px;
}

.site-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 36px;
}

.brand {
  display: inline-flex;
  flex-direction: column;
  gap: 6px;
}

.brand-kicker,
.eyebrow,
.mini-label,
.status-label {
  text-transform: uppercase;
  letter-spacing: 0.16em;
  font-size: 11px;
  font-weight: 700;
}

.brand-kicker,
.eyebrow {
  color: var(--accent);
}

.brand-title {
  font-size: 20px;
  font-weight: 700;
}

.top-nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 10px;
}

.top-nav a {
  padding: 10px 14px;
  border-radius: 999px;
  color: var(--muted-strong);
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid transparent;
  transition: 120ms ease;
}

.top-nav a:hover,
.top-nav a.is-active {
  color: var(--accent-strong);
  border-color: rgba(143, 216, 255, 0.25);
  background: rgba(143, 216, 255, 0.08);
}

.page-content {
  display: grid;
  gap: 26px;
}

.page-narrow {
  width: min(960px, 100%);
}

.hero,
.page-hero,
.panel-card,
.feature-card,
.status-card,
.info-strip,
.command-card,
.faq-card {
  background: var(--panel);
  border: 1px solid var(--line-soft);
  box-shadow: var(--shadow);
  backdrop-filter: blur(10px);
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1.3fr) minmax(290px, 0.7fr);
  gap: 22px;
  border-radius: calc(var(--radius) + 4px);
  padding: 30px;
}

.hero h1,
.page-hero h1 {
  margin: 0;
  font-size: clamp(34px, 4.8vw, 60px);
  line-height: 1.02;
}

.lede {
  margin: 0;
  color: var(--muted-strong);
  font-size: 18px;
  line-height: 1.65;
}

.hero-copy,
.status-stack {
  display: grid;
  gap: 18px;
}

.status-card,
.panel-card,
.feature-card,
.command-card,
.faq-card {
  border-radius: var(--radius);
  padding: 22px;
}

.status-value {
  display: block;
  margin: 10px 0 8px;
  font-size: 24px;
  line-height: 1.2;
}

.status-note,
.feature-card p,
.panel-card p,
.faq-card p {
  margin: 0;
  color: var(--muted);
  line-height: 1.6;
}

.hero-actions,
.button-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.button,
.copy-btn {
  appearance: none;
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 12px 16px;
  font-size: 14px;
  font-weight: 700;
  color: var(--text);
  background: rgba(255, 255, 255, 0.03);
  cursor: pointer;
  transition: 120ms ease;
}

.button:hover,
.copy-btn:hover {
  border-color: rgba(143, 216, 255, 0.3);
  background: rgba(143, 216, 255, 0.08);
}

.button-primary {
  background: linear-gradient(135deg, rgba(143, 216, 255, 0.25), rgba(143, 216, 255, 0.08));
  border-color: rgba(143, 216, 255, 0.4);
}

.button-ghost {
  background: transparent;
}

.grid-section,
.card-grid,
.command-grid {
  display: grid;
  gap: 18px;
}

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

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

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

.feature-card h2,
.panel-card h2,
.command-card h3,
.faq-card h2 {
  margin: 0 0 10px;
  font-size: 24px;
  line-height: 1.2;
}

.text-link {
  display: inline-block;
  margin-top: 16px;
  color: var(--accent-strong);
  font-weight: 700;
}

.text-link:hover {
  color: var(--accent);
}

.info-strip {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
  border-radius: var(--radius);
  padding: 22px;
}

.info-strip p {
  margin: 10px 0 0;
  color: var(--muted);
  line-height: 1.6;
}

.mini-label,
.status-label {
  color: var(--accent);
}

.bullet-list {
  margin: 0;
  padding-left: 18px;
  color: var(--muted-strong);
  line-height: 1.75;
}

.section-head,
.command-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 14px;
}

.section-head h2,
.command-head h3 {
  margin: 0 0 8px;
}

.pill {
  align-self: flex-start;
  display: inline-flex;
  align-items: center;
  padding: 8px 12px;
  border-radius: 999px;
  background: rgba(98, 216, 157, 0.1);
  border: 1px solid rgba(98, 216, 157, 0.2);
  color: #d7f5e6;
  font-size: 12px;
  font-weight: 700;
}

.pill-warn {
  background: rgba(244, 191, 101, 0.12);
  border-color: rgba(244, 191, 101, 0.25);
  color: #ffe3b7;
}

.action-placeholder,
.select-placeholder {
  margin-top: 16px;
  border-radius: 18px;
  border: 1px dashed rgba(255, 255, 255, 0.12);
  padding: 18px;
  color: var(--muted-strong);
  background: rgba(255, 255, 255, 0.02);
}

.code-block {
  margin: 14px 0 0;
  padding: 16px;
  border-radius: 18px;
  background: #09131c;
  border: 1px solid #17283a;
  color: #d7eaff;
  white-space: pre-wrap;
  word-break: break-word;
  line-height: 1.65;
  overflow-x: auto;
}

.form-stack {
  display: grid;
  gap: 14px;
}

.field {
  display: grid;
  gap: 8px;
}

.field span {
  color: var(--muted-strong);
  font-size: 14px;
  font-weight: 600;
}

.text-input,
.text-area {
  width: 100%;
  border-radius: 16px;
  border: 1px solid #1c3042;
  background: rgba(5, 12, 18, 0.95);
  color: var(--text);
  padding: 14px 15px;
  resize: vertical;
}

.text-input:focus,
.text-area:focus {
  outline: none;
  border-color: rgba(143, 216, 255, 0.45);
  box-shadow: 0 0 0 3px rgba(143, 216, 255, 0.1);
}

.command-group {
  display: grid;
  gap: 16px;
}

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

.release-list {
  display: grid;
  gap: 12px;
}

.release-row {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  padding: 16px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.release-row:first-child {
  border-top: 0;
  padding-top: 0;
}

.release-row strong {
  display: block;
  margin-bottom: 6px;
  font-size: 18px;
}

.release-row p {
  margin: 0;
  color: var(--muted);
}

.release-meta {
  color: var(--muted-strong);
  font-size: 13px;
  white-space: nowrap;
}

.faq-list {
  display: grid;
  gap: 16px;
}

@media (max-width: 980px) {
  .hero,
  .grid-section,
  .two-up,
  .three-up,
  .info-strip,
  .command-grid {
    grid-template-columns: 1fr;
  }

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

  .top-nav {
    justify-content: flex-start;
  }

  .page-shell {
    width: min(100% - 20px, 1240px);
    padding-top: 18px;
  }
}

@media (max-width: 640px) {
  .hero,
  .page-hero,
  .panel-card,
  .feature-card,
  .command-card,
  .faq-card,
  .info-strip,
  .status-card {
    padding: 18px;
  }

  .hero h1,
  .page-hero h1 {
    font-size: 34px;
  }

  .lede {
    font-size: 16px;
  }

  .top-nav a,
  .button,
  .copy-btn {
    width: 100%;
    justify-content: center;
    text-align: center;
  }
}
