:root {
  --ink: #13201f;
  --muted: #63706e;
  --line: #dfe7e4;
  --paper: #ffffff;
  --mist: #f4f8f7;
  --card: #ffffff;
  --header: rgba(255, 255, 255, 0.88);
  --hero-surface: #fbfdfc;
  --footer-surface: #f7faf9;
  --aqua: #21b6a8;
  --aqua-dark: #087f77;
  --coral: #f26457;
  --gold: #efb84d;
  --violet: #5957d6;
  --shadow: 0 20px 55px rgba(18, 32, 31, 0.12);
  --wallet-frame: #dfe5ee;
  --wallet-shell: #ffffff;
  --wallet-sidebar: #ffffff;
  --wallet-workspace: #f2f5fa;
  --wallet-panel: #ffffff;
  --wallet-row: #f2f2f4;
  --wallet-input: #ececef;
  --wallet-text: #111827;
  --wallet-muted: #617089;
  --wallet-line: #d9dee8;
  --wallet-menu-active: #e7e8eb;
  --wallet-vault-bg: #dcf7ee;
  --wallet-vault-text: #00836b;
  --wallet-active-bg: #d9eee7;
  --wallet-active-text: #087f68;
}

html[data-theme="dark"] {
  --ink: #f4f7f7;
  --muted: #a3b0af;
  --line: #27343a;
  --paper: #0b1114;
  --mist: #111a1d;
  --card: #10191d;
  --header: rgba(11, 17, 20, 0.9);
  --hero-surface: #0d1518;
  --footer-surface: #090f12;
  --shadow: 0 20px 55px rgba(0, 0, 0, 0.36);
  --wallet-frame: #253142;
  --wallet-shell: #090f17;
  --wallet-sidebar: #0a1018;
  --wallet-workspace: #0b111b;
  --wallet-panel: #121a29;
  --wallet-row: #121927;
  --wallet-input: #191f2b;
  --wallet-text: #f7f8fb;
  --wallet-muted: #9aa8c1;
  --wallet-line: #263144;
  --wallet-menu-active: #262b34;
  --wallet-vault-bg: #0b392f;
  --wallet-vault-text: #99ffd3;
  --wallet-active-bg: #153938;
  --wallet-active-text: #d6fff2;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.55;
}

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

img {
  display: block;
  max-width: 100%;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 30;
  background: var(--header);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(18px);
}

.nav {
  width: min(1180px, calc(100% - 32px));
  min-height: 74px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-weight: 800;
  font-size: 20px;
}

.brand-mark {
  width: 38px;
  height: 38px;
  border-radius: 8px;
  display: grid;
  place-items: center;
  color: #fff;
  background: var(--wallet-shell);
  font-weight: 900;
  overflow: hidden;
}

.brand-mark img {
  width: 30px;
  height: 30px;
  object-fit: contain;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 22px;
  color: var(--ink);
  font-size: 15px;
  font-weight: 650;
}

.nav-links a {
  padding: 9px 0;
}

.nav-links a:hover,
.nav-links a.active {
  color: var(--aqua-dark);
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 10px;
}

.menu-toggle {
  display: none;
  width: 42px;
  height: 42px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--card);
  color: var(--ink);
  cursor: pointer;
}

.menu-toggle span {
  display: block;
  width: 18px;
  height: 2px;
  margin: 4px auto;
  background: currentColor;
}

.theme-toggle {
  min-height: 42px;
  padding: 0 14px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--card);
  color: var(--ink);
  font: inherit;
  font-size: 14px;
  font-weight: 800;
  cursor: pointer;
}

.theme-toggle:hover {
  border-color: var(--aqua);
  color: var(--aqua-dark);
}

.button {
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  padding: 0 20px;
  border: 1px solid transparent;
  border-radius: 8px;
  background: var(--aqua);
  color: #fff;
  font-weight: 800;
  box-shadow: 0 14px 30px rgba(33, 182, 168, 0.25);
}

