/* Voltpad: shared styles */
:root {
  --bg: #0A0A0B;
  --bg-2: #101011;
  --bg-3: #161618;
  --fg: #F2F2F0;
  --fg-2: #B9B9B5;
  --muted: #84847F;
  --dim: #5E5E5A;
  --line: rgba(242, 242, 240, 0.09);
  --line-2: rgba(242, 242, 240, 0.16);
  --accent: #C4FF2E;
  --accent-2: #8FD400;
  --on-accent: #0A0A0B;
  --sans: "Inter Tight", "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
  --mono: "JetBrains Mono", ui-monospace, "SFMono-Regular", Menlo, Consolas, monospace;
  --radius: 14px;
  --radius-sm: 8px;
  --pad: clamp(20px, 4vw, 56px);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--fg);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}
img, svg, canvas { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button, input, textarea, select { font: inherit; color: inherit; }
button { cursor: pointer; }
h1, h2, h3, h4 { margin: 0; font-weight: 500; letter-spacing: -0.035em; line-height: 1.05; }
p { margin: 0; }
ul, ol { margin: 0; padding: 0; list-style: none; }
::selection { background: var(--accent); color: var(--on-accent); }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 4px; }

.skip-link {
  position: absolute; left: 12px; top: -60px; z-index: 100;
  background: var(--accent); color: var(--on-accent); padding: 8px 14px; border-radius: 999px;
  font-family: var(--mono); font-size: 12px;
}
.skip-link:focus { top: 12px; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* ---------- type helpers ---------- */
.mono { font-family: var(--mono); }
.label {
  font-family: var(--mono); font-size: 11.5px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--muted);
}
.label .tick { color: var(--accent); }
.grey { color: var(--dim); }
.lede { color: var(--fg-2); font-size: 18px; line-height: 1.6; max-width: 34em; }
.small { font-size: 14px; color: var(--muted); }
.accent { color: var(--accent); }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  height: 46px; padding: 0 24px; border-radius: 999px; border: 1px solid var(--line-2);
  font-family: var(--mono); font-size: 12.5px; letter-spacing: 0.1em; text-transform: uppercase;
  background: transparent; transition: background .2s, color .2s, border-color .2s, transform .2s;
  white-space: nowrap;
}
.btn:hover { border-color: var(--fg); }
.btn-solid { background: var(--fg); color: var(--bg); border-color: var(--fg); }
.btn-solid:hover { background: var(--accent); border-color: var(--accent); color: var(--on-accent); }
.btn-accent { background: var(--accent); color: var(--on-accent); border-color: var(--accent); }
.btn-accent:hover { background: var(--fg); border-color: var(--fg); }
.btn-sm { height: 36px; padding: 0 16px; font-size: 11.5px; }
.text-link { color: var(--fg); border-bottom: 1px solid var(--line-2); transition: border-color .2s; }
.text-link:hover { border-color: var(--accent); }

/* ---------- landing header ---------- */
.landing-header {
  position: sticky; top: 0; z-index: 40;
  display: flex; align-items: center; gap: 48px;
  height: 92px; padding: 0 var(--pad);
  border-bottom: 1px solid var(--line);
  background: rgba(10, 10, 11, 0.78); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
}
.brand { display: inline-flex; align-items: center; gap: 11px; font-size: 25px; font-weight: 600; letter-spacing: -0.04em; }
.brand svg { width: 30px; height: 30px; }
.landing-nav { display: flex; gap: 30px; }
.landing-nav a, .nav-link {
  font-family: var(--mono); font-size: 12px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--fg-2);
  transition: color .2s;
}
.landing-nav a:hover { color: var(--fg); }
.header-end { margin-left: auto; display: flex; align-items: center; gap: 18px; }
.x-link { display: inline-grid; place-items: center; width: 36px; height: 36px; color: var(--fg-2); }
.x-link:hover { color: var(--fg); }
.x-link svg { width: 18px; height: 18px; }
.menu-toggle {
  display: none; width: 42px; height: 42px; border-radius: 999px; border: 1px solid var(--line-2); background: transparent;
  place-items: center;
}
.menu-toggle span { display: block; width: 16px; height: 1.5px; background: var(--fg); position: relative; }
.menu-toggle span::before, .menu-toggle span::after { content: ""; position: absolute; left: 0; width: 16px; height: 1.5px; background: var(--fg); }
.menu-toggle span::before { top: -5px; } .menu-toggle span::after { top: 5px; }

/* ---------- hero ---------- */
.hero {
  position: relative; overflow: hidden;
  min-height: calc(100vh - 92px); min-height: calc(100svh - 92px);
  display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); align-items: center;
  padding: 64px var(--pad) 80px;
}
.hero-copy { position: relative; z-index: 2; max-width: 720px; }
.hero h1 { font-size: clamp(44px, 6.7vw, 104px); letter-spacing: -0.06em; line-height: 0.95; margin: 28px 0 36px; }
.hero h1 .grey { color: #8C8C88; }
.hero .lede { max-width: 30em; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 40px; }
.hero-art {
  position: absolute; z-index: 1; right: -6%; top: 50%; width: min(64vw, 1000px); transform: translateY(-50%);
  pointer-events: none;
}
.hero-art::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(90deg, var(--bg) 0%, rgba(10,10,11,0) 30%), linear-gradient(0deg, var(--bg) 0%, rgba(10,10,11,0) 22%);
}
.hero-art svg { width: 100%; height: auto; }
.float { animation: float 9s ease-in-out infinite; }
.pulse { animation: pulse 3.6s ease-in-out infinite; }
@keyframes float { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-14px); } }
@keyframes pulse { 0%, 100% { opacity: .55; } 50% { opacity: 1; } }

