/* Shared redesign stylesheet — design handoff step 1
   Consolidated from the inline CSS blocks of the eight design pages.
   Colours are mapped to global.css tokens so dark mode follows automatically.

   Variant notes:
   - .rov-lg      used on index.html (larger readout numbers, HANDOFF §2).
   - .li-sm       used on about.html (15 px list items).
   - .kv-flex     used on ltin-dvt-cluster.html (flex key-value rows).
   - .ros-break   used on solana.html (long vote-account strings).
   - .tbl-mono    used on ethereum_liquid_staking_page.html (mono table cells).
 */

/* ── Layout helpers ───────────────────────────────────────── */
.wrap{max-width:1080px;margin-left:auto;margin-right:auto;padding-left:24px;padding-right:24px}

/* ── Typography ───────────────────────────────────────────── */
.h1{font-family:"IBM Plex Sans",Inter,system-ui,sans-serif;font-size:clamp(30px,4.6vw,44px);line-height:1.08;letter-spacing:-.025em;margin:0;font-weight:700;color:var(--ink);text-wrap:balance}
.lead{font-size:20px;line-height:1.55;color:var(--ink2);max-width:560px}
.lbl{font-family:'IBM Plex Mono',ui-monospace,SFMono-Regular,Menlo,monospace;font-size:11px;font-weight:700;letter-spacing:2.5px;text-transform:uppercase;color:var(--accent);margin-bottom:14px}
.lbl::before{content:"// "}
.h2{font-family:"IBM Plex Sans",Inter,system-ui,sans-serif;font-size:clamp(1.7rem,3vw,2.5rem);line-height:1.15;font-weight:700;letter-spacing:-.025em;margin-top:0;color:var(--ink)}
.meta{font-family:'IBM Plex Mono',ui-monospace,SFMono-Regular,Menlo,monospace;font-size:13px;color:var(--ink3)}
.body{font-size:16px;line-height:1.6;color:var(--text-muted)}
.m{font-family:'IBM Plex Mono',ui-monospace,SFMono-Regular,Menlo,monospace}

/* ── Sections ─────────────────────────────────────────────────── */
/* Section separator, as on the homepage (.ag-bp::before in index.html): a 1px light line, 80% of the column, centred.
   .sec is a flex column with a 20px gap, so the ::before margin is 64px minus that gap (44px; 40px minus 20px on phones).
   The 56px above and the 44px below a section are the homepage's .ag-sec values, so the line sits 100px under the last content like there. */
.sec{padding-top:56px;padding-bottom:44px;display:flex;flex-direction:column;gap:20px}
.sec::before{content:"";display:block;width:80%;height:1px;background:var(--line2);margin:0 auto 44px}
@media (max-width:900px){.sec{padding-top:36px}.sec::before{margin-bottom:20px}}
/* Every hero here ends in a readout panel with its own bottom rule, so the first section takes no extra line and keeps the 96px (72px on phones) it had. */
.wrap:not(.sec) + .sec{padding-top:96px}
.wrap:not(.sec) + .sec::before{display:none}
@media (max-width:760px){.wrap:not(.sec) + .sec{padding-top:72px}}
main > .sec:last-child{padding-bottom:80px}
.sh{display:flex;justify-content:space-between;align-items:flex-end;gap:16px;flex-wrap:wrap}

/* ── Panels ─────────────────────────────────────────────────── */
.card{background:var(--surf);border:1px solid var(--line);border-radius:8px}
.cells{display:grid;background:var(--line);gap:1px;border:1px solid var(--line);border-radius:8px;overflow:hidden}
.cell{background:var(--surf);padding:24px;display:flex;flex-direction:column;gap:10px;min-width:0}
.cell.alt{background:var(--surf2)}
.ct{font-size:19px;font-weight:600;letter-spacing:-0.01em;color:var(--ink)}
.cm{font-family:'IBM Plex Mono',ui-monospace,SFMono-Regular,Menlo,monospace;font-size:13px;line-height:1.6;color:var(--ink3)}

