/* ────────────────────────────────────────────────────
   CSS RESET & BASE
──────────────────────────────────────────────────── */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

:root {
  --bg:          #0d0d14;
  --bg-card:     #13131e;
  --bg-card-2:   #1a1a28;
  --bg-dark:     #1a1a1a;
  --border:      #1e1e30;
  --border-dark: #2b2b2b;
  --border-2:    #252538;
  --text:        #ffffff;
  --text-muted:  #8b8ba8;
  --text-subtle: #5a5a7a;
  --text-light:  #f1f1f1;
  --text-muted2: #b5b5b5;
  --accent:      #4b6ef5;
  --accent-hover:#3a5de4;
  --accent-btn:  #315cff;
  --accent-btn-hover: #2c53e5;
  --green:       #21C95E;
  --green-bright:#21C95E;
  --green-dim:   rgba(0, 211, 149, 0.12);
  --green-bg:    #17281d;
  --highlight:   rgba(75, 110, 245, 0.08);
  --radius-sm:   8px;
  --radius-md:   14px;
  --radius-lg:   20px;
  --radius-xl:   24px;
  --font:        'Inter', -apple-system, sans-serif;
  --max-w:       1040px;
  --page-shell-max: 1060px;
  --page-shell-gutter: clamp(24px, 6vw, 64px);
  --page-section-top: 96px;
  --page-section-bottom: 104px;
  --page-panel-radius: 28px;
  --page-panel-padding: 24px;
  --page-panel-border: 1px solid rgba(255, 255, 255, 0.07);
  --page-panel-bg: linear-gradient(180deg, rgba(24, 24, 31, 0.94), rgba(17, 17, 24, 0.94));
  --page-panel-shadow: 0 24px 72px rgba(0, 0, 0, 0.3);
}

html {
  scroll-behavior: smooth;
  width: 100%;
  max-width: 100%;
  overflow-x: hidden;
  overflow-x: clip;
}

html.fonts-loading {
  background: #161616;
}

html.fonts-loading body {
  visibility: hidden;
}

html,
body,
button,
input,
select,
textarea {
  font-family: 'Inter', -apple-system, sans-serif;
}

body {
  background: #161616;
  color: var(--text);
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  min-height: 100vh;
  width: 100%;
  max-width: 100%;
  overflow-x: hidden;
  overflow-x: clip;
  position: relative;
}

.page {
  min-height: 100vh;
}

.page--login,
.page--register,
.page--forgot-password {
  display: flex;
  flex-direction: column;
}

.page--about {
  display: flex;
  flex-direction: column;
}

.page--contact {
  display: flex;
  flex-direction: column;
}

.page--help-center {
  display: flex;
  flex-direction: column;
}

.page--account {
  display: flex;
  flex-direction: column;
}

.page--wallets {
  display: flex;
  flex-direction: column;
}

.page--account {
  display: flex;
  flex-direction: column;
}

.lines {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: 100%;
  width: 90vw;
  margin: 0 auto;
  pointer-events: none;
  z-index: 0;
}

.line {
  position: absolute;
  top: 0;
  left: 50%;
  width: 1px;
  height: 100%;
  background: rgba(255, 255, 255, 0.1);
  overflow: hidden;
}

.line::after {
  content: "";
  position: absolute;
  top: -50%;
  left: 0;
  display: block;
  width: 100%;
  height: 15vh;
  background: linear-gradient(to bottom, rgba(255, 255, 255, 0) 0%, #ffffff 75%, #ffffff 100%);
  animation: drop 7s 0s infinite;
  animation-fill-mode: forwards;
  animation-timing-function: cubic-bezier(0.4, 0.26, 0, 0.97);
}

.line:nth-child(1) {
  margin-left: -40%;
}

.line:nth-child(1)::after {
  animation-delay: 1.4s;
}

.line:nth-child(2) {
  margin-left: -20%;
}

.line:nth-child(2)::after {
  animation-delay: 2.2s;
}

.line:nth-child(4) {
  margin-left: 20%;
}

.line:nth-child(4)::after {
  animation-delay: 2s;
}

.line:nth-child(5) {
  margin-left: 40%;
}

.line:nth-child(5)::after {
  animation-delay: 2.8s;
}

@keyframes drop {
  0% {
    top: -50%;
  }

  100% {
    top: 110%;
  }
}

main,
.navbar,
.footer {
  position: relative;
  z-index: 1;
}

input[type="number"]::-webkit-inner-spin-button,
input[type="number"]::-webkit-outer-spin-button { -webkit-appearance: none; }
input[type="number"] { -moz-appearance: textfield; }

a { text-decoration: none; color: inherit; }

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* ────────────────────────────────────────────────────
   BUTTONS
──────────────────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  border: none;
  border-radius: var(--radius-sm);
  cursor: pointer;
  font-family: var(--font);
  font-size: 14px;
  font-weight: 500;
  padding: 10px 18px;
  transition: background 0.15s, color 0.15s, border-color 0.15s, opacity 0.15s;
  white-space: nowrap;
}

.btn--primary {
  background: var(--accent-btn);
  color: var(--text-light);
  border-radius: 999px;
}

.btn--primary:hover {
  background: var(--accent-btn-hover);
}

.stats__cta-arrow {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
  transform: rotate(-90deg);
}

.stats__cta {
  margin-top: 50px;
}

.btn--ghost {
  background: transparent;
  border: 1px solid #2b2b2b;
  border-radius: 999px;
  color: #f1f1f1;
}
.btn--ghost:hover {
  color: #f1f1f1;
  background: #1d1d1d;
  border-color: #343434;
}

.btn--outline {
  background: transparent;
  border: 1px solid var(--border-2);
  color: var(--text-muted);
  font-size: 13px;
  padding: 10px 18px;
  border-radius: 100px;
}
.btn--outline:hover {
  border-color: var(--accent);
  color: var(--text);
}

.btn--full { width: 100%; }

/* ────────────────────────────────────────────────────
   DROPDOWN
──────────────────────────────────────────────────── */
.dropdown {
  position: relative;
}

.dropdown__trigger {
  display: flex;
  align-items: center;
  gap: 8px;
  background: transparent;
  border: 1px solid #2b2b2b;
  color: #f1f1f1;
  font-family: var(--font);
  font-size: 13px;
  font-weight: 500;
  cursor: pointer;
  height: 36px;
  padding: 0 20px;
  border-radius: 999px;
  transition: color 0.15s, background 0.15s, border-color 0.15s;
}
.dropdown__trigger:hover {
  color: #f1f1f1;
  background: #1d1d1d;
  border-color: #343434;
}

.dropdown__arrow {
  width: 10px;
  height: 10px;
  color: #7c7c7c;
  transition: transform 0.2s;
}

.dropdown--open .dropdown__arrow {
  transform: rotate(180deg);
}

.dropdown__menu {
  display: none;
  position: absolute;
  top: calc(100% + 6px);
  right: 0;
  background: #1b1b1b;
  border: 1px solid #2b2b2b;
  border-radius: var(--radius-md);
  padding: 6px;
  min-width: 220px;
  z-index: 200;
  box-shadow: 0 8px 32px rgba(0,0,0,0.5);
}

.dropdown--open .dropdown__menu {
  display: block;
}