/* token strip (only rendered when CONTRACT_ADDRESS is set) */
.token-strip {
  display: inline-flex; flex-wrap: wrap; align-items: center; gap: 12px 16px; margin-top: 20px;
  padding: 10px 14px; border: 1px solid var(--line-2); border-radius: 12px; font-family: var(--mono); font-size: 12.5px;
}
.token-strip strong { font-weight: 600; letter-spacing: 0.04em; }
.ca-copy {
  display: inline-flex; align-items: center; gap: 8px; max-width: 100%;
  padding: 6px 10px; border-radius: 999px; border: 1px solid var(--line); background: var(--bg-2); font-family: var(--mono); font-size: 12px;
}
.ca-copy code { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; max-width: 34ch; }
.ca-copy .k { color: var(--muted); }
.ca-copy[data-copied="1"] { border-color: var(--accent); color: var(--accent); }
.token-strip a { border-bottom: 1px solid var(--line-2); }
.token-strip a:hover { border-color: var(--accent); }

/* ---------- landing sections ---------- */
.section { padding: 120px var(--pad); border-top: 1px solid var(--line); }
.section-head { display: grid; gap: 22px; margin-bottom: 64px; }
.section-head h2 { font-size: clamp(42px, 5.6vw, 84px); letter-spacing: -0.05em; line-height: 0.98; }
.section-head p { color: var(--fg-2); max-width: 36em; }
.split-head { display: flex; justify-content: space-between; align-items: end; gap: 24px; flex-wrap: wrap; }

.block-head h2 { font-size: clamp(30px, 3.2vw, 44px); letter-spacing: -0.04em; }
.block-head p { color: var(--muted); margin-top: 10px; }
.block { padding: 72px var(--pad); border-top: 1px solid var(--line); }

.tabs { display: inline-flex; gap: 4px; padding: 4px; border: 1px solid var(--line); border-radius: 999px; }
.tabs button {
  border: 0; background: transparent; border-radius: 999px; padding: 7px 14px;
  font-family: var(--mono); font-size: 11.5px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--muted);
}
.tabs button[aria-selected="true"] { background: var(--fg); color: var(--bg); }
.tabs button:hover:not([aria-selected="true"]) { color: var(--fg); }

.empty {
  display: grid; justify-items: start; gap: 14px; padding: 40px 32px; margin-top: 32px;
  border: 1px dashed var(--line-2); border-radius: var(--radius);
  background: radial-gradient(120% 140% at 0% 0%, rgba(196, 255, 46, 0.04), transparent 50%), var(--bg-2);
}
.empty .empty-icon { width: 40px; height: 40px; border-radius: 10px; border: 1px solid var(--line-2); display: grid; place-items: center; color: var(--accent); }
.empty .empty-icon svg { width: 18px; height: 18px; }
.empty h3 { font-size: 22px; letter-spacing: -0.02em; }
.empty p { color: var(--muted); max-width: 36em; }
.empty.center { justify-items: center; text-align: center; }

.grid-skeleton { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; margin-top: 32px; }

/* fees */
.fees { display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid var(--line-2); }
.fee { padding: 30px 28px 34px 0; }
.fee + .fee { padding-left: 28px; border-left: 1px solid var(--line); }
.fee .num { font-size: clamp(64px, 7vw, 108px); letter-spacing: -0.06em; line-height: 1; font-weight: 500; }
.fee .num small { font-size: 0.45em; color: var(--muted); margin-left: 4px; letter-spacing: -0.02em; }
.fee:nth-child(3) .num { color: var(--accent); }
.fee .label { margin-top: 18px; display: block; }
.fee p { color: var(--fg-2); margin-top: 10px; max-width: 24em; }
.fee-bar { display: flex; height: 6px; border-radius: 999px; overflow: hidden; margin: 40px 0 0; background: var(--line); }
.fee-bar span:nth-child(1) { flex: 50; background: var(--fg); }
.fee-bar span:nth-child(2) { flex: 20; background: #6F6F6B; }
.fee-bar span:nth-child(3) { flex: 30; background: var(--accent); }

.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; margin-top: 80px; border-top: 1px solid var(--line); }
.step { padding: 28px 28px 8px 0; }
.step + .step { padding-left: 28px; border-left: 1px solid var(--line); }
.step .label { display: block; margin-bottom: 40px; }
.step h3 { font-size: 30px; margin-bottom: 14px; }
.step p { color: var(--fg-2); font-size: 15px; }

/* capability list */
.cap-list { border-top: 1px solid var(--line-2); }
.cap {
  display: grid; grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.4fr) 40px; gap: 32px; align-items: center;
  padding: 22px 0; border-bottom: 1px solid var(--line);
}
.cap h3 { font-size: 21px; letter-spacing: -0.02em; }
.cap p { color: var(--fg-2); font-size: 15px; }
.cap .arrow { justify-self: end; color: var(--dim); transition: color .2s, transform .2s; }
.cap a:hover ~ .arrow, .cap:hover .arrow { color: var(--accent); transform: translateX(3px); }
.cap a::after { content: ""; position: absolute; inset: 0; }
.cap { position: relative; }

