/* GAIA. Dark first on pure black; the Bright gradient lives on the mark and one phrase per headline. */
:root {
  --accent: #B88AFF; --accent-ink: #0B0B0C;
  --grad: linear-gradient(100deg, #F0FF3A 0%, #F4F4F8 50%, #B88AFF 100%);
  --bg: #000000; --bg-1: #08080A; --bg-2: #0F0F12; --bg-3: #16161A; --bg-4: #1F1F24; --bg-5: #2A2A31;
  --fg: #F4F4F8; --fg-2: #A9A9B3; --fg-3: #75757F; --fg-4: #45454D;
  --pos: #3DDC97; --neg: #FF6B6B;
  --core: #F4F4F8;
  --shadow: 0 30px 80px -30px rgba(0,0,0,.9);
  --scrim: rgba(0, 0, 0, .76);
  --f-display: 'Anybody', ui-sans-serif, system-ui, sans-serif;
  --f-serif: 'Anybody', ui-sans-serif, system-ui, sans-serif;
  --f-ui: 'Inter', ui-sans-serif, system-ui, -apple-system, sans-serif;
  --f-mono: 'JetBrains Mono', ui-monospace, 'SF Mono', Menlo, monospace;
  --r-s: 6px; --r-m: 10px; --r-l: 14px; --r-xl: 18px; --r-btn: 999px;
  --gut: clamp(16px, 4vw, 48px);
  --maxw: 1320px;
  --ease: cubic-bezier(.2, .7, .1, 1);
  color-scheme: dark;
}
:root[data-theme="light"] {
  --accent: #7A4FE0; --accent-ink: #FFFFFF;
  --bg: #F4F4F8; --bg-1: #EEEEF3; --bg-2: #E8E8EE; --bg-3: #DFDFE6; --bg-4: #D3D3DC; --bg-5: #C5C5CF;
  --fg: #0B0B0C; --fg-2: #46464E; --fg-3: #74747E; --fg-4: #A6A6B0;
  --pos: #12935C; --neg: #D2423B;
  --core: #0B0B0C;
  --shadow: 0 30px 70px -30px rgba(20,16,40,.28);
  --scrim: rgba(236, 236, 242, .82);
  color-scheme: light;
}

*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0; background: var(--bg); color: var(--fg);
  font-family: var(--f-ui); font-size: 15px; line-height: 1.45;
  font-variant-numeric: tabular-nums; font-feature-settings: "tnum" 1;
  -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; }
input { font: inherit; color: inherit; }
::selection { background: var(--accent); color: var(--accent-ink); }
:focus-visible { outline: 2px solid var(--fg); outline-offset: 2px; border-radius: 6px; }
.i { width: 14px; height: 14px; flex: none; vertical-align: -2px; }
.btn .i { width: 13px; height: 13px; }
@media (min-width: 721px) { .m-only { display: none !important; } }
.m-only { display: block; }
main:focus, main:focus-visible { outline: none; }
.mono { font-family: var(--f-mono); font-size: .9em; letter-spacing: -.01em; }
.dim { color: var(--fg-2); } .muted { color: var(--fg-3); }
.pos { color: var(--pos); } .neg { color: var(--neg); }
.vh { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
.skip { position: absolute; left: -999px; top: 8px; z-index: 100; background: var(--fg); color: var(--bg); padding: 8px 12px; border-radius: 8px; }
.skip:focus { left: 8px; }
h1, h2, h3 { text-wrap: balance; font-family: var(--f-display); font-weight: 400; letter-spacing: -.035em; margin: 0; line-height: 1.02; }
h2 { font-size: clamp(28px, 3.2vw, 44px); }
h3 { font-size: 19px; letter-spacing: -.02em; }
p { margin: 0; }
em.s { font-family: var(--f-serif); font-style: italic; font-weight: 400; letter-spacing: -.01em; }
.wrap { max-width: var(--maxw); margin: 0 auto; padding: 0 var(--gut); }

/* nav */
.nav {
  position: fixed; z-index: 40; top: 0; left: 0; right: 0; height: 64px;
  display: flex; align-items: center; gap: 28px; padding: 0 var(--gut);
  background: color-mix(in oklab, var(--bg) 72%, transparent); backdrop-filter: blur(16px) saturate(1.2); -webkit-backdrop-filter: blur(16px) saturate(1.2);
}
.brand { display: inline-flex; align-items: center; gap: 10px; font-family: var(--f-display); font-weight: 500; font-size: 19px; letter-spacing: -.03em; }
.brand svg { width: 24px; height: 24px; color: var(--fg); }
.brand .n { color: var(--fg-3); }
.brand .sun { transition: transform .7s var(--ease); }
.brand:hover .sun { transform: translateY(-3px); }
.mark .dot { transform-origin: 32px 32px; transition: transform .9s var(--ease); fill: var(--accent); }
.nav-links { display: flex; gap: 2px; }
.nav-links a { padding: 8px 12px; border-radius: 8px; color: var(--fg-2); font-size: 14px; transition: color .15s, background .15s; }
.nav-links a:hover { color: var(--fg); }
.nav-links a.on { color: var(--fg); background: none; box-shadow: inset 0 -1.5px 0 var(--fg); border-radius: 0; }
.nav-r { margin-left: auto; display: flex; align-items: center; gap: 6px; }
.icon-btn { width: 40px; height: 40px; border-radius: var(--r-btn); display: grid; place-items: center; color: var(--fg-2); transition: background .15s, color .15s; }
.icon-btn:hover { background: var(--bg-4); color: var(--fg); }
.icon-btn svg { width: 18px; height: 18px; }

/* buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; height: 40px; padding: 0 18px; border-radius: var(--r-btn); font-weight: 500; font-size: 14px; white-space: nowrap; transition: background .15s, color .15s, opacity .15s, transform .15s; }
.btn:active { transform: scale(.98); }
.btn-solid { background: var(--fg); color: var(--bg); }
.btn-solid:hover { background: color-mix(in oklab, var(--fg) 86%, var(--bg)); }
.btn-accent { background: var(--accent); color: var(--accent-ink); }
.btn-accent:hover { background: color-mix(in oklab, var(--accent) 88%, white); }
.btn-quiet { background: var(--bg-4); color: var(--fg); }
.btn-quiet:hover { background: var(--bg-5); }
.btn-ghost { color: var(--fg-2); padding: 0 12px; }
.btn-ghost:hover { color: var(--fg); background: var(--bg-3); }
.btn-s { height: 32px; padding: 0 13px; font-size: 13px; }
.btn-l { height: 52px; padding: 0 24px; font-size: 15.5px; border-radius: 12px; }
.btn[disabled], .btn.is-off { opacity: 1; background: var(--bg-3); color: var(--fg-3); cursor: not-allowed; }
.btn-block { width: 100%; }
.acct { display: inline-flex; align-items: center; gap: 8px; height: 40px; padding: 0 14px 0 6px; border-radius: var(--r-btn); background: var(--bg-4); font-size: 14px; }
.acct:hover { background: var(--bg-5); }
.acct .net { display: inline-flex; align-items: center; gap: 6px; height: 28px; padding: 0 10px 0 4px; border-radius: 7px; background: var(--bg-2); font-size: 13px; color: var(--fg-2); }

/* chain badge */
.cb { --s: 20px; width: var(--s); height: var(--s); flex: none; border-radius: calc(var(--s) * .26); display: inline-grid; place-items: center; font: 600 calc(var(--s) * .44)/1 var(--f-ui); letter-spacing: -.03em; color: #fff; background: var(--c); }
.cb.lt { color: #0B0B0C; }
.cb.s16 { --s: 16px; } .cb.s24 { --s: 24px; } .cb.s28 { --s: 28px; } .cb.s36 { --s: 36px; } .cb.s44 { --s: 44px; }
.cb.off { background: var(--bg-4) !important; color: var(--fg-3) !important; }
.cdot { width: 8px; height: 8px; border-radius: 2px; background: var(--c); display: inline-block; flex: none; }
.chain { display: inline-flex; align-items: center; gap: 9px; min-width: 0; }
.chain b { font-weight: 500; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }

/* layout */
main { min-height: 70vh; padding-top: 104px; }
main.flush { padding-top: 0; }
.sec { padding: 72px 0 0; }
.sec-h { display: flex; align-items: flex-end; justify-content: space-between; gap: 20px; margin-bottom: 26px; flex-wrap: wrap; }
.sec-h p { color: var(--fg-2); max-width: 36em; margin-top: 10px; }
.card { background: var(--bg-2); border-radius: var(--r-l); }

/* hero */
.hero { position: relative; display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr); gap: 24px; align-items: center; min-height: min(78vh, 720px); }
.hero h1 { font-size: clamp(44px, 5.8vw, 84px); letter-spacing: -.045em; line-height: .96; font-weight: 600; }
.hero h1 .l2 { color: var(--fg-3); display: block; }
.hero h1 em.s { font-size: 1.06em; }
.hero .sub { color: var(--fg-2); font-size: 18px; margin-top: 22px; max-width: 30em; }
.hero-cta { display: flex; gap: 10px; margin-top: 30px; flex-wrap: wrap; }
.ca { display: inline-flex; align-items: center; gap: 4px; margin-top: 30px; padding: 5px; border-radius: 12px; background: var(--bg-2); max-width: 100%; }
.ca .lab { padding: 0 6px 0 12px; color: var(--fg-3); font-size: 13px; }
.ca code { font-family: var(--f-mono); font-size: 13.5px; padding: 0 6px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; min-width: 0; }
.ca .btn { height: 32px; padding: 0 12px; font-size: 13px; }
.ca .copied { color: var(--pos); }
.net-stage { position: relative; aspect-ratio: 1 / 1; width: 100%; max-height: 640px; }
.net-stage canvas { position: absolute; inset: 0; width: 100% !important; height: 100% !important; cursor: grab; }
.net-tip { position: absolute; z-index: 3; pointer-events: none; background: var(--bg-3); border-radius: 12px; padding: 9px 12px; font-size: 13px; box-shadow: var(--shadow); transform: translate(-50%, calc(-100% - 14px)); white-space: nowrap; transition: opacity .15s; }
.net-tip b { font-weight: 500; }
.net-tip .r { display: flex; gap: 12px; color: var(--fg-2); margin-top: 3px; }
.net-log { position: absolute; left: 0; bottom: 4%; z-index: 2; font-size: 13px; color: var(--fg-2); display: flex; flex-direction: column; gap: 6px; pointer-events: none; }
.net-log div { display: flex; align-items: center; gap: 7px; animation: logIn .5s var(--ease); }
.net-log div.old { opacity: .45; }
@keyframes logIn { from { opacity: 0; transform: translateY(6px); } }
.countdown { font-family: var(--f-display); font-size: clamp(34px, 4vw, 52px); letter-spacing: -.04em; margin-top: 30px; display: flex; gap: 18px; }
.countdown span { display: flex; flex-direction: column; }
.countdown small { font: 400 13px var(--f-ui); color: var(--fg-3); letter-spacing: 0; margin-top: 4px; }

/* key numbers */
.kn { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); gap: 8px 28px; padding: 28px 0 0; }
.kn button { text-align: left; display: flex; flex-direction: column; gap: 6px; padding: 10px 12px; margin: -10px -12px; border-radius: 14px; transition: background .15s; position: relative; }
.kn button:hover { background: var(--bg-2); }
.kn .l { font-size: 13px; color: var(--fg-3); display: flex; align-items: center; gap: 5px; }
.kn .l svg { width: 10px; height: 10px; opacity: 0; transition: opacity .15s, transform .2s; }
.kn button:hover .l svg { opacity: 1; }
.kn button[aria-expanded="true"] .l svg { opacity: 1; transform: rotate(180deg); }
.kn .v { font-family: var(--f-ui); font-size: clamp(21px, 1.9vw, 28px); letter-spacing: -.03em; font-weight: 300; white-space: nowrap; }
.kn .v small { font: 400 13px var(--f-ui); color: var(--fg-3); letter-spacing: 0; margin-left: 4px; }
.kn .v.acc { color: var(--fg); }
.breakdown { grid-column: 1 / -1; background: var(--bg-2); border-radius: var(--r-l); padding: 22px 24px; margin-top: 14px; animation: logIn .35s var(--ease); }
.breakdown-h { display: flex; justify-content: space-between; align-items: baseline; margin-bottom: 14px; gap: 12px; }
.bd-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 40px; row-gap: 2px; }
.bd-row { display: grid; grid-template-columns: 130px 1fr 90px 48px; align-items: center; gap: 12px; height: 30px; font-size: 13.5px; }
.bd-row .bar { height: 6px; border-radius: 9px; background: var(--bg-4); overflow: hidden; }
.bd-row .bar i { display: block; height: 100%; border-radius: 9px; background: var(--c); }
.bd-row .n { text-align: right; } .bd-row .p { text-align: right; color: var(--fg-3); }