.dropdown__item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  width: 100%;
  background: transparent;
  border: none;
  color: #f1f1f1;
  font-family: var(--font);
  font-size: 13px;
  padding: 8px 10px;
  border-radius: var(--radius-sm);
  cursor: pointer;
  text-align: left;
  transition: background 0.12s, color 0.12s;
}
.dropdown__item:hover { background: #242424; color: #f1f1f1; }
.dropdown__item--selected { color: #f1f1f1; }

.dropdown__item--selected::after {
  content: "";
  width: 8px;
  height: 8px;
  margin-left: 14px;
  border-top: 1.5px solid #315cff;
  border-right: 1.5px solid #315cff;
  flex-shrink: 0;
  transform: rotate(-135deg);
}

.dropdown__item-content,
.dropdown__value {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.dropdown__item-content {
  min-width: 0;
  flex: 1 1 auto;
}

.dropdown__item-label,
.dropdown__label {
  white-space: nowrap;
}

.dropdown__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.dropdown__icon--flag {
  width: 18px;
  height: 14px;
  border-radius: 3px;
  object-fit: cover;
}

.dropdown__icon--currency-icon {
  width: 16px;
  height: 16px;
  object-fit: contain;
}

.dropdown__check {
  display: none;
}

.dropdown__dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  flex-shrink: 0;
}
.dropdown__dot--blue   { background: var(--accent); }
.dropdown__dot--yellow { background: #f5c842; }
.dropdown__dot--purple { background: #9b59f5; }

/* ────────────────────────────────────────────────────
   NAVBAR
──────────────────────────────────────────────────── */
.navbar {
  position: relative;
  z-index: 100;
  background: transparent;
  border-bottom: none;
}

.navbar__inner {
  width: min(var(--max-w), calc(100vw - clamp(24px, 6vw, 64px)));
  max-width: var(--max-w);
  margin: 4px auto 0;
  padding: 0 0;
  height: 68px;
  display: flex;
  align-items: center;
  gap: clamp(8px, 1.5vw, 20px);
}

/* Logo */
.navbar__logo {
  display: flex;
  align-items: center;
  gap: 0;
  flex-shrink: 0;
}
.navbar__logo-mark {
  display: block;
  width: clamp(90px, 12vw, 119px);
  height: auto;
}
.navbar__logo-icon {
  width: 18px;
  height: 18px;
}
.navbar__logo-text {
  font-size: 28px;
  font-weight: 700;
  letter-spacing: -0.2px;
  color: #2f62ff;
  line-height: 1;
}

/* Nav links */
.navbar__nav {
  display: flex;
  align-items: center;
  gap: clamp(8px, 1vw, 15px);
  flex: 1;
  margin-left: clamp(10px, 1.8vw, 20px);
}

.navbar__link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: clamp(78px, 9vw, 106px);
  height: clamp(34px, 3vw, 36px);
  font-size: clamp(12px, 0.95vw, 13px);
  font-weight: 500;
  color: #f1f1f1;
  padding: 0;
  border-radius: 999px;
  background: #161616;
  border: 1px solid #2b2b2b;
  transition: color 0.15s, background 0.15s, border-color 0.15s;
}
.navbar__link:hover {
  color: #f1f1f1;
  background: #1d1d1d;
  border-color: #343434;
}
.navbar__link--active { color: #f1f1f1; }

/* Right controls */
.navbar__controls {
  --navbar-control-gap: clamp(8px, 1.1vw, 15px);
  display: flex;
  align-items: center;
  gap: var(--navbar-control-gap);
  flex-shrink: 0;
}

.navbar__auth-slot,
.mobile-menu__auth-slot {
  display: inline-flex;
  align-items: center;
  gap: 10px;
}

.navbar__account-menu {
  min-width: 232px;
  padding: 10px;
}

.navbar__account-trigger {
  min-width: 112px;
  justify-content: space-between;
}

.navbar__account-copy {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.navbar__account-icon {
  display: inline-flex;
  width: 18px;
  height: 18px;
  color: #d7dbee;
}

.navbar__account-icon svg {
  width: 18px;
  height: 18px;
}

.navbar__account-item {
  text-decoration: none;
}

.navbar__account-item--logout {
  color: #f1b6b6;
}

.navbar__auth-slot,
.mobile-menu__auth-slot {
  display: contents;
}

.navbar__account-menu {
  min-width: 232px;
  padding: 10px;
}

.navbar__account-trigger {
  min-width: 116px;
  justify-content: space-between;
}

.navbar__account-copy {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-width: 0;
}

.navbar__account-icon {
  display: inline-flex;
  width: 18px;
  height: 18px;
  color: #d7dbee;
}

.navbar__account-icon svg {
  width: 18px;
  height: 18px;
}

.navbar__account-name {
  white-space: nowrap;
}

.navbar__account-item {
  text-decoration: none;
}

.navbar__account-item--logout {
  color: #f4b8b8;
}

#lang-dropdown {
  margin-right: calc(20px - var(--navbar-control-gap));
}

:is(#lang-dropdown, #lang-dropdown-mobile) .dropdown__menu {
  min-width: 360px;
}

.dropdown--open:is(#lang-dropdown, #lang-dropdown-mobile) .dropdown__menu {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 4px;
}

:is(#lang-dropdown, #lang-dropdown-mobile) .dropdown__item {
  min-width: 0;
}

.navbar__controls .dropdown__trigger {
  background: #161616;
  font-size: clamp(12px, 0.95vw, 13px);
  height: clamp(34px, 3vw, 36px);
  gap: clamp(6px, 0.8vw, 8px);
  padding: 0 clamp(10px, 1.3vw, 20px);
}

.navbar .btn--ghost {
  background: #161616;
}

.navbar__controls .btn {
  font-size: clamp(12px, 0.95vw, 13px);
  width: clamp(84px, 8.5vw, 100px);
  height: clamp(34px, 3vw, 36px);
  padding: 0;
}

/* Mobile menu */
.mobile-menu {
  display: none;
  position: relative;
  margin-left: auto;
}

.mobile-menu__trigger {
  width: 40px;
  height: 40px;
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 5px;
  background: #0a0a0a;
  border: 1px solid #1a1a1a;
  border-radius: 10px;
  cursor: pointer;
}

.mobile-menu__line {
  width: 16px;
  height: 1.5px;
  background: #c8d0e4;
  transition: transform 0.2s ease, opacity 0.2s ease;
}

.mobile-menu__panel {
  display: none;
  position: absolute;
  top: calc(100% + 8px);
  right: 0;
  width: min(88vw, 320px);
  background: rgba(10, 10, 18, 0.96);
  border: 1px solid #222339;
  border-radius: 14px;
  padding: 14px;
  z-index: 300;
  box-shadow: 0 20px 42px rgba(0, 0, 0, 0.55);
  backdrop-filter: blur(8px);
}

.mobile-menu--open .mobile-menu__panel {
  display: block;
}

.mobile-menu--open .mobile-menu__line:nth-child(1) {
  transform: translateY(6.5px) rotate(45deg);
}

.mobile-menu--open .mobile-menu__line:nth-child(2) {
  opacity: 0;
}

.mobile-menu--open .mobile-menu__line:nth-child(3) {
  transform: translateY(-6.5px) rotate(-45deg);
}

.mobile-menu__controls {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
}

.mobile-menu__controls .dropdown {
  width: 100%;
}

.mobile-menu__controls :is(.dropdown__trigger, .btn) {
  width: 100%;
  justify-content: center;
}

.mobile-menu__controls .dropdown__menu {
  right: auto;
  left: 0;
  width: 100%;
}

.mobile-menu__goto-menu {
  left: 0;
  right: auto;
  min-width: 180px;
  width: max-content;
  max-width: calc(100vw - 24px);
}

.mobile-menu__goto-item {
  text-decoration: none;
}

.mobile-settings {
  position: relative;
}

body.mobile-settings-open {
  overflow: hidden;
}

.mobile-settings__trigger {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0;
  width: 36px;
  height: 36px;
  padding: 0;
  border: 1px solid #2b2b2b;
  border-radius: 999px;
  background: #161616;
  color: #f1f1f1;
  cursor: pointer;
  transition: color 0.15s, background 0.15s, border-color 0.15s;
}

.mobile-settings__trigger:hover {
  background: #1d1d1d;
  border-color: #343434;
}

.mobile-settings__menu-icon {
  width: 12px;
  height: 12px;
  min-width: 12px;
  min-height: 12px;
  display: block;
  flex-shrink: 0;
}

.mobile-settings--open .mobile-settings__trigger {
  border-color: rgba(75, 110, 245, 0.55);
}

.mobile-settings__code {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.04em;
}

.mobile-settings__panel {
  position: fixed;
  inset: 0;
  z-index: 500;
  pointer-events: none;
}

.mobile-settings__overlay {
  position: fixed;
  inset: 0;
  background: rgba(5, 6, 10, 0.56);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.28s ease;
  z-index: 490;
}

.mobile-settings--open .mobile-settings__overlay {
  opacity: 1;
  pointer-events: auto;
}

.mobile-settings__sheet {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  pointer-events: auto;
  display: grid;
  gap: 20px;
  padding: 13px 20px max(14px, env(safe-area-inset-bottom));
  background: #161616;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 12px 12px 0 0;
  box-shadow: 0 -16px 48px rgba(0, 0, 0, 0.5);
  transform: translate3d(0, calc(100% + 24px), 0);
  opacity: 0;
  transition: transform 0.34s cubic-bezier(0.22, 1, 0.36, 1), opacity 0.24s ease;
}

.mobile-settings--open .mobile-settings__sheet {
  transform: translate3d(0, 0, 0);
  opacity: 1;
}

.mobile-settings__handle {
  width: 26px;
  height: 1.5px;
  margin: 0 auto;
  border-radius: 999px;
  background: #f1f1f1;
}

.mobile-settings__view {
  display: none;
  gap: 12px;
  min-height: min(34vh, 280px);
  max-height: min(62vh, 460px);
  align-content: start;
}

.mobile-settings__view--active {
  display: grid;
}

.mobile-settings__view[data-mobile-settings-view="root"] {
  gap: 20px;
}

.mobile-settings__header {
  display: grid;
  grid-template-columns: auto 1fr;
  align-items: baseline;
  gap: 5px;
  padding: 0 2px;
}

.mobile-settings__header--root {
  grid-template-columns: 1fr;
  padding-left: 35px;
}

.mobile-settings__title {
  margin: 0;
  font-size: 14px;
  line-height: 1.15;
  letter-spacing: -0.02em;
  font-weight: 700;
  color: #f1f1f1;
}

.mobile-settings__back {
  width: 28px;
  height: 28px;
  padding: 0;
  border: none;
  background: transparent;
  color: #f1f1f1;
  display: inline-flex;
  align-items: flex-start;
  justify-content: center;
  cursor: pointer;
}

.mobile-settings__back-icon,
.mobile-settings__chevron {
  width: 12px;
  height: 12px;
}

.mobile-settings__list,
.mobile-settings__options {
  display: grid;
  gap: 0;
}

.mobile-settings__options {
  overflow-y: auto;
  overflow-x: hidden;
  padding-right: 4px;
  scrollbar-gutter: stable;
}

.mobile-settings__view:not([data-mobile-settings-view="root"]) .mobile-settings__options {
  margin-right: 26px;
  padding-right: 0;
}

.mobile-settings__row,
.mobile-settings__option {
  width: 100%;
  min-height: 40px;
  padding: 8px 2px;
  border: none;
  border-radius: 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  background: transparent;
  color: #f1f1f1;
  font-family: var(--font);
  font-size: 14px;
  text-align: left;
  cursor: pointer;
}

.mobile-settings__row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.mobile-settings__row-main,
.mobile-settings__row-side,
.mobile-settings__current,
.mobile-settings__option-content {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.mobile-settings__row-side {
  color: #f1f1f1;
}

.mobile-settings__row-label {
  font-size: 14px;
  font-weight: 700;
  color: #b5b5b5;
}

.mobile-settings__option-label {
  font-size: 14px;
  font-weight: 500;
}

.mobile-settings__current {
  min-width: 48px;
  justify-content: flex-end;
}

.mobile-settings__current .mobile-settings__code {
  font-size: 14px;
  font-weight: 700;
  color: #f1f1f1;
}

.mobile-settings__current .dropdown__icon--flag,
.mobile-settings__option-content .dropdown__icon--flag {
  width: 16px;
  height: 12px;
}

.mobile-settings__chevron {
  color: #8c8fa0;
}

.mobile-settings__option {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  position: relative;
  padding-right: 20px;
}

.mobile-settings__view:not([data-mobile-settings-view="root"]) .mobile-settings__option {
  padding-left: 10px;
}

.mobile-settings__option::after {
  content: "";
  width: 8px;
  height: 12px;
  border-right: 2px solid #315cff;
  border-bottom: 2px solid #315cff;
  transform: rotate(45deg);
  opacity: 0;
  transition: opacity 0.16s ease;
}

.mobile-settings__option--selected::after {
  opacity: 1;
}

.mobile-settings__option:last-child,
.mobile-settings__row:last-child {
  border-bottom-color: transparent;
}

.mobile-settings__options::-webkit-scrollbar {
  width: 4px;
  height: 0;
}

.mobile-settings__options::-webkit-scrollbar-thumb {
  background: rgba(49, 92, 255, 0.9);
  border-radius: 999px;
}

.mobile-settings__options::-webkit-scrollbar-track {
  background: transparent;
}

/* ────────────────────────────────────────────────────
   HERO
──────────────────────────────────────────────────── */
.hero {
  --hero-padding: 112px 0 124px;
  position: relative;
  overflow-x: clip;
  overflow-y: visible;
  padding: var(--hero-padding);
  text-align: center;
  display: flex;
  justify-content: center;
}

/* Fluid background behind swap card */
.hero__fluid {
  --hero-fluid-width: min(760px, 96vw);
  --hero-fluid-height: min(520px, 72vw);
  --hero-fluid-filter: blur(22px) saturate(1.48) contrast(1.12);
  --hero-fluid-opacity: 0.92;
  position: absolute;
  top: 50%;
  left: 50%;
  width: var(--hero-fluid-width);
  height: var(--hero-fluid-height);
  transform: translate3d(-50%, -50%, 0) scale(1.05);
  border-radius: 42% 58% 52% 48% / 50% 44% 56% 50%;
  overflow: visible;
  pointer-events: none;
  opacity: var(--hero-fluid-opacity);
  z-index: 0;
  background: rgba(10, 26, 34, 0.24);
  filter: var(--hero-fluid-filter);
  transition: opacity 320ms ease;
  will-change: transform, scale, opacity;
}

.swap-card-wrap {
  position: relative;
  display: grid;
  place-items: center;
  isolation: isolate;
}

.hero__fluid-canvas {
  position: absolute;
  inset: -14%;
  width: 128%;
  height: 128%;
  display: block;
}

.hero__content {
  --hero-content-padding: 0;
  --hero-content-gap: 22px;
  position: relative;
  width: min(var(--max-w), 80vw);
  max-width: 100%;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: var(--hero-content-padding);
  gap: var(--hero-content-gap);
}

/* ────────────────────────────────────────────────────
   LOGIN PAGE
──────────────────────────────────────────────────── */
.login-page {
  flex: 1;
  display: flex;
}

/* ────────────────────────────────────────────────────
   ABOUT PAGE
──────────────────────────────────────────────────── */
.about-page {
  flex: 1;
  display: flex;
}

.contact-page {
  flex: 1;
  display: flex;
}

.about-story,
.contact-request,
.help-center {
  width: 100%;
  padding: var(--page-section-top) 0 var(--page-section-bottom);
}

.about-story__inner,
.contact-request__inner,
.help-center__inner,
.account-shell,
.wallets-shell {
  width: min(var(--page-shell-max), calc(100vw - (var(--page-shell-gutter) * 2)));
  max-width: 100%;
  margin: 0 auto;
}

.about-story__inner,
.contact-request__inner,
.help-center__inner {
  padding: var(--page-panel-padding);
  border: var(--page-panel-border);
  border-radius: var(--page-panel-radius);
  background: var(--page-panel-bg);
  box-shadow: var(--page-panel-shadow);
}

/* ────────────────────────────────────────────────────
   CONTACT PAGE
──────────────────────────────────────────────────── */
.contact-request {
  width: 100%;
}

.contact-request__inner {
  display: grid;
}

.contact-request__header {
  padding-bottom: 18px;
  margin-bottom: 28px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.contact-request__title {
  color: #f1f1f1;
  font-size: clamp(38px, 5vw, 62px);
  line-height: 0.96;
  letter-spacing: -0.06em;
  font-weight: 800;
}

.contact-form {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 36px;
}

.contact-form__column {
  display: grid;
  align-content: start;
  gap: 22px;
}

.contact-form__field-group {
  display: grid;
  gap: 10px;
}

.contact-form__label {
  color: #f1f1f1;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: -0.02em;
}

.contact-form__input,
.contact-form__upload {
  width: 100%;
  min-height: 48px;
  border-radius: 24px;
  border: 1px solid rgba(255, 255, 255, 0.06);
  background: #1a1a1a;
  color: #f1f1f1;
  font-family: var(--font);
  font-size: 14px;
  line-height: 1.4;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.02);
}

.contact-form__input {
  padding: 0 18px;
}

.contact-form__input::placeholder,
.contact-form__textarea::placeholder {
  color: #868686;
}

.contact-form__textarea {
  min-height: 148px;
  resize: vertical;
  border-radius: 22px;
  padding: 16px 18px;
}

.contact-form__upload {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 0 18px;
  color: #9b9b9b;
  cursor: pointer;
  text-align: center;
}

.contact-form__upload-icon {
  display: inline-flex;
  width: 16px;
  height: 16px;
}

.contact-form__upload-icon svg {
  width: 16px;
  height: 16px;
}

.contact-form__file-input {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.contact-form__field-group--details {
  flex: 1;
}

.contact-form__submit {
  min-height: 48px;
  margin-top: 5px;
  font-size: 16px;
}

.about-story {
  width: 100%;
}

.about-story__inner {
  display: grid;
}

.about-story__list {
  display: grid;
}

.about-story__row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 530px);
  align-items: start;
  gap: 56px;
  padding: 42px 0 44px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.about-story__row:first-child {
  padding-top: 20px;
}

.about-story__row--stacked {
  grid-template-columns: minmax(0, 1fr);
  gap: 12px;
}

.about-story__title {
  color: #f1f1f1;
  font-size: clamp(34px, 4.3vw, 52px);
  line-height: 0.96;
  letter-spacing: -0.06em;
  font-weight: 800;
}

.about-story__copy {
  color: rgba(241, 241, 241, 0.88);
  font-size: clamp(18px, 1.55vw, 20px);
  line-height: 1.38;
  letter-spacing: -0.02em;
}

.about-story__copy--rich {
  display: grid;
  gap: 6px;
}

.about-story__list-items {
  margin: 0;
  padding-left: 20px;
}

.about-story__list-items li {
  margin: 0;
}

.help-center-page {
  flex: 1;
  display: flex;
}

.help-center {
  width: 100%;
}

.help-center__inner {
  display: grid;
}

.help-center__header {
  padding-bottom: 18px;
  margin-bottom: 28px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.help-center__title {
  color: #f1f1f1;
  font-size: clamp(38px, 5vw, 62px);
  line-height: 0.96;
  letter-spacing: -0.06em;
  font-weight: 800;
}

.help-center__grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.help-center-card {
  min-height: 126px;
  padding: 20px 18px 18px;
  border-radius: 18px;
  border: 1px solid rgba(255, 255, 255, 0.06);
  background: rgba(26, 26, 26, 0.92);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.02);
}

.help-center-card__title {
  color: #f1f1f1;
  font-size: 16px;
  line-height: 1.3;
  letter-spacing: -0.03em;
  font-weight: 700;
}

.help-center-card__copy {
  margin-top: 8px;
  color: rgba(241, 241, 241, 0.68);
  font-size: 14px;
  line-height: 1.5;
}

.account-page {
  flex: 1;
  padding: 132px 24px 88px;
}

.account-shell {
  width: min(1060px, 100%);
  margin: 0 auto;
}

.account-panel-view {
  border: var(--page-panel-border);
  border-radius: var(--page-panel-radius);
  background: var(--page-panel-bg);
  padding: 16px 18px 8px;
  box-shadow: var(--page-panel-shadow);
}

.account-panel-view__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 2px 0 16px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.account-panel-view__title {
  font-size: clamp(40px, 4.8vw, 58px);
  line-height: 0.98;
  letter-spacing: -0.06em;
  color: #f5f5f6;
}

.account-panel-view__last-login {
  color: #b4b4b8;
  font-size: 13px;
  white-space: nowrap;
}

.account-overview {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 340px);
  gap: 24px;
  padding: 18px 0 20px;
}

.account-overview__identity {
  display: flex;
  align-items: center;
  gap: 18px;
}

.account-overview__avatar {
  display: grid;
  place-items: center;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.16);
  color: #d2d4db;
}

.account-overview__avatar svg {
  width: 44px;
  height: 44px;
}

.account-overview__email {
  color: #f1f1f1;
  font-size: 34px;
  line-height: 1.02;
  letter-spacing: -0.04em;
  overflow-wrap: anywhere;
}

.account-overview__uid-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 32px;
  margin-top: 12px;
  padding: 0 12px;
  border: 1px solid rgba(255, 255, 255, 0.09);
  border-radius: 999px;
  color: #b8b8bd;
  font-size: 14px;
}

.account-overview__uid-copy {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 18px;
  height: 18px;
  padding: 0;
  border: none;
  background: transparent;
  color: inherit;
  cursor: pointer;
}

.account-overview__uid-copy svg {
  width: 18px;
  height: 18px;
}

.account-overview__uid-copy--copied,
.account-summary__uid-copy--copied {
  color: #21C95E;
}

.account-security-note {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 78px;
  gap: 14px;
  align-items: center;
  padding: 16px 18px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 18px;
  background: #1c1c1c;
}

.account-security-note__text {
  color: #d9dae0;
  font-size: 14px;
  line-height: 1.45;
}

.account-security-note__link {
  display: inline-block;
  margin-top: 12px;
  color: #ff5f63;
  font-size: 13px;
}

.account-security-note__badge {
  color: #4666f5;
}

.account-security-note__badge svg {
  display: block;
  width: 76px;
  height: 84px;
}

.account-setting-list {
  border-top: 1px solid rgba(255, 255, 255, 0.04);
}

.account-setting-item {
  display: grid;
  grid-template-columns: 56px minmax(0, 1fr) 140px auto;
  gap: 18px;
  align-items: center;
  padding: 20px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.04);
}

.account-setting-item__icon {
  display: inline-flex;
  width: 56px;
  height: 56px;
  color: #4a69f5;
}

.account-setting-item__icon svg {
  width: 56px;
  height: 56px;
}

.account-setting-item__title {
  color: #f1f1f1;
  font-size: 18px;
  line-height: 1.25;
  letter-spacing: -0.03em;
}

.account-setting-item__copy {
  margin-top: 4px;
  color: #a1a1a8;
  font-size: 14px;
  line-height: 1.45;
}

.account-setting-item__status {
  color: #b2b2b7;
  font-size: 13px;
  text-align: right;
}

.account-setting-item__actions {
  display: inline-flex;
  align-items: center;
  justify-content: flex-end;
  gap: 14px;
}

.account-setting-item__actions .btn {
  min-width: 118px;
  height: 40px;
  padding: 0 20px;
}

.account-page {
  flex: 1;
  padding: 132px 24px 92px;
}

.account-shell {
  width: min(1060px, 100%);
  margin: 0 auto;
}

.account-panel {
  border: var(--page-panel-border);
  border-radius: var(--page-panel-radius);
  background: var(--page-panel-bg);
  padding: 18px 18px 10px;
  box-shadow: var(--page-panel-shadow);
}

.account-panel__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 4px 0 18px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.account-panel__title {
  font-size: clamp(40px, 4.8vw, 58px);
  line-height: 0.98;
  letter-spacing: -0.06em;
  color: #f5f5f6;
}

.account-panel__last-login {
  color: #b2b2b7;
  font-size: 13px;
  white-space: nowrap;
}

.account-summary {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 340px);
  gap: 26px;
  padding: 18px 0 20px;
}

.account-summary__identity {
  display: flex;
  align-items: center;
  gap: 18px;
  min-width: 0;
}

.account-avatar {
  display: grid;
  place-items: center;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.16);
  color: #d2d4db;
}

.account-avatar svg {
  width: 44px;
  height: 44px;
}

.account-summary__copy {
  min-width: 0;
}

.account-summary__email {
  color: #f1f1f1;
  font-size: 33px;
  line-height: 1.02;
  letter-spacing: -0.04em;
  overflow-wrap: anywhere;
}

.account-summary__uid-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 32px;
  margin-top: 12px;
  padding: 0 12px;
  border: 1px solid rgba(255, 255, 255, 0.09);
  border-radius: 999px;
  color: #b7b7bc;
  font-size: 14px;
}

.account-summary__uid-copy {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 18px;
  height: 18px;
  padding: 0;
  border: none;
  background: transparent;
  color: inherit;
  cursor: pointer;
}

.account-summary__uid-copy svg {
  width: 18px;
  height: 18px;
}

.account-summary__uid-copy--copied {
  color: #21C95E;
}

.account-security-card {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 78px;
  gap: 14px;
  align-items: center;
  padding: 16px 18px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 18px;
  background: #1c1c1c;
}

.account-security-card__text {
  color: #d9dae0;
  font-size: 14px;
  line-height: 1.45;
}

.account-security-card__link {
  display: inline-block;
  margin-top: 12px;
  color: #ff5f63;
  font-size: 13px;
}

.account-security-card__badge {
  color: #4666f5;
}

.account-security-card__badge svg {
  display: block;
  width: 76px;
  height: 84px;
}

.account-settings-list {
  border-top: 1px solid rgba(255, 255, 255, 0.04);
}

.account-setting-row {
  display: grid;
  grid-template-columns: 56px minmax(0, 1fr) 140px auto;
  gap: 18px;
  align-items: center;
  padding: 20px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.04);
}

.account-setting-row__icon {
  display: inline-flex;
  width: 56px;
  height: 56px;
  color: #4a69f5;
}

.account-setting-row__icon svg {
  width: 56px;
  height: 56px;
}

.account-setting-row__body {
  min-width: 0;
}

