/* Interlink — layout measured from the reference: 1088px / 24-col grid (30px cols, 16px gaps) */
:root {
  --bg: #08080a;
  --bg-soft: rgba(255,255,255,.05);
  --card: #0f0f12;
  --tile: rgba(255,255,255,.03);
  --line: #1e1f21;
  --b-sub: rgba(255,255,255,.07);
  --b-pri: rgba(255,255,255,.08);
  --text: #fff;
  --fg: #faf8f5;
  --fg2: #d9d7d4;
  --fg3: #a9a7ad;
  --sub: rgba(255,255,255,.6);
  --soft: rgba(255,255,255,.7);
  --muted: #8a8890;
  --invert: #fff;
  --invert-text: #08080a;
  --brand-base: #a259ff;
  --brand: #c3a0ff;
  --brand-tint: rgba(162,89,255,.12);
  --brand-deep: #6d2cff;
  --skel: rgba(255,255,255,.07);
  --skel2: rgba(255,255,255,.045);
  --shadow: 0 24px 60px -20px rgba(0,0,0,.7);
  --grid-gap: 16px;
  --col: 30px;
  --wrap: 1088px;
  --gutter: calc(max((100vw - var(--wrap)) / 2, 32px) + 16px);
  --serif: 'Newsreader', 'Times New Roman', serif;
  --sans: 'Inter', ui-sans-serif, system-ui, 'Helvetica Neue', Arial, sans-serif;
  --mono: 'Geist Mono', ui-monospace, SFMono-Regular, Menlo, monospace;
  --ease: cubic-bezier(.22,1,.36,1);
  color-scheme: dark;
}
:root[data-theme="light"] {
  --bg: #fbfaf9;
  --bg-soft: rgba(10,8,20,.045);
  --card: #f4f2f7;
  --tile: rgba(10,8,20,.025);
  --line: #e7e5ea;
  --b-sub: rgba(10,8,20,.08);
  --b-pri: rgba(10,8,20,.08);
  --text: #0b0a10;
  --fg: #0b0a10;
  --fg2: #3b3842;
  --fg3: #77737f;
  --sub: rgba(11,10,16,.6);
  --soft: rgba(11,10,16,.72);
  --muted: #8b8792;
  --invert: #0b0a10;
  --invert-text: #fff;
  --brand: #7c3aed;
  --brand-tint: rgba(124,58,237,.1);
  --skel: rgba(10,8,20,.08);
  --skel2: rgba(10,8,20,.05);
  --shadow: 0 24px 60px -24px rgba(40,20,80,.25);
  color-scheme: light;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body { background: var(--bg); color: var(--text); font: 400 16px/24px var(--sans); overflow-x: hidden; -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; }
a { color: inherit; text-decoration: none; cursor: pointer; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }
svg { display: block; }
img { display: block; max-width: 100%; }
.mono { font-family: var(--mono); }
[hidden] { display: none !important; }
::selection { background: rgba(162,89,255,.35); }

.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; position: relative; }
.rail { border-left: 1px solid var(--line); border-right: 1px solid var(--line); }
@media (max-width: 1120px) { .wrap { max-width: calc(100% - 32px); } }
.spacer { height: 160px; }
.pad16 { padding: 16px; }
.w-fit { width: fit-content; }