/* ── Readout ────────────────────────────────────────────────── */
.ro{border-top:1px solid var(--line);border-bottom:1px solid var(--line);padding:28px 0;display:flex;flex-direction:column;gap:24px}
.ro > div{display:flex;flex-wrap:wrap;gap:16px}
.ro > div > div{min-width:0}
.rol{font-family:'IBM Plex Mono',ui-monospace,SFMono-Regular,Menlo,monospace;font-size:12px;letter-spacing:0.14em;text-transform:uppercase;color:var(--ink3);display:flex;align-items:center;gap:10px}
.rov{font-size:clamp(30px,3.4vw,48px);line-height:1;font-weight:400;letter-spacing:-0.02em;font-variant-numeric:tabular-nums;color:var(--ink)}
.rok{font-family:'IBM Plex Mono',ui-monospace,SFMono-Regular,Menlo,monospace;font-size:11px;letter-spacing:0.14em;text-transform:uppercase;color:var(--ink3);margin-top:12px}
/* Readout grid: four values in a row, two by two on phones. Inline grids of four columns left each value less than a quarter of a 342px column (74px at 390),
   narrower than "99.99%" or "Participation", so values ran into each other. Selector is .ro > .rog to outrank `.ro > div` above. */
.ro > .rog{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:16px}
@media (max-width:640px){.ro > .rog{grid-template-columns:repeat(2,minmax(0,1fr));gap:28px 16px}}
.ros{font-family:'IBM Plex Mono',ui-monospace,SFMono-Regular,Menlo,monospace;font-size:13px;line-height:1.7;color:var(--text-muted)}
/* ── Key-value rows ───────────────────────────────────────── */
.kv{display:grid;grid-template-columns:150px minmax(0,1fr);gap:16px;padding:14px 24px;border-bottom:1px solid var(--line);font-size:15px;color:var(--ink)}
.kv:last-child{border-bottom:0}

/* ── Lists ──────────────────────────────────────────────────── */
.li{display:flex;gap:12px;font-size:16px;line-height:1.5;color:var(--ink)}
/* ── Badges ─────────────────────────────────────────────────── */
.badge{font-family:'IBM Plex Mono',ui-monospace,SFMono-Regular,Menlo,monospace;font-size:11px;letter-spacing:0.08em;text-transform:uppercase;padding:3px 8px;border-radius:3px;white-space:nowrap}
.b-amber{background:var(--tint-warn);color:var(--warn)}
.b-green{background:var(--tint-ok);color:var(--ok)}
.b-gray{background:var(--surf2);color:var(--text-muted)}

/* ── Buttons ────────────────────────────────────────────────── */
.btn{display:inline-flex;align-items:center;justify-content:center;gap:8px;min-height:44px;padding:0 18px;border-radius:6px;font-size:15px;font-weight:500;text-decoration:none;border:0;cursor:pointer}
.btn-p{background:var(--ink);color:var(--surf)}
.btn-p:hover{background:var(--accent);text-decoration:none}
.btn-s{background:var(--surf);border:1px solid var(--line2);color:var(--ink)}
.btn-s:hover{border-color:var(--ink);text-decoration:none}
.btn:focus-visible,.nl:focus-visible,.cell[href]:focus-visible{outline:2px solid var(--accent);outline-offset:2px}

/* ── Tables ─────────────────────────────────────────────────── */
.tbl{width:100%;border-collapse:collapse;font-size:15px;min-width:640px}
.tbl th{text-align:left;font-family:'IBM Plex Mono',ui-monospace,SFMono-Regular,Menlo,monospace;font-size:11px;letter-spacing:0.12em;text-transform:uppercase;color:var(--ink3);font-weight:500;padding:14px 20px;border-bottom:1px solid var(--line)}
.tbl td{padding:15px 20px;border-bottom:1px solid var(--line);color:var(--ink)}
.tbl tr:last-child td{border-bottom:0}
/* ── Meter ──────────────────────────────────────────────────── */
.meter{position:relative;height:6px;border-radius:3px;background:var(--surf2)}