.button:hover {
  background: var(--aqua-dark);
}

.button.secondary {
  background: var(--card);
  color: var(--ink);
  border-color: var(--line);
  box-shadow: none;
}

.button.secondary:hover {
  border-color: var(--aqua);
  color: var(--aqua-dark);
}

.section,
.hero {
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
}

.hero-band {
  background:
    linear-gradient(115deg, rgba(33, 182, 168, 0.14), transparent 42%),
    linear-gradient(245deg, rgba(242, 100, 87, 0.14), transparent 48%),
    var(--hero-surface);
  border-bottom: 1px solid var(--line);
}

.hero {
  width: min(1240px, calc(100% - 32px));
  min-height: auto;
  padding: 54px 0 44px;
  display: grid;
  grid-template-columns: minmax(430px, 0.9fr) minmax(640px, 1.1fr);
  align-items: center;
  gap: 44px;
}

.eyebrow {
  color: var(--aqua-dark);
  font-weight: 850;
  text-transform: uppercase;
  font-size: 13px;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  margin-bottom: 22px;
  max-width: 780px;
  font-size: clamp(44px, 7vw, 82px);
  line-height: 0.98;
  letter-spacing: 0;
}

h2 {
  margin-bottom: 14px;
  font-size: clamp(30px, 4vw, 48px);
  line-height: 1.08;
  letter-spacing: 0;
}

h3 {
  margin-bottom: 10px;
  font-size: 22px;
  line-height: 1.2;
}

.lead {
  max-width: 650px;
  color: var(--muted);
  font-size: clamp(18px, 2vw, 22px);
}