.account-setting-row__title {
  color: #f1f1f1;
  font-size: 18px;
  line-height: 1.25;
  letter-spacing: -0.03em;
}

.account-setting-row__copy {
  margin-top: 4px;
  color: #a1a1a8;
  font-size: 14px;
  line-height: 1.45;
}

.account-setting-row__status {
  color: #b2b2b7;
  font-size: 13px;
  text-align: right;
}

.account-setting-row__actions {
  display: inline-flex;
  align-items: center;
  justify-content: flex-end;
  gap: 14px;
}

.account-setting-row__actions .btn {
  min-width: 118px;
  height: 40px;
  padding: 0 20px;
}

.account-setting-row__ghost {
  min-width: 102px;
}

.wallets-page {
  flex: 1;
  padding: 132px 24px 92px;
}

.wallets-shell {
  width: min(1060px, 100%);
  margin: 0 auto;
}

.wallets-panel {
  border: var(--page-panel-border);
  border-radius: var(--page-panel-radius);
  background: var(--page-panel-bg);
  padding: 18px;
  box-shadow: var(--page-panel-shadow);
}

.wallets-panel__header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 20px;
  padding-bottom: 20px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.wallets-panel__intro {
  flex: 1 1 auto;
  min-width: 0;
}

.wallets-panel__eyebrow {
  color: #8d8d93;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.wallets-panel__title {
  margin-top: 10px;
  color: #f5f5f6;
  font-size: clamp(40px, 4.8vw, 58px);
  line-height: 0.98;
  letter-spacing: -0.06em;
}

.wallets-panel__copy {
  margin-top: 12px;
  max-width: 620px;
  color: #b4b4b8;
  font-size: 14px;
  line-height: 1.55;
}

.wallets-panel__meta {
  display: flex;
  flex: 0 0 auto;
  flex-wrap: nowrap;
  gap: 8px;
  justify-content: flex-end;
}

.wallets-panel__meta-card {
  min-width: 196px;
  padding: 14px 16px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 18px;
  background: #1c1c1c;
}

.wallets-panel__meta-label {
  color: #8d8d93;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.wallets-panel__meta-value {
  margin-top: 6px;
  color: #f1f1f1;
  font-size: 22px;
  line-height: 1.1;
  letter-spacing: -0.04em;
}

.wallets-panel__meta-subtle {
  margin-top: 6px;
  color: #a1a1a8;
  font-size: 12px;
}

.wallets-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 14px;
  padding-top: 22px;
}

.wallet-row {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(180px, 0.8fr) auto;
  align-items: center;
  gap: 20px;
  padding: 18px 20px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 24px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.03), rgba(255, 255, 255, 0.01)),
    #1a1a1a;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.03);
}

.wallet-row__token {
  display: flex;
  align-items: center;
  gap: 16px;
  min-width: 0;
}

.wallet-row__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 54px;
  height: 54px;
  flex: 0 0 54px;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.05);
}

.wallet-row__icon img {
  width: 30px;
  height: 30px;
}

.wallet-row__token-copy {
  min-width: 0;
}

.wallet-row__symbol {
  color: #f5f5f6;
  font-size: 24px;
  line-height: 1;
  letter-spacing: -0.04em;
}

.wallet-row__network {
  margin-top: 6px;
  color: #9c9ca2;
  font-size: 13px;
  line-height: 1.45;
}

.wallet-row__balance {
  min-width: 0;
}

.wallet-row__balance-value {
  color: #f5f5f6;
  font-size: 22px;
  font-weight: 600;
  line-height: 1.08;
  letter-spacing: -0.04em;
}

.wallet-row__balance-fiat {
  margin-top: 6px;
  color: #21c95e;
  font-size: 13px;
  font-weight: 600;
}

.wallet-row__actions {
  display: inline-flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 10px;
}

.wallet-row__action {
  min-width: 104px;
  height: 40px;
  padding: 0 18px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 999px;
  background: #141414;
  color: #eef1f7;
  font-family: var(--font);
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  transition: border-color 0.18s ease, background 0.18s ease, transform 0.18s ease;
}

.wallet-row__action:hover,
.wallet-row__action:focus-visible {
  border-color: rgba(109, 145, 255, 0.42);
  background: #1d2957;
  outline: none;
}

.wallet-row__action:active {
  transform: translateY(1px);
}

body.wallet-modal-open {
  overflow: hidden;
}

.wallet-modal {
  position: fixed;
  inset: 0;
  z-index: 1200;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 28px;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.18s ease;
}

.wallet-modal--open {
  opacity: 1;
  pointer-events: auto;
}

.wallet-modal__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(4, 6, 12, 0.76);
  backdrop-filter: blur(14px);
}

.wallet-modal__dialog {
  position: relative;
  width: min(640px, 100%);
  max-height: min(88vh, 760px);
  overflow: auto;
  padding: 28px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 28px;
  background:
    radial-gradient(circle at top left, rgba(64, 96, 198, 0.18), transparent 36%),
    #111214;
  box-shadow: 0 28px 90px rgba(0, 0, 0, 0.46);
}

.wallet-modal__close {
  position: absolute;
  top: 16px;
  right: 16px;
  width: 38px;
  height: 38px;
  border: 0;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.06);
  color: #f4f5f9;
  font-size: 28px;
  line-height: 1;
  cursor: pointer;
}

.wallet-modal__header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
  padding-right: 52px;
}

.wallet-modal__identity {
  display: flex;
  align-items: center;
  gap: 16px;
  min-width: 0;
}

.wallet-modal__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 58px;
  height: 58px;
  flex: 0 0 58px;
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.05);
}

.wallet-modal__icon img {
  width: 32px;
  height: 32px;
}

.wallet-modal__eyebrow {
  color: #8d8d93;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.wallet-modal__title {
  margin-top: 8px;
  color: #f5f5f6;
  font-size: clamp(28px, 4vw, 36px);
  line-height: 1;
  letter-spacing: -0.05em;
}

.wallet-modal__badge {
  display: inline-flex;
  align-items: center;
  min-height: 30px;
  padding: 0 12px;
  border-radius: 999px;
  background: rgba(74, 110, 246, 0.18);
  color: #9ab0ff;
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.wallet-modal__body {
  display: grid;
  gap: 20px;
  margin-top: 24px;
}

.wallet-modal__meta-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 16px;
}

.wallet-modal__meta-card,
.wallet-modal__address-block {
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.03);
  padding: 18px;
}

.wallet-modal__label {
  color: #8d8d93;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.wallet-modal__amount {
  margin-top: 10px;
  color: #f5f5f6;
  font-size: clamp(28px, 4vw, 38px);
  line-height: 1;
  letter-spacing: -0.06em;
}

.wallet-modal__fiat {
  margin-top: 8px;
  color: #21c95e;
  font-size: 15px;
  font-weight: 600;
}

.wallet-modal__qr {
  width: 172px;
  height: 172px;
  padding: 14px;
  border-radius: 26px;
  background: #161616;
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.wallet-modal__qr svg {
  display: block;
  width: 100%;
  height: 100%;
}

.wallet-modal__address-row {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: 12px;
}

.wallet-modal__address {
  flex: 1;
  min-width: 0;
  padding: 14px 16px;
  border-radius: 16px;
  background: #161616;
  color: #edf0f8;
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, Liberation Mono, monospace;
  font-size: 12px;
  overflow-wrap: anywhere;
}

.wallet-modal__copy {
  min-width: 88px;
  height: 42px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 999px;
  background: #161616;
  color: #f1f1f1;
  font-family: var(--font);
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
}

.wallet-modal__note {
  margin-top: 12px;
  color: #a4a4aa;
  font-size: 13px;
  line-height: 1.55;
}

.wallet-modal__form-card {
  display: grid;
  gap: 16px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.03);
  padding: 18px;
}

.wallet-modal__form-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
}

.wallet-modal__available {
  margin-top: 8px;
  color: #f5f5f6;
  font-size: 18px;
  font-weight: 600;
  line-height: 1.2;
}

.wallet-modal__field {
  display: grid;
  gap: 8px;
}

.wallet-modal__field-label {
  color: #b8bcc8;
  font-size: 13px;
}

.wallet-modal__input-wrap {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 0 16px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 16px;
  background: #161616;
}

.wallet-modal__input {
  width: 100%;
  height: 50px;
  border: 0;
  background: transparent;
  color: #f5f5f6;
  font-family: var(--font);
  font-size: 18px;
  font-weight: 600;
  outline: none;
}

.wallet-modal__input::-webkit-outer-spin-button,
.wallet-modal__input::-webkit-inner-spin-button {
  -webkit-appearance: none;
  margin: 0;
}

.wallet-modal__input[type='number'] {
  -moz-appearance: textfield;
}

.wallet-modal__input-suffix {
  color: #8d8d93;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.wallet-modal__form-note {
  color: #a4a4aa;
  font-size: 13px;
  line-height: 1.55;
}

.wallet-modal__form-note[data-state='ready'] {
  color: #21c95e;
}

.wallet-modal__submit {
  min-width: 154px;
  height: 42px;
  padding: 0 18px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 999px;
  background: #315cff;
  color: #ffffff;
  font-family: var(--font);
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  transition: opacity 0.18s ease, transform 0.18s ease;
}

.wallet-modal__submit:disabled {
  opacity: 0.42;
  cursor: not-allowed;
}

.wallet-card {
  display: grid;
  gap: 18px;
  padding: 18px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 24px;
  background: #1c1c1c;
}

.wallet-card__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
}

.wallet-card__identity {
  display: flex;
  align-items: center;
  gap: 14px;
  min-width: 0;
}

.wallet-card__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.04);
}

.wallet-card__icon img {
  width: 28px;
  height: 28px;
}

.wallet-card__copy {
  min-width: 0;
}

.wallet-card__title {
  color: #f1f1f1;
  font-size: 22px;
  line-height: 1;
}

.wallet-card__subtitle {
  margin-top: 5px;
  color: #9c9ca2;
  font-size: 13px;
}

.wallet-card__mode-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 28px;
  padding: 0 10px;
  border-radius: 999px;
  background: rgba(75, 110, 245, 0.14);
  color: #8ca6ff;
  font-size: 12px;
  font-weight: 700;
}

.wallet-card__balance-label {
  color: #8d8d93;
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.wallet-card__balance-value {
  margin-top: 8px;
  color: #f5f5f6;
  font-size: 30px;
  line-height: 1;
  letter-spacing: -0.05em;
}

.wallet-card__balance-fiat {
  margin-top: 6px;
  color: #21C95E;
  font-size: 14px;
  font-weight: 600;
}

.wallet-card__actions {
  display: inline-flex;
  gap: 10px;
}

.wallet-card__action {
  min-width: 108px;
  height: 38px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 999px;
  background: #161616;
  color: #dfe3f1;
  font-family: var(--font);
  font-size: 14px;
  cursor: pointer;
  transition: border-color 0.18s ease, background 0.18s ease, color 0.18s ease;
}

.wallet-card__action--active {
  border-color: transparent;
  background: #315cff;
  color: #ffffff;
}

.wallet-card__panel {
  display: none;
  gap: 16px;
}

.wallet-card__panel--active {
  display: grid;
}

.wallet-card__qr {
  width: 126px;
  height: 126px;
  padding: 10px;
  border-radius: 20px;
  background: #161616;
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.wallet-card__qr svg {
  display: block;
  width: 100%;
  height: 100%;
}

.wallet-card__address-block {
  display: grid;
  gap: 10px;
}

.wallet-card__label {
  color: #8d8d93;
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.wallet-card__address-row {
  display: flex;
  align-items: center;
  gap: 12px;
}

.wallet-card__address {
  flex: 1;
  min-width: 0;
  padding: 12px 14px;
  border-radius: 16px;
  background: #161616;
  color: #edf0f8;
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, Liberation Mono, monospace;
  font-size: 12px;
  overflow-wrap: anywhere;
}

.wallet-card__copy-btn {
  min-width: 70px;
  height: 38px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 999px;
  background: #161616;
  color: #f1f1f1;
  font-family: var(--font);
  font-size: 13px;
  cursor: pointer;
}

.wallet-card__note {
  color: #a4a4aa;
  font-size: 13px;
  line-height: 1.5;
}

.wallet-card__withdraw-grid {
  display: grid;
  gap: 12px;
}

.wallet-card__field {
  display: grid;
  gap: 8px;
}

.wallet-card__input {
  height: 46px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 14px;
  background: #161616;
  color: #f1f1f1;
  font-family: var(--font);
  font-size: 14px;
  padding: 0 14px;
}

.wallet-card__input:disabled {
  opacity: 0.62;
}

.wallet-card__withdraw-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
}

.wallet-card__submit.btn {
  min-width: 140px;
}

.login-shell {
  width: 100%;
  padding: 54px 0 72px;
}

.login-shell__inner {
  width: min(var(--max-w), calc(100vw - clamp(24px, 6vw, 64px)));
  margin: 0 auto;
  display: grid;
  justify-items: center;
}

.login-glow-wrap {
  width: 100%;
  min-height: 540px;
  padding: 42px 0 28px;
}

.login-shell__fluid {
  --hero-fluid-width: min(830px, 82vw);
  --hero-fluid-height: min(610px, 52vw);
  --hero-fluid-filter: blur(28px) saturate(1.54) contrast(1.08);
  --hero-fluid-opacity: 0.96;
}

.login-card {
  position: relative;
  z-index: 1;
  width: min(100%, 452px);
  background: rgba(20, 20, 20, 0.96);
  border: 1px solid rgba(255, 255, 255, 0.05);
  border-radius: 20px;
  box-shadow: 0 28px 68px rgba(0, 0, 0, 0.42), inset 0 1px 0 rgba(255, 255, 255, 0.03);
  padding: 18px 15px 14px;
  backdrop-filter: blur(12px);
}

.login-card--register {
  width: min(100%, 426px);
  padding-bottom: 16px;
}

.login-card--forgot {
  width: min(100%, 382px);
  padding-bottom: 14px;
}

.login-card__topbar {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 10px;
}

.login-card__title {
  margin: 0;
  font-size: 31px;
  line-height: 1.02;
  letter-spacing: -0.04em;
  font-weight: 800;
  color: #f4f4f5;
}

.login-card__site {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  margin-top: 3px;
  color: #8d8d93;
  font-size: 11px;
  line-height: 1;
  white-space: nowrap;
}

.login-card__site svg {
  width: 12px;
  height: 12px;
  flex-shrink: 0;
}

.login-card__divider {
  height: 1px;
  background: rgba(255, 255, 255, 0.06);
}

.login-card__intro {
  margin: 16px 0 18px;
  text-align: center;
  color: #7f8088;
  font-size: 13px;
  line-height: 1.35;
}

.login-card__intro a {
  color: #d8d8dc;
  font-weight: 500;
}

.login-card__intro--body {
  margin-bottom: 14px;
  text-align: left;
  color: #9c9da4;
  font-size: 12px;
  line-height: 1.3;
}

.auth-field-label {
  padding: 0 10px;
  color: #d8d8dc;
  font-size: 13px;
  font-weight: 500;
  line-height: 1.2;
}

.login-form {
  display: grid;
  gap: 10px;
}

.register-form {
  gap: 8px;
}

.login-form__field-group {
  display: grid;
  gap: 6px;
}

.login-field {
  min-height: 40px;
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  gap: 10px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.06);
  background: linear-gradient(180deg, rgba(29, 29, 29, 0.92), rgba(23, 23, 23, 0.96));
  padding: 0 15px;
  color: #92939a;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.02);
}

.login-field__icon,
.login-field__toggle,
.login-field__code {
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.login-field__icon {
  color: #7f8088;
}

.login-field__icon svg,
.login-field__toggle svg {
  width: 15px;
  height: 15px;
}

.login-field__input {
  width: 100%;
  border: none;
  outline: none;
  background: transparent;
  color: #f1f1f1;
  font-size: 13px;
  font-family: var(--font);
  line-height: 1;
  padding: 13px 0;
}

.login-field__input::placeholder {
  color: #7f8088;
}

:is(.page--register, .page--login, .page--forgot-password, .page--admin) .login-field__input:-webkit-autofill,
:is(.page--register, .page--login, .page--forgot-password, .page--admin) .login-field__input:-webkit-autofill:hover,
:is(.page--register, .page--login, .page--forgot-password, .page--admin) .login-field__input:-webkit-autofill:focus,
:is(.page--register, .page--login, .page--forgot-password, .page--admin) .login-field__input:autofill,
:is(.page--register, .page--login, .page--forgot-password, .page--admin) .login-field__input:autofill:hover,
:is(.page--register, .page--login, .page--forgot-password, .page--admin) .login-field__input:autofill:focus {
  -webkit-text-fill-color: #f1f1f1;
  caret-color: #f1f1f1;
  border-radius: 999px;
  box-shadow: inset 0 0 0 1000px #1a1a1a;
  transition: background-color 9999s ease-out 0s;
}

.login-field__toggle {
  border: none;
  background: transparent;
  color: #7f8088;
  padding: 0;
  cursor: pointer;
}

.login-field--invalid {
  border-color: rgba(255, 110, 110, 0.5);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.02), 0 0 0 1px rgba(255, 110, 110, 0.08);
}

.login-form__meta {
  min-height: 12px;
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  margin-top: -3px;
  padding: 0 8px;
}

.login-form__link {
  color: #8d8d93;
  font-size: 12px;
  line-height: 1;
}

.login-form__meta--stacked {
  grid-template-columns: 1fr;
  margin-top: 0;
  padding: 0;
}

.login-form__meta--forgot {
  min-height: 0;
  margin-top: 2px;
}

.login-form__status,
.login-field__message {
  min-height: 16px;
  padding: 0 16px;
  color: #ff9090;
  font-size: 11px;
  line-height: 1.35;
}

.login-form__status {
  color: #8d8d93;
  padding: 0;
}

.login-form__status--error {
  color: #ff9090;
}

.login-form__status--success {
  color: #8fe3b0;
}

.auth-requirements {
  display: grid;
  gap: 5px;
  padding: 0 10px;
  list-style: none;
}

.auth-requirement {
  display: flex;
  align-items: center;
  gap: 8px;
  color: #8e8f96;
  font-size: 12px;
  line-height: 1.35;
}

.auth-requirement::before {
  content: "";
  width: 12px;
  height: 8px;
  border-left: 2px solid #5c5d64;
  border-bottom: 2px solid #5c5d64;
  transform: rotate(-45deg) translateY(-1px);
  flex-shrink: 0;
}

.auth-requirement--met {
  color: #bdbfc6;
}

.auth-requirement--met::before {
  border-color: #21c95e;
}

.auth-consent {
  display: grid;
  gap: 6px;
}

.auth-checkbox {
  display: grid;
  grid-template-columns: auto auto 1fr;
  align-items: center;
  gap: 10px;
  min-height: 26px;
  padding: 0 10px;
  cursor: pointer;
}

.auth-checkbox__input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.auth-checkbox__box {
  width: 18px;
  height: 18px;
  border-radius: 4px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(255, 255, 255, 0.02);
  position: relative;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.02);
}