/* ── Dot ────────────────────────────────────────────────────── */
.dot{width:7px;height:7px;border-radius:50%;display:inline-block;flex:none}
/* ── About page history ─────────────────────────────────────── */
.hist{display:grid;grid-template-columns:120px minmax(0,1fr);gap:24px;padding:22px 24px;border-bottom:1px solid var(--line);color:var(--ink)}
.hist:last-child{border-bottom:0}
.wm{background:var(--surf);min-height:88px;display:flex;align-items:center;justify-content:center;font-size:16px;font-weight:600;color:var(--text-muted);letter-spacing:0.02em}

/* ── Responsive ─────────────────────────────────────────────── */
@media (max-width:1024px){
  main > .sec:last-child{padding-bottom:64px}
}
@media (max-width:768px){
  main > .sec:last-child{padding-bottom:48px}
}
@media (max-width:760px){
  .wrap{padding-left:24px;padding-right:24px}
  .kv{grid-template-columns:1fr;gap:4px}
  .hist{grid-template-columns:1fr;gap:6px}
}
@media (max-width:480px){
  main > .sec:last-child{padding-bottom:40px}
}

/* ── Chain pages (ethereum, solana, near): the operation in groups, principles, call to action ───────────────────
   The language of about.html and the homepage. Section heads are the existing .lbl + .h2; the 80% divider and the section spacing are .sec above.
   Groups: each opens with a 2px --ink rule across the column; left (26%) a mono accent number over the group name, right the label/value rows (same as .ab-wg on about).
   Principles: mono accent label, bold title, small body, 2px accent rule on the left (as the layer principles on about).
   Call to action: one primary card in the homepage's .ag-cta-c style, then small links. Tokens only. */