.hero-actions {
  margin-top: 34px;
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

.trust-row {
  margin-top: 32px;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  max-width: 650px;
}

.trust-item {
  min-height: 112px;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: color-mix(in srgb, var(--card) 88%, transparent);
}

.trust-item strong {
  display: block;
  margin-bottom: 6px;
  font-size: 16px;
}

.trust-item span {
  display: block;
  color: var(--muted);
  font-size: 14px;
}

.wallet-stage {
  position: relative;
  min-height: 438px;
  display: grid;
  place-items: center;
  align-self: start;
}

.wallet-shell {
  width: min(100%, 760px);
  border: 1px solid var(--wallet-frame);
  border-radius: 18px;
  padding: 10px;
  background: var(--wallet-shell);
  box-shadow: var(--shadow);
}

.wallet-desktop {
  width: min(100%, 760px);
  min-height: 410px;
  padding: 0;
  overflow: hidden;
  display: grid;
  grid-template-columns: 148px 1fr;
  border-color: var(--wallet-frame);
  border-radius: 12px;
  background: var(--wallet-shell);
  color: var(--wallet-text);
}

.wallet-sidebar {
  padding: 14px 10px;
  background: var(--wallet-sidebar);
  border-right: 1px solid var(--wallet-line);
}

.wallet-brand-mini {
  display: grid;
  grid-template-columns: 34px 1fr;
  align-items: center;
  gap: 10px;
  margin-bottom: 18px;
}

.wallet-brand-mini strong,
.wallet-brand-mini span {
  display: block;
}

.wallet-brand-mini strong {
  font-size: 13px;
  line-height: 1.1;
}

.wallet-brand-mini span {
  color: var(--wallet-muted);
  font-size: 11px;
}

.wallet-app-mark {
  width: 34px;
  height: 34px;
  display: grid;
  place-items: center;
  overflow: hidden;
  border: 0;
  border-radius: 0;
  background: transparent;
}

.wallet-app-mark img {
  width: 34px;
  height: 34px;
  object-fit: contain;
}

.wallet-menu {
  display: grid;
  gap: 7px;
}

.wallet-menu span {
  min-height: 30px;
  padding: 7px 10px;
  border-radius: 8px;
  color: var(--wallet-muted);
  font-size: 12px;
  font-weight: 700;
}

.wallet-menu span.active {
  color: var(--wallet-text);
  background: var(--wallet-menu-active);
}

.wallet-menu span:nth-child(4) {
  color: color-mix(in srgb, var(--wallet-muted) 56%, transparent);
}

.wallet-workspace {
  min-width: 0;
  background: var(--wallet-workspace);
}

.wallet-app-top {
  min-height: 62px;
  padding: 12px 16px;
  display: flex;
  justify-content: space-between;
  gap: 16px;
  border-bottom: 1px solid var(--wallet-line);
}

.wallet-app-top strong {
  display: block;
  font-size: 20px;
  line-height: 1.1;
}

.wallet-app-top .mini-label {
  color: var(--wallet-muted);
}

.wallet-pills {
  display: flex;
  align-items: center;
  gap: 8px;
}

.wallet-pills span {
  min-height: 32px;
  padding: 7px 12px;
  border: 1px solid var(--wallet-line);
  border-radius: 999px;
  color: var(--wallet-text);
  font-size: 12px;
  font-weight: 800;
}

.wallet-pills span:nth-child(2) {
  color: var(--wallet-vault-text);
  border-color: color-mix(in srgb, var(--wallet-vault-text) 28%, transparent);
  background: var(--wallet-vault-bg);
}

.portfolio-panel {
  min-height: 82px;
  margin: 12px 16px;
  padding: 14px 16px;
  border: 1px solid var(--wallet-line);
  border-radius: 14px;
  background: var(--wallet-panel);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
}

.portfolio-panel span {
  display: block;
  margin-bottom: 6px;
  color: var(--wallet-muted);
  font-size: 13px;
}

.portfolio-panel strong {
  font-size: 32px;
  line-height: 1;
}

.portfolio-actions {
  display: flex;
  gap: 8px;
}

.portfolio-actions button {
  min-height: 38px;
  padding: 0 14px;
  border: 1px solid var(--wallet-line);
  border-radius: 12px;
  background: transparent;
  color: var(--wallet-text);
  font: inherit;
  font-size: 12px;
  font-weight: 850;
}

.portfolio-actions button.primary {
  border-color: #5d68ff;
  background: #5d68ff;
}

.wallet-columns {
  padding: 4px 16px 16px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 168px;
  gap: 12px;
}

.coins-panel,
.history-panel {
  min-width: 0;
  overflow: hidden;
  border: 1px solid var(--wallet-line);
  border-radius: 14px;
  background: var(--wallet-panel);
}

.coins-panel {
  padding: 13px 12px;
}

.history-panel {
  padding: 14px;
}

.panel-title {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  margin-bottom: 10px;
}

.panel-title h3,
.history-panel h3 {
  margin: 0;
  font-size: 17px;
}

.panel-title span {
  color: var(--wallet-muted);
  font-size: 12px;
}

.wallet-search-row {
  display: grid;
  grid-template-columns: minmax(76px, 1fr) 40px 76px 64px;
  align-items: center;
  gap: 6px;
  margin-bottom: 9px;
}

.wallet-search-row span,
.wallet-search-row b {
  min-height: 32px;
  padding: 8px;
  border: 1px solid var(--wallet-line);
  border-radius: 12px;
  background: var(--wallet-input);
  color: var(--wallet-text);
  font-size: 11px;
  line-height: 1.2;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.wallet-search-row span:first-child {
  color: var(--wallet-muted);
  background: var(--wallet-input);
}

.wallet-search-row b {
  display: grid;
  place-items: center;
  color: #fff;
  background: #5d68ff;
  border-color: #5d68ff;
}

.wallet-coin-list {
  display: grid;
  gap: 7px;
}

.wallet-coin-row {
  min-height: 46px;
  display: grid;
  grid-template-columns: 28px minmax(0, 1fr) 84px;
  align-items: center;
  gap: 7px;
  padding: 6px 8px;
  border: 1px solid var(--wallet-line);
  border-radius: 12px;
  background: var(--wallet-row);
}

.wallet-coin-row img {
  width: 28px;
  height: 28px;
  object-fit: contain;
  border-radius: 50%;
  background: #fff;
}

.wallet-coin-row strong,
.wallet-coin-row span {
  display: block;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.wallet-coin-row strong,
.wallet-coin-row b {
  color: var(--wallet-text);
  font-size: 11px;
  line-height: 1.15;
}

.wallet-coin-row span {
  color: var(--wallet-muted);
  font-size: 10px;
  line-height: 1.15;
}

.wallet-coin-row b {
  font-weight: 850;
  white-space: nowrap;
  text-align: right;
}

.wallet-coin-row em {
  grid-column: 3;
  display: block;
  min-height: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  color: var(--wallet-active-text);
  font-size: 9px;
  font-style: normal;
  font-weight: 800;
  line-height: 1.1;
  text-align: right;
}

.history-list {
  display: grid;
  gap: 8px;
  margin-top: 14px;
}

.history-list article {
  min-height: 58px;
  padding: 9px;
  display: grid;
  grid-template-columns: 34px 1fr;
  gap: 9px;
  align-items: center;
  border: 1px solid var(--wallet-line);
  border-radius: 12px;
  background: var(--wallet-row);
}

.history-list article b {
  grid-column: 2;
  color: var(--wallet-active-text);
  font-size: 11px;
  line-height: 1;
}

.history-list strong,
.history-list small {
  display: block;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.history-list strong {
  color: var(--wallet-text);
  font-size: 12px;
  line-height: 1.2;
}

.history-list small {
  color: var(--wallet-muted);
  font-size: 10px;
}

.history-type {
  width: 34px;
  height: 34px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  font-size: 10px;
  font-weight: 900;
}

.history-type.receive {
  background: var(--wallet-active-bg);
  color: var(--wallet-active-text);
}

.history-type.send {
  background: #ffe9e7;
  color: #c1392f;
}

html[data-theme="dark"] .history-type.send {
  background: #3b1d21;
  color: #ff9d94;
}

.history-type.swap {
  background: #eeeeff;
  color: var(--violet);
}

html[data-theme="dark"] .history-type.swap {
  background: #25264f;
  color: #bfc3ff;
}

.wallet-screen {
  overflow: hidden;
  border-radius: 18px;
  background: #102220;
  color: #fff;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.08);
}

.wallet-top {
  padding: 22px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.signal {
  display: inline-flex;
  gap: 4px;
}

.signal i {
  width: 6px;
  height: 18px;
  border-radius: 4px;
  background: var(--aqua);
}

.signal i:nth-child(2) {
  height: 13px;
  background: var(--gold);
}

.balance-panel {
  margin: 0 22px 18px;
  padding: 22px;
  border-radius: 8px;
  background: linear-gradient(135deg, var(--aqua), var(--violet));
}

.balance-panel span,
.asset-row span {
  color: rgba(255, 255, 255, 0.72);
}

.balance-panel strong {
  display: block;
  margin-top: 8px;
  font-size: 34px;
  line-height: 1;
}

.wallet-actions {
  padding: 0 22px 20px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
}

.wallet-action {
  min-height: 54px;
  border-radius: 8px;
  display: grid;
  place-items: center;
  background: rgba(255, 255, 255, 0.08);
  color: rgba(255, 255, 255, 0.88);
  font-weight: 750;
}

.wallet-list {
  padding: 0 22px 22px;
  display: grid;
  gap: 10px;
}

.asset-row {
  display: grid;
  grid-template-columns: 44px 1fr auto;
  align-items: center;
  gap: 12px;
  min-height: 64px;
  padding: 10px;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.08);
}

.asset-row img,
.coin-logo {
  width: 42px;
  height: 42px;
  object-fit: contain;
  border-radius: 50%;
  background: #fff;
}

.float-coin {
  position: absolute;
  width: 72px;
  height: 72px;
  padding: 10px;
  border-radius: 50%;
  background: #fff;
  box-shadow: var(--shadow);
}

.float-coin:nth-child(2) {
  top: 34px;
  right: 14px;
}

.float-coin:nth-child(3) {
  bottom: 66px;
  left: 0;
}

.band {
  padding: 86px 0;
}

.band.mist {
  background: var(--mist);
}

.section-head {
  max-width: 720px;
  margin-bottom: 34px;
}

.section-head.center {
  margin-left: auto;
  margin-right: auto;
  text-align: center;
}

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

.feature-card,
.coin-card,
.download-card,
.faq-item,
.support-card,
.policy-card {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--card);
}

.feature-card {
  min-height: 230px;
  padding: 26px;
}

.feature-icon,
.os-icon {
  width: 46px;
  height: 46px;
  margin-bottom: 20px;
  border-radius: 8px;
  display: grid;
  place-items: center;
  background: #e7faf7;
  color: var(--aqua-dark);
  font-weight: 900;
}

.os-icon svg {
  width: 25px;
  height: 25px;
  display: block;
  fill: currentColor;
}

.feature-card:nth-child(2) .feature-icon {
  background: #fff2df;
  color: #9b6510;
}

.feature-card:nth-child(3) .feature-icon {
  background: #eeeeff;
  color: var(--violet);
}

.feature-card p,
.coin-card p,
.policy-card p,
.support-card p,
.download-card p {
  color: var(--muted);
}

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

.coin-card {
  min-height: 142px;
  padding: 18px;
  display: flex;
  align-items: center;
  gap: 14px;
}

.coin-card h3 {
  margin-bottom: 3px;
  font-size: 18px;
}

.coin-card p {
  margin: 0;
  font-size: 14px;
}

.split {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(320px, 1.1fr);
  gap: 48px;
  align-items: start;
}

.steps {
  display: grid;
  gap: 14px;
}

.step {
  display: grid;
  grid-template-columns: 44px 1fr;
  gap: 14px;
}

.step b {
  width: 44px;
  height: 44px;
  border-radius: 8px;
  display: grid;
  place-items: center;
  background: var(--ink);
  color: #fff;
}

html[data-theme="dark"] .step b {
  background: var(--aqua);
  color: #06241f;
}

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

.download-card {
  min-height: 164px;
  padding: 22px;
  display: block;
  transition: transform 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}

.download-card:hover {
  transform: translateY(-3px);
  border-color: var(--aqua);
  box-shadow: 0 16px 36px rgba(18, 32, 31, 0.1);
}

.download-card h3 {
  margin-bottom: 6px;
}

.download-card p {
  margin-bottom: 0;
}

.download-hero-card {
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--card);
  box-shadow: var(--shadow);
}

.download-hero-head {
  margin-bottom: 16px;
}

.download-hero-head strong {
  display: block;
  margin-top: 4px;
  font-size: 22px;
  line-height: 1.15;
}

.platform-list {
  display: grid;
  gap: 10px;
}

.platform-list a {
  min-height: 64px;
  padding: 10px;
  display: grid;
  grid-template-columns: 46px 1fr;
  align-items: center;
  gap: 12px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--paper);
}

.platform-list .os-icon {
  margin: 0;
}

.platform-list strong,
.platform-list small {
  display: block;
}

.platform-list strong {
  font-size: 16px;
}

.platform-list small {
  color: var(--muted);
  font-size: 13px;
}

.os-icon.windows {
  background: #e7f4ff;
  color: #1976bd;
}

.os-icon.macos {
  background: #f0f0f1;
  color: #353b3d;
}

.os-icon.ubuntu {
  background: #fff0e7;
  color: #bd4d18;
}

.os-icon.debian {
  background: #ffe8ef;
  color: #b3184b;
}

.os-icon.fedora {
  background: #e8efff;
  color: #2d58c9;
}

.os-icon.hash {
  background: #eef8e8;
  color: #3d8125;
}

.page-hero {
  padding: 70px 0 52px;
  background:
    linear-gradient(120deg, rgba(33, 182, 168, 0.12), transparent 42%),
    linear-gradient(260deg, rgba(239, 184, 77, 0.16), transparent 46%),
    var(--hero-surface);
  border-bottom: 1px solid var(--line);
}

.page-hero .section {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(260px, 420px);
  align-items: center;
  gap: 36px;
}

.page-hero h1 {
  font-size: clamp(40px, 6vw, 68px);
}

.stats-strip {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}

.stat {
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--card);
}

