/* Design "Swap1337": light, soft, app-like. White canvas, grey surfaces, big
   rounded cards, one violet accent with a blue gradient. Brand-only (src/brands.js),
   loaded after site.css and scoped to html.d-leet so it never reaches another site. */
@font-face { font-family: "Inter"; src: url(/static/fonts/inter-latin-wght-normal.woff2) format("woff2"); font-weight: 100 900; font-display: swap; unicode-range: U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2190-21FF,U+2212,U+2215,U+FEFF,U+FFFD; }

html.d-leet {
  --bg: #ffffff;
  --bg-1: #f7f7f9;
  --bg-2: #efeff3;
  --line: #ececf1;
  --line-2: #e2e2e9;
  --line-3: #c9c9d4;
  --ink: #131316;
  --ink-2: #5e5e6e;
  --ink-3: #8b8b9b;
  --ink-4: #b4b4c0;
  --good: #109a5c;
  --mid: #b07400;
  --bad: #e0384b;
  --acc: #5b3cff;
  --acc-2: #2f6bff;
  --acc-soft: #efeaff;
  --acc-ink: #4a2ee6;
  --grad: linear-gradient(135deg, #8b5cff 0%, #5b3cff 50%, #2f6bff 100%);
  --sans: "Inter", -apple-system, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  --mono: "Inter", -apple-system, "Segoe UI", Roboto, sans-serif;
  --lbl: var(--sans); --lbl-ls: 0;
  --r: 14px;
  --r-lg: 22px;
  --w: 1180px;
  color-scheme: light;
}
html.d-leet body { background: var(--bg); color: var(--ink); font-size: 15.5px; font-feature-settings: "cv11", "ss01"; }
html.d-leet ::selection { background: var(--acc); color: #fff; }
html.d-leet :focus-visible { outline: 2px solid var(--acc); outline-offset: 2px; }
html.d-leet a { text-decoration-color: var(--line-3); }
html.d-leet a:hover { text-decoration-color: var(--acc); }
html.d-leet .mono, html.d-leet .sw-amt, html.d-leet .rates td.n, html.d-leet .offer-amt, html.d-leet .qsum dd, html.d-leet .deposit .v, html.d-leet .kpi b { font-variant-numeric: tabular-nums; }

/* type */
html.d-leet h1, html.d-leet h2, html.d-leet h3 { font-weight: 600; letter-spacing: -.025em; }
html.d-leet .h-xl { font-size: clamp(38px, 5.6vw, 68px); font-weight: 600; letter-spacing: -.045em; line-height: 1.02; }
html.d-leet .h-lg, html.d-leet .display-md { font-size: clamp(28px, 3.4vw, 42px); font-weight: 600; letter-spacing: -.035em; }
html.d-leet .lead { color: var(--ink-2); }
html.d-leet .label, html.d-leet .sw-title, html.d-leet .rates th, html.d-leet .facts span, html.d-leet .ftr-grid h3, html.d-leet .prose th, html.d-leet .prov-table th, html.d-leet .tbl th, html.d-leet .kpi span, html.d-leet .pcheck-h, html.d-leet .desk-k { text-transform: none; letter-spacing: 0; font-size: 13px; font-weight: 500; color: var(--ink-3); }

/* buttons: rounded, accent filled */
html.d-leet .btn { height: 44px; border-radius: 16px; border: 0; background: var(--acc); color: #fff; font-weight: 600; font-size: 15px; padding: 0 20px; }
html.d-leet .btn:hover { background: var(--acc-ink); }
html.d-leet .btn-lg { height: 56px; border-radius: 20px; font-size: 17px; }
html.d-leet .btn-sm { height: 36px; border-radius: 12px; font-size: 14px; padding: 0 14px; }
html.d-leet .btn-ghost { background: var(--acc-soft); color: var(--acc-ink); border: 0; }
html.d-leet .btn-ghost:hover { background: #e3dbff; color: var(--acc-ink); }
html.d-leet .btn[disabled], html.d-leet .btn.is-off { background: var(--bg-2); color: var(--ink-3); }
html.d-leet .icon-btn, html.d-leet .menu summary, html.d-leet .langs summary { border: 0; background: var(--bg-1); border-radius: 12px; color: var(--ink-2); }
html.d-leet .icon-btn:hover, html.d-leet .menu summary:hover { background: var(--bg-2); color: var(--ink); }
html.d-leet .link-arrow { color: var(--acc-ink); font-weight: 500; }
html.d-leet .link-arrow:hover { color: var(--acc); }

/* header: white glass, no rule */
html.d-leet .hdr { background: rgba(255, 255, 255, .86); border-bottom: 1px solid transparent; backdrop-filter: saturate(180%) blur(14px); }
html.d-leet .hdr-in { height: 68px; }
html.d-leet .brand .mark { width: 30px; height: 30px; }
html.d-leet .wordmark { font-weight: 700; font-size: 19px; letter-spacing: -.035em; }
html.d-leet .nav { gap: 4px; }
html.d-leet .nav a { padding: 8px 12px; border-radius: 12px; color: var(--ink-2); font-weight: 500; font-size: 15px; }
html.d-leet .nav a:hover { background: var(--bg-1); color: var(--ink); }
html.d-leet .nav a.on { color: var(--ink); background: var(--bg-1); }
html.d-leet .menu-panel, html.d-leet .langs-panel { background: #fff; border: 1px solid var(--line); border-radius: 18px; box-shadow: 0 16px 40px rgba(19, 19, 22, .12); padding: 8px; }
html.d-leet .menu-panel a, html.d-leet .langs-panel a { border-radius: 12px; }
html.d-leet .menu-panel a:hover, html.d-leet .langs-panel a:hover { background: var(--bg-1); }
html.d-leet .lang-offer { background: var(--acc-soft); border: 0; }

/* homepage hero: centered headline, centered swap card, soft colour glow */
html.d-leet .lx-hero { position: relative; overflow: hidden; }
html.d-leet .lx-hero::before { content: ""; position: absolute; inset: -20% -10% auto; height: 760px; z-index: -1; pointer-events: none;
  background: radial-gradient(38% 46% at 22% 30%, rgba(139, 92, 255, .20), transparent 70%), radial-gradient(34% 40% at 80% 24%, rgba(47, 107, 255, .16), transparent 70%), radial-gradient(30% 34% at 52% 70%, rgba(255, 120, 200, .10), transparent 70%); }
html.d-leet .lx-hero-in { display: grid; grid-template-columns: minmax(0, 1fr); justify-items: center; text-align: center; padding: 72px 24px 40px; }
html.d-leet .lx-h1 { font-size: clamp(40px, 6.4vw, 76px); font-weight: 650; letter-spacing: -.05em; line-height: 1; max-width: 900px; }
html.d-leet .lx-lead { margin-top: 20px; font-size: 18.5px; line-height: 1.55; color: var(--ink-2); max-width: 640px; }
html.d-leet .lx-card { width: 100%; max-width: 480px; margin-top: 40px; text-align: start; }
html.d-leet .lx-facts { list-style: none; margin: 26px 0 0; padding: 0; display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; }
html.d-leet .lx-facts li { display: inline-flex; gap: 8px; align-items: center; padding: 8px 14px; border-radius: 999px; background: var(--bg-1); font-size: 13.5px; color: var(--ink-3); }
html.d-leet .lx-facts b { color: var(--ink); font-weight: 600; }
@media (max-width: 640px) { html.d-leet .lx-hero-in { padding: 36px 16px 28px; } html.d-leet .lx-lead { font-size: 16.5px; } html.d-leet .lx-card { margin-top: 28px; } }

/* coin strip: logos glide right to left, each one links to its coin page */
html.d-leet .lx-strip { padding: 36px 0 28px; }
html.d-leet .lx-strip-h { text-align: center; font-size: 14px; font-weight: 500; color: var(--ink-3); letter-spacing: 0; margin-bottom: 22px; }
html.d-leet .lx-marquee { overflow: hidden; -webkit-mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent); mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent); }
html.d-leet .lx-track { display: flex; width: max-content; animation: lx-glide 48s linear infinite; }
html.d-leet .lx-marquee:hover .lx-track, html.d-leet .lx-marquee:focus-within .lx-track { animation-play-state: paused; }
html.d-leet .lx-row { display: flex; gap: 14px; list-style: none; margin: 0; padding: 0 7px; }
html.d-leet .lx-row a { display: flex; align-items: center; gap: 12px; padding: 12px 20px 12px 12px; border-radius: 20px; background: var(--bg-1); text-decoration: none; white-space: nowrap; transition: background .15s, transform .15s; }
html.d-leet .lx-row a:hover { background: var(--acc-soft); transform: translateY(-2px); }
html.d-leet .lx-row img { width: 40px; height: 40px; border-radius: 50%; }
html.d-leet .lx-row span { display: grid; line-height: 1.2; }
html.d-leet .lx-row b { font-weight: 600; font-size: 15px; }
html.d-leet .lx-row small { font-size: 12.5px; color: var(--ink-3); }
@keyframes lx-glide { from { transform: translateX(0); } to { transform: translateX(-50%); } }
[dir="rtl"] html.d-leet .lx-track, html.d-leet[dir="rtl"] .lx-track { animation-direction: reverse; }
@media (prefers-reduced-motion: reduce) { html.d-leet .lx-track { animation: none; } html.d-leet .lx-marquee { overflow-x: auto; } }

/* live counters */
html.d-leet .lx-stats-sec { padding-top: 64px; }
html.d-leet .lx-stats { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; }
html.d-leet .lx-stat { padding: 26px 24px 24px; border-radius: var(--r-lg); background: var(--bg-1); display: grid; gap: 10px; align-content: start; }
html.d-leet .lx-stat > span { font-size: 14px; color: var(--ink-2); font-weight: 500; }
html.d-leet .lx-stat b { font-size: clamp(30px, 3.4vw, 44px); font-weight: 600; letter-spacing: -.04em; line-height: 1.1; font-variant-numeric: tabular-nums; }
html.d-leet .lx-stat small { font-size: 13px; font-weight: 600; }
html.d-leet .lx-stat small.up { color: var(--good); } html.d-leet .lx-stat small.down { color: var(--bad); }
html.d-leet .lx-num { display: inline-flex; }
html.d-leet .lx-d { display: inline-block; height: 1.1em; overflow: hidden; }
html.d-leet .lx-col { display: flex; flex-direction: column; transition: transform 1.6s cubic-bezier(.16, .84, .24, 1); }
html.d-leet .lx-col span { height: 1.1em; line-height: 1.1em; }
@media (max-width: 960px) { html.d-leet .lx-stats { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 420px) { html.d-leet .lx-stat { padding: 20px 18px; } }

/* sections: no hairlines, space instead */
html.d-leet .hero, html.d-leet .sec, html.d-leet .page-hero { border-bottom: 0; }
html.d-leet .sec { padding: 72px 0; }
html.d-leet .sec-head p { color: var(--ink-2); }

/* swap card: two stacked panels and a floating flip button */
html.d-leet .sw { background: #fff; border: 1px solid var(--line); border-radius: 26px; padding: 10px; box-shadow: 0 24px 60px -18px rgba(70, 40, 200, .22), 0 2px 8px rgba(19, 19, 22, .04); }
html.d-leet .sw-top { padding: 6px 8px 4px; margin-bottom: 8px; }
html.d-leet .sw-title { font-size: 14px; color: var(--ink); font-weight: 600; }
html.d-leet .pulse { background: var(--good); box-shadow: 0 0 0 4px rgba(16, 154, 92, .14); }
html.d-leet .seg { border: 0; background: var(--bg-1); border-radius: 12px; padding: 3px; }
html.d-leet .seg span { border-radius: 9px; font-weight: 500; }
html.d-leet .seg input:checked + span { background: #fff; color: var(--ink); box-shadow: 0 1px 3px rgba(19, 19, 22, .12); }
html.d-leet .sw-field { border: 1px solid transparent; background: var(--bg-1); border-radius: 20px; padding: 16px 16px 14px; }
html.d-leet .sw-field:focus-within { border-color: var(--line-2); background: #fff; }
html.d-leet .sw-label { font-size: 14px; color: var(--ink-2); font-weight: 500; }
html.d-leet .sw-amt { font: 600 36px/1.15 var(--sans); letter-spacing: -.035em; }
html.d-leet .sw-sub { font: 13px var(--sans); color: var(--ink-3); }
html.d-leet .sw-flip { width: 42px; height: 42px; margin: -14px auto; border-radius: 14px; border: 4px solid #fff; background: var(--bg-2); color: var(--ink); }
html.d-leet .sw-flip:hover { background: var(--acc-soft); color: var(--acc-ink); }
html.d-leet .coinbtn { height: 42px; border-radius: 999px; border: 1px solid var(--line); background: #fff; padding-inline: 6px 12px; box-shadow: 0 1px 3px rgba(19, 19, 22, .08); }
html.d-leet .coinbtn:hover { background: var(--bg-1); border-color: var(--line-2); }
html.d-leet .coinbtn img { width: 28px; height: 28px; border-radius: 50%; }
html.d-leet .coinbtn-t b { font-weight: 600; font-size: 16px; }
html.d-leet .coin-select { border-radius: 999px; border-color: var(--line-2); background: #fff; }
html.d-leet .qsum { padding: 4px 8px; }
html.d-leet .qsum > div { border-bottom: 0; padding: 7px 0; }
html.d-leet .qsum dd { font-family: var(--sans); font-weight: 500; }
html.d-leet .offers { border-top: 0; }
html.d-leet .offer { border-bottom: 0; border-radius: 14px; }
html.d-leet .offer:hover { background: var(--bg-1); }
html.d-leet .offer input { accent-color: var(--acc); }
html.d-leet .sw .btn-block, html.d-leet .sw .btn-lg { height: 58px; border-radius: 20px; font-size: 18px; background: var(--grad); }
html.d-leet .sw .btn-block:hover, html.d-leet .sw .btn-lg:hover { filter: brightness(1.06); }
html.d-leet .sw .btn[disabled], html.d-leet .sw .btn.is-off { background: var(--acc-soft); color: var(--acc-ink); filter: none; }
html.d-leet .sw-foot { color: var(--ink-3); padding: 0 8px 6px; }
html.d-leet .tag { border-radius: 8px; text-transform: none; letter-spacing: 0; font-size: 11.5px; font-weight: 600; }
html.d-leet .tag-best { background: rgba(16, 154, 92, .1); border-color: transparent; color: var(--good); }

/* fields + cards */
html.d-leet .fld input, html.d-leet .fld select, html.d-leet .fld textarea, html.d-leet .filter input, html.d-leet .picker-head input, html.d-leet .tfa-in { border-radius: 14px; border-color: var(--line-2); background: var(--bg-1); }
html.d-leet .fld input:focus, html.d-leet .fld select:focus, html.d-leet .fld textarea:focus, html.d-leet .filter input:focus, html.d-leet .picker-head input:focus { border-color: var(--acc); background: #fff; }
html.d-leet .card, html.d-leet .st-card, html.d-leet .aside-card, html.d-leet .box, html.d-leet .toggle, html.d-leet .pcheck, html.d-leet .erase, html.d-leet .tp { border: 0; background: var(--bg-1); border-radius: var(--r-lg); }
html.d-leet .deposit { background: #fff; border: 1px solid var(--line); border-radius: 20px; }
html.d-leet .deposit .qr { border: 1px solid var(--line); }
html.d-leet .copy { border-radius: 10px; border: 0; background: var(--acc-soft); color: var(--acc-ink); font-weight: 500; }
html.d-leet .copy:hover { background: #e3dbff; color: var(--acc-ink); }
html.d-leet .badge { border-radius: 999px; text-transform: none; letter-spacing: 0; font-family: var(--sans); background: var(--bg-2); border: 0; }
html.d-leet .timeline li { border-top-width: 4px; border-radius: 2px; }
html.d-leet .timeline li.now { border-color: var(--acc); }
html.d-leet .timeline li.done { border-color: #a99bff; }
html.d-leet .form-err { background: #fff0f2; border: 0; color: #b4233a; }
html.d-leet .form-ok { background: #ebf9f2; border: 0; color: #0d6e43; }
html.d-leet .warn { background: #fff7e6; border: 0; color: #7a5200; }
html.d-leet .picker { background: #fff; border: 0; border-radius: 24px; box-shadow: 0 30px 80px rgba(19, 19, 22, .25); }
html.d-leet .picker::backdrop { background: rgba(19, 19, 22, .35); backdrop-filter: blur(4px); }
html.d-leet .picker-head { border-bottom: 1px solid var(--line); }
html.d-leet .picker-list button { border-radius: 14px; margin: 0 6px; width: calc(100% - 12px); }
html.d-leet .picker-list button:hover, html.d-leet .picker-list button.cur, html.d-leet .picker-list button:focus-visible { background: var(--bg-1); }
html.d-leet .picker-list img { border-radius: 50%; }

/* tables + lists as soft cards */
html.d-leet .rates { border-collapse: separate; border-spacing: 0; background: var(--bg-1); border-radius: var(--r-lg); overflow: hidden; }
html.d-leet .rates th { padding: 18px 20px 12px; border-bottom: 0; }
html.d-leet .rates td { padding: 14px 20px; border-bottom: 0; border-top: 1px solid var(--line); }
html.d-leet .rates tbody tr:hover { background: #fff; }
html.d-leet .rates td.n { font-family: var(--sans); font-weight: 500; }
html.d-leet .pair-ic img { box-shadow: 0 0 0 2px var(--bg-1); }
html.d-leet .steps { border-top: 0; gap: 12px; }
html.d-leet .step { background: var(--bg-1); border-radius: var(--r-lg); padding: 24px; }
html.d-leet .step-n { display: inline-grid; place-items: center; width: 34px; height: 34px; border-radius: 12px; background: var(--grad); color: #fff; font: 700 13px var(--sans); }
html.d-leet .step h3 { font-size: 18px; }
@media (max-width: 860px) { html.d-leet .step { border-bottom: 0; grid-template-columns: 50px 1fr; padding: 20px; } }
html.d-leet .pairs { border-top: 0; gap: 10px; }
html.d-leet .pair { background: var(--bg-1); border: 0; border-radius: 18px; padding: 14px 16px; transition: background .15s; }
html.d-leet .pair:hover { background: var(--acc-soft); }
html.d-leet .pair:hover .pair-t b { text-decoration: none; }
html.d-leet .pair-ic img { box-shadow: 0 0 0 2px var(--bg-1); }
html.d-leet .grid-coins { border: 0; gap: 10px; }
html.d-leet .coin-card { border: 0; background: var(--bg-1); border-radius: 18px; }
html.d-leet .coin-card:hover { background: var(--acc-soft); }
html.d-leet .coin-card .px { font-family: var(--sans); }
html.d-leet .coin-chip { border: 0; background: var(--bg-1); border-radius: 999px; }
html.d-leet .coin-chip:hover { background: var(--acc-soft); }
html.d-leet .store, html.d-leet .faq { border-top: 0; }
html.d-leet .store > div { border-bottom: 1px solid var(--line); }
html.d-leet .faq details { background: var(--bg-1); border: 0; border-radius: 18px; padding: 0 20px; margin-bottom: 8px; }
html.d-leet .faq summary { font-weight: 600; }
html.d-leet .faq summary::after { font-family: var(--sans); color: var(--acc); }
html.d-leet .facts { border-top: 0; gap: 8px; }
html.d-leet .facts > div { background: var(--bg-1); border: 0; border-radius: 16px; padding: 14px 16px; }
html.d-leet .kv { border-top: 0; }
html.d-leet .table-wrap { border: 0; background: var(--bg-1); }

/* desk band: gradient panel */
html.d-leet .desk { background: none; }
html.d-leet .desk-in { background: var(--grad); color: #fff; border-radius: 32px; padding: 52px; }
html.d-leet .desk .lead { color: rgba(255, 255, 255, .86); }
html.d-leet .desk .btn { background: #fff; color: var(--acc-ink); }
html.d-leet .desk .btn:hover { background: #f1edff; }
html.d-leet .desk .link-arrow { color: #fff; }
@media (max-width: 640px) { html.d-leet .desk-in { padding: 30px 22px; border-radius: 24px; } }

/* inner pages */
html.d-leet .page-hero { background: radial-gradient(60% 120% at 15% 0%, rgba(139, 92, 255, .10), transparent 70%); }
html.d-leet .prose { color: #3c3c48; }
html.d-leet .prose strong, html.d-leet .prose h2, html.d-leet .prose h3 { color: var(--ink); }
html.d-leet .prose a { color: var(--acc-ink); }
html.d-leet .callout { border-inline-start: 4px solid var(--acc); background: var(--acc-soft); border-radius: 0 14px 14px 0; padding: 14px 18px; }
html.d-leet .news-card img, html.d-leet .article-cover { border: 0; border-radius: 20px; }
html.d-leet .news-meta { font-family: var(--sans); }
html.d-leet .news-meta .cat { color: var(--acc-ink); font-weight: 600; }
html.d-leet .err-page .h-xl { font-family: var(--sans); font-weight: 700; background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }

/* footer */
html.d-leet .ftr { background: var(--bg-1); margin-top: 40px; border-radius: 32px 32px 0 0; }
html.d-leet .ftr-base { border-top-color: var(--line-2); }
html.d-leet .ftr-priv { font-family: var(--sans); }