/* spread + feed */
.duo { display: grid; grid-template-columns: minmax(0, 1.75fr) minmax(0, 1fr); gap: 16px; }
.spread { padding: 22px 22px 14px; position: relative; }
.spread-h { display: flex; align-items: flex-start; justify-content: space-between; gap: 16px; margin-bottom: 8px; }
.spread-h p { color: var(--fg-2); font-size: 14px; margin-top: 6px; max-width: 34em; }
.seg { display: inline-flex; padding: 3px; border-radius: 9px; background: var(--bg-3); flex: none; }
.seg button { height: 30px; padding: 0 13px; border-radius: 7px; font-size: 13px; color: var(--fg-2); }
.seg button.on { background: var(--bg-5); color: var(--fg); }
.spread svg { width: 100%; height: 300px; display: block; overflow: visible; }
.spread .ax { font-size: 11px; fill: var(--fg-3); font-family: var(--f-ui); }
.spread .ln { fill: none; stroke-width: 1.1; opacity: .75; vector-effect: non-scaling-stroke; transition: opacity .2s; }
.spread .md { fill: none; stroke: var(--fg); stroke-width: 1.6; vector-effect: non-scaling-stroke; }
.spread.focus .ln { opacity: .12; } .spread.focus .ln.hi { opacity: 1; stroke-width: 2; }
.spread .em { fill: var(--accent); cursor: pointer; }
.spread .xh { stroke: var(--fg-4); stroke-dasharray: 2 3; }
.spread-legend { display: flex; flex-wrap: wrap; gap: 4px 12px; margin-top: 10px; font-size: 12.5px; color: var(--fg-3); }
.spread-legend button { display: inline-flex; align-items: center; gap: 6px; padding: 3px 4px; border-radius: 6px; }
.spread-legend button:hover { color: var(--fg); }
.chart-tip { position: absolute; z-index: 5; pointer-events: none; background: var(--bg-4); border-radius: 12px; padding: 10px 12px; font-size: 12.5px; box-shadow: var(--shadow); min-width: 170px; }
.chart-tip .t { color: var(--fg-3); margin-bottom: 4px; }
.chart-tip .r { display: flex; justify-content: space-between; gap: 14px; }

