:root {
  --bg: #f7fbfa;
  --canvas: #f3f8f7;
  --fg: #0c1315;
  --muted: #5b6a6a;
  --muted-2: #6d7c7c;
  --brand: #05705e;
  --brand-deep: #046454;
  --brand-ink: #0a3d34;
  --primary: #2edbb5;
  --primary-2: #25d0ab;
  --card: #ffffff;
  --border: rgba(22, 36, 39, 0.1);
  --border-strong: rgba(22, 36, 39, 0.16);
  --secondary: #ebf2f0;
  --shadow: 0 18px 50px rgba(16, 40, 36, 0.06);
  --shadow-sm: 0 8px 24px rgba(16, 40, 36, 0.05);
  --radius: 24px;
  --header: 68px;
  --max: 1120px;
  --sans: "Plus Jakarta Sans", ui-sans-serif, system-ui, sans-serif;
  --mono: "JetBrains Mono", ui-monospace, monospace;
  color-scheme: light;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--fg);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}
img, svg { display: block; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font-family: inherit; }
button { cursor: pointer; }
h1, h2, h3, p { margin: 0; }

.wrap {
  width: min(var(--max), calc(100% - 40px));
  margin-inline: auto;
}
.wrap-wide {
  width: min(1180px, calc(100% - 40px));
  margin-inline: auto;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: #121a18;
}
.brand .word {
  font-weight: 700;
  font-size: 1.22rem;
  letter-spacing: -0.045em;
  line-height: 1;
  color: #121916;
}
.brand .word span { color: #0f8f78; font-weight: 600; }
.bolt { width: 26px; height: 26px; flex: none; }
.brand-lg { gap: 10px; }
.brand-lg .bolt { width: 42px; height: 42px; }
.brand-lg .word { font-size: 2rem; letter-spacing: -0.05em; }

.site-header {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 40;
  height: var(--header);
  display: flex;
  align-items: center;
  transition: background 0.2s ease, border-color 0.2s ease, backdrop-filter 0.2s ease;
  border-bottom: 1px solid transparent;
}
.site-header.is-scrolled {
  background: rgba(247, 251, 250, 0.88);
  backdrop-filter: blur(16px);
  border-bottom-color: var(--border);
}
.header-inner {
  width: min(1180px, calc(100% - 40px));
  margin-inline: auto;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
}
.header-inner .brand { justify-self: start; }
.site-nav {
  display: flex;
  align-items: center;
  gap: 4px;
}
.site-nav a {
  color: #5d6c6c;
  font-weight: 500;
  font-size: 0.95rem;
  padding: 8px 14px;
  border-radius: 999px;
}
.site-nav a:hover,
.site-nav a.is-active { color: var(--fg); }
.header-cta { justify-self: end; display: flex; align-items: center; gap: 10px; }
.nav-toggle {
  display: none;
  width: 42px;
  height: 42px;
  border-radius: 999px;
  border: 1px solid var(--border);
  background: #fff;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 5px;
}
.nav-toggle span {
  display: block;
  width: 16px;
  height: 1.5px;
  background: var(--fg);
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border-radius: 999px;
  border: 1px solid transparent;
  padding: 12px 18px;
  font-weight: 600;
  font-size: 0.95rem;
  letter-spacing: -0.02em;
  line-height: 1;
  transition: transform 0.15s ease, background 0.15s ease, box-shadow 0.15s ease;
}
.btn:hover { transform: translateY(-1px); }
.btn-primary {
  background: var(--primary);
  color: #06211c;
  box-shadow: 0 8px 20px rgba(46, 219, 181, 0.28);
}
.btn-primary:hover { background: #3ae4c0; }
.btn-ghost {
  background: rgba(255, 255, 255, 0.72);
  color: #1a2422;
  border-color: rgba(22, 36, 39, 0.08);
  box-shadow: 0 8px 24px rgba(16, 40, 36, 0.05);
}
.btn-ghost:hover { background: #fff; }
.btn-sm { padding: 10px 16px; font-size: 0.92rem; }
.btn-dark {
  background: #10201c;
  color: #f4fffb;
  width: 100%;
  border-radius: 12px;
  padding: 11px 14px;
}
.btn .arrow { font-size: 1.05em; }

.hero {
  position: relative;
  min-height: 100svh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  padding: calc(var(--header) + 12px) 20px 72px;
  text-align: center;
}
.hero-horizon {
  position: absolute;
  left: 50%;
  bottom: -34%;
  width: min(1680px, 168%);
  height: 78%;
  transform: translateX(-50%);
  border-radius: 50%;
  background:
    radial-gradient(closest-side at 50% 0%, rgba(255,255,255,0.75) 0%, rgba(255,255,255,0) 34%),
    radial-gradient(closest-side at 50% 0%, #f7fffc 0%, #c9f8ec 28%, #7eecd9 55%, rgba(94, 224, 200, 0.2) 72%, transparent 80%);
  pointer-events: none;
}
.hero-copy {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  max-width: 920px;
}
.hero-copy .brand { margin-bottom: 28px; }
.hero h1 {
  font-size: clamp(3.15rem, 6.5vw, 5.35rem);
  line-height: 0.94;
  letter-spacing: -0.048em;
  font-weight: 800;
}
.hero h1 .teal { color: var(--brand-deep); display: block; }
.hero-lead {
  margin-top: 26px;
  max-width: 640px;
  color: #3e4c4c;
  font-size: 1.08rem;
  line-height: 1.55;
  font-weight: 500;
}
.hero-actions {
  display: flex;
  gap: 12px;
  margin-top: 30px;
  flex-wrap: wrap;
  justify-content: center;
}
.platforms {
  margin-top: 28px;
  display: flex;
  align-items: center;
  gap: 10px;
  color: #5e6d6d;
  font-size: 0.92rem;
}
.platforms b { font-weight: 600; color: #24302f; }
.plat-icons { display: inline-flex; gap: 8px; align-items: center; }
.plat-icons span { display: inline-flex; align-items: center; gap: 5px; color: #24302f; font-weight: 600; }
.scroll-cue {
  position: absolute;
  left: 50%;
  bottom: 28px;
  transform: translateX(-50%);
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  color: #7b8a8a;
  font-size: 0.68rem;
  letter-spacing: 0.22em;
  font-weight: 600;
}
.scroll-cue i {
  width: 1px;
  height: 36px;
  background: linear-gradient(#9adfcc, transparent);
  display: block;
  animation: pulse-line 1.8s ease-in-out infinite;
}
@keyframes pulse-line {
  0%, 100% { transform: scaleY(0.7); opacity: 0.45; }
  50% { transform: scaleY(1); opacity: 1; }
}

.floater {
  position: absolute;
  z-index: 1;
  left: var(--x);
  top: var(--y);
  display: flex;
  align-items: center;
  gap: 8px;
  transform: translate(-50%, -50%);
  animation: drift 7s ease-in-out infinite;
  animation-delay: var(--d, 0s);
  pointer-events: none;
}
@keyframes drift {
  0%, 100% { translate: 0 0; }
  50% { translate: 0 -10px; }
}
.avatar {
  width: var(--s, 52px);
  height: var(--s, 52px);
  border-radius: 50%;
  display: grid;
  place-items: center;
  color: #fff;
  font-weight: 700;
  position: relative;
  box-shadow: 0 10px 24px rgba(16, 40, 36, 0.12);
  background: var(--av, #123);
  flex: none;
}
.avatar .xmark {
  position: absolute;
  right: -2px;
  bottom: -2px;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: #fff;
  color: #111;
  display: grid;
  place-items: center;
  box-shadow: 0 2px 6px rgba(0,0,0,0.12);
}
.chip, .pill {
  background: rgba(255,255,255,0.92);
  border: 1px solid rgba(22,36,39,0.06);
  box-shadow: var(--shadow-sm);
  border-radius: 999px;
  padding: 7px 12px;
  font-size: 0.86rem;
  font-weight: 600;
  color: #243230;
  letter-spacing: -0.02em;
  white-space: nowrap;
}
.pill { color: #3d4f4c; font-weight: 700; display: inline-flex; align-items: center; gap: 7px; }
.dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #1ec98f;
  box-shadow: 0 0 0 3px rgba(30, 201, 143, 0.15);
}

.section { padding: 96px 0; }
.eyebrow {
  color: var(--brand);
  font-weight: 600;
  font-size: 0.98rem;
  margin-bottom: 14px;
}
.h2 {
  font-size: clamp(2.5rem, 4.8vw, 3.7rem);
  line-height: 1.02;
  letter-spacing: -0.042em;
  font-weight: 800;
  max-width: 16ch;
}
.lede {
  margin-top: 18px;
  max-width: 640px;
  color: #4d5c5c;
  font-size: 1.05rem;
}

.rail {
  margin-top: 54px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  position: relative;
  gap: 8px;
}
.rail::before {
  content: "";
  position: absolute;
  left: 6%;
  right: 6%;
  top: 7px;
  height: 2px;
  background: #d7e2df;
}
.rail-fill {
  position: absolute;
  left: 6%;
  top: 7px;
  height: 2px;
  width: 0;
  background: #7ee0cb;
  max-width: 88%;
}
.rail button {
  position: relative;
  background: none;
  border: 0;
  padding: 0;
  color: var(--muted);
  font-size: 0.82rem;
  font-weight: 500;
}
.rail button::before {
  content: "";
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: #fff;
  border: 2px solid #d5e0dd;
  display: block;
  margin: 0 auto 10px;
}
.rail button.is-on { color: var(--fg); }
.rail button.is-on::before {
  background: var(--primary);
  border-color: var(--primary);
  box-shadow: 0 0 0 4px rgba(46, 219, 181, 0.18);
}

.story-wrap { position: relative; margin-top: 28px; }
.story-track {
  display: flex;
  gap: 18px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  padding: 8px 4px 24px;
  scrollbar-width: none;
}
.story-track::-webkit-scrollbar { display: none; }
.story-card {
  scroll-snap-align: center;
  flex: 0 0 min(400px, 82vw);
  background: #fff;
  border: 1px solid rgba(22, 36, 39, 0.07);
  border-radius: 28px;
  padding: 22px;
  box-shadow: var(--shadow);
}
.demo {
  background: linear-gradient(#f8fcfb, #f3f8f6);
  border: 1px solid rgba(22, 36, 39, 0.05);
  border-radius: 22px;
  min-height: 188px;
  padding: 18px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.mini {
  width: min(100%, 280px);
  background: #fff;
  border-radius: 16px;
  border: 1px solid rgba(22,36,39,0.06);
  box-shadow: var(--shadow-sm);
  padding: 14px 14px 12px;
}
.mini-top, .split, .bar-meta, .vault-meta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 8px;
  font-size: 0.78rem;
  color: #667474;
}
.pill-ex {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: #f3f6f5;
  border-radius: 999px;
  padding: 3px 8px;
  font-size: 0.72rem;
  font-weight: 600;
  color: #31403e;
}
.pill-ex i { width: 6px; height: 6px; border-radius: 50%; background: #137738; display: block; }
.amount {
  font-size: 1.7rem;
  font-weight: 700;
  letter-spacing: -0.04em;
  margin: 8px 0 12px;
}
.step-kicker {
  margin-top: 22px;
  font-family: var(--mono);
  font-size: 0.78rem;
  letter-spacing: 0.04em;
  color: #7b8b8b;
}
.story-card h3 {
  margin-top: 8px;
  font-size: 1.35rem;
  letter-spacing: -0.03em;
  line-height: 1.2;
}
.story-card .body {
  margin-top: 10px;
  color: #546363;
  font-size: 0.95rem;
}
.fee-panel, .vault-panel { width: min(100%, 320px); }
.fee-panel .em, .good { color: var(--brand); font-weight: 700; }
.bar {
  height: 8px;
  border-radius: 999px;
  background: #d9e2e0;
  margin: 12px 0;
  overflow: hidden;
  display: flex;
}
.bar > span { display: block; height: 100%; }
.bar .g { background: linear-gradient(90deg, #7ef0dc, #1ec9a8); }
.bar .n { background: #c5d0ce; }
.vault-panel {
  background: #fff;
  border-radius: 18px;
  padding: 16px 16px 12px;
  border: 1px solid rgba(22,36,39,0.06);
  box-shadow: var(--shadow-sm);
}
.vault-label {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  color: #6a7978;
  font-size: 0.82rem;
}
.vault-panel .amount { text-align: center; font-size: 2rem; margin: 6px 0 8px; }
.sent-visual { text-align: center; }
.sent-visual strong {
  display: block;
  font-size: 2.1rem;
  letter-spacing: -0.04em;
}
.sent-visual em { font-style: normal; color: var(--brand); font-weight: 700; }
.wallet-line {
  margin-top: 14px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: #fff;
  border-radius: 999px;
  padding: 8px 12px;
  font-size: 0.82rem;
  color: #3c4c4a;
  border: 1px solid var(--border);
}
.story-nav {
  position: absolute;
  right: -48px;
  top: 118px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  z-index: 2;
}
.story-nav button {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: 1px solid var(--border);
  background: #fff;
  box-shadow: var(--shadow-sm);
  color: #24302f;
  font-size: 1.1rem;
}

.band {
  border-top: 1px solid rgba(22, 36, 39, 0.08);
  border-bottom: 1px solid rgba(22, 36, 39, 0.08);
  background: rgba(247, 251, 250, 0.55);
}
.band-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 24px;
}
.link-brand { color: var(--brand); font-weight: 600; }
.link-brand:hover { text-decoration: underline; }

.marquee {
  height: 560px;
  overflow: hidden;
  margin-top: 28px;
  mask-image: linear-gradient(transparent, #000 10%, #000 90%, transparent);
}
.marquee-track {
  display: flex;
  flex-direction: column;
  gap: 12px;
  animation: rise 32s linear infinite;
}
.marquee:hover .marquee-track { animation-play-state: paused; }
@keyframes rise {
  from { transform: translateY(0); }
  to { transform: translateY(-50%); }
}
.feed {
  width: min(560px, 100%);
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.tx {
  background: #fff;
  border-radius: 18px;
  border: 1px solid rgba(22,36,39,0.06);
  box-shadow: var(--shadow-sm);
  padding: 14px 16px 12px;
}
.tx-top, .tx-bot {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  align-items: center;
}
.tx-status {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: #3e8f72;
  font-size: 0.82rem;
  font-weight: 600;
}
.tx-status.alt { color: #5c6e6c; }
.ago { color: #8a9897; font-size: 0.8rem; }
.tx-main {
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 12px;
  align-items: center;
  margin-top: 10px;
}
.who-k { color: #8a9897; font-size: 0.75rem; }
.who { font-weight: 700; letter-spacing: -0.02em; display: flex; align-items: center; gap: 4px; }
.check {
  width: 14px; height: 14px; border-radius: 50%;
  background: #1d9bf0; color: #fff; font-size: 9px;
  display: inline-grid; place-items: center;
}
.tx-amt {
  font-size: 1.35rem;
  font-weight: 700;
  letter-spacing: -0.03em;
}
.tx-bot {
  margin-top: 10px;
  padding-top: 10px;
  border-top: 1px dashed #e1e8e6;
  color: #7d8c8b;
  font-size: 0.82rem;
}

.grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin-top: 36px;
}
.panel {
  background: #fff;
  border: 1px solid rgba(22,36,39,0.07);
  border-radius: 24px;
  padding: 22px;
  box-shadow: var(--shadow-sm);
}
.icon-bubble {
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background: #f2f6f5;
  display: grid;
  place-items: center;
  margin-bottom: 22px;
}
.panel h3 { font-size: 1.25rem; letter-spacing: -0.03em; margin-bottom: 8px; }
.panel p { color: #546463; font-size: 0.95rem; }
.fine { margin-top: 22px; color: #667574; font-size: 0.92rem; }

.pad-box {
  margin-top: 28px;
  background: rgba(255,255,255,0.45);
  border: 1px solid rgba(22,36,39,0.08);
  border-radius: 28px;
  padding: 28px;
}
.pad-box h3 { font-size: 1.45rem; letter-spacing: -0.03em; }
.pad-box > p { margin-top: 10px; max-width: 62ch; color: #4e5d5c; }
.pads { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; margin-top: 22px; }
.pad {
  background: #fff;
  border-radius: 18px;
  padding: 16px;
  border: 1px solid rgba(22,36,39,0.05);
  min-height: 168px;
}
.pad-top { display: flex; align-items: center; gap: 10px; margin-bottom: 12px; }
.mark {
  width: 36px; height: 36px; border-radius: 10px; display: grid; place-items: center; flex: none;
}
.pad strong { font-size: 0.98rem; }
.live { color: #1a9a56; font-size: 0.75rem; font-weight: 700; }
.badge {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  border: 1px solid #d7ebe4;
  background: #f3fbf7;
  color: #13724a;
  border-radius: 999px;
  font-size: 0.68rem;
  font-weight: 700;
  padding: 2px 7px;
}
.pad p { color: #5c6b6a; font-size: 0.88rem; margin-top: 8px; }
.pad a { color: var(--brand); font-weight: 600; font-size: 0.88rem; display: inline-block; margin-top: 10px; }

.cta {
  position: relative;
  overflow: hidden;
  text-align: center;
  padding: 110px 20px 120px;
}
.cta-horizon {
  position: absolute;
  left: 50%;
  bottom: -52%;
  width: min(1600px, 160%);
  height: 100%;
  transform: translateX(-50%);
  border-radius: 50%;
  background: radial-gradient(closest-side at 50% 0%, #ffffff 0%, #e7fff8 24%, #b6f6e6 48%, #7ee8d4 68%, transparent 80%);
  pointer-events: none;
}
.cta .inner { position: relative; z-index: 1; }
.cta h2 {
  font-size: clamp(2.7rem, 5.4vw, 4.3rem);
  letter-spacing: -0.045em;
  line-height: 0.98;
  font-weight: 800;
}
.cta h2 span { color: var(--brand-deep); display: block; }
.cta p { margin: 18px auto 0; max-width: 520px; color: #4c5b5a; }
.cta .hero-actions { margin-top: 28px; }

.site-footer { border-top: 1px solid var(--border); padding: 48px 0 0; background: var(--bg); }
.foot-grid {
  display: grid;
  grid-template-columns: 1.3fr 1fr 1fr 1fr;
  gap: 24px;
  padding-bottom: 36px;
}
.foot-brand p { color: #5d6c6b; margin: 14px 0; font-size: 0.92rem; max-width: 24ch; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; max-width: 260px; }
.chips a {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  border: 1px solid var(--border);
  background: #fff;
  border-radius: 999px;
  padding: 6px 10px;
  font-size: 0.8rem;
  font-weight: 600;
}
.site-footer h4 {
  font-size: 0.82rem;
  color: #24302f;
  margin-bottom: 12px;
}
.site-footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.site-footer li a { color: #5e6d6c; font-size: 0.92rem; }
.site-footer li a:hover { color: var(--fg); }
.legalbar {
  border-top: 1px solid var(--border);
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding: 16px 0 20px;
  color: #7c8b8a;
  font-size: 0.78rem;
}

.page {
  padding: calc(var(--header) + 48px) 0 80px;
}
.page h1 {
  font-size: clamp(2.4rem, 4vw, 3.4rem);
  letter-spacing: -0.04em;
  line-height: 1.05;
  font-weight: 800;
}
.sub { margin-top: 12px; color: #526261; max-width: 68ch; }

.docs-layout {
  display: grid;
  grid-template-columns: 220px 1fr;
  gap: 42px;
  margin-top: 36px;
}
.toc { position: sticky; top: 92px; align-self: start; display: grid; gap: 6px; }
.toc a { color: #60706f; font-size: 0.86rem; padding: 4px 0; }
.toc a:hover { color: var(--brand); }
.doc h2 {
  font-size: 1.45rem;
  letter-spacing: -0.03em;
  margin: 36px 0 10px;
}
.doc h3 { margin: 18px 0 6px; font-size: 1.05rem; }
.doc p, .doc li { color: #3e4e4d; }
.doc p { margin: 8px 0; }
.doc ol, .doc ul { padding-left: 1.2rem; }
.doc code, .mono {
  font-family: var(--mono);
  font-size: 0.84em;
}
.doc pre {
  background: #10201c;
  color: #d7fff4;
  padding: 14px 16px;
  border-radius: 14px;
  overflow: auto;
  font-family: var(--mono);
  font-size: 0.82rem;
}
.steps { display: grid; gap: 10px; margin: 12px 0; }
.step-row {
  display: grid;
  grid-template-columns: 36px 1fr;
  gap: 12px;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 12px;
}
.num {
  width: 36px; height: 36px; border-radius: 50%;
  background: #e7f8f3; color: var(--brand);
  display: grid; place-items: center; font-weight: 700;
}

.table-wrap {
  margin-top: 28px;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 20px;
  overflow: auto;
}
table { width: 100%; border-collapse: collapse; min-width: 680px; }
th, td { text-align: left; padding: 14px 16px; border-bottom: 1px solid #eef3f2; }
th { font-size: 0.75rem; letter-spacing: 0.04em; text-transform: uppercase; color: #7a8988; font-weight: 700; }
td { font-size: 0.95rem; }
tr:last-child td { border-bottom: 0; }
tr:hover td { background: #f7fbfa; }
.token-cell { display: flex; align-items: center; gap: 10px; font-weight: 700; }
.token-cell small { display: block; font-weight: 600; color: #70807f; }
.search {
  margin-top: 22px;
  display: flex;
  gap: 10px;
}
.search input, .field input, .field select, .field textarea {
  width: 100%;
  border: 1px solid var(--border-strong);
  background: #fff;
  border-radius: 14px;
  padding: 12px 14px;
  font-size: 1rem;
  color: var(--fg);
  outline: none;
}
.search input:focus, .field input:focus, .field select:focus, .field textarea:focus {
  border-color: #15b898;
  box-shadow: 0 0 0 4px rgba(46, 219, 181, 0.18);
}

.launch-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 28px;
  margin-top: 28px;
  align-items: start;
}
.card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 24px;
  padding: 22px;
  box-shadow: var(--shadow-sm);
}
.progress-label { color: #70807f; font-size: 0.82rem; font-weight: 700; letter-spacing: 0.04em; }
.seg { display: flex; gap: 8px; margin: 8px 0 16px; }
.seg button, .choice {
  border: 1px solid var(--border);
  background: #fff;
  border-radius: 999px;
  padding: 8px 14px;
  font-weight: 700;
}
.seg button.is-on, .choice.is-on {
  background: #10201c;
  color: #fff;
  border-color: #10201c;
}
.field { display: grid; gap: 6px; margin-bottom: 14px; }
.field label { font-size: 0.86rem; font-weight: 700; }
.hint { color: #70807f; font-size: 0.8rem; }
.wizard-actions { display: flex; justify-content: space-between; gap: 10px; margin-top: 8px; }
.preview-token {
  display: flex; gap: 12px; align-items: center; margin: 8px 0 14px;
}
.preview-token .mark { width: 48px; height: 48px; border-radius: 14px; }
.kv { display: flex; justify-content: space-between; gap: 12px; padding: 8px 0; border-top: 1px solid #eef3f2; font-size: 0.92rem; }
.kv span { color: #667675; }
.fee-split { display: flex; height: 10px; border-radius: 999px; overflow: hidden; margin: 8px 0; }
.fee-split span:first-child { width: 80%; background: #2edbb5; }
.fee-split span:last-child { width: 20%; background: #d5dedc; }

.app-shell { min-height: 100vh; display: grid; grid-template-columns: 248px 1fr; background: var(--canvas); }
.side {
  position: sticky;
  top: 0;
  height: 100vh;
  background: #eef4f2;
  border-right: 1px solid rgba(22,36,39,0.08);
  padding: 18px 14px;
  display: flex;
  flex-direction: column;
}
.side nav { display: grid; gap: 16px; margin-top: 22px; }
.side h5 { margin: 0 0 6px; padding: 0 10px; font-size: 0.72rem; letter-spacing: 0.08em; text-transform: uppercase; color: #7b8b8a; }
.side a {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px 10px;
  border-radius: 10px;
  color: #314241;
  font-weight: 600;
  font-size: 0.92rem;
}
.side a:hover { background: rgba(22,36,39,0.05); }
.side a.is-active { background: #fff; color: var(--brand-ink); box-shadow: 0 1px 0 rgba(22,36,39,0.04); }
.app-main { padding: 22px 28px 48px; }
.app-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  margin-bottom: 22px;
}
.kbar {
  flex: 1;
  max-width: 460px;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 10px 12px;
  color: #80908f;
  display: flex;
  justify-content: space-between;
  text-align: left;
}
kbd {
  font-family: var(--mono);
  font-size: 0.72rem;
  border: 1px solid var(--border);
  border-radius: 6px;
  padding: 2px 6px;
  color: #60706f;
}
.stat-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; }
.stat {
  background: #fff;
  border-radius: 18px;
  padding: 16px;
  border: 1px solid var(--border);
}
.stat span { color: #6d7d7c; font-size: 0.82rem; }
.stat strong { display: block; margin-top: 8px; font-size: 1.45rem; letter-spacing: -0.03em; }
.app-section { margin-top: 26px; }
.app-section h2 { font-size: 1.25rem; letter-spacing: -0.03em; margin-bottom: 12px; }

.modal {
  position: fixed;
  inset: 0;
  background: rgba(8, 16, 16, 0.45);
  display: none;
  align-items: flex-start;
  justify-content: center;
  padding: 12vh 16px 16px;
  z-index: 60;
}
.modal.is-open { display: flex; }
.modal .card { width: min(560px, 100%); }
.modal h3 { margin-bottom: 8px; }
.result { padding: 8px 0; border-bottom: 1px solid #eef3f2; display: block; }
.toast {
  position: fixed;
  bottom: 18px;
  right: 18px;
  background: #10201c;
  color: #f3fffb;
  padding: 12px 14px;
  border-radius: 14px;
  box-shadow: var(--shadow);
  display: none;
  z-index: 70;
  max-width: 320px;
}
.toast.is-on { display: block; }

.prose-page { max-width: 760px; }
.prose-page h2 { margin-top: 28px; font-size: 1.3rem; }
.prose-page p { margin-top: 10px; color: #3f4f4e; }

@media (max-width: 980px) {
  .header-inner { grid-template-columns: 1fr auto; }
  .site-nav {
    display: none;
    position: absolute;
    top: var(--header);
    left: 0; right: 0;
    background: rgba(247,251,250,0.98);
    border-bottom: 1px solid var(--border);
    padding: 10px 16px 16px;
    flex-direction: column;
    align-items: stretch;
  }
  body.nav-open .site-nav { display: flex; }
  .nav-toggle { display: flex; }
  .header-cta .btn { display: none; }
  .grid-3, .pads, .foot-grid, .docs-layout, .launch-grid, .stat-grid { grid-template-columns: 1fr; }
  .docs-layout { gap: 16px; }
  .toc { position: static; grid-auto-flow: column; overflow: auto; }
  .app-shell { grid-template-columns: 1fr; }
  .side { position: relative; height: auto; }
  .floater { display: none; }
  .band-head, .legalbar { flex-direction: column; align-items: flex-start; }
  .story-nav { display: none; }
  .h2 { max-width: none; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation: none !important;
    transition: none !important;
  }
}
