:root {
  color-scheme: dark;
  --bg: #020617;
  --panel: #0f172a;
  --border: #1e293b;
  --muted: #94a3b8;
  --text: #e2e8f0;
  --accent: #a5b4fc;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 7rem; }
body {
  margin: 0;
  color: var(--text);
  background: radial-gradient(ellipse at 12% 2%, rgba(79,70,229,.16), transparent 31rem), radial-gradient(ellipse at 94% 24%, rgba(2,132,199,.11), transparent 30rem), var(--bg);
  font-family: Arial, Helvetica, sans-serif;
  line-height: 1.65;
}
::selection { color: white; background: #4f46e5; }
a { color: var(--accent); text-underline-offset: .2em; }
a:hover { color: #c7d2fe; }
a:focus-visible { outline: 3px solid #7dd3fc; outline-offset: 4px; }
.skip-link { position: absolute; top: -4rem; left: 1rem; z-index: 99; padding: .5rem 1rem; background: white; color: #020617; }
.skip-link:focus { top: 1rem; }
.container { width: min(1120px, calc(100% - 48px)); margin-inline: auto; }
.site-header { position: sticky; top: 0; z-index: 10; background: rgba(2,6,23,.9); border-bottom: 1px solid rgba(51,65,85,.6); backdrop-filter: blur(14px); }
.header-inner { min-height: 76px; display: flex; align-items: center; justify-content: space-between; gap: 20px; }
.brand { display: flex; align-items: center; color: #cbd5e1; text-decoration: none; white-space: nowrap; font-size: .75rem; font-weight: 700; }
.brand img { width: 144px; height: auto; display: block; }
.brand span { margin-left: -5px; }
.nav, .footer nav { display: flex; align-items: center; gap: 28px; }
.nav a, .footer a { color: #cbd5e1; font-size: .83rem; text-decoration: none; }
.nav a:hover, .nav a[aria-current="page"], .footer a:hover { color: #a5b4fc; }
.button { display: inline-flex; align-items: center; justify-content: center; gap: .75rem; padding: .9rem 1.25rem; border: 1px solid transparent; border-radius: .75rem; color: white; font-size: .88rem; font-weight: 700; text-decoration: none; transition: background .2s, border-color .2s, transform .2s; }
.button:hover { color: white; transform: translateY(-2px); }
.button-primary { background: linear-gradient(110deg, #4f46e5, #0284c7); box-shadow: 0 12px 30px rgba(79,70,229,.2); }
.button-primary:hover { background: linear-gradient(110deg, #6366f1, #0ea5e9); }
.button-outline { border-color: #334155; background: rgba(15,23,42,.75); }
.button-outline:hover { background: #1e293b; border-color: #475569; }
.button-small { padding: .6rem .9rem; font-size: .8rem; }
.hero { text-align: center; padding-top: 95px; padding-bottom: 28px; }
.eyebrow { color: #a5b4fc; font-size: .7rem; font-weight: 700; letter-spacing: .14em; }
.pill { display: inline-flex; align-items: center; gap: .6rem; padding: .45rem .8rem; border: 1px solid rgba(99,102,241,.3); border-radius: 999px; background: rgba(99,102,241,.1); letter-spacing: .09em; }
.status-dot, .terminal-dot { width: 7px; height: 7px; display: inline-block; border-radius: 50%; background: #38bdf8; box-shadow: 0 0 12px #38bdf8; }
h1, h2, h3, p { margin-top: 0; }
h1, h2, h3 { color: #f8fafc; line-height: 1.15; letter-spacing: -.035em; }
.hero h1 { margin: 1.7rem 0 1.3rem; font-size: clamp(2.8rem, 6.2vw, 5.2rem); font-weight: 800; }
.gradient-text { color: #a5b4fc; background: linear-gradient(100deg, #a5b4fc, #38bdf8); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; }
.hero-copy { max-width: 720px; margin: 0 auto; color: var(--muted); font-size: clamp(1.02rem, 1.6vw, 1.2rem); }
.actions { display: flex; justify-content: center; align-items: center; flex-wrap: wrap; gap: 12px; margin-top: 2rem; }
.actions-left { justify-content: flex-start; }
.hero-note { margin: 1.3rem 0 0; color: #94a3b8; font-size: .78rem; }
.pipeline { max-width: 930px; margin: 4.5rem auto 0; border: 1px solid #29364d; border-radius: 1.2rem; background: linear-gradient(140deg, rgba(30,41,59,.66), rgba(15,23,42,.72)); box-shadow: 0 28px 80px rgba(0,0,0,.32); text-align: left; overflow: hidden; }
.pipeline-top, .pipeline-bottom { display: flex; justify-content: space-between; gap: 1rem; padding: 1rem 1.4rem; color: #94a3b8; font-size: .63rem; font-weight: 700; letter-spacing: .1em; }
.pipeline-top { border-bottom: 1px solid #253149; }
.terminal-dot { margin-right: .4rem; }
.pipeline-flow { display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding: 2rem 1.5rem; }
.flow-node { flex: 1; display: flex; align-items: center; gap: .8rem; min-width: 0; padding: 1rem; border: 1px solid #263449; border-radius: .8rem; background: rgba(2,6,23,.65); }
.flow-icon, .card-icon { display: grid; place-items: center; flex: 0 0 auto; width: 42px; height: 42px; color: #a5b4fc; border: 1px solid rgba(129,140,248,.2); border-radius: .7rem; background: rgba(99,102,241,.12); font-size: 1.3rem; }
.flow-node strong, .flow-node small { display: block; }
.flow-node strong { color: #f8fafc; font-size: .85rem; }
.flow-node small { margin-top: .2rem; color: #94a3b8; font-size: .68rem; }
.flow-arrow { color: #818cf8; }
.pipeline-bottom { justify-content: flex-start; border-top: 1px solid #253149; color: #a5b4fc; }
.pipeline-detail { margin-left: auto; color: #94a3b8; letter-spacing: 0; font-weight: 400; }
.section { padding-top: 100px; padding-bottom: 100px; }
.section-heading { max-width: 660px; margin-bottom: 2.5rem; }
.section-heading h2, .community-card h2, .cta-strip h2 { margin: .8rem 0 1rem; font-size: clamp(2rem, 4vw, 3rem); }
.section-heading p, .community-card p, .cta-strip p { color: var(--muted); }
.muted-heading { color: #94a3b8; }
.card-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.card { min-height: 220px; padding: 1.5rem; border: 1px solid var(--border); border-radius: 1rem; background: rgba(15,23,42,.55); }
.card h3 { margin: 1.4rem 0 .6rem; font-size: 1.05rem; }
.card p, .steps p { margin-bottom: 0; color: var(--muted); font-size: .88rem; }
.section-band { border-block: 1px solid #172238; background: rgba(15,23,42,.28); }
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2rem; }
.steps article { border-top: 1px solid #334155; padding-top: 1.2rem; }
.step-number { color: #818cf8; font-family: monospace; font-size: .85rem; }
.steps h3 { margin: 1rem 0 .6rem; font-size: 1.1rem; }
.notice { margin-top: 2.5rem; padding: 1rem 1.2rem; border: 1px solid rgba(129,140,248,.25); border-radius: .8rem; background: rgba(79,70,229,.08); color: #cbd5e1; font-size: .88rem; }
.notice strong { color: #e0e7ff; }
.community-card { display: grid; grid-template-columns: 1.5fr 1fr; gap: 4rem; padding: clamp(1.5rem, 4vw, 3rem); border: 1px solid rgba(99,102,241,.25); border-radius: 1.5rem; background: linear-gradient(125deg, rgba(49,46,129,.25), rgba(15,23,42,.85) 65%); }
.community-card p { max-width: 620px; }
.community-aside { align-self: center; padding: 1.5rem; border: 1px solid #334155; border-radius: 1rem; background: rgba(2,6,23,.45); }
.community-aside h3 { margin: .7rem 0; font-size: 1.15rem; }
.community-aside p { font-size: .87rem; }
.text-link { font-size: .88rem; font-weight: 700; text-decoration: none; }
.footer { border-top: 1px solid var(--border); background: rgba(2,6,23,.7); }
.footer-inner { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 1.5rem; padding-block: 2rem; font-size: .8rem; }
.footer-muted { color: #94a3b8; }
.footer nav { flex-wrap: wrap; gap: 1.25rem; }
.footer a { color: #94a3b8; font-size: .8rem; }
.page { padding-top: 85px; padding-bottom: 100px; }
.page-intro { max-width: 730px; }
.page-intro h1 { margin: .9rem 0 1rem; font-size: clamp(2.7rem, 5vw, 4.4rem); }
.page-intro p { color: var(--muted); font-size: 1.1rem; }
.docs-layout { display: grid; grid-template-columns: 210px minmax(0, 1fr); gap: 4rem; margin-top: 4rem; }
.docs-nav { align-self: start; position: sticky; top: 110px; }
.docs-nav nav { display: flex; flex-direction: column; gap: .7rem; margin-top: 1.25rem; }
.docs-nav a { color: var(--muted); font-size: .87rem; text-decoration: none; }
.docs-nav a:hover { color: #c7d2fe; }
.prose { min-width: 0; max-width: 760px; }
.prose section { padding-bottom: 3.5rem; }
.prose h2 { margin: .8rem 0 1rem; font-size: 1.8rem; }
.prose p, .roadmap-item p, .roadmap-item li { color: #cbd5e1; font-size: .95rem; }
.prose code { overflow-wrap: anywhere; color: #c7d2fe; font-size: .9em; }
.prose pre { padding: 1.2rem; overflow-x: auto; border: 1px solid #263449; border-radius: .75rem; background: #0b1222; color: #c7d2fe; font-size: .87rem; line-height: 1.7; }
.prose pre code { overflow-wrap: normal; color: inherit; }
.doc-links { display: grid; gap: .75rem; margin: 1.5rem 0; }
.doc-links a { display: block; padding: 1rem 1.2rem; border: 1px solid var(--border); border-radius: .75rem; background: rgba(15,23,42,.55); text-decoration: none; }
.doc-links a:hover { border-color: #6366f1; }
.doc-links strong, .doc-links span { display: block; }
.doc-links strong { color: #f8fafc; }
.doc-links span { margin-top: .25rem; color: var(--muted); font-size: .82rem; }
.table-wrap { overflow-x: auto; margin: 1.5rem 0; }
table { width: 100%; border-collapse: collapse; text-align: left; font-size: .88rem; }
th, td { padding: .85rem; border-bottom: 1px solid var(--border); vertical-align: top; }
th { color: #f8fafc; }
td { color: #cbd5e1; }
.roadmap-list { margin-top: 4rem; }
.roadmap-item { display: grid; grid-template-columns: 1fr 1.5fr; gap: 3rem; padding: 2.5rem 0; border-top: 1px solid var(--border); }
.roadmap-label { color: #a5b4fc; font-size: .67rem; font-weight: 700; letter-spacing: .12em; }
.roadmap-item h2 { margin: .8rem 0 0; font-size: 1.7rem; }
.roadmap-item ul { padding-left: 1.2rem; }
.roadmap-item li { margin: .6rem 0; }
.roadmap-item .subtle { color: #94a3b8; font-size: .82rem; }
.cta-strip { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 1rem; padding: 2.5rem; border: 1px solid rgba(99,102,241,.25); border-radius: 1rem; background: rgba(79,70,229,.08); }
.cta-strip h2 { font-size: 1.8rem; }
.cta-strip p { margin-bottom: 0; }
@media (max-width: 900px) {
  .header-inner { flex-wrap: wrap; padding-block: .5rem; }
  .nav { order: 3; width: 100%; justify-content: center; gap: 1.3rem; padding-bottom: .4rem; }
  .card-grid { grid-template-columns: repeat(2, 1fr); }
  .flow-node { flex-direction: column; align-items: flex-start; }
  .docs-layout { grid-template-columns: 1fr; gap: 2rem; }
  .docs-nav { position: static; }
  .docs-nav nav { flex-direction: row; flex-wrap: wrap; column-gap: 1.3rem; }
}
@media (max-width: 600px) {
  .container { width: min(100% - 32px, 1120px); }
  .brand img { width: 120px; }
  .brand span { font-size: .68rem; }
  .nav { justify-content: flex-start; overflow-x: auto; white-space: nowrap; gap: 1.2rem; }
  .nav a { font-size: .78rem; }
  .hero { padding-top: 65px; }
  .hero h1 { font-size: clamp(2.5rem, 10vw, 3.5rem); }
  .hero .actions .button { width: 100%; }
  .pipeline { margin-top: 3rem; }
  .pipeline-flow { flex-direction: column; align-items: stretch; }
  .flow-node { flex-direction: row; align-items: center; }
  .flow-arrow { align-self: center; transform: rotate(90deg); }
  .pipeline-detail { display: none; }
  .section { padding-block: 70px; }
  .card-grid, .steps, .community-card, .roadmap-item { grid-template-columns: 1fr; }
  .card { min-height: 0; }
  .community-card, .roadmap-item { gap: 1.5rem; }
  .page { padding-top: 60px; }
  .footer-inner { align-items: flex-start; flex-direction: column; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .button { transition: none; }
}