/* faq */
.faq-wrap { display: grid; grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr); gap: 64px; }
.faq details { border-bottom: 1px solid var(--line); }
.faq details:first-child { border-top: 1px solid var(--line-2); }
.faq summary {
  list-style: none; display: flex; justify-content: space-between; align-items: center; gap: 24px;
  padding: 24px 0; font-size: 19px; letter-spacing: -0.015em; cursor: pointer;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary .plus { font-family: var(--mono); color: var(--muted); transition: transform .25s, color .25s; }
.faq details[open] summary .plus { transform: rotate(45deg); color: var(--accent); }
.faq details p { color: var(--fg-2); padding: 0 48px 26px 0; max-width: 42em; }

/* final cta */
.final { position: relative; overflow: hidden; text-align: center; padding: 160px var(--pad) 120px; border-top: 1px solid var(--line); }
.final h2 { position: relative; z-index: 2; font-size: clamp(48px, 6.6vw, 104px); letter-spacing: -0.055em; line-height: 0.98; }
.final p { position: relative; z-index: 2; color: var(--fg-2); margin: 26px auto 0; max-width: 30em; }
.final .hero-actions { position: relative; z-index: 2; justify-content: center; }
.ghost-word {
  position: absolute; left: 50%; bottom: -0.2em; width: max-content; transform: translateX(-50%); z-index: 1;
  font-size: clamp(120px, 24vw, 380px); font-weight: 700; letter-spacing: -0.07em; line-height: 1; white-space: nowrap;
  color: transparent; -webkit-text-stroke: 1px rgba(242, 242, 240, 0.09);
  background: linear-gradient(90deg, transparent 0%, rgba(196,255,46,.08) 50%, transparent 100%) 0 0 / 200% 100% no-repeat;
  -webkit-background-clip: text; background-clip: text;
  animation: sweep 7s linear infinite;
  user-select: none;
}
@keyframes sweep { from { background-position: 200% 0; } to { background-position: -200% 0; } }

/* footer */
.site-footer { border-top: 1px solid var(--line); padding: 72px var(--pad) 32px; }
.footer-top { display: grid; grid-template-columns: minmax(0, 1.4fr) repeat(4, minmax(0, 1fr)); gap: 40px; }
.footer-top .tagline { color: var(--muted); margin-top: 16px; max-width: 22em; }
.footer-col h4 { font-family: var(--mono); font-weight: 400; font-size: 11.5px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--muted); margin-bottom: 18px; }
.footer-col a { display: block; padding: 5px 0; color: var(--fg-2); font-size: 15px; }
.footer-col a:hover { color: var(--fg); }
.disclaimer { margin-top: 64px; padding-top: 24px; border-top: 1px solid var(--line); color: var(--muted); font-size: 13.5px; max-width: 60em; }
.footer-bottom {
  display: flex; justify-content: space-between; align-items: center; gap: 16px; flex-wrap: wrap;
  margin-top: 28px; font-family: var(--mono); font-size: 11.5px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--muted);
}
.net-dot { display: inline-flex; align-items: center; gap: 8px; }
.net-dot::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 10px var(--accent); }
.motion-toggle {
  border: 1px solid var(--line-2); background: transparent; border-radius: 999px; padding: 7px 14px;
  font-family: var(--mono); font-size: 11.5px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--fg-2);
}
.motion-toggle:hover { color: var(--fg); border-color: var(--fg); }

/* paused motion */
html.no-motion *, html.no-motion *::before, html.no-motion *::after { animation-play-state: paused !important; transition: none !important; }
html.no-motion { scroll-behavior: auto; }
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  html { scroll-behavior: auto; }
}

/* ---------- app shell (inner pages) ---------- */
.app { display: grid; grid-template-columns: 236px minmax(0, 1fr); min-height: 100vh; }
.sidebar {
  position: sticky; top: 0; height: 100vh; display: flex; flex-direction: column; gap: 22px;
  padding: 22px 14px; border-right: 1px solid var(--line); background: var(--bg);
}
.sidebar .brand { padding: 2px 8px; font-size: 22px; }
.sidebar .brand svg { width: 26px; height: 26px; }
.sidebar-launch { width: 100%; height: 40px; }
.side-group h4 { font-family: var(--mono); font-weight: 400; font-size: 10.5px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--dim); padding: 0 10px 8px; }
.nav-item {
  position: relative; display: flex; align-items: center; gap: 11px; padding: 8px 10px; border-radius: 9px;
  font-size: 14.5px; color: var(--fg-2); transition: background .15s, color .15s;
}
.nav-item svg { width: 16px; height: 16px; color: var(--muted); flex: none; }
.nav-item:hover { background: var(--bg-3); color: var(--fg); }
.nav-item.active { background: var(--bg-3); color: var(--fg); }
.nav-item.active::before { content: ""; position: absolute; left: -14px; top: 8px; bottom: 8px; width: 2px; border-radius: 2px; background: var(--accent); }
.nav-item.active svg { color: var(--accent); }
.sidebar-foot { margin-top: auto; display: flex; justify-content: space-between; align-items: center; padding: 0 10px; font-family: var(--mono); font-size: 10.5px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--muted); }
.topbar {
  position: sticky; top: 0; z-index: 30; display: flex; align-items: center; gap: 14px;
  height: 58px; padding: 0 32px; border-bottom: 1px solid var(--line);
  background: rgba(10, 10, 11, 0.85); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
}
.crumbs { font-family: var(--mono); font-size: 11.5px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--muted); }
.crumbs b { color: var(--fg); font-weight: 400; }
.crumbs i { font-style: normal; margin: 0 10px; color: var(--dim); }
.topbar .btn { margin-left: auto; }
.topbar .menu-toggle, .topbar .mobile-brand { display: none; }
.main { padding: 40px 32px 0; max-width: 1240px; width: 100%; }
.page-head { display: flex; justify-content: space-between; align-items: end; gap: 24px; flex-wrap: wrap; padding: 24px 0 40px; }
.page-head h1 { font-size: clamp(42px, 5vw, 68px); letter-spacing: -0.05em; line-height: 1; margin-top: 16px; }
.page-head p { color: var(--fg-2); margin-top: 18px; max-width: 38em; }
.app-footer { margin-top: 96px; padding: 28px 0 36px; border-top: 1px solid var(--line); display: grid; gap: 14px; }
.app-footer-row { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; font-family: var(--mono); font-size: 11.5px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--muted); }
.app-footer-row nav { display: flex; gap: 18px; }
.app-footer-row a:hover { color: var(--fg); }
.app-footer p { color: var(--muted); font-size: 13px; max-width: 60em; }

