/* TBX Markets — landing v2 and static pages. Served from /tbx/landing.css by the edge Caddy. */
:root {
  --ink: #0b1430;
  --ink-2: #2b3855;
  --muted: #5f6b80;
  --muted-2: #8a94a6;
  --red: #d91c26;
  --red-hot: #ff3b47;
  --red-dark: #b8121d;
  --red-soft: #fdeeef;
  --green: #1f8a6e;
  --green-bright: #2fd39a;
  --line: #e3e8ef;
  --line-soft: #eef1f5;
  --soft: #f5f7fa;
  --white: #fff;
  --navy: #0a1330;
  --navy-2: #111c3f;
  --glass: rgba(255, 255, 255, .06);
  --glass-line: rgba(255, 255, 255, .12);
  --shadow-card: 0 18px 50px rgba(11, 20, 48, .08);
  --radius: 18px;
  --radius-sm: 12px;
  --font: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --display: "Manrope", "Inter", -apple-system, "Segoe UI", Arial, sans-serif;
  --shell: 1200px;
  --gutter: 24px;
  --header-h: 80px;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 16px); -webkit-text-size-adjust: 100%; }
body { margin: 0; font-family: var(--font); font-size: 16px; line-height: 1.6; color: var(--ink); background: var(--white); font-synthesis: none; -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; overflow-x: clip; }
h1, h2, h3, p, ul, ol, dl, dd, figure { margin: 0; }
ul, ol { padding: 0; list-style: none; }
img, svg, canvas { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button, a, summary { -webkit-tap-highlight-color: transparent; }
:focus-visible { outline: 3px solid rgba(217, 28, 38, .5); outline-offset: 4px; border-radius: 6px; }
.shell { width: min(var(--shell), calc(100% - var(--gutter) * 2)); margin-inline: auto; }
.icon { width: 1.25em; height: 1.25em; fill: none; stroke: currentColor; stroke-width: 1.9; stroke-linecap: round; stroke-linejoin: round; flex: none; }
.skip-link { position: absolute; left: 16px; top: -60px; z-index: 100; background: var(--ink); color: #fff; padding: 10px 16px; border-radius: 8px; font-weight: 600; }
.skip-link:focus { top: 16px; }

/* ---------- Typography ---------- */
.display { font-family: var(--display); font-weight: 800; letter-spacing: -0.03em; line-height: 1.04; }
h1.display { font-size: clamp(38px, 4.6vw, 68px); }
h2.display { font-size: clamp(28px, 3.3vw, 46px); }
h3 { font-size: 21px; font-weight: 650; letter-spacing: -0.015em; line-height: 1.3; }
.eyebrow { display: inline-flex; align-items: center; gap: 12px; font-size: 12px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }
.eyebrow-light { color: rgba(255, 255, 255, .6); }
.lead { font-size: clamp(17px, 1.4vw, 19px); line-height: 1.65; color: var(--muted); }
.section-lead { font-size: 17px; line-height: 1.65; color: var(--muted); max-width: 440px; }
.section-lead-light { color: rgba(255, 255, 255, .72); }
.section-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 32px; margin-bottom: 44px; }
.section-head .eyebrow { margin-bottom: 16px; }
.section-head .section-lead { max-width: 400px; padding-bottom: 6px; }
.grad { background: linear-gradient(92deg, #ff6b73 0%, var(--red-hot) 45%, #ff9a5c 100%); -webkit-background-clip: text; background-clip: text; color: transparent; }

/* ---------- Buttons and links ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 12px; min-height: 54px; padding: 0 24px; border-radius: var(--radius-sm); font-size: 15px; font-weight: 600; line-height: 1; white-space: nowrap; transition: background .18s, color .18s, transform .18s, box-shadow .18s, border-color .18s; }
.btn .icon { width: 20px; height: 20px; }
.btn-primary { background: var(--red); color: #fff; }
.btn-primary:hover { background: var(--red-dark); transform: translateY(-2px); }
.btn-primary:active { transform: translateY(0); }
.btn-glow { box-shadow: 0 12px 34px rgba(255, 59, 71, .35), 0 0 0 1px rgba(255, 255, 255, .08) inset; }
.btn-glow:hover { box-shadow: 0 16px 40px rgba(255, 59, 71, .45), 0 0 0 1px rgba(255, 255, 255, .1) inset; }
.btn-glass { background: rgba(255, 255, 255, .08); color: #fff; border: 1px solid rgba(255, 255, 255, .18); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); }
.btn-glass:hover { background: rgba(255, 255, 255, .14); border-color: rgba(255, 255, 255, .3); transform: translateY(-2px); }
.btn-ghost { background: transparent; color: var(--ink); border: 1.5px solid var(--line); }
.btn-ghost:hover { border-color: var(--ink); }
.btn-sm { min-height: 44px; padding: 0 18px; font-size: 14px; }
.btn-lg { min-height: 60px; padding: 0 30px; font-size: 16px; }
.btn-label-short { display: none; }
.link-arrow { display: inline-flex; align-items: center; gap: 10px; font-size: 15px; font-weight: 600; color: var(--ink); }
.link-arrow .icon { width: 20px; height: 20px; color: var(--red); transition: transform .18s; }
.link-arrow:hover { color: var(--red); }
.link-arrow:hover .icon { transform: translateX(4px); }

/* ---------- Header (light by default; transparent over the dark hero until scrolled) ---------- */
.site-header { position: sticky; top: 0; z-index: 50; background: rgba(255, 255, 255, .88); backdrop-filter: saturate(160%) blur(14px); -webkit-backdrop-filter: saturate(160%) blur(14px); border-bottom: 1px solid transparent; transition: background .25s, border-color .25s, box-shadow .25s, color .25s; }
.site-header.is-scrolled { border-bottom-color: var(--line); box-shadow: 0 6px 24px rgba(11, 20, 48, .05); }
.header-inner { display: flex; align-items: center; gap: 32px; min-height: var(--header-h); }
.brand { display: inline-flex; align-items: center; gap: 11px; color: var(--ink); }
.brand-mark { width: 40px; height: 40px; flex: none; filter: drop-shadow(0 6px 14px rgba(217, 28, 38, .28)); }
.brand-word { font-size: 24px; font-weight: 800; letter-spacing: -0.03em; line-height: 1; }
.brand-word em { font-style: normal; font-weight: 500; letter-spacing: -0.02em; margin-left: 5px; }
.brand img { width: 196px; height: auto; }
.site-nav { display: flex; align-items: center; gap: 4px; margin-left: 12px; }
.site-nav a { padding: 10px 14px; border-radius: 10px; font-size: 15px; font-weight: 550; color: var(--ink-2); transition: background .16s, color .16s; }
.site-nav a:hover { background: var(--soft); color: var(--ink); }
.header-actions { margin-left: auto; display: flex; align-items: center; gap: 22px; }
.link-login { font-size: 15px; font-weight: 600; color: var(--ink-2); }
.link-login:hover { color: var(--red); }
.site-header--hero:not(.is-scrolled) { background: transparent; backdrop-filter: none; -webkit-backdrop-filter: none; }
.site-header--hero:not(.is-scrolled) .brand, .site-header--hero:not(.is-scrolled) .link-login { color: #fff; }
.site-header--hero:not(.is-scrolled) .site-nav a { color: rgba(255, 255, 255, .74); }
.site-header--hero:not(.is-scrolled) .site-nav a:hover { background: rgba(255, 255, 255, .08); color: #fff; }
.site-header--hero:not(.is-scrolled) .link-login:hover { color: #fff; }

/* ---------- Hero ---------- */
.hero { position: relative; margin-top: calc(var(--header-h) * -1); padding: calc(var(--header-h) + clamp(56px, 8vw, 110px)) 0 0; background: var(--navy); color: #fff; overflow: hidden; isolation: isolate; }
.hero-bg { position: absolute; inset: 0; z-index: -1; overflow: hidden; }
.hero-bg::before { content: ""; position: absolute; inset: 0; background: radial-gradient(120% 80% at 70% 0%, #182a5e 0%, var(--navy) 55%, #070d22 100%); }
.blob { position: absolute; border-radius: 50%; filter: blur(70px); opacity: .55; will-change: transform; }
.blob-a { width: 620px; height: 620px; left: -160px; top: -140px; background: radial-gradient(circle, rgba(217, 28, 38, .75), rgba(217, 28, 38, 0) 65%); animation: drift-a 26s ease-in-out infinite alternate; }
.blob-b { width: 720px; height: 720px; right: -220px; top: -80px; background: radial-gradient(circle, rgba(66, 104, 255, .55), rgba(66, 104, 255, 0) 65%); animation: drift-b 32s ease-in-out infinite alternate; }
.blob-c { width: 520px; height: 520px; left: 35%; bottom: -260px; background: radial-gradient(circle, rgba(255, 90, 100, .45), rgba(255, 90, 100, 0) 65%); animation: drift-c 22s ease-in-out infinite alternate; }
@keyframes drift-a { to { transform: translate(120px, 90px) scale(1.15); } }
@keyframes drift-b { to { transform: translate(-140px, 120px) scale(.9); } }
@keyframes drift-c { to { transform: translate(-90px, -60px) scale(1.1); } }
.hero-floor { position: absolute; left: -20%; right: -20%; bottom: -12%; height: 55%; background-image: linear-gradient(rgba(255, 255, 255, .07) 1px, transparent 1px), linear-gradient(90deg, rgba(255, 255, 255, .07) 1px, transparent 1px); background-size: 64px 64px; transform: perspective(700px) rotateX(64deg); transform-origin: 50% 0; -webkit-mask-image: linear-gradient(180deg, transparent 0%, #000 35%, #000 70%, transparent 100%); mask-image: linear-gradient(180deg, transparent 0%, #000 35%, #000 70%, transparent 100%); opacity: .7; }
.hero-noise { position: absolute; inset: 0; opacity: .045; 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='.9' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E"); background-size: 160px 160px; pointer-events: none; }
.hero-spot { position: absolute; inset: 0; background: radial-gradient(520px circle at var(--mx, 70%) var(--my, 40%), rgba(255, 255, 255, .07), transparent 60%); pointer-events: none; transition: background-position .2s; }
.hero-grid { position: relative; display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr); align-items: center; gap: clamp(32px, 5vw, 64px); padding-bottom: clamp(56px, 8vw, 104px); }
.hero-pill { display: inline-flex; align-items: center; gap: 10px; padding: 8px 14px 8px 10px; border-radius: 999px; background: rgba(255, 255, 255, .06); border: 1px solid rgba(255, 255, 255, .12); font-size: 13px; font-weight: 600; color: rgba(255, 255, 255, .85); margin-bottom: 28px; }
.pill-sep { width: 4px; height: 4px; border-radius: 50%; background: rgba(255, 255, 255, .35); }
.live-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--green-bright); box-shadow: 0 0 0 0 rgba(47, 211, 154, .6); animation: pulse 2s infinite; flex: none; display: inline-block; }
@keyframes pulse { 0% { box-shadow: 0 0 0 0 rgba(47, 211, 154, .55); } 70% { box-shadow: 0 0 0 10px rgba(47, 211, 154, 0); } 100% { box-shadow: 0 0 0 0 rgba(47, 211, 154, 0); } }
.hero-copy h1 { color: #fff; }
.hero-copy .lead { margin-top: 26px; max-width: 520px; color: rgba(255, 255, 255, .74); }
.hero-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 14px; margin-top: 36px; }
.hero-facts { display: flex; flex-wrap: wrap; gap: 10px 26px; margin-top: 34px; font-size: 14px; font-weight: 500; color: rgba(255, 255, 255, .72); }
.hero-facts li { display: inline-flex; align-items: center; gap: 8px; }
.hero-facts .icon { width: 18px; height: 18px; color: var(--green-bright); stroke-width: 2.4; }

/* Hero visual: tilted glass terminal, coins, chips */
.hero-visual { position: relative; perspective: 1400px; }
.tilt { position: relative; transform: rotateY(var(--ry, -8deg)) rotateX(var(--rx, 5deg)); transform-style: preserve-3d; transition: transform .35s ease; }
.glass { background: linear-gradient(160deg, rgba(255, 255, 255, .10), rgba(255, 255, 255, .03)); border: 1px solid var(--glass-line); border-radius: 22px; backdrop-filter: blur(18px); -webkit-backdrop-filter: blur(18px); box-shadow: 0 40px 90px rgba(3, 8, 28, .6), 0 1px 0 rgba(255, 255, 255, .12) inset; }
.terminal-card { padding: 18px 18px 16px; }
.tc-head { display: flex; align-items: center; gap: 14px; margin-bottom: 12px; padding-left: 44px; }
.tc-pair { display: inline-flex; align-items: center; gap: 9px; font-size: 15px; font-weight: 700; letter-spacing: -0.01em; }
.tc-price { margin-left: auto; font-size: 20px; font-weight: 700; font-variant-numeric: tabular-nums; letter-spacing: -0.02em; }
.tc-price small { font-size: 11px; font-weight: 600; color: rgba(255, 255, 255, .5); margin-left: 6px; }
.tc-tag { font-size: 11px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; padding: 5px 9px; border-radius: 999px; background: rgba(255, 255, 255, .08); color: rgba(255, 255, 255, .7); }
.tc-chart { width: 100%; height: 240px; }
.tc-book { display: grid; grid-template-columns: 1fr auto 1fr; gap: 14px; align-items: center; margin-top: 10px; padding-top: 12px; border-top: 1px solid rgba(255, 255, 255, .08); }
.tc-book-col { display: grid; gap: 6px; }
.tc-book-col span { display: block; height: 8px; border-radius: 4px; background: rgba(255, 255, 255, .06); overflow: hidden; }
.tc-book-col i { display: block; height: 100%; border-radius: 4px; transition: width 1.2s cubic-bezier(.2, .7, .2, 1); }
.tc-book-col.asks i { background: linear-gradient(90deg, rgba(255, 90, 100, .9), rgba(255, 90, 100, .35)); }
.tc-book-col.bids { direction: rtl; }
.tc-book-col.bids i { background: linear-gradient(270deg, rgba(47, 211, 154, .9), rgba(47, 211, 154, .35)); }
.tc-book-mid { font-size: 11px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: rgba(255, 255, 255, .45); }
.coin { position: absolute; width: 84px; height: 84px; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 36px; font-weight: 700; color: #fff; box-shadow: 0 24px 50px rgba(3, 8, 28, .55), 0 0 0 1px rgba(255, 255, 255, .12) inset, 0 -8px 20px rgba(0, 0, 0, .25) inset; transform: translateZ(60px); }
.coin::after { content: ""; position: absolute; inset: 6px; border-radius: 50%; border: 1px solid rgba(255, 255, 255, .28); }
.coin span { position: relative; text-shadow: 0 2px 10px rgba(0, 0, 0, .35); }
.coin-usdt { left: -36px; top: -30px; background: radial-gradient(circle at 35% 30%, #4ee0ad, #1f8a6e 60%, #146d55); animation: float-a 7s ease-in-out infinite; }
.coin-rub { right: -34px; bottom: 132px; background: radial-gradient(circle at 35% 30%, #4d6cff, #2340b8 60%, #16297a); animation: float-b 8s ease-in-out infinite; }
.coin-sm { position: static; width: 56px; height: 56px; font-size: 24px; transform: none; animation: none; box-shadow: 0 12px 26px rgba(11, 20, 48, .25), 0 0 0 1px rgba(255, 255, 255, .15) inset; }
@keyframes float-a { 0%, 100% { transform: translateZ(60px) translateY(0); } 50% { transform: translateZ(60px) translateY(-14px); } }
@keyframes float-b { 0%, 100% { transform: translateZ(50px) translateY(0); } 50% { transform: translateZ(50px) translateY(12px); } }
.chip { position: absolute; display: inline-flex; align-items: center; gap: 8px; padding: 10px 14px; border-radius: 12px; background: rgba(10, 19, 48, .75); border: 1px solid rgba(255, 255, 255, .14); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); font-size: 12px; font-weight: 600; color: rgba(255, 255, 255, .9); box-shadow: 0 16px 40px rgba(3, 8, 28, .5); transform: translateZ(40px); }
.chip i { width: 8px; height: 8px; border-radius: 50%; background: var(--green-bright); }
.chip .icon { width: 16px; height: 16px; color: var(--red-hot); }
.chip-a { right: 26px; top: -18px; animation: float-c 9s ease-in-out infinite; }
.chip-b { left: 26px; bottom: -18px; animation: float-c 10s ease-in-out infinite reverse; }
@keyframes float-c { 0%, 100% { transform: translateZ(40px) translateY(0); } 50% { transform: translateZ(40px) translateY(-8px); } }

/* Marquee */
.marquee { border-top: 1px solid rgba(255, 255, 255, .08); background: rgba(255, 255, 255, .03); overflow: hidden; -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); }
.marquee-track { display: flex; width: max-content; animation: marquee 42s linear infinite; }
.marquee-track span { display: inline-flex; align-items: center; gap: 22px; padding: 16px 0 16px 22px; font-size: 13px; font-weight: 600; letter-spacing: .04em; color: rgba(255, 255, 255, .62); white-space: nowrap; }
.marquee-track span::after { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--red-hot); }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ---------- Live stats ---------- */
.stats { border-bottom: 1px solid var(--line); background: #fff; }
.stats-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 24px; padding: 28px 0 22px; }
.stat { padding: 4px 0; border-left: 2px solid var(--line); padding-left: 18px; }
.stat-label { display: block; font-size: 12px; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; color: var(--muted-2); }
.stat strong { display: block; margin-top: 6px; font-size: 24px; font-weight: 700; letter-spacing: -0.02em; font-variant-numeric: tabular-nums; white-space: nowrap; }
.stat strong small { font-size: 13px; font-weight: 600; color: var(--muted-2); }
.stat .is-empty { color: var(--muted-2); font-weight: 500; }
.stat .is-up { color: var(--green); }
.stat .is-down { color: #d03841; }
.stats-note { grid-column: 1 / -1; font-size: 13px; color: var(--muted-2); }

/* ---------- Bento features ---------- */
.bento { padding: clamp(64px, 8vw, 110px) 0; }
.bento-grid { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); grid-auto-rows: minmax(210px, auto); gap: 18px; }
.card { position: relative; display: flex; flex-direction: column; padding: 28px; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; transition: transform .25s, box-shadow .25s, border-color .25s; }
.card::before { content: ""; position: absolute; inset: 0; border-radius: inherit; padding: 1px; background: linear-gradient(140deg, rgba(217, 28, 38, .35), transparent 40%, transparent 60%, rgba(66, 104, 255, .25)); -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); -webkit-mask-composite: xor; mask-composite: exclude; opacity: 0; transition: opacity .25s; pointer-events: none; }
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow-card); }
.card:hover::before { opacity: 1; }
.card h3 { margin-top: 12px; }
.card p { margin-top: 12px; font-size: 15px; line-height: 1.65; color: var(--muted); flex: 1; }
.card .link-arrow { margin-top: 22px; }
.card-index { font-size: 12px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--muted-2); }
.card-terminal { grid-column: span 4; grid-row: span 2; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, .9fr); gap: 28px; align-items: center; background: linear-gradient(160deg, #fff, #fbfcfe); }
.card-terminal .card-body { display: flex; flex-direction: column; }
.card-terminal h3 { font-size: clamp(22px, 2vw, 28px); }
.card-wallet { grid-column: span 2; }
.card-shield { grid-column: span 2; }
.card-stat { grid-column: span 2; background: var(--navy); color: #fff; border-color: transparent; }
.card-stat .card-index { color: rgba(255, 255, 255, .55); }
.card-stat p { color: rgba(255, 255, 255, .7); }
.card-stat .link-arrow { color: #fff; }
.card-stat .link-arrow .icon { color: var(--red-hot); }
.big-number { display: block; margin-top: 14px; font-family: var(--display); font-size: clamp(42px, 4.6vw, 64px); font-weight: 700; letter-spacing: -0.02em; line-height: 1; font-variant-numeric: tabular-nums; color: #fff; }
.card-networks { grid-column: span 2; }
.card-support { grid-column: span 2; }
.mini-book { align-self: stretch; display: grid; align-content: center; gap: 7px; padding: 18px; border-radius: 14px; background: var(--navy); }
.mini-book-head { display: flex; justify-content: space-between; font-size: 10px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: rgba(255, 255, 255, .45); margin-bottom: 4px; }
.mini-row { height: 12px; border-radius: 4px; background: rgba(255, 255, 255, .06); overflow: hidden; }
.mini-row i { display: block; height: 100%; border-radius: 4px; transition: width 1.2s cubic-bezier(.2, .7, .2, 1); }
.mini-row.ask i { background: linear-gradient(90deg, rgba(255, 90, 100, .95), rgba(255, 90, 100, .3)); }
.mini-row.bid i { background: linear-gradient(90deg, rgba(47, 211, 154, .95), rgba(47, 211, 154, .3)); }
.mini-mid { padding: 6px 0; font-size: 10px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: rgba(255, 255, 255, .55); border-top: 1px dashed rgba(255, 255, 255, .15); border-bottom: 1px dashed rgba(255, 255, 255, .15); text-align: center; }
.coin-row { display: flex; gap: 10px; margin-top: 18px; }
.shield { width: 56px; height: 56px; display: flex; align-items: center; justify-content: center; border-radius: 16px; background: var(--red-soft); color: var(--red); margin-bottom: 18px; position: relative; }
.shield .icon { width: 28px; height: 28px; }
.shield::after { content: ""; position: absolute; inset: -6px; border-radius: 20px; border: 1.5px solid rgba(217, 28, 38, .25); animation: ring 2.6s ease-out infinite; }
@keyframes ring { 0% { transform: scale(.9); opacity: .9; } 100% { transform: scale(1.25); opacity: 0; } }
.net-badges { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 16px; }
.net-badges span { padding: 8px 12px; border-radius: 999px; background: var(--soft); border: 1px solid var(--line); font-size: 13px; font-weight: 600; color: var(--ink-2); }

/* ---------- Showcase (dark) ---------- */
.showcase { position: relative; padding: clamp(72px, 9vw, 120px) 0; background: var(--navy); color: #fff; overflow: hidden; isolation: isolate; }
.showcase-bg { position: absolute; inset: 0; z-index: -1; }
.showcase-bg::before { content: ""; position: absolute; inset: 0; background: radial-gradient(90% 70% at 20% 100%, #16255a 0%, var(--navy) 60%); }
.blob-d { width: 700px; height: 700px; right: -260px; top: -300px; background: radial-gradient(circle, rgba(217, 28, 38, .5), rgba(217, 28, 38, 0) 65%); }
.showcase-grid { display: grid; grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr); align-items: center; gap: clamp(36px, 6vw, 88px); }
.showcase-copy h2 { color: #fff; margin-top: 16px; }
.showcase-copy .section-lead { margin-top: 20px; }
.check-list { display: grid; gap: 18px; margin: 32px 0 36px; }
.check-list li { display: flex; align-items: flex-start; gap: 16px; }
.check-mark { display: flex; align-items: center; justify-content: center; width: 42px; height: 42px; border-radius: 12px; background: #fff; border: 1px solid var(--line); color: var(--red); flex: none; }
.check-list-light .check-mark { background: rgba(255, 255, 255, .06); border-color: rgba(255, 255, 255, .12); color: var(--red-hot); }
.check-mark .icon { width: 22px; height: 22px; }
.check-list strong { display: block; font-size: 17px; font-weight: 650; }
.check-list div > span { display: block; font-size: 15px; color: var(--muted); margin-top: 2px; }
.check-list-light div > span { color: rgba(255, 255, 255, .62); }
.showcase-art svg { width: 100%; height: auto; filter: drop-shadow(0 40px 80px rgba(3, 8, 28, .7)); border-radius: 18px; }

/* ---------- Trust ---------- */
.trust { padding: clamp(64px, 8vw, 110px) 0 0; }
.trust-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
.trust-item { display: flex; flex-direction: column; padding: 28px; border: 1px solid var(--line); border-radius: var(--radius); background: linear-gradient(160deg, #fff, #fafbfd); transition: transform .25s, box-shadow .25s; }
.trust-item:hover { transform: translateY(-3px); box-shadow: var(--shadow-card); }
.trust-icon { display: flex; align-items: center; justify-content: center; width: 48px; height: 48px; border-radius: 14px; background: var(--navy); color: #fff; margin-bottom: 20px; }
.trust-icon .icon { width: 22px; height: 22px; }
.trust-item h3 { font-size: 19px; }
.trust-item p { margin-top: 10px; font-size: 15px; line-height: 1.65; color: var(--muted); flex: 1; }
.trust-item .link-arrow { margin-top: 18px; font-size: 14px; }
.trust-note { margin-top: 28px; padding: 18px 22px; border-radius: 14px; background: var(--soft); border: 1px solid var(--line); font-size: 14px; line-height: 1.65; color: var(--muted); }
.trust-note a { color: var(--red); text-decoration: underline; text-underline-offset: 3px; }

/* ---------- Steps ---------- */
.steps-section { padding: clamp(64px, 8vw, 110px) 0; }
.steps { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 40px; }
.steps-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 28px; }
.steps-4 li:not(:last-child)::before { right: -14px; }
.steps-4 h3 { font-size: 19px; }
.steps-4 p { font-size: 15px; }
.steps li { position: relative; }
.step-number { display: flex; align-items: center; justify-content: center; width: 54px; height: 54px; border-radius: 50%; border: 1.5px solid #ecd3d6; background: #fff; color: var(--red); font-family: var(--display); font-size: 14px; font-weight: 700; }
.steps li:not(:last-child)::before { content: ""; position: absolute; top: 27px; left: 68px; right: -26px; height: 1px; background: var(--line); }
.steps h3 { margin-top: 24px; }
.steps p { margin-top: 10px; font-size: 16px; line-height: 1.65; color: var(--muted); max-width: 340px; }

/* ---------- FAQ ---------- */
.faq { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: clamp(32px, 6vw, 80px); padding: 0 0 clamp(64px, 8vw, 110px); }
.faq-head .eyebrow { margin-bottom: 16px; }
.faq-head .section-lead { margin-top: 18px; }
.faq-list { border-top: 1px solid var(--line); }
.faq-list details { border-bottom: 1px solid var(--line); }
.faq-list summary { display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 24px 0; font-size: 18px; font-weight: 600; line-height: 1.4; cursor: pointer; list-style: none; }
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary .icon { width: 22px; height: 22px; color: var(--muted-2); transition: transform .2s, color .2s; }
.faq-list summary:hover .icon { color: var(--red); }
.faq-list details[open] summary .icon { transform: rotate(180deg); color: var(--red); }
.faq-list details p { padding: 0 48px 24px 0; font-size: 16px; line-height: 1.7; color: var(--muted); }
.faq-list details p a { color: var(--red); text-decoration: underline; text-underline-offset: 3px; }

/* ---------- CTA ---------- */
.cta { padding-bottom: clamp(64px, 8vw, 110px); }
.cta-card { position: relative; display: flex; align-items: center; justify-content: space-between; gap: 32px; padding: clamp(36px, 5vw, 64px); border-radius: 28px; background: var(--navy); color: #fff; overflow: hidden; isolation: isolate; }
.cta-bg { position: absolute; inset: 0; z-index: -1; }
.cta-bg::before { content: ""; position: absolute; inset: 0; background: radial-gradient(80% 90% at 90% 10%, #1a2b66 0%, var(--navy) 60%); }
.blob-e { width: 520px; height: 520px; left: -160px; bottom: -280px; background: radial-gradient(circle, rgba(217, 28, 38, .6), rgba(217, 28, 38, 0) 65%); }
.cta-copy h2 { color: #fff; margin-top: 16px; }
.cta-note { margin-top: 16px; font-size: 15px; color: rgba(255, 255, 255, .7); }
.cta-note a { font-weight: 600; color: #fff; text-decoration: underline; text-underline-offset: 3px; }

/* ---------- Footer ---------- */
.site-footer { border-top: 1px solid var(--line); background: #fff; }
.footer-main { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 32px; padding: 52px 0 40px; }
.footer-brand img { width: 176px; height: auto; }
.footer-brand p { margin-top: 18px; font-size: 15px; line-height: 1.6; color: var(--muted); }
.footer-nav { display: grid; align-content: start; gap: 12px; font-size: 15px; }
.footer-title { font-size: 12px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--muted-2); margin-bottom: 6px; }
.footer-nav a { color: var(--ink-2); }
.footer-nav a:hover { color: var(--red); }
.footer-bottom { display: flex; justify-content: space-between; gap: 24px; padding: 22px 0 28px; border-top: 1px solid var(--line-soft); font-size: 13px; line-height: 1.6; color: var(--muted-2); }
.site-footer--dark { background: #070d22; border-top-color: rgba(255, 255, 255, .08); color: #fff; }
.site-footer--dark .brand { color: #fff; }
.site-footer--dark .footer-brand p { color: rgba(255, 255, 255, .6); }
.site-footer--dark .footer-title { color: rgba(255, 255, 255, .4); }
.site-footer--dark .footer-nav a { color: rgba(255, 255, 255, .78); }
.site-footer--dark .footer-nav a:hover { color: #fff; }
.site-footer--dark .footer-bottom { border-top-color: rgba(255, 255, 255, .08); color: rgba(255, 255, 255, .45); }

/* ---------- Static pages: fees, terms, privacy, support (pages/*.html) ---------- */
.page { padding: clamp(40px, 6vw, 72px) 0 clamp(64px, 8vw, 110px); }
.page-grid { display: grid; grid-template-columns: minmax(0, 1fr) 260px; gap: clamp(32px, 5vw, 72px); align-items: start; }
.doc { max-width: 800px; }
.doc .eyebrow { margin-bottom: 14px; }
.doc h1 { font-family: var(--display); font-size: clamp(30px, 3.6vw, 46px); font-weight: 700; letter-spacing: -0.02em; line-height: 1.1; }
.doc .lead { margin-top: 18px; }
.doc h2 { font-size: 26px; margin-top: 48px; letter-spacing: -0.02em; }
.doc h3 { font-size: 19px; margin-top: 28px; }
.doc p, .doc li { font-size: 16px; line-height: 1.7; color: var(--ink-2); margin-top: 12px; }
.doc ul, .doc ol { padding-left: 22px; margin-top: 8px; }
.doc ul { list-style: disc; }
.doc ol { list-style: decimal; }
.doc li { margin-top: 8px; }
.doc a { color: var(--red); text-decoration: underline; text-underline-offset: 3px; }
.doc .table-wrap { overflow-x: auto; margin-top: 18px; border: 1px solid var(--line); border-radius: 12px; }
.doc table { width: 100%; border-collapse: collapse; font-size: 15px; }
.doc th, .doc td { text-align: left; padding: 13px 16px; border-bottom: 1px solid var(--line); vertical-align: top; }
.doc tr:last-child td { border-bottom: 0; }
.doc th { font-size: 12px; font-weight: 700; text-transform: uppercase; letter-spacing: .08em; color: var(--muted-2); background: var(--soft); white-space: nowrap; }
.doc td strong { font-variant-numeric: tabular-nums; white-space: nowrap; }
.doc .note { margin-top: 24px; padding: 18px 20px; border-radius: 12px; background: var(--soft); border: 1px solid var(--line); font-size: 15px; line-height: 1.6; color: var(--muted); }
.doc .note-warn { background: #fff6f6; border-color: #f3dfe1; color: #8a4a51; }
.doc .updated { margin-top: 36px; font-size: 13px; color: var(--muted-2); }
.doc .contact-card { display: grid; gap: 6px; margin-top: 20px; padding: 22px 24px; border: 1px solid var(--line); border-radius: 14px; }
.doc .contact-card strong { font-size: 20px; letter-spacing: -0.01em; }
.doc .contact-card a { font-size: 20px; font-weight: 600; text-decoration: none; }
.doc .contact-card span { font-size: 14px; color: var(--muted); }
.page-side { position: sticky; top: calc(var(--header-h) + 24px); display: grid; gap: 6px; padding: 18px; border: 1px solid var(--line); border-radius: 14px; }
.page-side .footer-title { margin-bottom: 4px; }
.page-side a { padding: 9px 12px; border-radius: 9px; font-size: 15px; font-weight: 550; color: var(--ink-2); }
.page-side a:hover { background: var(--soft); color: var(--ink); }
.page-side a[aria-current=page] { background: var(--red-soft); color: var(--red); }

/* ---------- Reveal on scroll ---------- */
.js .reveal { opacity: 0; transform: translateY(18px); transition: opacity .7s ease, transform .7s ease; }
.js .reveal.is-in { opacity: 1; transform: none; }

/* ---------- Responsive ---------- */
@media (max-width: 1100px) {
  .site-nav { display: none; }
}
@media (max-width: 960px) {
  :root { --header-h: 72px; }
  .brand img { width: 172px; }
  .hero-grid { grid-template-columns: 1fr; }
  .hero-copy .lead { max-width: 560px; }
  .hero-visual { max-width: 560px; margin: 24px auto 0; }
  .coin-usdt { left: -10px; }
  .coin-rub { right: -8px; }
  .stats-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px 24px; }
  .section-head { flex-direction: column; align-items: flex-start; gap: 18px; margin-bottom: 32px; }
  .bento-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); grid-auto-rows: auto; }
  .card-terminal { grid-column: span 2; grid-row: auto; grid-template-columns: 1fr; }
  .card-wallet, .card-shield, .card-stat, .card-networks, .card-support { grid-column: span 1; }
  .showcase-grid { grid-template-columns: 1fr; }
  .trust-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .steps, .steps-4 { grid-template-columns: 1fr; gap: 28px; }
  .steps li { display: grid; grid-template-columns: 54px 1fr; column-gap: 18px; }
  .steps li .step-number { grid-row: 1 / span 2; }
  .steps h3 { margin-top: 12px; }
  .steps p { grid-column: 2; max-width: none; }
  .steps li:not(:last-child)::before { top: 62px; bottom: -28px; left: 27px; right: auto; width: 1px; height: auto; }
  .faq { grid-template-columns: 1fr; gap: 28px; }
  .cta-card { flex-direction: column; align-items: flex-start; }
  .footer-main { grid-template-columns: 1fr 1fr; }
  .footer-brand { grid-column: 1 / -1; }
  .page-grid { grid-template-columns: minmax(0, 1fr); }
  .doc { min-width: 0; }
  .page-side { position: static; display: flex; flex-wrap: wrap; gap: 6px; padding: 0; border: 0; }
  .page-side .footer-title { flex-basis: 100%; }
  .page-side a { border: 1px solid var(--line); border-radius: 999px; font-size: 14px; }
}
@media (max-width: 600px) {
  :root { --gutter: 18px; --header-h: 64px; }
  body { font-size: 15px; }
  .brand-mark { width: 34px; height: 34px; }
  .brand-word { font-size: 20px; }
  .brand img { width: 148px; }
  .header-inner { gap: 16px; }
  .header-actions { gap: 14px; }
  .link-login { font-size: 14px; }
  .btn-sm { min-height: 40px; padding: 0 14px; font-size: 13px; }
  .btn-label-long { display: none; }
  .btn-label-short { display: inline; }
  h1.display { font-size: clamp(34px, 10vw, 44px); }
  .hero-pill { font-size: 12px; margin-bottom: 22px; }
  .hero-copy .lead { margin-top: 20px; }
  .hero-actions { margin-top: 26px; gap: 12px; }
  .hero-actions .btn { flex: 1 1 auto; min-height: 52px; padding: 0 20px; font-size: 14px; }
  .hero-facts { margin-top: 24px; gap: 8px 18px; font-size: 13px; }
  .hero-visual { margin-top: 36px; }
  .tilt { transform: none !important; }
  .terminal-card { padding: 14px; border-radius: 18px; }
  .tc-chart { height: 180px; }
  .tc-price { font-size: 17px; }
  .coin { width: 60px; height: 60px; font-size: 26px; }
  .coin-usdt { left: -8px; top: -22px; }
  .coin-rub { right: -8px; bottom: 96px; }
  .tc-head { padding-left: 40px; }
  .chip { font-size: 11px; padding: 8px 11px; }
  .chip-a { right: 8px; top: -14px; }
  .chip-b { left: 8px; bottom: -14px; }
  .marquee-track span { font-size: 12px; padding: 13px 0 13px 18px; }
  .stats-grid { grid-template-columns: 1fr 1fr; gap: 16px; padding: 22px 0 18px; }
  .stat strong { font-size: 20px; }
  .bento-grid { grid-template-columns: 1fr; gap: 14px; }
  .trust-grid { grid-template-columns: 1fr; gap: 14px; }
  .trust-item { padding: 24px; }
  .card { padding: 24px; }
  .card-terminal, .card-wallet, .card-shield, .card-stat, .card-networks, .card-support { grid-column: span 1; }
  h3 { font-size: 19px; }
  .check-list strong { font-size: 16px; }
  .check-list div > span { font-size: 14px; }
  .faq-list summary { font-size: 16px; padding: 20px 0; }
  .faq-list details p { padding-right: 24px; font-size: 15px; }
  .cta-card { padding: 30px 24px; border-radius: 22px; }
  .cta .btn-lg { width: 100%; }
  .footer-main { grid-template-columns: 1fr; gap: 28px; padding: 40px 0 32px; }
  .footer-bottom { flex-direction: column; gap: 8px; font-size: 12px; }
  .doc table { min-width: 540px; }
  .doc th, .doc td { padding: 11px 12px; font-size: 14px; }
}
@media (max-width: 360px) {
  .link-login { display: none; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; animation: none !important; }
  .js .reveal { opacity: 1; transform: none; }
  .tilt { transform: rotateY(-8deg) rotateX(5deg); }
}

/* ---------- Light theme (product decision 14.09.2026: everything light) ---------- */
.site-header--hero:not(.is-scrolled) { background: rgba(255, 255, 255, .82); backdrop-filter: saturate(160%) blur(14px); -webkit-backdrop-filter: saturate(160%) blur(14px); }
.site-header--hero:not(.is-scrolled) .brand, .site-header--hero:not(.is-scrolled) .link-login { color: var(--ink); }
.site-header--hero:not(.is-scrolled) .site-nav a { color: var(--ink-2); }
.site-header--hero:not(.is-scrolled) .site-nav a:hover { background: var(--soft); color: var(--ink); }
.site-header--hero:not(.is-scrolled) .link-login:hover { color: var(--red); }
.hero { background: #fff; color: var(--ink); }
.hero-bg::before { background: radial-gradient(120% 80% at 70% 0%, #f3f6fb 0%, #fff 55%, #fbf6f6 100%); }
.blob { opacity: .5; }
.blob-a { background: radial-gradient(circle, rgba(217, 28, 38, .28), rgba(217, 28, 38, 0) 65%); }
.blob-b { background: radial-gradient(circle, rgba(66, 104, 255, .22), rgba(66, 104, 255, 0) 65%); }
.blob-c { background: radial-gradient(circle, rgba(255, 90, 100, .18), rgba(255, 90, 100, 0) 65%); }
.hero-floor { background-image: linear-gradient(rgba(11, 20, 48, .07) 1px, transparent 1px), linear-gradient(90deg, rgba(11, 20, 48, .07) 1px, transparent 1px); opacity: .8; }
.hero-noise { opacity: .035; }
.hero-spot { background: radial-gradient(520px circle at var(--mx, 70%) var(--my, 40%), rgba(217, 28, 38, .06), transparent 60%); }
.hero-pill { background: #fff; border-color: var(--line); color: var(--ink-2); box-shadow: 0 6px 20px rgba(11, 20, 48, .06); }
.pill-sep { background: #c7cfdb; }
.hero-copy h1 { color: var(--ink); }
.hero-copy .lead { color: var(--muted); }
.btn-glass { background: #fff; color: var(--ink); border: 1.5px solid var(--line); backdrop-filter: none; -webkit-backdrop-filter: none; }
.btn-glass:hover { background: #fff; border-color: var(--ink); }
.hero-facts { color: var(--muted); }
.hero-facts .icon { color: var(--green); }
.glass { background: #fff; border: 1px solid var(--line); backdrop-filter: none; -webkit-backdrop-filter: none; box-shadow: 0 40px 90px rgba(11, 20, 48, .16), 0 1px 0 rgba(255, 255, 255, .8) inset; }
.terminal-card { color: var(--ink); }
.tc-price small { color: var(--muted-2); }
.tc-tag { background: var(--soft); color: var(--muted); }
.tc-book { border-top-color: var(--line-soft); }
.tc-book-col span { background: var(--line-soft); }
.tc-book-mid { color: var(--muted-2); }
.tc-book-col.asks i { background: linear-gradient(90deg, rgba(208, 56, 65, .85), rgba(208, 56, 65, .3)); }
.tc-book-col.bids i { background: linear-gradient(270deg, rgba(31, 138, 110, .85), rgba(31, 138, 110, .3)); }
.chip { background: #fff; border-color: var(--line); color: var(--ink); box-shadow: 0 16px 40px rgba(11, 20, 48, .12); }
.chip i { background: var(--green); }
.chip .icon { color: var(--red); }
.marquee { border-top-color: var(--line); background: var(--soft); }
.marquee-track span { color: var(--muted); }
.marquee-track span::after { background: var(--red); }
.card-stat { background: linear-gradient(140deg, #fff5f5, #fff); color: var(--ink); border-color: #f3dfe1; }
.card-stat .card-index { color: #b0737b; }
.card-stat p { color: var(--muted); }
.card-stat .link-arrow { color: var(--ink); }
.card-stat .link-arrow .icon { color: var(--red); }
.big-number { color: var(--ink); }
.mini-book { background: var(--soft); border: 1px solid var(--line); }
.mini-book-head { color: var(--muted-2); }
.mini-row { background: #e6eaf1; }
.mini-row.ask i { background: linear-gradient(90deg, rgba(208, 56, 65, .9), rgba(208, 56, 65, .3)); }
.mini-row.bid i { background: linear-gradient(90deg, rgba(31, 138, 110, .9), rgba(31, 138, 110, .3)); }
.mini-mid { color: var(--muted); border-color: #d6dde7; }
.trust-icon { background: var(--red-soft); color: var(--red); }
.showcase { background: var(--soft); color: var(--ink); }
.showcase-bg::before { background: radial-gradient(90% 70% at 20% 100%, #eef2f9 0%, var(--soft) 60%); }
.blob-d { background: radial-gradient(circle, rgba(217, 28, 38, .16), rgba(217, 28, 38, 0) 65%); }
.showcase .hero-noise { opacity: .03; }
.eyebrow-light { color: var(--muted); }
.showcase-copy h2 { color: var(--ink); }
.section-lead-light { color: var(--muted); }
.check-list-light .check-mark { background: #fff; border-color: var(--line); color: var(--red); }
.check-list-light div > span { color: var(--muted); }
.showcase-art svg { filter: drop-shadow(0 30px 60px rgba(11, 20, 48, .16)); }
.cta-card { background: linear-gradient(120deg, #fdf3f4 0%, #fff7f7 60%, #f5f7fd 100%); color: var(--ink); border: 1px solid #f0e2e4; }
.cta-bg::before { background: none; }
.blob-e { background: radial-gradient(circle, rgba(217, 28, 38, .18), rgba(217, 28, 38, 0) 65%); }
.cta-card .hero-noise { opacity: .03; }
.cta-copy h2 { color: var(--ink); }
.cta-note { color: var(--muted); }
.cta-note a { color: var(--red); }

/* ---------- Hero cover mode: photo background (body.has-cover), the rest of the page stays light ---------- */
body.has-cover .hero { color: #fff; background: #0b1226; }
body.has-cover .hero-bg::before { background: linear-gradient(90deg, rgba(8, 13, 30, .92) 0%, rgba(8, 13, 30, .74) 42%, rgba(8, 13, 30, .3) 100%), url("/tbx/hero-cover.jpg") center / cover no-repeat; }
body.has-cover .blob, body.has-cover .hero-floor { display: none; }
body.has-cover .hero-noise { opacity: .06; }
body.has-cover .hero-spot { background: radial-gradient(520px circle at var(--mx, 70%) var(--my, 40%), rgba(255, 255, 255, .06), transparent 60%); }
body.has-cover .hero-pill { background: rgba(255, 255, 255, .08); border-color: rgba(255, 255, 255, .16); color: rgba(255, 255, 255, .88); box-shadow: none; }
body.has-cover .pill-sep { background: rgba(255, 255, 255, .35); }
body.has-cover .hero-copy h1 { color: #fff; }
body.has-cover .hero-copy .lead { color: rgba(255, 255, 255, .8); }
body.has-cover .btn-glass { background: rgba(255, 255, 255, .1); color: #fff; border: 1px solid rgba(255, 255, 255, .24); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); }
body.has-cover .btn-glass:hover { background: rgba(255, 255, 255, .16); border-color: rgba(255, 255, 255, .38); }
body.has-cover .hero-facts { color: rgba(255, 255, 255, .8); }
body.has-cover .hero-facts .icon { color: var(--green-bright); }
body.has-cover .marquee { border-top-color: rgba(255, 255, 255, .1); background: rgba(8, 13, 30, .6); backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); }
body.has-cover .marquee-track span { color: rgba(255, 255, 255, .72); }
body.has-cover .marquee-track span::after { background: var(--red-hot); }
body.has-cover .site-header--hero:not(.is-scrolled) { background: linear-gradient(180deg, rgba(8, 13, 30, .6), rgba(8, 13, 30, 0)); backdrop-filter: none; -webkit-backdrop-filter: none; }
body.has-cover .site-header--hero:not(.is-scrolled) .brand, body.has-cover .site-header--hero:not(.is-scrolled) .link-login { color: #fff; }
body.has-cover .site-header--hero:not(.is-scrolled) .site-nav a { color: rgba(255, 255, 255, .8); }
body.has-cover .site-header--hero:not(.is-scrolled) .site-nav a:hover { background: rgba(255, 255, 255, .1); color: #fff; }
body.has-cover .site-header--hero:not(.is-scrolled) .link-login:hover { color: #fff; }
body.has-cover .glass { box-shadow: 0 50px 100px rgba(3, 8, 28, .55), 0 1px 0 rgba(255, 255, 255, .8) inset; }
@media (max-width: 600px) { body.has-cover .hero-bg::before { background-position: 68% center; background-image: linear-gradient(180deg, rgba(8, 13, 30, .88) 0%, rgba(8, 13, 30, .7) 60%, rgba(8, 13, 30, .45) 100%), url("/tbx/hero-cover.jpg"); } }

/* ---------- Trust: editorial list (replaces icon cards) ---------- */
.trust-list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); border-top: 1px solid var(--line); }
.trust-item { display: grid; grid-template-columns: 56px minmax(0, 1fr); gap: 16px; padding: 34px 0; border-bottom: 1px solid var(--line); }
.trust-item:nth-child(odd) { padding-right: 44px; border-right: 1px solid var(--line); }
.trust-item:nth-child(even) { padding-left: 44px; }
.trust-index { font-family: var(--display); font-size: 13px; font-weight: 700; letter-spacing: .08em; color: var(--red); padding-top: 7px; }
.trust-body h3 { font-size: 20px; }
.trust-body p { margin-top: 10px; font-size: 15.5px; line-height: 1.65; color: var(--muted); max-width: 46ch; }
.trust-body .link-arrow { margin-top: 16px; font-size: 14px; }
.trust-note { margin-top: 28px; padding: 0 0 0 20px; border: 0; border-left: 2px solid var(--red); border-radius: 0; background: none; font-size: 14px; line-height: 1.65; color: var(--muted); max-width: 72ch; }

/* ---------- Calm cover hero: photo + headline, no decorative terminal, coins or marquee ---------- */
body.has-cover .hero-bg::before { background: linear-gradient(90deg, rgba(8, 13, 24, .52) 0%, rgba(8, 13, 24, .34) 42%, rgba(8, 13, 24, .06) 100%), url("/tbx/hero-cover.jpg") center / cover no-repeat; }
body.cover-clean .hero { padding-bottom: clamp(72px, 9vw, 130px); }
body.cover-clean .hero-visual, body.cover-clean .marquee, body.cover-clean .hero-spot { display: none; }
body.cover-clean .hero-grid { grid-template-columns: minmax(0, 1fr); min-height: min(72vh, 720px); padding-bottom: 0; align-content: center; }
body.cover-clean .hero-copy { max-width: 620px; }
body.cover-clean .hero-copy .lead { max-width: 560px; }
@media (max-width: 600px) {
  body.has-cover .hero-bg::before { background-image: linear-gradient(180deg, rgba(8, 13, 24, .8) 0%, rgba(8, 13, 24, .62) 55%, rgba(8, 13, 24, .5) 100%), url("/tbx/hero-cover-m.jpg"); background-position: 64% center; }
  body.cover-clean .hero-grid { min-height: 0; }
  .trust-list { grid-template-columns: 1fr; }
  .trust-item:nth-child(odd) { padding-right: 0; border-right: 0; }
  .trust-item:nth-child(even) { padding-left: 0; }
  .trust-item { grid-template-columns: 40px minmax(0, 1fr); padding: 26px 0; }
}
@media (min-width: 601px) and (max-width: 960px) {
  .trust-item:nth-child(odd) { padding-right: 24px; }
  .trust-item:nth-child(even) { padding-left: 24px; }
}

/* Trust list: neutralise the earlier card styling that shares the .trust-item class. */
.trust-list .trust-item { border-radius: 0; background: none; box-shadow: none; border-top: 0; border-left: 0; padding-top: 34px; padding-bottom: 34px; }
.trust-list .trust-item:hover { transform: none; box-shadow: none; }
.trust-list .trust-item:nth-child(even) { border-right: 0; }
.trust-list .trust-item:nth-last-child(-n+2) { border-bottom: 0; }
.trust-list { border-bottom: 1px solid var(--line); }

/* ---------- Calm page (14.09.2026): numbers strip, editorial features, quiet steps, photo CTA, solid red accent ---------- */
.features { padding: clamp(64px, 8vw, 110px) 0 0; }
.numbers { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); margin-bottom: 48px; }
.number { padding: 30px 28px 30px 0; }
.number + .number { border-left: 1px solid var(--line); padding-left: 28px; }
.number dt { font-size: 13px; font-weight: 600; letter-spacing: .02em; color: var(--muted); }
.number dd { margin-top: 10px; font-family: var(--display); font-size: clamp(30px, 3vw, 44px); font-weight: 700; letter-spacing: -0.02em; line-height: 1; font-variant-numeric: tabular-nums; color: var(--ink); white-space: nowrap; }
.feature-list { margin-bottom: 0; }
.grad { background: none; -webkit-background-clip: initial; background-clip: initial; color: #ff4652; }
.steps li:not(:last-child)::before { display: none; }
.steps li { border-top: 1px solid var(--line); padding-top: 22px; }
.step-number { width: auto; height: auto; border: 0; border-radius: 0; background: none; display: block; font-size: 13px; letter-spacing: .08em; color: var(--red); }
.steps h3 { margin-top: 16px; font-size: 20px; }
.steps-4 { gap: 32px; }
.cta-card { color: #fff; border: 0; background: linear-gradient(90deg, rgba(8, 13, 24, .9) 0%, rgba(8, 13, 24, .7) 45%, rgba(8, 13, 24, .35) 100%), url("/tbx/hero-cover.jpg") 100% 35% / cover no-repeat; }
.cta-bg { display: none; }
.cta-copy h2 { color: #fff; }
.cta-note { color: rgba(255, 255, 255, .75); }
.cta-note a { color: #fff; }
.cta-card .eyebrow-light { color: rgba(255, 255, 255, .6); }
.showcase-art img { width: 100%; height: auto; border-radius: 14px; border: 1px solid var(--line); box-shadow: 0 30px 70px rgba(11, 20, 48, .16); background: #fff; }
.card:hover, .trust-item:hover { transform: none; box-shadow: none; }
@media (max-width: 960px) {
  .numbers { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .number:nth-child(3) { border-left: 0; padding-left: 0; }
  .number:nth-child(n+3) { border-top: 1px solid var(--line); }
  .steps li { padding-top: 18px; }
  .steps li .step-number { grid-row: auto; }
  .steps li { display: block; }
  .steps li:not(:last-child)::before { display: none; }
}
@media (max-width: 600px) {
  .numbers { grid-template-columns: 1fr; margin-bottom: 36px; }
  .number { padding: 20px 0 !important; border-left: 0 !important; }
  .number + .number { border-top: 1px solid var(--line); }
  .cta-card { background-position: 80% 40%; }
}

/* Header while scrolled inside the cover hero: dark translucent, white text (white header only after the hero). */
body.has-cover .site-header--hero.is-dark-scrolled { background: rgba(8, 13, 24, .78); backdrop-filter: saturate(140%) blur(14px); -webkit-backdrop-filter: saturate(140%) blur(14px); border-bottom-color: rgba(255, 255, 255, .08); box-shadow: none; }

/* No gradient band under the header at the top of the cover hero. */
body.has-cover .site-header--hero:not(.is-scrolled):not(.is-dark-scrolled) { background: transparent; border-bottom-color: transparent; box-shadow: none; }

/* Manrope for display, numbers and indices (decision 14.09.2026, option 2). */
.number dd { font-weight: 800; letter-spacing: -0.03em; }
.trust-index, .step-number { font-weight: 800; letter-spacing: .04em; }
.doc h1 { font-weight: 800; letter-spacing: -0.03em; }
.brand-word { font-family: var(--display); font-weight: 800; letter-spacing: -0.03em; }
.brand-word em { font-weight: 600; }

/* Hero pill: keep the segment label on one line; on phones show only the short label. */
.hero-pill .pill-main { white-space: nowrap; }
@media (max-width: 600px) {
  .hero-pill .pill-sep, .hero-pill .pill-detail { display: none; }
}

/* Inline code in documents and FAQ (referral link sample). */
.doc code, .faq-list code { font-family: ui-monospace, "SF Mono", Menlo, Consolas, monospace; font-size: .92em; padding: 2px 6px; border-radius: 6px; background: #f3f5f9; color: var(--ink); white-space: nowrap; }