/* ---------- buttons ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 4px; white-space: nowrap; border-radius: 4px; font: 500 14px/16px var(--sans); border: 1px solid transparent; transition: background-color .1s, border-color .1s, transform .1s, color .1s; flex-shrink: 0; }
.btn:active { transform: scale(.97); }
.btn svg { width: 16px; height: 16px; }
.btn .arr { opacity: .5; transition: opacity .15s, transform .15s; }
.btn:hover .arr { opacity: 1; }
.btn-sm { padding: 8px 14px; }
.btn-lg { padding: 12px 12px 12px 16px; }
.btn-invert { background: var(--invert); color: var(--invert-text); }
.btn-invert:hover { background: color-mix(in srgb, var(--invert) 90%, transparent); }
.btn-ghost { background: var(--bg); color: var(--text); border-color: var(--b-sub); }
.btn-ghost:hover { background: var(--bg-soft); }
.btn-light { background: #fff; color: #262626; border-color: rgba(0,0,0,.05); padding: 12px 20px; }
:root:not([data-theme="light"]) .cta .btn-light { background: rgba(255,255,255,.06); color: #fff; border-color: transparent; }
:root:not([data-theme="light"]) .cta .btn-light:hover { background: rgba(255,255,255,.1); }
.btn-wallet { padding: 12px 16px 12px 12px; gap: 6px; }
.btn-brand { background: var(--brand-base); color: #fff; }
.btn-brand:hover { background: #8d3dff; }
.btn[disabled] { opacity: .5; pointer-events: none; }

/* ---------- nav ---------- */
.nav { position: sticky; top: 0; z-index: 100; background: var(--bg); border-bottom: 1px solid var(--line); }
.nav-row { height: 64px; display: flex; align-items: center; justify-content: space-between; }
.logo { display: inline-flex; align-items: center; gap: 6px; margin: -6px -8px; padding: 6px 8px; border-radius: 6px; transition: background-color .3s; }
.logo:hover { background: var(--bg-soft); }
.logo-mark { width: 22px; height: 22px; }
.logo-word { font: 600 19px/1 var(--sans); letter-spacing: -.6px; color: var(--text); }
.nav-links { position: absolute; left: 50%; top: 0; transform: translateX(-50%); height: 64px; display: flex; align-items: center; gap: 6px; }
.nav-btn { position: relative; height: 64px; display: inline-flex; align-items: center; gap: 4px; padding: 0 10px; font: 500 14px/16px var(--sans); color: var(--text); }
.nav-btn::before { content: ''; position: absolute; inset: 14px -2px; border-radius: 6px; background: transparent; transition: background-color .2s; z-index: -1; }
.nav-btn:hover::before, .nav-btn[aria-expanded="true"]::before { background: var(--bg-soft); }
.nav-btn .chev { width: 16px; height: 16px; color: var(--sub); transition: rotate .2s var(--ease), color .2s; }
.nav-btn[aria-expanded="true"] .chev { rotate: 180deg; color: var(--text); }
.nav-cta { display: flex; align-items: center; gap: 6px; }
.connect-label { max-width: 160px; overflow: hidden; text-overflow: ellipsis; }
.is-connected .connect-label::before { content: ''; display: inline-block; width: 6px; height: 6px; border-radius: 50%; background: #22c55e; margin-right: 7px; vertical-align: 1px; box-shadow: 0 0 0 3px rgba(34,197,94,.15); }
.burger { display: none; padding: 8px; border: 1px solid var(--b-sub); border-radius: 4px; }
.burger svg { width: 20px; height: 20px; }

.mega { position: absolute; left: 0; right: 0; top: 100%; display: flex; justify-content: center; pointer-events: none; }
.mega-panel { display: none; pointer-events: auto; width: 1088px; max-width: calc(100vw - 32px); margin-top: -1px; background: var(--bg); border: 1px solid var(--line); border-radius: 0 0 10px 10px; padding: 0; grid-template-columns: repeat(3, 1fr) 1.1fr; animation: megaIn .22s var(--ease); box-shadow: var(--shadow); }
.mega-panel.on { display: grid; }
@keyframes megaIn { from { opacity: 0; transform: translateY(-6px); } to { opacity: 1; transform: none; } }
.mega-col { padding: 26px 24px; display: flex; flex-direction: column; gap: 4px; }
.mega h4 { font: 400 14px/20px var(--sans); color: var(--muted); margin-bottom: 10px; }
.mega-col a { display: flex; gap: 10px; padding: 8px; margin: 0 -8px; border-radius: 6px; transition: background-color .15s; }
.mega-col a:hover { background: var(--bg-soft); }
.mega-col a > svg { width: 16px; height: 16px; margin-top: 2px; color: var(--sub); flex-shrink: 0; }
.mega-col a span { display: flex; flex-direction: column; gap: 2px; }
.mega-col b { font: 500 14px/20px var(--sans); }
.mega-col i { font: 400 12px/16px var(--sans); font-style: normal; color: var(--sub); }
.mega-feature { border-left: 1px solid var(--line); padding: 26px 24px; }
.mega-card { display: flex; flex-direction: column; gap: 6px; }
.mega-art { aspect-ratio: 16/9; border-radius: 6px; display: grid; place-items: center; background: radial-gradient(120% 90% at 30% 20%, #b07cff 0%, #6d2cff 45%, #2a0d63 100%); margin-bottom: 8px; position: relative; overflow: hidden; transition: transform .4s var(--ease); }
.mega-art::after { content: ''; position: absolute; inset: 0; background: repeating-linear-gradient(115deg, rgba(255,255,255,.12) 0 1px, transparent 1px 14px); }
.mega-art.alt { background: radial-gradient(120% 90% at 70% 20%, #f0a6ff 0%, #9b3dff 45%, #220a4a 100%); }
.mega-art.x { background: radial-gradient(120% 90% at 50% 10%, #3a2a5a 0%, #120c1f 70%); }
.mega-art svg { width: 56px; height: 56px; padding: 12px; background: #fff; border-radius: 10px; position: relative; z-index: 1; color: #000; }
.mega-art.x svg { background: #000; color: #fff; }
.mega-card:hover .mega-art { transform: scale(1.02); }
.mega-card b { font: 500 14px/20px var(--sans); }
.mega-card i { font-style: normal; font: 400 13px/18px var(--sans); color: var(--sub); }
.mega-card em { font-style: normal; display: inline-flex; gap: 4px; align-items: center; font: 500 14px/20px var(--sans); margin-top: 6px; }
.mega-card em svg { width: 14px; height: 14px; }

.mmenu { position: fixed; inset: 64px 0 0; z-index: 99; background: var(--bg); padding: 16px 20px 32px; display: flex; flex-direction: column; overflow-y: auto; }
.mmenu > a { padding: 14px 0; border-bottom: 1px solid var(--line); font: 500 16px/24px var(--sans); }
.mmenu .x-handle { color: var(--sub); font-weight: 400; margin-left: 6px; }
.mmenu-cta { display: grid; gap: 8px; margin-top: 24px; }
.mmenu-cta .btn { padding: 14px; }

/* ---------- hero ---------- */
.hero { position: relative; overflow-x: clip; background: var(--bg); }
.hero-canvas { position: absolute; inset: 0; left: 50%; transform: translateX(-50%); width: 100%; max-width: 1920px; height: 100%; pointer-events: none; z-index: 0; }
.hero-grid { position: relative; z-index: 10; display: grid; grid-template-columns: repeat(24, var(--col)); column-gap: var(--grid-gap); padding-top: 80px; align-items: start; }
.hero-copy { grid-column: 1 / 9; grid-row: 1; display: flex; flex-direction: column; gap: 16px; }
.pill-badge { display: inline-flex; width: fit-content; align-items: center; gap: 6px; padding: 4px 4px 4px 10px; border: 1px solid var(--b-sub); border-radius: 2px; background: var(--bg); transition: background-color .1s; }
.pill-badge:hover { background: var(--bg-soft); }
.pb-label { font: 500 12px/16px var(--sans); letter-spacing: .02em; color: var(--soft); }
.pb-chip { display: inline-flex; align-items: center; gap: 6px; padding: 4px 4px 4px 8px; background: var(--brand-tint); border-radius: 2px; color: var(--brand); font: 500 12px/16px var(--mono); letter-spacing: .02em; }
.pb-chip svg { width: 16px; height: 16px; color: var(--brand-base); }
.dot { width: 6px; height: 6px; border-radius: 50%; background: var(--brand-base); box-shadow: 0 0 0 0 rgba(162,89,255,.6); animation: ping 2s infinite; }
@keyframes ping { 0% { box-shadow: 0 0 0 0 rgba(162,89,255,.55); } 70% { box-shadow: 0 0 0 6px rgba(162,89,255,0); } 100% { box-shadow: 0 0 0 0 rgba(162,89,255,0); } }
.hero h1 { font: 400 50px/52px var(--serif); letter-spacing: -2px; color: var(--text); font-optical-sizing: auto; }
.lead { font: 400 18px/24px var(--sans); color: var(--sub); }
.lead b { color: var(--text); font-weight: 500; }
.hero-actions { grid-column: 1 / 10; grid-row: 2; margin-top: 32px; display: flex; flex-direction: column; gap: 8px; width: fit-content; }
.hero-actions .row { display: flex; flex-wrap: wrap; gap: 8px; }
.hero-actions .btn-lg svg:not(.arr) { width: 16px; height: 16px; }
.quick { position: relative; margin-top: 24px; }
.quick-btn { display: inline-flex; align-items: center; gap: 8px; font: 500 14px/16px var(--sans); color: var(--text); border-radius: 4px; transition: color .15s; }
.quick-btn:hover { color: var(--fg2); }
.quick-icons { display: flex; gap: 4px; }
.quick-icons svg { width: 16px; height: 16px; color: var(--brand); }
.quick-btn .chev { width: 16px; height: 16px; transition: transform .15s; }
.quick-btn[aria-expanded="true"] .chev { transform: rotate(180deg); }
.quick-menu { position: absolute; top: calc(100% + 10px); left: 0; z-index: 30; min-width: 260px; padding: 6px; background: var(--card); border: 1px solid var(--b-sub); border-radius: 8px; box-shadow: var(--shadow); animation: megaIn .18s var(--ease); }
.quick-menu a { display: flex; align-items: center; gap: 10px; padding: 9px 10px; border-radius: 5px; font: 500 14px/18px var(--sans); }
.quick-menu a:hover { background: var(--bg-soft); }
.quick-menu svg { width: 16px; height: 16px; color: var(--brand); }

.ca-pill { display: inline-flex; align-items: center; gap: 6px; width: fit-content; max-width: 100%; padding: 4px 4px 4px 10px; border: 1px solid var(--b-sub); border-radius: 4px; background: var(--bg); }
.ca-pill .ca-text { font-size: 12px; color: var(--soft); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.ca-pill button { display: grid; place-items: center; width: 26px; height: 26px; border-radius: 3px; background: var(--brand-tint); color: var(--brand); }
.ca-pill button svg { width: 14px; height: 14px; }
.ca-pill.sm { margin-top: 4px; }

.hero-preview { grid-column: 10 / 25; grid-row: 2; position: relative; isolation: isolate; width: 1057px; align-self: start; }
.preview-frame { position: relative; width: 100%; aspect-ratio: 1080/656; overflow: hidden; border-radius: 22px 22px 0 0; border: 1px solid rgba(162,89,255,.12); border-bottom: 0; background: color-mix(in srgb, var(--bg) 92%, #1a1030); }
.preview-fade { position: absolute; inset: 0; z-index: 20; pointer-events: none; background: linear-gradient(to bottom, transparent 55%, var(--bg)); }

/* preview app (designed at 1057x642, scaled with --pv-scale) */
.pv { position: absolute; left: 0; top: 0; width: 1057px; height: 642px; transform-origin: 0 0; transform: scale(var(--pv-scale, 1)); display: flex; font-family: var(--sans); color: var(--text); }
.pv-side { width: 205px; border-right: 1px solid var(--b-pri); padding: 18px 10px; display: flex; flex-direction: column; gap: 4px; }
.pv-logo { display: flex; align-items: center; gap: 6px; font: 600 17px/1 var(--sans); letter-spacing: -.5px; padding: 0 8px 18px; border-bottom: 1px solid var(--b-pri); margin: 0 -10px 10px; padding-left: 18px; }
.pv-logo svg { width: 19px; height: 19px; }
.pv-nav { display: flex; flex-direction: column; gap: 1px; padding-bottom: 10px; margin-bottom: 8px; border-bottom: 1px solid var(--b-pri); }
.pv-nav:last-child { border: 0; }
.pv-item { display: flex; align-items: center; gap: 8px; padding: 6px 8px; border-radius: 6px; font: 400 12.5px/17px var(--sans); color: var(--soft); transition: background-color .15s; }
.pv-item svg { width: 13px; height: 13px; opacity: .8; }
.pv-item:hover { background: var(--bg-soft); }
.pv-item.on { background: rgba(162,89,255,.12); color: var(--brand); }
.pv-nav.dim .pv-item { opacity: .55; }
.pv-nav.dimmer .pv-item { opacity: .25; }
.pv-main { flex: 1; display: flex; flex-direction: column; }
.pv-top { height: 64px; display: flex; align-items: center; gap: 18px; padding: 0 34px 0 80px; }
.pv-tabs { display: flex; gap: 18px; height: 100%; font: 400 12px/1 var(--sans); color: var(--soft); flex: 1; }
.pv-tabs span { display: flex; align-items: center; border-bottom: 1px solid transparent; }
.pv-tabs .on { color: var(--brand); border-color: var(--brand-base); font-weight: 500; }
.pv-search { display: flex; align-items: center; gap: 8px; width: 240px; height: 28px; padding: 0 8px; border-radius: 7px; background: var(--bg-soft); font: 400 12px/1 var(--sans); color: var(--muted); }
.pv-search svg { width: 12px; height: 12px; }
.pv-search kbd { margin-left: auto; font: 400 10px/1 var(--sans); color: var(--muted); }
.pv-ask { display: flex; align-items: center; gap: 6px; height: 28px; padding: 0 10px; border: 1px solid var(--b-sub); border-radius: 7px; font: 500 12px/1 var(--sans); cursor: pointer; }
.pv-ask svg { width: 12px; height: 12px; }
.pv-body { display: flex; flex: 1; padding: 22px 34px 0 80px; gap: 40px; }
.pv-content { flex: 1; }
.pv-crumb { font: 500 12px/16px var(--sans); color: var(--brand); }
.pv-title { font: 500 18px/24px var(--sans); margin-top: 6px; }
.pv-sub { font: 400 12px/18px var(--sans); color: var(--sub); margin-top: 6px; }
.pv-cards { display: grid; grid-template-columns: repeat(2, 228px); gap: 20px 16px; margin-top: 18px; }
.pv-card { display: flex; flex-direction: column; gap: 4px; }
.pv-art { height: 114px; border-radius: 9px; border: 1px solid rgba(162,89,255,.18); display: grid; place-items: center; margin-bottom: 8px; background:
  linear-gradient(rgba(162,89,255,.07) 1px, transparent 1px) 0 0/9px 9px,
  linear-gradient(90deg, rgba(162,89,255,.07) 1px, transparent 1px) 0 0/9px 9px,
  radial-gradient(70% 80% at 50% 50%, rgba(162,89,255,.16), rgba(40,14,90,.25)); transition: border-color .2s, transform .3s var(--ease); }
.pv-art svg { width: 62px; height: 62px; filter: drop-shadow(0 0 8px rgba(162,89,255,.5)); transition: transform .5s var(--ease); }
.pv-card:hover .pv-art { border-color: rgba(162,89,255,.45); }
.pv-card:hover .pv-art svg { transform: translateY(-3px) rotate(-4deg); }
.pv-card b { font: 500 12.5px/18px var(--sans); }
.pv-card i { font: 400 11.5px/17px var(--sans); font-style: normal; color: var(--sub); }
.pv-toc { width: 110px; display: flex; flex-direction: column; gap: 4px; font: 400 10.5px/16px var(--sans); color: var(--muted); }
.pv-toc-h { display: flex; align-items: center; gap: 6px; margin-bottom: 4px; }
.pv-toc-h svg { width: 10px; height: 10px; }
.pv-toc a { padding-left: 14px; border-left: 1px solid var(--b-pri); }
.pv-toc a.on { color: var(--brand); border-color: var(--brand-base); }

/* ---------- asset wall ---------- */
.bt { border-top: 1px solid var(--line); }
.wall { display: flex; }
.wall-left { width: 33.333%; flex-shrink: 0; padding: 28px; display: flex; flex-direction: column; justify-content: space-between; gap: 40px; }
.t-sub { font: 500 24px/28px var(--sans); letter-spacing: -.24px; color: var(--sub); }
.t-sub strong { font-weight: 500; color: var(--text); }
.wall-right { flex: 1; min-width: 0; border-left: 1px solid var(--b-pri); }
.tiles { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; padding: 12px; }
.tile { position: relative; aspect-ratio: 160/155; border-radius: 6px; border: 1px solid var(--b-pri); background: var(--tile); display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 10px; overflow: hidden; cursor: pointer; transition: background-color .15s; }
.tile:hover { background: color-mix(in srgb, var(--tile) 100%, rgba(255,255,255,.03)); }
.tile:hover::after { opacity: 1; }
.tile::after { content: ''; position: absolute; inset: 0; background: var(--bg-soft); opacity: 0; transition: opacity .15s; }
.tile svg { width: 26px; height: 26px; color: var(--text); position: relative; z-index: 1; transition: transform .5s var(--ease), opacity .5s; }
.tile b { font: 500 15px/20px var(--sans); letter-spacing: -.2px; position: relative; z-index: 1; transition: transform .5s var(--ease), opacity .5s; }
.tile em { position: absolute; z-index: 1; bottom: 10px; font: 500 11px/14px var(--mono); font-style: normal; color: var(--brand); opacity: 0; transform: translateY(4px); transition: opacity .2s, transform .2s; letter-spacing: .02em; }
.tile:hover em { opacity: 1; transform: none; }
.tile.swap svg, .tile.swap b { opacity: 0; transform: translateY(8px); }

/* ---------- ticker ---------- */
.ticker-band { border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); background: var(--bg); }
.ticker-row { display: flex; align-items: center; gap: 24px; padding: 32px 28px; }
.ticker-label { font: 500 16px/24px var(--sans); white-space: nowrap; }
.vsep { width: 1px; height: 20px; background: var(--b-pri); flex-shrink: 0; }
.ticker { position: relative; flex: 1; min-width: 96px; overflow: hidden; margin-left: -24px; }
.ticker-track { display: flex; width: max-content; animation: tick 40s linear infinite; }
.ticker:hover .ticker-track, .ticker:focus .ticker-track { animation-play-state: paused; }
@keyframes tick { to { transform: translateX(-50%); } }
.tk-set { display: flex; align-items: center; gap: 32px; padding-right: 32px; }
.tk { display: flex; align-items: center; gap: 8px; white-space: nowrap; }
.tk span { font: 500 12px/16px var(--sans); letter-spacing: .02em; color: var(--sub); }
.tk b { font: 500 12px/16px var(--mono); letter-spacing: .02em; color: var(--brand); background: var(--brand-tint); padding: 4px 8px; border-radius: 2px; }
.ticker-fade { position: absolute; top: 0; bottom: 0; width: 80px; z-index: 2; pointer-events: none; }
.ticker-fade.l { left: 0; background: linear-gradient(to right, var(--bg) 0%, transparent 71%); }
.ticker-fade.r { right: 0; background: linear-gradient(to right, transparent 0%, var(--bg) 71%); }

/* ---------- section head ---------- */
.sec-head { padding: 40px 0; }
.sec-head .tick { position: absolute; left: -1px; top: 60px; width: 2px; height: 24px; transform: translateY(-50%); background: var(--brand-base); }
.sec-head header { margin: 0 46px; display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; }
.t-head { font: 500 36px/40px var(--sans); letter-spacing: -.72px; color: var(--fg); text-wrap: balance; max-width: 41.5rem; }
.t-head span { display: block; color: var(--fg3); }
.head-ctrl { display: flex; align-items: center; gap: 12px; padding-bottom: 4px; }
.sec-head header > .btn { margin-bottom: 4px; }
.arrows { display: flex; gap: 8px; }
.arrow { display: grid; place-items: center; padding: 12px; border-radius: 4px; border: 1px solid var(--b-sub); background: var(--bg); color: var(--text); transition: background-color .1s, opacity .2s; }
.arrow svg { width: 16px; height: 16px; opacity: .5; }
.arrow:hover { background: var(--bg-soft); }
.arrow:disabled { opacity: .4; cursor: default; }

/* ---------- features ---------- */
.feat-grid { display: grid; grid-template-columns: repeat(3, 1fr); grid-auto-rows: 25.75rem; gap: 16px; }
.feat { position: relative; overflow: hidden; display: flex; flex-direction: column; border-radius: 12px; border: 1px solid var(--b-sub); background: var(--card); padding: 32px; cursor: pointer; isolation: isolate; transition: border-color .2s; }
.feat:hover { border-color: rgba(162,89,255,.28); }
.feat h3 { margin-top: auto; padding-top: 32px; font: 500 16px/24px var(--sans); position: relative; z-index: 2; }
.f-wide { grid-column: span 2; }
.f-full { grid-column: span 3; }
.feat-canvas { position: absolute; inset: 0; width: 100%; height: 100%; z-index: 0; pointer-events: none; }

.ask-pill { position: absolute; z-index: 2; left: 18%; top: 41%; width: 60%; height: 56px; display: flex; align-items: center; gap: 12px; padding: 0 20px; border-radius: 30px; border: 1px solid var(--b-sub); background: color-mix(in srgb, var(--card) 88%, transparent); backdrop-filter: blur(6px); box-shadow: 0 10px 40px -10px rgba(0,0,0,.6); transition: transform .4s var(--ease); }
.feat:hover .ask-pill { transform: translateY(-3px); }
.ask-pill .spark { width: 18px; height: 18px; color: var(--brand-base); }
.ask-pill .go { width: 18px; height: 18px; margin-left: auto; color: var(--soft); }
.ask-type { font: 400 18px/24px var(--sans); color: var(--fg2); white-space: nowrap; overflow: hidden; }
.ask-type::after { content: ''; display: inline-block; width: 1px; height: 18px; background: var(--brand); margin-left: 2px; vertical-align: -3px; animation: blink 1s steps(1) infinite; }
@keyframes blink { 50% { opacity: 0; } }

.stack { position: absolute; z-index: 1; top: 30%; left: 9%; right: -4%; display: flex; flex-direction: column; gap: 10px; }
.stack-row { display: flex; align-items: center; gap: 12px; width: 62%; height: 38px; padding: 0 12px; border-radius: 9px; border: 1px solid var(--b-sub); background: color-mix(in srgb, var(--card) 85%, #000); transition: transform .5s var(--ease); }
.stack-row.s2 { margin-left: 9%; }
.stack-row.s3 { margin-left: 16%; }
.feat:hover .stack-row { transform: translateX(6px); }
.feat:hover .stack-row.s2 { transform: translateX(12px); }
.feat:hover .stack-row.s3 { transform: translateX(18px); }
.ring { width: 13px; height: 13px; border-radius: 50%; border: 1.5px solid var(--skel); flex-shrink: 0; }
.bars { display: flex; flex-direction: column; gap: 5px; flex: 1; }
.bars i { height: 5px; border-radius: 3px; background: var(--skel); width: 85%; }
.bars i + i { width: 55%; background: var(--skel2); }

.roles { position: absolute; top: 24%; left: 18%; right: -12%; display: flex; flex-direction: column; gap: 10px; z-index: 1; }
.role { position: relative; display: flex; align-items: center; gap: 10px; height: 46px; padding: 0 10px; border-radius: 6px; border: 1px solid var(--b-sub); background: var(--card); margin-left: 6%; }
.role.on { margin-left: -10%; border-color: rgba(162,89,255,.5); background: linear-gradient(90deg, rgba(162,89,255,.1), rgba(162,89,255,.03)); box-shadow: 0 0 0 1px rgba(162,89,255,.15), 0 8px 30px -10px rgba(162,89,255,.4); }
.role.ghost { opacity: .4; height: 32px; border: 0; background: none; }
.role .av { width: 26px; height: 26px; border-radius: 5px; display: grid; place-items: center; background: var(--skel2); color: var(--sub); flex-shrink: 0; }
.role.on .av { background: rgba(162,89,255,.28); color: var(--brand); }
.role .av svg { width: 14px; height: 14px; }
.role em { font: 500 11px/1 var(--sans); font-style: normal; display: inline-flex; align-items: center; gap: 4px; color: var(--soft); padding: 4px 6px; border-radius: 4px; border: 1px solid var(--b-sub); white-space: nowrap; }
.role em svg { width: 8px; height: 8px; }
.role.on em { color: var(--brand); border-color: rgba(162,89,255,.35); }
.role .bars i { background: var(--skel); }

.nodes { position: absolute; z-index: 1; left: 0; right: 0; top: 44%; display: flex; justify-content: center; gap: 10px; }
.node { width: 54px; height: 54px; border-radius: 12px; display: grid; place-items: center; background: color-mix(in srgb, var(--card) 85%, #000); border: 1px solid var(--b-sub); box-shadow: 0 6px 20px -6px rgba(0,0,0,.6); transition: transform .4s var(--ease); }
.node svg { width: 24px; height: 24px; color: var(--brand); }
.node.mid svg { width: 28px; height: 28px; }
.feat:hover .node { transform: translateY(-4px); }
.feat:hover .node.mid { transform: translateY(-8px); }

.mkt { position: absolute; z-index: 1; top: 18%; left: 18%; right: -2%; bottom: 26%; border: 1px solid var(--b-sub); border-radius: 6px; background: color-mix(in srgb, var(--card) 80%, #000); overflow: hidden; }
.mkt-tabs { display: flex; border-bottom: 1px solid var(--b-sub); font: 400 9.5px/1 var(--sans); color: var(--soft); }
.mkt-tabs span { display: flex; align-items: center; gap: 5px; padding: 8px 9px; border-right: 1px solid var(--b-sub); }
.mkt-tabs span.on { color: var(--text); box-shadow: inset 0 -1px 0 var(--brand-base); }
.mkt-tabs svg { width: 10px; height: 10px; }
.mkt-tabs .sq { width: 12px; height: 8px; border-radius: 2px; background: var(--brand-base); }
.mkt-body { position: relative; padding: 20px 18px; display: flex; flex-direction: column; gap: 8px; }
.mkt-body .l { height: 5px; border-radius: 3px; background: var(--skel); }
.mkt-body .l.b { height: 6px; background: rgba(162,89,255,.4); margin-top: 8px; }
.w35{width:35%}.w40{width:40%}.w50{width:50%}.w55{width:55%}.w60{width:60%}.w70{width:70%}.w75{width:75%}
.cur { position: absolute; display: flex; align-items: flex-start; gap: 0; }
.cur svg { width: 15px; height: 15px; }
.cur b { font: 500 10px/1 var(--sans); padding: 4px 6px; border-radius: 3px; margin-top: -10px; white-space: nowrap; }
.c1 { left: 52%; top: 6px; color: #c084fc; animation: drift1 7s ease-in-out infinite; }
.c1 b { background: rgba(192,132,252,.2); border: 1px solid rgba(192,132,252,.5); color: #e9d5ff; order: 2; }
.c2 { left: -2%; top: 46%; color: #60a5fa; animation: drift2 8s ease-in-out infinite; }
.c2 b { background: rgba(96,165,250,.2); border: 1px solid rgba(96,165,250,.5); color: #dbeafe; order: -1; margin-right: 2px; }
.c3 { right: 6%; bottom: 8px; color: #f472b6; animation: drift1 9s ease-in-out infinite reverse; }
.c3 b { background: rgba(244,114,182,.2); border: 1px solid rgba(244,114,182,.5); color: #fce7f3; order: -1; margin-right: 2px; }
@keyframes drift1 { 50% { transform: translate(-14px, 10px); } }
@keyframes drift2 { 50% { transform: translate(18px, -8px); } }

.app-ghost { position: absolute; z-index: 1; left: 19%; right: 19%; top: 8%; bottom: 0; border: 1px solid var(--b-sub); border-bottom: 0; border-radius: 6px 6px 0 0; background: color-mix(in srgb, var(--card) 80%, #000); display: flex; }
.ag-side { width: 25%; padding: 16px 12px; display: flex; flex-direction: column; gap: 9px; border-right: 1px solid var(--b-sub); }
.ag-logo { width: 16px; height: 16px; color: var(--brand); margin-bottom: 14px; }
.ag-logo svg { width: 14px; height: 14px; }
.ag-side i { height: 6px; border-radius: 3px; background: var(--skel); width: 70%; }
.ag-side i.on { width: 85%; height: 8px; background: var(--brand-base); box-shadow: 0 0 12px rgba(162,89,255,.6); }
.ag-main { flex: 1; padding: 16px 18px; }
.ag-bar { display: block; height: 6px; width: 40%; border-radius: 3px; background: var(--skel2); margin: 6px 0 18px; }
.ag-cols { display: grid; grid-template-columns: 1fr 1fr 1.3fr; gap: 14px; }
.ag-cols > div { display: flex; flex-direction: column; gap: 7px; }
.ag-cols b { height: 54px; border-radius: 6px; background: var(--skel2); }
.ag-cols b.t { height: 80px; }
.ag-cols i { height: 6px; border-radius: 3px; background: var(--skel); }
.ag-cols i.s { width: 60%; background: var(--skel2); }
.ag-dot { width: 7px; height: 7px; border-radius: 50%; background: var(--brand-base); box-shadow: 0 0 8px var(--brand-base); margin: 6px 0; }
.ag-pop { position: absolute; display: flex; flex-direction: column; gap: 7px; padding: 12px; border-radius: 8px; border: 1px solid rgba(255,255,255,.14); background: var(--card); box-shadow: 0 16px 40px -10px rgba(0,0,0,.7); transition: transform .5s var(--ease); }
.ag-pop span { display: grid; place-items: center; width: 20px; height: 20px; border-radius: 5px; background: var(--brand-tint); color: var(--brand); }
.ag-pop span svg { width: 12px; height: 12px; }
.ag-pop i { height: 6px; border-radius: 3px; background: var(--skel); width: 110px; }
.ag-pop i.s { width: 70px; background: var(--skel2); }
.ag-pop.p1 { left: 13%; top: 46%; flex-direction: row; align-items: center; width: 180px; }
.ag-pop.p2 { left: 56%; top: 10%; width: 180px; }
.feat:hover .ag-pop.p1 { transform: translate(-6px, -4px); }
.feat:hover .ag-pop.p2 { transform: translate(6px, -4px); }

/* ---------- big carousel ---------- */
.car-wrap { position: relative; isolation: isolate; }
.dots-bg { position: absolute; z-index: -1; top: 0; bottom: 0; right: 100%; width: 50vw; background: radial-gradient(circle, rgba(255,255,255,.12) 1px, transparent 1.3px) 0 0/16px 16px; -webkit-mask: radial-gradient(60% 50% at 70% 50%, #000, transparent); mask: radial-gradient(60% 50% at 70% 50%, #000, transparent); opacity: .6; }
:root[data-theme="light"] .dots-bg { background-image: radial-gradient(circle, rgba(0,0,0,.14) 1px, transparent 1.3px); }
.big-car { display: flex; gap: 16px; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; margin: 0 calc(-1 * var(--gutter)); padding: 0 var(--gutter); scroll-padding: 0 var(--gutter); }
.big-car::-webkit-scrollbar, .small-car::-webkit-scrollbar { display: none; }
.bc { flex-shrink: 0; width: calc(var(--wrap) - 32px); max-width: calc(100vw - 64px); scroll-snap-align: start; scroll-snap-stop: always; border-radius: 6px; overflow: hidden; display: flex; aspect-ratio: 1056/472; transition: opacity .4s; cursor: pointer; }
.bc.dim { opacity: .45; }
.bc-l { position: relative; flex: 1; padding: 32px; display: flex; flex-direction: column; color: #fff; overflow: hidden; }
.bc-l canvas { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; opacity: .5; }
.bc-l > * { position: relative; }
.bc-tag { display: inline-flex; align-items: center; gap: 8px; font: 600 13px/20px var(--sans); letter-spacing: .08em; text-transform: uppercase; }
.bc-tag svg { width: 18px; height: 18px; }
.bc h3 { font: 500 36px/40px var(--sans); letter-spacing: -.72px; margin-top: 32px; max-width: 27rem; color: rgba(255,255,255,.7); }
.bc h3 b { color: #fff; font-weight: 500; }
.bc-stats { display: flex; gap: 48px; margin-top: 32px; }
.bc-stats div { width: 176px; display: flex; flex-direction: column; gap: 8px; }
.bc-stats b { font: 500 36px/40px var(--sans); letter-spacing: -.72px; }
.bc-stats p { font: 400 16px/24px var(--sans); }
.bc .btn { margin-top: auto; width: fit-content; background: #fff; color: #262626; border: 1px solid rgba(0,0,0,.05); }
.bc-r { position: relative; width: 49.2%; overflow: hidden; }
.bc-r canvas { position: absolute; inset: 0; width: 100%; height: 100%; transition: transform .5s ease-out; }
.bc:hover .bc-r canvas { transform: scale(1.03); }

/* ---------- chart ---------- */
.chart { position: relative; height: 320px; overflow: hidden; }
.chart canvas { position: absolute; inset: 0; width: 100%; height: 100%; }
.chart-link { position: absolute; z-index: 2; top: 32px; left: 28px; display: inline-flex; align-items: center; gap: 4px; font: 500 14px/16px var(--sans); color: var(--brand); }
.chart-link svg { width: 16px; height: 16px; opacity: .5; }
.chart-link:hover svg { opacity: 1; }
.chart-lbl, .chart-x { position: absolute; font: 500 11px/14px var(--mono); letter-spacing: .1em; }
.chart-lbl.a { right: 28px; top: 34px; color: var(--brand); }
.chart-lbl.b { right: 28px; top: 186px; color: var(--muted); }
.chart-x { bottom: 22px; color: var(--muted); }
.chart-x.x1 { left: 28px; } .chart-x.x2 { left: 61%; transform: translateX(-50%); } .chart-x.x3 { right: 28px; }
.stats { display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid var(--line); padding: 40px 46px; }
.stat { display: flex; flex-direction: column; gap: 24px; }
.stat + .stat { border-left: 1px solid var(--b-pri); padding-left: 32px; }
.stat:not(:last-child) { padding-right: 32px; }
.stat svg { width: 20px; height: 20px; color: var(--muted); }
.stat div { display: flex; flex-direction: column; gap: 8px; }
.stat b { font: 500 36px/40px var(--sans); letter-spacing: -.72px; color: var(--fg); }
.stat p { font: 400 16px/24px var(--sans); color: var(--fg2); }

/* ---------- small carousel ---------- */
.small-car { display: flex; gap: 16px; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; margin: 0 calc(-1 * var(--gutter)); padding: 0 var(--gutter); scroll-padding: 0 var(--gutter); }
.sc { flex-shrink: 0; width: calc((var(--wrap) - 64px) / 3); scroll-snap-align: start; display: flex; flex-direction: column; cursor: pointer; }
.sc-img { position: relative; aspect-ratio: 350/400; border-radius: 6px; overflow: hidden; }
.sc-img canvas { position: absolute; inset: 0; width: 100%; height: 100%; transition: transform .5s ease-out; }
.sc:hover .sc-img canvas { transform: scale(1.03); }
.sc-badge { position: absolute; left: 50%; top: 50%; width: 76px; height: 76px; margin: -38px 0 0 -38px; border-radius: 12px; background: #fff; display: grid; place-items: center; box-shadow: 0 10px 30px rgba(0,0,0,.35); }
.sc-badge svg { width: 38px; height: 38px; }
.sc-txt { display: flex; flex-direction: column; gap: 16px; padding: 16px 0; flex: 1; }
.sc-txt p { font: 400 14px/20px var(--sans); color: var(--sub); }
.sc-txt p b { color: var(--text); font-weight: 500; }
.sc-txt span { margin-top: auto; display: inline-flex; align-items: center; gap: 4px; font: 500 14px/16px var(--sans); color: var(--brand); }
.sc-txt span svg { width: 16px; height: 16px; opacity: .5; }
.sc:hover .sc-txt span svg { opacity: 1; }

/* ---------- audiences ---------- */
.who { border-top: 1px solid var(--line); padding-top: 16px; }
.who-bar { display: flex; justify-content: flex-end; padding: 0 16px; margin-bottom: 16px; }
.who-pause { font: 400 14px/20px var(--sans); color: var(--fg2); transition: color .1s; }
.who-pause:hover { color: var(--fg); }
.who-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; padding: 0 16px 16px; }
.who-card { height: 264px; display: flex; flex-direction: column; gap: 32px; padding: 16px; border-radius: 6px; border: 1px solid var(--b-pri); background: var(--tile); overflow: hidden; cursor: pointer; transition: background-color .2s; }
.who-card:hover { background: var(--bg-soft); }
.who-inner { display: flex; flex-direction: column; gap: 32px; transition: opacity .45s, filter .45s, transform .45s; }
.who-inner.out { opacity: 0; filter: blur(4px); transform: translateY(6px); }
.who-head { display: flex; align-items: center; gap: 12px; }
.who-ic { width: 48px; height: 48px; border-radius: 4px; display: grid; place-items: center; background: rgba(250,248,245,.03); color: var(--brand); flex-shrink: 0; }
.who-ic svg { width: 22px; height: 22px; }
.who-head div { display: flex; flex-direction: column; gap: 4px; min-width: 0; }
.who-head b { font: 500 14px/20px var(--sans); letter-spacing: -.1px; color: var(--fg); }
.who-head span { font: 400 14px/20px var(--sans); color: var(--fg2); }
.who-card blockquote { font: 400 14px/24px var(--sans); color: var(--soft); display: -webkit-box; -webkit-line-clamp: 6; -webkit-box-orient: vertical; overflow: hidden; }

/* ---------- posts ---------- */
.posts { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.post { display: flex; flex-direction: column; border-radius: 12px; cursor: pointer; }
.post-img { position: relative; aspect-ratio: 341/324; border-radius: 12px; overflow: hidden; display: grid; place-items: center; }
.post-img > div { position: absolute; inset: 0; transition: transform .5s ease-out; }
.post:hover .post-img > div { transform: scale(1.03); }
.post-img .pi-badge { position: relative; z-index: 1; display: grid; place-items: center; border-radius: 10px; transition: transform .5s var(--ease); }
.post-body { display: flex; flex-direction: column; gap: 16px; padding: 16px 12px; }
.post-meta { display: flex; align-items: center; gap: 8px; }
.post-meta .chip { display: inline-flex; padding: 6px 8px; border-radius: 4px; background: var(--bg-soft); font: 500 14px/16px var(--sans); }
.post-meta time { font: 400 14px/20px var(--sans); color: var(--sub); }
.post p { font: 500 16px/24px var(--sans); text-wrap: pretty; transition: color .15s; }
.post:hover p { color: var(--brand); }

/* ---------- faq ---------- */
.faq-sec { margin-top: 0; }
.faq-sec .wrap { padding: 64px 46px; }
.faq { display: grid; grid-template-columns: minmax(0,1fr) minmax(0,2fr); gap: 64px; }
.faq-item { border-bottom: 1px solid var(--line); }
.faq-q { width: 100%; display: flex; align-items: flex-start; justify-content: space-between; gap: 24px; text-align: left; padding: 20px 0; font: 500 18px/24px var(--sans); color: var(--fg); }
.faq-q svg { width: 16px; height: 16px; margin-top: 4px; flex-shrink: 0; color: var(--fg3); transition: transform .2s var(--ease), color .2s; }
.faq-q:hover svg { color: var(--fg); }
.faq-item.open .faq-q svg { transform: rotate(180deg); }
.faq-a { display: grid; grid-template-rows: 0fr; transition: grid-template-rows .28s var(--ease); }
.faq-item.open .faq-a { grid-template-rows: 1fr; }
.faq-a > div { overflow: hidden; }
.faq-a .in { display: flex; flex-direction: column; gap: 12px; padding: 0 40px 20px 0; font: 400 16px/24px var(--sans); color: var(--fg2); }
.faq-a a { color: var(--text); text-decoration: underline; text-decoration-color: var(--b-sub); text-underline-offset: 3px; }
.faq-a a:hover { text-decoration-color: var(--brand); }

/* ---------- cta ---------- */
.cta-band { border-top: 1px solid var(--line); overflow-x: clip; }
.cta { position: relative; display: flex; align-items: center; justify-content: space-between; gap: 32px; padding: 40px 46px; overflow: hidden; }
.cta .t-head { position: relative; z-index: 1; max-width: none; min-width: 0; }
.cta-btns { position: relative; z-index: 1; display: flex; gap: 8px; flex-shrink: 0; }
.cta-canvas { position: absolute; right: 0; top: 0; width: 46%; height: 100%; pointer-events: none; }

/* ---------- footer ---------- */
.foot { position: relative; padding-top: 104px; border-top: 1px solid var(--line); }
.foot-dots { position: absolute; inset: 0; z-index: -1; pointer-events: none; background: radial-gradient(circle, rgba(255,255,255,.1) 1px, transparent 1.4px) 0 0/14px 14px; -webkit-mask: linear-gradient(90deg, #000 0, transparent 22%, transparent 78%, #000 100%), linear-gradient(#0000, #000); mask: linear-gradient(90deg, #000 0, transparent 22%, transparent 78%, #000 100%); -webkit-mask-composite: source-in; opacity: .55; }
:root[data-theme="light"] .foot-dots { background-image: radial-gradient(circle, rgba(0,0,0,.12) 1px, transparent 1.4px); }
.foot-grid { display: grid; grid-template-columns: repeat(24, var(--col)); column-gap: var(--grid-gap); padding-bottom: 64px; }
.foot-brand { grid-column: span 5; display: flex; flex-direction: column; gap: 24px; align-items: flex-start; }
.foot-brand .logo { margin: -6px -8px; }
.status { margin-top: auto; display: inline-flex; align-items: center; gap: 6px; padding: 4px 8px 4px 6px; border-radius: 4px; border: 1px solid var(--b-pri); background: var(--bg); font: 400 14px/20px var(--sans); color: var(--fg2); transition: background-color .2s; }
.status:hover { background: var(--bg-soft); }
.sig { position: relative; width: 6px; height: 6px; margin: 5px; }
.sig i { position: absolute; inset: 0; border-radius: 50%; background: #22c55e; }
.sig i:first-child { animation: sigping 2s cubic-bezier(0,0,.2,1) infinite; }
@keyframes sigping { 75%, 100% { transform: scale(2.6); opacity: 0; } }
.foot-cols { grid-column: span 19; display: grid; grid-template-columns: repeat(5, 1fr); gap: 16px; }
.foot-cols h3 { font: 400 14px/20px var(--sans); color: var(--muted); margin-bottom: 24px; }
.foot-cols ul { list-style: none; display: flex; flex-direction: column; gap: 20px; }
.foot-cols a { display: block; width: fit-content; padding: 4px 0; font: 500 14px/16px var(--sans); color: var(--text); transition: color .15s; }
.foot-cols a:hover { color: var(--brand); }
.foot-rule { grid-column: 1 / -1; border-top: 1px solid var(--line); margin-top: 64px; }
.foot-bottom { grid-column: 1 / -1; margin-top: 40px; display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; }
.themes { display: flex; gap: 8px; }
.themes button { width: 28px; height: 28px; display: grid; place-items: center; border-radius: 4px; border: 1px solid transparent; color: var(--muted); transition: color .15s, border-color .15s; }
.themes button:hover { color: var(--text); }
.themes button.on { color: var(--brand); border-color: var(--brand-base); background: var(--brand-tint); }
.themes svg { width: 16px; height: 16px; }
.socials { display: flex; align-items: center; gap: 16px; }
.socials .copy { font: 400 13px/16px var(--sans); color: var(--muted); }
.socials a { width: 28px; height: 28px; display: grid; place-items: center; color: var(--muted); transition: color .15s; }
.socials a:hover { color: var(--text); }
.socials svg { width: 16px; height: 16px; }

/* ---------- overlay / modals ---------- */
body.locked { overflow: hidden; }
.overlay { position: fixed; inset: 0; z-index: 300; background: rgba(4,3,8,.72); backdrop-filter: blur(6px); display: flex; align-items: center; justify-content: center; padding: 24px; animation: fadeIn .2s; }
@keyframes fadeIn { from { opacity: 0; } }
.modal { position: relative; width: 100%; max-width: 520px; max-height: calc(100vh - 48px); overflow: auto; background: var(--bg); border: 1px solid var(--b-sub); border-radius: 12px; box-shadow: 0 40px 100px -20px rgba(0,0,0,.8), 0 0 0 1px rgba(162,89,255,.06); animation: modalIn .3s var(--ease); }
@keyframes modalIn { from { opacity: 0; transform: translateY(10px) scale(.985); } }
.modal-x { position: absolute; top: 14px; right: 14px; width: 32px; height: 32px; display: grid; place-items: center; border-radius: 6px; color: var(--sub); z-index: 5; }
.modal-x:hover { background: var(--bg-soft); color: var(--text); }
.modal-x svg { width: 18px; height: 18px; }
.m-head { padding: 24px 24px 0; }
.m-head h3 { font: 500 20px/28px var(--sans); letter-spacing: -.3px; }
.m-head p { font: 400 14px/20px var(--sans); color: var(--sub); margin-top: 4px; }
.m-body { padding: 20px 24px 24px; display: flex; flex-direction: column; gap: 14px; }
.wallets { display: flex; flex-direction: column; gap: 8px; }
.wallet-opt { display: flex; align-items: center; gap: 12px; padding: 12px 14px; border-radius: 8px; border: 1px solid var(--b-sub); background: var(--tile); text-align: left; transition: border-color .15s, background-color .15s; }
.wallet-opt:hover { border-color: rgba(162,89,255,.45); background: var(--brand-tint); }
.wallet-opt .wi { width: 34px; height: 34px; border-radius: 8px; display: grid; place-items: center; background: var(--bg-soft); color: var(--brand); overflow: hidden; }
.wallet-opt .wi img { width: 24px; height: 24px; }
.wallet-opt .wi svg { width: 18px; height: 18px; }
.wallet-opt b { font: 500 14px/20px var(--sans); display: block; }
.wallet-opt span { font: 400 12px/16px var(--sans); color: var(--sub); }
.wallet-opt .tag { margin-left: auto; font: 500 11px/1 var(--mono); color: var(--brand); background: var(--brand-tint); padding: 5px 7px; border-radius: 3px; }
.m-note { font: 400 12px/18px var(--sans); color: var(--muted); }
.acct { display: flex; align-items: center; gap: 12px; padding: 14px; border-radius: 8px; border: 1px solid var(--b-sub); background: var(--tile); }
.acct .av { width: 40px; height: 40px; border-radius: 50%; flex-shrink: 0; }
.acct b { font: 500 15px/20px var(--mono); }
.acct span { font: 400 12px/16px var(--sans); color: var(--sub); }

/* app shell */
.app { width: min(1180px, 100%); max-width: none; height: min(780px, calc(100vh - 48px)); display: flex; overflow: hidden; padding: 0; }
.app-side { width: 220px; flex-shrink: 0; border-right: 1px solid var(--line); padding: 18px 10px; display: flex; flex-direction: column; gap: 2px; overflow-y: auto; }
.app-side .pv-logo { margin-bottom: 12px; }
.app-side .pv-item { font-size: 14px; line-height: 20px; padding: 8px 10px; cursor: pointer; }
.app-side .pv-item svg { width: 15px; height: 15px; }
.app-side .side-foot { margin-top: auto; padding: 10px; border-top: 1px solid var(--line); display: flex; flex-direction: column; gap: 8px; }
.app-side .side-foot .btn { width: 100%; padding: 10px; }
.app-main { flex: 1; min-width: 0; display: flex; flex-direction: column; }
.app-top { height: 60px; flex-shrink: 0; display: flex; align-items: center; gap: 16px; padding: 0 64px 0 28px; border-bottom: 1px solid var(--line); }
.app-top .pv-search { width: 320px; height: 34px; font-size: 13px; }
.app-top .pv-search input { flex: 1; background: none; border: 0; outline: 0; color: var(--text); font: 400 13px/1 var(--sans); }
.app-top .grow { flex: 1; }
.app-view { flex: 1; overflow-y: auto; padding: 28px; }
.view-h { display: flex; align-items: flex-end; justify-content: space-between; gap: 16px; margin-bottom: 22px; }
.view-h .crumb { font: 500 13px/16px var(--sans); color: var(--brand); }
.view-h h2 { font: 500 24px/30px var(--sans); letter-spacing: -.4px; margin-top: 6px; }
.view-h p { font: 400 14px/20px var(--sans); color: var(--sub); margin-top: 4px; }
.form-grid { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); gap: 24px; align-items: start; }
.fcard { border: 1px solid var(--b-sub); border-radius: 10px; background: var(--tile); padding: 20px; display: flex; flex-direction: column; gap: 14px; }
.fcard h4 { font: 500 14px/20px var(--sans); }
.field { display: flex; flex-direction: column; gap: 6px; }
.field label { font: 500 13px/16px var(--sans); color: var(--fg2); display: flex; justify-content: space-between; }
.field label em { font-style: normal; font-weight: 400; color: var(--muted); }
.field input, .field textarea, .field select { width: 100%; background: var(--bg); border: 1px solid var(--b-sub); border-radius: 6px; padding: 10px 12px; color: var(--text); font: 400 14px/20px var(--sans); outline: 0; transition: border-color .15s, box-shadow .15s; }
.field textarea { resize: vertical; min-height: 76px; }
.field input:focus, .field textarea:focus, .field select:focus { border-color: rgba(162,89,255,.6); box-shadow: 0 0 0 3px rgba(162,89,255,.15); }
.field .err { font: 400 12px/16px var(--sans); color: #f87171; }
.row2 { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.row3 { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 12px; }
.drop { display: flex; align-items: center; gap: 14px; padding: 14px; border: 1px dashed rgba(162,89,255,.35); border-radius: 8px; background: var(--brand-tint); cursor: pointer; transition: border-color .15s; }
.drop:hover, .drop.over { border-color: var(--brand-base); }
.drop .thumb { width: 64px; height: 64px; border-radius: 8px; flex-shrink: 0; display: grid; place-items: center; background: var(--bg); overflow: hidden; color: var(--brand); }
.drop .thumb img { width: 100%; height: 100%; object-fit: cover; }
.drop .thumb svg { width: 22px; height: 22px; }
.drop b { font: 500 14px/20px var(--sans); display: block; }
.drop span { font: 400 12px/16px var(--sans); color: var(--sub); }
.seg { display: flex; padding: 3px; gap: 3px; border-radius: 7px; background: var(--bg-soft); }
.seg button { flex: 1; padding: 7px 10px; border-radius: 5px; font: 500 13px/16px var(--sans); color: var(--sub); }
.seg button.on { background: var(--bg); color: var(--text); box-shadow: 0 1px 2px rgba(0,0,0,.3); }
.preview-card { position: sticky; top: 0; }
.tok-prev { display: flex; flex-direction: column; gap: 16px; }
.tok-top { display: flex; align-items: center; gap: 14px; }
.tok-img { width: 64px; height: 64px; border-radius: 12px; flex-shrink: 0; overflow: hidden; display: grid; place-items: center; background: linear-gradient(135deg, #b07cff, #6d2cff); font: 600 24px/1 var(--sans); color: #fff; }
.tok-img img { width: 100%; height: 100%; object-fit: cover; }
.tok-top b { font: 500 18px/24px var(--sans); display: block; word-break: break-word; }
.tok-top span { font: 500 13px/16px var(--mono); color: var(--brand); }
.tok-desc { font: 400 13px/20px var(--sans); color: var(--sub); word-break: break-word; }
.kv { display: flex; flex-direction: column; border-top: 1px solid var(--line); }
.kv div { display: flex; justify-content: space-between; gap: 12px; padding: 9px 0; border-bottom: 1px solid var(--line); font: 400 13px/18px var(--sans); }
.kv div span { color: var(--sub); }
.kv div b { font-weight: 500; font-family: var(--mono); font-size: 12.5px; text-align: right; word-break: break-all; }
.curve { height: 90px; border-radius: 8px; background: var(--bg); border: 1px solid var(--b-sub); position: relative; overflow: hidden; }
.curve svg { position: absolute; inset: 0; width: 100%; height: 100%; }
.nft-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.nft-grid > div { aspect-ratio: 1; border-radius: 8px; overflow: hidden; background: var(--bg-soft); display: grid; place-items: center; color: var(--muted); font: 500 11px/1 var(--mono); }
.nft-grid img { width: 100%; height: 100%; object-fit: cover; }
.stepper { display: flex; gap: 8px; margin-bottom: 4px; }
.stepper span { flex: 1; height: 3px; border-radius: 2px; background: var(--bg-soft); }
.stepper span.on { background: var(--brand-base); }
.actions { display: flex; gap: 8px; justify-content: flex-end; flex-wrap: wrap; }
.actions .btn { padding: 11px 16px; }
.cards3 { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 14px; }
.acard { border: 1px solid var(--b-sub); border-radius: 10px; background: var(--tile); overflow: hidden; display: flex; flex-direction: column; cursor: pointer; transition: border-color .15s, transform .2s var(--ease); }
.acard:hover { border-color: rgba(162,89,255,.4); transform: translateY(-2px); }
.acard .ai { aspect-ratio: 1.4; display: grid; place-items: center; overflow: hidden; background: linear-gradient(135deg, #2a1060, #120a24); font: 600 34px/1 var(--sans); color: #fff; }
.acard .ai img { width: 100%; height: 100%; object-fit: cover; }
.acard .ab { padding: 12px 14px; display: flex; flex-direction: column; gap: 4px; }
.acard .ab b { font: 500 14px/20px var(--sans); }
.acard .ab span { font: 400 12px/16px var(--sans); color: var(--sub); }
.acard .ab em { font-style: normal; font: 500 11px/1 var(--mono); color: var(--brand); background: var(--brand-tint); width: fit-content; padding: 5px 7px; border-radius: 3px; margin-top: 6px; }
.empty { border: 1px dashed var(--b-sub); border-radius: 12px; padding: 48px 24px; display: flex; flex-direction: column; align-items: center; text-align: center; gap: 10px; }
.empty .ei { width: 52px; height: 52px; border-radius: 12px; display: grid; place-items: center; background: var(--brand-tint); color: var(--brand); margin-bottom: 6px; }
.empty .ei svg { width: 24px; height: 24px; }
.empty b { font: 500 16px/24px var(--sans); }
.empty p { font: 400 14px/20px var(--sans); color: var(--sub); max-width: 380px; }
.empty .row { display: flex; gap: 8px; margin-top: 10px; flex-wrap: wrap; justify-content: center; }
.empty .btn { padding: 11px 16px; }
.tabs { display: flex; gap: 4px; border-bottom: 1px solid var(--line); margin-bottom: 18px; }
.tabs button { padding: 10px 12px; font: 500 14px/16px var(--sans); color: var(--sub); border-bottom: 1px solid transparent; margin-bottom: -1px; }
.tabs button.on { color: var(--text); border-color: var(--brand-base); }
.done { display: flex; flex-direction: column; align-items: center; text-align: center; gap: 12px; padding: 12px 0; }
.done .ok { width: 56px; height: 56px; border-radius: 50%; display: grid; place-items: center; background: var(--brand-tint); color: var(--brand); box-shadow: 0 0 0 8px rgba(162,89,255,.06); }
.done .ok svg { width: 26px; height: 26px; }
.done h3 { font: 500 20px/28px var(--sans); }
.done p { font: 400 14px/20px var(--sans); color: var(--sub); max-width: 400px; }
.spin { width: 16px; height: 16px; border-radius: 50%; border: 2px solid currentColor; border-right-color: transparent; animation: spin .7s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }

/* docs panel */
.docs { width: min(980px, 100%); max-width: none; height: min(720px, calc(100vh - 48px)); display: flex; padding: 0; overflow: hidden; }
.docs-nav { width: 220px; flex-shrink: 0; border-right: 1px solid var(--line); padding: 20px 10px; display: flex; flex-direction: column; gap: 2px; overflow-y: auto; }
.docs-nav h5 { font: 500 12px/16px var(--sans); color: var(--muted); padding: 14px 10px 6px; }
.docs-nav a { padding: 7px 10px; border-radius: 6px; font: 400 14px/20px var(--sans); color: var(--soft); }
.docs-nav a:hover { background: var(--bg-soft); }
.docs-nav a.on { background: var(--brand-tint); color: var(--brand); }
.docs-body { flex: 1; overflow-y: auto; padding: 36px 44px; }
.docs-body .crumb { font: 500 13px/16px var(--sans); color: var(--brand); }
.docs-body h2 { font: 500 28px/34px var(--sans); letter-spacing: -.5px; margin: 8px 0 12px; }
.docs-body h4 { font: 500 17px/24px var(--sans); margin: 26px 0 8px; }
.docs-body p, .docs-body li { font: 400 15px/26px var(--sans); color: var(--fg2); }
.docs-body ul, .docs-body ol { padding-left: 20px; display: flex; flex-direction: column; gap: 6px; margin: 8px 0; }
.docs-body code { font: 400 13px/1 var(--mono); background: var(--bg-soft); padding: 3px 6px; border-radius: 4px; color: var(--brand); }
.docs-body .callout { margin: 18px 0; padding: 14px 16px; border-radius: 8px; border: 1px solid rgba(162,89,255,.3); background: var(--brand-tint); font: 400 14px/22px var(--sans); color: var(--fg2); }
.docs-body table { width: 100%; border-collapse: collapse; margin: 10px 0; font: 400 14px/20px var(--sans); }
.docs-body td, .docs-body th { text-align: left; padding: 10px 12px; border-bottom: 1px solid var(--line); color: var(--fg2); }
.docs-body th { color: var(--muted); font-weight: 500; }
.swatches { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; margin: 12px 0; }
.swatches div { border-radius: 8px; border: 1px solid var(--b-sub); overflow: hidden; font: 500 12px/16px var(--mono); }
.swatches i { display: block; height: 64px; }
.swatches span { display: block; padding: 8px 10px; color: var(--fg2); }

/* toasts */
.toasts { position: fixed; z-index: 400; bottom: 20px; right: 20px; display: flex; flex-direction: column; gap: 8px; align-items: flex-end; pointer-events: none; }
.toast { pointer-events: auto; display: flex; align-items: center; gap: 10px; max-width: 380px; padding: 12px 14px; border-radius: 8px; border: 1px solid var(--b-sub); background: var(--card); box-shadow: var(--shadow); font: 400 14px/20px var(--sans); animation: toastIn .3s var(--ease); }
.toast svg { width: 16px; height: 16px; color: var(--brand); flex-shrink: 0; }
.toast.out { opacity: 0; transform: translateY(6px); transition: .25s; }
@keyframes toastIn { from { opacity: 0; transform: translateY(10px); } }

/* ---------- responsive ---------- */
@media (max-width: 1120px) {
  :root { --col: calc((100vw - 32px - 23 * 16px) / 24); }
  .bc { width: calc(100vw - 96px); }
  .sc { width: calc((100vw - 96px) / 2.4); }
}
@media (max-width: 1023px) {
  .nav-links, .nav-cta { display: none; }
  .burger { display: block; }
  .mega { display: none; }
  .hero-grid { display: flex; flex-direction: column; padding-top: 24px; }
  .hero-actions { margin-top: 0; }
  .hero-copy, .hero-actions { width: 100%; max-width: 560px; }
  .hero-preview { width: 120%; margin-top: 48px; }
  .wall { flex-direction: column; }
  .wall-left { width: auto; border-bottom: 1px solid var(--b-pri); }
  .wall-right { border-left: 0; }
  .feat-grid { grid-template-columns: repeat(2, 1fr); grid-auto-rows: auto; }
  .feat { aspect-ratio: 338/412; }
  .f-wide, .f-full { grid-column: span 2; aspect-ratio: 2/1; }
  .sec-head header { margin: 0 28px; flex-direction: column; align-items: flex-start; gap: 32px; }
  .head-ctrl .btn { order: -1; }
  .head-ctrl { flex-direction: column-reverse; align-items: flex-start; }
  .bc { flex-direction: column; aspect-ratio: auto; }
  .bc-l { min-height: 380px; padding: 28px; }
  .bc-r { width: 100%; height: 304px; }
  .who-grid, .posts { grid-template-columns: repeat(2, 1fr); }
  .faq { grid-template-columns: 1fr; gap: 32px; }
  .faq-sec .wrap { padding: 32px 28px; }
  .cta { flex-direction: column; align-items: flex-start; padding: 32px 28px 56px; }
  .cta .t-head { white-space: normal; }
  .foot-grid { display: flex; flex-direction: column; gap: 40px; padding: 0 16px 72px; }
  .foot-cols { grid-template-columns: repeat(3, 1fr); row-gap: 40px; }
  .foot { padding-top: 72px; }
  .form-grid { grid-template-columns: 1fr; }
  .app-side { display: none; }
  .docs-nav { display: none; }
}
@media (max-width: 640px) {
  .hero h1 { font-size: 40px; line-height: 44px; letter-spacing: -.8px; }
  .hero-preview { width: 587px; }
  .tiles { grid-template-columns: repeat(2, 1fr); }
  .tile { aspect-ratio: 163/104; flex-direction: row; }
  .ticker-row { padding: 20px 28px; gap: 16px; }
  .ticker-label { font-size: 14px; }
  .ticker { margin-left: -16px; }
  .spacer { height: 120px; }
  .t-head { font-size: 28px; line-height: 32px; letter-spacing: -.5px; }
  .feat-grid { grid-template-columns: 1fr; }
  .feat, .f-wide, .f-full { grid-column: auto; aspect-ratio: 338/412; }
  .ask-pill { left: 6%; width: 88%; height: 48px; padding: 0 14px; }
  .ask-type { font-size: 15px; }
  .bc-l h3, .bc h3 { font-size: 28px; line-height: 32px; }
  .bc-stats { gap: 16px; }
  .bc-stats div { width: auto; flex: 1; }
  .bc-stats b { font-size: 28px; line-height: 32px; }
  .sc { width: calc(100vw - 64px); }
  .stats { grid-template-columns: 1fr; padding: 28px; }
  .stat + .stat { border-left: 0; padding-left: 0; border-top: 1px solid var(--b-pri); padding-top: 28px; margin-top: 28px; }
  .stat:not(:last-child) { padding-right: 0; }
  .chart { height: 240px; }
  .chart-lbl.b { top: 140px; }
  .who-grid, .posts { grid-template-columns: 1fr; }
  .foot-cols { grid-template-columns: repeat(2, 1fr); }
  .row2, .row3 { grid-template-columns: 1fr; }
  .app-view { padding: 18px; }
  .app-top { padding: 0 56px 0 16px; }
  .app-top .pv-search { width: auto; flex: 1; }
  .overlay { padding: 10px; }
  .docs-body { padding: 28px 22px; }
  .swatches { grid-template-columns: repeat(2, 1fr); }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; scroll-behavior: auto !important; }
}
