@import url('https://fonts.googleapis.com/css2?family=Inter:ital,wght@0,400;0,500;0,600;0,700;1,400&display=swap');

:root {
  --bg: #ffffff;
  --surface: #f9fafb;
  --surface-2: #f3f4f6;
  --border: #e5e7eb;
  --border-strong: #d1d5db;
  --text: #111827;
  --text-2: #6b7280;
  --text-3: #9ca3af;
  --accent: #2563eb;
  --accent-hover: #1d4ed8;
  --accent-bg: #eff6ff;
  --accent-border: #bfdbfe;
  --green: #16a34a;
  --green-bg: #f0fdf4;
  --green-border: #bbf7d0;
  --amber: #d97706;
  --amber-bg: #fffbeb;
  --amber-border: #fde68a;
  --nav-h: 60px;
  --max-w: 1080px;
  --r: 8px;
}

*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  font-size: 16px;
  line-height: 1.6;
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
}

a {
  color: var(--accent);
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
}

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

.container {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 24px;
}

header {
  position: sticky;
  top: 0;
  height: var(--nav-h);
  background: rgba(255, 255, 255, 0.92);
  border-bottom: 1px solid var(--border);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  z-index: 50;
}

header nav {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 24px;
  height: 100%;
  display: flex;
  align-items: center;
  gap: 8px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 16px;
  font-weight: 700;
  color: var(--text);
  text-decoration: none;
  margin-right: auto;
}

.brand:hover {
  text-decoration: none;
}

.alpha-badge {
  font-size: 10px;
  font-weight: 600;
  color: var(--amber);
  background: var(--amber-bg);
  border: 1px solid var(--amber-border);
  border-radius: 20px;
  padding: 2px 7px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 4px;
}

.nav-links a {
  font-size: 14px;
  font-weight: 500;
  color: var(--text-2);
  padding: 6px 11px;
  border-radius: 6px;
  text-decoration: none;
  transition: color 0.12s, background 0.12s;
}

.nav-links a:hover,
.nav-links a.active {
  color: var(--text);
  background: var(--surface-2);
  text-decoration: none;
}

.btn {
  display: inline-flex;
  align-items: center;
  font-family: inherit;
  font-weight: 500;
  border-radius: var(--r);
  cursor: pointer;
  border: 1px solid transparent;
  text-decoration: none;
  transition: background 0.12s, border-color 0.12s, color 0.12s;
  white-space: nowrap;
  line-height: 1;
}

.btn:hover {
  text-decoration: none;
}

.btn-primary {
  background: var(--accent);
  color: #fff;
  border-color: var(--accent);
}

.btn-primary:hover {
  background: var(--accent-hover);
  border-color: var(--accent-hover);
  color: #fff;
}

.btn-outline {
  background: transparent;
  color: var(--text);
  border-color: var(--border-strong);
}

.btn-outline:hover {
  background: var(--surface);
  color: var(--text);
}

.btn-sm {
  font-size: 13px;
  padding: 7px 14px;
}

.btn-md {
  font-size: 14px;
  padding: 10px 20px;
}

.btn-lg {
  font-size: 15px;
  padding: 12px 24px;
}

.banner {
  background: var(--amber-bg);
  border-bottom: 1px solid var(--amber-border);
  color: var(--amber);
  font-size: 13px;
  font-weight: 500;
  text-align: center;
  padding: 8px 20px;
}

.hero {
  padding: 88px 0 80px;
  background: linear-gradient(160deg, #f0f7ff 0%, #ffffff 60%);
  border-bottom: 1px solid var(--border);
  text-align: center;
}

.hero-status {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-size: 13px;
  font-weight: 500;
  color: var(--green);
  margin-bottom: 24px;
}

.hero-status::before {
  content: '';
  display: block;
  width: 7px;
  height: 7px;
  background: var(--green);
  border-radius: 50%;
  flex-shrink: 0;
}

h1 {
  font-size: clamp(34px, 5vw, 58px);
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: -0.025em;
  margin-bottom: 20px;
}

h1 em {
  font-style: italic;
  color: var(--accent);
}

.hero-sub {
  font-size: clamp(16px, 1.5vw, 18px);
  color: var(--text-2);
  max-width: 520px;
  margin: 0 auto 32px;
  line-height: 1.7;
}

.hero-actions {
  display: flex;
  gap: 10px;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 14px;
}

.hero-note {
  font-size: 13px;
  color: var(--text-3);
}

section {
  padding: 80px 0;
}

section.tinted {
  background: var(--surface);
}

.eyebrow {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 10px;
}

.section-title {
  font-size: clamp(22px, 3vw, 30px);
  font-weight: 700;
  letter-spacing: -0.015em;
  margin-bottom: 10px;
  line-height: 1.2;
}

.section-desc {
  font-size: 16px;
  color: var(--text-2);
  max-width: 500px;
  line-height: 1.65;
}

.section-head {
  margin-bottom: 44px;
}

.section-head.centered {
  text-align: center;
}

.section-head.centered .section-desc {
  margin: 0 auto;
}

.feat-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
}

