:root {
  --bg: #0b1320;
  --bg-soft: #101b2d;
  --panel: rgba(12, 24, 42, 0.82);
  --panel-strong: rgba(14, 28, 49, 0.95);
  --line: rgba(159, 179, 201, 0.18);
  --line-strong: rgba(159, 179, 201, 0.34);
  --text: #e7edf6;
  --muted: #9db0c7;
  --accent: #69d2c4;
  --accent-soft: rgba(105, 210, 196, 0.16);
  --warm: #f1bb67;
  --ok: #89dd8d;
  --warn: #f6cb6b;
  --danger: #ee7e74;
  --shadow: 0 24px 70px rgba(2, 8, 18, 0.48);
  --radius-lg: 28px;
  --radius-md: 18px;
  --radius-sm: 12px;
  --content: 1180px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--text);
  font-family: "Trebuchet MS", "Segoe UI", "Helvetica Neue", Arial, sans-serif;
  background:
    radial-gradient(circle at top left, rgba(105, 210, 196, 0.15), transparent 34%),
    radial-gradient(circle at 85% 10%, rgba(241, 187, 103, 0.12), transparent 28%),
    linear-gradient(180deg, #08101b 0%, #0b1320 42%, #0f1625 100%);
  min-height: 100vh;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  background:
    linear-gradient(rgba(255, 255, 255, 0.015), rgba(255, 255, 255, 0.015)),
    url("/assets/grid.svg");
  opacity: 0.45;
}

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

img {
  display: block;
  max-width: 100%;
}

.shell {
  width: min(100%, var(--content));
  margin: 0 auto;
  padding: 0 24px;
  position: relative;
  z-index: 1;
}

.topbar {
  padding: 18px 0;
}

.topbar .shell,
.site-footer .shell {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  font-size: 0.94rem;
}

.brand-mark {
  width: 42px;
  height: 42px;
  border-radius: 14px;
  background: linear-gradient(135deg, rgba(105, 210, 196, 0.24), rgba(241, 187, 103, 0.28));
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.06);
  padding: 8px;
}

.nav {
  display: inline-flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
}

.nav a,
.button,
.chip {
  border: 1px solid var(--line);
  background: rgba(14, 26, 44, 0.54);
  border-radius: 999px;
  padding: 11px 16px;
  color: var(--muted);
  font-size: 0.95rem;
  transition: 180ms ease;
}

.nav a:hover,
.button:hover,
.chip:hover {
  border-color: var(--line-strong);
  color: var(--text);
  transform: translateY(-1px);
}

