/* jetbot.site — public design system */

@font-face {
  font-family: 'Manrope';
  src: url('/static/fonts/manrope-latin.woff2') format('woff2');
  font-weight: 200 800; font-display: swap;
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+20AC, U+20BD, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Manrope';
  src: url('/static/fonts/manrope-cyrillic.woff2') format('woff2');
  font-weight: 200 800; font-display: swap;
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}
@font-face {
  font-family: 'JetBrains Mono';
  src: url('/static/fonts/jetbrains-mono-latin.woff2') format('woff2');
  font-weight: 100 800; font-display: swap;
  unicode-range: U+0000-00FF, U+2000-206F, U+20BD;
}
@font-face {
  font-family: 'JetBrains Mono';
  src: url('/static/fonts/jetbrains-mono-cyrillic.woff2') format('woff2');
  font-weight: 100 800; font-display: swap;
  unicode-range: U+0400-045F, U+0490-0491;
}

:root {
  --bg: #f3f5f9;
  --bg-2: #e8ecf3;
  --surface: #ffffff;
  --surface-2: #f6f8fb;
  --ink: #0e1320;
  --ink-2: #2b3445;
  --muted: #667085;
  --faint: #98a2b3;
  --line: #e3e7ee;
  --line-2: #d5dbe5;

  --accent: #0a6cff;
  --accent-hover: #0052d4;
  --accent-soft: #e8f1ff;
  --accent-ring: rgba(10, 108, 255, .22);
  --hero: linear-gradient(135deg, #062a6b 0%, #0a52d6 52%, #2f8bff 100%);
  --navy: #071a3e;
  --usdt: #1ba27a;
  --usdt-soft: #e5f6f0;
  --ok: #12b76a;
  --ok-soft: #e7f8ef;
  --warn: #b54708;
  --warn-soft: #fef4e6;
  --bad: #f04438;
  --bad-soft: #fef0ef;

  --r-xl: 28px;
  --r-lg: 18px;
  --r: 12px;
  --r-sm: 10px;
  --shadow-sm: 0 1px 2px rgba(14, 19, 32, .05);
  --shadow: 0 1px 2px rgba(14, 19, 32, .04), 0 10px 30px -12px rgba(14, 19, 32, .12);
  --shadow-lg: 0 2px 4px rgba(14, 19, 32, .04), 0 24px 64px -24px rgba(14, 19, 32, .22);

  --font: 'Manrope', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
  --mono: 'JetBrains Mono', ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  --wrap: 1200px;
  --header-h: 72px;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.55;
  color: var(--ink);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  font-feature-settings: 'cv11', 'ss01';
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}
img, svg { display: block; max-width: 100%; }
a { color: var(--accent); text-decoration: none; }
a:hover { color: var(--accent-hover); }
button { font: inherit; color: inherit; }
::selection { background: var(--accent-soft); color: var(--ink); }
:focus-visible { outline: 3px solid var(--accent-ring); outline-offset: 2px; border-radius: 6px; }

h1, h2, h3, h4 { margin: 0; color: var(--ink); letter-spacing: -0.025em; line-height: 1.12; font-weight: 800; }
h1 { font-size: clamp(34px, 4.6vw, 58px); letter-spacing: -0.035em; line-height: 1.04; }
h2 { font-size: clamp(26px, 3vw, 38px); }
h3 { font-size: 19px; letter-spacing: -0.015em; }
p { margin: 0; }

.wrap { width: min(var(--wrap), calc(100% - 40px)); margin: 0 auto; }
.wrap--narrow { width: min(1040px, calc(100% - 40px)); }
.mono { font-family: var(--mono); font-variant-numeric: tabular-nums; letter-spacing: -0.01em; }
.num { font-variant-numeric: tabular-nums; }
.muted { color: var(--muted); }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* ---------- Header ---------- */
.hdr {
  position: sticky; top: 0; z-index: 50;
  height: var(--header-h);
  background: rgba(243, 245, 249, .82);
  backdrop-filter: saturate(180%) blur(16px);
  -webkit-backdrop-filter: saturate(180%) blur(16px);
  border-bottom: 1px solid transparent;
  transition: border-color .2s, background .2s;
}
.hdr.is-scrolled { border-bottom-color: var(--line); background: rgba(255, 255, 255, .86); }
.hdr__in { height: 100%; display: flex; align-items: center; gap: 24px; }
.logo { display: inline-flex; align-items: center; gap: 10px; color: var(--ink); flex-shrink: 0; }
.logo:hover { color: var(--ink); }
.logo__badge { width: 44px; height: 44px; flex-shrink: 0; }
.logo__word { display: flex; flex-direction: column; gap: 4px; line-height: 1; }
.logo__word img { width: 106px; height: 20px; }
.logo__word small { font-size: 10.5px; font-weight: 700; letter-spacing: .2em; text-transform: uppercase; color: var(--muted); padding-left: 3px; }
.nav { display: flex; gap: 2px; flex: 1; }
.nav a {
  color: var(--ink-2); font-size: 15px; font-weight: 600;
  padding: 8px 12px; border-radius: 999px;
  transition: background .15s, color .15s;
}
.nav a:hover { background: rgba(14, 19, 32, .05); color: var(--ink); }
.nav a.is-active { color: var(--ink); background: rgba(14, 19, 32, .06); }
.hdr__actions { display: flex; align-items: center; gap: 10px; margin-left: auto; }
.lang-switch {
  display: inline-flex; align-items: center; height: 38px; padding: 3px;
  border: 1px solid var(--line-2); border-radius: 999px; background: var(--surface);
  font-size: 13px; font-weight: 700;
}
.lang-switch a, .lang-switch span { padding: 0 11px; height: 30px; display: inline-flex; align-items: center; border-radius: 999px; color: var(--muted); }
.lang-switch span { background: var(--ink); color: #fff; }
.lang-switch a:hover { color: var(--ink); }
.burger {
  display: none; width: 42px; height: 42px; border-radius: 12px;
  border: 1px solid var(--line-2); background: var(--surface); cursor: pointer;
  align-items: center; justify-content: center;
}
.burger svg { width: 20px; height: 20px; }
.mnav { display: none; }

/* Wallet links (header) */
.wl {
  display: inline-flex; align-items: center; gap: 2px; height: 40px; padding: 3px;
  border-radius: 999px; background: var(--hero);
  box-shadow: 0 8px 22px -10px rgba(10, 82, 214, .75), inset 0 0 0 1px rgba(255, 255, 255, .14);
}
.wl__tag {
  padding: 0 8px 0 11px; font-size: 11px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase;
  color: rgba(255, 255, 255, .72); white-space: nowrap;
}
.wl__btn {
  display: inline-flex; align-items: center; gap: 6px; height: 34px; padding: 0 12px;
  border-radius: 999px; color: #fff; font-size: 13.5px; font-weight: 700; white-space: nowrap;
  transition: background .15s;
}
.wl__btn:hover { background: rgba(255, 255, 255, .16); color: #fff; }
.wl__btn svg { width: 16px; height: 16px; flex-shrink: 0; }
.wl__btn + .wl__btn { position: relative; }
.wl__btn + .wl__btn::before {
  content: ''; position: absolute; left: -1px; top: 10px; bottom: 10px; width: 1px; background: rgba(255, 255, 255, .22);
}
@media (max-width: 1180px) {
  .wl__btn span { display: none; }
  .wl__btn { padding: 0; width: 34px; justify-content: center; }
}
@media (max-width: 1040px) { .wl__tag { display: none; } }

@media (max-width: 960px) {
  .nav, .hdr__actions .btn, .wl { display: none; }
  .burger { display: inline-flex; }
  .mnav {
    position: fixed; inset: var(--header-h) 0 auto 0; z-index: 49;
    background: var(--surface); border-bottom: 1px solid var(--line);
    box-shadow: var(--shadow-lg);
    padding: 14px 20px 20px;
    max-height: calc(100vh - var(--header-h)); overflow-y: auto;
    display: none; flex-direction: column; gap: 2px;
  }
  .mnav.is-open { display: flex; }
  .mnav > a { padding: 13px 4px; font-size: 17px; font-weight: 700; color: var(--ink); border-bottom: 1px solid var(--line); }
  .mnav > a:last-child { border-bottom: 0; }
  .mnav .btn { margin-top: 12px; color: #fff; border-bottom: 0; justify-content: center; }
  .mnav__wallet { padding: 14px; border-radius: var(--r-lg); background: var(--hero); margin-bottom: 8px; }
  .mnav__label { display: block; font-size: 11px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; color: rgba(255, 255, 255, .75); margin: 0 0 10px 2px; }
  .mnav__wl { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }
  .mnav__wl a {
    display: flex; flex-direction: column; align-items: center; gap: 6px; padding: 12px 6px;
    border-radius: 14px; background: rgba(255, 255, 255, .12); border: 1px solid rgba(255, 255, 255, .18);
    color: #fff; font-size: 13px; font-weight: 700; text-align: center; line-height: 1.2;
  }
  .mnav__wl a:hover { background: rgba(255, 255, 255, .2); color: #fff; }
  .mnav__wl svg { width: 22px; height: 22px; }
}
@media (max-width: 400px) {
  .logo__word img { width: 90px; height: 17px; }
  .logo__badge { width: 38px; height: 38px; }
}

/* ---------- Buttons ---------- */
.btn {
  --h: 44px;
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  height: var(--h); padding: 0 20px;
  border-radius: 999px; border: 1px solid transparent;
  font-size: 15px; font-weight: 700; letter-spacing: -0.01em; line-height: 1;
  cursor: pointer; white-space: nowrap; text-decoration: none;
  transition: background .15s, border-color .15s, color .15s, transform .08s, box-shadow .15s;
}
.btn:active { transform: translateY(1px); }
.btn svg { width: 18px; height: 18px; flex-shrink: 0; }
.btn--primary { background: var(--accent); color: #fff; box-shadow: 0 8px 20px -8px rgba(10, 108, 255, .65); }
.btn--primary:hover { background: var(--accent-hover); color: #fff; }
.btn--dark { background: var(--ink); color: #fff; }
.btn--dark:hover { background: #1f2a44; color: #fff; }
.btn--light { background: #fff; color: var(--ink); }
.btn--light:hover { background: #eef0f4; color: var(--ink); }
.btn--ghost { background: var(--surface); border-color: var(--line-2); color: var(--ink); }
.btn--ghost:hover { border-color: var(--ink-2); color: var(--ink); }
.btn--outline-light { border-color: rgba(255, 255, 255, .28); color: #fff; }
.btn--outline-light:hover { border-color: #fff; color: #fff; }
.btn--sm { --h: 36px; padding: 0 14px; font-size: 14px; }
.btn--lg { --h: 56px; padding: 0 26px; font-size: 16px; }
.btn--block { width: 100%; }
.btn[disabled], .btn.is-disabled { opacity: .45; pointer-events: none; box-shadow: none; }

/* ---------- Main ---------- */
.main { flex: 1; }
.section { padding: 96px 0; }
.section--tight { padding: 64px 0; }
.section--flush-top { padding-top: 0; }
.section--alt { background: var(--surface); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.section--alt .step, .section--alt .feature { background: var(--surface-2); }
.section__head { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; margin-bottom: 40px; flex-wrap: wrap; }
.section__head p { color: var(--muted); max-width: 520px; font-size: 17px; }
.eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 13px; font-weight: 700; color: var(--ink-2);
  padding: 6px 12px 6px 10px; border-radius: 999px;
  background: var(--surface); border: 1px solid var(--line);
  box-shadow: var(--shadow-sm);
}
.dot { width: 8px; height: 8px; border-radius: 50%; background: var(--ok); box-shadow: 0 0 0 4px rgba(18, 183, 106, .15); flex-shrink: 0; }
.dot--pulse { animation: pulse 2s infinite; }
@keyframes pulse { 0%, 100% { box-shadow: 0 0 0 3px rgba(18, 183, 106, .18); } 50% { box-shadow: 0 0 0 7px rgba(18, 183, 106, .06); } }

/* ---------- Hero ---------- */
.hero { position: relative; padding: 56px 0 96px; overflow: hidden; }
.hero::before {
  content: ''; position: absolute; inset: -40% -10% auto -10%; height: 900px; z-index: -1;
  background:
    radial-gradient(600px 380px at 78% 30%, rgba(10, 108, 255, .14), transparent 70%),
    radial-gradient(520px 340px at 92% 70%, rgba(47, 139, 255, .12), transparent 70%),
    radial-gradient(700px 420px at 10% 10%, rgba(255, 255, 255, .9), transparent 70%);
}
.hero::after {
  content: ''; position: absolute; inset: 0; z-index: -1;
  background-image: linear-gradient(var(--line) 1px, transparent 1px), linear-gradient(90deg, var(--line) 1px, transparent 1px);
  background-size: 56px 56px;
  mask-image: radial-gradient(700px 420px at 70% 30%, #000 10%, transparent 75%);
  -webkit-mask-image: radial-gradient(700px 420px at 70% 30%, #000 10%, transparent 75%);
  opacity: .55;
}
.hero__grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 500px); gap: 64px; align-items: center; }
.hero__copy h1 { margin: 22px 0 22px; }
.hero__copy h1 em { font-style: normal; color: var(--accent); }
.hero__lead { font-size: 19px; color: var(--ink-2); max-width: 560px; line-height: 1.55; }
.trust { list-style: none; padding: 0; margin: 34px 0 0; display: flex; flex-wrap: wrap; gap: 10px 26px; }
.trust li { display: inline-flex; align-items: center; gap: 10px; font-size: 15px; font-weight: 600; color: var(--ink-2); }
.trust svg { width: 22px; height: 22px; color: var(--ok); }
@media (max-width: 1040px) {
  .hero__grid { grid-template-columns: minmax(0, 1fr); gap: 40px; }
  .hero { padding: 32px 0 64px; }
}

/* ---------- Exchange card ---------- */
.xc {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--r-xl);
  box-shadow: var(--shadow-lg);
  padding: 22px;
  position: relative;
}
.xc__head { display: flex; align-items: center; justify-content: space-between; padding: 2px 4px 16px; }
.xc__title { font-size: 18px; font-weight: 800; letter-spacing: -0.02em; }
.xc__live { display: inline-flex; align-items: center; gap: 8px; font-size: 13px; font-weight: 600; color: var(--muted); }
.xc__field {
  background: var(--surface-2); border: 1px solid var(--line);
  border-radius: var(--r-lg); padding: 14px 16px 16px;
  transition: border-color .15s, box-shadow .15s, background .15s;
}
.xc__field:focus-within { border-color: var(--accent); box-shadow: 0 0 0 4px var(--accent-ring); background: #fff; }
.xc__top { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-bottom: 10px; flex-wrap: wrap; }
.xc__label { font-size: 13px; font-weight: 700; color: var(--muted); }
.xc__row { display: flex; align-items: center; gap: 12px; }
.xc__input {
  flex: 1; min-width: 0; border: 0; outline: 0; background: transparent; padding: 0;
  font-family: var(--font); font-size: 34px; font-weight: 700; letter-spacing: -0.03em;
  color: var(--ink); font-variant-numeric: tabular-nums;
}
.xc__input::placeholder { color: var(--line-2); }
.asset {
  display: inline-flex; align-items: center; gap: 8px; flex-shrink: 0;
  height: 40px; padding: 0 14px 0 6px; border-radius: 999px;
  background: var(--surface); border: 1px solid var(--line);
  font-weight: 800; font-size: 15px; letter-spacing: -0.01em;
}
.asset svg { width: 28px; height: 28px; }
.xc__mid { display: flex; align-items: center; gap: 12px; padding: 0 6px; height: 46px; position: relative; }
.xc__swap {
  width: 38px; height: 38px; border-radius: 12px; display: grid; place-items: center;
  background: var(--surface); border: 1px solid var(--line); color: var(--ink-2);
  box-shadow: var(--shadow-sm); margin-left: 6px;
}
.xc__swap svg { width: 18px; height: 18px; }
.xc__rate { font-size: 14px; font-weight: 600; color: var(--muted); }
.xc__rate b { color: var(--ink); font-weight: 800; }
.xc__meta { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; margin: 14px 0 16px; padding: 0; }
.xc__meta div { padding: 10px 12px; border-radius: var(--r); background: var(--surface-2); border: 1px solid var(--line); min-width: 0; }
.xc__meta dt { font-size: 12px; color: var(--muted); font-weight: 600; }
.xc__meta dd { margin: 2px 0 0; font-size: 14px; font-weight: 800; letter-spacing: -0.01em; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.xc__fine { margin-top: 12px; text-align: center; font-size: 13px; color: var(--muted); }
.xc .note { margin-bottom: 14px; }
@media (max-width: 520px) {
  .xc { padding: 14px; border-radius: 24px; }
  .xc__input { font-size: 28px; }
  .xc__meta { grid-template-columns: 1fr 1fr; }
  .xc__meta div:last-child { grid-column: span 2; }
}

/* Segmented radio */
.seg { display: inline-flex; padding: 3px; gap: 2px; border-radius: 999px; background: var(--bg-2); }
.seg input { position: absolute; opacity: 0; pointer-events: none; }
.seg label {
  display: inline-flex; align-items: center; gap: 6px;
  height: 30px; padding: 0 12px; border-radius: 999px;
  font-size: 13px; font-weight: 700; color: var(--muted); cursor: pointer; user-select: none;
  transition: background .15s, color .15s, box-shadow .15s;
}
.seg label:hover { color: var(--ink); }
.seg input:checked + label { background: var(--surface); color: var(--ink); box-shadow: 0 1px 3px rgba(14, 19, 32, .12); }
.seg input:focus-visible + label { outline: 3px solid var(--accent-ring); }

/* ---------- Alerts / notes ---------- */
.note {
  display: flex; gap: 10px; align-items: flex-start;
  padding: 12px 14px; border-radius: var(--r); font-size: 14px; line-height: 1.45;
  background: var(--accent-soft); color: #0a3d91;
}
.note svg { width: 18px; height: 18px; flex-shrink: 0; margin-top: 1px; }
.note--warn { background: var(--warn-soft); color: #93370d; }
.note--bad { background: var(--bad-soft); color: #b42318; }
.note--ok { background: var(--ok-soft); color: #067647; }
.note[hidden] { display: none; }

/* ---------- Directions ---------- */
.dirs { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.dir {
  display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 18px;
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-lg);
  padding: 18px 18px 18px 20px; color: var(--ink);
  transition: border-color .15s, box-shadow .15s, transform .15s;
}
.dir:hover { color: var(--ink); border-color: var(--line-2); box-shadow: var(--shadow); transform: translateY(-1px); }
.dir__pair { display: flex; align-items: center; }
.dir__pair svg { width: 40px; height: 40px; border-radius: 50%; box-shadow: 0 0 0 3px var(--surface); }
.dir__pair svg + svg { margin-left: -10px; }
.dir__name { display: block; font-weight: 800; font-size: 16px; letter-spacing: -0.015em; }
.dir__sub { display: block; font-size: 13px; color: var(--muted); margin-top: 2px; }
.dir__rate { text-align: right; }
.dir__rate b { display: block; font-size: 18px; font-weight: 800; letter-spacing: -0.02em; }
.dir__rate span { font-size: 12px; color: var(--muted); }
@media (max-width: 860px) { .dirs { grid-template-columns: minmax(0, 1fr); } }

/* ---------- Steps ---------- */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; counter-reset: s; }
.step { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-lg); padding: 28px; position: relative; }
.step__n {
  width: 44px; height: 44px; border-radius: 14px; display: grid; place-items: center;
  background: var(--hero); color: #fff; font-weight: 800; font-size: 17px; margin-bottom: 22px;
  box-shadow: 0 8px 18px -8px rgba(10, 82, 214, .6);
}
.step h3 { margin-bottom: 10px; }
.step p { color: var(--muted); font-size: 15px; }
@media (max-width: 860px) { .steps { grid-template-columns: minmax(0, 1fr); } }

/* ---------- Features ---------- */
.features { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.feature { padding: 26px; border-radius: var(--r-lg); background: var(--surface); border: 1px solid var(--line); }
.feature__ic {
  width: 46px; height: 46px; border-radius: 14px; display: grid; place-items: center;
  background: var(--accent-soft); color: var(--accent); margin-bottom: 20px;
}
.feature__ic svg { width: 22px; height: 22px; }
.feature:nth-child(2) .feature__ic { background: var(--usdt-soft); color: var(--usdt); }
.feature:nth-child(3) .feature__ic { background: #f3edff; color: #6d3ff0; }
.feature:nth-child(4) .feature__ic { background: var(--warn-soft); color: var(--warn); }
.feature h3 { margin-bottom: 8px; font-size: 17px; }
.feature p { color: var(--muted); font-size: 14.5px; }
@media (max-width: 1040px) { .features { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .features { grid-template-columns: minmax(0, 1fr); } }

/* ---------- FAQ ---------- */
.faq-grid { display: grid; grid-template-columns: 360px 1fr; gap: 56px; align-items: start; }
.faq-grid > div:first-child p { color: var(--muted); margin-top: 14px; font-size: 17px; }
.faq { border-top: 1px solid var(--line-2); }
.faq details { border-bottom: 1px solid var(--line-2); }
.faq summary {
  list-style: none; cursor: pointer; padding: 22px 0;
  display: flex; align-items: center; justify-content: space-between; gap: 20px;
  font-size: 18px; font-weight: 700; letter-spacing: -0.015em;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary i {
  width: 32px; height: 32px; border-radius: 50%; flex-shrink: 0; position: relative;
  background: var(--surface); border: 1px solid var(--line-2); transition: transform .2s, background .2s;
}
.faq summary i::before, .faq summary i::after {
  content: ''; position: absolute; left: 50%; top: 50%; width: 12px; height: 2px; border-radius: 2px;
  background: var(--ink); transform: translate(-50%, -50%);
}
.faq summary i::after { transform: translate(-50%, -50%) rotate(90deg); transition: transform .2s; }
.faq details[open] summary i { background: var(--ink); }
.faq details[open] summary i::before, .faq details[open] summary i::after { background: #fff; }
.faq details[open] summary i::after { transform: translate(-50%, -50%) rotate(0); }
.faq details p { padding: 0 52px 24px 0; color: var(--ink-2); font-size: 16px; }
@media (max-width: 960px) { .faq-grid { grid-template-columns: minmax(0, 1fr); gap: 24px; } }

/* ---------- CTA band ---------- */
.cta {
  position: relative; overflow: hidden;
  background: var(--hero); color: #fff; border-radius: var(--r-xl);
  padding: 56px; display: grid; grid-template-columns: 1fr auto; gap: 32px; align-items: center;
}
.cta::before {
  content: ''; position: absolute; right: -120px; top: -160px; width: 520px; height: 520px; border-radius: 50%;
  background: radial-gradient(circle, rgba(255, 255, 255, .16), transparent 65%);
}
.cta > * { position: relative; }
.cta h2 { color: #fff; }
.cta p { color: rgba(255, 255, 255, .7); margin-top: 12px; font-size: 17px; max-width: 560px; }
.cta__btns { display: flex; gap: 12px; flex-wrap: wrap; }
@media (max-width: 860px) { .cta { grid-template-columns: minmax(0, 1fr); padding: 36px 28px; } }

/* ---------- Wallet band ---------- */
.wband {
  position: relative; overflow: hidden; isolation: isolate;
  display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); gap: 48px; align-items: center;
  padding: 52px; border-radius: var(--r-xl); background: var(--hero); color: #fff;
}
.wband::before {
  content: ''; position: absolute; z-index: -1; left: -160px; top: -200px; width: 560px; height: 560px; border-radius: 50%;
  background: radial-gradient(circle, rgba(255, 255, 255, .16), transparent 65%);
}
.wband__head { display: flex; align-items: center; gap: 14px; }
.wband__badge { width: 60px; height: 60px; padding: 5px; border-radius: 18px; background: #fff; box-shadow: 0 10px 24px -10px rgba(2, 16, 48, .55); flex-shrink: 0; }
.wband__eyebrow { font-size: 12px; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; color: rgba(255, 255, 255, .75); }
.wband h2 { color: #fff; margin: 22px 0 14px; }
.wband p { color: rgba(255, 255, 255, .8); font-size: 17px; max-width: 470px; }
.wband__support {
  display: inline-flex; align-items: center; gap: 8px; margin-top: 24px; padding: 9px 16px 9px 12px;
  border-radius: 999px; background: rgba(255, 255, 255, .12); border: 1px solid rgba(255, 255, 255, .18);
  font-size: 14px; font-weight: 700; color: #fff;
}
.wband__support:hover { background: rgba(255, 255, 255, .2); color: #fff; }
.wband__support svg { width: 18px; height: 18px; }
.wapps { display: grid; gap: 12px; }
.wapp {
  display: grid; grid-template-columns: auto minmax(0, 1fr) auto; align-items: center; gap: 16px;
  padding: 18px 20px; border-radius: var(--r-lg);
  background: rgba(255, 255, 255, .1); border: 1px solid rgba(255, 255, 255, .2); color: #fff;
  transition: background .15s, transform .15s;
}
.wapp:hover { background: rgba(255, 255, 255, .18); color: #fff; transform: translateY(-1px); }
.wapp__ic { width: 48px; height: 48px; border-radius: 14px; display: grid; place-items: center; background: #fff; color: var(--accent); }
.wapp__ic svg { width: 24px; height: 24px; }
.wapp b { display: block; font-size: 17px; font-weight: 800; letter-spacing: -0.015em; }
.wapp small { display: block; font-size: 14px; color: rgba(255, 255, 255, .75); margin-top: 3px; line-height: 1.4; }
.wapp__go { width: 38px; height: 38px; border-radius: 50%; display: grid; place-items: center; background: rgba(255, 255, 255, .14); }
.wapp__go svg { width: 18px; height: 18px; }
@media (max-width: 960px) { .wband { grid-template-columns: minmax(0, 1fr); padding: 36px 28px; gap: 28px; } }
@media (max-width: 520px) {
  .wband { padding: 28px 16px; border-radius: 24px; }
  .wapp { padding: 14px; gap: 12px; }
  .wapp__ic { width: 42px; height: 42px; }
  .wapp__go { width: 32px; height: 32px; }
}

/* Compact wallet strip (contacts, order success) */
.wstrip { display: flex; align-items: center; gap: 20px; flex-wrap: wrap; padding: 22px 24px; border-radius: var(--r-lg); background: var(--hero); color: #fff; }
.wstrip__text { flex: 1 1 260px; min-width: 0; }
.wstrip__text b { display: block; font-size: 17px; font-weight: 800; letter-spacing: -0.015em; }
.wstrip__text span { display: block; font-size: 14.5px; color: rgba(255, 255, 255, .78); margin-top: 4px; }
.wstrip__btns { display: flex; gap: 8px; flex-wrap: wrap; }
.wstrip__btns a {
  display: inline-flex; align-items: center; gap: 8px; height: 40px; padding: 0 14px; border-radius: 999px;
  background: #fff; color: var(--accent-hover); font-size: 14px; font-weight: 800; white-space: nowrap;
}
.wstrip__btns a:hover { background: #eaf2ff; color: var(--accent-hover); }
.wstrip__btns svg { width: 16px; height: 16px; }
.wstrip .logo__badge { width: 52px; height: 52px; padding: 4px; border-radius: 16px; background: #fff; }

/* ---------- Cards & forms ---------- */
.card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-lg); padding: 28px; box-shadow: var(--shadow-sm); }
.card--lg { border-radius: var(--r-xl); padding: 36px; }
.card__title { font-size: 22px; font-weight: 800; letter-spacing: -0.02em; }
.card__lead { color: var(--muted); margin-top: 6px; }
@media (max-width: 560px) { .card, .card--lg { padding: 22px; border-radius: var(--r-lg); } }

.field { display: grid; grid-template-columns: minmax(0, 1fr); gap: 7px; margin-bottom: 18px; align-content: start; }
.field > label, .field__label { font-size: 14px; font-weight: 700; color: var(--ink-2); }
.field__hint { font-size: 13px; color: var(--muted); }
.input {
  width: 100%; height: 52px; padding: 0 16px;
  background: var(--surface); color: var(--ink);
  border: 1px solid var(--line-2); border-radius: var(--r);
  font: inherit; font-size: 16px; font-weight: 600;
  transition: border-color .15s, box-shadow .15s;
}
.input::placeholder { color: var(--faint); font-weight: 500; }
.input:hover { border-color: #c4c9d3; }
.input:focus { outline: 0; border-color: var(--accent); box-shadow: 0 0 0 4px var(--accent-ring); }
.input--mono { font-family: var(--mono); letter-spacing: .02em; }
select.input {
  appearance: none; -webkit-appearance: none; padding-right: 44px; cursor: pointer;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='20' height='20' fill='none' stroke='%23667085' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m5 8 5 5 5-5'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 14px center;
}
.input-wrap { position: relative; }
.input-wrap .input { padding-left: 48px; }
.input-wrap > svg { position: absolute; left: 16px; top: 50%; transform: translateY(-50%); width: 20px; height: 20px; color: var(--faint); pointer-events: none; }
.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 0 16px; }
@media (max-width: 560px) { .grid-2 { grid-template-columns: minmax(0, 1fr); } }

.check { display: flex; gap: 12px; align-items: flex-start; cursor: pointer; padding: 6px 0; font-size: 15px; color: var(--ink-2); line-height: 1.45; }
.check input { position: absolute; opacity: 0; pointer-events: none; }
.check__box {
  width: 22px; height: 22px; flex-shrink: 0; border-radius: 7px; margin-top: 0;
  border: 1.5px solid var(--line-2); background: var(--surface);
  display: grid; place-items: center; transition: background .15s, border-color .15s;
}
.check__box svg { width: 14px; height: 14px; color: #fff; opacity: 0; transform: scale(.6); transition: opacity .15s, transform .15s; }
.check input:checked + .check__box { background: var(--accent); border-color: var(--accent); }
.check input:checked + .check__box svg { opacity: 1; transform: none; }
.check input:focus-visible + .check__box { box-shadow: 0 0 0 4px var(--accent-ring); }
.check a { font-weight: 700; }
.consents { padding: 14px 16px; border-radius: var(--r); background: var(--surface-2); border: 1px solid var(--line); margin: 6px 0 22px; }

/* ---------- Page header / order steps ---------- */
.page { padding: 40px 0 96px; }
.page__head { margin-bottom: 28px; }
.page__head h1 { font-size: clamp(30px, 3.4vw, 44px); }
.page__head p { color: var(--muted); margin-top: 10px; font-size: 17px; }
.back { display: inline-flex; align-items: center; gap: 6px; font-size: 14px; font-weight: 700; color: var(--muted); margin-bottom: 18px; }
.back:hover { color: var(--ink); }
.back svg { width: 16px; height: 16px; }

.progress { display: flex; align-items: center; gap: 10px; margin-bottom: 28px; flex-wrap: wrap; list-style: none; padding: 0; }
.progress li { display: inline-flex; align-items: center; gap: 10px; font-size: 14px; font-weight: 700; color: var(--faint); }
.progress li::after { content: ''; width: 28px; height: 2px; border-radius: 2px; background: var(--line-2); margin-left: 2px; }
.progress li:last-child::after { display: none; }
.progress b {
  width: 28px; height: 28px; border-radius: 50%; display: grid; place-items: center;
  background: var(--surface); border: 1.5px solid var(--line-2); font-size: 13px; color: var(--muted);
}
.progress b svg { width: 14px; height: 14px; }
.progress .is-done { color: var(--ink-2); }
.progress .is-done b { background: var(--ink); border-color: var(--ink); color: #fff; }
.progress .is-done::after { background: var(--ink); }
.progress .is-current { color: var(--ink); }
.progress .is-current b { border-color: var(--accent); color: var(--accent); box-shadow: 0 0 0 4px var(--accent-ring); }
.progress .is-bad b { background: var(--bad); border-color: var(--bad); color: #fff; }
.progress .is-bad { color: var(--bad); }
@media (max-width: 520px) {
  .progress { gap: 6px; }
  .progress li { gap: 6px; font-size: 12.5px; }
  .progress li::after { width: 10px; }
  .progress b { width: 24px; height: 24px; font-size: 12px; }
}

.split { display: grid; grid-template-columns: minmax(0, 1fr) 380px; gap: 24px; align-items: start; }
.split__aside { position: sticky; top: calc(var(--header-h) + 20px); display: grid; gap: 16px; }
@media (max-width: 960px) { .split { grid-template-columns: minmax(0, 1fr); } .split__aside { position: static; } }

/* Summary */
.sum { padding: 24px; }
.sum__head { display: flex; justify-content: space-between; align-items: center; margin-bottom: 18px; }
.sum__head h3 { font-size: 17px; }
.sum__head a { font-size: 14px; font-weight: 700; }
.sum__leg { display: flex; align-items: center; gap: 14px; padding: 14px; border-radius: var(--r); background: var(--surface-2); border: 1px solid var(--line); }
.sum__leg svg { width: 40px; height: 40px; flex-shrink: 0; }
.sum__leg small { display: block; font-size: 12px; color: var(--muted); font-weight: 600; }
.sum__leg b { display: block; font-size: 20px; font-weight: 800; letter-spacing: -0.02em; margin-top: 1px; overflow-wrap: anywhere; }
.sum__leg > div { min-width: 0; }
.sum__leg span.tag { margin-left: auto; }
.sum__arrow { display: grid; place-items: center; height: 26px; color: var(--faint); }
.sum__arrow svg { width: 18px; height: 18px; }
.kv { list-style: none; padding: 0; margin: 18px 0 0; display: grid; gap: 0; }
.kv li { display: flex; justify-content: space-between; gap: 16px; padding: 11px 0; border-top: 1px solid var(--line); font-size: 14px; }
.kv li span:first-child { color: var(--muted); }
.kv li span:last-child { font-weight: 700; text-align: right; word-break: break-word; }
.tag {
  display: inline-flex; align-items: center; gap: 6px; height: 26px; padding: 0 10px;
  border-radius: 999px; font-size: 12px; font-weight: 800; letter-spacing: .01em;
  background: var(--bg-2); color: var(--ink-2); white-space: nowrap;
}
.tag--usdt { background: var(--usdt-soft); color: #0d7a5a; }
.list-notes { list-style: none; padding: 0; margin: 0; display: grid; gap: 12px; }
.list-notes li { display: flex; gap: 10px; font-size: 14px; color: var(--ink-2); }
.list-notes svg { width: 18px; height: 18px; color: var(--ok); flex-shrink: 0; margin-top: 2px; }

/* ---------- Status ---------- */
.pill {
  display: inline-flex; align-items: center; gap: 8px; height: 32px; padding: 0 14px;
  border-radius: 999px; font-size: 14px; font-weight: 800; white-space: nowrap;
  background: var(--accent-soft); color: var(--accent);
}
.pill::before { content: ''; width: 8px; height: 8px; border-radius: 50%; background: currentColor; }
.pill--ok { background: var(--ok-soft); color: var(--ok); }
.pill--bad { background: var(--bad-soft); color: var(--bad); }
.pill--warn { background: var(--warn-soft); color: var(--warn); }
.pill--muted { background: var(--bg-2); color: var(--muted); }
.order-head { display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; margin-bottom: 22px; }
.order-head h1 { font-size: clamp(28px, 3.2vw, 40px); }
.order-head h1 .mono { font-weight: 700; letter-spacing: -0.03em; }
.order-head p { color: var(--muted); margin-top: 6px; font-size: 15px; }

.pay { display: grid; grid-template-columns: minmax(0, 1fr) 160px; gap: 14px; align-items: stretch; }
.pay--noqr { grid-template-columns: minmax(0, 1fr); }
.pay__amount { padding: 20px; border-radius: var(--r-lg); background: var(--surface-2); border: 1px solid var(--line); margin-bottom: 14px; }
.pay .pay__amount { margin-bottom: 0; }
.pay__amount--addr { display: flex; flex-direction: column; align-items: flex-start; gap: 10px; }
.pay__amount--addr .pay__label { align-self: stretch; }
.pay__amount--addr .pay__addr { flex: 1; font-size: 15px; letter-spacing: -0.02em; }
.pay__label { font-size: 13px; font-weight: 700; color: var(--muted); display: flex; justify-content: space-between; align-items: center; gap: 10px; }
.pay__value { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 12px; margin-top: 8px; }
.pay__big { font-family: var(--mono); font-size: 32px; font-weight: 700; letter-spacing: -0.03em; line-height: 1.1; word-break: break-all; }
.pay__big small { font-family: var(--font); font-size: 18px; font-weight: 800; color: var(--muted); margin-left: 6px; letter-spacing: -0.01em; }
.pay__addr { font-family: var(--mono); font-size: 16px; font-weight: 600; line-height: 1.45; word-break: break-all; flex: 1; }
.pay__hint { font-size: 13px; color: var(--muted); margin-top: 8px; font-weight: 600; }
.help p { color: var(--muted); font-size: 14.5px; }
.copy {
  flex-shrink: 0; height: 38px; padding: 0 14px; border-radius: 999px; cursor: pointer;
  display: inline-flex; align-items: center; gap: 6px;
  border: 1px solid var(--line-2); background: var(--surface); font-size: 13px; font-weight: 800; color: var(--ink);
  transition: background .15s, border-color .15s, color .15s;
}
.copy:hover { border-color: var(--ink-2); }
.copy svg { width: 16px; height: 16px; }
.copy.is-done { background: var(--ok-soft); border-color: transparent; color: var(--ok); }
.qr { background: #fff; border: 1px solid var(--line); border-radius: var(--r-lg); padding: 12px; text-align: center; display: flex; flex-direction: column; justify-content: center; }
.qr svg { width: 100%; height: auto; }
.qr svg path { fill: var(--ink); }
.qr p { font-size: 12px; color: var(--muted); margin-top: 8px; font-weight: 600; }
.timer { display: inline-flex; align-items: center; gap: 8px; font-size: 14px; font-weight: 700; color: var(--ink-2); }
.timer b { font-family: var(--mono); font-size: 15px; padding: 3px 8px; border-radius: 8px; background: var(--ink); color: #fff; }
.timer.is-over b { background: var(--bad); }
@media (max-width: 680px) {
  .pay { grid-template-columns: minmax(0, 1fr); }
  .qr { max-width: 220px; margin: 0 auto; }
  .pay__big { font-size: 26px; }
}

.state { text-align: center; padding: 48px 28px; }
.state__ic { width: 76px; height: 76px; border-radius: 50%; display: grid; place-items: center; margin: 0 auto 22px; background: var(--accent-soft); color: var(--accent); }
.state__ic svg { width: 36px; height: 36px; }
.state--ok .state__ic { background: var(--ok-soft); color: var(--ok); }
.state--bad .state__ic { background: var(--bad-soft); color: var(--bad); }
.state--muted .state__ic { background: var(--bg-2); color: var(--muted); }
.state--warn .state__ic { background: var(--warn-soft); color: var(--warn); }
.state h2 { font-size: 28px; }
.state p { color: var(--muted); margin: 12px auto 0; max-width: 440px; font-size: 16px; }
.state .btns { display: flex; gap: 10px; justify-content: center; margin-top: 26px; flex-wrap: wrap; }
.spin { animation: spin 1.1s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }

/* ---------- Docs ---------- */
.doc { display: grid; grid-template-columns: 240px minmax(0, 760px); gap: 48px; align-items: start; }
.doc__nav { position: sticky; top: calc(var(--header-h) + 24px); display: grid; gap: 2px; }
.doc__nav h4 { font-size: 12px; text-transform: uppercase; letter-spacing: .08em; color: var(--faint); margin: 0 0 10px 12px; font-weight: 800; }
.doc__nav a { padding: 10px 12px; border-radius: 12px; font-weight: 700; font-size: 15px; color: var(--ink-2); }
.doc__nav a:hover { background: rgba(14, 19, 32, .05); color: var(--ink); }
.doc__nav a.is-active { background: var(--surface); color: var(--ink); box-shadow: var(--shadow-sm); border: 1px solid var(--line); }
.doc__body h1 { font-size: clamp(30px, 3.4vw, 44px); }
.doc__meta { color: var(--faint); font-size: 14px; font-weight: 600; margin-top: 12px; }
.doc__lead { font-size: 19px; color: var(--ink-2); margin-top: 18px; line-height: 1.55; }
.prose { margin-top: 36px; counter-reset: sec; }
.prose h3 { font-size: 20px; margin: 36px 0 12px; display: flex; align-items: baseline; gap: 12px; }
.prose h3::before {
  counter-increment: sec; content: counter(sec, decimal-leading-zero);
  font-family: var(--mono); font-size: 13px; font-weight: 700; color: var(--accent);
  padding: 3px 8px; border-radius: 8px; background: var(--accent-soft); letter-spacing: 0;
}
.prose h3:first-child { margin-top: 0; }
.prose p, .prose li { color: var(--ink-2); font-size: 16.5px; line-height: 1.7; }
.prose p + p { margin-top: 12px; }
.prose ul { padding-left: 22px; margin: 10px 0 0; }
.prose li + li { margin-top: 6px; }
.prose li::marker { color: var(--faint); }
.prose ol.cl { list-style: none; padding: 0; margin: 0; counter-reset: cl; }
.prose ol.cl > li { counter-increment: cl; position: relative; padding-left: 46px; }
.prose ol.cl > li + li { margin-top: 10px; }
.prose ol.cl > li::before {
  content: counter(sec) "." counter(cl); position: absolute; left: 0; top: 3px;
  font-family: var(--mono); font-size: 13px; font-weight: 700; color: var(--muted);
}
.prose ol.cl ul { margin-top: 8px; }
.prose dl.terms { margin: 0; display: grid; gap: 12px; }
.prose dl.terms div { padding: 14px 16px; border-radius: var(--r); background: var(--surface); border: 1px solid var(--line); }
.prose dl.terms dt { font-weight: 800; color: var(--ink); font-size: 15.5px; }
.prose dl.terms dd { margin: 4px 0 0; color: var(--ink-2); font-size: 15.5px; line-height: 1.6; }
.prose .countries { padding: 16px 18px; border-radius: var(--r); background: var(--surface); border: 1px solid var(--line); font-size: 15px; line-height: 1.75; margin-top: 10px; }
.prose .countries b { display: block; font-size: 13px; text-transform: uppercase; letter-spacing: .06em; color: var(--muted); margin-bottom: 6px; }
.prose .note { margin-top: 14px; font-size: 15px; }
.doc__toc { margin-top: 28px; padding: 18px 20px; border-radius: var(--r-lg); background: var(--surface); border: 1px solid var(--line); }
.doc__toc b { display: block; font-size: 12px; text-transform: uppercase; letter-spacing: .08em; color: var(--faint); margin-bottom: 10px; }
.doc__toc ol { margin: 0; padding-left: 22px; columns: 2; column-gap: 32px; font-size: 15px; }
.doc__toc li { break-inside: avoid; padding: 3px 0; }
.doc__toc li::marker { color: var(--faint); font-family: var(--mono); font-size: 13px; }
.doc__toc a { color: var(--ink-2); font-weight: 600; }
.doc__toc a:hover { color: var(--accent); }
.prose h3 { scroll-margin-top: calc(var(--header-h) + 16px); }
@media (max-width: 640px) { .doc__toc ol { columns: 1; } .prose ol.cl > li { padding-left: 40px; } }
@media (max-width: 960px) {
  .doc { grid-template-columns: minmax(0, 1fr); gap: 24px; }
  .doc__nav { position: static; display: flex; flex-wrap: wrap; gap: 6px; }
  .doc__nav h4 { display: none; }
  .doc__nav a { white-space: nowrap; border: 1px solid var(--line); background: var(--surface); }
}

/* Contacts */
.contacts { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-top: 32px; }
.contact { padding: 24px; display: flex; flex-direction: column; gap: 8px; }
.contact__ic { width: 44px; height: 44px; border-radius: 14px; display: grid; place-items: center; background: var(--accent-soft); color: var(--accent); margin-bottom: 8px; }
.contact__ic svg { width: 22px; height: 22px; }
.contact__ic--tg { background: #e6f4fc; color: #229ed9; }
.contact__ic--mail { background: var(--usdt-soft); color: var(--usdt); }
.contact__ic--time { background: var(--warn-soft); color: var(--warn); }
.contact h3 { font-size: 17px; }
.contact p { color: var(--muted); font-size: 14.5px; flex: 1; }
.contact .btn, .contact .contact__val { margin-top: 10px; align-self: flex-start; }
.contact__val { font-weight: 800; font-size: 17px; letter-spacing: -0.01em; }
@media (max-width: 640px) { .contacts { grid-template-columns: minmax(0, 1fr); } }

/* ---------- Partners landing ---------- */
.p-hero { padding: 56px 0 24px; text-align: center; }
.p-hero h1 { max-width: 820px; margin: 22px auto 18px; }
.p-hero p { max-width: 620px; margin: 0 auto; font-size: 19px; color: var(--ink-2); }
.p-hero .btns { display: flex; gap: 12px; justify-content: center; margin-top: 32px; flex-wrap: wrap; }
.benefits { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
@media (max-width: 860px) { .benefits { grid-template-columns: minmax(0, 1fr); } }
.bc-card { display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.bc-card h3 { font-size: 17px; margin-bottom: 6px; }
.bc-card p { color: var(--muted); font-size: 14.5px; }
.bc-card img { border-radius: 4px; flex-shrink: 0; }
.p-cab { display: grid; grid-template-columns: minmax(0, 1fr) 360px; gap: 24px; align-items: start; margin-top: 24px; }
.p-cab h2 { font-size: 22px; margin: 32px 0 14px; }
.p-cab h2:first-child { margin-top: 0; }
@media (max-width: 960px) { .p-cab { grid-template-columns: minmax(0, 1fr); } }

/* ---------- Auth ---------- */
.auth { min-height: calc(100vh - var(--header-h) - 280px); display: grid; place-items: center; padding: 56px 0 96px; }
.auth .card { width: min(440px, 100%); padding: 36px; border-radius: var(--r-xl); box-shadow: var(--shadow-lg); }
.auth h1 { font-size: 30px; }
.auth .card__lead { margin-bottom: 26px; }
.auth__foot { text-align: center; margin-top: 20px; font-size: 15px; color: var(--muted); }
.auth__foot a { font-weight: 700; }

/* ---------- Tables ---------- */
.table-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: var(--r-lg); background: var(--surface); }
.table { width: 100%; border-collapse: collapse; font-size: 15px; }
.table th { text-align: left; font-size: 12px; text-transform: uppercase; letter-spacing: .06em; color: var(--faint); font-weight: 800; padding: 14px 18px; background: var(--surface-2); border-bottom: 1px solid var(--line); white-space: nowrap; }
.table td { padding: 16px 18px; border-bottom: 1px solid var(--line); white-space: nowrap; }
.table tr:last-child td { border-bottom: 0; }
.table tbody tr { transition: background .1s; }
.table tbody tr:hover { background: var(--surface-2); }
.table .r { text-align: right; }
@media (max-width: 640px) {
  .table--cards thead { display: none; }
  .table--cards, .table--cards tbody, .table--cards tr, .table--cards td { display: block; width: 100%; }
  .table--cards tr { padding: 12px 16px; border-bottom: 1px solid var(--line); }
  .table--cards tr:last-child { border-bottom: 0; }
  .table--cards td { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 5px 0; border: 0; white-space: normal; text-align: right; }
  .table--cards td::before { content: attr(data-label); color: var(--muted); font-size: 13px; font-weight: 600; text-align: left; }
  .table--cards tbody tr:hover { background: transparent; }
}
.empty { text-align: center; padding: 56px 24px; }
.empty__ic { width: 60px; height: 60px; border-radius: 18px; display: grid; place-items: center; background: var(--bg-2); color: var(--muted); margin: 0 auto 16px; }
.empty__ic svg { width: 28px; height: 28px; }
.empty h3 { margin-bottom: 6px; }
.empty p { color: var(--muted); margin-bottom: 20px; }

/* Stats */
.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.stat { padding: 20px; border-radius: var(--r-lg); background: var(--surface); border: 1px solid var(--line); }
.stat small { font-size: 13px; color: var(--muted); font-weight: 700; }
.stat b { display: block; font-size: 26px; font-weight: 800; letter-spacing: -0.03em; margin-top: 6px; }
@media (max-width: 860px) { .stats { grid-template-columns: 1fr 1fr; } }

.reflink { display: flex; align-items: center; gap: 10px; padding: 8px 8px 8px 16px; border-radius: 999px; background: var(--surface); border: 1px solid var(--line); }
.reflink code { font-family: var(--mono); font-size: 14px; flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.reflink .inline-ic { flex-shrink: 0; margin: 0; }

/* ---------- Footer ---------- */
.ftr { background: var(--navy); color: rgba(255, 255, 255, .62); padding: 72px 0 32px; margin-top: auto; }
.ftr a { color: rgba(255, 255, 255, .78); }
.ftr a:hover { color: #fff; }
.ftr__grid { display: grid; grid-template-columns: 1.5fr 1fr 1.1fr 1fr 1.3fr; gap: 36px; }
.ftr .logo { color: #fff; }
.ftr .logo__word small { color: rgba(255, 255, 255, .5); }
.ftr__about { margin-top: 18px; font-size: 14.5px; max-width: 300px; line-height: 1.6; }
.ftr__wl { display: inline-flex; align-items: center; gap: 8px; }
.ftr__wl svg { width: 16px; height: 16px; color: #6aa8ff; }
.ftr__note { font-size: 13.5px; color: rgba(255, 255, 255, .5); line-height: 1.5; }
.ftr h4 { color: #fff; font-size: 13px; text-transform: uppercase; letter-spacing: .08em; font-weight: 800; margin-bottom: 16px; }
.ftr ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; font-size: 15px; }
.ftr__bottom {
  margin-top: 56px; padding-top: 24px; border-top: 1px solid rgba(255, 255, 255, .1);
  display: flex; align-items: center; justify-content: space-between; gap: 20px; flex-wrap: wrap; font-size: 14px;
}
.monitors { display: flex; align-items: center; gap: 14px; }
.monitors img { border-radius: 4px; }
@media (max-width: 1040px) { .ftr__grid { grid-template-columns: 1fr 1fr 1fr; } .ftr__grid > div:first-child { grid-column: 1 / -1; } }
@media (max-width: 760px) { .ftr__grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .ftr__grid { grid-template-columns: minmax(0, 1fr); gap: 28px; } .ftr { padding-top: 56px; } }

/* ---------- Utilities ---------- */
.stack { display: grid; gap: 16px; }
.mt-8 { margin-top: 8px; } .mt-16 { margin-top: 16px; } .mt-24 { margin-top: 24px; } .mt-32 { margin-top: 32px; }
.row-between { display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; }
.center { text-align: center; }
.small { font-size: 14px; }
.inline-ic { display: inline-block; width: 16px; height: 16px; vertical-align: -3px; margin-right: 6px; }
.fade-in { animation: fade .5s ease both; }
@keyframes fade { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }
@media (prefers-reduced-motion: reduce) { *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; } }