.feed { padding: 22px 8px 10px 22px; display: flex; flex-direction: column; min-height: 0; }
.feed-h { display: flex; justify-content: space-between; align-items: center; padding-right: 14px; margin-bottom: 10px; }
.feed-list { overflow: auto; max-height: 392px; padding-right: 12px; scrollbar-width: thin; }
.fi { display: grid; grid-template-columns: 30px minmax(0, 1fr) auto; gap: 10px; align-items: center; padding: 8px 0; font-size: 13.5px; }
.fi.new { animation: logIn .5s var(--ease); }
.fi .ic { width: 30px; height: 30px; border-radius: 9px; background: var(--bg-3); display: grid; place-items: center; position: relative; }
.fi .ic .cb { position: absolute; right: -3px; bottom: -3px; box-shadow: 0 0 0 2px var(--bg-2); }
.fi .ic svg { width: 14px; height: 14px; color: var(--fg-2); }
.fi.t-engine .ic { background: var(--fg); }
.fi.t-engine .ic svg { color: var(--bg); }
.fi .w { min-width: 0; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.fi .w .muted { margin-left: 4px; }
.fi .rt { text-align: right; white-space: nowrap; }
.fi .rt small { display: block; color: var(--fg-3); font-size: 12px; }
.fi a.rt:hover { color: var(--fg); }

/* markets table */
.tbl-tools { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; }
.toggle { display: inline-flex; align-items: center; gap: 9px; font-size: 14px; color: var(--fg-2); cursor: pointer; user-select: none; }
.toggle i { width: 34px; height: 20px; border-radius: 99px; background: var(--bg-4); position: relative; transition: background .2s; }
.toggle i::after { content: ''; position: absolute; left: 3px; top: 3px; width: 14px; height: 14px; border-radius: 99px; background: var(--fg-2); transition: transform .2s var(--ease), background .2s; }
.toggle input { position: absolute; opacity: 0; pointer-events: none; }
.toggle input:checked + i { background: var(--fg); }
.toggle input:checked + i::after { transform: translateX(14px); background: var(--bg); }
.toggle input:focus-visible + i { outline: 2px solid var(--fg); outline-offset: 2px; }
.mkt { width: 100%; border-collapse: separate; border-spacing: 0 2px; font-size: 14px; }
.mkt th { font-weight: 400; color: var(--fg-3); font-size: 13px; text-align: right; padding: 0 14px 8px; white-space: nowrap; }
.mkt th:first-child { text-align: left; }
.mkt th button { display: inline-flex; align-items: center; gap: 4px; color: inherit; }
.mkt th button:hover, .mkt th button.on { color: var(--fg); }
.mkt th svg { width: 9px; height: 9px; }
.mkt td { padding: 0 14px; height: 58px; text-align: right; white-space: nowrap; background: var(--bg); transition: background .15s; }
.mkt td:first-child { text-align: left; border-radius: 14px 0 0 14px; }
.mkt td:last-child { border-radius: 0 14px 14px 0; }
.mkt tbody tr:hover td { background: var(--bg-2); }
.mkt tbody tr { cursor: pointer; }
.mkt .acts { display: inline-flex; gap: 6px; }
.mkt .spark { width: 96px; height: 28px; display: inline-block; vertical-align: middle; }
.mkt tr.stale td { color: var(--fg-3); }
.stale-tag { display: inline-flex; align-items: center; gap: 6px; font-size: 12.5px; color: var(--fg-2); background: var(--bg-3); padding: 3px 9px; border-radius: 6px; margin-left: 8px; }
.stale-tag svg { width: 12px; height: 12px; }
.pend { color: var(--fg-4); }

.sk { display: inline-block; height: 12px; border-radius: 6px; background: linear-gradient(90deg, var(--bg-3) 0, var(--bg-4) 40%, var(--bg-3) 80%); background-size: 300% 100%; animation: sk 1.4s linear infinite; vertical-align: middle; }
@keyframes sk { from { background-position: 100% 0; } to { background-position: -50% 0; } }

/* empty */
.empty { padding: 44px 24px; text-align: center; color: var(--fg-2); }
.empty h3 { color: var(--fg); margin-bottom: 8px; }
.empty .btn { margin-top: 18px; }

/* faq */
.faq { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.4fr); gap: 40px; }
.qa { border-radius: var(--r-m); transition: background .15s; }
.qa summary { list-style: none; cursor: pointer; padding: 18px 20px; display: flex; justify-content: space-between; gap: 20px; font-size: 17px; font-weight: 500; letter-spacing: -.01em; }
.qa summary::-webkit-details-marker { display: none; }
.qa summary svg { width: 14px; height: 14px; flex: none; margin-top: 5px; transition: transform .25s var(--ease); color: var(--fg-3); }
.qa[open] summary svg { transform: rotate(45deg); }
.qa:hover, .qa[open] { background: var(--bg-2); }
.qa .a { padding: 0 20px 20px; color: var(--fg-2); max-width: 40em; }
.qa .a p + p { margin-top: 10px; }

/* footer */
.foot { max-width: var(--maxw); margin: 120px auto 0; padding: 28px var(--gut) 40px; display: flex; align-items: center; gap: 24px; flex-wrap: wrap; color: var(--fg-3); font-size: 14px; }
.foot .brand { color: var(--fg); }
.foot nav { margin-left: auto; display: flex; gap: 20px; }
.foot a:hover { color: var(--fg); }

/* bridge */
.bridge { display: grid; grid-template-columns: minmax(0, 520px) minmax(0, 1fr); gap: 20px; align-items: start; }
.bridge-h h1 { font-size: clamp(40px, 4.6vw, 64px); letter-spacing: -.05em; }
.bridge-h p { color: var(--fg-2); margin-top: 12px; font-size: 17px; }
.bx { padding: 10px; }
.bx-tabs { display: flex; gap: 4px; padding: 4px 4px 12px; }
.bx-tabs button { height: 34px; padding: 0 14px; border-radius: 8px; color: var(--fg-2); font-size: 14px; }
.bx-tabs button.on { background: var(--bg-4); color: var(--fg); }
.leg { background: var(--bg-3); border-radius: var(--r-m); padding: 16px 18px; }
.leg + .leg { margin-top: 4px; }
.leg-top { display: flex; justify-content: space-between; color: var(--fg-3); font-size: 13px; margin-bottom: 10px; }
.leg-top button { color: var(--fg-2); }
.leg-top button:hover { color: var(--fg); }
.leg-mid { display: flex; align-items: center; gap: 12px; }
.picker { display: inline-flex; align-items: center; gap: 10px; height: 48px; padding: 0 14px 0 8px; border-radius: 11px; background: var(--bg-5); font-size: 16px; font-weight: 500; flex: none; transition: background .15s; }
.picker:hover { background: color-mix(in oklab, var(--bg-5) 80%, var(--fg-4)); }
.picker svg.cv { width: 12px; height: 12px; color: var(--fg-3); }
.amt { flex: 1; min-width: 0; text-align: right; background: none; border: 0; outline: none; font-family: var(--f-ui); font-weight: 300; letter-spacing: -.03em; font-size: 34px; letter-spacing: -.04em; font-variant-numeric: tabular-nums; padding: 0; }
.amt::placeholder { color: var(--fg-4); }
.amt[readonly] { color: var(--fg-2); }
.leg-bot { display: flex; justify-content: space-between; color: var(--fg-3); font-size: 13px; margin-top: 8px; }
.swapdir { display: grid; place-items: center; height: 0; position: relative; z-index: 2; }
.swapdir button { width: 40px; height: 40px; border-radius: 12px; background: var(--bg-4); display: grid; place-items: center; box-shadow: 0 0 0 4px var(--bg-2); transition: transform .3s var(--ease), background .15s; }
.swapdir button:hover { background: var(--bg-5); transform: rotate(180deg); }
.swapdir svg { width: 16px; height: 16px; }
.addr-in { display: flex; align-items: center; gap: 8px; margin-top: 12px; background: var(--bg-2); border-radius: 12px; padding: 0 6px 0 12px; height: 44px; }
.addr-in input { flex: 1; min-width: 0; background: none; border: 0; outline: none; font-family: var(--f-mono); font-size: 13px; }
.addr-in.bad { box-shadow: 0 0 0 1.5px var(--neg); }
.bx-cta { padding: 10px 0 4px; }
.bx-note { font-size: 13px; color: var(--fg-2); padding: 10px 8px 4px; display: flex; gap: 8px; align-items: flex-start; }
.bx-note svg { width: 15px; height: 15px; flex: none; margin-top: 1px; color: var(--fg-3); }
.bx-note.warn svg { color: var(--accent); }