.stat strong {
  display: block;
  font-size: 28px;
  line-height: 1;
}

.stat span {
  display: block;
  color: var(--muted);
  font-size: 13px;
  overflow-wrap: anywhere;
}

.support-stats {
  grid-template-columns: 1fr;
}

.support-stats .stat {
  min-height: 78px;
  display: grid;
  grid-template-columns: 84px 1fr;
  align-items: center;
  gap: 14px;
}

.support-stats .stat strong {
  font-size: 20px;
}

.legal-nav {
  padding: 18px;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--card);
}

.legal-nav a {
  min-height: 44px;
  padding: 10px 14px;
  display: flex;
  align-items: center;
  border: 1px solid var(--line);
  border-radius: 8px;
  color: var(--aqua-dark);
  font-weight: 800;
}

.legal-doc {
  display: grid;
  gap: 22px;
}

.legal-doc article {
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--card);
}

.legal-page article {
  max-width: 920px;
  margin: 0 auto;
}

.legal-page h2 {
  margin-top: 30px;
  font-size: 26px;
}

.legal-page h2:first-of-type {
  margin-top: 0;
}

.legal-updated {
  font-weight: 800;
  color: var(--ink);
}

.legal-doc p {
  color: var(--muted);
}

.legal-doc p:last-child {
  margin-bottom: 0;
}