.auth-checkbox__input:checked + .auth-checkbox__box::after {
  content: "";
  position: absolute;
  left: 4px;
  top: 2px;
  width: 7px;
  height: 10px;
  border-right: 2px solid #21c95e;
  border-bottom: 2px solid #21c95e;
  transform: rotate(45deg);
}

.auth-checkbox__label {
  color: #8d8d93;
  font-size: 12px;
  line-height: 1.35;
}

.login-field--captcha {
  grid-template-columns: auto minmax(0, 1fr) auto;
}

.login-field__code {
  min-width: 76px;
  height: 28px;
  padding: 0 14px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.07);
  background: rgba(0, 0, 0, 0.16);
  color: #e6e7ec;
  font-size: 20px;
  font-style: italic;
  letter-spacing: 0.32em;
  text-indent: 0.32em;
  line-height: 1;
  font-family: Georgia, 'Times New Roman', serif;
}

.login-field__captcha-stack {
  display: flex;
  align-items: center;
  gap: 10px;
}

.login-field__captcha-refresh {
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 999px;
  background: #161616;
  color: #f1f1f1;
  cursor: pointer;
  font-size: 12px;
  line-height: 1;
  padding: 10px 14px;
}

.login-field__captcha-refresh:hover {
  background: #1f2028;
}

.login-field__code--loading {
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
  letter-spacing: 0;
  text-indent: 0;
}

.login-form__submit {
  margin-top: 10px;
  height: 40px;
  font-size: 18px;
  font-weight: 500;
  border-radius: 999px;
  background: linear-gradient(90deg, #4960d8 0%, #4d67e7 100%);
}

.login-form__submit:hover {
  background: linear-gradient(90deg, #4055c4 0%, #4760d8 100%);
}

:is(.page--register, .page--forgot-password) .login-card {
  border: none;
  border-radius: 24px;
  padding: 20px;
}

.page--register .login-card {
  width: min(100%, 570px);
}

.page--forgot-password .login-card {
  width: min(100%, 520px);
}

:is(.page--register, .page--forgot-password) .login-card__topbar {
  position: relative;
  align-items: center;
  justify-content: flex-start;
  gap: 10px;
  margin-bottom: 10px;
}

:is(.page--register, .page--forgot-password) .login-card__title {
  margin-right: auto;
  font-size: 40px;
  font-weight: 700;
  line-height: 1.05;
}

:is(.page--register, .page--forgot-password) .login-card__site {
  position: absolute;
  right: 0;
  justify-content: center;
  gap: 8px;
  margin-top: 0;
  color: #b5b5b5;
  font-size: 14px;
  line-height: 1.2;
  text-align: center;
}

:is(.page--register, .page--forgot-password) .login-card__site svg {
  width: 12px;
  height: 12px;
}

:is(.page--register, .page--forgot-password) .login-card__intro {
  margin: 20px 0 20px;
  color: #b5b5b5;
  font-size: 14px;
  line-height: 1.4;
}

.page--register .login-card__intro a {
  color: #f1f1f1;
  font-size: 18px;
  font-weight: 500;
}

.page--forgot-password .login-card__intro--body {
  text-align: left;
}

:is(.page--register, .page--forgot-password) .login-form {
  gap: 8px;
}

:is(.page--register, .page--forgot-password) .login-field {
  min-height: 54px;
  gap: 10px;
  padding: 0 20px;
  background: #1a1a1a;
}

:is(.page--register, .page--forgot-password) .login-field__icon svg,
:is(.page--register, .page--forgot-password) .login-field__toggle svg {
  width: 18px;
  height: 18px;
}

:is(.page--register, .page--forgot-password) .login-field__input {
  font-size: 14px;
  line-height: 1.2;
  padding: 18px 0;
}

:is(.page--register, .page--forgot-password) .login-field__input::placeholder {
  color: #b5b5b5;
  font-size: 14px;
}

:is(.page--register, .page--forgot-password) .login-form__meta {
  min-height: 16px;
  margin-top: 2px;
  padding: 0;
}

:is(.page--register, .page--forgot-password) .login-form__link {
  color: #b5b5b5;
  font-size: 14px;
}

:is(.page--register, .page--forgot-password) .login-field__message,
:is(.page--register, .page--forgot-password) .login-form__status {
  min-height: 16px;
  font-size: 11px;
  line-height: 1.35;
}

:is(.page--register, .page--forgot-password) .login-form__status {
  color: #8d8d93;
}

:is(.page--register, .page--forgot-password) .login-form__status--error {
  color: #ff3f43;
}

:is(.page--register, .page--forgot-password) .login-field--invalid {
  border-color: #ff3f43;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.02), 0 0 0 1px rgba(255, 63, 67, 0.16);
}

:is(.page--register, .page--forgot-password) .login-field__message:empty,
:is(.page--register, .page--forgot-password) .login-form__status:empty {
  visibility: hidden;
}

:is(.page--register, .page--forgot-password) .login-field--captcha .login-field__code {
  margin-left: 10px;
  min-width: 84px;
  min-height: 48px;
  height: auto;
  padding: 2px;
  border: none;
  background: transparent;
  color: #f1f1f1;
  font-size: 16px;
  font-style: normal;
  letter-spacing: 0.2em;
  text-indent: 0;
  font-family: var(--font);
  box-shadow: none;
}

:is(.page--register, .page--login) .login-field__captcha-stack {
  margin-left: 10px;
  gap: 6px;
}

:is(.page--register, .page--login) .login-field__code svg {
  display: block;
  width: 154px;
  max-width: 100%;
  height: 48px;
  background: transparent;
}

:is(.page--register, .page--login) .login-field--captcha {
  position: relative;
  align-items: center;
}

:is(.page--register, .page--login) .login-field--captcha .login-field__input {
  min-width: 0;
}

:is(.page--register, .page--login) .login-field--captcha .login-field__captcha-stack {
  padding-left: 8px;
  border-left: 1px solid rgba(255, 255, 255, 0.06);
}

:is(.page--register, .page--login) .login-field--captcha .login-field__captcha-refresh {
  position: absolute;
  top: calc(100% + 6px);
  left: 0;
  right: 0;
  display: block;
  padding: 8px 1px 8px 10px;
  border: none;
  background: transparent;
  color: #b5b5b5;
  text-align: right;
}

:is(.page--register, .page--login) .login-field--captcha .login-field__captcha-refresh:hover {
  background: transparent;
  color: #f1f1f1;
}

:is(.page--register, .page--login) .login-field--captcha + .login-field__message {
  margin-top: 28px;
  padding-right: 96px;
}

:is(.page--register, .page--forgot-password) .login-form__submit {
  width: 100%;
  height: 54px;
  margin-top: 6px;
}

.page--register .auth-field-label,
.page--register .auth-requirements,
.page--register .auth-checkbox {
  padding-left: 16px;
  padding-right: 16px;
}

.page--register .login-field--captcha + .login-field__message {
  margin-top: 10px;
}

.page--register .auth-consent {
  gap: 0;
}

.page--register .login-form__field-group + .auth-consent {
  margin-top: -8px;
}

.page--register .auth-consent + .auth-consent {
  margin-top: -4px;
}

.page--register .auth-field-label,
.page--register .auth-requirement,
.page--register .auth-checkbox__label {
  font-size: 13px;
}

.page--register .auth-requirements {
  gap: 6px;
}

.page--register .login-form__meta--stacked {
  margin-top: 0;
}

.page--register .login-form__meta--stacked .login-form__status {
  min-height: 0;
}

.page--register .auth-consent .login-field__message:empty,
.page--register .login-form__meta--stacked .login-form__status:empty {
  display: none;
}

.page--register .login-form__submit {
  margin-top: 30px;
}

.page--login .login-card {
  width: min(100%, 570px);
  min-height: 453px;
  border: none;
  border-radius: 24px;
  padding: 20px;
}

.page--login .login-card__topbar {
  position: relative;
  align-items: center;
  justify-content: flex-start;
  gap: 10px;
  margin-bottom: 10px;
}

.page--login .login-card__title {
  font-size: 40px;
  font-weight: 700;
  line-height: 1.05;
  margin-right: auto;
}

.page--login .login-card__site {
  position: absolute;
  right: 0;
  justify-content: center;
  gap: 8px;
  margin-top: 0;
  color: #b5b5b5;
  font-size: 14px;
  line-height: 1.2;
  text-align: center;
}

.page--login .login-card__site svg {
  width: 12px;
  height: 12px;
}

.page--login .login-card__intro {
  margin: 20px 0 20px;
  color: #b5b5b5;
  font-size: 14px;
  line-height: 1.4;
}

.page--login .login-card__intro a {
  color: #f1f1f1;
  font-size: 18px;
  font-weight: 500;
}

.page--login .login-form {
  gap: 8px;
}

.page--login .login-form__field-group {
  position: relative;
  gap: 0;
  padding-bottom: 16px;
}

.page--login .login-field {
  min-height: 54px;
  gap: 10px;
  padding: 0 20px;
  background: #1a1a1a;
}

.page--login .login-field__icon svg,
.page--login .login-field__toggle svg {
  width: 18px;
  height: 18px;
}

.page--login .login-field__input {
  font-size: 14px;
  line-height: 1.2;
  padding: 18px 0;
}

.page--login .login-field__input::placeholder {
  color: #b5b5b5;
  font-size: 14px;
}

.page--login .login-form__meta {
  min-height: 16px;
  margin-top: 2px;
  padding: 0;
}

.page--login .login-form__link {
  color: #b5b5b5;
  font-size: 14px;
  justify-self: end;
}

.page--login .login-field__message,
.page--login .login-form__status {
  min-height: 16px;
  font-size: 11px;
  line-height: 1.35;
}

.page--login .login-field__message {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  padding: 0 16px;
  color: #ff3f43;
}

.page--login .login-form__status {
  padding: 0;
  color: #8d8d93;
}

.page--login .login-form__status--error {
  color: #ff3f43;
}

.page--login .login-field--captcha + .login-field__message {
  position: static;
  margin-top: 28px;
  padding: 0 16px;
  padding-right: 96px;
}

.page--login .login-field--invalid {
  border-color: #ff3f43;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.02), 0 0 0 1px rgba(255, 63, 67, 0.16);
}

.page--login .login-field__message:empty,
.page--login .login-form__status:empty {
  visibility: hidden;
}

.page--login .login-field--captcha {
  align-items: center;
  border-radius: 999px;
  background: #1a1a1a;
}

.page--login .login-field--captcha .login-field__code {
  margin-left: 10px;
  min-width: 96px;
  min-height: 56px;
  height: auto;
  padding: 4px;
  border: none;
  background: transparent;
  color: #f1f1f1;
  font-size: 16px;
  font-style: normal;
  letter-spacing: 0.2em;
  text-indent: 0;
  font-family: var(--font);
}

.page--login .login-form__submit {
  width: 100%;
  height: 54px;
  margin-top: 6px;
}



.hero__headline {
  --hero-headline-size: 96px;
  --hero-headline-spacing: -1.2px;
  --hero-headline-max: none;
  --hero-headline-margin: 22px;
  font-size: var(--hero-headline-size);
  font-weight: 800;
  letter-spacing: var(--hero-headline-spacing);
  line-height: 1;
  text-transform: uppercase;
  position: relative;
  z-index: 5;
  white-space: nowrap;
  max-width: var(--hero-headline-max);
  margin-bottom: var(--hero-headline-margin);
  -webkit-text-size-adjust: 100%;
}
.hero__headline--accent {
  color: #ffffff;
}

/* Swap card */
.swap-card {
  position: relative;
  background-color: #161616;
  border: 1px solid var(--border-dark);
  border-radius: var(--radius-xl);
  padding: 16px;
  width: 460px;
  min-height: 359px;
  height: auto;
  max-width: 100%;
  text-align: left;
  box-shadow:
    0 20px 56px rgba(73, 108, 255, 0.28),
    0 32px 104px rgba(0, 211, 149, 0.2),
    0 15px 34px rgba(0, 0, 0, 0.55);
  z-index: 1;
}

.swap-card__label {
  grid-column: 1 / -1;
  font-size: 11px;
  font-weight: 500;
  color: var(--text-muted2);
  letter-spacing: 0.02em;
}


.page--admin {
  display: flex;
  flex-direction: column;
}

.admin-page {
  display: flex;
  align-items: center;
  flex: 1;
  padding: 120px 24px 72px;
}

.page--admin .footer {
  margin-top: auto;
}

.page--admin.admin-page--resolving [data-admin-auth-panel],
.page--admin.admin-page--resolving [data-admin-dashboard],
.page--admin.admin-page--resolving [data-admin-editor-panel] {
  display: none;
}

.admin-shell {
  width: min(1180px, 100%);
  margin: 0 auto;
  display: grid;
  gap: 24px;
}

.admin-panel {
  border: var(--page-panel-border);
  border-radius: var(--page-panel-radius);
  background: var(--page-panel-bg);
  box-shadow: var(--page-panel-shadow);
  padding: 28px;
}

.admin-panel--auth {
  max-width: 460px;
  margin: 0 auto;
}

.admin-panel--hidden {
  display: none;
}

.admin-panel__header {
  display: grid;
  gap: 10px;
  margin-bottom: 22px;
}

.admin-panel__eyebrow {
  color: #8d8d93;
  font-size: 12px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.admin-panel__title {
  font-size: 34px;
  line-height: 1.05;
}

.admin-panel__title--small {
  font-size: 28px;
}

.admin-panel__copy {
  color: #9ea3b6;
  font-size: 14px;
  line-height: 1.5;
}

.admin-login-form {
  display: grid;
  gap: 12px;
}

.admin-login-form__submit {
  width: 100%;
  min-height: 52px;
}

.admin-status {
  min-height: 18px;
  color: #8d8d93;
  font-size: 12px;
  line-height: 1.4;
}

.admin-status--error {
  color: #ff5f63;
}

.admin-status--success {
  color: #8fe2a6;
}

.admin-toolbar {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 18px;
  margin-bottom: 18px;
}

.admin-table-wrap {
  overflow-x: auto;
  border-radius: 20px;
  border: 1px solid rgba(255, 255, 255, 0.05);
}

.admin-table {
  width: 100%;
  min-width: 980px;
  border-collapse: collapse;
  background: rgba(255, 255, 255, 0.02);
}

.admin-table th,
.admin-table td {
  padding: 16px 18px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  text-align: left;
  font-size: 13px;
  vertical-align: top;
}

.admin-table th {
  color: #8d8d93;
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.admin-table__empty {
  color: #8d8d93;
  text-align: center;
}

.admin-user {
  display: grid;
  gap: 4px;
}

.admin-user span {
  color: #8d8d93;
}

.admin-pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 74px;
  border-radius: 999px;
  padding: 6px 12px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.admin-pill--active {
  background: rgba(33, 201, 94, 0.15);
  color: #8fe2a6;
}

.admin-pill--blocked {
  background: rgba(255, 95, 99, 0.14);
  color: #ff9b9d;
}

.admin-actions {
  display: flex;
  gap: 10px;
}

.admin-actions__button {
  min-width: 90px;
}

.admin-actions__button--danger {
  border-color: rgba(255, 95, 99, 0.24);
  color: #ff9b9d;
}

.admin-tabs {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 24px;
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.02);
  padding: 6px;
}

.admin-tab {
  border: none;
  border-radius: 999px;
  background: transparent;
  color: #8d8d93;
  cursor: pointer;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.04em;
  padding: 10px 16px;
  transition: background 0.18s ease, color 0.18s ease;
}

.admin-tab--active {
  background: rgba(75, 110, 245, 0.16);
  color: #ffffff;
}

.admin-view {
  display: none;
}

.admin-view--active {
  display: block;
}

.admin-blog-layout {
  display: grid;
  gap: 24px;
}

.admin-system-layout {
  display: grid;
  gap: 24px;
}

.admin-shell--editor {
  width: min(1040px, 100%);
}

.admin-editor,
.admin-library,
.admin-system-card {
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.02);
  padding: 22px;
}

.admin-editor {
  display: grid;
  gap: 18px;
}

.admin-editor--page {
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.02);
  padding: 22px;
}

.admin-toolbar__actions {
  display: flex;
  align-items: center;
  gap: 12px;
}

.admin-editor--hidden,
.admin-library--hidden {
  display: none;
}

.admin-editor__header,
.admin-library__header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
}

