/* ============================================================
   OTCBee — "Hive Terminal" design system
   ============================================================ */
:root {
  --ease-out: cubic-bezier(.16, 1, .3, 1);
  --ease-io: cubic-bezier(.65, 0, .35, 1);
  --f-display: 'Fraunces', 'Songti SC', 'STSong', 'Noto Serif SC', Georgia, serif;
  --f-sans: 'Inter Tight', 'PingFang SC', 'Hiragino Sans GB', 'Microsoft YaHei', 'Noto Sans SC', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --f-mono: 'JetBrains Mono', ui-monospace, SFMono-Regular, Menlo, monospace;
  --pad: clamp(20px, 4vw, 56px);
  --r-sm: 8px;
  --r-md: 14px;
  --r-lg: 22px;
}
html[data-theme="dark"] {
  --bg: #0C0B09;
  --bg-2: #12110E;
  --surface: #161410;
  --surface-2: #1D1A15;
  --line: rgba(244, 233, 210, .08);
  --line-2: rgba(244, 233, 210, .16);
  --ink: #F4EEE3;
  --ink-2: #B9B1A3;
  --ink-3: #7D766B;
  --honey: #FFB21A;
  --honey-ink: #FFC14D;
  --honey-soft: rgba(255, 178, 26, .10);
  --honey-line: rgba(255, 178, 26, .32);
  --up: #4ADE9B;
  --up-soft: rgba(74, 222, 155, .10);
  --down: #FF6B57;
  --down-soft: rgba(255, 107, 87, .10);
  --on-honey: #0C0B09;
  --grain-op: .06;
  --shadow: 0 30px 80px -30px rgba(0, 0, 0, .7);
  color-scheme: dark;
}
html[data-theme="light"] {
  --bg: #F3EEE4;
  --bg-2: #EDE6D9;
  --surface: #FBF8F2;
  --surface-2: #F1EBDF;
  --line: rgba(28, 24, 17, .09);
  --line-2: rgba(28, 24, 17, .18);
  --ink: #17140F;
  --ink-2: #4E473C;
  --ink-3: #857C6E;
  --honey: #F2A300;
  --honey-ink: #A86A00;
  --honey-soft: rgba(242, 163, 0, .12);
  --honey-line: rgba(168, 106, 0, .35);
  --up: #0E8F5A;
  --up-soft: rgba(14, 143, 90, .09);
  --down: #D33F2B;
  --down-soft: rgba(211, 63, 43, .08);
  --on-honey: #17140F;
  --grain-op: .045;
  --shadow: 0 30px 70px -35px rgba(60, 40, 10, .35);
  color-scheme: light;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  font-family: var(--f-sans);
  background: var(--bg);
  color: var(--ink);
  font-size: 15px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  font-feature-settings: "ss01", "cv11";
  overflow-x: hidden;
  transition: background-color .5s var(--ease-out), color .5s var(--ease-out);
}
body::before {
  content: "";
  position: fixed; inset: -50%;
  pointer-events: none; z-index: 100;
  opacity: var(--grain-op);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='3' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 .5 0 0 0 0 .5 0 0 0 0 .5 0 0 0 1 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}
::selection { background: var(--honey); color: var(--on-honey); }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }
input { font: inherit; color: inherit; }
:focus-visible { outline: 2px solid var(--honey); outline-offset: 3px; border-radius: 6px; }

.num { font-family: var(--f-sans); font-variant-numeric: tabular-nums lining-nums; font-feature-settings: "tnum", "lnum"; }
.mono { font-family: var(--f-mono); font-variant-numeric: tabular-nums; letter-spacing: -.01em; }
.wrap { max-width: 1440px; margin: 0 auto; padding-left: var(--pad); padding-right: var(--pad); }
.up { color: var(--up); }
.down { color: var(--down); }
.honey { color: var(--honey-ink); }
.muted { color: var(--ink-3); }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }

/* Currency hex badge — replaces emoji flags (render inconsistently across OS / regions) */
.cc {
  display: inline-grid; place-items: center; flex: none;
  width: 20px; height: 22px; vertical-align: middle;
  clip-path: polygon(50% 0, 100% 25%, 100% 75%, 50% 100%, 0 75%, 0 25%);
  background: var(--surface-2); color: var(--ink-2);
  font-family: var(--f-mono); font-size: 8.5px; font-weight: 600; letter-spacing: .02em; line-height: 1;
  transition: background-color .3s, color .3s;
}
.ticker-item > span:first-child, .mfiat a { display: inline-flex; align-items: center; gap: 7px; }
.cc.lg { width: 26px; height: 29px; font-size: 10px; vertical-align: middle; transform: translateY(-.12em); margin: 0 6px 0 2px; background: var(--honey-soft); color: var(--honey-ink); }
.seg a.on .cc, .mfiat a.on .cc { background: var(--on-honey); color: var(--honey); }

/* Reveal-on-scroll (only when JS is on) */
.js [data-reveal] { opacity: 0; transform: translateY(28px); transition: opacity 1s var(--ease-out), transform 1.1s var(--ease-out); transition-delay: var(--d, 0s); }
.js [data-reveal].in { opacity: 1; transform: none; }

