:root {
  color-scheme: dark;
  --bg: #07111f;
  --bg-alt: #0d1a2d;
  --panel: rgba(14, 28, 49, 0.78);
  --panel-strong: #112340;
  --border: rgba(146, 183, 255, 0.18);
  --text: #ebf2ff;
  --muted: #a9bbd6;
  --accent: #83a9ff;
  --accent-strong: #bfd1ff;
  --shadow: 0 24px 80px rgba(0, 0, 0, 0.28);
  --radius-lg: 28px;
  --radius-md: 18px;
  --radius-sm: 12px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--text);
  background:
    radial-gradient(circle at top left, rgba(87, 130, 255, 0.24), transparent 34%),
    radial-gradient(circle at top right, rgba(45, 161, 255, 0.16), transparent 28%),
    linear-gradient(180deg, #06101d, #0a1627 34%, #08111d 100%);
}

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

.container {
  width: min(1140px, calc(100% - 32px));
  margin: 0 auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  backdrop-filter: blur(18px);
  background: rgba(5, 12, 22, 0.72);
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.header-inner,
.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 18px 0;
}

.logo {
  font-weight: 700;
  letter-spacing: 0.01em;
}

.site-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  color: var(--muted);
}

.site-nav a:hover,
.site-nav a:focus-visible {
  color: var(--text);
}

.hero,
.section {
  padding: 84px 0;
}

.alt {
  background: rgba(255, 255, 255, 0.02);
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 28px;
  align-items: center;
}

.eyebrow {
  margin: 0 0 10px;
  color: var(--accent-strong);
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-size: 0.78rem;
}

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

.hero h1 {
  font-size: clamp(2.6rem, 5vw, 4.8rem);
  max-width: 12ch;
}

.hero-text,
.section-heading p,
.card p,
.tab-panel p,
.workflow-step p,
.doc-card p,
.panel-card p {
  color: var(--muted);
  line-height: 1.7;
}

.hero-text {
  margin: 22px 0 28px;
  max-width: 64ch;
  font-size: 1.05rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 30px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 18px;
  border-radius: 999px;
  font-weight: 600;
  border: 1px solid var(--border);
  transition: transform 0.2s ease, border-color 0.2s ease, background 0.2s ease;
}

.button:hover,
.button:focus-visible {
  transform: translateY(-1px);
  border-color: rgba(191, 209, 255, 0.42);
}

.button.primary {
  background: linear-gradient(135deg, #8caefe, #679dff);
  color: #05101d;
  border: none;
}

.button.secondary {
  background: rgba(255, 255, 255, 0.04);
}

.stat-row {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  list-style: none;
  padding: 0;
  margin: 0;
}

.stat-row li,
.panel-card,
.card,
.tab-panel,
.workflow-step,
.doc-card {
  border: 1px solid var(--border);
  background: var(--panel);
  box-shadow: var(--shadow);
}

.stat-row li {
  min-width: 150px;
  padding: 16px 18px;
  border-radius: var(--radius-sm);
}

.stat-row strong {
  display: block;
  font-size: 1.8rem;
}

.stat-row span {
  color: var(--muted);
}

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

.mini-flow {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 10px;
  margin-top: 18px;
}

.mini-flow span {
  padding: 14px 10px;
  text-align: center;
  border-radius: var(--radius-sm);
  background: rgba(255, 255, 255, 0.04);
  color: var(--accent-strong);
  font-size: 0.9rem;
}

.section-heading {
  max-width: 66ch;
  margin-bottom: 28px;
}

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

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

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

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

.card,
.tab-panel,
.workflow-step,
.doc-card {
  padding: 24px;
  border-radius: var(--radius-md);
}

.card h3,
.tab-panel h3,
.workflow-step h3,
.doc-card h3,
.panel-card h2 {
  margin-top: 0;
  margin-bottom: 10px;
}

.card-label {
  display: inline-block;
  margin-bottom: 14px;
  color: var(--accent-strong);
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

.tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 18px;
}

.tab {
  appearance: none;
  border: 1px solid var(--border);
  background: rgba(255, 255, 255, 0.03);
  color: var(--muted);
  border-radius: 999px;
  padding: 10px 14px;
  font: inherit;
  cursor: pointer;
}

.tab:hover,
.tab:focus-visible,
.tab.is-active {
  color: var(--text);
  border-color: rgba(191, 209, 255, 0.36);
  background: rgba(131, 169, 255, 0.14);
}

.tab-panels {
  min-height: 220px;
}

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

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

.workflow-step span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: rgba(131, 169, 255, 0.16);
  color: var(--accent-strong);
  font-weight: 700;
  margin-bottom: 18px;
}

.roadmap-list {
  margin: 0;
  padding-left: 22px;
  color: var(--muted);
  line-height: 1.9;
}

.doc-card {
  transition: transform 0.2s ease, border-color 0.2s ease;
}

.doc-card:hover,
.doc-card:focus-visible {
  transform: translateY(-2px);
  border-color: rgba(191, 209, 255, 0.36);
}

.site-footer {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  color: var(--muted);
}

@media (max-width: 960px) {
  .hero-grid,
  .three-up,
  .workflow-grid,
  .two-up {
    grid-template-columns: 1fr;
  }

  .mini-flow {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 720px) {
  .hero,
  .section {
    padding: 68px 0;
  }

  .header-inner,
  .footer-inner {
    flex-direction: column;
    align-items: flex-start;
  }

  .site-nav {
    gap: 12px;
  }
}