.policy-grid,
.support-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

.policy-card,
.support-card {
  padding: 26px;
}

.requirements-panel {
  display: grid;
  gap: 16px;
  align-content: start;
}

.requirement-list {
  display: grid;
  gap: 12px;
}

.requirement-list article {
  padding: 16px;
  border: 1px solid var(--line);
  border-left: 4px solid var(--aqua);
  border-radius: 8px;
  background: var(--card);
}

.requirement-list strong,
.requirement-list span {
  display: block;
}

.requirement-list strong {
  margin-bottom: 6px;
}

.requirement-list span {
  color: var(--muted);
  line-height: 1.55;
}

.listing-form {
  margin: 0;
}

.faq-list {
  display: grid;
  gap: 12px;
}

.faq-item button {
  width: 100%;
  min-height: 64px;
  padding: 0 22px;
  border: 0;
  background: transparent;
  color: var(--ink);
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 18px;
  text-align: left;
  font: inherit;
  font-weight: 800;
  cursor: pointer;
}

.faq-item button::after {
  content: "+";
  width: 30px;
  height: 30px;
  flex: 0 0 auto;
  border-radius: 8px;
  display: grid;
  place-items: center;
  background: var(--mist);
  color: var(--aqua-dark);
  font-size: 22px;
  line-height: 1;
}