.card { border: 1px solid var(--line); border-radius: var(--radius); background: var(--bg-2); }
.panel { padding: 28px; }
.app-section { margin-top: 72px; }
.app-section > header { display: flex; justify-content: space-between; align-items: end; gap: 20px; flex-wrap: wrap; margin-bottom: 8px; }
.app-section h2 { font-size: clamp(28px, 3vw, 40px); letter-spacing: -0.04em; margin-top: 12px; }
.app-section header p { color: var(--muted); margin-top: 10px; max-width: 40em; }

/* launchpad */
.lp-hero {
  position: relative; overflow: hidden; display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); gap: 32px; align-items: center;
  padding: 56px 48px; border: 1px solid var(--line); border-radius: 22px;
  background:
    radial-gradient(80% 90% at 85% 30%, rgba(196, 255, 46, 0.16), transparent 60%),
    radial-gradient(60% 80% at 10% 110%, rgba(143, 212, 0, 0.10), transparent 60%),
    linear-gradient(180deg, #121312, #0C0C0D);
}
.lp-flag { display: inline-flex; align-items: center; gap: 10px; padding: 6px 12px 6px 8px; border-radius: 999px; border: 1px solid var(--line-2); background: rgba(10,10,11,.5); font-size: 13px; color: var(--fg-2); }
.lp-flag b { display: inline-flex; align-items: center; gap: 6px; padding: 2px 8px; border-radius: 999px; background: rgba(196,255,46,.12); color: var(--accent); font-weight: 500; font-size: 12px; }
.lp-hero h1 { font-size: clamp(46px, 5.6vw, 80px); letter-spacing: -0.055em; line-height: 0.96; margin: 26px 0 22px; }
.lp-hero h1 .accent { display: block; }
.lp-hero p { color: var(--fg-2); max-width: 30em; }
.gauge { position: relative; justify-self: center; width: min(320px, 100%); aspect-ratio: 1; }
.gauge svg { width: 100%; height: 100%; }
.gauge-center { position: absolute; inset: 0; display: grid; place-content: center; text-align: center; }
.gauge-center strong { font-size: 54px; font-weight: 500; letter-spacing: -0.04em; line-height: 1; }
.gauge-center span { color: var(--muted); font-size: 13px; margin-top: 6px; }
.spin { transform-origin: 50% 50%; animation: spin 40s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }
.big-actions { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; margin-top: 14px; }
.big {
  position: relative; display: grid; gap: 4px; align-content: end; min-height: 136px; padding: 72px 20px 20px;
  border: 1px solid var(--line); border-radius: 16px; background: var(--bg-2); transition: border-color .2s, transform .2s;
}
.big:hover { border-color: var(--line-2); transform: translateY(-2px); }
.big .ic { position: absolute; left: 20px; top: 20px; width: 36px; height: 36px; border-radius: 10px; display: grid; place-items: center; background: var(--bg-3); color: var(--fg-2); }
.big .ic svg { width: 17px; height: 17px; }
.big .go { position: absolute; right: 18px; top: 18px; color: var(--muted); }
.big strong { font-size: 19px; font-weight: 500; letter-spacing: -0.02em; }
.big span { color: var(--muted); font-size: 13.5px; }
.big.primary { background: linear-gradient(160deg, var(--accent), var(--accent-2)); border-color: transparent; color: var(--on-accent); }
.big.primary span, .big.primary .go { color: rgba(10,10,11,.72); }
.big.primary .ic { background: rgba(10,10,11,.14); color: var(--on-accent); }
.stat-row { display: grid; grid-template-columns: repeat(5, 1fr); margin-top: 14px; border: 1px solid var(--line); border-radius: 16px; overflow: hidden; }
.stat { padding: 18px 20px; }
.stat + .stat { border-left: 1px solid var(--line); }
.stat .label { display: block; }
.stat strong { display: block; margin-top: 10px; font-size: 26px; font-weight: 500; letter-spacing: -0.03em; }
.filters { display: flex; gap: 10px; flex-wrap: wrap; align-items: center; }
.search {
  display: flex; align-items: center; gap: 8px; height: 38px; padding: 0 14px; border-radius: 999px; border: 1px solid var(--line); background: var(--bg-2); color: var(--muted);
}
.search svg { width: 15px; height: 15px; }
.search input { border: 0; background: transparent; outline: none; width: 200px; color: var(--fg); font-size: 14px; }
.search:focus-within { border-color: var(--line-2); }
.loop { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; margin-top: 28px; }
.loop .card { padding: 26px; }
.loop .label { display: block; margin-bottom: 36px; }
.loop h3 { font-size: 22px; letter-spacing: -0.025em; margin-bottom: 10px; }
.loop p { color: var(--fg-2); font-size: 15px; }