.cx-w{max-width:68ch}
.cx-gs{margin-top:20px}
.cx-g{display:grid;grid-template-columns:minmax(0,26fr) minmax(0,74fr);column-gap:32px;padding:24px 0 44px;border-top:2px solid var(--ink)}
.cx-g:last-child{padding-bottom:0}
.cx-n{display:block;font-size:12px;letter-spacing:.1em;color:var(--accent)}
.cx-t{margin:10px 0 0;font-size:20px;font-weight:700;line-height:1.3;letter-spacing:-.01em;color:var(--ink)}
.cx-b{min-width:0}
.cx-r{display:grid;grid-template-columns:minmax(0,34fr) minmax(0,66fr);column-gap:24px;align-items:baseline;padding:14px 0;scroll-margin-top:96px}
.cx-r:first-child{padding-top:0}
.cx-r:last-child{padding-bottom:0}
.cx-r + .cx-r{border-top:1px solid var(--line)}
.cx-k{font-family:'IBM Plex Mono',ui-monospace,SFMono-Regular,Menlo,monospace;font-size:11px;line-height:1.7;letter-spacing:.14em;text-transform:uppercase;color:var(--ink3);min-width:0}
.cx-v{font-size:16px;line-height:1.55;color:var(--ink);min-width:0}
.cx-v.m{font-size:14px}
.cx-bk{word-break:break-all}
.cx-v .badge{margin-right:6px}
.cx-ln{display:grid;grid-template-columns:84px minmax(0,1fr);column-gap:12px}
.cx-ln + .cx-ln{margin-top:6px}
.cx-lt{font-family:'IBM Plex Mono',ui-monospace,SFMono-Regular,Menlo,monospace;font-size:11px;line-height:1.9;letter-spacing:.1em;text-transform:uppercase;color:var(--ink3)}
.cx-ls{list-style:none;margin:0;padding:0}
.cx-ls li + li{margin-top:6px}
.cx-st{list-style:none;margin:0;padding:0;display:flex;flex-direction:column;gap:8px}
.cx-st li{display:grid;grid-template-columns:28px minmax(0,1fr);column-gap:4px;font-size:15px;line-height:1.5}
.cx-sn{font-size:12px;line-height:1.6;color:var(--ink3)}
.cx-lk,.cx-also a{display:inline-flex;align-items:center;min-height:44px;font-size:15px;font-weight:500;color:var(--accent);text-decoration:none;border-radius:2px}
.cx-lk:hover,.cx-also a:hover{text-decoration:underline}
.cx-lk:focus-visible,.cx-also a:focus-visible,.cx-cc:focus-visible{outline:2px solid var(--accent);outline-offset:2px}
.cx-pr{margin-top:20px;display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,260px),1fr));gap:32px}
.cx-p{min-width:0;padding-left:16px;border-left:2px solid var(--accent)}
.cx-pl{display:block;font-size:10px;line-height:1.4;letter-spacing:.14em;text-transform:uppercase;color:var(--accent)}
.cx-pt{display:block;margin-top:5px;font-size:17px;font-weight:700;line-height:1.3;color:var(--ink)}
.cx-pb{margin:6px 0 0;font-size:15px;line-height:1.55;color:var(--ink2)}
.cx-cl{max-width:62ch;margin:0;font-size:16px;line-height:1.6;color:var(--ink2);overflow-wrap:anywhere}
.cx-cc{position:relative;display:flex;flex-direction:column;gap:6px;min-height:44px;max-width:680px;padding:22px 52px 22px 24px;background:var(--surf);border:1px solid color-mix(in srgb,var(--accent) 45%,var(--line));border-radius:8px;color:var(--ink);text-decoration:none;transition:border-color .15s,background .15s}
.cx-cc:hover,.cx-cc:focus-visible{border-color:var(--accent);background:color-mix(in srgb,var(--accent) 5%,var(--surf))}
.cx-ck{font-size:11px;letter-spacing:.14em;text-transform:uppercase;color:var(--accent)}
.cx-cc b{font-size:19px;font-weight:600;letter-spacing:-.01em}
.cx-cs{font-size:14px;line-height:1.5;color:var(--ink3)}
.cx-ca{position:absolute;right:22px;top:50%;transform:translateY(-50%);font-size:20px;color:var(--accent);transition:transform .15s}
.cx-cc:hover .cx-ca{transform:translate(4px,-50%)}
.cx-also{margin:-8px 0 0;display:flex;flex-wrap:wrap;align-items:center;gap:0 20px}
.cx-also .m{font-size:12px;letter-spacing:.08em;color:var(--ink3)}
.cx-sep{width:1px;height:16px;background:var(--line2)}
/* The call to action is the last thing before the footer: 120px (96px at 900px and below; the homepage's own is 140 / 96). */
main > .sec.cx-cta:last-child{padding-bottom:120px}
@media (max-width:900px){main > .sec.cx-cta:last-child{padding-bottom:96px}}
@media (max-width:640px){
  .cx-g{grid-template-columns:minmax(0,1fr);row-gap:18px;padding:20px 0 32px}
  .cx-r{grid-template-columns:minmax(0,1fr);row-gap:4px}
  .cx-ln{grid-template-columns:76px minmax(0,1fr);column-gap:10px}
  .cx-cc{max-width:none}
}
@media (prefers-reduced-motion:reduce){.cx-cc,.cx-ca{transition:none}}
/* ── Live panel (ethereum, solana, near): the detailed view of the homepage "Under management" card ───────────────────
   One large card directly under the hero: chain, freshness, the main figure, the chain's share of assets under delegation, a row of figures, the meter, the source.
   Every figure is baked into the HTML (what the collector read at build time) and a small inline script replaces it only when data/<chain>.json is present, valid and fresh.
   data-state: static (baked, no script result), live (file fresh), stale (file older than 2x cadence; the baked values stay). Tokens only; colour-mix for tints. */