.admin-system-card {
  display: grid;
  gap: 18px;
}

.admin-system-list {
  display: grid;
  gap: 16px;
}

.admin-system-item {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 18px;
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 22px;
  background: rgba(6, 8, 14, 0.48);
  padding: 18px;
}

.admin-system-item__copy {
  display: grid;
  gap: 8px;
  max-width: 720px;
}

.admin-system-item__title {
  font-size: 18px;
  line-height: 1.2;
}

.admin-system-item__body {
  color: #9ea3b6;
  font-size: 14px;
  line-height: 1.55;
}

.admin-system-item__hint {
  color: #8d8d93;
  font-size: 12px;
  line-height: 1.5;
}

.admin-system-item__actions {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 12px;
  flex-wrap: wrap;
}

.admin-system-file {
  color: #d8dbe7;
  font-size: 13px;
  line-height: 1.45;
}

.admin-system-input {
  display: none;
}

.admin-editor__grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

.admin-slug-field {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  align-items: center;
  gap: 0;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 18px;
  background: rgba(6, 8, 14, 0.86);
}

.admin-slug-field__prefix {
  padding-left: 16px;
  color: #8d8d93;
  font-size: 14px;
}

.admin-slug-field__input {
  border: none;
  background: transparent;
}

.admin-field {
  display: grid;
  gap: 8px;
}

.admin-field__label {
  color: #b7bed0;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.admin-field__input,
.admin-select,
.admin-textarea {
  width: 100%;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 18px;
  background: rgba(6, 8, 14, 0.86);
  color: #ffffff;
  font-size: 14px;
  line-height: 1.5;
  padding: 14px 16px;
}

.admin-field__input,
.admin-select {
  min-height: 52px;
}

.admin-select {
  appearance: none;
}

.admin-textarea {
  min-height: 132px;
  resize: vertical;
}

.admin-textarea--body {
  min-height: 280px;
}

.admin-upload {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  border: 1px dashed rgba(255, 255, 255, 0.12);
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.02);
  padding: 16px 18px;
}

.admin-upload__copy {
  display: grid;
  gap: 6px;
}

.admin-upload__hint {
  color: #8d8d93;
  font-size: 13px;
}

.admin-upload__button {
  min-width: 150px;
}

.admin-upload__input {
  position: absolute;
  width: 1px;
  height: 1px;
  opacity: 0;
  pointer-events: none;
}

.admin-image-preview {
  display: grid;
  place-items: center;
  min-height: 220px;
  border-radius: 22px;
  border: 1px solid rgba(255, 255, 255, 0.06);
  background: linear-gradient(180deg, rgba(19, 23, 37, 0.88), rgba(8, 11, 18, 0.96));
  overflow: hidden;
}

.admin-image-preview__empty {
  color: #8d8d93;
  font-size: 14px;
}

.admin-image-preview__img {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
}

.admin-image-preview__meta {
  display: grid;
  gap: 4px;
  width: 100%;
  padding: 14px 16px 18px;
}

.admin-image-preview__label {
  color: #b7bed0;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.admin-image-preview__path {
  color: #8d8d93;
  font-size: 13px;
  word-break: break-all;
}

.admin-editor__actions {
  display: flex;
  justify-content: flex-end;
}

.admin-article-list {
  display: grid;
  gap: 14px;
}

.admin-article-empty {
  border: 1px dashed rgba(255, 255, 255, 0.1);
  border-radius: 20px;
  color: #8d8d93;
  font-size: 14px;
  padding: 22px;
  text-align: center;
}

.admin-article-item {
  display: grid;
  grid-template-columns: 112px minmax(0, 1fr);
  gap: 14px;
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 22px;
  background: rgba(9, 12, 20, 0.88);
  padding: 12px;
  transition: border-color 0.18s ease, background 0.18s ease, transform 0.18s ease;
}

.admin-article-item--active {
  border-color: rgba(75, 110, 245, 0.5);
  background: rgba(19, 28, 52, 0.92);
}

.admin-article-item__media {
  min-width: 0;
  aspect-ratio: 1;
  display: grid;
  place-items: center;
  overflow: hidden;
  border-radius: 16px;
  background: linear-gradient(145deg, rgba(75, 110, 245, 0.12), rgba(8, 10, 18, 0.96));
  padding: 10px;
}

.admin-article-item__image {
  width: 100%;
  height: 100%;
  min-height: 96px;
  border-radius: 12px;
  object-fit: contain;
  object-position: center;
}

.admin-article-item__image--placeholder {
  background: radial-gradient(circle at top right, rgba(75, 110, 245, 0.4), rgba(18, 22, 35, 0.92));
}

.admin-article-item__body {
  display: grid;
  gap: 10px;
  min-width: 0;
}

.admin-article-item__header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
}

.admin-article-item__title {
  font-size: 18px;
  line-height: 1.2;
}

.admin-article-item__meta {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
  color: #8d8d93;
  font-size: 12px;
  margin-top: 8px;
}

.admin-article-item__summary {
  color: #b7bed0;
  font-size: 14px;
  line-height: 1.6;
}

.admin-pill--campaigns {
  background: rgba(242, 206, 82, 0.14);
  color: #f4d96a;
}

.admin-pill--product {
  background: rgba(255, 95, 99, 0.14);
  color: #ff9b9d;
}

.admin-pill--market {
  background: rgba(75, 110, 245, 0.14);
  color: #8ca6ff;
}

.admin-pill--academy {
  background: rgba(33, 201, 94, 0.14);
  color: #8fe2a6;
}

.page--blog {
  display: flex;
  flex-direction: column;
}

.blog-page {
  flex: 1;
  padding: 118px 24px 84px;
}

.blog-shell {
  width: min(calc(var(--max-w) - 48px), calc(100vw - clamp(40px, 8vw, 88px)));
  margin: 0 auto;
}

.blog-hero {
  display: grid;
  gap: 14px;
  margin-bottom: 24px;
}

.blog-hero__eyebrow {
  color: #8d8d93;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.24em;
  text-transform: uppercase;
}

.blog-hero__title {
  font-size: clamp(42px, 7vw, 58px);
  letter-spacing: -0.04em;
  line-height: 0.96;
  text-transform: uppercase;
}

.blog-controls {
  display: grid;
  grid-template-columns: 124px minmax(0, 1fr);
  gap: 18px;
  align-items: start;
}

.blog-filters {
  display: grid;
  gap: 10px;
  position: sticky;
  top: 98px;
}

.blog-filter-chip {
  width: 100%;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 999px;
  background: #161616;
  color: #e5e7eb;
  cursor: pointer;
  font-size: 14px;
  padding: 12px 16px;
  text-align: center;
  transition: background 0.18s ease, border-color 0.18s ease, color 0.18s ease;
}

.blog-filter-chip--active {
  background: #4b6ef5;
  border-color: transparent;
  color: #ffffff;
}

.blog-results {
  display: grid;
  gap: 14px;
}

.blog-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  padding: 14px 0;
}

.blog-search {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-width: min(100%, 360px);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 999px;
  background: #161616;
  color: #8d8d93;
  padding: 0 16px;
}

.blog-search__icon {
  display: inline-flex;
  width: 16px;
  height: 16px;
}

.blog-search__icon svg {
  width: 100%;
  height: 100%;
}

.blog-search__input {
  width: 100%;
  min-height: 48px;
  border: none;
  background: transparent;
  color: #ffffff;
  outline: none;
}

.blog-sort {
  display: inline-flex;
  align-items: center;
  gap: 12px;
}

.blog-sort__label {
  color: #8d8d93;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.blog-sort__dropdown .dropdown__menu {
  min-width: 200px;
}

.blog-list {
  display: grid;
  gap: 14px;
}

.blog-pagination {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding-top: 8px;
}

.blog-pagination--hidden {
  display: none;
}

.blog-pagination__pages {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  flex-wrap: wrap;
}

.blog-pagination__button {
  min-width: 42px;
  height: 42px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 999px;
  background: #161616;
  color: #dbe0f1;
  font-family: var(--font);
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  padding: 0 16px;
  transition: border-color 0.18s ease, background 0.18s ease, color 0.18s ease;
}

.blog-pagination__button:hover:not(:disabled) {
  border-color: rgba(75, 110, 245, 0.42);
  background: #161616;
}

.blog-pagination__button--active {
  border-color: #4b6ef5;
  background: #315cff;
  color: #ffffff;
}

.blog-pagination__button:disabled {
  opacity: 0.4;
  cursor: not-allowed;
}

.blog-pagination__button--nav {
  min-width: 108px;
}

.blog-card {
  display: grid;
  grid-template-columns: minmax(118px, 118px) minmax(0, 1fr);
  gap: 18px;
  align-items: start;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 26px;
  background: #161616;
  padding: 14px;
  transition: border-color 0.18s ease, transform 0.18s ease, background 0.18s ease;
}

.blog-card:hover {
  border-color: rgba(75, 110, 245, 0.42);
  background: #161616;
  transform: translateY(-1px);
}

.blog-card__media {
  min-width: 0;
  aspect-ratio: 1;
  overflow: hidden;
  border-radius: 18px;
  background: linear-gradient(145deg, rgba(75, 110, 245, 0.12), rgba(8, 10, 18, 0.96));
}

.blog-card__image {
  display: block;
  width: 100%;
  height: 100%;
  aspect-ratio: 1;
  border-radius: inherit;
  object-fit: cover;
  object-position: center;
}

.blog-card__image--placeholder {
  background: radial-gradient(circle at top, rgba(75, 110, 245, 0.5), rgba(5, 8, 16, 0.9));
}

.blog-card__body {
  display: grid;
  gap: 14px;
  min-width: 0;
}

.blog-card__topline {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
}

.blog-card__meta {
  gap: 10px;
  min-width: 0;
}

.blog-card__title {
  font-size: clamp(24px, 2.6vw, 34px);
  line-height: 1.06;
  overflow-wrap: anywhere;
}

.blog-card__summary {
  color: #c3cad9;
  font-size: 15px;
  line-height: 1.65;
  overflow-wrap: anywhere;
}

.blog-card__pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 96px;
  border: 1px solid currentColor;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 700;
  line-height: 1;
  padding: 10px 14px;
  white-space: nowrap;
}

.blog-card__pill--campaigns {
  color: #f4d96a;
}

.blog-card__pill--product {
  color: #ff6471;
}

.blog-card__pill--market {
  color: #7694ff;
}

.blog-card__pill--academy {
  color: #45dd81;
}

.blog-card__date {
  color: #8d8d93;
  font-size: 13px;
  justify-self: end;
}

.blog-empty {
  background: #161616;
  border: 1px dashed rgba(255, 255, 255, 0.12);
  border-radius: 24px;
  color: #8d8d93;
  padding: 24px;
  text-align: center;
}

.blog-empty--hidden {
  display: none;
}

.blog-shell--article {
  display: grid;
  gap: 24px;
  width: min(980px, 100%);
}

.blog-article__header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 20px;
}

.blog-article__intro {
  display: grid;
  gap: 16px;
}

.blog-article__back {
  color: #8d8d93;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.blog-article__title {
  font-size: clamp(32px, 5vw, 48px);
  line-height: 1.04;
}

.blog-article__meta {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}

.blog-article__date {
  color: #8d8d93;
  font-size: 14px;
}

.blog-article__hero {
  border-radius: 30px;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.02);
}

.blog-article__hero-image {
  display: block;
  width: 100%;
  max-height: 480px;
  object-fit: cover;
}

.blog-article__content {
  display: grid;
  gap: 16px;
  color: #e9edf6;
}

.blog-article__paragraph,
.blog-article__list {
  font-size: 14px;
  line-height: 1.7;
}

.blog-article__list {
  display: grid;
  gap: 8px;
  padding-left: 22px;
}

@media (max-width: 768px) {
  .admin-page {
    padding: 102px 16px 56px;
  }

  .admin-panel {
    padding: 20px;
  }

  .admin-toolbar {
    flex-direction: column;
  }

  .admin-actions {
    flex-direction: column;
  }

  .admin-tabs {
    display: flex;
    width: 100%;
  }

  .admin-blog-layout {
    grid-template-columns: 1fr;
  }

  .admin-editor,
  .admin-library {
    padding: 18px;
  }

  .admin-editor__grid {
    grid-template-columns: 1fr;
  }

  .admin-upload {
    align-items: flex-start;
    flex-direction: column;
  }

  .admin-editor__actions {
    justify-content: stretch;
  }

  .admin-editor__actions .btn {
    width: 100%;
  }

  .admin-article-item {
    grid-template-columns: 1fr;
  }

  .admin-article-item__header {
    flex-direction: column;
  }

  .blog-page {
    padding: 102px 16px 56px;
  }

  .blog-controls {
    grid-template-columns: 1fr;
  }

  .blog-pagination {
    flex-direction: column;
    align-items: stretch;
  }

  .blog-pagination__button--nav {
    width: 100%;
  }

  .blog-filters {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    position: static;
  }

  .blog-toolbar,
  .blog-article__header {
    align-items: stretch;
    flex-direction: column;
  }

  .blog-search {
    min-width: 100%;
  }

  .blog-sort {
    justify-content: space-between;
  }

  .blog-card {
    grid-template-columns: 1fr;
  }

  .blog-card__date {
    justify-self: start;
  }

  .blog-card__topline {
    flex-direction: column;
  }

  .blog-card__pill {
    align-self: flex-start;
  }
}

.admin-tabs {
  display: inline-flex;
  gap: 10px;
  margin-bottom: 22px;
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 999px;
  padding: 6px;
  background: rgba(255, 255, 255, 0.03);
}

.admin-tab {
  min-width: 170px;
  border: none;
  border-radius: 999px;
  background: transparent;
  color: #8d8d93;
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  padding: 11px 18px;
  transition: background 0.16s ease, color 0.16s ease;
}

.admin-tab--active {
  background: rgba(75, 110, 245, 0.16);
  color: #eef2ff;
}

.admin-view {
  display: none;
}

.admin-view--active {
  display: block;
}

.admin-blog-layout {
  display: grid;
  gap: 20px;
  align-items: start;
}

.admin-editor,
.admin-library {
  border: 1px solid rgba(255, 255, 255, 0.05);
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.02);
  padding: 22px;
}

.admin-editor {
  display: grid;
  gap: 18px;
}

.admin-editor--page {
  border: 1px solid rgba(255, 255, 255, 0.05);
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.02);
  padding: 22px;
}

.admin-toolbar__actions {
  display: flex;
  align-items: center;
  gap: 12px;
}

.admin-editor__header,
.admin-library__header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
}

.admin-editor__grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

.admin-field {
  display: grid;
  gap: 8px;
}