.button.primary {
  color: #06111d;
  background: linear-gradient(135deg, var(--accent), #82e3d1);
  border-color: transparent;
  font-weight: 700;
}

.hero {
  padding: 28px 0 48px;
}

.hero-wrap,
.panel,
.table-wrap,
.notice,
.callout {
  border: 1px solid var(--line);
  background: linear-gradient(180deg, rgba(15, 28, 48, 0.92), rgba(11, 22, 38, 0.85));
  box-shadow: var(--shadow);
  backdrop-filter: blur(14px);
}

.hero-wrap {
  border-radius: var(--radius-lg);
  display: grid;
  grid-template-columns: 1.45fr 1fr;
  gap: 24px;
  padding: 40px;
  overflow: hidden;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--muted);
  font-size: 0.92rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.dot {
  width: 10px;
  height: 10px;
  border-radius: 999px;
  background: var(--ok);
  box-shadow: 0 0 0 6px rgba(137, 221, 141, 0.12);
}

h1,
h2,
h3 {
  margin: 0;
  line-height: 1.05;
}

h1 {
  margin-top: 18px;
  font-size: clamp(2.6rem, 5vw, 4.65rem);
  max-width: 10ch;
}

h2 {
  font-size: clamp(1.7rem, 3vw, 2.4rem);
}

h3 {
  font-size: 1.1rem;
}

p {
  margin: 0;
  color: var(--muted);
  line-height: 1.65;
}

.hero-copy p {
  margin-top: 18px;
  max-width: 58ch;
  font-size: 1.05rem;
}

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

.hero-meta {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  margin-top: 28px;
}

.metric {
  padding: 16px;
  border-radius: var(--radius-md);
  border: 1px solid var(--line);
  background: rgba(7, 16, 28, 0.46);
}

.metric strong,
.stat strong {
  display: block;
  color: var(--text);
  font-size: 1.45rem;
  margin-bottom: 6px;
}

.hero-side {
  display: grid;
  gap: 16px;
}

.highlight,
.status-card,
.stack-card,
.faq-item,
.timeline-item,
.doc-card {
  border: 1px solid var(--line);
  background: rgba(7, 16, 28, 0.58);
  border-radius: var(--radius-md);
  padding: 18px;
}

.highlight {
  min-height: 100%;
  display: grid;
  gap: 14px;
}

.highlight .label,
.muted-label {
  color: var(--warm);
  font-size: 0.84rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.code {
  font-family: "Lucida Console", "Courier New", monospace;
  font-size: 0.95rem;
  color: #d7f5ef;
  padding: 14px 16px;
  border-radius: var(--radius-sm);
  background: rgba(4, 13, 22, 0.86);
  border: 1px solid rgba(105, 210, 196, 0.2);
  overflow: auto;
}

.hero-side-grid,
.cards,
.status-grid,
.doc-grid,
.faq-grid,
.timeline,
.footer-grid {
  display: grid;
  gap: 18px;
}

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

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

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

section {
  padding: 22px 0 16px;
}

.section-head {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 18px;
}

.section-head p {
  max-width: 56ch;
}

.panel,
.table-wrap,
.notice,
.callout {
  border-radius: var(--radius-lg);
  padding: 26px;
}

.panel + .panel,
.table-wrap + .panel,
.panel + .table-wrap {
  margin-top: 18px;
}

.stack-card ul,
.doc-card ul,
.faq-item ul,
.callout ul,
.footer-links {
  margin: 14px 0 0;
  padding-left: 18px;
  color: var(--muted);
  line-height: 1.7;
}

.stack-card li + li,
.doc-card li + li,
.faq-item li + li,
.callout li + li,
.footer-links li + li {
  margin-top: 6px;
}

table {
  width: 100%;
  border-collapse: collapse;
}

th,
td {
  text-align: left;
  padding: 14px 12px;
  border-bottom: 1px solid var(--line);
  vertical-align: top;
}

th {
  color: var(--muted);
  font-size: 0.88rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  font-weight: 700;
}

tbody tr:hover {
  background: rgba(255, 255, 255, 0.018);
}

.badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 7px 12px;
  border-radius: 999px;
  background: rgba(137, 221, 141, 0.12);
  color: #b8f3bc;
  border: 1px solid rgba(137, 221, 141, 0.18);
  font-size: 0.88rem;
}

.badge.warn {
  background: rgba(246, 203, 107, 0.1);
  border-color: rgba(246, 203, 107, 0.16);
  color: #ffe09a;
}

.badge.info {
  background: var(--accent-soft);
  border-color: rgba(105, 210, 196, 0.2);
  color: #bdf3ea;
}

.stat-line {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
  margin-top: 12px;
  padding-top: 12px;
  border-top: 1px solid var(--line);
}

.inline-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 14px;
}

.notice,
.callout {
  display: grid;
  gap: 12px;
}

.site-footer {
  padding: 28px 0 44px;
}

.site-footer .shell {
  align-items: flex-start;
}

.footer-grid {
  grid-template-columns: 1.3fr 1fr 1fr;
  width: 100%;
}

.footer-note {
  max-width: 46ch;
}

.small {
  font-size: 0.92rem;
}

.page-header {
  padding: 24px 0 10px;
}

.page-header .panel {
  padding: 34px;
}

.subnav {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 18px;
}

.pill-list {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.pill-list span {
  border-radius: 999px;
  border: 1px solid var(--line);
  padding: 9px 12px;
  background: rgba(255, 255, 255, 0.02);
  color: var(--muted);
  font-size: 0.92rem;
}

code {
  font-family: "Lucida Console", "Courier New", monospace;
  background: rgba(255, 255, 255, 0.06);
  padding: 2px 6px;
  border-radius: 7px;
  color: #ecf8f4;
}

@media (max-width: 980px) {
  .hero-wrap,
  .cards,
  .status-grid,
  .doc-grid,
  .faq-grid,
  .timeline,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .section-head,
  .topbar .shell,
  .site-footer .shell {
    align-items: flex-start;
    flex-direction: column;
  }

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

  h1 {
    max-width: 14ch;
  }
}

@media (max-width: 640px) {
  .shell {
    padding: 0 16px;
  }

  .hero-wrap,
  .panel,
  .table-wrap,
  .notice,
  .callout,
  .page-header .panel {
    padding: 22px;
  }

  .nav,
  .hero-actions,
  .subnav {
    width: 100%;
  }

  .nav a,
  .button {
    flex: 1 1 auto;
    text-align: center;
  }
}