/* studio */
.modes { display: grid; grid-template-columns: repeat(3, 1fr); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.modes > * { display: flex; gap: 14px; align-items: flex-start; padding: 20px 22px; border: 0; background: transparent; text-align: left; transition: background .15s; }
.modes > * + * { border-left: 1px solid var(--line); }
.modes > *:hover { background: var(--bg-2); }
.modes .on { background: var(--bg-2); box-shadow: inset 0 -2px 0 var(--accent); }
.modes svg { width: 18px; height: 18px; color: var(--muted); margin-top: 3px; flex: none; }
.modes strong { display: block; font-weight: 500; }
.modes span { color: var(--muted); font-size: 13.5px; }
.how-note { color: var(--fg-2); font-size: 14.5px; margin: 20px 0 0; max-width: 60em; }
.how-note b { color: var(--fg); font-weight: 500; }
.budget { margin-top: 28px; }
.budget-top { display: flex; justify-content: space-between; gap: 16px; align-items: start; }
.budget h2 { font-size: 21px; letter-spacing: -0.02em; margin-top: 8px; }
.kv { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; margin-top: 24px; padding-top: 22px; border-top: 1px solid var(--line); }
.kv dt { font-size: 13px; color: var(--muted); }
.kv dd { margin: 6px 0 0; font-size: 18px; font-weight: 500; }
.pill { white-space: nowrap; display: inline-flex; align-items: center; gap: 6px; height: 26px; padding: 0 10px; border-radius: 999px; border: 1px solid var(--line-2); font-family: var(--mono); font-size: 10.5px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--fg-2); }
.two { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); gap: 16px; margin-top: 24px; }
.field { display: grid; gap: 8px; }
.field > span { font-size: 13.5px; color: var(--fg-2); }
.input, .field input:not([type=radio]):not([type=checkbox]):not([type=range]):not([type=color]):not([type=file]), .field textarea, .field select {
  width: 100%; min-height: 46px; padding: 11px 14px; border-radius: 10px; border: 1px solid var(--line-2); background: var(--bg);
  color: var(--fg); font-size: 15px; outline: none; transition: border-color .15s;
}
.field textarea { min-height: 120px; resize: vertical; line-height: 1.5; }
.field input:focus, .field textarea:focus, .field select:focus { border-color: var(--accent); }
.field ::placeholder { color: var(--dim); }
.count { font-family: var(--mono); font-size: 11.5px; color: var(--muted); justify-self: end; }
.seg { display: flex; flex-wrap: wrap; gap: 8px; }
.seg button {
  display: grid; gap: 2px; text-align: left; padding: 10px 14px; border-radius: 10px; border: 1px solid var(--line-2); background: transparent; min-width: 120px;
}
.seg button span { font-family: var(--mono); font-size: 11px; color: var(--muted); }
.seg button[aria-pressed="true"] { border-color: var(--accent); background: rgba(196,255,46,.06); }
.stack { display: grid; gap: 20px; }
.prompt-cards { display: grid; gap: 10px; }
.prompt-card {
  display: grid; gap: 6px; text-align: left; padding: 18px; border-radius: 12px; border: 1px solid var(--line); background: var(--bg);
  position: relative; overflow: hidden; transition: border-color .2s;
}
.prompt-card:hover { border-color: var(--accent); }
.prompt-card strong { font-weight: 500; font-size: 16px; }
.prompt-card span { color: var(--muted); font-size: 13.5px; }
.prompt-card em { font-style: normal; font-family: var(--mono); font-size: 11px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--accent); }
.status-line { font-family: var(--mono); font-size: 12px; color: var(--accent); min-height: 1.4em; }
.editor { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.2fr); gap: 16px; margin-top: 24px; }
.editor-controls { display: grid; gap: 18px; align-content: start; }
.art-pick { display: flex; gap: 10px; flex-wrap: wrap; }
.art-pick button { width: 64px; height: 64px; border-radius: 10px; border: 1px solid var(--line-2); padding: 0; overflow: hidden; background: var(--bg); }
.art-pick button[aria-pressed="true"] { border-color: var(--accent); box-shadow: 0 0 0 2px rgba(196,255,46,.3); }
.art-pick canvas { width: 100%; height: 100%; }
.upload { display: inline-flex; align-items: center; gap: 8px; height: 64px; padding: 0 16px; border-radius: 10px; border: 1px dashed var(--line-2); color: var(--fg-2); font-size: 13.5px; cursor: pointer; }
.upload:hover { border-color: var(--accent); }
.range { display: grid; gap: 6px; }
.range > span { display: flex; justify-content: space-between; font-size: 13.5px; color: var(--fg-2); }
.range output { font-family: var(--mono); font-size: 12px; color: var(--muted); }
input[type=range] { accent-color: var(--accent); width: 100%; }
input[type=color] { width: 46px; height: 38px; border: 1px solid var(--line-2); border-radius: 8px; background: var(--bg); padding: 3px; }
.preview { padding: 16px; display: grid; gap: 14px; align-content: start; }
.preview canvas { width: 100%; height: auto; border-radius: 10px; background: #000; }
.preview-actions { display: flex; gap: 10px; flex-wrap: wrap; }
.three { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }

/* rent */
.table { width: 100%; border-collapse: collapse; margin-top: 24px; }
.table th { text-align: left; font-family: var(--mono); font-weight: 400; font-size: 11px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--muted); padding: 14px 18px; border-bottom: 1px solid var(--line); }
.table td { padding: 0; }
.table-wrap { border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; background: var(--bg-2); }
.table-empty { padding: 56px 24px; text-align: center; color: var(--muted); }
.table-empty strong { display: block; color: var(--fg); font-weight: 500; font-size: 18px; margin-bottom: 6px; }
.link-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; margin-top: 16px; }
.link-card { display: flex; justify-content: space-between; align-items: center; padding: 20px 22px; border: 1px solid var(--line); border-radius: var(--radius); transition: border-color .2s; }
.link-card:hover { border-color: var(--accent); }
.link-card span { color: var(--muted); }
.split-card { display: grid; grid-template-columns: repeat(2, 1fr); gap: 0; margin-top: 16px; }
.split-card > div { padding: 26px 28px; }
.split-card > div + div { border-left: 1px solid var(--line); }
.split-card strong { display: block; font-size: 56px; font-weight: 500; letter-spacing: -0.05em; line-height: 1; }
.split-card div:first-child strong { color: var(--accent); }
.split-card p { color: var(--fg-2); margin-top: 10px; }