.faq-item.open button::after {
  content: "-";
}

.faq-panel {
  display: none;
  padding: 0 22px 22px;
  color: var(--muted);
}

.faq-item.open .faq-panel {
  display: block;
}

.cta-band {
  padding: 78px 0;
  color: #fff;
  background: #13201f;
}

.cta-band .section {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 24px;
  align-items: center;
}

.cta-band p {
  max-width: 620px;
  color: rgba(255, 255, 255, 0.72);
}

.cta-band .button.secondary {
  background: transparent;
  color: #fff;
  border-color: rgba(255, 255, 255, 0.28);
}

.site-footer {
  padding: 58px 0 34px;
  background: var(--footer-surface);
  border-top: 1px solid var(--line);
}

.footer-grid {
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.2fr repeat(4, 1fr);
  gap: 30px;
}

.footer-grid h3 {
  font-size: 15px;
  margin-bottom: 12px;
}

.footer-grid a,
.footer-grid p {
  display: block;
  color: var(--muted);
  margin: 0 0 9px;
  font-size: 14px;
}

.footer-grid a:hover {
  color: var(--aqua-dark);
}

.footer-bottom {
  width: min(1180px, calc(100% - 32px));
  margin: 30px auto 0;
  padding-top: 20px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 13px;
}

.cookie-banner {
  position: fixed;
  left: 18px;
  right: 18px;
  bottom: 18px;
  z-index: 60;
  width: min(760px, calc(100% - 36px));
  margin: 0 auto;
  padding: 16px;
  display: none;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 16px;
  align-items: center;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--card);
  box-shadow: var(--shadow);
}