.lv{background:var(--surf);border:1px solid var(--line);border-radius:8px;overflow:hidden;font-variant-numeric:tabular-nums}
.lv-pg,.lv-fs,.lv-pill,.lv-k,.lv-fg,.lv-as,.lv-v,.lv-av,.lv-an,.lv-mh,.lv-mk em,.lv-ov,.lv-ol,.lv-ad,.lv-lg,.lv-src,.lv-ch{font-family:'IBM Plex Mono',ui-monospace,SFMono-Regular,Menlo,monospace}
.lv-hd{display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:6px 20px;padding:8px 24px;border-bottom:1px solid var(--line)}
.lv-id{display:flex;flex-direction:column;gap:1px;min-width:0}
.lv-nm{font-size:18px;font-weight:600;letter-spacing:-.01em;color:var(--ink)}
.lv-pg{font-size:11px;line-height:1.4;color:var(--ink3);overflow-wrap:anywhere}
.lv-fs{display:flex;flex-wrap:wrap;align-items:center;gap:4px 10px;font-size:11px;color:var(--ink3)}
.lv-dot{flex:none;width:7px;height:7px;border-radius:50%;background:var(--ink4)}
.lv-pill{padding:2px 7px;border-radius:2px;font-size:10px;letter-spacing:.06em;text-transform:uppercase;white-space:nowrap;background:var(--surf3);color:var(--ink3)}
.lv-w2{display:none}
.lv[data-state="live"] .lv-w1{display:none}
.lv[data-state="live"] .lv-w2{display:inline}
.lv[data-state="live"] .lv-dot{background:var(--ok);box-shadow:0 0 0 3px color-mix(in srgb,var(--ok) 24%,transparent);animation:lv-pulse 2.4s ease-in-out infinite}
.lv[data-state="live"] .lv-pill{background:var(--tint-ok);color:var(--ok)}
.lv[data-state="live"][data-v="delinquent"] .lv-dot{background:var(--warn);box-shadow:none;animation:none}
.lv[data-state="live"][data-v="delinquent"] .lv-pill{background:var(--tint-warn);color:var(--warn)}
@keyframes lv-pulse{0%,100%{box-shadow:0 0 0 3px color-mix(in srgb,var(--ok) 24%,transparent)}50%{box-shadow:0 0 0 8px color-mix(in srgb,var(--ok) 7%,transparent)}}
.lv-bd{display:grid;grid-template-columns:minmax(0,3fr) minmax(0,2fr)}
.lv-mn,.lv-ag{padding:12px 24px;min-width:0}
.lv-ag{border-left:1px solid var(--line);background:color-mix(in srgb,var(--accent) 3%,var(--surf))}
.lv-k{font-size:11px;line-height:1.4;letter-spacing:.14em;text-transform:uppercase;color:var(--ink3)}
.lv-fg{margin:6px 0 0;font-size:29px;line-height:1;letter-spacing:-.05em;font-weight:500;color:var(--ink)}
.lv-u{margin-left:10px;font-size:14px;letter-spacing:0;font-weight:400;color:var(--ink3)}
.lv-fl{margin:6px 0 0;max-width:46ch;font-size:14px;line-height:1.4;color:var(--ink3)}
.lv-as{margin:6px 0 0;font-size:29px;line-height:1;letter-spacing:-.04em;font-weight:500;color:var(--accent)}
.lv-bar{position:relative;height:6px;margin-top:8px;border-radius:3px;overflow:hidden;background:var(--surf3)}
.lv-bar i{position:absolute;inset:0 auto 0 0;display:block;border-radius:3px;background:var(--accent)}
.lv-av{margin:6px 0 0;font-size:14px;line-height:1.35;color:var(--ink)}
.lv-an{margin:3px 0 0;font-size:11px;line-height:1.4;color:var(--ink3)}
.lv-cs{display:grid;grid-template-columns:repeat(var(--n,4),minmax(0,1fr));gap:1px;background:var(--line);border-top:1px solid var(--line)}
.lv-cs.n3{--n:3}
.lv-c{min-width:0;padding:9px 24px;background:var(--surf)}
.lv-v{margin:6px 0 0;font-size:22px;line-height:1;letter-spacing:-.04em;font-weight:500;color:var(--ink)}
.lv-v .lv-u{margin-left:8px;font-size:13px;white-space:nowrap}
.lv-v.cap{text-transform:capitalize}
.lv-fl::first-letter{text-transform:uppercase}
.lv-v[data-v="ok"]{color:var(--ok)}
.lv-v[data-v="thin"]{color:var(--warn)}
.lv-v[data-v="deficit"]{color:var(--danger)}
.lv-ch{margin:3px 0 0;font-size:11px;line-height:1.35;color:var(--ink3)}
.lv-mt{padding:10px 24px 12px;border-top:1px solid var(--line)}
.lv-mr + .lv-mr{margin-top:8px}
.lv-mh{display:flex;flex-wrap:wrap;align-items:baseline;justify-content:space-between;gap:4px 16px;margin-bottom:8px;font-size:11px;letter-spacing:.12em;text-transform:uppercase;color:var(--ink3)}
.lv-mh b{font-size:14px;font-weight:500;letter-spacing:0;text-transform:none;color:var(--ink)}
.lv-mw{position:relative;padding-bottom:18px}
.lv-mw:not(:has(.lv-mk)){padding-bottom:0}
.lv-m{position:relative;height:8px;border-radius:4px;overflow:hidden;background:var(--surf3)}
.lv-m i{position:absolute;inset:0 auto 0 0;display:block;border-radius:4px;background:var(--ok)}
.lv-m[data-v="thin"] i{background:var(--warn)}
.lv-m[data-v="deficit"] i{background:var(--danger)}
.lv-mk{position:absolute;top:-4px;width:2px;height:16px;margin-left:-1px;background:var(--ink)}
.lv-mk em{position:absolute;top:100%;left:50%;margin-top:3px;font-size:10px;font-style:normal;letter-spacing:.04em;white-space:nowrap;color:var(--ink3);transform:translateX(-50%)}
.lv-mk.r em{left:auto;right:-1px;transform:none;text-align:right}
.lv-mc{margin:0;font-size:11px;line-height:1.45;color:var(--ink3);font-family:'IBM Plex Mono',ui-monospace,SFMono-Regular,Menlo,monospace}
.lv-sg{display:flex;gap:2px;height:8px;border-radius:4px;overflow:hidden;background:var(--surf3)}
.lv-sg i{display:block;height:100%;background:var(--accent)}
.lv-sg i:nth-child(2){background:var(--ok)}
.lv-sg i:nth-child(3){background:var(--ink4)}
.lv-lg{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:6px 20px;margin-top:10px;font-size:11px;line-height:1.4;color:var(--ink)}
.lv-lg div{min-width:0}
.lv-lg div::before{content:"";display:inline-block;width:8px;height:8px;margin-right:8px;border-radius:2px;background:var(--accent)}
.lv-lg div:nth-child(2)::before{background:var(--ok)}
.lv-lg div:nth-child(3)::before{background:var(--ink4)}
.lv-lg>div>span{display:block;margin-top:0;padding-left:16px;font-size:11px;color:var(--ink3)}
.lv-ops{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:1px;background:var(--line);border-top:1px solid var(--line)}
.lv-op{min-width:0;padding:9px 24px;background:var(--surf)}
.lv-tr{display:flex;flex-wrap:wrap;gap:6px 24px;margin-top:6px}
.lv-ov{display:block;font-size:20px;line-height:1;letter-spacing:-.03em;font-weight:500;color:var(--ink)}
.lv-ol{display:block;margin-top:3px;font-size:10px;letter-spacing:.12em;text-transform:uppercase;color:var(--ink3)}
.lv-op .lv-k{text-transform:none;letter-spacing:.06em;font-size:11px}
.lv-tr .on .lv-ov{color:var(--ok)}
.lv-ad{margin:6px 0 0;font-size:11px;line-height:1.35;color:var(--ink3);word-break:break-all}
.lv-src{margin:0;padding:8px 24px;border-top:1px solid var(--line);background:color-mix(in srgb,var(--surf3) 55%,var(--surf));font-size:11px;line-height:1.4;color:var(--ink3);overflow-wrap:anywhere}
.lv-src b{margin-right:6px;font-weight:500;color:var(--ink2)}
/* Staking note directly under the live panel, inside the Live section: the index .ag-xp-intro note (12px / 1.65, ink3, bold lead in ink2).
   Index sits the note 21px under the cards; .sec is a flex column with a 20px gap, so 1px of margin makes 21px. 1032px = the index note's rendered width at 1440 = the .wrap content box. */