/* network */
.subnav { display: flex; gap: 28px; overflow-x: auto; scrollbar-width: none; border-bottom: 1px solid var(--line); }
.subnav button { flex: none; border: 0; background: transparent; padding: 14px 0; font-family: var(--mono); font-size: 12px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--muted); border-bottom: 2px solid transparent; margin-bottom: -1px; }
.subnav button[aria-selected="true"] { color: var(--fg); border-color: var(--accent); }
.metrics { display: grid; grid-template-columns: repeat(4, 1fr); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); margin-top: 32px; }
.metric { padding: 22px 22px 26px 0; min-height: 150px; display: grid; align-content: space-between; gap: 18px; }
.metric + .metric { padding-left: 22px; border-left: 1px solid var(--line); }
.metric strong { font-size: 40px; font-weight: 500; letter-spacing: -0.04em; line-height: 1; }
.metric span { color: var(--muted); font-size: 13.5px; }
.chart-empty { position: relative; height: 240px; margin-top: 24px; border-radius: 12px; border: 1px solid var(--line); overflow: hidden;
  background-image: linear-gradient(var(--line) 1px, transparent 1px); background-size: 100% 48px; background-position: 0 -1px; }
.chart-empty p { position: absolute; inset: 0; display: grid; place-content: center; text-align: center; color: var(--muted); }
.legend { display: flex; gap: 18px; font-size: 13px; color: var(--muted); }
.legend i { display: inline-block; width: 10px; height: 2px; vertical-align: middle; margin-right: 6px; background: var(--accent); }
.legend i.b { background: var(--fg-2); }
.defs summary { cursor: pointer; padding: 18px 0; display: flex; justify-content: space-between; color: var(--fg-2); list-style: none; }
.defs summary::-webkit-details-marker { display: none; }
.defs[open] summary .plus { transform: rotate(45deg); }
.defs .plus { font-family: var(--mono); transition: transform .2s; }
.defs dl { display: grid; grid-template-columns: 220px 1fr; gap: 12px 24px; padding-bottom: 20px; color: var(--fg-2); font-size: 14.5px; }
.defs dt { color: var(--fg); }
.defs dd { margin: 0; }
.num-steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; margin-top: 24px; }
.num-steps .card { padding: 22px; }
.num-steps .label { display: block; margin-bottom: 28px; }
.num-steps h3 { font-size: 19px; letter-spacing: -0.02em; margin-bottom: 8px; }
.num-steps p { color: var(--muted); font-size: 14px; }
.rig-result { display: none; margin-top: 18px; }
.rig-result.show { display: block; }
.rig-result dl { display: grid; grid-template-columns: 160px 1fr; gap: 10px 20px; font-size: 14.5px; }
.rig-result dt { color: var(--muted); }
.rig-result dd { margin: 0; font-family: var(--mono); font-size: 13px; word-break: break-word; }
.rig-result .verdict { margin-top: 18px; padding: 14px 16px; border-radius: 10px; background: rgba(196,255,46,.06); border: 1px solid rgba(196,255,46,.25); color: var(--fg); font-size: 14.5px; }

/* developers + docs */
.code {
  margin: 16px 0 0; padding: 18px 20px; border-radius: 12px; border: 1px solid var(--line); background: #070708;
  font-family: var(--mono); font-size: 13px; line-height: 1.7; color: var(--fg-2); overflow-x: auto; white-space: pre;
}
.code .c { color: var(--dim); }
.code .a { color: var(--accent); }
.endpoints { margin-top: 18px; border-top: 1px solid var(--line); }
.endpoints li { display: grid; grid-template-columns: 64px minmax(0, 300px) minmax(0, 1fr); gap: 18px; padding: 15px 0; border-bottom: 1px solid var(--line); align-items: baseline; }
.endpoints .m { font-family: var(--mono); font-size: 11.5px; color: var(--accent); letter-spacing: 0.06em; }
.endpoints .m.post { color: #E8E8E3; }
.endpoints code { font-family: var(--mono); font-size: 13px; color: var(--fg); word-break: break-all; }
.endpoints span { color: var(--muted); font-size: 14.5px; }
.dev-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; margin-top: 20px; }
.dev-grid .card { padding: 22px; }
.dev-grid code { font-family: var(--mono); font-size: 13px; color: var(--accent); }
.dev-grid p { color: var(--fg-2); font-size: 14.5px; margin-top: 8px; }
.docs { display: grid; grid-template-columns: 210px minmax(0, 1fr); gap: 56px; align-items: start; }
.docs-nav { position: sticky; top: 90px; display: grid; gap: 2px; border-left: 1px solid var(--line); }
.docs-nav a { padding: 7px 0 7px 16px; margin-left: -1px; border-left: 1px solid transparent; color: var(--muted); font-size: 14.5px; }
.docs-nav a:hover { color: var(--fg); }
.docs-nav a.on { color: var(--fg); border-color: var(--accent); }
.doc { padding: 0 0 56px; border-bottom: 1px solid var(--line); margin-bottom: 56px; scroll-margin-top: 90px; max-width: 760px; }
.doc .label { display: block; margin-bottom: 14px; }
.doc h2 { font-size: clamp(30px, 3.2vw, 42px); letter-spacing: -0.04em; margin-bottom: 20px; }
.doc h3 { font-size: 20px; letter-spacing: -0.02em; margin: 28px 0 10px; }
.doc p { color: var(--fg-2); margin-top: 14px; }
.doc ul.dots { margin-top: 14px; display: grid; gap: 10px; }
.doc ul.dots li { position: relative; padding-left: 22px; color: var(--fg-2); }
.doc ul.dots li::before { content: ""; position: absolute; left: 2px; top: 0.7em; width: 7px; height: 7px; border-radius: 2px; background: var(--accent); }
.doc .fee-table { width: 100%; border-collapse: collapse; margin-top: 18px; }
.doc .fee-table td, .doc .fee-table th { padding: 13px 0; border-bottom: 1px solid var(--line); text-align: left; font-weight: 400; }
.doc .fee-table th { font-family: var(--mono); font-size: 11px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--muted); }
.doc .fee-table td:last-child, .doc .fee-table th:last-child { text-align: right; font-family: var(--mono); }
.doc .fee-table td { color: var(--fg-2); }