.cookie-banner.show {
  display: grid;
}

.cookie-banner p {
  margin: 0;
  color: var(--muted);
  font-size: 14px;
}

.cookie-banner p a {
  color: var(--aqua-dark);
  font-weight: 800;
}

.cookie-banner div {
  display: flex;
  gap: 10px;
}

.modal-backdrop {
  position: fixed;
  inset: 0;
  z-index: 80;
  display: none;
  place-items: center;
  padding: 18px;
  background: rgba(5, 10, 12, 0.62);
}

.modal-backdrop.open {
  display: grid;
}

.modal-card {
  width: min(720px, 100%);
  max-height: min(760px, calc(100vh - 36px));
  overflow: auto;
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--card);
  box-shadow: var(--shadow);
}

.modal-close {
  float: right;
  min-height: 36px;
  padding: 0 12px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--paper);
  color: var(--ink);
  font-weight: 800;
  cursor: pointer;
}

.verify-status {
  margin: 18px 0;
  padding: 14px;
  border-radius: 8px;
  font-weight: 850;
}

.verify-status.ok {
  background: var(--wallet-active-bg);
  color: var(--wallet-active-text);
}

.verify-status.bad,
.ticket-success.bad {
  background: #ffe9e7;
  color: #c1392f;
}

html[data-theme="dark"] .verify-status.bad,
html[data-theme="dark"] .ticket-success.bad {
  background: #3b1d21;
  color: #ff9d94;
}

.verify-list {
  display: grid;
  gap: 10px;
}

.verify-list article {
  padding: 12px;
  display: grid;
  grid-template-columns: 16px 1fr auto;
  gap: 12px;
  align-items: center;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--paper);
}

.verify-dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: #c1392f;
}

.verify-dot.ok {
  background: var(--aqua);
}

.verify-list strong,
.verify-list small,
.verify-list code {
  display: block;
}

.verify-list small,
.verify-list code {
  color: var(--muted);
}

.verify-list code {
  margin-top: 4px;
  font-size: 12px;
}

.ticket-form,
.ticket-view,
.admin-ticket {
  width: min(920px, 100%);
  margin: 0 auto;
  padding: 26px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--card);
}

.ticket-form {
  display: grid;
  gap: 16px;
}

.ticket-form label {
  display: grid;
  gap: 7px;
  color: var(--ink);
  font-weight: 800;
}

.ticket-form input,
.ticket-form select,
.ticket-form textarea,
.admin-ticket textarea {
  width: 100%;
  padding: 12px 14px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--paper);
  color: var(--ink);
  font: inherit;
}

.ticket-success {
  display: none;
  padding: 14px;
  border-radius: 8px;
  background: var(--wallet-active-bg);
  color: var(--wallet-active-text);
  font-weight: 800;
}

.ticket-success.show {
  display: block;
}

.ticket-success a {
  color: inherit;
  text-decoration: underline;
}

.ticket-detail-head {
  display: grid;
  gap: 6px;
  margin-bottom: 22px;
}

.ticket-detail-head span {
  width: fit-content;
  padding: 5px 10px;
  border-radius: 999px;
  background: var(--wallet-active-bg);
  color: var(--wallet-active-text);
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
}

.ticket-detail-head strong {
  font-size: 28px;
}

