@font-face {
  font-family: "Inter";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("/fonts/inter-latin-400-normal.woff2") format("woff2");
}

@font-face {
  font-family: "Inter";
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url("/fonts/inter-latin-500-normal.woff2") format("woff2");
}

@font-face {
  font-family: "Inter";
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url("/fonts/inter-latin-600-normal.woff2") format("woff2");
}

@font-face {
  font-family: "Inter";
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url("/fonts/inter-latin-700-normal.woff2") format("woff2");
}

@font-face {
  font-family: "Fraunces";
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url("/fonts/fraunces-latin-500-normal.woff2") format("woff2");
}

@font-face {
  font-family: "Fraunces";
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url("/fonts/fraunces-latin-600-normal.woff2") format("woff2");
}

:root {
  --bg: #eef2ff;
  --bg-2: #f8f5ff;
  --surface: #ffffff;
  --surface-2: #f4f0ff;
  --ink: #0f172a;
  --muted: #334155;
  --line: #d6def8;
  --primary: #4f46e5;
  --primary-2: #2563eb;
  --primary-ink: #ffffff;
  --teal: #0f766e;
  --teal-bg: #d1fae5;
  --amber: #b45309;
  --amber-bg: #fef3c7;
  --danger: #b91c1c;
  --danger-bg: #fee2e2;
  --shadow: 0 18px 50px rgb(79 70 229 / 14%);
  --glow: 0 0 0 1px rgb(255 255 255 / 70%), 0 20px 60px rgb(37 99 235 / 18%);
  --radius: 20px;
  --radius-sm: 12px;
  --space-1: 8px;
  --space-2: 16px;
  --space-3: 24px;
  --space-4: 32px;
  --space-5: 48px;
  --space-6: 64px;
  --font-ui: "Inter", "Segoe UI", sans-serif;
  --font-display: "Fraunces", Georgia, serif;
  --max: 1120px;
  --content: 720px;
  color-scheme: light;
}

:root[data-theme="dark"] {
  --bg: #070b18;
  --bg-2: #10182e;
  --surface: #141b33;
  --surface-2: #1c2544;
  --ink: #f8fafc;
  --muted: #cbd5e1;
  --line: #31406e;
  --primary: #a5b4fc;
  --primary-2: #38bdf8;
  --primary-ink: #0b1020;
  --teal: #5eead4;
  --teal-bg: #134e4a;
  --amber: #fbbf24;
  --amber-bg: #451a03;
  --danger: #fda4af;
  --danger-bg: #4c0519;
  --shadow: 0 18px 50px rgb(0 0 0 / 40%);
  --glow: 0 0 0 1px rgb(165 180 252 / 25%), 0 20px 60px rgb(56 189 248 / 16%);
  color-scheme: dark;
}

* { box-sizing: border-box; }

html { background: var(--bg); }

body {
  margin: 0;
  color: var(--ink);
  background-color: var(--bg);
  background-image:
    radial-gradient(circle at 8% -10%, rgb(79 70 229 / 22%), transparent 28rem),
    radial-gradient(circle at 100% 0%, rgb(14 165 233 / 16%), transparent 26rem),
    radial-gradient(circle at 80% 100%, rgb(20 184 166 / 12%), transparent 24rem);
  font-family: var(--font-ui);
  font-size: 1rem;
  line-height: 1.55;
  min-height: 100vh;
  overflow-x: hidden;
}

:root[data-theme="dark"] body {
  background-color: var(--bg);
  background-image:
    linear-gradient(rgb(148 163 184 / 8%) 1px, transparent 1px),
    linear-gradient(90deg, rgb(148 163 184 / 8%) 1px, transparent 1px),
    radial-gradient(circle at 12% -8%, rgb(99 102 241 / 32%), transparent 24rem),
    radial-gradient(circle at 100% 0%, rgb(14 165 233 / 18%), transparent 22rem);
  background-size: 28px 28px, 28px 28px, auto, auto;
}

h1, h2, h3 {
  font-family: var(--font-ui);
  font-weight: 600;
  letter-spacing: -0.02em;
  line-height: 1.2;
}

h1 { margin: 0 0 4px; font-size: 1.45rem; }
h2 { margin: 0 0 8px; font-size: 1rem; }
h3 { margin: 0 0 var(--space-1); font-size: 1rem; }
p { margin: 8px 0; }
a { color: var(--primary); }
button, input, select, textarea { font: inherit; color: inherit; }