/* launch */
.launch-grid { display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(300px, 1fr); gap: 28px; align-items: start; }
.coin-preview { display: flex; gap: 22px; align-items: center; padding-bottom: 28px; border-bottom: 1px solid var(--line); }
.coin-img { width: 108px; height: 108px; flex: none; border-radius: 16px; border: 1px solid var(--line-2); overflow: hidden; display: grid; place-items: center; background: radial-gradient(circle at 50% 40%, rgba(196,255,46,.18), transparent 65%), var(--bg-2); }
.coin-img img { width: 100%; height: 100%; object-fit: cover; }
.coin-img svg { width: 56px; height: 56px; }
.coin-meta { display: flex; gap: 12px; flex-wrap: wrap; align-items: center; font-size: 13px; color: var(--muted); }
.coin-meta .pill { color: var(--accent); border-color: rgba(196,255,46,.35); }
.coin-name { font-size: clamp(34px, 4.4vw, 56px); font-weight: 700; letter-spacing: -0.045em; line-height: 1; margin-top: 10px; text-transform: uppercase; overflow-wrap: anywhere; }
.coin-ticker { font-family: var(--mono); font-size: 18px; color: var(--accent); margin-top: 6px; }
.form-section { padding: 28px 0; border-bottom: 1px solid var(--line); display: grid; gap: 18px; }
.form-section > h2 { font-family: var(--mono); font-size: 11.5px; font-weight: 400; letter-spacing: 0.12em; text-transform: uppercase; color: var(--muted); }
.row-2 { display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr); gap: 14px; }
.ticker-input { position: relative; }
.ticker-input b { position: absolute; left: 14px; top: 50%; transform: translateY(-50%); color: var(--muted); font-weight: 400; }
.ticker-input input { padding-left: 28px !important; text-transform: uppercase; }
.options { display: grid; gap: 10px; }
.option { display: flex; gap: 14px; align-items: flex-start; padding: 16px 18px; border: 1px solid var(--line-2); border-radius: 12px; cursor: pointer; transition: border-color .15s, background .15s; }
.option input { accent-color: var(--accent); margin-top: 4px; }
.option:has(input:checked) { border-color: var(--accent); background: rgba(196,255,46,.05); }
.option strong { display: block; font-weight: 500; }
.option span { color: var(--muted); font-size: 14px; }
.more summary { cursor: pointer; color: var(--fg-2); list-style: none; display: flex; justify-content: space-between; }
.more summary::-webkit-details-marker { display: none; }
.more[open] summary .plus { transform: rotate(45deg); }
.more .plus { font-family: var(--mono); transition: transform .2s; }
.more .stack { margin-top: 18px; }
.side-card { position: sticky; top: 82px; display: grid; gap: 12px; }
.side-card .card { padding: 22px; }
.side-card h3 { font-size: 17px; letter-spacing: -0.01em; margin-bottom: 14px; }
.split-rows { display: grid; }
.split-rows div { display: flex; justify-content: space-between; padding: 10px 0; border-bottom: 1px solid var(--line); font-size: 15px; color: var(--fg-2); }
.split-rows div b { font-family: var(--mono); font-weight: 400; color: var(--fg); }
.split-rows div:last-child b { color: var(--accent); }
.side-card p { color: var(--muted); font-size: 14px; margin-top: 12px; }
.side-card .btn { width: 100%; }