.message-box {
  display: grid;
  gap: 8px;
  padding: 16px;
  border: 1px solid var(--line);
  border-left: 4px solid var(--wallet-active-text);
  border-radius: 8px;
  background: color-mix(in srgb, var(--paper) 72%, var(--card));
  white-space: pre-wrap;
}

.message-box span,
.reply-editor span {
  color: var(--muted);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: .06em;
  text-transform: uppercase;
}

.message-box p {
  margin: 0;
  color: var(--ink);
  line-height: 1.65;
}

.message-box.reply {
  border-left-color: var(--aqua);
  background: var(--wallet-active-bg);
}

.reply-editor {
  display: grid;
  gap: 8px;
}

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

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

.admin-ticket {
  display: grid;
  gap: 14px;
  margin: 0;
}

.admin-ticket-head {
  display: flex;
  justify-content: space-between;
  gap: 16px;
}

.admin-ticket-head > div {
  display: grid;
  gap: 5px;
}

.admin-ticket span,
.admin-ticket small {
  color: var(--muted);
}

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

.button.danger {
  background: #c1392f;
  box-shadow: none;
}

@media (max-width: 940px) {
  .hero,
  .page-hero .section,
  .split,
  .cta-band .section {
    grid-template-columns: 1fr;
  }

  .hero {
    padding-top: 44px;
  }

  .wallet-stage {
    min-height: 480px;
  }

  .wallet-desktop {
    grid-template-columns: 140px 1fr;
  }

  .wallet-columns {
    grid-template-columns: 1fr;
  }

  .history-panel {
    display: none;
  }

  .grid-3,
  .coin-grid,
  .download-grid,
  .legal-nav,
  .footer-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .footer-grid {
    gap: 24px;
  }
}

@media (max-width: 760px) {
  .nav {
    min-height: 66px;
  }

  .menu-toggle {
    display: inline-block;
  }

  .nav-links {
    position: absolute;
    left: 16px;
    right: 16px;
    top: 72px;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 12px;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: var(--card);
    box-shadow: var(--shadow);
  }

  .nav-links.open {
    display: flex;
  }

  .nav-links a {
    padding: 12px;
  }

  .nav-actions .button {
    display: none;
  }

  .trust-row,
  .grid-3,
  .coin-grid,
  .download-grid,
  .stats-strip,
  .policy-grid,
  .support-grid,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .hero {
    min-height: auto;
  }

  .wallet-stage {
    min-height: 420px;
  }

  .wallet-desktop {
    grid-template-columns: 1fr;
  }

  .wallet-sidebar {
    display: none;
  }

  .wallet-app-top,
  .portfolio-panel {
    align-items: flex-start;
    flex-direction: column;
  }

  .wallet-pills,
  .portfolio-actions {
    flex-wrap: wrap;
  }

  .wallet-search-row {
    grid-template-columns: 1fr 48px;
  }

  .wallet-search-row span:nth-child(3),
  .wallet-search-row span:nth-child(4) {
    display: none;
  }

  .wallet-coin-row {
    grid-template-columns: 34px 1fr 76px;
  }

  .wallet-coin-row em {
    display: none;
  }

  .float-coin {
    width: 56px;
    height: 56px;
  }

  .band {
    padding: 62px 0;
  }

  .cookie-banner {
    grid-template-columns: 1fr;
  }

  .cookie-banner div {
    flex-wrap: wrap;
  }
}

@media (max-width: 460px) {
  .section,
  .hero,
  .nav,
  .footer-grid,
  .footer-bottom {
    width: min(100% - 24px, 1180px);
  }

  h1 {
    font-size: 42px;
  }

  .wallet-shell {
    padding: 10px;
  }

  .wallet-desktop {
    padding: 0;
  }

  .wallet-top,
  .balance-panel,
  .wallet-actions,
  .wallet-list {
    margin-left: 0;
    margin-right: 0;
    padding-left: 14px;
    padding-right: 14px;
  }

  .balance-panel strong {
    font-size: 28px;
  }
}