/* ---------- Marquee ticker ---------- */
.ticker {
  border-bottom: 1px solid var(--line);
  overflow: hidden;
  font-size: 12px;
  white-space: nowrap;
  height: 36px;
  display: flex; align-items: center;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent);
          mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent);
}
.ticker-track { display: inline-flex; gap: 0; animation: marquee 48s linear infinite; }
.ticker:hover .ticker-track { animation-play-state: paused; }
.ticker-item { display: inline-flex; align-items: center; gap: 10px; padding: 0 28px; color: var(--ink-2); transition: color .25s; }
.ticker-item:hover { color: var(--ink); }
.ticker-item b { color: var(--ink); font-weight: 600; }
.ticker-sep { width: 5px; height: 5px; transform: rotate(45deg); background: var(--honey); opacity: .55; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ---------- Header ---------- */
.nav {
  position: sticky; top: 0; z-index: 50;
  background: color-mix(in oklab, var(--bg) 78%, transparent);
  -webkit-backdrop-filter: saturate(1.4) blur(18px);
          backdrop-filter: saturate(1.4) blur(18px);
  border-bottom: 1px solid var(--line);
  transition: background-color .5s var(--ease-out);
}
.nav-in { display: flex; align-items: center; justify-content: space-between; gap: 20px; height: 68px; }
.logo { display: inline-flex; align-items: center; gap: 12px; }
.logo svg { width: 30px; height: 30px; transition: transform .8s var(--ease-out); }
.logo:hover svg { transform: rotate(60deg); }
.logo-word { font-family: var(--f-display); font-size: 23px; font-weight: 500; letter-spacing: -.02em; line-height: 1; }
.logo-word i { font-style: italic; color: var(--honey-ink); font-weight: 400; }
.logo-meta { font-size: 10.5px; color: var(--ink-3); letter-spacing: .14em; text-transform: uppercase; margin-top: 3px; font-family: var(--f-mono); }

.seg { position: relative; display: inline-flex; padding: 4px; border: 1px solid var(--line); border-radius: 999px; background: var(--bg-2); }
.seg a { position: relative; z-index: 1; display: inline-flex; align-items: center; gap: 8px; padding: 7px 14px; border-radius: 999px; font-size: 13px; font-weight: 600; color: var(--ink-3); transition: color .3s; }
.seg a:hover { color: var(--ink); }
.seg a.on { color: var(--on-honey); background: var(--honey); }
.seg a .mono { font-size: 11.5px; font-weight: 500; opacity: .8; }

.nav-act { display: flex; align-items: center; gap: 8px; }
.icon-btn {
  height: 38px; min-width: 38px; padding: 0 12px;
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  border: 1px solid var(--line); border-radius: 999px;
  font-size: 12.5px; font-weight: 600; color: var(--ink-2);
  transition: border-color .3s, color .3s, background-color .3s;
}
.icon-btn:hover { border-color: var(--line-2); color: var(--ink); background: var(--surface); }
.icon-btn svg { width: 16px; height: 16px; }
.ring { width: 20px; height: 20px; transform: rotate(-90deg); }
.ring circle { fill: none; stroke-width: 2; }
.ring .bg { stroke: var(--line-2); }
.ring .fg { stroke: var(--honey); stroke-linecap: round; stroke-dasharray: 50.27; transition: stroke-dashoffset 1s linear; }
#btn-live-refresh.spin .ring { animation: spin .8s var(--ease-io); }
@keyframes spin { to { transform: rotate(270deg); } }

/* Language dropdown */
.lang { position: relative; }
.lang-menu {
  position: absolute; right: 0; top: calc(100% + 10px); min-width: 230px;
  background: var(--surface); border: 1px solid var(--line-2); border-radius: var(--r-md);
  padding: 6px; box-shadow: var(--shadow);
  opacity: 0; visibility: hidden; transform: translateY(-8px) scale(.98); transform-origin: top right;
  transition: opacity .25s var(--ease-out), transform .35s var(--ease-out), visibility .25s;
}
.lang.open .lang-menu { opacity: 1; visibility: visible; transform: none; }
.lang .chev { transition: transform .35s var(--ease-out); }
.lang.open .chev { transform: rotate(180deg); }
.lang-opt { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 10px 12px; border-radius: 10px; transition: background-color .2s; }
.lang-opt:hover { background: var(--surface-2); }
.lang-opt strong { display: block; font-size: 13.5px; font-weight: 600; }
.lang-opt small { display: block; font-size: 11px; color: var(--ink-3); font-family: var(--f-mono); }
.lang-opt .tick { width: 18px; height: 18px; border-radius: 50%; display: grid; place-items: center; background: var(--honey); color: var(--on-honey); font-size: 11px; font-weight: 700; }
.lang-opt.on { background: var(--honey-soft); }

/* ---------- Hero ---------- */
.hero { position: relative; padding: clamp(40px, 7vw, 96px) 0 clamp(28px, 4vw, 48px); isolation: isolate; overflow-x: clip; }
.hero::before {
  content: ""; position: absolute; z-index: -1; right: -10%; top: -20%; width: 70%; height: 130%;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='56' height='97' viewBox='0 0 56 97'%3E%3Cpath d='M28 0 56 16v32L28 64 0 48V16zM28 64v33M0 16 -28 0M56 16 84 0' fill='none' stroke='%23FFB21A' stroke-opacity='.18' stroke-width='1'/%3E%3C/svg%3E");
  -webkit-mask-image: radial-gradient(closest-side at 60% 45%, #000 0%, transparent 100%);
          mask-image: radial-gradient(closest-side at 60% 45%, #000 0%, transparent 100%);
  opacity: .9;
}
.hero::after {
  content: ""; position: absolute; z-index: -2; left: 10%; top: 0; width: 60vw; height: 60vw; max-width: 900px; max-height: 900px;
  background: radial-gradient(closest-side, var(--honey-soft), transparent 70%);
  filter: blur(20px);
}
.eyebrow { display: flex; align-items: center; flex-wrap: wrap; gap: 10px 18px; font-size: 12px; color: var(--ink-3); font-family: var(--f-mono); letter-spacing: .04em; text-transform: uppercase; }
.live { display: inline-flex; align-items: center; gap: 8px; color: var(--up); }
.live i { width: 7px; height: 7px; border-radius: 50%; background: currentColor; position: relative; }
.live i::after { content: ""; position: absolute; inset: -4px; border-radius: 50%; border: 1px solid currentColor; animation: ping 2s var(--ease-out) infinite; }
@keyframes ping { from { transform: scale(.6); opacity: 1; } to { transform: scale(2.2); opacity: 0; } }

.hero-grid { display: grid; grid-template-columns: minmax(0, 1.55fr) minmax(0, 1fr); gap: clamp(32px, 5vw, 80px); align-items: end; margin-top: clamp(22px, 3vw, 36px); }
.hero-title { font-family: var(--f-display); font-weight: 400; font-size: clamp(22px, 2.2vw, 30px); line-height: 1.2; letter-spacing: -.01em; color: var(--ink-2); }
.hero-title em { font-style: italic; color: var(--ink); }
.hero-price {
  display: flex; align-items: flex-start; gap: .06em;
  font-family: var(--f-sans); font-weight: 500;
  font-size: clamp(72px, 12.5vw, 196px);
  line-height: .86; letter-spacing: -.055em;
  margin: clamp(14px, 2vw, 24px) 0 clamp(18px, 2vw, 26px);
  font-variant-numeric: tabular-nums lining-nums;
}
.hero-price .sym { font-size: .34em; font-weight: 400; color: var(--honey-ink); letter-spacing: 0; margin-top: .14em; }
.hero-price .val { background: linear-gradient(180deg, var(--ink) 30%, color-mix(in oklab, var(--ink) 55%, transparent)); -webkit-background-clip: text; background-clip: text; color: transparent; transition: filter .6s; }
.hero-price.flash-up .val { animation: flashUp 1.2s var(--ease-out); }
.hero-price.flash-down .val { animation: flashDown 1.2s var(--ease-out); }
@keyframes flashUp { 0% { filter: drop-shadow(0 0 0 transparent); } 20% { filter: drop-shadow(0 0 24px rgba(74, 222, 155, .55)); } 100% { filter: none; } }
@keyframes flashDown { 0% { filter: none; } 20% { filter: drop-shadow(0 0 24px rgba(255, 107, 87, .55)); } 100% { filter: none; } }
.hero-sub { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 22px; font-size: 14px; color: var(--ink-2); }
.chip { display: inline-flex; align-items: center; gap: 6px; padding: 5px 11px; border-radius: 999px; font-size: 12px; font-weight: 600; border: 1px solid var(--line-2); color: var(--ink-2); }
.chip.honey { border-color: var(--honey-line); background: var(--honey-soft); color: var(--honey-ink); }
.chip.up { border-color: color-mix(in oklab, var(--up) 35%, transparent); background: var(--up-soft); color: var(--up); }
.chip.down { border-color: color-mix(in oklab, var(--down) 35%, transparent); background: var(--down-soft); color: var(--down); }
.dot { width: 8px; height: 8px; border-radius: 50%; display: inline-block; flex: none; }

.cta-row { display: flex; flex-wrap: wrap; gap: 10px; margin-top: clamp(24px, 3vw, 34px); }
.btn {
  position: relative; display: inline-flex; align-items: center; gap: 10px;
  height: 50px; padding: 0 22px; border-radius: 999px;
  font-size: 14px; font-weight: 600; letter-spacing: -.005em;
  overflow: hidden; isolation: isolate;
  transition: transform .5s var(--ease-out), border-color .3s, color .3s;
}
.btn .arr { display: inline-grid; place-items: center; width: 26px; height: 26px; border-radius: 50%; transition: transform .5s var(--ease-out); }
.btn:hover .arr { transform: rotate(-45deg); }
.btn-honey { background: var(--honey); color: var(--on-honey); }
.btn-honey .arr { background: var(--on-honey); color: var(--honey); }
.btn-honey::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(110deg, transparent 30%, rgba(255, 255, 255, .45) 50%, transparent 70%); transform: translateX(-120%); transition: transform .9s var(--ease-out); }
.btn-honey:hover::before { transform: translateX(120%); }
.btn-line { border: 1px solid var(--line-2); color: var(--ink); }
.btn-line .arr { background: var(--surface-2); }
.btn-line:hover { border-color: var(--ink-3); }

/* Hero side stats */
.stats { display: grid; grid-template-columns: 1fr 1fr; border-top: 1px solid var(--line-2); }
.stat { padding: 18px 0 18px; border-bottom: 1px solid var(--line); }
.stat:nth-child(odd) { padding-right: 18px; border-right: 1px solid var(--line); }
.stat:nth-child(even) { padding-left: 18px; }
.stat.full { grid-column: 1 / -1; padding-right: 0; border-right: 0; }
.stat-k { font-size: 11px; color: var(--ink-3); letter-spacing: .08em; text-transform: uppercase; font-family: var(--f-mono); display: flex; justify-content: space-between; gap: 8px; }
.stat-v { font-size: clamp(26px, 2.6vw, 38px); font-weight: 500; letter-spacing: -.035em; line-height: 1.1; margin-top: 8px; }
.stat-v small { font-size: .5em; color: var(--ink-3); font-weight: 400; letter-spacing: 0; margin-right: 3px; }
.stat-s { font-size: 12px; color: var(--ink-3); margin-top: 4px; }
.range { position: relative; height: 4px; border-radius: 4px; background: var(--line-2); margin: 16px 0 8px; }
.range-fill { position: absolute; inset: 0 auto 0 0; border-radius: 4px; background: linear-gradient(90deg, color-mix(in oklab, var(--honey) 20%, transparent), var(--honey)); transform-origin: left; }
.range-pin { position: absolute; top: 50%; width: 12px; height: 12px; border-radius: 50%; background: var(--bg); border: 2px solid var(--honey); transform: translate(-50%, -50%); box-shadow: 0 0 0 4px var(--honey-soft); }
.range-l { display: flex; justify-content: space-between; font-size: 11.5px; color: var(--ink-3); }

/* Chart */
.chart-card { margin-top: clamp(36px, 5vw, 64px); border: 1px solid var(--line); border-radius: var(--r-lg); background: linear-gradient(180deg, var(--surface), var(--bg-2)); padding: clamp(18px, 2.4vw, 28px); position: relative; }
.chart-head { display: flex; justify-content: space-between; align-items: center; gap: 14px; flex-wrap: wrap; margin-bottom: 14px; }
.chart-title { font-size: 13px; font-weight: 600; color: var(--ink-2); display: flex; align-items: center; gap: 10px; }
.legend { display: flex; gap: 18px; flex-wrap: wrap; font-size: 12px; color: var(--ink-3); }
.legend span { display: inline-flex; align-items: center; gap: 7px; }
.legend i { width: 14px; height: 2px; border-radius: 2px; display: inline-block; }
.chart { position: relative; height: 260px; }
.chart svg { display: block; width: 100%; height: 100%; overflow: visible; }
.chart .draw { stroke-dasharray: var(--len, 4000); stroke-dashoffset: var(--len, 4000); animation: draw 2.2s var(--ease-out) .2s forwards; }
.chart .fade { opacity: 0; animation: fadeIn 1.4s var(--ease-out) .9s forwards; }
@keyframes draw { to { stroke-dashoffset: 0; } }
@keyframes fadeIn { to { opacity: 1; } }
.tip {
  position: absolute; top: 0; pointer-events: none; z-index: 3;
  background: var(--surface-2); border: 1px solid var(--line-2); border-radius: 10px;
  padding: 10px 12px; font-size: 12px; min-width: 160px; box-shadow: var(--shadow);
  opacity: 0; transform: translateY(6px); transition: opacity .2s, transform .3s var(--ease-out);
}
.tip.show { opacity: 1; transform: none; }
.chart-empty { height: 100%; display: grid; place-items: center; color: var(--ink-3); font-size: 13px; }
.chart-note { font-size: 12px; color: var(--ink-3); margin-top: 10px; }
.chart-note:empty { display: none; }
.chart.still .draw { animation: none; stroke-dashoffset: 0; }
.chart.still .fade { animation: none; opacity: 1; }
.stale-note { display: none; margin-top: 14px; padding: 10px 14px; border-radius: 10px; font-size: 13px; line-height: 1.5; color: var(--ink); background: var(--honey-soft); border: 1px solid color-mix(in oklab, var(--honey) 45%, transparent); }
.stale-note.show { display: block; }
.lrow[hidden], .best-badge[hidden] { display: none !important; }
.live.off { color: var(--ink-3); }
.live.off i::after { animation: none; display: none; }
.tip-row { display: flex; justify-content: space-between; gap: 16px; }
.tip-t { font-family: var(--f-mono); color: var(--ink-3); font-size: 11px; margin-bottom: 6px; }

/* ---------- Sections ---------- */
section.block { padding: clamp(64px, 9vw, 128px) 0 0; }
.sec-head { display: grid; grid-template-columns: 96px minmax(0, 1.6fr) minmax(0, .7fr); gap: 24px; align-items: end; padding-bottom: clamp(24px, 3vw, 40px); border-bottom: 1px solid var(--line-2); margin-bottom: clamp(24px, 3vw, 40px); }
.sec-idx { font-family: var(--f-mono); font-size: 12px; color: var(--honey-ink); letter-spacing: .1em; padding-bottom: 10px; }
.sec-idx::before { content: ""; display: inline-block; width: 22px; height: 1px; background: currentColor; vertical-align: middle; margin-right: 10px; }
.sec-title { font-family: var(--f-display); font-weight: 400; font-size: clamp(30px, 4vw, 60px); line-height: 1.08; letter-spacing: -.03em; font-variation-settings: "opsz" 144; text-wrap: balance; }
.sec-title em { font-style: italic; font-weight: 300; color: var(--honey-ink); white-space: nowrap; } /* never strand one character of the emphasised phrase */
.sec-desc { color: var(--ink-2); font-size: 14.5px; max-width: 46ch; justify-self: end; padding-bottom: 6px; }

/* Exchange ladder */
.ladder { border-top: 1px solid var(--line); }
.lrow {
  position: relative;
  display: grid; grid-template-columns: 52px minmax(170px, 1.3fr) minmax(130px, 1fr) minmax(160px, 1.6fr) minmax(110px, .9fr) minmax(90px, .7fr) 44px;
  gap: 20px; align-items: center;
  padding: 22px 16px 22px 0; border-bottom: 1px solid var(--line);
  cursor: pointer; isolation: isolate;
  transition: padding .5s var(--ease-out);
}
.lrow::before { content: ""; position: absolute; inset: 0 -16px; z-index: -1; border-radius: 14px; background: radial-gradient(420px circle at var(--mx, 50%) var(--my, 50%), var(--honey-soft), transparent 60%), var(--surface); opacity: 0; transition: opacity .4s var(--ease-out); }
.lrow:hover::before, .lrow.sel::before { opacity: 1; }
.lrow:hover { padding-left: 10px; }
.lrow.sel { padding-left: 10px; }
.lrow.sel .l-rank { color: var(--honey-ink); }
.l-rank { font-family: var(--f-mono); font-size: 13px; color: var(--ink-3); transition: color .3s; }
.l-name { display: flex; align-items: center; gap: 12px; font-weight: 600; font-size: 16px; letter-spacing: -.01em; }
.l-logo { width: 34px; height: 34px; border-radius: 10px; display: grid; place-items: center; font-family: var(--f-mono); font-size: 13px; font-weight: 600; color: var(--on-honey); flex: none; }
.l-tag { font-size: 11.5px; color: var(--ink-3); font-weight: 500; margin-top: 1px; }
.l-buy { font-size: 24px; font-weight: 500; letter-spacing: -.03em; }
.l-buy small { display: block; font-size: 11px; letter-spacing: .02em; font-weight: 500; margin-top: 2px; font-family: var(--f-mono); }
.bar { height: 6px; border-radius: 6px; background: var(--line); position: relative; overflow: hidden; }
.bar i { position: absolute; inset: 0 auto 0 0; width: 0; border-radius: 6px; background: var(--ink-3); transition: width 1.4s var(--ease-out); }
.lrow.best .bar i { background: linear-gradient(90deg, color-mix(in oklab, var(--honey) 40%, transparent), var(--honey)); }
.bar-l { display: flex; justify-content: space-between; font-size: 11px; color: var(--ink-3); margin-top: 8px; font-family: var(--f-mono); }
.l-sell { font-size: 15px; font-weight: 500; }
.l-k { display: block; font-size: 10.5px; color: var(--ink-3); letter-spacing: .08em; text-transform: uppercase; font-family: var(--f-mono); margin-bottom: 3px; }
.l-go { width: 40px; height: 40px; border-radius: 50%; border: 1px solid var(--line-2); display: grid; place-items: center; transition: background-color .4s, color .4s, transform .5s var(--ease-out), border-color .3s; }
.lrow:hover .l-go { background: var(--honey); color: var(--on-honey); border-color: var(--honey); transform: rotate(-45deg); }
.best-badge { display: inline-flex; align-items: center; gap: 5px; font-size: 10px; letter-spacing: .1em; font-family: var(--f-mono); color: var(--on-honey); background: var(--honey); padding: 3px 7px; border-radius: 4px; margin-left: 8px; vertical-align: 2px; }

/* Exchange logo (sprite <use>) */
.exi { width: 16px; height: 16px; flex: none; border-radius: 4px; display: inline-block; vertical-align: -3px; overflow: hidden; }
.l-logo .exi { width: 34px; height: 34px; border-radius: 10px; vertical-align: 0; box-shadow: 0 0 0 1px var(--line-2); }
.m-x .exi { width: 14px; height: 14px; border-radius: 3.5px; vertical-align: -2px; }
.fchip .exi { width: 15px; height: 15px; margin-right: 6px; vertical-align: -3px; }
.ticker-exs { display: inline-flex; align-items: center; gap: 8px; }
.ticker-exs .exi { width: 18px; height: 18px; }

/* Converter */
.conv-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.card { border: 1px solid var(--line); border-radius: var(--r-lg); background: var(--surface); padding: clamp(22px, 2.8vw, 36px); position: relative; overflow: hidden; }
.card-k { font-family: var(--f-mono); font-size: 11px; letter-spacing: .1em; text-transform: uppercase; color: var(--ink-3); display: flex; justify-content: space-between; align-items: center; gap: 10px; }
.card-h { font-family: var(--f-display); font-size: clamp(22px, 2vw, 28px); font-weight: 400; letter-spacing: -.02em; margin: 10px 0 22px; line-height: 1.15; }
.card-h em { font-style: italic; color: var(--honey-ink); }
.bigin { display: flex; align-items: baseline; gap: 12px; border-bottom: 1px solid var(--line-2); padding-bottom: 12px; transition: border-color .3s; }
.bigin:focus-within { border-color: var(--honey); }
.bigin input { flex: 1; min-width: 0; background: transparent; border: 0; outline: none; font-family: var(--f-sans); font-size: clamp(40px, 4.6vw, 64px); font-weight: 500; letter-spacing: -.04em; line-height: 1.05; font-variant-numeric: tabular-nums; }
.bigin input::-webkit-outer-spin-button, .bigin input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }
.bigin input[type=number] { -moz-appearance: textfield; }
.bigin .unit { font-family: var(--f-mono); font-size: 14px; color: var(--ink-3); }
.presets { display: flex; flex-wrap: wrap; gap: 6px; margin: 16px 0 24px; }
.pill { padding: 6px 12px; border-radius: 999px; border: 1px solid var(--line); font-size: 12px; font-family: var(--f-mono); color: var(--ink-2); transition: all .3s var(--ease-out); }
.pill:hover { border-color: var(--line-2); color: var(--ink); }
.pill.on { background: var(--ink); color: var(--bg); border-color: var(--ink); }
.outs { display: grid; grid-template-columns: 1fr 1fr; gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: var(--r-md); overflow: hidden; }
.out { background: var(--surface); padding: 16px 18px; }
.out-k { font-size: 12px; color: var(--ink-3); }
.out-v { font-size: clamp(20px, 2vw, 26px); font-weight: 500; letter-spacing: -.03em; margin-top: 4px; word-break: break-all; }

.flow { display: grid; grid-template-columns: 1fr auto 1fr auto 1fr; align-items: center; gap: 10px; margin: 4px 0 24px; }
.node { text-align: center; }
.node-hex { width: 58px; height: 64px; margin: 0 auto 8px; display: grid; place-items: center; font-size: 22px; clip-path: polygon(50% 0, 100% 25%, 100% 75%, 50% 100%, 0 75%, 0 25%); background: var(--surface-2); }
.node.mid .node-hex { background: var(--honey); color: var(--on-honey); font-family: var(--f-mono); font-size: 13px; font-weight: 600; }
.node b { display: block; font-size: 13px; }
.node small { font-size: 11px; color: var(--ink-3); font-family: var(--f-mono); }
.wire { width: clamp(28px, 5vw, 70px); height: 2px; background-image: linear-gradient(90deg, var(--honey) 50%, transparent 50%); background-size: 10px 2px; animation: wire 1s linear infinite; opacity: .7; }
@keyframes wire { to { background-position: 10px 0; } }
.swap { position: absolute; top: clamp(22px, 2.8vw, 36px); right: clamp(22px, 2.8vw, 36px); }
.swap svg { transition: transform .6s var(--ease-out); }
.swap:hover svg { transform: rotate(180deg); }
.kv { display: flex; justify-content: space-between; gap: 14px; padding: 11px 0; border-bottom: 1px dashed var(--line); font-size: 13px; color: var(--ink-2); }
.kv:last-child { border-bottom: 0; }
.kv b { color: var(--ink); font-weight: 600; text-align: right; }

/* Orderbook */
.ob-bar { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 14px; margin-bottom: 14px; }
.toggle { position: relative; display: inline-grid; grid-template-columns: 1fr 1fr; padding: 4px; border-radius: 999px; border: 1px solid var(--line-2); background: var(--bg-2); }
.toggle button { position: relative; z-index: 1; padding: 10px 20px; font-size: 13.5px; font-weight: 600; color: var(--ink-3); border-radius: 999px; transition: color .4s; white-space: nowrap; }
.toggle button.on { color: var(--on-honey); }
.toggle .knob { position: absolute; top: 4px; bottom: 4px; left: 4px; width: calc(50% - 4px); border-radius: 999px; background: var(--up); transition: transform .6s var(--ease-out), background-color .4s; }
.toggle[data-side="sell"] .knob { transform: translateX(100%); background: var(--down); }
.chips { display: flex; flex-wrap: wrap; gap: 6px; }
.fchip { padding: 7px 13px; border-radius: 999px; border: 1px solid var(--line); font-size: 12.5px; font-weight: 500; color: var(--ink-2); transition: all .3s var(--ease-out); white-space: nowrap; }
.fchip:hover { border-color: var(--line-2); color: var(--ink); }
.fchip.on { background: var(--ink); color: var(--bg); border-color: var(--ink); }
.ob-tools { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; }
.amt { height: 40px; border: 1px solid var(--line-2); border-radius: 999px; padding: 0 16px; display: flex; align-items: center; gap: 8px; background: var(--bg-2); transition: border-color .3s; }
.amt:focus-within { border-color: var(--honey); }
.amt input { background: transparent; border: 0; outline: none; width: 190px; font-family: var(--f-mono); font-size: 12.5px; }
.amt input::placeholder { color: var(--ink-3); }
.switch { display: inline-flex; align-items: center; gap: 10px; font-size: 12.5px; font-weight: 600; color: var(--ink-2); cursor: pointer; user-select: none; height: 40px; padding: 0 14px 0 6px; border-radius: 999px; border: 1px solid var(--line-2); transition: border-color .3s, background-color .3s, color .3s; }
.switch input { position: absolute; opacity: 0; pointer-events: none; }
.switch .trk { width: 34px; height: 20px; border-radius: 999px; background: var(--line-2); position: relative; transition: background-color .3s; flex: none; }
.switch .trk::after { content: ""; position: absolute; top: 2px; left: 2px; width: 16px; height: 16px; border-radius: 50%; background: var(--ink); transition: transform .45s var(--ease-out); }
.switch input:checked + .trk { background: var(--honey); }
.switch input:checked + .trk::after { transform: translateX(14px); background: var(--on-honey); }
.switch:has(input:checked) { border-color: var(--honey-line); color: var(--honey-ink); background: var(--honey-soft); }
.ob-sub { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 12px; padding: 14px 0; border-top: 1px solid var(--line); }
.ob-count { font-size: 12px; color: var(--ink-3); font-family: var(--f-mono); }

.ob { border-top: 1px solid var(--line-2); }
.ob-head, .orow { display: grid; grid-template-columns: minmax(230px, 1.7fr) minmax(120px, .9fr) minmax(170px, 1.2fr) minmax(180px, 1.4fr) minmax(150px, 1fr) 150px; gap: 20px; align-items: center; }
.ob-head { padding: 14px 0; font-size: 10.5px; color: var(--ink-3); letter-spacing: .1em; text-transform: uppercase; font-family: var(--f-mono); border-bottom: 1px solid var(--line); }
.ob-head > :last-child { text-align: right; }
.orow { position: relative; padding: 18px 0; border-bottom: 1px solid var(--line); transition: background-color .3s; animation: rowIn .7s var(--ease-out) both; animation-delay: calc(var(--i, 0) * 35ms); }
.orow::before { content: ""; position: absolute; left: -16px; top: 18px; bottom: 18px; width: 2px; border-radius: 2px; background: var(--honey); transform: scaleY(0); transition: transform .4s var(--ease-out); }
.orow:hover::before { transform: scaleY(1); }
.orow:hover { background: linear-gradient(90deg, var(--surface), transparent); }
@keyframes rowIn { from { opacity: 0; transform: translateY(10px); } }
.m { display: flex; align-items: center; gap: 12px; min-width: 0; }
.m-av { width: 38px; height: 38px; flex: none; display: grid; place-items: center; font-weight: 600; font-size: 14px; background: var(--surface-2); color: var(--ink); clip-path: polygon(50% 0, 100% 25%, 100% 75%, 50% 100%, 0 75%, 0 25%); }
.m-n { font-weight: 600; font-size: 14px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.m-x { display: flex; align-items: center; gap: 6px; flex-wrap: wrap; font-size: 11.5px; color: var(--ink-3); margin-top: 3px; }
.tag { display: inline-flex; align-items: center; gap: 4px; font-size: 10.5px; font-weight: 600; padding: 2px 7px; border-radius: 4px; }
.tag.shield { color: var(--honey-ink); background: var(--honey-soft); }
.tag.pro { color: var(--up); background: var(--up-soft); }
.o-price { font-size: 22px; font-weight: 500; letter-spacing: -.03em; }
.o-lim { font-size: 13px; }
.o-lim small { display: block; font-size: 11.5px; color: var(--ink-3); margin-top: 2px; }
.pays { display: flex; flex-wrap: wrap; gap: 5px; }
.pay { display: inline-flex; align-items: center; gap: 6px; font-size: 11.5px; font-weight: 500; padding: 4px 9px; border-radius: 999px; border: 1px solid var(--line); color: var(--ink-2); white-space: nowrap; }
.pay i { width: 6px; height: 6px; border-radius: 50%; }
.o-met { font-size: 13px; }
.o-met small { display: block; font-size: 11.5px; color: var(--ink-3); margin-top: 2px; }
.meter { width: 64px; height: 3px; border-radius: 3px; background: var(--line-2); display: inline-block; vertical-align: middle; margin-left: 6px; overflow: hidden; position: relative; }
.meter i { position: absolute; inset: 0 auto 0 0; background: var(--up); border-radius: 3px; }
.o-cta { justify-self: end; display: inline-flex; align-items: center; gap: 8px; height: 40px; padding: 0 16px 0 18px; border-radius: 999px; font-size: 13px; font-weight: 600; white-space: nowrap; transition: transform .5s var(--ease-out), background-color .3s, color .3s, border-color .3s; border: 1px solid var(--line-2); }
.o-cta svg { transition: transform .5s var(--ease-out); }
.o-cta:hover svg { transform: translate(2px, -2px); }
.o-cta.buy:hover { background: var(--up); color: var(--on-honey); border-color: var(--up); }
.o-cta.sell:hover { background: var(--down); color: #fff; border-color: var(--down); }
.empty { padding: 60px 0; text-align: center; color: var(--ink-3); font-size: 14px; }
.empty b { display: block; font-family: var(--f-display); font-weight: 400; font-style: italic; font-size: 28px; color: var(--ink-2); margin-bottom: 6px; }

/* Cheat sheet + safety */
.two { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.25fr); gap: 20px; }
.tbl { width: 100%; border-collapse: collapse; font-size: 14px; }
.tbl th { text-align: left; font-family: var(--f-mono); font-size: 10.5px; color: var(--ink-3); letter-spacing: .1em; text-transform: uppercase; font-weight: 500; padding: 0 0 12px; border-bottom: 1px solid var(--line-2); }
.tbl td { padding: 12px 0; border-bottom: 1px solid var(--line); }
.tbl tr:last-child td { border-bottom: 0; }
.tbl th:not(:first-child), .tbl td:not(:first-child) { text-align: right; }
.tbl tbody tr { transition: background-color .25s; }
.tbl tbody tr:hover { background: var(--surface-2); }
.rules { counter-reset: r; }
.rule { display: grid; grid-template-columns: 64px 1fr; gap: 16px; padding: 22px 0; border-bottom: 1px solid var(--line); }
.rule:first-child { padding-top: 4px; }
.rule:last-child { border-bottom: 0; padding-bottom: 0; }
.rule-n { font-family: var(--f-display); font-style: italic; font-weight: 300; font-size: 44px; line-height: .9; color: var(--honey-ink); }
.rule-b { font-family: var(--f-mono); font-size: 10.5px; letter-spacing: .08em; color: var(--ink-3); text-transform: uppercase; }
.rule h3 { font-size: 16px; font-weight: 600; letter-spacing: -.01em; margin: 6px 0; line-height: 1.35; }
.rule p { font-size: 13.5px; color: var(--ink-2); }

/* FAQ */
.faq { border-top: 1px solid var(--line-2); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { list-style: none; cursor: pointer; display: grid; grid-template-columns: 60px 1fr 44px; gap: 16px; align-items: center; padding: 26px 0; }
.faq summary::-webkit-details-marker { display: none; }
.faq .q-n { font-family: var(--f-mono); font-size: 12px; color: var(--ink-3); }
.faq .q { font-family: var(--f-display); font-size: clamp(19px, 1.9vw, 26px); font-weight: 400; letter-spacing: -.015em; line-height: 1.25; transition: color .3s; }
.faq summary:hover .q { color: var(--honey-ink); }
.faq .plus { width: 40px; height: 40px; border-radius: 50%; border: 1px solid var(--line-2); position: relative; justify-self: end; transition: transform .6s var(--ease-out), background-color .3s, border-color .3s; }
.faq .plus::before, .faq .plus::after { content: ""; position: absolute; left: 50%; top: 50%; width: 13px; height: 1.5px; background: currentColor; transform: translate(-50%, -50%); }
.faq .plus::after { transform: translate(-50%, -50%) rotate(90deg); transition: transform .5s var(--ease-out); }
.faq details[open] .plus { background: var(--honey); color: var(--on-honey); border-color: var(--honey); transform: rotate(180deg); }
.faq details[open] .plus::after { transform: translate(-50%, -50%) rotate(0deg); }
.faq .a { display: grid; grid-template-columns: 60px 1fr 44px; gap: 16px; }
.faq .a p { grid-column: 2; color: var(--ink-2); font-size: 14.5px; max-width: 72ch; padding-bottom: 28px; line-height: 1.7; }
.faq details[open] .a p { animation: fadeUp .6s var(--ease-out); }
@keyframes fadeUp { from { opacity: 0; transform: translateY(-6px); } }

/* Hero summary (answer-first paragraph) */
.hero-summary { max-width: 64ch; margin-top: 18px; font-size: 14.5px; line-height: 1.75; color: var(--ink-2); }
.card-sub { font-size: 13px; color: var(--ink-3); margin-top: 8px; max-width: 52ch; }

/* Long-form guide */
.prose-grid { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr); gap: 20px; align-items: start; }
.prose h3 { font-family: var(--f-display); font-weight: 400; font-size: clamp(22px, 2vw, 28px); letter-spacing: -.02em; line-height: 1.2; margin-bottom: 18px; }
.prose p { color: var(--ink-2); font-size: 15px; line-height: 1.85; max-width: 68ch; }
.prose p + p { margin-top: 14px; }
.prose-side { display: grid; gap: 20px; }
.steps { list-style: none; counter-reset: s; display: grid; gap: 14px; }
.steps li { counter-increment: s; display: grid; grid-template-columns: 30px 1fr; gap: 10px; font-size: 14px; color: var(--ink-2); line-height: 1.7; }
.steps li::before { content: counter(s); width: 26px; height: 29px; display: grid; place-items: center; font-family: var(--f-mono); font-size: 12px; font-weight: 600; background: var(--honey-soft); color: var(--honey-ink); clip-path: polygon(50% 0, 100% 25%, 100% 75%, 50% 100%, 0 75%, 0 25%); }
.method { list-style: none; display: grid; gap: 10px; }
.method li { font-size: 13.5px; color: var(--ink-2); line-height: 1.7; padding-left: 16px; position: relative; }
.method li::before { content: ""; position: absolute; left: 0; top: .72em; width: 6px; height: 6px; transform: rotate(45deg); background: var(--honey); opacity: .7; }

/* Footer */
footer { margin-top: clamp(80px, 11vw, 160px); border-top: 1px solid var(--line-2); padding: clamp(40px, 5vw, 64px) 0 32px; position: relative; overflow: hidden; }
.f-grid { display: grid; grid-template-columns: 1.2fr 2fr; gap: 40px; }
.f-k { font-family: var(--f-mono); font-size: 10.5px; letter-spacing: .1em; text-transform: uppercase; color: var(--ink-3); margin-bottom: 14px; }
.f-links { display: flex; flex-wrap: wrap; gap: 8px; }
.f-links a { font-size: 13px; color: var(--ink-2); padding: 7px 12px; border: 1px solid var(--line); border-radius: 999px; transition: all .3s var(--ease-out); }
.f-links a:hover { color: var(--on-honey); background: var(--honey); border-color: var(--honey); }
.f-disc { font-size: 12.5px; color: var(--ink-3); line-height: 1.7; max-width: 52ch; }
.wordmark {
  font-family: var(--f-display); font-weight: 300; letter-spacing: -.06em; line-height: .78;
  font-size: clamp(96px, 22vw, 360px); margin: clamp(40px, 6vw, 80px) 0 clamp(16px, 2vw, 28px);
  color: transparent; -webkit-text-stroke: 1px var(--line-2); white-space: nowrap; user-select: none;
  transition: -webkit-text-stroke-color .6s;
}
.wordmark i { font-style: italic; -webkit-text-stroke: 0; color: var(--honey); }
.f-bot { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px; font-size: 12px; color: var(--ink-3); font-family: var(--f-mono); padding-top: 20px; border-top: 1px solid var(--line); }

/* ---------- Responsive ---------- */
@media (max-width: 1180px) {
  .seg a .mono { display: none; }
  .lrow { grid-template-columns: 40px minmax(150px, 1.3fr) minmax(120px, 1fr) minmax(120px, 1.2fr) minmax(90px, .8fr) 40px; }
  .lrow .l-depth { display: none; }
  .ob-head, .orow { grid-template-columns: minmax(200px, 1.6fr) minmax(110px, .9fr) minmax(150px, 1.1fr) minmax(150px, 1.3fr) 130px; }
  .ob-head .c-met, .orow .o-met { display: none; }
}
@media (max-width: 960px) {
  .nav-fiat { display: none; }
  .mfiat { display: flex !important; }
  .hero-grid { grid-template-columns: 1fr; align-items: start; }
  .sec-head { grid-template-columns: 1fr; gap: 12px; }
  .sec-desc { justify-self: start; }
  .conv-grid, .two, .f-grid, .prose-grid { grid-template-columns: 1fr; }
  .ob-head { display: none; }
  .orow { grid-template-columns: 1fr auto; grid-template-areas: "m p" "l l" "y y" "c c"; gap: 12px 16px; padding: 20px 0; }
  .orow .m { grid-area: m; }
  .orow .o-price { grid-area: p; text-align: right; }
  .orow .o-lim { grid-area: l; display: flex; justify-content: space-between; gap: 12px; padding-top: 12px; border-top: 1px dashed var(--line); }
  .orow .o-lim small { margin-top: 0; }
  .orow .pays { grid-area: y; }
  .orow .o-cta { grid-area: c; justify-self: stretch; justify-content: center; height: 44px; }
  .orow .o-met { display: none; }
  .orow::before { display: none; }
}
@media (max-width: 720px) {
  body { font-size: 14px; }
  .nav-in { height: 60px; }
  .logo-meta { display: none; }
  .icon-btn .lbl { display: none; }
  .lrow { grid-template-columns: 1fr auto; grid-template-areas: "n b" "r r"; gap: 14px; padding: 18px 0; }
  .lrow:hover, .lrow.sel { padding-left: 0; }
  .lrow::before { inset: 0 -12px; }
  .lrow .l-rank, .lrow .l-sell, .lrow .l-go, .lrow .l-depth { display: none; }
  .lrow .l-name { grid-area: n; }
  .lrow .l-buy { grid-area: b; text-align: right; }
  .lrow .l-bar { grid-area: r; }
  .stats { grid-template-columns: 1fr 1fr; }
  .outs { grid-template-columns: 1fr; }
  .flow { grid-template-columns: 1fr auto 1fr auto 1fr; gap: 4px; }
  .node-hex { width: 46px; height: 52px; font-size: 18px; }
  .faq summary, .faq .a { grid-template-columns: 34px 1fr 40px; gap: 10px; }
  .amt input { width: 100%; }
  .amt, .switch { flex: 1 1 100%; }
  .toggle { width: 100%; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
  .toggle button { padding: 10px 8px; font-size: 12.5px; overflow: hidden; text-overflow: ellipsis; }
  .rule { grid-template-columns: 44px 1fr; }
  .rule-n { font-size: 34px; }
  .chart { height: 210px; }
}
.mfiat { display: none; gap: 6px; overflow-x: auto; scrollbar-width: none; padding: 10px 0 12px; border-top: 1px solid var(--line); }
.mfiat::-webkit-scrollbar { display: none; }
.mfiat a { flex: none; padding: 7px 13px; border-radius: 999px; border: 1px solid var(--line); font-size: 12.5px; font-weight: 600; color: var(--ink-2); }
.mfiat a.on { background: var(--honey); color: var(--on-honey); border-color: var(--honey); }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .001s !important; animation-iteration-count: 1 !important; transition-duration: .001s !important; scroll-behavior: auto !important; }
  .js [data-reveal] { opacity: 1; transform: none; }
}

/* Payment-method / exchange focus block and the explore links */
.focus-stats { display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); gap: 12px; }
.fstat { background: var(--surface); border: 1px solid var(--line); border-radius: 14px; padding: 16px 18px; }
.fstat .fk { font-size: 11px; color: var(--ink-3); letter-spacing: .06em; text-transform: uppercase; font-family: var(--f-mono); }
.fstat .fv { font-size: 24px; font-weight: 500; margin-top: 6px; }
.fstat .fn { font-size: 12px; color: var(--ink-3); margin-top: 2px; }
.focus-text { margin-top: 26px; max-width: 72ch; color: var(--ink-2); }
.focus-text p + p { margin-top: 12px; }
.focus-text h3 { font-family: var(--f-display); font-weight: 400; font-size: 22px; color: var(--ink); margin: 26px 0 10px; }
.explore-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 24px; }

/* Order tags: large-only ads and ads that need extra verification are listed but not used for headline prices */
.tag.big, .tag.kyc { color: var(--ink-2); background: transparent; border: 1px solid var(--line); }