/* ---------- responsive ---------- */
@media (max-width: 1180px) {
  .landing-nav { gap: 20px; }
  .footer-top { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .footer-top > :first-child { grid-column: 1 / -1; }
  .stat-row { grid-template-columns: repeat(3, 1fr); }
  .stat:nth-child(4) { border-left: 0; }
  .stat:nth-child(n+4) { border-top: 1px solid var(--line); }
}
@media (max-width: 1024px) {
  .landing-nav { display: none; position: absolute; top: 92px; left: 0; right: 0; flex-direction: column; gap: 0; padding: 8px var(--pad) 20px; background: var(--bg); border-bottom: 1px solid var(--line); }
  .landing-nav.open { display: flex; }
  .landing-nav a { padding: 14px 0; border-bottom: 1px solid var(--line); }
  .menu-toggle { display: inline-grid; }
  .hero { grid-template-columns: 1fr; min-height: auto; padding-top: 48px; }
  .hero-art { position: relative; right: auto; top: auto; transform: none; width: 118%; margin: -10px -9% -40px; order: 2; }
  .hero-art::after { background: linear-gradient(0deg, var(--bg) 0%, rgba(10,10,11,0) 28%), linear-gradient(180deg, var(--bg) 0%, rgba(10,10,11,0) 20%); }
  .steps { grid-template-columns: repeat(2, 1fr); }
  .step:nth-child(3) { border-left: 0; padding-left: 0; }
  .faq-wrap { grid-template-columns: 1fr; gap: 24px; }
  .app { grid-template-columns: minmax(0, 1fr); }
  .sidebar { position: fixed; z-index: 60; left: 0; top: 0; width: 270px; transform: translateX(-100%); transition: transform .25s; box-shadow: 20px 0 60px rgba(0,0,0,.5); }
  .sidebar.open { transform: none; }
  .topbar .menu-toggle { display: inline-grid; }
  .topbar .mobile-brand { display: inline-flex; font-size: 19px; }
  .topbar .mobile-brand svg { width: 22px; height: 22px; }
  .topbar .crumbs { display: none; }
  .lp-hero { grid-template-columns: 1fr; padding: 40px 28px; }
  .gauge { width: 240px; }
  .big-actions { grid-template-columns: repeat(2, 1fr); }
  .launch-grid { grid-template-columns: 1fr; }
  .side-card { position: static; }
  .docs { grid-template-columns: 1fr; gap: 24px; }
  .docs-nav { position: static; display: flex; flex-wrap: wrap; gap: 6px; border-left: 0; }
  .docs-nav a { border: 1px solid var(--line); border-radius: 999px; padding: 6px 12px; margin: 0; font-size: 13.5px; }
  .docs-nav a.on { border-color: var(--accent); }
  .editor, .two { grid-template-columns: 1fr; }
  .metrics { grid-template-columns: repeat(2, 1fr); }
  .metric:nth-child(3) { border-left: 0; padding-left: 0; }
  .metric:nth-child(n+3) { border-top: 1px solid var(--line); }
  .num-steps { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 720px) {
  body { font-size: 15.5px; }
  .landing-header { height: 72px; gap: 16px; }
  .landing-nav { top: 72px; }
  .brand { font-size: 22px; }
  .brand svg { width: 26px; height: 26px; }
  .header-end .btn { display: none; }
  .hero { padding-bottom: 24px; }
  .hero h1 { margin: 22px 0 26px; }
  .lede { font-size: 16.5px; }
  .section { padding: 84px var(--pad); }
  .block { padding: 56px var(--pad); }
  .section-head { margin-bottom: 44px; }
  .fees { grid-template-columns: 1fr; }
  .fee, .fee + .fee { padding: 24px 0; border-left: 0; }
  .fee + .fee { border-top: 1px solid var(--line); }
  .steps { grid-template-columns: 1fr; margin-top: 48px; }
  .step, .step + .step { padding: 24px 0; border-left: 0; }
  .step + .step { border-top: 1px solid var(--line); }
  .step .label { margin-bottom: 14px; }
  .cap { grid-template-columns: 1fr 24px; gap: 8px 16px; }
  .cap p { grid-column: 1; }
  .cap .arrow { grid-row: 1 / span 2; grid-column: 2; }
  .faq details p { padding-right: 0; }
  .final { padding: 110px var(--pad) 90px; }
  .footer-top { grid-template-columns: 1fr 1fr; gap: 32px 20px; }
  .main { padding: 24px 18px 0; }
  .topbar { padding: 0 16px; }
  .topbar .btn { padding: 0 14px; }
  .lp-hero { padding: 32px 22px; }
  .big-actions { grid-template-columns: 1fr 1fr; }
  .big { min-height: 0; padding: 66px 16px 16px; }
  .big .ic { left: 16px; top: 16px; }
  .big strong { font-size: 17px; }
  .stat-row { grid-template-columns: repeat(2, 1fr); }
  .stat:nth-child(odd) { border-left: 0; }
  .stat:nth-child(4) { border-left: 1px solid var(--line); }
  .stat:nth-child(n+3) { border-top: 1px solid var(--line); }
  .stat:last-child { grid-column: 1 / -1; }
  .loop, .three, .link-cards, .dev-grid { grid-template-columns: 1fr; }
  .modes { grid-template-columns: 1fr; }
  .modes > * + * { border-left: 0; border-top: 1px solid var(--line); }
  .kv { grid-template-columns: 1fr 1fr; }
  .search input { width: 140px; }
  .subnav { gap: 20px; }
  .metrics, .num-steps { grid-template-columns: 1fr; }
  .metric, .metric + .metric { padding: 20px 0; border-left: 0; min-height: 0; }
  .metric + .metric { border-top: 1px solid var(--line); }
  .split-card { grid-template-columns: 1fr; }
  .split-card > div + div { border-left: 0; border-top: 1px solid var(--line); }
  .endpoints li { grid-template-columns: 52px minmax(0, 1fr); }
  .endpoints li span { grid-column: 2; }
  .defs dl, .rig-result dl { grid-template-columns: 1fr; gap: 4px; }
  .defs dd, .rig-result dd { margin-bottom: 10px; }
  .row-2 { grid-template-columns: 1fr; }
  .coin-img { width: 84px; height: 84px; }
  .panel { padding: 22px; }
  .table th:nth-child(3), .table th:nth-child(4) { display: none; }
}