.skip {
  position: absolute;
  left: 8px;
  top: 8px;
  transform: translateY(-160%);
  background: var(--surface);
  color: var(--ink);
  padding: 8px 12px;
  border-radius: var(--radius-sm);
  z-index: 5;
}
.skip:focus { transform: none; }

button:focus-visible, a:focus-visible, input:focus-visible, select:focus-visible {
  outline: 3px solid var(--primary-2);
  outline-offset: 2px;
}

.banner {
  display: flex;
  align-items: center;
  justify-content: center;
  background: #243044;
  color: #e2e8f0;
  padding: 4px 16px;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.01em;
}

:root[data-theme="dark"] .banner {
  background: #121826;
  color: #cbd5e1;
}

.theme-toggle, .button, button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border: 0;
  border-radius: 999px;
  background: linear-gradient(135deg, #4f46e5, #2563eb);
  color: #fff;
  padding: 12px 18px;
  text-decoration: none;
  cursor: pointer;
  box-shadow: 0 10px 24px rgb(37 99 235 / 28%);
}

.theme-toggle, .topbar .theme-toggle, .top-app .theme-toggle {
  width: 36px;
  height: 36px;
  padding: 0;
  border-radius: 999px;
  background: var(--surface);
  color: var(--ink);
  border: 1px solid var(--line);
  box-shadow: none;
}
.theme-icon { width: 18px; height: 18px; }

.button-quiet, .sidebar button, .nav-row button {
  background: var(--surface);
  color: var(--ink);
  border: 1px solid var(--line);
  box-shadow: none;
}

.topbar, .wrap, .hero, .section {
  max-width: var(--max);
  margin: 0 auto;
  padding-left: 16px;
  padding-right: 16px;
}

.topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  min-height: 64px;
  padding-top: 10px;
  padding-bottom: 10px;
}

.wordmark {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-width: 0;
  font-family: var(--font-ui);
  font-weight: 700;
  font-size: 1.02rem;
  color: var(--ink);
  text-decoration: none;
}
.wordmark .brand-mark { width: 28px; height: 28px; flex: 0 0 auto; }
.wordmark .brand-mark .icon { width: 16px; height: 16px; }

.top-actions { display: flex; align-items: center; gap: 8px; margin-left: auto; }
.top-links { display: none; align-items: center; gap: 8px; }
.nav-link {
  text-decoration: none;
  color: var(--ink);
  font-weight: 600;
  padding: 8px 12px;
  border-radius: 10px;
}
.nav-link:hover, .nav-link[aria-current="page"] { background: rgb(79 70 229 / 12%); color: var(--ink); }
.nav-cta { padding: 8px 14px; box-shadow: none; }
.nav-burger {
  display: inline-flex;
  width: 36px;
  height: 36px;
  padding: 0;
  border-radius: 10px;
  background: var(--surface);
  color: var(--ink);
  border: 1px solid var(--line);
  box-shadow: none;
}
.wrap { padding-top: 24px; padding-bottom: 64px; }
.wrap-wide { max-width: var(--max); }