.sum { padding: 24px; }
.sum-row { display: flex; justify-content: space-between; gap: 16px; padding: 9px 0; font-size: 14.5px; }
.sum-row .k { color: var(--fg-2); }
.sum-row .v { text-align: right; }
.sum-row .v small { display: block; color: var(--fg-3); font-size: 12.5px; }
.sum-big { display: flex; align-items: baseline; justify-content: space-between; gap: 16px; padding: 4px 0 16px; }
.sum-big .v { font-family: var(--f-ui); font-weight: 300; letter-spacing: -.03em; font-size: 34px; letter-spacing: -.04em; }
.route { margin-top: 14px; background: var(--bg-3); border-radius: var(--r-m); padding: 16px; }
.route-path { display: flex; align-items: center; gap: 10px; margin-bottom: 14px; }
.route-path .ln { flex: 1; height: 2px; border-radius: 2px; background: var(--bg-5); position: relative; overflow: hidden; }
.route-path .ln i { position: absolute; top: 0; bottom: 0; width: 28%; border-radius: 2px; background: var(--fg-2); animation: run 2.4s var(--ease) infinite; }
@keyframes run { from { left: -30%; } to { left: 102%; } }
.vers { display: flex; gap: 6px; flex-wrap: wrap; margin-top: 8px; }
.ver { display: inline-flex; align-items: center; gap: 6px; height: 28px; padding: 0 11px 0 6px; border-radius: 7px; background: var(--bg-4); font-size: 13px; }
.ver svg { width: 14px; height: 14px; color: var(--fg-3); }
.ver.ok svg { color: var(--pos); }

.track { padding: 24px; }
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; margin: 18px 0 6px; }
.stp { position: relative; padding-top: 18px; }
.stp::before { content: ''; position: absolute; top: 0; left: 0; right: 0; height: 4px; border-radius: 4px; background: var(--bg-4); }
.stp::after { content: ''; position: absolute; top: 0; left: 0; height: 4px; border-radius: 4px; width: 0; background: var(--fg); transition: width .6s var(--ease); }
.stp.on::after { width: 55%; animation: grow 2s ease-in-out infinite alternate; }
.stp.done::after { width: 100%; }
@keyframes grow { from { width: 20%; } to { width: 80%; } }
.stp b { display: block; font-weight: 500; }
.stp span { color: var(--fg-3); font-size: 13px; }
.stp.done span, .stp.on span { color: var(--fg-2); }
.links { display: flex; gap: 6px; flex-wrap: wrap; margin-top: 16px; }
.why { margin-top: 16px; background: var(--bg-3); border-radius: var(--r-m); padding: 16px 18px; font-size: 14px; color: var(--fg-2); }
.why b { color: var(--fg); font-weight: 500; display: block; margin-bottom: 6px; }
.why p + p { margin-top: 8px; }
.done-h { display: flex; align-items: center; gap: 14px; }
.done-h .tick { width: 44px; height: 44px; border-radius: 12px; background: var(--fg); color: var(--bg); display: grid; place-items: center; flex: none; animation: pop .5s var(--ease); }
.done-h .tick svg { width: 20px; height: 20px; }
@keyframes pop { from { transform: scale(.6); opacity: 0; } }

.hist-row { display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr) auto auto; gap: 14px; align-items: center; padding: 12px 0; font-size: 14px; }
.pair-cb { display: inline-flex; align-items: center; }
.pair-cb .cb + .cb { margin-left: -5px; box-shadow: 0 0 0 2px var(--bg-2); }
.pair-cb svg { width: 12px; height: 12px; margin: 0 6px; color: var(--fg-3); }

.cons-list { display: flex; flex-direction: column; gap: 4px; }
.cons-row { display: grid; grid-template-columns: 22px minmax(0, 1fr) auto; gap: 12px; align-items: center; padding: 12px 14px; border-radius: 12px; background: var(--bg-3); cursor: pointer; font-size: 14px; }
.cons-row.off { background: transparent; color: var(--fg-3); }
.cons-row .chk { width: 20px; height: 20px; border-radius: 6px; background: var(--bg-5); display: grid; place-items: center; }
.cons-row.on .chk { background: var(--fg); color: var(--bg); }
.cons-row .chk svg { width: 12px; height: 12px; opacity: 0; }
.cons-row.on .chk svg { opacity: 1; }
.cons-row .st { font-size: 13px; color: var(--fg-3); text-align: right; }
.cons-row .st.ok { color: var(--pos); }
.cons-row .st.go { color: var(--fg); }

/* chains */
.cgrid { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 12px; }
.cc { padding: 20px; border-radius: var(--r-l); background: var(--bg-2); cursor: pointer; transition: background .2s, transform .3s var(--ease); text-align: left; display: flex; flex-direction: column; gap: 16px; position: relative; overflow: hidden; }
.cc:hover { background: var(--bg-3); }
.cc::before { content: ''; position: absolute; left: 0; top: 0; right: 0; height: 3px; background: var(--c); opacity: 0; transition: opacity .2s; }
.cc:hover::before { opacity: 1; }
.cc-h { display: flex; align-items: center; gap: 12px; }
.cc-h b { font-size: 17px; font-weight: 500; letter-spacing: -.01em; }
.cc-h .gap { margin-left: auto; font-size: 13px; }
.cc-p { font-family: var(--f-ui); font-weight: 300; font-size: 28px; letter-spacing: -.03em; }
.cc-meta { display: grid; grid-template-columns: 1fr 1fr; gap: 10px 16px; font-size: 13.5px; }
.cc-meta span { color: var(--fg-3); display: block; font-size: 12.5px; }
.cc-f { display: flex; gap: 6px; align-items: center; color: var(--fg-3); font-size: 13px; }
.cc-f a { color: var(--fg-2); } .cc-f a:hover { color: var(--fg); }
.cc-f .sp { margin-left: auto; }

.drawer-scrim { position: fixed; inset: 0; z-index: 60; background: var(--scrim); animation: fade .25s; }
@keyframes fade { from { opacity: 0; } }
.drawer { position: fixed; z-index: 61; top: 10px; right: 10px; bottom: 10px; width: min(560px, calc(100% - 20px)); background: var(--bg-2); border-radius: var(--r-xl); box-shadow: var(--shadow); overflow: auto; padding: 26px; animation: slide .4s var(--ease); }
@keyframes slide { from { transform: translateX(40px); opacity: 0; } }
.drawer-h { display: flex; align-items: center; gap: 14px; }
.drawer-h h2 { font-size: 30px; }
.drawer-h .x { margin-left: auto; }
.dr-price { display: flex; align-items: baseline; gap: 12px; margin-top: 22px; }
.dr-price .p { font-family: var(--f-ui); font-weight: 300; font-size: 42px; letter-spacing: -.045em; }
.dr-chart { margin: 14px -6px 6px; height: 200px; }
.dr-chart svg { width: 100%; height: 100%; overflow: visible; }
.kv { display: grid; grid-template-columns: 1fr 1fr; gap: 14px 20px; margin: 18px 0; font-size: 14px; }
.kv span { display: block; color: var(--fg-3); font-size: 12.5px; margin-bottom: 2px; }
.kv a { color: var(--fg); }
.kv a:hover { color: var(--accent); }

/* engine */
.eng-hero { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr); gap: 48px; align-items: center; }
.eng-hero h1 { font-size: clamp(42px, 5vw, 72px); letter-spacing: -.05em; line-height: .98; }
.eng-hero h1 .l2 { color: var(--fg-3); display: block; }
.eng-hero .lede { color: var(--fg-2); font-size: 18px; margin-top: 22px; max-width: 30em; }
.eng-hero .lede + .lede { margin-top: 12px; }
.loop svg { width: 100%; height: auto; display: block; }
.loop text { font-family: var(--f-ui); }
.totals { font-family: var(--f-display); font-size: clamp(26px, 3vw, 40px); letter-spacing: -.035em; line-height: 1.2; max-width: 26em; font-weight: 500; color: var(--fg-2); }
.totals b { color: var(--fg); font-weight: 500; }
.totals b.acc { color: var(--fg); box-shadow: inset 0 -.08em 0 var(--fg-4); }
.eng-grid { display: grid; grid-template-columns: minmax(0, 1.6fr) minmax(0, 1fr); gap: 16px; }
.closes { width: 100%; border-collapse: collapse; font-size: 14px; }
.closes th { font-weight: 400; color: var(--fg-3); font-size: 13px; text-align: right; padding: 0 10px 10px; }
.closes th:first-child, .closes td:first-child, .closes td:nth-child(2), .closes th:nth-child(2) { text-align: left; }
.closes td { padding: 10px; text-align: right; white-space: nowrap; }
.closes tr.new td { animation: logIn .5s var(--ease); }
.cap-row { display: grid; grid-template-columns: 120px 1fr 70px; align-items: center; gap: 12px; height: 30px; font-size: 13.5px; }
.cap-row .bar { height: 6px; background: var(--bg-4); border-radius: 9px; overflow: hidden; }
.cap-row .bar i { display: block; height: 100%; background: var(--c); border-radius: 9px; }
.cap-row .n { text-align: right; }