.lv-xp{margin:1px 0 0;max-width:1032px;font-size:12px;line-height:1.65;color:var(--ink3)}
.lv-xp b{font-weight:600;color:var(--ink2)}
@media (max-width:900px){
  .lv-bd{grid-template-columns:minmax(0,1fr)}
  .lv-ag{border-left:0;border-top:1px solid var(--line)}
  .lv-cs{grid-template-columns:repeat(2,minmax(0,1fr))}
  .lv-cs.n3 .lv-c:last-child{grid-column:1 / -1}
}
@media (max-width:640px){
  .lv-hd,.lv-mn,.lv-ag,.lv-mt,.lv-src{padding-left:16px;padding-right:16px}
  .lv-hd{padding-top:8px;padding-bottom:8px}
  .lv-mn,.lv-ag{padding-top:12px;padding-bottom:12px}
  .lv-mt{padding-top:10px;padding-bottom:10px}
  .lv-src{padding-top:6px;padding-bottom:6px}
  .lv-c,.lv-op{padding:8px 16px}
  .lv-ops{grid-template-columns:minmax(0,1fr)}
  .lv-lg{grid-template-columns:minmax(0,1fr)}
}
@media (max-width:380px){
  .lv-cs{grid-template-columns:minmax(0,1fr)}
  .lv-fg .lv-u{display:block;margin:6px 0 0}
}
@media (prefers-reduced-motion:reduce){.lv[data-state="live"] .lv-dot{animation:none}}
/* ── Top of the chain pages (ethereum, solana, near): hero, "From Aida", then the live section ───────────────────
   Hero: breadcrumb, one-line title, lead, then the call to action beside the APY figure, a thin rule, and one row of status pill, tags and (Solana) the vote account with a Copy button.
   From Aida: no divider above it (it follows the hero directly); a large pull statement, then three short blocks in the principles' language (.cx-p, .cx-pl, .cx-pt, .cx-pb).
   Live: a normal .sec (80% divider above), eyebrow + title, then the existing panel. Tokens only; light and dark follow the tokens. */