.hero-band {
  width: 100vw;
  position: relative;
  left: 50%;
  transform: translateX(-50%);
  margin-top: -24px;
  margin-bottom: 56px;
  padding: 64px 24px 72px;
  color: #e2e8f0;
  background-color: #1e1b4b;
  background-image:
    linear-gradient(rgb(255 255 255 / 7%) 1px, transparent 1px),
    linear-gradient(90deg, rgb(255 255 255 / 7%) 1px, transparent 1px),
    radial-gradient(circle at 12% -10%, rgb(129 140 248 / 55%), transparent 26rem),
    radial-gradient(circle at 88% 0%, rgb(37 99 235 / 50%), transparent 24rem),
    linear-gradient(135deg, #312e81, #1e40af 48%, #0f172a);
  background-size: 28px 28px, 28px 28px, auto, auto, auto;
}
.hero {
  display: grid;
  gap: 40px;
  align-items: center;
  max-width: var(--max);
  margin: 0 auto;
}
.hero-band .kicker, .hero-band .lede { color: #cbd5e1; }
.hero-title {
  font-family: var(--font-display);
  font-size: clamp(4rem, 9vw, 6.4rem);
  line-height: 0.92;
  font-weight: 600;
  margin: 8px 0 12px;
  background: linear-gradient(120deg, #ffffff, #c7d2fe 42%, #67e8f9);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.hero-quiet {
  background: transparent;
  color: #fff;
  border: 1px solid rgb(255 255 255 / 45%);
}
.product-mock {
  display: grid;
  grid-template-columns: 148px 1fr;
  min-height: 360px;
  border-radius: 22px;
  overflow: hidden;
  background: #0b1020;
  border: 1px solid rgb(255 255 255 / 14%);
  box-shadow: 0 30px 80px rgb(0 0 0 / 35%);
}
.mock-side { background: #141b33; padding: 16px 12px; display: grid; align-content: start; gap: 6px; }
.mock-brand { display: flex; align-items: center; gap: 8px; margin: 0 0 10px; font-weight: 700; color: #fff; }
.mock-nav { margin: 0; padding: 8px 10px; border-radius: 10px; color: #cbd5e1; font-size: 0.92rem; }
.mock-nav.on { background: rgb(129 140 248 / 18%); color: #fff; box-shadow: inset 3px 0 0 #a5b4fc; }
.mock-main { padding: 18px; }
.mock-kicker { margin: 18px 0 0; color: #94a3b8; font-size: 0.75rem; font-weight: 700; letter-spacing: 0.04em; text-transform: uppercase; }
.mock-balance { margin: 4px 0 0; color: #fff; font-size: clamp(1.4rem, 2vw, 1.8rem); font-weight: 600; letter-spacing: -0.03em; }
.mock-hint { margin: 4px 0 12px; color: #94a3b8; }
.mock-chart { width: 100%; height: auto; color: #cbd5e1; }
.section-head { margin-bottom: 20px; max-width: 40rem; }
.section-head h2 { font-size: clamp(1.8rem, 3vw, 2.4rem); }
.eyebrow { margin: 0 0 6px; color: var(--primary); font-size: 0.78rem; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; }
.trust h3 { margin-top: 12px; }
.steps { display: grid; gap: 16px; }
.step-num {
  width: 42px;
  height: 42px;
  margin: 0 0 10px;
  display: grid;
  place-items: center;
  border-radius: 999px;
  background: #fff;
  color: #4338ca;
  font-weight: 700;
  border: 2px solid #4f46e5;
}
.asset { display: inline-flex; align-items: center; gap: 8px; }
.logo { width: 22px; height: 22px; flex: 0 0 auto; }
.code-head { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; justify-content: space-between; margin-bottom: 8px; }
.tabs { display: flex; flex-wrap: wrap; gap: 8px; }
.tab {
  background: var(--surface);
  color: var(--ink);
  border: 1px solid var(--line);
  box-shadow: none;
  border-radius: 999px;
  padding: 6px 12px;
}
.tab[aria-selected="true"] {
  background: linear-gradient(135deg, #4f46e5, #2563eb);
  color: #fff;
  border-color: transparent;
}
.site-footer {
  display: grid;
  gap: 24px;
  margin-top: 32px;
  padding: 32px 0 8px;
  border-top: 1px solid var(--line);
  color: var(--muted);
}
.site-footer a { display: block; text-decoration: none; margin-top: 6px; }
.footer-brand { margin: 0 0 8px; color: var(--ink); font-weight: 700; font-size: 1.05rem; }
.favor { font-size: 1.25rem; line-height: 1.25; overflow-wrap: normal; }

.gradient-title {
  font-family: var(--font-display);
  font-size: clamp(3.2rem, 8vw, 5.4rem);
  line-height: 0.95;
  font-weight: 600;
  background: linear-gradient(120deg, #312e81, #4f46e5 35%, #2563eb 70%, #0f766e);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

:root[data-theme="dark"] .gradient-title {
  background: linear-gradient(120deg, #c4b5fd, #818cf8 40%, #38bdf8 75%, #5eead4);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.kicker { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; color: var(--muted); font-weight: 600; }
.badge, .chip {
  display: inline-flex;
  align-items: center;
  border-radius: 999px;
  padding: 4px 10px;
  background: var(--surface);
  border: 1px solid var(--line);
  color: var(--ink);
  font-size: 0.82rem;
  font-weight: 600;
}
.chip-ok { background: var(--teal-bg); color: var(--teal); border-color: transparent; }
.chip-wait { background: var(--amber-bg); color: var(--amber); border-color: transparent; }
.chip-bad { background: var(--danger-bg); color: var(--danger); border-color: transparent; }
.lede { font-size: 1.15rem; max-width: 40rem; }
.welcome { color: var(--muted); }
.actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 16px; }

.card, .mock, .pay-card {
  background: linear-gradient(180deg, var(--surface), var(--surface-2));
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--glow);
  padding: 24px;
}

.mock { display: grid; gap: 16px; }
.mock-head, .row, .kpi-row, .timeline { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; justify-content: space-between; }
.mock-qr {
  width: 96px;
  height: 96px;
  border-radius: 16px;
  background:
    linear-gradient(90deg, var(--ink) 25%, transparent 25%) 0 0 / 16px 16px,
    linear-gradient(var(--ink) 25%, transparent 25%) 0 0 / 16px 16px,
    var(--surface);
  box-shadow: inset 0 0 0 8px var(--surface);
}
.section { padding-bottom: 32px; }
.grid { display: grid; gap: 16px; }
.feature-title { font-size: 1.05rem; }
.footer { color: var(--muted); padding: 32px 16px 48px; max-width: var(--max); margin: 0 auto; }

.docs-layout { display: grid; gap: 24px; }
.docs-nav {
  display: flex;
  gap: 8px;
  overflow: auto;
  position: sticky;
  top: 0;
  z-index: 2;
  background: color-mix(in srgb, var(--bg) 88%, transparent);
  padding: 8px 0;
}
.docs-nav a { text-decoration: none; white-space: nowrap; padding: 8px 12px; border-radius: 999px; background: var(--surface); border: 1px solid var(--line); color: var(--ink); }
.code, pre.code {
  white-space: pre-wrap;
  overflow-wrap: anywhere;
  background: #0b1020;
  color: #e0e7ff;
  border-radius: var(--radius-sm);
  padding: 16px;
  font-size: 0.92rem;
}
.docs-table { width: 100%; border-collapse: collapse; }
.docs-table th, .docs-table td, .data-table th, .data-table td {
  text-align: left;
  border-bottom: 1px solid var(--line);
  padding: 12px 8px;
  vertical-align: top;
}
.table-scroll { overflow-x: auto; }
.data-table { width: 100%; min-width: 36rem; border-collapse: collapse; }
.num { font-variant-numeric: tabular-nums; font-weight: 600; white-space: nowrap; }
.nowrap { white-space: nowrap; word-break: normal; }
.fee-placeholder { border: 1px dashed var(--primary); }
.faq details { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-sm); padding: 8px 16px; margin: 8px 0; }

.shell { display: grid; gap: 16px; }
.sidebar {
  display: flex;
  flex-direction: column;
  gap: 8px;
  background: color-mix(in srgb, var(--surface) 92%, transparent);
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 12px;
}
.brand { display: flex; align-items: center; gap: 8px; font-weight: 700; }
.brand-mark {
  width: 28px;
  height: 28px;
  border-radius: 8px;
  display: grid;
  place-items: center;
  color: #fff;
  background: linear-gradient(135deg, #4f46e5, #14b8a6);
}
.brand-mark .icon { width: 16px; height: 16px; }
.nav-toggle { display: none; }
.sidebar nav { display: grid; gap: 2px; }
.sidebar nav button, .nav-toggle {
  width: 100%;
  justify-content: flex-start;
  gap: 10px;
  padding: 8px 10px;
  border-radius: 10px;
  background: transparent;
  color: var(--ink);
  border: 0;
  box-shadow: none;
  font-weight: 500;
}
.sidebar nav button[aria-current="page"] {
  background: rgb(79 70 229 / 12%);
  color: #3730a3;
  box-shadow: inset 3px 0 0 #4f46e5;
}
:root[data-theme="dark"] .sidebar nav button[aria-current="page"] {
  background: rgb(129 140 248 / 16%);
  color: #c7d2fe;
  box-shadow: inset 3px 0 0 #a5b4fc;
}
.sidebar-foot { margin-top: auto; border-top: 1px solid var(--line); padding-top: 10px; color: var(--muted); font-size: 0.8rem; }
.sidebar-foot p { margin: 2px 0; overflow-wrap: anywhere; }
.icon { width: 18px; height: 18px; flex: 0 0 auto; }
.top-app { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; }
.command {
  flex: 1 1 16rem;
  justify-content: flex-start;
  gap: 8px;
  background: var(--surface);
  color: var(--muted);
  border: 1px solid var(--line);
  border-radius: 12px;
  box-shadow: none;
  padding: 8px 12px;
}
.command kbd {
  margin-left: auto;
  border: 1px solid var(--line);
  border-radius: 6px;
  padding: 2px 6px;
  font-size: 0.75rem;
  font-family: var(--font-ui);
}
.avatar { position: relative; }
.avatar summary {
  list-style: none;
  width: 36px;
  height: 36px;
  border-radius: 999px;
  display: grid;
  place-items: center;
  background: linear-gradient(135deg, #4f46e5, #0f766e);
  color: #fff;
  font-weight: 700;
  cursor: pointer;
}
.avatar summary::-webkit-details-marker { display: none; }
.avatar-panel {
  position: absolute;
  right: 0;
  top: 44px;
  width: 16rem;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 12px;
  z-index: 4;
  box-shadow: var(--shadow);
}
.page-head { margin: 4px 0 16px; }
.crumb, .subtitle { margin: 0; color: var(--muted); }
.crumb { font-size: 0.8rem; }
.kpi-grid, .stat-grid { display: grid; gap: 12px; grid-template-columns: repeat(auto-fit, minmax(190px, 1fr)); }
.kpi { align-content: start; gap: 4px; }
.kpi-icon {
  width: 32px;
  height: 32px;
  border-radius: 10px;
  display: grid;
  place-items: center;
  color: #fff;
  background: linear-gradient(135deg, #4f46e5, #14b8a6);
}
.kpi-icon .icon { width: 18px; height: 18px; }
.kpi-label { margin: 8px 0 0; color: var(--muted); font-size: 0.75rem; font-weight: 600; letter-spacing: 0.04em; text-transform: uppercase; }
.kpi-value { margin: 0; font-size: 1.7rem; font-weight: 600; letter-spacing: -0.03em; font-variant-numeric: tabular-nums; overflow-wrap: anywhere; }
.kpi-value small { font-size: 0.85rem; color: var(--muted); font-weight: 600; }
.kpi-hint, .kpi-delta { margin: 0; color: var(--muted); font-size: 0.85rem; }
label { display: grid; gap: 6px; margin: 12px 0; font-weight: 600; }
input, select {
  border: 1px solid var(--line);
  background: var(--surface);
  border-radius: 12px;
  padding: 12px;
}
.mono { font-family: ui-monospace, "SFMono-Regular", Menlo, Consolas, monospace; font-size: 0.92rem; word-break: break-all; }
.warn { color: var(--danger); background: var(--danger-bg); padding: 8px 12px; border-radius: 12px; }
.ok { color: var(--teal); }
.empty { padding: 24px; border: 1px dashed var(--line); border-radius: var(--radius); background: var(--surface); }
.empty-title { font-weight: 600; font-size: 1.1rem; }
.amount { font-size: clamp(2rem, 5vw, 3rem); font-weight: 600; letter-spacing: -0.04em; }
.qr { width: min(240px, 70vw); height: auto; border-radius: 16px; background: #fff; padding: 8px; }
.network-grid { display: grid; gap: 12px; }
.timeline ol { margin: 0; padding-left: 18px; }
.toast { position: sticky; bottom: 12px; }
.card { transition: box-shadow 180ms ease, border-color 180ms ease; }
button, .chip, .sidebar button {
  transition: transform 180ms ease, box-shadow 180ms ease, background 180ms ease;
}
button:hover { transform: translateY(-1px); }
.sidebar button:hover, .command:hover, .button-quiet:hover, .theme-toggle:hover, .nav-toggle:hover, .nav-burger:hover, .tab:hover, .hero-quiet:hover { transform: none; }
.kpi:hover, .inset:hover { box-shadow: 0 10px 28px rgb(79 70 229 / 18%); }
.inset { box-shadow: none; }
.meter { height: 10px; border-radius: 999px; background: var(--line); overflow: hidden; }
.meter-fill { display: block; height: 100%; background: linear-gradient(90deg, #4f46e5, #14b8a6); }
.meter-0 { width: 0%; }
.meter-10 { width: 10%; }
.meter-20 { width: 20%; }
.meter-30 { width: 30%; }
.meter-40 { width: 40%; }
.meter-50 { width: 50%; }
.meter-60 { width: 60%; }
.meter-70 { width: 70%; }
.meter-80 { width: 80%; }
.meter-90 { width: 90%; }
.meter-100 { width: 100%; }
.skeleton { display: grid; gap: 12px; }
.skeleton-bar {
  display: block;
  height: 16px;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--line), var(--surface), var(--line));
  background-size: 200% 100%;
  animation: shimmer 1.2s ease infinite;
}
.skeleton-bar.short { width: 40%; }
@keyframes shimmer { from { background-position: 100% 0; } to { background-position: -100% 0; } }
.palette {
  position: fixed;
  inset: 0;
  background: rgb(15 23 42 / 48%);
  display: grid;
  align-items: start;
  justify-content: center;
  padding-top: 12vh;
  z-index: 6;
}
.palette-panel { width: min(32rem, calc(100vw - 32px)); animation: rise 180ms ease; }
.palette-item { width: 100%; justify-content: flex-start; margin-top: 8px; }
@keyframes rise { from { transform: translateY(8px); opacity: 0; } to { transform: none; opacity: 1; } }
.chart-scroll { overflow-x: auto; }
.chart { width: 100%; height: auto; display: block; color: var(--muted); overflow: visible; }
.chart text { font-family: var(--font-ui); fill: currentColor; }
.chart-axis-title, .chart-tick, .chart-label, .chart-legend { font-size: 13px; }
.chart-value { font-size: 14px; font-weight: 600; fill: var(--ink); }
.chart-grid { stroke: currentColor; stroke-opacity: 0.18; }
.chart-axis { stroke: currentColor; stroke-width: 1.5; }

@media (max-width: 719px) {
  .topbar { position: relative; }
  .top-links {
    display: none;
    position: absolute;
    z-index: 4;
    top: calc(100% - 4px);
    right: 16px;
    width: min(16rem, calc(100vw - 32px));
    padding: 8px;
    border: 1px solid var(--line);
    border-radius: 14px;
    background: var(--surface);
    box-shadow: var(--shadow);
  }
  .top-links.open { display: grid; }
  .nav-cta { width: 100%; }
}

@media (min-width: 720px) {
  .nav-burger { display: none; }
  .top-links { display: flex; }
}

@media (max-width: 799px) {
  .nav-toggle { display: inline-flex; }
  .sidebar:not(.open) nav,
  .sidebar:not(.open) .sidebar-foot { display: none; }
  .chart { min-width: 640px; }
}

@media (min-width: 700px) {
  .steps { grid-template-columns: 1fr 1fr; }
}

@media (min-width: 800px) {
  .hero, .docs-layout { grid-template-columns: 1.1fr 0.9fr; }
  .site-footer { grid-template-columns: 1.4fr 0.8fr 0.8fr; }
  .docs-layout { grid-template-columns: 220px 1fr; align-items: start; }
  .docs-nav { flex-direction: column; position: sticky; top: 12px; }
  .shell { grid-template-columns: 240px 1fr; align-items: start; }
  .sidebar { position: sticky; top: 12px; min-height: calc(100vh - 72px); }
  .grid-3 { grid-template-columns: repeat(3, 1fr); }
  .network-grid { grid-template-columns: 1fr 1fr; }
  .mock { grid-template-columns: 1.2fr 0.8fr; }
}

@media (min-width: 1000px) {
  .steps { grid-template-columns: repeat(4, 1fr); position: relative; }
  .steps::before {
    content: "";
    position: absolute;
    top: 21px;
    left: 8%;
    right: 8%;
    height: 2px;
    background: linear-gradient(90deg, #4f46e5, #14b8a6);
  }
  .step-num { position: relative; z-index: 1; }
}

:root[data-theme="dark"] .step-num { background: #141b33; color: #c7d2fe; }

@media (max-width: 640px) {
  .product-mock { grid-template-columns: 1fr; min-height: 0; }
  .mock-side { display: flex; gap: 8px; overflow-x: auto; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none; transition: none; }
  button:hover, .palette-panel { transform: none; }
}