.admin-field__label {
  color: #d5d7e5;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.admin-field__input,
.admin-select,
.admin-textarea {
  width: 100%;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 18px;
  background: rgba(8, 10, 16, 0.88);
  color: #f5f7ff;
  font-size: 14px;
  line-height: 1.5;
}

.admin-field__input,
.admin-select {
  min-height: 52px;
  padding: 0 16px;
}

.admin-textarea {
  resize: vertical;
  padding: 16px;
}

.admin-textarea--summary {
  min-height: 110px;
}

.admin-textarea--body {
  min-height: 280px;
}

.admin-select {
  appearance: none;
}

.admin-upload {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  border: 1px dashed rgba(255, 255, 255, 0.12);
  border-radius: 20px;
  padding: 18px;
}

.admin-upload__copy {
  display: grid;
  gap: 6px;
}

.admin-upload__hint {
  color: #8d8d93;
  font-size: 13px;
  line-height: 1.5;
}

.admin-upload__button {
  flex-shrink: 0;
}

.admin-upload__input {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  opacity: 0;
  pointer-events: none;
}

.admin-image-preview {
  min-height: 220px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.05);
  border-radius: 22px;
  background: linear-gradient(135deg, rgba(75, 110, 245, 0.14), rgba(14, 16, 23, 0.88));
}

.admin-image-preview__empty {
  display: grid;
  place-items: center;
  min-height: 220px;
  color: #8d8d93;
  font-size: 14px;
}

.admin-image-preview__img {
  display: block;
  width: 100%;
  height: 220px;
  object-fit: cover;
}

.admin-editor__actions {
  display: flex;
  justify-content: flex-end;
}

.admin-article-list {
  display: grid;
  gap: 14px;
}

.admin-article-card {
  display: grid;
  grid-template-columns: 124px minmax(0, 1fr);
  gap: 16px;
  border: 1px solid rgba(255, 255, 255, 0.05);
  border-radius: 22px;
  background: rgba(8, 10, 16, 0.72);
  padding: 14px;
}

.admin-article-card--selected {
  border-color: rgba(75, 110, 245, 0.46);
  box-shadow: 0 0 0 1px rgba(75, 110, 245, 0.2) inset;
}

.admin-article-card--empty {
  color: #8d8d93;
  text-align: center;
  padding: 26px;
}

.admin-article-card__media {
  overflow: hidden;
  border-radius: 16px;
}

.admin-article-card__image {
  display: block;
  width: 100%;
  height: 100px;
  object-fit: cover;
  background: linear-gradient(135deg, rgba(75, 110, 245, 0.18), rgba(14, 16, 23, 0.9));
}

.admin-article-card__image--placeholder {
  min-height: 100px;
}

.admin-article-card__content {
  display: grid;
  gap: 14px;
}

.admin-article-card__head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 14px;
}

.admin-article-card__title {
  font-size: 18px;
  line-height: 1.25;
}

.admin-article-card__summary {
  margin-top: 6px;
  color: #8d8d93;
  font-size: 13px;
  line-height: 1.55;
}

.admin-article-card__footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
}

.admin-article-card__date {
  color: #8d8d93;
  font-size: 12px;
}

.page--blog {
  display: flex;
  flex-direction: column;
}

.blog-page {
  flex: 1;
  padding: 108px 24px 80px;
}

.blog-shell {
  width: min(calc(var(--max-w) - 48px), calc(100vw - clamp(40px, 8vw, 88px)));
  margin: 0 auto;
}

.blog-shell--article {
  width: min(1120px, 100%);
}

.blog-hero {
  display: grid;
  gap: 12px;
  margin-bottom: 28px;
}

.blog-hero__eyebrow {
  color: #7e879d;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
}

.blog-hero__title {
  font-size: clamp(40px, 5vw, 62px);
  line-height: 0.95;
  text-transform: uppercase;
}

.blog-controls {
  display: grid;
  grid-template-columns: 108px minmax(0, 1fr);
  gap: 18px;
}

.blog-filters {
  display: grid;
  gap: 12px;
  align-content: start;
}

.blog-filter-chip {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  min-height: 40px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 999px;
  background: #161616;
  color: #d7dae6;
  cursor: pointer;
  font-size: 14px;
  transition: border-color 0.16s ease, background 0.16s ease, color 0.16s ease;
}

.blog-filter-chip:hover,
.blog-filter-chip--active {
  border-color: var(--accent-btn);
  background: var(--accent-btn);
  color: #f1f1f1;
}

.blog-results {
  min-width: 0;
}

.blog-toolbar {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 12px;
  border-top: none;
  border-bottom: none;
  padding: 14px 0 12px;
}

.blog-toolbar::before,
.blog-toolbar::after {
  content: "";
  position: absolute;
  right: 0;
  height: 1px;
  background: rgba(255, 255, 255, 0.06);
}

.blog-toolbar::before {
  left: calc((-1 * 108px) - 18px);
  top: -8px;
}

.blog-toolbar::after {
  left: 0;
  bottom: 0;
}

.blog-search {
  position: relative;
  display: flex;
  align-items: center;
  width: min(420px, 100%);
  min-height: 44px;
  padding: 0 18px 0 44px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 999px;
  background: #161616;
}

.blog-search__icon {
  position: absolute;
  left: 16px;
  width: 16px;
  height: 16px;
  color: #7e879d;
}

.blog-search__input {
  display: block;
  flex: 1 1 auto;
  width: 100%;
  min-height: 44px;
  border: none;
  background: transparent;
  color: #f4f6fd;
  font-size: 14px;
  padding: 0;
}

.blog-sort {
  display: inline-flex;
  align-items: center;
  gap: 10px;
}

.blog-sort__label {
  color: #7e879d;
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

.blog-sort__dropdown .dropdown__menu {
  min-width: 170px;
}

.blog-list {
  display: grid;
  gap: 14px;
}

.blog-card {
  display: grid;
  grid-template-columns: minmax(180px, 180px) minmax(0, 1fr);
  gap: 16px;
  align-items: start;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 28px;
  background: #161616;
  padding: 12px;
  transition: border-color 0.18s ease, transform 0.18s ease, background 0.18s ease;
}

.blog-card:hover {
  transform: translateY(-1px);
  border-color: rgba(75, 110, 245, 0.28);
  background: #161616;
}

.blog-card__media {
  overflow: hidden;
  border-radius: 22px;
  aspect-ratio: 1;
  background: linear-gradient(145deg, rgba(75, 110, 245, 0.12), rgba(8, 10, 18, 0.96));
}

.blog-card__image {
  display: block;
  width: 100%;
  height: 100%;
  min-height: 150px;
  object-fit: cover;
  object-position: center;
  border-radius: inherit;
  background: transparent;
}

.blog-card__image--placeholder {
  min-height: 150px;
}

.blog-card__body {
  display: grid;
  gap: 12px;
  min-width: 0;
  height: 100%;
  padding: 8px 10px 6px 0;
}

.blog-card__topline {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: start;
  gap: 20px;
}

.blog-card__meta {
  min-width: 0;
}

.blog-card__title {
  font-size: clamp(24px, 2vw, 33px);
  line-height: 1.08;
  overflow-wrap: anywhere;
}

.blog-card__summary {
  color: #a1a7bb;
  font-size: 15px;
  line-height: 1.6;
  overflow-wrap: anywhere;
}

.blog-card__footer {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: end;
  gap: 18px;
  margin-top: auto;
}

.blog-card__pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 92px;
  min-height: 34px;
  padding: 0 14px;
  border-radius: 999px;
  border: 1px solid currentColor;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.04em;
  white-space: nowrap;
}

.blog-card__pill--market {
  color: #4b6ef5;
}

.blog-card__pill--product {
  color: #ff4d68;
}

.blog-card__pill--academy {
  color: #23c97c;
}

.blog-card__pill--campaigns {
  color: #e0ce28;
}

.blog-card__date {
  align-self: end;
  justify-self: end;
  color: #7e879d;
  font-size: 12px;
  line-height: 1.6;
  white-space: nowrap;
}

.blog-empty {
  display: grid;
  place-items: center;
  min-height: 320px;
  padding: 28px;
  background: #161616;
  color: #8d8d93;
  text-align: center;
}

.blog-empty--hidden {
  display: none;
}

.blog-article__header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 24px;
  padding-top: 6px;
}

.blog-article__intro {
  min-width: 0;
}

.blog-article__back {
  display: inline-flex;
  margin-bottom: 16px;
  color: #7e879d;
  font-size: 13px;
  font-weight: 600;
}

.blog-article__title {
  font-size: clamp(34px, 4.2vw, 54px);
  line-height: 1.03;
}

.blog-article__meta {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}

.blog-article__date {
  color: #8d8d93;
  font-size: 13px;
}

.blog-article__hero {
  overflow: hidden;
  border-radius: 28px;
  margin-bottom: 24px;
  background: linear-gradient(145deg, rgba(75, 110, 245, 0.16), rgba(10, 12, 18, 0.96));
}

.blog-article__hero-image {
  display: block;
  width: 100%;
  max-height: 460px;
  object-fit: cover;
}

.blog-article__content {
  width: min(920px, 100%);
  font-size: 14px;
  line-height: 1.75;
  color: #dbe0f1;
}

.blog-article__paragraph + .blog-article__paragraph,
.blog-article__paragraph + .blog-article__list,
.blog-article__list + .blog-article__paragraph,
.blog-article__list + .blog-article__list {
  margin-top: 18px;
}

.blog-article__list {
  padding-left: 22px;
}

.blog-article__list li + li {
  margin-top: 8px;
}

@media (max-width: 1100px) {
  .admin-blog-layout {
    grid-template-columns: 1fr;
  }

  .admin-editor__grid {
    grid-template-columns: 1fr 1fr;
  }

  .blog-controls {
    grid-template-columns: 1fr;
  }

  .blog-filters {
    grid-template-columns: repeat(5, minmax(0, 1fr));
  }
}

@media (max-width: 768px) {
  .admin-tabs {
    display: grid;
  }

  .admin-tab {
    width: 100%;
  }

  .admin-editor,
  .admin-library {
    padding: 18px;
  }

  .admin-editor__grid {
    grid-template-columns: 1fr;
  }

  .admin-upload,
  .admin-article-card,
  .blog-card,
  .blog-article__header,
  .blog-toolbar {
    grid-template-columns: 1fr;
    flex-direction: column;
    align-items: stretch;
  }

  .blog-page {
    padding: 96px 16px 60px;
  }

  .blog-filters {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .blog-search {
    width: 100%;
  }

  .blog-card__body {
    padding-right: 0;
  }

  .blog-card__topline,
  .blog-card__footer {
    grid-template-columns: minmax(0, 1fr);
    gap: 10px;
  }

  .admin-article-card__head,
  .admin-article-card__footer {
    flex-direction: column;
    align-items: flex-start;
  }

  .blog-card__date {
    justify-self: start;
  }
}

.swap-card__row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  background: #161616;
  border: 1px solid var(--border-dark);
  border-radius: var(--radius-md);
  padding: 8px 12px 10px;
  row-gap: 3px;
  column-gap: 8px;
}

.swap-card__row--buy {
  background: var(--bg-dark);
  border: none;
}

.swap-card__input {
  grid-column: 1;
  background: transparent;
  border: none;
  outline: none;
  font-family: var(--font);
  font-size: 44px;
  font-weight: 600;
  color: var(--text-muted2);
  min-width: 0;
}

.swap-card__input::placeholder {
  color: var(--text-muted2);
}

.swap-card__fiat {
  grid-column: 1;
  font-size: 12px;
  font-weight: 500;
  color: var(--text-muted2);
  line-height: 1;
}

.swap-card__token {
  display: flex;
  align-items: center;
  gap: 7px;
  background: #161616;
  border: 1px solid var(--border-dark);
  border-radius: 100px;
  padding: 8px 12px;
  font-family: var(--font);
  font-size: 13px;
  font-weight: 600;
  color: var(--text);
  cursor: pointer;
  white-space: nowrap;
  transition: background 0.15s;
  flex-shrink: 0;
}

.swap-card__token-picker {
  grid-column: 2;
  grid-row: 2;
  position: relative;
  justify-self: end;
}

.swap-card__token:hover {
  background: var(--border-2);
}

.swap-card__token:disabled {
  cursor: default;
}

.swap-card__token:disabled:hover,
.swap-card__token--static:hover {
  background: #161616;
}

.swap-card__token--select {
  background: var(--accent-btn);
  border-color: var(--accent-btn);
  color: var(--text-light);
}

.swap-card__token--select:hover {
  background: var(--accent-btn-hover);
  border-color: var(--accent-btn-hover);
}

.swap-card__token-arrow {
  width: 12px;
  height: 12px;
  color: currentColor;
  opacity: 0.7;
}

.swap-card__token-icon {
  width: 16px;
  height: 16px;
  display: block;
  flex-shrink: 0;
}

.swap-card__token-menu {
  position: absolute;
  top: calc(100% + 10px);
  right: 0;
  min-width: 168px;
  display: none;
  gap: 6px;
  padding: 8px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 18px;
  background: rgba(8, 10, 16, 0.98);
  box-shadow: 0 24px 48px rgba(0, 0, 0, 0.34);
  z-index: 12;
}

.swap-card__token-menu--open {
  display: grid;
}

.swap-card__token-option {
  display: flex;
  align-items: center;
  gap: 10px;
  width: 100%;
  padding: 10px 12px;
  border: 1px solid transparent;
  border-radius: 14px;
  background: transparent;
  color: var(--text);
  font-family: var(--font);
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  text-align: left;
}

.swap-card__token-option:hover {
  background: rgba(255, 255, 255, 0.04);
  border-color: rgba(255, 255, 255, 0.06);
}

.swap-card__token-option--active {
  background: rgba(44, 61, 125, 0.38);
  border-color: rgba(95, 127, 228, 0.38);
}

.swap-card__token-copy {
  display: grid;
  gap: 2px;
  min-width: 0;
}

.swap-card__token-symbol {
  font-size: 13px;
  font-weight: 700;
  color: var(--text);
}

.swap-card__token-name {
  font-size: 11px;
  font-weight: 500;
  color: var(--text-muted2);
}

/* Switch button */
.swap-card__divider {
  display: flex;
  justify-content: center;
  margin: -18px 0 -18px 0;
  position: relative;
  z-index: 10;
}

.swap-card__switch {
  width: 46px;
  height: 46px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #161616;
  border: 2px solid #2b2b2b;
  border-radius: 50%;
  cursor: pointer;
  color: #d4d4d4;
  transition: background 0.15s, color 0.15s;
}
.swap-card__switch:hover { background: var(--border-2); color: var(--text); }
.swap-card__switch svg { width: 22px; height: 22px; }

.swap-card__meta {
  display: grid;
  gap: 4px;
  margin-top: 14px;
  padding: 0 4px;
}

.swap-card__rate {
  font-size: 13px;
  font-weight: 700;
  color: #f3f6ff;
}

.swap-card__status {
  min-height: 18px;
  font-size: 12px;
  color: var(--text-muted2);
}

.swap-card__cta {
  margin-top: 12px;
  padding: 12px;
  font-size: 14px;
  font-weight: 600;
  border-radius: 100px;
  background: #2c3d7d;
}

.swap-card__cta:hover {
  background: #253568;
}

.hero__subtext {
  --hero-subtext-size: 20px;
  --hero-subtext-max: 640px;
  position: relative;
  z-index: 2;
  margin-top: 4px;
  font-size: var(--hero-subtext-size);
  font-weight: 400;
  color: #c8d0e4;
  max-width: var(--hero-subtext-max);
  line-height: 1.45;
  letter-spacing: 0.01em;
  text-wrap: balance;
}
.hero__link {
  color: #21C95E;
  font-weight: 700;
  text-decoration: none;
}

/* ────────────────────────────────────────────────────
   STATISTICS
──────────────────────────────────────────────────── */
.stats {
  padding: 120px 0 150px;
}

.stats__inner {
  width: min(var(--max-w), 80vw);
  max-width: var(--max-w);
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 1.1fr);
  align-items: flex-start;
  gap: clamp(28px, 4vw, 56px);
}

/* Copy */
.stats__copy {
  width: 100%;
  min-width: 0;
  container-type: inline-size;
}

.stats__heading {
  font-size: clamp(24px, 11cqw, 56px);
  font-weight: 900;
  letter-spacing: -0.2px;
  text-transform: uppercase;
  line-height: 1;
  white-space: nowrap;
  margin-bottom: 10px;
}

.faq__heading {
  font-size: 56px;
  font-weight: 900;
  letter-spacing: -0.2px;
  text-transform: uppercase;
  line-height: 1;
}

.stats__body {
  font-size: 18px;
  color: var(--text-light);
  line-height: 1.4;
  margin-bottom: 14px;
  max-width: 460px;
}

/* Panel */
.stats__panel {
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.stats__panel-header {
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 14px 18px;
  font-size: 20px;
  font-weight: 500;
  color: #c8d0e4;
  line-height: 1.45;
  letter-spacing: 0.01em;
  text-transform: capitalize;
  background: var(--bg-dark);
  border: 1px solid var(--border-dark);
  border-radius: var(--radius-xl);
}

.stats__live-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--green);
  box-shadow: 0 0 6px var(--green);
  animation: pulse 2s infinite;
}

@keyframes pulse {
  0%, 100% { opacity: 1; }
  50%       { opacity: 0.4; }
}

.stats__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}