.hx{padding-top:72px;display:flex;flex-direction:column;gap:28px}
.hx .h1{max-width:none}
.hx-act{display:flex;flex-wrap:wrap;align-items:center;gap:20px 40px}
.hx-btn{min-height:48px;padding:0 26px;border-radius:8px;font-size:16px}
.hx-apy{display:flex;flex-direction:column;gap:10px}
.hx-av{font-family:Inter,system-ui,sans-serif;font-size:29px;line-height:1;font-weight:600;letter-spacing:-.025em;font-variant-numeric:tabular-nums;color:var(--ink)}
.hx-ak{font-family:'IBM Plex Mono',ui-monospace,SFMono-Regular,Menlo,monospace;font-size:11px;letter-spacing:.14em;text-transform:uppercase;color:var(--ink3)}
.hx-st{display:flex;flex-wrap:wrap;align-items:center;gap:14px 24px;padding-top:22px;border-top:1px solid var(--line)}
.hx-pill,.hx-tags,.hx-vote,.hx-copy{font-family:'IBM Plex Mono',ui-monospace,SFMono-Regular,Menlo,monospace;text-transform:uppercase}
.hx-pill{display:inline-flex;align-items:center;gap:8px;padding:6px 12px;border-radius:999px;background:var(--tint-ok);color:var(--ok);font-size:11px;font-weight:500;letter-spacing:.08em;white-space:nowrap}
.hx-tags{list-style:none;display:flex;flex-wrap:wrap;align-items:center;gap:8px 14px;font-size:11px;letter-spacing:.1em;color:var(--ink2)}
.hx-tags li{display:flex;align-items:center;gap:14px;min-width:0;overflow-wrap:anywhere}
.hx-tags li + li::before{content:"";flex:none;width:3px;height:3px;border-radius:50%;background:var(--ink3)}
.hx-vote{display:inline-flex;align-items:center;gap:10px;margin-left:auto;font-size:11px;letter-spacing:.1em;color:var(--ink3)}
.hx-vote b{font-weight:500;color:var(--ink2);text-transform:none;letter-spacing:.02em;font-size:12px}
.hx-copy{min-height:28px;padding:0 10px;border:1px solid var(--line2);border-radius:6px;background:transparent;color:var(--ink2);font-size:10.5px;letter-spacing:.1em;cursor:pointer}
.hx-copy:hover{border-color:var(--ink);color:var(--ink)}
.hx-copy:focus-visible{outline:2px solid var(--accent);outline-offset:2px}
.wrap:not(.sec) + .sec.ai-sec{padding-top:64px;padding-bottom:44px}
/* From Aida, two columns: the section itself becomes a grid, so the markup is unchanged (eyebrow row, then figure | .ai-cols). Left (48%): quote + signature, centred against the right column.
   Right: Why / Vision / Mission stacked, 32px apart, no top rules; a 1px --line2 rule (the .ai-cols left border, stretched to the full row height so it spans whichever column is taller) separates the columns. Stacks to one column at 760px with a horizontal rule instead. */