/* transparency */
.tp-hero h1 { font-size: clamp(44px, 5.6vw, 80px); letter-spacing: -.05em; line-height: .98; max-width: 12em; }
.tp-hero p { color: var(--fg-2); font-size: 18px; margin-top: 18px; max-width: 34em; }
.facts { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.fact { padding: 26px; display: flex; flex-direction: column; gap: 14px; }
.fact h3 { font-size: 22px; }
.fact.wide { grid-column: 1 / -1; }
.fact p { color: var(--fg-2); }
.fact .fig { background: var(--bg-1); border-radius: var(--r-m); padding: 18px; margin-top: auto; }
.fact .fig svg { width: 100%; height: auto; display: block; }
.fig text { font-family: var(--f-ui); }
.ctbl { width: 100%; border-collapse: collapse; font-size: 13.5px; }
.ctbl th { font-weight: 400; color: var(--fg-3); font-size: 13px; text-align: left; padding: 0 12px 10px; white-space: nowrap; }
.ctbl td { padding: 9px 12px; white-space: nowrap; }
.ctbl tbody tr:hover td { background: var(--bg-2); }
.ctbl td:first-child { border-radius: 12px 0 0 12px; } .ctbl td:last-child { border-radius: 0 12px 12px 0; }
.ctbl a.mono { color: var(--fg-2); }
.ctbl a.mono:hover { color: var(--fg); }
.tscroll { overflow-x: auto; scrollbar-width: thin; }

/* portfolio */
.pf-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; flex-wrap: wrap; }
.pf-total { font-family: var(--f-ui); font-weight: 300; font-size: clamp(48px, 6vw, 84px); letter-spacing: -.05em; line-height: 1; }
.pf-sub { color: var(--fg-2); margin-top: 12px; font-size: 16px; }
.pf-bar { display: flex; height: 10px; border-radius: 10px; overflow: hidden; gap: 2px; margin: 32px 0 10px; }
.pf-bar i { background: var(--c); display: block; height: 100%; }
.pf-row { display: grid; grid-template-columns: minmax(0, 1.2fr) 1fr 1fr 1fr auto; gap: 14px; align-items: center; height: 62px; padding: 0 14px; border-radius: 14px; font-size: 14.5px; }
.pf-row:hover { background: var(--bg-2); }
.pf-row > :not(:first-child):not(:last-child) { text-align: right; }
.pf-row.h { height: 32px; color: var(--fg-3); font-size: 13px; }
.pf-row.h:hover { background: none; }
.pf-row .acts { display: flex; gap: 6px; justify-content: flex-end; }
.pf-row.zero { color: var(--fg-3); }

