/* Pouch's own layer over base.css (16 Nov 2026, look 4, the owner's pick: "the site's clean"). A light desk: a top menu
   with a live SOL chip, a live price tape under it, white panels on hairlines with a soft shadow, ink for the one action
   and the logo's indigo-to-sky gradient for live things. No sidebar on wide screens; below 1060 px it comes back as
   the phone's drawer. base.css was written for a dark ground: the few colours it fixed are put right at the bottom. */

::selection { background: rgba(59, 31, 224, 0.16); }
body { font-size: 14.5px; letter-spacing: -0.003em; font-feature-settings: 'tnum' 1, 'cv11' 1; }
h1, h2, h3, h4 { font-weight: 650; letter-spacing: -0.03em; }

/* ---------- the shell: a top menu, no sidebar ---------- */
.shell { display: block; min-height: 0; }
.sidebar { display: none; }
.frame { min-height: calc(100svh - var(--top-h)); }
.top { gap: 34px; height: var(--top-h); padding: 0 max(var(--gut), calc((100vw - var(--wrap)) / 2 + var(--gut))); background: rgba(251, 251, 254, 0.86); border-bottom: 1px solid transparent; backdrop-filter: saturate(1.6) blur(14px); -webkit-backdrop-filter: saturate(1.6) blur(14px); transition: border-color var(--t); }
body.scrolled .top { border-bottom-color: var(--line); }
.top .brand { display: inline-flex; padding: 0; }
.brand { gap: 10px; }
.brand .logo img { width: 30px; height: 30px; border-radius: 8px; box-shadow: 0 0 0 1px var(--line); }
.brand .logo-word { font-weight: 650; font-size: 21px; letter-spacing: -0.035em; }
.top-nav { display: flex; align-items: center; gap: 26px; }
.top-nav a { position: relative; display: inline-flex; align-items: center; height: var(--top-h); color: var(--ink-2); font-size: 14.5px; font-weight: 500; transition: color var(--t-fast); }
.top-nav a:hover { color: var(--ink); }
.top-nav a[aria-current] { color: var(--ink); }
.top-nav a[aria-current]::after { content: ''; position: absolute; left: 0; right: 0; bottom: 14px; height: 2px; border-radius: 2px; background: var(--grad); }
.top-search { display: none; }
.top-actions { margin-left: auto; gap: 10px; }
.top-tools { display: none; }
.top-cta { height: 40px; }
.sol-chip { display: inline-flex; align-items: center; gap: 6px; height: 32px; padding: 0 11px; border-radius: var(--r-pill); background: rgba(255, 255, 255, 0.85); box-shadow: inset 0 0 0 1px var(--line); color: var(--ink-2); font-size: 13.5px; white-space: nowrap; }
.sol-chip b { color: var(--ink); font-weight: 600; font-variant-numeric: tabular-nums; }
.sol-chip i { width: 7px; height: 7px; border-radius: 50%; background: #16B37A; animation: ping 2s infinite; }
.demo-tag { height: 22px; padding: 0 8px; border-radius: var(--r-pill); background: var(--accent-wash); border: 0; color: var(--accent); font: 600 11px/1 var(--font); letter-spacing: 0; text-transform: none; }

/* ---------- the live tape: real Jupiter prices, under the menu on every page ---------- */
.strip { height: 38px; padding: 0; justify-content: flex-start; background: rgba(255, 255, 255, 0.72); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); color: var(--ink-2); font-size: 13px; backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); }
.tape-in { display: flex; width: max-content; animation: tape 70s linear infinite; }
.strip:hover .tape-in { animation-play-state: paused; }
.tape-in span { display: inline-flex; align-items: center; gap: 8px; height: 38px; padding: 0 22px; border-right: 1px solid var(--line); white-space: nowrap; font-variant-numeric: tabular-nums; }
.tape-in b { color: var(--ink); font-weight: 600; }
.tape-in em { font-style: normal; }
.tape-in .up { color: var(--good); }
.tape-in .dn { color: var(--bad); }
.tape-in .t-demo { color: var(--accent); font-weight: 600; }
@keyframes tape { to { transform: translateX(-50%); } }
@keyframes ping { 0% { box-shadow: 0 0 0 0 rgba(22, 179, 122, 0.45); } 80%, 100% { box-shadow: 0 0 0 7px rgba(22, 179, 122, 0); } }
.ca-bar { display: flex; align-items: center; justify-content: center; gap: 8px; height: 30px; background: var(--ink); color: #fff; font-size: 12px; }
.ca-bar code { font: 500 12px/1 var(--font-mono); }
.ca-bar button { height: 20px; padding: 0 8px; border-radius: 6px; border: 1px solid rgba(255, 255, 255, 0.3); background: transparent; color: #fff; font-size: 11px; font-weight: 600; }

/* ---------- buttons: ink for the one action, the gradient for the first step ---------- */
.btn { border-radius: var(--r); font-weight: 600; background: var(--surface); border-color: var(--line-2); }
.btn:hover { background: var(--surface-2); }
.btn.primary { background: var(--ink); border-color: transparent; color: #fff; }
.btn.primary:hover { background: #23264A; }
.btn.accent { background: var(--grad); border-color: transparent; color: #fff; box-shadow: 0 8px 20px -10px rgba(59, 31, 224, 0.6); }
.btn.accent:hover { filter: brightness(1.06); }
.btn.lg { height: 48px; padding: 0 20px; border-radius: 12px; font-size: 15.5px; }
.btn.sm { border-radius: 8px; }
.btn.danger { border-color: rgba(194, 38, 75, 0.3); }
.btn[aria-disabled] { opacity: 0.45; cursor: not-allowed; }
.ot-row:hover .ot-act .btn { background: var(--ink); border-color: transparent; color: #fff; }

/* ---------- panels: white on hairlines, a soft shadow, rounder corners ---------- */
.board, .statbar, .exm, .panel, .swap, .buy-box, .house-card, .tp-table, .rows, .faq, .desk-tiles, .form-step, .calc-in, .calc-out, .ex-ticket, .how-step, .fact { border-radius: var(--r-lg); background: var(--surface); }
.board, .panel, .buy-box, .swap, .tp-table, .form-step { box-shadow: 0 1px 2px rgba(11, 13, 31, 0.04), 0 14px 36px -24px rgba(30, 30, 90, 0.22); }
.board-head h2 { font-size: 15px; font-weight: 650; }
.stat-value { font-weight: 600; letter-spacing: -0.03em; }
.ot-row { min-height: 56px; }
.kicker-dot { box-shadow: none; }
.chip, .pill { border-radius: var(--r-pill); }
.swap-box, .swap-price, .swap-tok { border-radius: var(--r); }
.menu { border-radius: var(--r); }
.modal-panel { border-radius: var(--r-lg); box-shadow: var(--shadow-lg); }
.empty { gap: 8px; padding: 36px 20px; border-radius: var(--r-lg); border: 1px dashed var(--line-2); background: var(--surface); }
.empty .art, .ot-empty .art { display: none; }

/* the small mark inside pages: 40 px at most, a rounded tile */
.markimg { max-width: 40px; max-height: 40px; border-radius: 9px; box-shadow: 0 0 0 1px var(--line); }
.art .markimg, .modal-art .markimg, .banner .markimg, .ot-empty .art .markimg, .vault-art .markimg { width: 40px; height: 40px; margin: 0; }
.modal-art { padding: 0 0 4px; }

/* numbers: Geist with tabular figures (no mono labels on a light desk) */
.big-price, .ticket-price, .ticket-amount, .tile .num, .tp-num, .ot-price b, .ot-left b, .vs-get, .range-val, .ex-big, .costs dd, .swap-in, .swap-get, .count { font-variant-numeric: tabular-nums; letter-spacing: -0.02em; }
.label { font: 500 12px/1.3 var(--font); letter-spacing: 0; text-transform: none; color: var(--muted); }
.kicker { font: 600 12.5px/1 var(--font); letter-spacing: 0; text-transform: none; color: var(--accent); }

/* inner pages open like the home page: the fine grid fading out behind a bigger, tighter heading */
.page-head { position: relative; padding-top: 30px; padding-bottom: 8px; }
.page-head::before { content: ''; position: absolute; inset: -120px 0 0 0; z-index: 0; pointer-events: none; background-image: linear-gradient(rgba(59, 31, 224, 0.05) 1px, transparent 1px), linear-gradient(90deg, rgba(59, 31, 224, 0.05) 1px, transparent 1px); background-size: 40px 40px; -webkit-mask: radial-gradient(ellipse 60% 70% at 70% 30%, #000 10%, transparent 70%); mask: radial-gradient(ellipse 60% 70% at 70% 30%, #000 10%, transparent 70%); }
.page-head-in { position: relative; z-index: 1; }
.page-head h1 { font-size: clamp(32px, 4vw, 50px); line-height: 1.02; letter-spacing: -0.045em; font-weight: 650; }
.page-head .lede { font-size: 16px; }
.crumbs { font-size: 13px; }

/* small labels and numbers in Geist, not mono capitals (the owner: no mono labels); addresses and signatures stay mono */
.ex-name, .swap-label, .hv-real { font: 600 12.5px/1.3 var(--font); letter-spacing: 0; text-transform: none; }
.quick button, .affix .unit, .tabs .count, .board-head h2 .count, .wallet-tag, .exit-phone { font-family: var(--font); font-variant-numeric: tabular-nums; letter-spacing: 0; }
.vs, .range-val, .vs-get, .tp-num, .costs dd, .countdown { font-family: var(--font); font-variant-numeric: tabular-nums; letter-spacing: -0.01em; }
.fact .fact-n, .step-n, .walk-n, .wlab, .step-title .n, .tp-n, .flow-mark, .early-badge { font-family: var(--font); letter-spacing: 0; }
.quick button { border-radius: var(--r-pill); background: var(--surface); }

/* the docs calculator: its row class is now the name Pouch */
.vs-row.Pouch .vs-bar span { background: var(--grad); }

/* ---------- the footer: live numbers, the pages, the risk line ---------- */
.foot { max-width: var(--wrap); width: 100%; margin: 24px auto 0; padding: 0 var(--gut) 30px; border-top: 0; display: grid; gap: 14px; }
.foot-live { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 22px; padding: 16px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); color: var(--muted); font-size: 13px; }
.foot-live b { color: var(--ink); font-weight: 600; font-variant-numeric: tabular-nums; }
.foot-live .foot-switches { margin-left: auto; }
.foot-row { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 22px; }
.foot .foot-brand img { width: 20px; height: 20px; border-radius: 5px; box-shadow: 0 0 0 1px var(--line); }
.foot .foot-risk { color: var(--faint); }
.link { background: none; border: 0; padding: 0; color: inherit; font: inherit; cursor: pointer; }

/* ---------- base.css's dark-ground colours, put right ---------- */
.hero-card { background: var(--surface); }
.hero-card::after { box-shadow: none; }
.hv .hv-node circle.ring, .walk-svg .wn-dot { fill: #FFFFFF; }
.hv .hv-amt { stroke: #FFFFFF; }
.hv-step, .walk-badge { background: rgba(255, 255, 255, 0.96); box-shadow: var(--shadow); }
.feed-kind.k-settle, .step-title .n.ok, .flow li.done .flow-mark { color: #FFFFFF; }
.feed-kind.k-return, .feed-kind.k-refund { color: #FFFFFF; }
.ex-col.pool { border-color: rgba(194, 38, 75, 0.25); }
.toast.bad { background: var(--bad-wash); border-color: rgba(194, 38, 75, 0.35); color: var(--ink); }
.walk-stage { background: var(--surface); }
.walk-badge { border-radius: var(--r-sm); }

/* ---------- smaller screens ---------- */
@media (max-width: 1060px) {
  .sidebar { display: flex; background: var(--surface); }
  .top-nav { display: none; }
  .top { gap: 12px; padding: 0 var(--gut); }
  body.drawer .veil { background: rgba(11, 13, 31, 0.35); }
}
@media (max-width: 720px) {
  :root { --top-h: 60px; }
  .strip { height: 34px; font-size: 12px; }
  .tape-in span { height: 34px; padding: 0 16px; }
  .sol-chip { display: none; }
  .brand .logo img { width: 28px; height: 28px; }
  .brand .logo-word { font-size: 19px; }
  .tabbar { background: rgba(255, 255, 255, 0.96); }
  .tabbar a[aria-current] .icon { color: var(--accent); }
  .foot-live .foot-switches { margin-left: 0; }
  .foot { padding-bottom: 24px; }
}