.wrap:not(.sec) + .sec.ai-sec{display:grid;grid-template-columns:minmax(0,.92fr) minmax(0,1fr);gap:20px 0;align-items:center}
.ai-sec > div:first-child{grid-column:1 / -1}
.ai-f{margin:0;display:flex;flex-direction:column;gap:28px;padding-right:56px}
.ai-q{margin:0;font-family:'IBM Plex Sans',Inter,system-ui,sans-serif;font-style:italic;font-size:clamp(20px,1.95vw,28px);line-height:1.5;font-weight:400;letter-spacing:-.01em;color:var(--ink)}
.ai-q p{margin:0}
.ai-q p::before{content:"\201C"}
.ai-q p::after{content:"\201D"}
.ai-by{display:flex;flex-wrap:wrap;align-items:center;gap:6px 14px;font-family:'IBM Plex Sans',Inter,system-ui,sans-serif;font-size:11px;line-height:1.4;color:var(--ink)}
.ai-rl{flex:none;width:44px;height:2px;background:var(--accent)}
.ai-nm{font-size:14px;font-weight:700;color:var(--ink)}
.ai-rk{font-family:'IBM Plex Mono',ui-monospace,SFMono-Regular,Menlo,monospace;font-size:11px;letter-spacing:.16em;text-transform:uppercase;color:var(--ink3)}
.ai-cols{display:flex;flex-direction:column;justify-content:center;align-self:stretch;gap:32px;padding-left:56px;border-left:1px solid var(--line2);counter-reset:aic}
.ai-cols .cx-p{padding:0;border:0;counter-increment:aic}
.ai-h{display:flex;flex-wrap:wrap;align-items:baseline;gap:4px 12px}
.ai-cols .cx-pl{font-size:11px;line-height:20px;letter-spacing:.16em}
.ai-cols .cx-pl::before{content:counter(aic,decimal-leading-zero) " \00B7";display:inline-block;margin-right:.7em}
.ai-s{font-family:'IBM Plex Sans',Inter,system-ui,sans-serif;font-style:italic;font-size:11px;line-height:20px;letter-spacing:0;text-transform:none;color:var(--ink3)}
.ai-cols .cx-pt{margin-top:4px;line-height:1.3;letter-spacing:-.01em}
.ai-cols .cx-pb{margin-top:8px;font-size:16px;line-height:1.6;color:var(--ink2)}
@media (max-width:900px){
  .hx-vote{margin-left:0}
  .ai-f{padding-right:32px}
  .ai-cols{padding-left:32px}
}
@media (max-width:760px){
  .hx{padding-top:48px}
  .hx-av{font-size:24px}
  .hx-act{gap:24px 32px}
  .wrap:not(.sec) + .sec.ai-sec{padding-top:48px}
  .wrap:not(.sec) + .sec.ai-sec{grid-template-columns:minmax(0,1fr)}
  .ai-f{gap:22px;padding-right:0}
  .ai-q{font-size:20px}
  .ai-cols{margin-top:12px;padding:28px 0 0;border-left:0;border-top:1px solid var(--line2)}
}
@media (max-width:640px){
  .hx-tags{flex-direction:column;align-items:flex-start;gap:8px}
  .hx-tags li + li::before{display:none}
  .hx-vote{flex-wrap:wrap}
}