.feat-card {
  border: 1px solid var(--border);
  border-radius: var(--r);
  padding: 26px;
  background: var(--bg);
  transition: border-color 0.15s;
}

.feat-card:hover {
  border-color: var(--accent-border);
}

.feat-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 13px;
}

.feat-icon {
  font-size: 20px;
}

.badge-live {
  font-size: 11px;
  font-weight: 600;
  color: var(--green);
  background: var(--green-bg);
  border: 1px solid var(--green-border);
  padding: 2px 8px;
  border-radius: 20px;
}

.badge-soon {
  font-size: 11px;
  font-weight: 600;
  color: var(--amber);
  background: var(--amber-bg);
  border: 1px solid var(--amber-border);
  padding: 2px 8px;
  border-radius: 20px;
}

.feat-card h3 {
  font-size: 15px;
  font-weight: 600;
  margin-bottom: 7px;
  line-height: 1.3;
}

.feat-card p {
  font-size: 14px;
  color: var(--text-2);
  line-height: 1.65;
}

.roadmap-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
}

.roadmap-card {
  border: 1px solid var(--border);
  border-radius: var(--r);
  padding: 22px;
  background: var(--bg);
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.roadmap-card h3 {
  font-size: 14px;
  font-weight: 600;
  line-height: 1.3;
}

.roadmap-card p {
  font-size: 13px;
  color: var(--text-2);
  line-height: 1.65;
}

.steps {
  display: flex;
  flex-direction: column;
}

.step {
  display: flex;
  gap: 18px;
  padding-bottom: 28px;
  position: relative;
}

.step:last-child {
  padding-bottom: 0;
}

.step:not(:last-child)::after {
  content: '';
  position: absolute;
  left: 17px;
  top: 38px;
  bottom: 0;
  width: 1px;
  background: var(--border);
}

.step-n {
  width: 36px;
  height: 36px;
  flex-shrink: 0;
  border-radius: 50%;
  border: 1px solid var(--accent-border);
  background: var(--accent-bg);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 13px;
  font-weight: 600;
  color: var(--accent);
  position: relative;
  z-index: 1;
}

.step-body {
  padding-top: 5px;
}

.step-body h3 {
  font-size: 15px;
  font-weight: 600;
  margin-bottom: 5px;
  line-height: 1.3;
}

.step-body p {
  font-size: 14px;
  color: var(--text-2);
  line-height: 1.65;
}

.step-body a {
  font-size: 13px;
  display: inline-block;
  margin-top: 7px;
}

.step-body .callout {
  margin-top: 10px;
}

.cta-box {
  max-width: 560px;
  margin: 0 auto;
  text-align: center;
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 52px 40px;
  background: var(--surface);
}

.cta-box h2 {
  font-size: 26px;
  font-weight: 700;
  letter-spacing: -0.01em;
  margin-bottom: 10px;
}

.cta-box p {
  font-size: 15px;
  color: var(--text-2);
  margin-bottom: 26px;
  line-height: 1.65;
}

.cta-meta {
  margin-top: 14px;
  font-size: 13px;
  color: var(--text-3);
}

.page-hero {
  padding: 52px 0 40px;
  background: var(--surface);
  border-bottom: 1px solid var(--border);
}

.page-hero h1 {
  font-size: clamp(26px, 4vw, 38px);
  font-weight: 700;
  letter-spacing: -0.02em;
  margin-bottom: 9px;
  line-height: 1.15;
}

.page-hero p {
  font-size: 16px;
  color: var(--text-2);
}

.callout {
  border-radius: var(--r);
  padding: 13px 16px;
  font-size: 14px;
  line-height: 1.65;
}

.callout-info {
  background: var(--accent-bg);
  border: 1px solid var(--accent-border);
  color: #1e40af;
}

.callout-warning {
  background: var(--amber-bg);
  border: 1px solid var(--amber-border);
  color: var(--amber);
}

.dl-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin-top: 32px;
}

.dl-card {
  border: 1px solid var(--border);
  border-radius: var(--r);
  padding: 26px 22px;
  background: var(--bg);
  display: flex;
  flex-direction: column;
  gap: 12px;
  transition: border-color 0.15s;
}

.dl-card:hover {
  border-color: var(--border-strong);
}

.dl-card h3 {
  font-size: 16px;
  font-weight: 600;
}