.stats__cell {
  width: 100%;
  height: 257px;
  padding: 33px 24px 33px;
  background: var(--bg-dark);
  border: 1px solid var(--border-dark);
  border-radius: var(--radius-xl);
  text-align: center;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  align-items: center;
}

.stats__cell--highlight {
  background: var(--green-bg);
  border: none;
}

.stats__cell--highlight .stats__cell-label {
  color: var(--green-bright);
}

.stats__cell-label {
  font-size: 16px;
  color: var(--text-muted2);
  margin-bottom: 94px;
  font-weight: 500;
  line-height: 1.45;
  letter-spacing: 0.01em;
  white-space: nowrap;
  text-transform: capitalize;
}

.stats__cell-value {
  font-size: 44px;
  font-weight: 700;
  letter-spacing: -0.4px;
  color: var(--text-light);
}

.stats__cell-value--green {
  color: var(--green-bright);
}

/* ────────────────────────────────────────────────────
   FAQ
──────────────────────────────────────────────────── */
.faq {
  padding: 96px 0 182px;
}

.faq__inner {
  width: min(var(--max-w), 80vw);
  max-width: var(--max-w);
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(320px, 0.85fr) minmax(0, 1.15fr);
  gap: clamp(52px, 6vw, 96px);
  align-items: flex-start;
}

.faq__heading-wrap {
  width: 100%;
  position: sticky;
  top: 76px;
}

.faq__heading {
  margin-top: 2px;
  font-size: 56px;
  color: var(--text-light);
}

.faq__list {
  width: 100%;
  min-width: 0;
  overflow: hidden;
}

.faq__item {
  border-bottom: 1px solid var(--border);
}
.faq__item:first-child {
  border-top: none;
}

.faq__item:last-of-type {
  border-bottom: none;
}

.faq__trigger {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  background: transparent;
  border: none;
  color: var(--text-light);
  font-family: var(--font);
  font-size: 24px;
  font-weight: 500;
  padding: 22px 0;
  cursor: pointer;
  text-align: left;
  gap: 35px;
  transition: color 0.15s;
}
.faq__trigger:hover { color: var(--text-light); }

.faq__trigger span:first-child {
  min-width: 0;
  flex: 1 1 auto;
  overflow-wrap: anywhere;
}

.faq__item--open .faq__trigger { color: var(--text-light); }

.faq__icon {
  order: -1;
  font-size: 36px;
  font-weight: 300;
  width: 24px;
  color: var(--text-light);
  flex-shrink: 0;
  line-height: 1;
  text-align: center;
  transition: transform 0.24s ease;
}

.faq__body {
  display: grid;
  grid-template-rows: 0fr;
  opacity: 0;
  padding-right: 6px;
  padding-left: 53px;
  font-size: 18px;
  color: var(--text-light);
  line-height: 1.5;
  max-width: 100%;
  overflow-wrap: anywhere;
  transition: grid-template-rows 0.28s ease, opacity 0.22s ease, padding-bottom 0.28s ease;
}

.faq__body > * {
  overflow: hidden;
}

.faq__item--open .faq__body {
  grid-template-rows: 1fr;
  opacity: 1;
  padding-bottom: 22px;
}

.faq__show-more {
  display: inline-block;
  margin-top: 16px;
  background: transparent;
  border: none;
  color: #21C95E;
  font-family: var(--font);
  font-size: 14px;
  font-weight: 500;
  cursor: pointer;
  padding: 0;
  transition: opacity 0.15s;
}
.faq__show-more:hover { opacity: 0.75; }

/* ────────────────────────────────────────────────────
   FOOTER
──────────────────────────────────────────────────── */
.footer {
  --footer-top-gap: 72px;
  --footer-top-margin: 28px;
  --footer-logo-width: 106px;
  --footer-columns-gap: 52px;
  --footer-col-title-size: 11px;
  --footer-col-link-size: 14px;
  --footer-legal-size: 12px;
  border-top: 1px solid #2b2b2b;
  background: #1a1a1a;
  padding: 56px 0 28px;
}

.footer__inner {
  width: min(var(--max-w), 80vw);
  max-width: var(--max-w);
  margin: 0 auto;
}

.footer__top {
  display: flex;
  gap: var(--footer-top-gap);
  align-items: flex-start;
  margin-bottom: var(--footer-top-margin);
}

.footer__brand {
  flex: 0 0 260px;
  display: flex;
  flex-direction: column;
}

.footer__logo {
  margin-bottom: 16px;
  display: inline-flex;
}

.footer__logo .navbar__logo-mark {
  width: var(--footer-logo-width);
}

.footer__social {
  display: flex;
  gap: 12px;
  margin-top: 4px;
}