/* modal + menus */
.modal { position: fixed; inset: 0; z-index: 80; display: grid; place-items: center; padding: 16px; background: var(--scrim); animation: fade .2s; }
.dlg { width: min(680px, 100%); max-height: calc(100vh - 32px); overflow: auto; background: var(--bg-2); border-radius: var(--r-xl); box-shadow: var(--shadow); padding: 26px; animation: pop .35s var(--ease); }
.dlg-h { display: flex; align-items: center; justify-content: space-between; margin-bottom: 18px; }
.dlg-h h2 { font-size: 26px; }
.wl-cols { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.wl-col h3 { font-size: 15px; font-weight: 500; letter-spacing: 0; display: flex; align-items: center; gap: 8px; margin: 0 0 10px; color: var(--fg-2); font-family: var(--f-ui); }
.wl-col h3 .sub { color: var(--fg-3); font-weight: 400; margin-left: auto; font-size: 12.5px; }
.wl { display: flex; align-items: center; gap: 12px; width: 100%; padding: 10px; border-radius: 14px; text-align: left; font-size: 15px; transition: background .15s; }
.wl:hover { background: var(--bg-3); }
.wl .ic { width: 36px; height: 36px; border-radius: 11px; display: grid; place-items: center; font-weight: 600; font-size: 15px; background: var(--bg-4); overflow: hidden; }
.wl .ic img { width: 100%; height: 100%; }
.wl .tag { margin-left: auto; font-size: 12px; color: var(--fg-3); }
.wl.is-on .tag { color: var(--pos); }
.wl.busy .tag { color: var(--fg); }
.dlg-foot { margin-top: 18px; font-size: 13px; color: var(--fg-3); }
.search { display: flex; align-items: center; gap: 10px; height: 46px; padding: 0 14px; background: var(--bg-3); border-radius: 14px; margin-bottom: 10px; }
.search input { flex: 1; background: none; border: 0; outline: none; font-size: 15px; }
.search svg { width: 16px; height: 16px; color: var(--fg-3); }
.cpick { display: flex; flex-direction: column; gap: 2px; max-height: 420px; overflow: auto; }
.cpick button { display: grid; grid-template-columns: 28px 1fr auto; gap: 12px; align-items: center; padding: 10px; border-radius: 12px; text-align: left; font-size: 15px; }
.cpick button:hover, .cpick button.kb { background: var(--bg-3); }
.cpick button.cur { background: var(--bg-4); }
.cpick button[disabled] { opacity: .45; cursor: not-allowed; }
.cpick .bal { text-align: right; font-size: 13.5px; }
.cpick .bal small { display: block; color: var(--fg-3); font-size: 12px; }
.menu { position: absolute; z-index: 70; background: var(--bg-3); border-radius: 16px; padding: 6px; box-shadow: var(--shadow); min-width: 260px; max-height: 420px; overflow: auto; animation: pop .25s var(--ease); }
.menu a, .menu button { display: flex; align-items: center; gap: 10px; width: 100%; padding: 9px 10px; border-radius: 10px; font-size: 14px; text-align: left; }
.menu a:hover, .menu button:hover { background: var(--bg-4); }
.menu .r { margin-left: auto; color: var(--fg-3); font-size: 12.5px; }
.menu .sep { height: 6px; }
.menu .hd { padding: 8px 10px 4px; font-size: 12.5px; color: var(--fg-3); }

.banner { position: fixed; z-index: 39; top: 80px; left: 50%; transform: translateX(-50%); width: min(calc(100% - 28px), 1180px); background: var(--bg-3); border-radius: 14px; padding: 10px 14px; font-size: 14px; display: flex; gap: 10px; align-items: center; }
.banner .btn { margin-left: auto; }
body.has-banner main { padding-top: 140px; }

.toasts { position: fixed; z-index: 90; bottom: 20px; right: 20px; display: flex; flex-direction: column; gap: 8px; align-items: flex-end; }
.toast { background: var(--fg); color: var(--bg); border-radius: 14px; padding: 12px 16px; font-size: 14px; box-shadow: var(--shadow); animation: pop .3s var(--ease); max-width: 360px; }

.tabbar { display: none; }

@media (max-width: 1100px) {
  .nav-links a { padding: 8px 9px; }
  .kn { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 22px 20px; }
  .duo, .eng-grid { grid-template-columns: minmax(0, 1fr); }
  .bridge { grid-template-columns: minmax(0, 1fr); }
  .mkt .hide-m { display: none; }
}
@media (max-width: 860px) {
  .nav-links { display: none; }
  .hero { grid-template-columns: minmax(0, 1fr); min-height: 0; gap: 0; }
  .net-stage { order: -1; max-width: 520px; margin: -10px auto 0; width: 100%; }
  .eng-hero, .faq, .facts { grid-template-columns: minmax(0, 1fr); gap: 24px; }
  .bd-grid { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 720px) {
  body { font-size: 14.5px; padding-bottom: 76px; }
  main { padding-top: 84px; }
  .nav { top: 10px; height: 52px; padding: 0 6px 0 14px; }
  .nav .theme-btn { display: none; }
  .acct .net > span:not(.cb) { display: none; }
  .hero .sub { font-size: 16px; }
  .hero-cta .btn { flex: 1; }
  .ca { width: 100%; }
  .kn { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .bd-row { grid-template-columns: 110px 1fr 76px 40px; }
  .sec { padding-top: 56px; }
  .spread { padding: 18px 14px 12px; }
  .spread svg { height: 220px; }
  .spread-h { flex-direction: column; }
  /* markets become stacked rows */
  .mkt, .mkt tbody, .mkt tr, .mkt td { display: block; }
  .mkt thead { display: none; }
  .mkt tr { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 12px; padding: 14px; border-radius: 16px; background: var(--bg-2); margin-bottom: 6px; }
  .mkt td { height: auto; padding: 0; background: none !important; border-radius: 0 !important; text-align: left; }
  .mkt td[data-l]::before { content: attr(data-l); color: var(--fg-3); font-size: 12px; display: block; }
  .mkt td.c-chain { flex: 1 1 auto; min-width: 0; display: flex; align-items: center; flex-wrap: wrap; gap: 4px; }
  .mkt td.c-chain .stale-tag { margin-left: 0; }
  .mkt td.c-price { font-size: 15px; }
  .mkt td.c-gap { min-width: 58px; text-align: right; font-size: 13.5px; }
  .mkt td.c-liq, .mkt td.c-vol, .mkt td.c-hold { flex: 1 1 28%; font-size: 13.5px; display: block !important; }
  .mkt td.c-spark { display: none !important; }
  .mkt td.c-acts { flex: 1 1 100%; }
  .mkt td.c-acts .acts { display: grid; grid-template-columns: 1fr 1fr; width: 100%; }
  .fi { font-size: 13px; }
  .bx { padding: 8px; }
  .amt { font-size: 28px; }
  .picker { height: 44px; font-size: 15px; }
  .sum, .track { padding: 20px; }
  .steps { gap: 6px; }
  .stp span { font-size: 12px; }
  .hist-row { grid-template-columns: minmax(0, 1fr) auto; }
  .hist-row .hide-m { display: none; }
  .pf-row { grid-template-columns: minmax(0, 1fr) auto; height: auto; padding: 14px; gap: 6px 12px; background: var(--bg-2); margin-bottom: 6px; }
  .pf-row.h { display: none; }
  .pf-row > :nth-child(3), .pf-row > :nth-child(4) { display: none; }
  .pf-row .acts { grid-column: 1 / -1; display: grid; grid-template-columns: 1fr 1fr; }
  .wl-cols { grid-template-columns: 1fr; }
  .dlg { padding: 20px; border-radius: 24px; align-self: end; }
  .modal { padding: 8px; }
  .facts .fact { padding: 20px; }
  .cap-row { grid-template-columns: 96px 1fr 60px; }
  .closes .hide-m { display: none; }
  .closes td, .closes th { padding-left: 5px; padding-right: 5px; font-size: 13px; }
  .closes .chain { gap: 6px; }
  .foot { margin-top: 80px; flex-direction: column; align-items: flex-start; gap: 14px; }
  .foot nav { margin-left: 0; flex-wrap: wrap; }
  .tabbar { display: grid; grid-template-columns: repeat(5, 1fr); position: fixed; z-index: 45; left: 10px; right: 10px; bottom: 10px; height: 60px; border-radius: 22px; background: color-mix(in oklab, var(--bg-3) 92%, transparent); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); box-shadow: var(--shadow); padding-bottom: env(safe-area-inset-bottom); }
  .tabbar a { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 3px; font-size: 11px; color: var(--fg-3); }
  .tabbar a.on { color: var(--fg); }
  .tabbar svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
  .tabbar .mid svg { width: 22px; height: 22px; }
  .toasts { bottom: 82px; right: 10px; left: 10px; align-items: stretch; }
  .banner { top: 70px; }
  body.has-banner main { padding-top: 136px; }
  .drawer { top: auto; left: 8px; right: 8px; bottom: 8px; width: auto; max-height: 88vh; padding: 20px; animation-name: up; }
  @keyframes up { from { transform: translateY(40px); opacity: 0; } }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
}

/* earthrise hero */
.hz { position: relative; height: max(640px, min(100vh, 980px)); margin-bottom: 8px; overflow: hidden; }
.hz-stage { position: absolute; inset: 0; }
.hz-stage canvas { position: absolute; inset: 0; width: 100% !important; height: 100% !important; }
.nd-layer { position: absolute; inset: 0; pointer-events: none; }
.nd { position: absolute; left: 0; top: 0; pointer-events: auto; display: block; width: 0; height: 0; }
.nd i { position: absolute; left: calc(var(--s) / -2); top: calc(var(--s) / -2); width: var(--s); height: var(--s); border-radius: 50%; background: var(--c); box-shadow: 0 0 0 3px var(--bg); transition: transform .4s var(--ease); }
.nd i::after { content: ''; position: absolute; inset: -7px; border-radius: 50%; border: 1px solid var(--c); opacity: 0; transform: scale(.6); }
.nd.ping i::after { animation: ring .9s var(--ease); }
.nd.send i { transform: scale(1.35); }
@keyframes ring { 0% { opacity: .9; transform: scale(.6); } 100% { opacity: 0; transform: scale(2.4); } }
.nd span { position: absolute; left: 0; transform: translateX(-50%); white-space: nowrap; display: flex; flex-direction: column; align-items: center; gap: 1px; font-size: 11.5px; line-height: 1.2; color: var(--fg-2); transition: color .2s; }
.nd.dn span { top: 14px; } .nd.up span { bottom: 14px; flex-direction: column-reverse; }
.nd b { font-weight: 500; }
.nd em { font-style: normal; font-family: var(--f-mono); font-size: 11px; color: var(--fg-3); }
.nd em.pos { color: var(--pos); } .nd em.neg { color: var(--neg); }
.nd:hover span, .nd:focus-visible span { color: var(--fg); }
.nd:hover i { transform: scale(1.4); }
.nd.off i { background: var(--bg) !important; box-shadow: 0 0 0 1.5px var(--fg-4), 0 0 0 4px var(--bg); }
.hz-stage.narrow .nd span { display: none; }
.hz-stage.narrow .nd:hover span, .hz-stage.narrow .nd:focus span { display: flex; z-index: 3; background: var(--bg-3); padding: 5px 8px; border-radius: 8px; }
.hz-copy { position: absolute; left: 0; right: 0; bottom: clamp(36px, 7vh, 80px); z-index: 2; pointer-events: none; }
.hz-copy > .wrap > * { pointer-events: auto; }
.hz h1 { font-size: clamp(44px, 6.6vw, 104px); letter-spacing: -.045em; line-height: .95; font-weight: 300; max-width: 11em; }
.hz h1 b { font-weight: 500; }
.hz-row { display: flex; align-items: flex-end; justify-content: space-between; gap: 32px; flex-wrap: wrap; margin-top: 26px; }
.hz .sub { color: var(--fg-2); font-size: 17px; max-width: 30em; }
.hz .hero-cta { margin-top: 0; }
.hz .ca { margin-top: 22px; background: color-mix(in oklab, var(--bg-2) 80%, transparent); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); }
.hz-log { position: absolute; right: var(--gut); top: 92px; z-index: 2; font-size: 12.5px; color: var(--fg-2); display: flex; flex-direction: column; align-items: flex-end; gap: 6px; pointer-events: none; font-family: var(--f-mono); }
.hz-log div { display: flex; align-items: center; gap: 7px; animation: logIn .5s var(--ease); }
.hz-log div.old { opacity: .4; }
.hz-log .cb { --s: 14px; }
.hz .countdown { font-family: var(--f-ui); font-weight: 300; margin-top: 18px; }
.hz-row > * { min-width: 0; }
@media (max-width: 720px) {
  .hz { height: auto; min-height: 0; padding-top: 0; }
  .hz-stage { position: relative; height: 62vh; min-height: 420px; }
  .hz-copy { position: relative; bottom: auto; margin-top: -120px; }
  .hz h1 { font-size: 44px; }
  .hz-row { flex-direction: column; flex-wrap: nowrap; align-items: stretch; gap: 18px; }
  .hz .hero-cta { display: grid; grid-template-columns: 1fr 1fr; }
  .hz .hero-cta .btn { padding: 0 10px; }
  .hz .ca { width: 100%; }
  .hz-log { display: none; }
}
.hz::after { content: ''; position: absolute; left: 0; right: 0; bottom: 0; height: 22%; background: linear-gradient(to bottom, transparent, var(--bg)); pointer-events: none; z-index: 1; }
.burn-tag { position: absolute; left: 0; top: 0; pointer-events: none; display: flex; align-items: center; gap: 9px; font: 400 12px var(--f-mono); color: var(--fg-2); white-space: nowrap; z-index: 2; }
.burn-tag i { width: 7px; height: 7px; margin-left: -3.5px; border-radius: 50%; border: 1.5px solid currentColor; flex: none; }
.burn-tag span { transition: color .3s; }
.burn-tag.tick { color: var(--fg); }
.hz-stage.narrow .burn-tag { display: none; }
.hz-key { position: absolute; left: var(--gut); top: 92px; z-index: 2; max-width: 23em; font-size: 12.5px; color: var(--fg-3); pointer-events: none; }
.hz-key b { color: var(--fg-2); font-weight: 500; }
.sky { position: relative; height: 230px; border-radius: var(--r-l); overflow: hidden; background: var(--bg-1); margin-bottom: 12px; }
.sky .nd span { font-size: 12.5px; }
@media (max-width: 720px) { .hz-key { display: none; } .sky { height: 180px; } }
.pre-r { display: flex; flex-direction: column; align-items: flex-end; gap: 16px; }
.hz .pre-r .countdown { margin-top: 0; font-size: clamp(30px, 3.2vw, 44px); }
@media (max-width: 720px) { .pre-r { align-items: stretch; grid-column: 1 / -1; } }

#bd { grid-column: 1 / -1; }
#bd:empty { display: none; }

/* ---------- GAIA brand layer ---------- */
h1, h2, h3, .countdown, .totals, .brand .wm { font-stretch: 140%; }
h1, h2 { font-weight: 300; letter-spacing: -.025em; }
h3 { font-family: var(--f-ui); font-stretch: normal; font-weight: 500; letter-spacing: -.01em; }
h2 { font-size: clamp(24px, 2.6vw, 36px); }
.g, .hz h1 b, .tp-hero h1 span, .eng-hero h1 .l2 { background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent !important; }
:root[data-theme="light"] .g, :root[data-theme="light"] .hz h1 b, :root[data-theme="light"] .tp-hero h1 span, :root[data-theme="light"] .eng-hero h1 .l2 { background: none; color: var(--accent) !important; }
.brand { gap: 11px; font-family: var(--f-display); font-weight: 500; font-size: 17px; letter-spacing: .04em; }
.brand svg { width: 26px; height: 26px; }
.brand:hover svg { transform: rotate(45deg); }
.brand svg { transition: transform .8s var(--ease); }
.hz h1 { font-size: clamp(38px, 5.2vw, 80px); letter-spacing: -.03em; line-height: 1; font-weight: 300; max-width: 12em; }
.hz h1 b { font-weight: 300; }
.hero h1, .tp-hero h1 { font-size: clamp(36px, 4.4vw, 64px); letter-spacing: -.03em; line-height: 1.02; }
.eng-hero h1 { font-size: clamp(34px, 4vw, 58px); letter-spacing: -.03em; line-height: 1.02; }
.bridge-h h1 { font-size: clamp(32px, 3.6vw, 50px); letter-spacing: -.03em; }
.countdown { font-weight: 300; letter-spacing: -.02em; }
.totals { font-weight: 300; letter-spacing: -.02em; font-size: clamp(22px, 2.4vw, 32px); }
.btn-solid { background: var(--fg); color: var(--bg); }
.btn-accent { background: var(--accent); color: var(--accent-ink); }
.btn-l { border-radius: 999px; }
.nav-links a.on { box-shadow: inset 0 -1.5px 0 var(--accent); }
:focus-visible { outline-color: var(--accent); }
.kn .v.acc { background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
:root[data-theme="light"] .kn .v.acc { background: none; color: var(--accent); }
.wl .ic, .acct, .icon-btn { border-radius: 999px; }
@media (max-width: 720px) { .hz h1 { font-size: 34px; } }

/* converging rays network (replaces the planet) */
.hz { background: var(--bg); }
.hz::after { height: 14%; }
.hz-stage canvas, .sky canvas { position: absolute; inset: 0; width: 100% !important; height: 100% !important; }
.ray-core { position: absolute; left: 0; top: 0; pointer-events: none; transform: translate(-50%, -50%); transition: opacity .8s var(--ease), filter .8s var(--ease); }
.ray-core img { width: 100%; height: 100%; display: block; }
.ray-core.dim { opacity: .35; filter: grayscale(1); }
.sky { background: var(--bg); box-shadow: inset 0 0 0 1px var(--bg-4); }
.nd i { box-shadow: 0 0 0 3px var(--bg); }
.hz-key { max-width: 19em; }
/* light theme: the pastel mark sits on a black disc, like the profile picture */
:root[data-theme="light"] .brand svg { background: #000; border-radius: 50%; padding: 3px; width: 30px; height: 30px; }
:root[data-theme="light"] .ray-core { background: #000; border-radius: 50%; padding: 12%; }
:root[data-theme="light"] .ray-core.dim { filter: none; }

/* ---------- cleanup: solid chrome, one radius language, calm hero ---------- */
/* header and tab bar are solid: nothing shows through them */
.nav { background: var(--bg); backdrop-filter: none; -webkit-backdrop-filter: none; box-shadow: 0 1px 0 var(--bg-3); }
@media (max-width: 720px) {
  .tabbar { background: var(--bg-2); backdrop-filter: none; -webkit-backdrop-filter: none; box-shadow: inset 0 0 0 1px var(--bg-4); border-radius: 999px; }
  .banner { top: 64px; }
}
/* the "chain down" notice is a strip under the header, not a floating card */
.banner { top: 64px; left: 0; right: 0; transform: none; width: auto; border-radius: 0; background: var(--bg-2); box-shadow: 0 1px 0 var(--bg-4); padding: 10px var(--gut); }

/* controls are pills, marks and badges are dots, containers are 16px */
.nav-links a, .acct .net, .seg, .seg button, .bx-tabs button, .picker, .addr-in, .ca, .ver, .stale-tag, .spread-legend button, .menu a, .menu button, .cpick button { border-radius: 999px; }
.cb, .cdot, .fi .ic, .wl .ic, .done-h .tick, .swapdir button, .cons-row .chk { border-radius: 50%; }
.cdot { width: 8px; height: 8px; }
.card, .drawer, .modal > *, .leg, .route, .why, .fact .fig, .cons-row, .net-tip, .chart-tip { border-radius: 16px; }
.qa { border-radius: 16px; }
.nav-links a.on { box-shadow: none; color: var(--fg); background: var(--bg-3); border-radius: 999px; }

/* hero: rays on top, copy centred below, nothing layered over the drawing */
.hz { height: auto; min-height: 0; overflow: visible; padding-top: 64px; margin-bottom: 0; display: flex; flex-direction: column; }
.hz::after { display: none; }
.hz-stage { position: relative; inset: auto; height: clamp(360px, 40vw, 520px); margin-top: 24px; }
.hz-copy { position: relative; bottom: auto; left: auto; right: auto; z-index: 2; pointer-events: auto; text-align: center; padding: 28px 0 8px; }
.hz h1 { margin: 0 auto; max-width: none; font-size: clamp(38px, 5vw, 76px); }
.hz .sub { margin: 18px auto 0; max-width: 34em; font-size: 18px; }
.hz-row { display: flex; justify-content: center; align-items: center; gap: 12px; flex-wrap: wrap; margin-top: 30px; }
.hz .ca { margin-top: 0; background: var(--bg-2); backdrop-filter: none; -webkit-backdrop-filter: none; }
.hz .hero-cta { margin-top: 0; }
.hz .countdown { justify-content: center; margin-top: 26px; }
.hz-key { position: static; max-width: 40em; margin: 22px auto 0; font-size: 13px; color: var(--fg-3); pointer-events: auto; }
.hz-log, .burn-tag { display: none !important; }
/* ray labels are placed by network.js at the end of each ray */
.nd span, .nd.up span, .nd.dn span { position: absolute; bottom: auto; flex-direction: column; gap: 0; font-size: 11.5px; line-height: 1.25; }
.nd i { box-shadow: 0 0 0 2px var(--bg); }
@media (max-width: 720px) {
  .hz { padding-top: 56px; }
  .hz-stage { height: 250px; min-height: 0; margin-top: 12px; }
  .hz-copy { margin-top: 0; padding-top: 18px; }
  .hz h1 { font-size: 36px; }
  .hz .sub { font-size: 16px; }
  .hz-row { flex-direction: column; align-items: stretch; }
  .hz .hero-cta { display: grid; grid-template-columns: 1fr 1fr; }
  .hz .ca { width: 100%; justify-content: space-between; }
  .hz-key { display: none; }
}
.sky { background: var(--bg-2); box-shadow: none; border-radius: 16px; }
.totals { font-family: var(--f-ui); font-stretch: normal; font-weight: 400; letter-spacing: -.02em; font-size: clamp(22px, 2.3vw, 30px); line-height: 1.35; } .totals b { font-weight: 500; color: var(--fg); }
@media (max-width: 720px) {
  .tabbar { left: 0; right: 0; bottom: 0; height: calc(60px + env(safe-area-inset-bottom, 0px)); border-radius: 0; background: var(--bg); box-shadow: 0 -1px 0 var(--bg-3); }
  .toasts { bottom: 72px; }
}


/* real logos */
.cb { overflow: hidden; background: var(--bg-3); }
.cb img { width: 100%; height: 100%; display: block; object-fit: cover; }
.cb.off img { filter: grayscale(1); opacity: .55; }
.wl .ic img { width: 100%; height: 100%; object-fit: cover; border-radius: inherit; display: block; }

/* the arc: logos on the rays, names on hover */
.nd i { --s: var(--ns, 32px); background: var(--bg-3); overflow: hidden; box-shadow: 0 0 0 3px var(--bg), 0 0 0 4px color-mix(in oklab, var(--c) 45%, transparent); }
.nd i img { width: 100%; height: 100%; display: block; object-fit: cover; transition: filter .7s var(--ease), opacity .7s var(--ease); }
.nd i::after { display: none; }
.nd.ping i { box-shadow: 0 0 0 3px var(--bg), 0 0 0 5px var(--c), 0 0 22px 2px var(--c); }
.nd:hover { z-index: 4; }
.nd:hover i { transform: scale(1.22); }
.nd.off i { background: var(--bg-2) !important; box-shadow: 0 0 0 3px var(--bg), 0 0 0 4px var(--fg-4); transition: box-shadow .7s var(--ease), transform .4s var(--ease); }
.nd.off i img { filter: grayscale(1) brightness(1.5); opacity: .55; }
.nd.off.wave i { box-shadow: 0 0 0 3px var(--bg), 0 0 0 4px var(--c), 0 0 18px 0 color-mix(in oklab, var(--c) 55%, transparent); transform: scale(1.1); }
.nd.off.wave i img, .nd.off:hover i img { filter: none; opacity: 1; }
.nd span { opacity: 0; pointer-events: none; background: var(--bg-3); padding: 6px 10px; border-radius: 10px; z-index: 5; transition: opacity .18s; }
.nd:hover span, .nd:focus-visible span { opacity: 1; }
.hz-stage.pair .nd span { opacity: 1; background: none; padding: 0; }
.hz-stage.narrow .nd span { display: none; }
.ray-core img { animation: breathe 5.5s ease-in-out infinite; }
@keyframes breathe { 0%, 100% { transform: scale(1); } 50% { transform: scale(1.05); } }

/* room to breathe */
main { padding-top: 152px; }
.sec { padding-top: 136px; }
.sec-h { margin-bottom: 44px; }
.hz-stage { height: clamp(420px, 44vw, 620px); margin-top: 40px; }
.hz-copy { padding: 64px 0 16px; }
.hz .sub { margin-top: 28px; line-height: 1.55; }
.hz .countdown { margin-top: 40px; }
.hz-row { margin-top: 48px; }
.kn { gap: 44px 40px; padding-top: 96px; }
.duo { gap: 32px; }
.cc { padding: 28px; }
.qa summary { padding-top: 22px; padding-bottom: 22px; }

/* the logo strip */
.logos { position: relative; overflow: hidden; padding: 34px 0; margin-top: 24px; -webkit-mask: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent); mask: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent); }
.lg-track { display: flex; gap: 56px; width: max-content; animation: drift 70s linear infinite; }
.logos:hover .lg-track { animation-play-state: paused; }
.lg { display: inline-flex; align-items: center; gap: 12px; color: var(--fg-3); font-size: 15px; white-space: nowrap; transition: color .2s; }
.lg b { font-weight: 400; }
.lg:hover { color: var(--fg); }
@keyframes drift { to { transform: translateX(-50%); } }

/* motion */
.g, .hz h1 b, .tp-hero h1 span, .eng-hero h1 .l2 { background-size: 220% 100%; animation: sheen 9s ease-in-out infinite alternate; }
@keyframes sheen { from { background-position: 0% 0; } to { background-position: 100% 0; } }
.enter .hz h1, .enter .hz .sub, .enter .hz .countdown, .enter .hz-row { animation: rise .9s var(--ease) both; }
.enter .hz .sub { animation-delay: .12s; } .enter .hz .countdown { animation-delay: .22s; } .enter .hz-row { animation-delay: .32s; }
.enter .hz h1 { animation-delay: .02s; }
@keyframes rise { from { opacity: 0; transform: translateY(22px); } }
.enter > .wrap > section:first-child h1 { animation: rise .8s var(--ease) both; }
.rv { opacity: 0; transform: translateY(26px); transition: opacity .8s var(--ease), transform .8s var(--ease); }
.rv.in { opacity: 1; transform: none; }
.card, .cc { transition: transform .35s var(--ease), background .2s, box-shadow .35s var(--ease); }
.cc:hover, .fact:hover { transform: translateY(-4px); box-shadow: 0 18px 40px -24px rgba(0, 0, 0, .8); }
.btn { transition: transform .2s var(--ease), background .15s, color .15s; }
.btn:hover { transform: translateY(-1px); }
.btn:active { transform: translateY(0) scale(.98); }
.cb { transition: transform .25s var(--ease); }
.cc:hover .cb, tr:hover .cb { transform: scale(1.08); }
.brand .mark { transition: transform .9s var(--ease); }
.brand:hover .mark { transform: rotate(45deg); }

@media (max-width: 720px) {
  main { padding-top: 112px; }
  .sec { padding-top: 88px; }
  .sec-h { margin-bottom: 30px; }
  .hz-stage { height: 340px; margin-top: 12px; }
  .hz-copy { padding: 36px 0 8px; margin-top: 0; }
  .kn { padding-top: 64px; gap: 32px 24px; }
  .logos { padding: 24px 0; }
  .lg-track { gap: 36px; }
}
@media (prefers-reduced-motion: reduce) { .rv { opacity: 1; transform: none; } .lg-track, .ray-core img, .g, .hz h1 b { animation: none; } }