.dl-card p {
  font-size: 14px;
  color: var(--text-2);
  line-height: 1.65;
  flex: 1;
}

.dl-meta {
  font-size: 13px;
  color: var(--text-2);
  line-height: 1.75;
}

.dl-hint {
  font-size: 12px;
  color: var(--text-3);
}

.docs-layout {
  display: grid;
  grid-template-columns: 200px 1fr;
  gap: 48px;
  align-items: start;
}

.sidebar {
  position: sticky;
  top: calc(var(--nav-h) + 20px);
}

.sidebar-group {
  margin-bottom: 20px;
}

.sidebar-label {
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--text-3);
  display: block;
  margin-bottom: 5px;
  padding: 0 7px;
}

.sidebar a {
  display: block;
  font-size: 13px;
  font-weight: 500;
  color: var(--text-2);
  padding: 5px 7px;
  border-radius: 5px;
  text-decoration: none;
  transition: background 0.1s, color 0.1s;
}

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

.prose h2 {
  font-size: 19px;
  font-weight: 700;
  letter-spacing: -0.01em;
  margin-top: 44px;
  margin-bottom: 12px;
  padding-bottom: 10px;
  border-bottom: 1px solid var(--border);
}

.prose h2:first-child {
  margin-top: 0;
}

.prose h3 {
  font-size: 15px;
  font-weight: 600;
  margin-top: 24px;
  margin-bottom: 8px;
}

.prose p {
  font-size: 15px;
  color: var(--text-2);
  line-height: 1.75;
  margin-bottom: 13px;
}

.prose ul,
.prose ol {
  padding-left: 20px;
  margin-bottom: 14px;
  color: var(--text-2);
  font-size: 15px;
  line-height: 1.85;
}

.prose li {
  margin-bottom: 4px;
}

.prose strong {
  color: var(--text);
  font-weight: 600;
}

.prose a {
  color: var(--accent);
  text-decoration: underline;
}

.prose code {
  font-family: ui-monospace, 'Cascadia Code', Menlo, monospace;
  font-size: 13px;
  background: var(--surface-2);
  border: 1px solid var(--border);
  border-radius: 4px;
  padding: 1px 5px;
}

.prose .callout {
  margin: 18px 0;
}

.prose .updated {
  font-size: 13px;
  color: var(--text-3);
  margin-bottom: 28px;
  display: block;
}

.table-wrap {
  border: 1px solid var(--border);
  border-radius: var(--r);
  overflow: hidden;
  overflow-x: auto;
  margin: 16px 0;
}

table {
  width: 100%;
  border-collapse: collapse;
  font-size: 14px;
}

th {
  text-align: left;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--text-2);
  padding: 10px 14px;
  border-bottom: 1px solid var(--border);
  background: var(--surface);
}

td {
  padding: 11px 14px;
  color: var(--text-2);
  border-bottom: 1px solid var(--border);
  vertical-align: top;
}

td:first-child {
  color: var(--text);
  font-weight: 500;
}

tr:last-child td {
  border-bottom: none;
}

footer {
  background: var(--surface);
  border-top: 1px solid var(--border);
  padding: 48px 0 28px;
}

.foot-top {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 24px;
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 48px;
  margin-bottom: 32px;
}

.foot-logo {
  font-size: 16px;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 8px;
}

.foot-brand p {
  font-size: 14px;
  color: var(--text-2);
  line-height: 1.65;
  max-width: 270px;
}

.foot-col h4 {
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--text-3);
  margin-bottom: 13px;
}

.foot-col a {
  display: block;
  font-size: 14px;
  color: var(--text-2);
  margin-bottom: 7px;
  text-decoration: none;
  transition: color 0.12s;
}

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

.foot-bottom {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 20px 24px 0;
  border-top: 1px solid var(--border);
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 13px;
  color: var(--text-3);
}

.foot-links {
  display: flex;
  gap: 14px;
}

.foot-links a {
  color: var(--text-3);
  text-decoration: none;
}

.foot-links a:hover {
  color: var(--text-2);
}

@media (max-width: 900px) {
  .feat-grid { grid-template-columns: 1fr; }
  .roadmap-grid { grid-template-columns: repeat(2, 1fr); }
  .dl-grid { grid-template-columns: 1fr; }
  .foot-top { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 768px) {
  .docs-layout { grid-template-columns: 1fr; }
  .sidebar { display: none; }
  .nav-links { display: none; }
  section { padding: 60px 0; }
  .hero { padding: 68px 0 60px; }
  .cta-box { padding: 36px 24px; }
}

@media (max-width: 480px) {
  .roadmap-grid { grid-template-columns: 1fr; }
  .foot-top { grid-template-columns: 1fr; gap: 24px; }
}