.footer__social-link {
  width: 28px;
  height: 28px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #ffffff;
  transition: color 0.15s;
}
.footer__social-link:hover { color: #ffffff; }
.footer__social-icon--mobile { display: none; }
.footer__social-link svg { width: 16px; height: 16px; }

.footer__columns {
  flex: 1;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: var(--footer-columns-gap);
  align-items: start;
}

.footer__col {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.footer__col-title {
  font-size: var(--footer-col-title-size);
  font-weight: 700;
  letter-spacing: 0.08em;
  color: #b5b5b5;
  text-transform: uppercase;
  margin-bottom: 3px;
}

.footer__col-link {
  font-size: var(--footer-col-link-size);
  color: #ffffff;
  transition: color 0.15s;
}
.footer__col-link:hover { color: #ffffff; }

.footer__bottom {
  display: flex;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
  width: auto;
  margin-top: 16px;
  padding-top: 0;
  border-top: none;
}

.footer__legal {
  font-size: var(--footer-legal-size);
  color: #ffffff;
}
.footer__legal a { color: inherit; transition: color 0.15s; }
.footer__legal a:hover { color: #ffffff; }

/* ────────────────────────────────────────────────────
   RESPONSIVE: TABLET (max-width: 1024px)
──────────────────────────────────────────────────── */
@media (max-width: 1024px) {
  .contact-request {
    padding: 72px 0 92px;
  }

  .help-center {
    padding: 68px 0 92px;
  }

  .about-story__inner,
  .contact-request__inner,
  .help-center__inner {
    width: min(var(--page-shell-max), calc(100vw - 32px));
    padding: 22px;
  }

  .help-center__inner {
    width: min(var(--page-shell-max), calc(100vw - 32px));
  }

  .help-center__grid {
    gap: 12px;
  }

  .account-page {
    padding-top: 112px;
  }

  .account-overview {
    grid-template-columns: 1fr;
  }

  .account-setting-item {
    grid-template-columns: 56px minmax(0, 1fr);
  }

  .account-setting-item__status {
    text-align: left;
  }

  .account-setting-item__actions {
    grid-column: 2;
    justify-content: flex-start;
  }

  .contact-form {
    gap: 28px;
  }

  .about-story {
    padding: 68px 0 92px;
  }

  .about-story__row {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    gap: 36px;
  }

  .navbar__inner {
    width: min(var(--max-w), calc(100vw - 32px));
    gap: 10px;
  }

  .navbar__logo-mark {
    width: clamp(84px, 10vw, 104px);
  }

  .navbar__nav {
    gap: 8px;
    margin-left: 0;
    min-width: 0;
  }

  .navbar__link {
    width: auto;
    min-width: 0;
    padding: 0 12px;
  }

  .navbar__controls {
    --navbar-control-gap: 8px;
  }

  #lang-dropdown {
    margin-right: 0;
  }

  .navbar__controls .dropdown__trigger {
    padding: 0 12px;
  }

  .navbar__controls .btn {
    width: auto;
    padding: 0 14px;
  }

  .hero {
    --hero-padding: 64px 0 108px;
  }

  .hero__content {
    width: 100%;
    --hero-content-padding: 0 24px;
  }

  .hero__headline {
    --hero-headline-size: clamp(52px, 8vw, 84px);
    --hero-headline-spacing: -1px;
    --hero-headline-max: none;
    --hero-headline-margin: 16px;
    white-space: nowrap;
    text-wrap: nowrap;
  }

  .hero__fluid {
    --hero-fluid-width: min(650px, 94vw);
    --hero-fluid-height: min(450px, 68vw);
  }

  .stats__inner {
    grid-template-columns: 1fr;
    gap: clamp(20px, 3vw, 40px);
  }

  .stats {
    padding: 104px 24px 132px;
  }

  .stats__copy,
  .stats__panel {
    max-width: 100%;
  }

  .stats__grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
  }

  .stats__cell {
    width: 100%;
    height: auto;
    min-height: 188px;
    padding: 33px 16px 33px;
  }

  .stats__cell-label {
    margin-bottom: 94px;
    white-space: normal;
  }

  .hero__subtext {
    --hero-subtext-size: 17px;
    --hero-subtext-max: 560px;
  }

  .stats__panel-header {
    font-size: 16px;
    padding: 12px 16px;
  }

  .faq {
    padding: 88px 24px 144px;
  }

  .faq__inner {
    width: 100%;
    gap: 44px;
    grid-template-columns: minmax(280px, 0.82fr) minmax(0, 1.18fr);
  }

  .faq__heading {
    font-size: 48px;
  }

  .faq__trigger {
    font-size: 22px;
    padding: 18px 0;
    gap: 30px;
  }

  .faq__body {
    padding-left: 48px;
    font-size: 17px;
  }

  .footer {
    padding-left: 24px;
    padding-right: 24px;
  }

  .footer__inner {
    width: 100%;
  }

  .footer__top {
    gap: 32px;
    flex-wrap: nowrap;
  }

  .footer__brand {
    flex-basis: 200px;
  }

  .footer__columns {
    min-width: 0;
    grid-template-columns: repeat(4, minmax(110px, 1fr));
    gap: 24px;
  }

  .footer__col {
    min-width: 0;
  }

}

/* ────────────────────────────────────────────────────
   RESPONSIVE: MOBILE (max-width: 768px)
──────────────────────────────────────────────────── */
@media (max-width: 768px) {
  :root {
    --max-w: 100%;
    --page-panel-radius: 22px;
    --page-panel-padding: 16px;
  }

  .help-center {
    padding: 36px 0 72px;
  }

  .help-center__inner {
    width: calc(100vw - 32px);
  }

  .help-center__header {
    margin-bottom: 16px;
    padding-bottom: 14px;
  }

  .help-center__title {
    font-size: 30px;
  }

  .help-center__grid {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .help-center-card {
    min-height: 0;
    padding: 18px 16px 16px;
    border-radius: 16px;
  }

  .help-center-card__title {
    font-size: 15px;
  }

  .help-center-card__copy {
    font-size: 13px;
    line-height: 1.55;
  }

  .account-page {
    padding: 92px 16px 64px;
  }

  .account-panel-view {
    border-radius: 22px;
    padding: 16px 16px 6px;
  }

  .account-panel-view__header {
    align-items: flex-start;
    flex-direction: column;
    gap: 10px;
  }

  .account-panel-view__title {
    font-size: 32px;
  }

  .account-panel-view__last-login {
    white-space: normal;
  }

  .account-overview__identity {
    align-items: flex-start;
  }

  .account-overview__email {
    font-size: 24px;
  }

  .account-security-note {
    grid-template-columns: 1fr;
  }

  .account-security-note__badge {
    justify-self: start;
  }

  .account-setting-item {
    grid-template-columns: 1fr;
    gap: 14px;
  }

  .account-setting-item__actions {
    grid-column: auto;
    width: 100%;
    flex-wrap: wrap;
    justify-content: flex-start;
  }

  .account-setting-item__actions .btn {
    min-width: 0;
    flex: 1 1 160px;
  }

  .contact-request {
    padding: 46px 0 70px;
  }

  .contact-request__inner {
    width: calc(100vw - 32px);
  }

  .contact-request__header {
    margin-bottom: 28px;
    padding-bottom: 14px;
  }

  .contact-request__title {
    font-size: 30px;
  }

  .contact-form {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .contact-form__column {
    gap: 18px;
  }

  .contact-form__textarea {
    min-height: 164px;
  }

  .about-story {
    padding: 36px 0 72px;
  }

  .about-story__inner {
    width: calc(100vw - 32px);
  }

  .about-story__row {
    grid-template-columns: 1fr;
    gap: 16px;
    padding: 24px 0 26px;
  }

  .about-story__title {
    font-size: 25px;
  }

  .about-story__copy {
    font-size: 16px;
    line-height: 1.5;
  }

  .lines {
    display: none;
  }

  /* Navbar */
  .navbar__inner {
    width: 100%;
    max-width: 100%;
    margin: 4px auto 0;
    padding: 0 16px;
    height: 60px;
    gap: 12px;
  }

  .navbar__logo-mark {
    width: 36px;
  }

  .navbar__nav {
    display: none;
    flex: 1;
    gap: 4px;
  }

  .mobile-menu {
    display: flex;
    align-items: center;
    gap: 10px;
    flex: 1;
    min-width: 0;
  }

  .navbar__link {
    font-size: 12px;
    padding: 6px 12px;
  }

  .navbar__controls {
    display: none;
  }

  .navbar__controls .btn {
    font-size: 12px;
    padding: 6px 10px;
  }

  .dropdown__trigger {
    font-size: 12px;
    padding: 6px 8px;
  }

  .mobile-menu__goto {
    flex-shrink: 0;
  }

  .mobile-menu__goto-trigger {
    background: #315cff;
    border-color: transparent;
    color: #f1f1f1;
    height: 36px;
    padding: 0 14px;
  }

  .mobile-menu__goto-icon {
    width: 12px;
    height: 12px;
    display: block;
    flex-shrink: 0;
    min-width: 12px;
    min-height: 12px;
  }

  .mobile-menu__goto-trigger:hover {
    background: #2c53e5;
    border-color: transparent;
  }

  .mobile-menu__spacer {
    flex: 1 1 auto;
    min-width: 0;
  }

  .mobile-menu__auth,
  .mobile-settings__trigger {
    font-size: 12px;
    height: 24px;
  }

  .mobile-settings__trigger {
    width: 24px;
    padding: 0;
  }

  .mobile-menu__auth {
    flex-shrink: 0;
    width: 60px;
    padding: 0;
  }

  .mobile-menu__auth.btn {
    width: 60px;
  }

  .mobile-settings {
    position: static;
  }

  .mobile-settings__sheet {
    padding-left: 20px;
    padding-right: 20px;
  }

  .login-shell {
    padding: 24px 0 36px;
  }

  .login-shell__inner {
    width: 100%;
    padding: 0 16px;
  }

  .login-glow-wrap {
    min-height: auto;
    padding: 18px 0 0;
  }

  .login-shell__fluid {
    --hero-fluid-width: min(560px, 98vw);
    --hero-fluid-height: min(440px, 96vw);
    --hero-fluid-filter: blur(18px) saturate(1.42) contrast(1.05);
    --hero-fluid-opacity: 0.84;
  }

  .login-card {
    width: min(100%, 420px);
    padding: 18px 14px 14px;
    border-radius: 18px;
  }

  .login-card__title {
    font-size: 28px;
  }

  .login-card__site {
    font-size: 10px;
  }

  .login-card__intro {
    margin: 14px 0 16px;
    font-size: 12px;
  }

  .login-form {
    gap: 8px;
  }

  .login-field {
    min-height: 42px;
    padding: 0 14px;
  }

  .login-field__input {
    font-size: 13px;
    padding: 12px 0;
  }

  .login-field__code {
    min-width: 84px;
    font-size: 18px;
    letter-spacing: 0.26em;
    text-indent: 0.26em;
  }

  .login-form__meta {
    gap: 8px;
    align-items: start;
  }

  .login-form__status {
    max-width: 180px;
  }

  .login-form__submit {
    margin-top: 6px;
    height: 42px;
    font-size: 17px;
  }

  /* Hero */
  .hero {
    --hero-padding: 48px 0 44px;
  }

  .hero__fluid {
    --hero-fluid-width: min(520px, 96vw);
    --hero-fluid-height: min(360px, 78vw);
    --hero-fluid-filter: blur(18px) saturate(1.4) contrast(1.08);
    --hero-fluid-opacity: 0.82;
  }

  .swap-card-wrap {
    width: 100%;
  }

  .hero__content {
    width: 100%;
    --hero-content-padding: 0 16px;
    --hero-content-gap: 22px;
  }

  .hero__headline {
    --hero-headline-size: clamp(38px, 7.5vw, 62px);
    --hero-headline-spacing: -0.8px;
    --hero-headline-max: none;
    white-space: nowrap;
    text-wrap: nowrap;
  }

  .hero__subtext {
    --hero-subtext-size: 14px;
    --hero-subtext-max: 100%;
    margin-top: 10px;
  }

  .swap-card {
    max-width: 100%;
    width: 100%;
    padding: 10px;
    min-height: 0;
    padding-bottom: 14px;
  }

  .swap-card-wrap {
    margin-bottom: 18px;
  }

  .swap-card__input {
    font-size: 32px;
  }

  .swap-card__row {
    padding: 8px 10px;
  }

  .swap-card__token-menu {
    min-width: 156px;
  }

  .swap-card__meta {
    margin-top: 12px;
    min-height: 44px;
    padding-bottom: 2px;
  }

  .swap-card__rate {
    font-size: 12px;
  }

  .swap-card__status {
    font-size: 11px;
    min-height: 28px;
    line-height: 1.35;
  }

  .swap-card__cta {
    margin-top: 10px;
    padding: 10px;
    font-size: 13px;
    min-height: 42px;
  }

  /* Stats */
  .stats {
    padding: 28px 16px 72px;
  }

  .stats__inner {
    width: 100%;
    grid-template-columns: 1fr;
    gap: 14px;
  }

  .stats__heading {
    font-size: 24px;
    white-space: normal;
    margin-bottom: 14px;
  }

  .stats__body {
    font-size: 14px;
    line-height: 1.5;
    max-width: 100%;
  }

  .stats__cta {
    margin-top: 14px;
  }

  .stats__panel {
    width: 100%;
  }

  .stats__panel-header {
    font-size: 14px;
    padding: 9px 14px;
    gap: 8px;
  }

  .stats__cell {
    min-height: 120px;
    padding: 16px 12px 14px;
    border-radius: 14px;
  }

  .stats__cell-label {
    font-size: 13px;
    margin-bottom: 28px;
    white-space: normal;
    line-height: 1.3;
  }

  .stats__cell-value {
    font-size: 22px;
  }

  /* FAQ */
  .faq {
    padding: 28px 16px 52px;
  }

  .faq__inner {
    width: 100%;
    grid-template-columns: 1fr;
    gap: 12px;
    align-items: stretch;
  }

  .faq__heading-wrap {
    position: static;
  }

  .faq__heading {
    font-size: 26px;
    margin-bottom: 4px;
    line-height: 1.1;
  }

  .faq__trigger {
    font-size: 16px;
    padding: 10px 0;
    gap: 16px;
  }

  .faq__icon {
    font-size: 22px;
    width: 18px;
  }

  .faq__body {
    padding-left: 34px;
    font-size: 14px;
    line-height: 1.45;
  }

  .faq__item--open .faq__body {
    padding-bottom: 14px;
  }

  .faq__show-more {
    margin-top: 10px;
  }

  /* Footer */
  .footer {
    --footer-top-gap: 24px;
    --footer-top-margin: 24px;
    --footer-logo-width: 90px;
    --footer-columns-gap: 20px 24px;
    --footer-col-title-size: 11px;
    --footer-col-link-size: 14px;
    --footer-legal-size: 11px;
    padding: 40px 16px 24px;
  }

  .footer__inner {
    width: 100%;
    padding: 0;
  }

  .footer__top {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .footer__brand {
    min-width: 0;
  }

  .footer__columns {
    grid-column: 2 / 4;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .footer__col:nth-child(1) {
    grid-column: 1;
    grid-row: 1;
  }

  .footer__col:nth-child(2) {
    grid-column: 2;
    grid-row: 1;
  }

  .footer__col:nth-child(3) {
    grid-column: 1;
    grid-row: 2;
  }

  .footer__col:nth-child(4) {
    grid-column: 2;
    grid-row: 2;
  }

  .footer__bottom {
    margin-top: 12px;
    gap: 10px;
  }

}

/* ────────────────────────────────────────────────────
   RESPONSIVE: SMALL MOBILE (max-width: 480px)
──────────────────────────────────────────────────── */
@media (max-width: 480px) {
  :is(.page--register, .page--forgot-password) .login-card__topbar {
    position: relative;
    align-items: center;
    justify-content: flex-start;
    flex-direction: row;
    gap: 10px;
  }

  :is(.page--register, .page--forgot-password) .login-card__title {
    margin-right: auto;
    font-size: 26px;
    line-height: 1.1;
  }

  :is(.page--register, .page--forgot-password) .login-card__site {
    position: static;
    max-width: 112px;
    flex-shrink: 0;
    font-size: 10px;
    text-align: right;
    line-height: 1.2;
  }

  :is(.page--register, .page--login) .login-field__captcha-stack {
    margin-left: 8px;
    gap: 8px;
  }

  :is(.page--register, .page--forgot-password) .login-field--captcha .login-field__code {
    margin-left: 8px;
    min-width: 72px;
    min-height: 40px;
    padding: 1px;
  }

  :is(.page--register, .page--login) .login-field--captcha .login-field__captcha-stack {
    padding-left: 6px;
  }

  :is(.page--register, .page--login) .login-field__code svg {
    width: 128px;
    height: 40px;
  }

  .navbar__inner {
    height: 64px;
    padding: 0 12px;
  }

  .navbar__logo-mark {
    width: 32px;
  }

  .mobile-menu {
    gap: 10px;
  }

  .mobile-menu__goto-trigger,
  .mobile-settings__trigger,
  .mobile-menu__auth {
    height: 24px;
  }

  .mobile-settings__trigger {
    width: 24px;
    padding: 0;
  }

  .mobile-menu__auth {
    width: 60px;
    padding: 0;
  }

  .mobile-menu__goto-trigger .dropdown__label {
    max-width: 56px;
    overflow: hidden;
    text-overflow: ellipsis;
  }

  .mobile-settings__code,
  .mobile-menu__auth {
    font-size: 10px;
  }

  .mobile-settings__panel {
    inset: 0;
    width: auto;
    padding: 0;
  }

  .login-shell {
    padding: 16px 0 28px;
  }

  .login-shell__inner {
    padding: 0 12px;
  }

  .login-glow-wrap {
    padding-top: 10px;
  }

  .login-shell__fluid {
    --hero-fluid-width: min(430px, 100vw);
    --hero-fluid-height: min(360px, 92vw);
    --hero-fluid-filter: blur(14px) saturate(1.32) contrast(1.03);
    --hero-fluid-opacity: 0.78;
  }

  .login-card {
    width: min(100%, 360px);
    padding: 16px 12px 12px;
    border-radius: 16px;
  }

  .login-card__topbar {
    gap: 10px;
  }

  .login-card__title {
    font-size: 24px;
  }

  .login-card__site {
    max-width: 130px;
    overflow: hidden;
    text-overflow: ellipsis;
  }

  .login-card__intro {
    font-size: 11px;
    margin: 12px 0 14px;
  }

  .login-field {
    min-height: 40px;
    gap: 8px;
    padding: 0 12px;
  }

  .login-field__icon svg,
  .login-field__toggle svg {
    width: 14px;
    height: 14px;
  }

  .login-field__code {
    min-width: 72px;
    height: 26px;
    padding: 0 12px;
    font-size: 16px;
  }

  .login-form__meta {
    grid-template-columns: 1fr;
    gap: 4px;
    padding: 0 4px;
  }

  .login-form__status,
  .login-field__message {
    padding-left: 8px;
    padding-right: 8px;
    font-size: 10px;
  }

  .login-form__link {
    justify-self: end;
    font-size: 11px;
  }

  .login-form__submit {
    height: 40px;
    font-size: 16px;
  }

  #lang-dropdown-mobile .dropdown__menu {
    min-width: 0;
  }

  .hero {
    --hero-padding: 36px 0 28px;
  }

  .hero__fluid {
    --hero-fluid-width: min(420px, 98vw);
    --hero-fluid-height: min(300px, 84vw);
    --hero-fluid-filter: blur(14px) saturate(1.32) contrast(1.05);
    --hero-fluid-opacity: 0.76;
  }

  .hero__content {
    --hero-content-padding: 0 12px;
    --hero-content-gap: 0;
  }

  .hero__headline {
    --hero-headline-size: 28px;
    --hero-headline-spacing: -0.6px;
    --hero-headline-max: none;
    --hero-headline-margin: 20px;
    font-weight: 700;
  }

  .hero__subtext {
    --hero-subtext-size: 13px;
    line-height: 1.4;
    margin-top: 10px;
  }

  .swap-card {
    padding: 11px;
    width: min(350px, calc(100vw - 24px));
    height: auto;
    min-height: 0;
    padding-bottom: 14px;
    border-radius: 14px;
  }

  .swap-card__input {
    font-size: 24px;
    font-weight: 700;
  }

  .swap-card__label {
    font-size: 12px;
    font-weight: 700;
  }

  .swap-card__row {
    min-height: 99px;
    padding: 7px 8px;
    border-radius: 14px;
  }

  .swap-card__row--buy {
    margin-bottom: 3px;
  }

  .swap-card__fiat {
    font-size: 12px;
    font-weight: 700;
  }

  .swap-card__token {
    font-size: 12px;
    font-weight: 700;
    padding: 6px 10px;
  }

  .swap-card__token-menu {
    min-width: 148px;
    padding: 7px;
    border-radius: 16px;
  }

  .swap-card__token-option {
    padding: 8px 10px;
    border-radius: 12px;
    font-size: 12px;
  }

  .swap-card__token-symbol {
    font-size: 12px;
  }

  .swap-card__token-name {
    font-size: 10px;
  }

  .swap-card__token-icon {
    width: 15px;
    height: 15px;
  }

  .swap-card__divider {
    margin: -15px 0 -16px 0;
  }

  .swap-card__switch {
    width: 36px;
    height: 36px;
  }

  .swap-card__switch svg {
    width: 18px;
    height: 18px;
  }

  .swap-card__cta {
    margin-top: 8px;
    min-height: 42px;
    padding: 0 9px;
    font-size: 14px;
    font-weight: 700;
  }

  .swap-card__meta {
    margin-top: 10px;
    padding: 0 2px;
    min-height: 44px;
  }

  .swap-card__rate {
    font-size: 12px;
  }

  .swap-card__status {
    font-size: 11px;
    line-height: 1.3;
    min-height: 28px;
  }

  .stats {
    padding: 18px 12px 34px;
  }

  .stats__inner {
    gap: 30px;
  }

  .stats__heading {
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 10px;
  }

  .stats__body {
    font-size: 14px;
    font-weight: 400;
    line-height: 1.5;
    margin-bottom: 0;
  }

  .stats__cta {
    margin-top: 15px;
  }

  .stats__panel {
    gap: 10px;
  }

  .stats__grid {
    grid-template-columns: repeat(2, 171px);
    justify-content: center;
    gap: 10px;
  }

  .stats__panel-header {
    width: 352px;
    max-width: 100%;
    height: 35px;
    font-size: 12px;
    font-weight: 700;
    margin: 0 auto;
    padding: 0 11px;
    gap: 10px;
    border-radius: 999px;
  }

  .stats__cell {
    width: 171px;
    height: 153px;
    min-height: 153px;
    padding: 12px 10px 8px;
    border-radius: 16px;
    justify-content: space-between;
    align-items: center;
  }

  .stats__cell-label {
    font-size: 14px;
    font-weight: 700;
    margin-bottom: 0;
    line-height: 1.25;
    width: 100%;
  }

  .stats__cell-value {
    font-size: 24px;
    font-weight: 700;
  }

  .faq {
    padding: 22px 12px 32px;
  }

  .faq__heading {
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 2px;
    white-space: nowrap;
  }

  .faq__heading br {
    display: none;
  }

  .faq__trigger {
    font-size: 14px;
    font-weight: 700;
    padding: 8px 0;
    gap: 10px;
  }

  .faq__icon {
    font-size: 30px;
    width: 30px;
  }

  .faq__body {
    padding-left: 40px;
    font-size: 12px;
    font-weight: 400;
    line-height: 1.5;
  }

  .faq__item--open .faq__body {
    padding-bottom: 10px;
  }

  .faq__show-more {
    margin-top: 30px;
    margin-left: 40px;
    font-size: 11px;
  }

  .footer {
    --footer-top-gap: 24px;
    --footer-top-margin: 16px;
    --footer-logo-width: 75px;
    --footer-columns-gap: 18px;
    --footer-col-title-size: 10px;
    --footer-col-link-size: 13px;
    --footer-legal-size: 10px;
    padding: 18px 12px 20px;
  }

  .footer__social-icon--desktop {
    display: block;
  }

  .footer__social-icon--mobile {
    display: none;
  }

  .footer__social-link svg {
    width: 24px;
    height: 24px;
  }

}

@media (max-width: 390px) {
  .navbar__inner {
    padding: 8px 10px;
    height: auto;
    align-items: center;
    gap: 8px;
  }

  .navbar__logo-mark {
    width: 28px;
  }

  .mobile-menu {
    gap: 10px;
  }

  .mobile-menu__goto-trigger,
  .mobile-settings__trigger,
  .mobile-menu__auth {
    height: 24px;
  }

  .mobile-settings__trigger {
    width: 24px;
    padding: 0;
  }

  .mobile-menu__auth {
    width: 60px;
    padding: 0;
  }

  .mobile-settings__sheet {
    gap: 10px;
    padding-left: 14px;
    padding-right: 14px;
  }

  .mobile-settings__title {
    font-size: 16px;
  }

  .mobile-settings__row,
  .mobile-settings__option {
    min-height: 36px;
    padding: 7px 2px;
  }
  .mobile-settings__row-label,
  .mobile-settings__option-label {
    font-size: 13px;
  }
}

@media (max-width: 1024px) {
  .wallets-page {
    padding-top: 112px;
  }

  .wallets-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 768px) {
  .wallets-page {
    padding: 108px 16px 56px;
  }

  .wallets-panel {
    padding: 16px 14px;
  }

  .wallets-panel__header {
    flex-direction: column;
  }

  .wallets-panel__meta {
    width: 100%;
    justify-content: stretch;
    flex-direction: column;
  }

  .wallets-panel__meta-card {
    min-width: 0;
  }

  .wallets-panel__title {
    font-size: 34px;
  }

  .wallet-card {
    padding: 16px;
  }

  .wallet-row {
    grid-template-columns: 1fr;
    align-items: flex-start;
    padding: 16px;
  }

  .wallet-row__balance {
    width: 100%;
  }

  .wallet-card__address-row {
    flex-direction: column;
  }

  .wallet-row__actions {
    width: 100%;
    justify-content: stretch;
  }

  .wallet-row__action {
    flex: 1 1 0;
  }

  .wallet-modal {
    padding: 16px;
  }

  .wallet-modal__dialog {
    padding: 22px 18px 18px;
    border-radius: 22px;
  }

  .wallet-modal__header,
  .wallet-modal__address-row,
  .wallet-modal__form-header {
    flex-direction: column;
    align-items: flex-start;
  }

  .wallet-modal__meta-grid {
    grid-template-columns: 1fr;
  }

  .wallet-modal__qr {
    max-width: 160px;
  }

  .wallet-modal__copy {
    width: 100%;
  }

  .wallet-modal__submit {
    width: 100%;
  }
}

/* Opaque surfaces */
.mobile-menu__panel {
  background: #0a0a12;
  backdrop-filter: none;
}

.help-center-card {
  background: #1a1a1a;
}

.login-card {
  background: #141414;
  backdrop-filter: none;
}

.admin-panel {
  background: #0c0e15;
}

.admin-slug-field,
.admin-field__input,
.admin-select,
.admin-textarea,
.swap-card__token-menu {
  background: #080a10;
}

.admin-upload,
.admin-article-item,
.admin-article-card,
.blog-card,
.blog-pagination__button,
.blog-search {
  background: #0f1118;
}

.admin-article-item--active,
.blog-card:hover,
.blog-pagination__button:hover:not(:disabled) {
  background: #11141d;
}

.admin-image-preview {
  background: linear-gradient(180deg, #131725, #080b12);
}

.admin-article-item__image--placeholder,
.admin-article-card__image,
.blog-card__image--placeholder {
  background: linear-gradient(135deg, #263865, #0e1017);
}

@media (min-width: 1700px) {
  :root {
    --max-w: 1220px;
  }

  body::before { left: 10vw; }
  body::after { left: 90vw; }

  .navbar__inner {
    height: 74px;
  }

  .navbar__link,
  .dropdown__trigger,
  .dropdown__item,
  .btn {
    font-size: 15px;
  }

  .hero__headline {
    font-size: clamp(32px, 8vw, 106px);
  }

  .swap-card {
    max-width: 510px;
    padding: 18px;
  }

  .swap-card__input {
    font-size: 68px;
  }

  .stats__copy {
    width: 100%;
  }

  .stats__panel {
    width: 100%;
  }

  .stats__heading {
    font-size: clamp(24px, 11cqw, 70px);
  }

  .faq__heading {
    font-size: 70px;
  }

  .faq__heading-wrap {
    width: 100%;
  }

  .faq__list {
    width: 100%;
  }

  .faq__inner {
    grid-template-columns: minmax(380px, 0.9fr) minmax(0, 1.1fr);
    gap: clamp(64px, 6vw, 110px);
  }

  .faq__trigger {
    font-size: 26px;
  }

  .faq__body {
    font-size: 18px;
  }
}
