:root {
  --bg: #f7f8fa;
  --surface: #ffffff;
  --surface-alt: #f5f7fb;
  --surface-muted: #eef2f6;
  --text: #0a0b0d;
  --muted: #5b6472;
  --line: #d9dee7;
  --line-strong: #c8cfda;
  --accent: #f7931a;
  --green: #0f8a55;
  --red: #ca3d2f;
  --blue: #1652f0;
  --max-width: 1160px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "InterVariable", Inter, sans-serif;
  color: var(--text);
  background: linear-gradient(180deg, #fbfcfd 0%, #f4f7fa 100%);
  min-height: 100vh;
  overflow-x: hidden;
}

img {
  max-width: 100%;
}

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

button,
input,
select {
  font: inherit;
}

.page-shell {
  width: min(var(--max-width), calc(100% - 32px));
  margin: 0 auto;
  padding: 0 0 32px;
}

.site-header,
.hero,
.panel,
.flash {
  border: 1px solid var(--line);
  background: var(--surface);
}

.site-header {
  width: auto;
  margin-left: calc((100vw - 100%) / -2);
  margin-right: calc((100vw - 100%) / -2);
}

.hero {
  margin-top: 16px;
  overflow: hidden;
  border-radius: 28px;
  background:
    radial-gradient(circle at top left, rgba(247, 147, 26, 0.14), transparent 34%),
    linear-gradient(180deg, #ffffff 0%, #f7f9fc 100%);
  box-shadow: 0 18px 48px rgba(15, 23, 42, 0.08);
}

main {
  margin-top: 22px;
}

.welcome-banner {
  padding: 30px 6px 18px;
}

.welcome-banner p {
  margin: 0;
  font-size: 1.86rem;
  font-weight: 800;
  letter-spacing: -0.02em;
}

.brand-link {
  text-decoration: none;
  color: inherit;
}

.home-main {
  padding: 34px 0 0;
}

.home-shell .site-footer {
  margin-top: 36px;
}

.home-hero,
.home-feature-grid,
.home-split,
.home-showcase,
.home-cta-band {
  display: grid;
  gap: 22px;
}

.home-hero {
  grid-template-columns: minmax(0, 0.95fr) minmax(420px, 1.05fr);
  align-items: center;
}

.home-hero-copy h1 {
  max-width: 11ch;
  font-size: clamp(3.2rem, 6vw, 5.2rem);
  line-height: 0.95;
  letter-spacing: -0.03em;
}

.home-intro {
  max-width: 58ch;
  margin: 18px 0 0;
  color: var(--muted);
  font-size: 1.02rem;
  line-height: 1.75;
}

.home-hero-actions {
  display: flex;
  gap: 12px;
  margin-top: 24px;
  flex-wrap: wrap;
}

.home-signal-list {
  display: grid;
  gap: 14px;
  margin-top: 28px;
}

.home-signal-list article {
  padding-left: 18px;
  border-left: 3px solid rgba(247, 147, 26, 0.24);
}

.feature-icon {
  width: 24px;
  height: 24px;
  color: var(--accent);
  margin-bottom: 14px;
}

.home-signal-list strong,
.home-process-list strong,
.home-proof-list strong,
.home-showcase-card h3,
.home-feature-card h3 {
  display: block;
  font-size: 1rem;
  line-height: 1.25;
}

.home-signal-list p,
.home-process-list p,
.home-proof-list p,
.home-feature-card p,
.home-showcase-card p,
.home-strip p,
.footer-grid p,
.footer-grid a {
  color: var(--muted);
}

.home-signal-list p {
  margin: 6px 0 0;
  line-height: 1.6;
}

.home-hero-visual {
  position: relative;
  display: grid;
  place-items: center;
}

.home-hero-visual::before {
  content: "";
  position: absolute;
  inset: auto auto 6% 8%;
  width: 280px;
  height: 280px;
  border-radius: 999px;
  background: radial-gradient(circle, rgba(247, 147, 26, 0.18) 0%, rgba(247, 147, 26, 0) 72%);
  pointer-events: none;
}

.home-phone-showcase {
  position: relative;
  padding: 28px 24px;
}

.home-phone-frame {
  position: relative;
  width: min(100%, 360px);
  padding: 18px 14px 16px;
  border-radius: 38px;
  background: linear-gradient(180deg, #12151d 0%, #02040a 100%);
  box-shadow:
    0 30px 60px rgba(15, 23, 42, 0.18),
    inset 0 0 0 1px rgba(255, 255, 255, 0.08);
}

.home-phone-notch {
  width: 108px;
  height: 22px;
  margin: 0 auto 10px;
  border-radius: 999px;
  background: #05070d;
  box-shadow: inset 0 -1px 0 rgba(255, 255, 255, 0.06);
}

.home-phone-frame img {
  display: block;
  width: 100%;
  border-radius: 26px;
  background: #fff;
}

.trust-bar {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  margin-top: 28px;
  border: 1px solid var(--line);
  border-radius: 16px;
  overflow: hidden;
  background: var(--line);
}
.trust-bar-item {
  display: grid;
  gap: 4px;
  padding: 20px 24px;
  text-align: center;
  background: var(--surface);
}
.trust-bar-item strong {
  font-size: 0.88rem;
  font-weight: 700;
}
.trust-bar-item span {
  font-size: 0.78rem;
  color: var(--muted);
}

.home-strip {
  margin-top: 28px;
  padding: 28px 30px;
  border: 1px solid var(--line);
  border-radius: 28px;
  background: linear-gradient(180deg, #ffffff 0%, #fbfcfe 100%);
}

.home-strip h2,
.home-process-panel h2,
.home-proof-panel h2,
.home-showcase-copy h2,
.home-cta-band h2 {
  margin: 8px 0 0;
  font-size: clamp(1.9rem, 4vw, 2.8rem);
  line-height: 1.04;
  letter-spacing: -0.02em;
}

.home-strip p:last-child,
.home-showcase-copy p,
.home-proof-list p,
.home-process-list p {
  line-height: 1.7;
}

.home-feature-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin-top: 22px;
}

.home-feature-card,
.home-process-panel,
.home-proof-panel,
.home-showcase-card,
.home-cta-band {
  border-radius: 26px;
}

.home-feature-card {
  padding: 24px;
}

.home-feature-card p {
  margin-top: 10px;
  line-height: 1.65;
}

.home-split {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  margin-top: 22px;
}

.home-process-panel,
.home-proof-panel {
  padding: 28px;
}

.home-process-list,
.home-proof-list {
  display: grid;
  gap: 16px;
  margin-top: 22px;
}

.home-process-list article,
.home-proof-list article {
  display: grid;
  gap: 12px;
  padding-top: 16px;
  border-top: 1px solid var(--line);
}

.home-process-list article {
  grid-template-columns: 48px minmax(0, 1fr);
  align-items: start;
}

.home-process-list span {
  display: inline-grid;
  place-items: center;
  width: 40px;
  height: 40px;
  border-radius: 999px;
  background: rgba(37, 84, 210, 0.08);
  color: var(--blue);
  font-size: 0.88rem;
  font-weight: 700;
}

.home-showcase {
  grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr);
  align-items: start;
  margin-top: 22px;
}

.home-showcase-copy {
  padding: 8px 4px 0 0;
}

.home-showcase-copy p {
  margin-top: 14px;
}

.home-showcase-stack {
  display: grid;
  gap: 14px;
}

.home-showcase-card {
  padding: 22px;
}

.home-showcase-card p {
  margin-top: 8px;
  line-height: 1.65;
}

.home-cta-band {
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  margin-top: 28px;
  padding: 28px 30px;
  border: 1px solid var(--line);
  background:
    radial-gradient(circle at top left, rgba(247, 147, 26, 0.12), transparent 35%),
    linear-gradient(180deg, #ffffff 0%, #f8fbff 100%);
}

.topbar,
.hero-grid,
.dashboard,
.content-grid,
.security-grid,
.mini-stats {
  display: grid;
  gap: 14px;
}

.topbar {
  grid-template-columns: auto 1fr auto;
  align-items: center;
  padding: 16px 22px;
  background: var(--surface);
  gap: 20px;
}

.topbar-primary {
  display: contents;
}

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

.brand-mark {
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
}

.brand-mark img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.brand p,
.brand span,
.card-label,
.panel-note,
.allocation-copy p,
.transaction-meta,
.text-link,
.section-kicker,
.section-note {
  margin: 0;
}

.brand p {
  font-size: 1.42rem;
  font-weight: 700;
  letter-spacing: -0.04em;
}

.brand span {
  display: block;
  font-size: 0.62rem;
  letter-spacing: 0.08em;
}

.brand span,
.text-link,
.panel-note,
.allocation-copy,
.transaction-meta,
label,
input::placeholder,
.section-kicker,
.section-note {
  color: var(--muted);
}

.topbar-actions {
  display: flex;
  align-items: center;
  gap: 6px;
  flex-wrap: wrap;
}

.topbar-nav {
  display: flex;
  align-items: center;
  gap: 2px;
  flex-wrap: wrap;
  justify-content: center;
}

.text-link {
  padding: 9px 11px;
  border-radius: 999px;
  font-size: 0.84rem;
  font-weight: 500;
}

.text-link:hover {
  background: var(--surface-alt);
}

.text-link.is-active {
  color: var(--accent);
  font-weight: 600;
}

.user-menu { position:relative; }
.user-avatar {
  width:34px; height:34px; border-radius:50%; border:2px solid var(--line);
  background:var(--surface); color:var(--text); font-size:0.82rem; font-weight:700;
  cursor:pointer; display:flex; align-items:center; justify-content:center;
  transition:border-color 0.15s;
}
.user-avatar:hover { border-color:var(--blue); }
.user-dropdown {
  display:none; position:absolute; right:0; top:calc(100% + 8px);
  background:var(--surface); border:1px solid var(--line); border-radius:12px;
  box-shadow:0 12px 32px rgba(15,23,42,0.1); min-width:200px; z-index:9999;
  overflow:hidden;
}
.user-dropdown.open { display:block; }
.user-dropdown-header { padding:12px 16px 2px; font-size:0.9rem; font-weight:600; }
.user-dropdown-email { padding:0 16px 10px; font-size:0.8rem; color:var(--muted); }
.user-dropdown-divider { height:1px; background:var(--line); }
.user-dropdown a {
  display:block; padding:10px 16px; font-size:0.85rem; color:var(--text);
  text-decoration:none;
}
.user-dropdown a:hover { background:var(--surface-alt); }
.user-dropdown .signout-form { margin: 0; }
.user-dropdown-signout {
  display: block;
  width: 100%;
  padding: 10px 16px;
  border: 0;
  background: transparent;
  color: var(--text);
  font: inherit;
  font-size: 0.85rem;
  text-align: left;
  cursor: pointer;
}
.user-dropdown-signout:hover { background: var(--surface-alt); }

.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;
}

.hero-grid {
  grid-template-columns: minmax(0, 1fr) minmax(460px, 0.98fr);
  padding: 22px 22px 20px;
  align-items: center;
}

.hero-copy {
  padding: 4px 16px 4px 0;
}

h1,
h2,
h3,
h4,
strong {
  margin: 0;
}

h1 {
  max-width: none;
  font-size: clamp(2.4rem, 5vw, 3.95rem);
  line-height: 0.9;
  letter-spacing: -0.03em;
  font-weight: 700;
}

h1 span {
  font-size: 0.52em;
  letter-spacing: -0.04em;
  font-weight: 600;
}

#hero-balance {
  letter-spacing: 0.02em;
}

#hero-balance span {
  letter-spacing: 0.08em;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 40px;
  padding: 0 15px;
  border: 1px solid var(--line-strong);
  border-radius: 999px;
  background: var(--surface);
  color: var(--text);
  font-size: 0.88rem;
  font-weight: 600;
  transition: background-color 140ms ease, border-color 140ms ease, color 140ms ease;
  cursor: pointer;
}

.button:hover {
  background: var(--surface-alt);
}

.button-primary {
  border-color: var(--blue);
  background: var(--blue);
  color: #fff;
}

.button-primary:hover {
  background: #1048dd;
  border-color: #1048dd;
}

.button-secondary {
  background: var(--surface);
}

.hero-usd {
  margin-top: 8px;
  font-size: 0.86rem;
  color: var(--muted);
  font-weight: 500;
  letter-spacing: 0.05em;
}

.hero-support {
  max-width: 460px;
  margin: 14px 0 0;
  color: var(--muted);
  font-size: 0.86rem;
  line-height: 1.55;
}

.mini-stats article,
.security-grid article,
.transaction-item {
  border: 1px solid var(--line);
  background: var(--surface);
}

.mini-stats article {
  padding: 14px;
  border-radius: 14px;
}

.mini-stats span {
  display: block;
  margin-bottom: 6px;
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--muted);
}

.mini-stats strong {
  font-size: 0.92rem;
  letter-spacing: 0.03em;
}

.mini-stats strong.is-protected {
  color: var(--green);
}

.mini-stat-note {
  margin: 8px 0 0;
  color: var(--muted);
  font-size: 0.76rem;
  line-height: 1.45;
}

.mini-stat-note a {
  color: var(--blue);
  font-weight: 600;
}

.hero-card {
  border: 1px solid var(--line);
  border-radius: 22px;
  background: var(--surface-alt);
  padding: 16px;
}

.hero-card-header {
  display: flex;
  align-items: start;
  justify-content: space-between;
  gap: 12px;
}

.card-label {
  font-size: 0.79rem;
  font-weight: 600;
  letter-spacing: -0.01em;
}

.hero-card-note {
  margin-top: 4px;
  color: var(--muted);
  font-size: 0.8rem;
}

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

.hero-card-actions {
  display: flex;
  gap: 8px;
  margin-top: 12px;
  flex-wrap: wrap;
}

.hero-alert {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  margin: 12px 0 2px;
  padding: 12px 14px;
  border: 1px solid #f1ddc2;
  border-radius: 18px;
  background: linear-gradient(180deg, #fff8f0 0%, #fff2e2 100%);
}

.hero-alert-badge,
.security-status-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 26px;
  padding: 0 10px;
  border-radius: 999px;
  font-size: 0.73rem;
  font-weight: 700;
  letter-spacing: 0.02em;
}

.hero-alert-badge {
  background: var(--accent);
  color: #fff;
}

.hero-alert strong,
.security-status-badge {
  line-height: 1.35;
}

.hero-alert p {
  margin: 3px 0 0;
  color: var(--muted);
  font-size: 0.8rem;
  line-height: 1.45;
}

.security-status-badge.is-ok {
  background: #edf8f3;
  color: var(--green);
}

.security-status-badge.is-warning {
  background: #fff1ef;
  color: var(--red);
}

.security-meter {
  width: 100%;
  height: 10px;
  overflow: hidden;
  margin-top: 8px;
  border-radius: 999px;
  background: #dde3ec;
}

.security-meter span {
  display: block;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, #0f8a55 0%, #31b06e 55%, #f7931a 100%);
}

.dashboard-shell .hero {
  border: 1px solid var(--line);
  border-radius: 30px;
  background:
    radial-gradient(circle at top left, rgba(247, 147, 26, 0.14), transparent 36%),
    linear-gradient(180deg, #ffffff 0%, #f7f9fc 100%);
  box-shadow: 0 18px 48px rgba(15, 23, 42, 0.08);
  overflow: hidden;
}

.dashboard-shell .hero-grid {
  padding: 18px 20px;
  gap: 0;
  align-items: stretch;
}

.dashboard-shell .hero-copy {
  padding: 22px 28px 22px 8px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  height: 100%;
  min-height: 286px;
}

.dashboard-shell .hero-card {
  border: none;
  border-left: 1px solid var(--line);
  border-radius: 0;
  background: transparent;
  box-shadow: none;
  padding: 18px 0 18px 28px;
}

.dashboard-shell .panel-send {
  border-color: #d8e3ff;
  background: linear-gradient(180deg, #fbfdff 0%, #f3f7ff 100%);
}

.dashboard-shell .panel-transfer {
  border-color: #dfe6f1;
  background: linear-gradient(180deg, #ffffff 0%, #f8fbff 100%);
}

.dashboard-shell .panel-buy {
  border-color: #f1ddc2;
  background: linear-gradient(180deg, #fffdfa 0%, #fff5e8 100%);
}

.dashboard-shell .panel-receive {
  border-color: #dfe6f3;
  background: linear-gradient(180deg, #ffffff 0%, #f6f9fd 100%);
}

.dashboard-shell .panel-rate {
  border-color: #f1ddc2;
  background: linear-gradient(180deg, #fffaf2 0%, #fff4e4 100%);
}

.dashboard-shell .panel-transfer {
  border-color: #dfe6f1;
  background: linear-gradient(180deg, #ffffff 0%, #f8fbff 100%);
}

.dashboard-shell .content-grid > .panel {
  border-color: #d8eadf;
  background: linear-gradient(180deg, #fbfefb 0%, #f1f8f2 100%);
}

.dashboard-shell .security-panel {
  border-color: #dbe4f2;
  background: linear-gradient(180deg, #fbfdff 0%, #f4f8ff 100%);
}

.dashboard-shell .panel-wide {
  border-color: #dfe5ef;
  background: linear-gradient(180deg, #ffffff 0%, #f8fafd 100%);
}

.dashboard-shell .section-kicker {
  color: var(--blue);
}

.dashboard-shell .panel-rate .section-kicker,
.dashboard-shell .hero-copy .section-kicker {
  color: var(--accent);
}

.dashboard-shell .content-grid > .panel .section-kicker {
  color: var(--green);
}

.dashboard-shell .security-panel .section-kicker {
  color: #4b67c7;
}

.dashboard-shell .mini-stats article:nth-child(1) {
  background: linear-gradient(180deg, #ffffff 0%, #f5f9ff 100%);
}

.dashboard-shell .mini-stats article:nth-child(2) {
  background: linear-gradient(180deg, #fffdfa 0%, #fff3e3 100%);
}

.dashboard-shell .mini-stats article:nth-child(3) {
  background: linear-gradient(180deg, #fbfefb 0%, #eff8f2 100%);
}

.dashboard-shell .receive-box,
.dashboard-shell .qr-card {
  background: linear-gradient(180deg, #f8fbff 0%, #f3f7fc 100%);
}

.dashboard-shell .conversion-box {
  background: linear-gradient(180deg, #f8fbff 0%, #eef4ff 100%);
}

.dashboard-shell .fee-box {
  background: linear-gradient(180deg, #fffaf2 0%, #fff1dc 100%);
}

.dashboard-shell .transaction-item {
  background: linear-gradient(180deg, #ffffff 0%, #f9fbfd 100%);
}

.compact-button {
  min-height: 36px;
  font-size: 0.8rem;
}

.dashboard-stack {
  display: grid;
  gap: 16px;
}

.dashboard {
  grid-template-columns: minmax(0, 1.28fr) minmax(320px, 0.72fr);
  margin-top: 16px;
  align-items: stretch;
}

.panel,
.security-panel {
  border-radius: 22px;
  padding: 18px;
}

.panel-send,
.panel-receive,
.panel-rate {
  min-height: 100%;
}

.panel-rate,
.panel-send,
.panel-receive,
.panel-transfer {
  display: flex;
  flex-direction: column;
}

.panel-transfer {
  gap: 16px;
}

.transfer-tabs {
  display: inline-flex;
  gap: 8px;
  padding: 6px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.72);
  width: fit-content;
}

.transfer-tab,
.price-range-button {
  border: none;
  border-radius: 999px;
  background: transparent;
  color: var(--muted);
  cursor: pointer;
  font-size: 0.82rem;
  font-weight: 600;
  line-height: 1;
}

.transfer-tab {
  min-height: 38px;
  padding: 0 16px;
}

.transfer-tab.is-active,
.price-range-button.is-active {
  background: var(--text);
  color: #fff;
}

.transfer-pane {
  display: none;
}

.transfer-pane.is-active {
  display: block;
}

.transfer-receive-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(220px, 0.82fr);
  gap: 14px;
  align-items: stretch;
}

.setup-shell {
  display: grid;
  place-items: center;
  min-height: calc(100vh - 48px);
}

.setup-panel {
  max-width: 620px;
}

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

.section-kicker {
  font-size: 0.75rem;
  font-weight: 600;
}
.section-kicker-center { justify-content: center; }

.page-shell-inner { padding-top: 0; }

.about-section-title { text-align:center; font-size:1.35rem; font-weight:600; margin:0 0 8px; }
.about-section-sub { text-align:center; color:var(--muted); margin:0 0 8px; font-size:.95rem; }

.section-note {
  font-size: 0.8rem;
  font-weight: 500;
}

.price-panel {
  display: grid;
  gap: 12px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: var(--surface-alt);
  padding: 15px;
  margin-bottom: 12px;
}

.price-summary {
  display: flex;
  align-items: center;
  gap: 12px;
}

.price-summary strong {
  display: block;
  font-size: 0.96rem;
  letter-spacing: -0.03em;
}

.price-summary strong span {
  font-size: 0.9em;
  color: var(--muted);
  font-weight: 500;
}

.price-coin {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: var(--accent);
  color: #fff;
  font-size: 1.05rem;
  font-weight: 700;
}

.price-change {
  margin-top: 5px;
  color: var(--green);
  font-size: 0.84rem;
  font-weight: 500;
}

.price-callout {
  padding-top: 12px;
  border-top: 1px solid var(--line);
}

.price-callout p {
  margin: 0;
  color: var(--muted);
  font-size: 0.82rem;
  line-height: 1.55;
}

.price-facts {
  display: grid;
  gap: 10px;
}

.price-fact {
  display: grid;
  gap: 3px;
  padding-top: 10px;
  border-top: 1px solid var(--line);
}

.price-fact span {
  color: var(--muted);
  font-size: 0.73rem;
  font-weight: 600;
}

.price-fact strong {
  font-size: 0.83rem;
  line-height: 1.45;
  letter-spacing: -0.01em;
}

.rate-footnote {
  display: flex;
  align-items: baseline;
  gap: 8px;
  margin: 0;
  padding-top: 0;
}

.rate-footnote span {
  color: var(--muted);
  font-size: 0.74rem;
  font-weight: 600;
}

.rate-footnote strong {
  font-size: 0.86rem;
  letter-spacing: -0.02em;
}

.panel h3,
.security-panel h3 {
  margin-top: 4px;
  font-size: 1.12rem;
  line-height: 1.15;
  letter-spacing: -0.04em;
}

label {
  display: block;
  margin-bottom: 7px;
  font-size: 0.81rem;
  font-weight: 600;
}

input,
select {
  width: 100%;
  min-height: 44px;
  padding: 0 14px;
  border: 1px solid var(--line-strong);
  border-radius: 12px;
  background: var(--surface);
}

input:focus,
select:focus {
  outline: none;
  border-color: var(--blue);
}

select {
  appearance: none;
  background-image:
    linear-gradient(45deg, transparent 50%, var(--muted) 50%),
    linear-gradient(135deg, var(--muted) 50%, transparent 50%);
  background-position:
    calc(100% - 18px) calc(50% - 3px),
    calc(100% - 12px) calc(50% - 3px);
  background-size: 6px 6px, 6px 6px;
  background-repeat: no-repeat;
  padding-right: 38px;
}

.rate-input {
  position: relative;
}

.rate-input span {
  position: absolute;
  left: 14px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--muted);
  font-size: 0.86rem;
}

.rate-input input {
  padding-left: 28px;
}

.stack > * + * {
  margin-top: 10px;
}

.amount-row {
  position: relative;
}

.amount-row input {
  padding-right: 64px;
}

.amount-unit {
  position: absolute;
  right: 14px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--muted);
  font-size: 0.84rem;
  font-weight: 600;
}

.conversion-box,
.fee-box,
.receive-box,
.qr-card,
.allocation,
.toast {
  border: 1px solid var(--line);
  background: var(--surface-alt);
}

.conversion-box {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 13px 14px;
  border-radius: 16px;
}

.fee-box {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 14px;
  border-radius: 16px;
}

.fee-box strong {
  display: grid;
  justify-items: end;
  gap: 2px;
  text-align: right;
}

.fee-usd {
  color: var(--muted);
  font-size: 0.76rem;
  font-weight: 600;
}

.full-width {
  width: 100%;
}

.receive-box {
  padding: 13px 14px;
  border-radius: 16px;
}

.mono {
  font-family: "InterVariable", Inter, sans-serif;
  font-size: 0.8rem;
  line-height: 1.5;
  letter-spacing: -0.01em;
  word-break: break-all;
}

.qr-card {
  display: grid;
  place-items: center;
  margin-top: 10px;
  padding: 24px 18px;
  border-radius: 16px;
  flex: 1;
  min-height: 240px;
}

.qr-grid {
  display: grid;
  place-items: center;
  width: 210px;
  min-height: 210px;
  padding: 8px;
  border-radius: 16px;
  background: #fff;
}

.qr-grid img,
.qr-grid canvas {
  display: block;
  width: 100%;
  height: auto;
}

.content-grid {
  grid-template-columns: minmax(0, 1.35fr) minmax(280px, 0.65fr);
  margin-top: 16px;
  align-items: start;
}

.activity-footer {
  margin-top: 14px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
}

.export-menu {
  position: relative;
}

.export-menu summary {
  list-style: none;
}

.export-menu summary::-webkit-details-marker {
  display: none;
}

.export-menu > summary.button {
  display: inline-flex;
}

.export-menu[open] > summary {
  background: var(--surface-alt);
}

.export-menu-panel {
  position: absolute;
  top: calc(100% + 8px);
  right: 0;
  z-index: 4;
  display: grid;
  min-width: 180px;
  padding: 8px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.98);
  box-shadow: 0 16px 40px rgba(15, 23, 42, 0.12);
}

.export-menu-panel a {
  padding: 10px 12px;
  border-radius: 12px;
  font-size: 0.84rem;
  font-weight: 600;
}

.export-menu-panel a:hover {
  background: var(--surface-alt);
}

.transaction-item.is-collapsed {
  display: none;
}

.activity-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 14px;
  flex-wrap: wrap;
}

.search-form,
.activity-actions,
.settings-form {
  display: flex;
  gap: 10px;
}

.search-form {
  align-items: center;
  flex: 1 1 420px;
  flex-wrap: wrap;
}

.search-form input {
  flex: 1 1 260px;
}

.activity-actions {
  flex-wrap: wrap;
}

.panel-wide {
  min-height: 100%;
}

.transaction-table-head {
  display: grid;
  grid-template-columns: 56px minmax(0, 1.35fr) minmax(180px, 0.8fr) minmax(150px, 0.7fr);
  gap: 14px;
  padding: 0 12px 8px;
  color: var(--muted);
  font-size: 0.74rem;
  font-weight: 600;
}

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

.activity-table {
  width: 100%;
  border-collapse: collapse;
  table-layout: fixed;
  margin-top: 4px;
}

.activity-table thead th {
  padding: 10px 12px;
  color: var(--muted);
  font-size: 0.74rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  text-align: left;
  border-bottom: 1px solid var(--line);
}

.activity-table tbody tr {
  border-bottom: 1px solid var(--border-subtle);
}

.activity-table tbody tr:last-child {
  border-bottom: none;
}

.activity-table tbody tr:hover {
  background: rgba(247, 250, 255, 0.72);
}

.activity-table tbody td {
  padding: 14px 12px;
  vertical-align: middle;
}

.activity-table tbody td:last-child {
  text-align: right;
}

.transaction-empty {
  display: grid;
  justify-items: start;
  gap: 16px;
  padding: 26px;
  border: 1px dashed #cfd8e5;
  border-radius: 20px;
  background:
    radial-gradient(circle at top left, rgba(247, 147, 26, 0.08), transparent 30%),
    linear-gradient(180deg, #ffffff 0%, #f8fbff 100%);
}

.transaction-empty-art {
  display: flex;
  gap: 10px;
  align-items: end;
  min-height: 64px;
}

.transaction-empty-art span {
  display: block;
  width: 16px;
  border-radius: 999px;
  background: linear-gradient(180deg, rgba(247, 147, 26, 0.35) 0%, rgba(22, 82, 240, 0.18) 100%);
}

.transaction-empty-art span:nth-child(1) {
  height: 26px;
}

.transaction-empty-art span:nth-child(2) {
  height: 48px;
}

.transaction-empty-art span:nth-child(3) {
  height: 34px;
}

.transaction-empty-copy p {
  margin: 0;
  font-size: 1rem;
  font-weight: 700;
  letter-spacing: -0.03em;
}

.transaction-empty-copy span {
  display: block;
  margin-top: 6px;
  color: var(--muted);
  font-size: 0.84rem;
  line-height: 1.55;
}

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

.transaction-item {
  display: grid;
  grid-template-columns: 56px minmax(0, 1.35fr) minmax(180px, 0.8fr) minmax(150px, 0.7fr);
  align-items: center;
  gap: 14px;
  padding: 13px 12px;
  border-radius: 16px;
}

.transaction-badge {
  display: grid;
  place-items: center;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  font-size: 0.74rem;
  font-weight: 700;
  color: #fff;
}

.transaction-badge.sent {
  background: var(--red);
}

.transaction-badge.received {
  background: var(--green);
}

.transaction-main p,
.transaction-main span {
  margin: 0;
}

.transaction-main p {
  font-weight: 600;
  letter-spacing: -0.02em;
  font-size: 0.9rem;
}

.transaction-meta {
  display: block;
  margin-top: 4px;
  font-size: 0.78rem;
}

.transaction-status {
  display: grid;
  gap: 5px;
}

.status-text {
  display: inline-flex;
  align-items: center;
  width: fit-content;
  min-height: 24px;
  padding: 0 9px;
  border-radius: 999px;
  background: var(--surface-alt);
  color: var(--muted);
  font-size: 0.73rem;
  font-weight: 600;
}

.status-text.is-sent {
  background: #fff1ef;
  color: var(--red);
}

.status-text.is-received {
  background: #edf8f3;
  color: var(--green);
}

.transaction-amount {
  text-align: right;
}

.transaction-amount strong {
  font-size: 0.88rem;
}

.transaction-amount .usd {
  display: block;
  margin-top: 3px;
  color: var(--muted);
  font-size: 0.78rem;
}

.price-card {
  display: grid;
  gap: 16px;
}

.price-copy {
  display: grid;
  gap: 8px;
}

.price-value {
  font-size: clamp(2.05rem, 3vw, 2.65rem);
  line-height: 0.95;
  letter-spacing: -0.06em;
}

.price-delta {
  margin: 0;
  font-size: 0.92rem;
  font-weight: 600;
}

.price-delta.is-up {
  color: var(--green);
}

.price-delta.is-down {
  color: var(--red);
}

.price-range-tabs {
  display: inline-flex;
  gap: 8px;
  width: fit-content;
}

.price-range-button {
  min-height: 32px;
  padding: 0 12px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.68);
}

.price-chart-shell {
  position: relative;
  min-height: 250px;
  padding: 18px 14px 12px;
  border: 1px solid rgba(247, 147, 26, 0.18);
  border-radius: 20px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.86) 0%, rgba(255, 247, 235, 0.92) 100%);
}

.price-chart {
  display: block;
  width: 100%;
  height: 220px;
}

.price-line {
  stroke: var(--accent);
  stroke-width: 2.2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.price-tooltip {
  position: absolute;
  top: 14px;
  left: 14px;
  z-index: 2;
  min-width: 112px;
  padding: 10px 12px;
  border: 1px solid rgba(10, 11, 13, 0.08);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.96);
  box-shadow: 0 12px 24px rgba(15, 23, 42, 0.08);
}

.price-tooltip[hidden] {
  display: none;
}

.price-tooltip span,
.price-scale span,
.flow-ratio-item span {
  display: block;
  color: var(--muted);
  font-size: 0.74rem;
  font-weight: 600;
}

.price-tooltip strong,
.price-scale strong,
.flow-ratio-item strong {
  display: block;
  margin-top: 4px;
  font-size: 0.95rem;
  letter-spacing: -0.03em;
}

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

.price-scale div {
  padding-top: 10px;
  border-top: 1px solid rgba(10, 11, 13, 0.08);
}

.flow-card {
  display: grid;
  gap: 12px;
  padding: 0;
}

.flow-ratio-bar {
  display: flex;
  width: 100%;
  height: 14px;
  overflow: hidden;
  border-radius: 999px;
  background: #dde4ef;
}

.flow-bar {
  display: block;
  height: 100%;
}

.flow-bar-in {
  background: linear-gradient(90deg, #1f9f66 0%, #4dc98b 100%);
}

.flow-bar-out {
  background: linear-gradient(90deg, #f0b35d 0%, #f7931a 100%);
}

.flow-ratio-meta {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.flow-ratio-item {
  padding: 12px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.8);
}

.flow-ratio-item.is-in {
  border-color: #cfe8da;
}

.flow-ratio-item.is-out {
  border-color: #f1ddc2;
}

.flow-metrics {
  display: grid;
  gap: 12px;
}

.flow-metric {
  padding-top: 8px;
  border-top: 1px solid var(--line);
}

.allocation {
  padding: 14px;
  border-radius: 16px;
  min-height: 0;
}

.allocation-bar {
  display: flex;
  width: 100%;
  height: 12px;
  overflow: hidden;
  border-radius: 999px;
  background: #dde3ec;
}

.allocation-btc {
  background: var(--accent);
}

.allocation-usd {
  background: var(--blue);
}

.allocation-copy {
  margin-top: 12px;
  display: grid;
  gap: 7px;
  font-size: 0.82rem;
  line-height: 1.45;
}

.security-panel {
  margin-top: 16px;
}

.security-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  grid-auto-rows: 1fr;
}

.security-grid article {
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding: 16px;
  border-radius: 18px;
  min-height: 136px;
}

.security-grid h4 {
  font-size: 0.92rem;
  line-height: 1.25;
}

.security-grid p {
  margin: 6px 0 0;
  color: var(--muted);
  line-height: 1.5;
  font-size: 0.82rem;
}

.security-card-spacer {
  margin-top: 14px !important;
}

.security-card-link {
  margin-top: auto;
}

.security-card-link a {
  color: var(--blue);
  font-size: 0.82rem;
  font-weight: 600;
}

.security-status-badge {
  box-shadow: inset 0 0 0 1px rgba(0, 0, 0, 0.04);
}

.available-strip {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 16px;
  padding: 16px 18px 0;
  margin-top: 6px;
}

.available-label {
  color: var(--muted);
  font-size: 0.76rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.available-usd {
  margin-top: 6px;
  font-size: 0.95rem;
  color: var(--muted);
}

.available-strip-right {
  text-align: right;
}

.available-btc {
  font-size: 1.08rem;
  font-weight: 700;
  letter-spacing: -0.04em;
}

.available-strip-right a {
  color: var(--blue);
  font-size: 0.82rem;
  font-weight: 600;
}

.account-shell .account-main {
  padding-top: 24px;
}

.account-shell .account-hero {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(280px, 0.6fr);
  gap: 20px;
  align-items: stretch;
  margin-top: 18px;
}

.account-shell .account-intro {
  max-width: 52ch;
  margin: 12px 0 0;
  color: var(--muted);
  line-height: 1.65;
}

.account-shell .account-score-card {
  display: grid;
  gap: 10px;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 22px;
  background:
    radial-gradient(circle at top left, rgba(247, 147, 26, 0.14), transparent 36%),
    linear-gradient(180deg, #ffffff 0%, #f7f9fc 100%);
}

.account-shell .account-score-label {
  color: var(--muted);
  font-size: 0.76rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.account-shell .account-score-card strong {
  font-size: 2.45rem;
  line-height: 0.95;
  letter-spacing: -0.08em;
}

.account-shell .account-score-card p {
  margin: 0;
  color: var(--muted);
  font-size: 0.82rem;
  line-height: 1.5;
}

.account-shell .account-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
  margin-top: 18px;
}

.account-shell .account-panel {
  display: grid;
  gap: 12px;
}

.account-shell .account-profile-panel {
  gap: 14px;
}

.account-shell .account-warning {
  margin-top: 18px;
  padding: 16px 18px;
  border: 0;
  border-radius: 0;
  background: #dc2626;
  color: #fff;
  font-size: 0.9rem;
  line-height: 1.5;
}

.account-shell .account-warning strong {
  color: #fff;
  font-weight: 700;
}

.account-shell .account-profile-summary {
  display: grid;
  gap: 12px;
  padding: 14px 16px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: var(--surface-alt);
}

.account-shell .account-profile-summary span {
  display: block;
  margin-bottom: 4px;
  color: var(--muted);
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.account-shell .account-profile-summary strong {
  font-size: 0.92rem;
  font-weight: 600;
}

.account-shell .account-wallet-row {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}

.account-shell .account-wallet-address {
  display: inline-block;
  max-width: 100%;
  padding: 8px 10px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: #fff;
  color: var(--text);
  font-size: 0.8rem;
  word-break: break-all;
}

.account-shell .account-copy-button {
  min-width: 84px;
}

.account-shell .account-status-line {
  margin: 0;
  color: var(--muted);
  font-size: 0.84rem;
  line-height: 1.5;
}

.settings-form {
  margin-top: 12px;
  flex-direction: column;
}

.checkbox-row {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 0;
  min-height: 40px;
}

.checkbox-row input {
  width: 18px;
  min-height: 18px;
  margin: 0;
  accent-color: var(--blue);
}

.checkbox-row span {
  color: var(--text);
  font-size: 0.84rem;
  font-weight: 500;
}

.btn-center { justify-content: center; }

.kyc-uploads-section { border-top:1px solid var(--line); padding-top:8px; }
.kyc-uploads-label { font-weight:600; font-size:.85rem; margin:0 0 12px; }
.kyc-file-link { font-size:.82rem; color:var(--blue); display:inline-block; margin-top:4px; }

.site-footer {
  margin-top: 18px;
  padding: 24px 0 6px;
  border-top: 1px solid var(--line);
}
.auth-footer { margin-top:auto; }

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

.footer-grid h4 {
  margin: 0 0 10px;
  font-size: 0.96rem;
  letter-spacing: -0.02em;
}

.footer-grid p,
.footer-grid a {
  display: block;
  margin: 0 0 8px;
  color: var(--muted);
  font-size: 0.84rem;
  line-height: 1.55;
  text-decoration: none;
}

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

.footer-bar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  margin-top: 10px;
  padding-top: 14px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 0.78rem;
}

.footer-legal {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 14px;
}

.footer-legal a {
  color: inherit;
  text-decoration: none;
}

.footer-legal a:hover {
  color: var(--text);
}

.flash {
  margin-top: 16px;
  padding: 14px 16px;
  border-radius: 16px;
}

.flash a {
  color: inherit;
  font-weight: 600;
  text-decoration: underline;
}

.flash-success {
  background: #edf8f3;
  color: var(--green);
}

.flash-error {
  background: #fff1ef;
  color: var(--red);
}

.toast {
  position: fixed;
  right: 16px;
  bottom: 16px;
  padding: 14px 16px;
  border-radius: 16px;
  opacity: 0;
  transform: translateY(10px);
  pointer-events: none;
  transition: opacity 180ms ease, transform 180ms ease;
}

.toast.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.avatar-pill {
  display: inline-grid;
  place-items: center;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: var(--surface-muted);
  color: var(--text);
  font-size: 0.82rem;
  font-weight: 600;
}

@media (max-width: 980px) {
  .trust-bar {
    grid-template-columns: repeat(2, 1fr);
  }
  .home-hero,
  .home-feature-grid,
  .home-split,
  .home-showcase,
  .home-cta-band,
  .hero-grid,
  .dashboard,
  .content-grid,
  .mini-stats,
  .security-grid,
  .account-shell .account-hero,
  .account-shell .account-grid,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .topbar {
    grid-template-columns: 1fr auto;
    gap: 12px;
  }

  .topbar-primary {
    grid-column: 1;
    display: flex;
    flex-direction: column;
    align-items: start;
    gap: 12px;
  }

  .topbar-primary .topbar-nav {
    width: 100%;
    justify-content: space-between;
  }

  .topbar-actions {
    grid-column: 2;
    grid-row: 1;
    justify-content: flex-end;
    align-self: start;
  }

  .home-hero-copy h1 {
    max-width: 12ch;
  }

  .hero-copy {
    padding-right: 0;
  }

  .transaction-table-head {
    display: none;
  }

  .transaction-item {
    grid-template-columns: auto 1fr;
    gap: 10px;
  }

  .transaction-status,
  .transaction-amount {
    grid-column: 2;
    text-align: left;
  }
}

@media (max-width: 780px) {
  .dashboard-shell {
    width: min(100%, calc(100% - 20px));
  }

  .dashboard-shell .topbar {
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: start;
    gap: 8px 10px;
    padding: 12px 10px 10px;
  }

  .dashboard-shell .topbar-primary {
    display: block;
    min-width: 0;
  }

  .dashboard-shell .brand {
    gap: 13px;
  }

  .dashboard-shell .brand p {
    font-size: 1.4rem;
    line-height: 1;
  }

  .dashboard-shell .brand span {
    font-size: 0.7rem;
    letter-spacing: 0.04em;
  }

  .dashboard-shell .brand-mark {
    width: 54px;
    height: 54px;
  }

  .dashboard-shell .topbar-nav {
    justify-content: flex-start;
    flex-wrap: nowrap;
    gap: 6px;
    margin-top: 10px;
    overflow-x: auto;
    overflow-y: hidden;
    padding-bottom: 2px;
    scrollbar-width: none;
  }

  .dashboard-shell .topbar-nav::-webkit-scrollbar {
    display: none;
  }

  .dashboard-shell .topbar-nav .text-link {
    flex: 0 0 auto;
    padding: 7px 11px;
    background: var(--surface-alt);
    border: 1px solid var(--line);
    font-size: 0.78rem;
  }

  .dashboard-shell .topbar-actions {
    gap: 0;
    justify-content: flex-end;
  }

  .dashboard-shell .topbar-actions .text-link {
    display: none;
  }

  .dashboard-shell .avatar-pill {
    width: 28px;
    height: 28px;
    font-size: 0.74rem;
  }

  .dashboard-shell .welcome-banner {
    padding: 14px 2px 8px;
  }

  .dashboard-shell .welcome-banner p {
    font-size: 1.12rem;
    letter-spacing: -0.04em;
  }

  .dashboard-shell .hero {
    margin-top: 8px;
  }

  .dashboard-shell .hero-grid {
    padding: 0;
    gap: 12px;
  }

  .dashboard-shell .hero-copy {
    padding: 16px 14px;
    border: 1px solid var(--line);
    border-radius: 20px;
    background:
      radial-gradient(circle at top left, rgba(247, 147, 26, 0.14), transparent 34%),
      linear-gradient(180deg, #ffffff 0%, #f7f9fc 100%);
    box-shadow: 0 18px 48px rgba(15, 23, 42, 0.08);
    min-height: 240px;
  }

  .dashboard-shell .section-kicker {
    font-size: 0.72rem;
  }

  .dashboard-shell #hero-balance {
    font-size: clamp(2.55rem, 14vw, 3.45rem);
    line-height: 0.92;
    letter-spacing: -0.05em;
  }

  .dashboard-shell #hero-balance span {
    display: block;
    margin-top: 10px;
    font-size: 0.26em;
    letter-spacing: 0.08em;
  }

  .dashboard-shell .hero-usd {
    margin-top: 8px;
    font-size: 1.04rem;
    font-weight: 600;
    letter-spacing: 0.02em;
  }

  .dashboard-shell .hero-support {
    margin-top: 10px;
    font-size: 0.8rem;
    line-height: 1.5;
  }

  .dashboard-shell .hero-card {
    padding: 14px;
    border-left: none;
    border-radius: 20px;
    border: 1px solid var(--line);
    background: var(--surface-alt);
    box-shadow: 0 18px 48px rgba(15, 23, 42, 0.08);
  }

  .dashboard-shell .hero-card-header {
    align-items: center;
  }

  .dashboard-shell .hero-card-note {
    margin-top: 2px;
    font-size: 0.76rem;
  }

  .dashboard-shell .mini-stats {
    gap: 10px;
  }

  .dashboard-shell .mini-stats article {
    padding: 12px;
    border-radius: 12px;
  }

  .dashboard-shell .hero-card-actions {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .dashboard-shell .hero-alert {
    flex-direction: column;
  }

  .dashboard-shell .hero-card-actions .button {
    width: 100%;
  }

  .dashboard-shell .dashboard {
    gap: 14px;
  }

  .dashboard-shell .panel,
  .dashboard-shell .security-panel {
    padding: 14px;
    border-radius: 20px;
  }

  .dashboard-shell .transfer-tabs {
    width: 100%;
  }

  .dashboard-shell .transfer-tab {
    flex: 1 1 0;
  }

  .dashboard-shell .transfer-receive-grid {
    grid-template-columns: 1fr;
  }

  .dashboard-shell .panel h3,
  .dashboard-shell .security-panel h3 {
    font-size: 1.06rem;
  }

  .dashboard-shell .panel-heading {
    flex-wrap: wrap;
    align-items: flex-start;
    margin-bottom: 10px;
  }

  .dashboard-shell .panel-heading .section-note {
    width: 100%;
    margin-top: 2px;
    font-size: 0.76rem;
  }

  .dashboard-shell input {
    min-height: 48px;
    border-radius: 14px;
  }

  .dashboard-shell select {
    min-height: 48px;
    border-radius: 14px;
  }

  .dashboard-shell .conversion-box,
  .dashboard-shell .fee-box,
  .dashboard-shell .receive-box {
    padding: 12px 13px;
    border-radius: 14px;
  }

  .dashboard-shell .receive-box .mono {
    font-size: 0.76rem;
  }

  .dashboard-shell .qr-card {
    min-height: 188px;
    padding: 14px;
  }

  .dashboard-shell .qr-grid {
    width: 154px;
    min-height: 154px;
    padding: 6px;
  }

  .dashboard-shell .price-card {
    gap: 12px;
  }

  .dashboard-shell .price-value {
    font-size: 1.76rem;
    line-height: 1;
    letter-spacing: -0.05em;
  }

  .dashboard-shell .price-delta {
    margin-top: 8px;
    font-size: 0.82rem;
  }

  .dashboard-shell .price-chart-shell {
    min-height: 190px;
  }

  .dashboard-shell .price-scale {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .dashboard-shell .activity-toolbar,
  .dashboard-shell .search-form {
    align-items: stretch;
  }

  .dashboard-shell .search-form,
  .dashboard-shell .export-menu {
    width: 100%;
  }

  .dashboard-shell .transaction-item {
    grid-template-columns: 42px minmax(0, 1fr);
    gap: 10px;
    padding: 12px 10px;
  }

  .dashboard-shell .transaction-badge {
    width: 32px;
    height: 32px;
    font-size: 0.68rem;
  }

  .dashboard-shell .transaction-main p {
    font-size: 0.84rem;
  }

  .dashboard-shell .transaction-status,
  .dashboard-shell .transaction-amount {
    gap: 4px;
  }

  .dashboard-shell .transaction-amount strong {
    font-size: 0.84rem;
  }

  .dashboard-shell .transaction-empty {
    padding: 18px;
  }

  .dashboard-shell .transaction-empty-actions {
    width: 100%;
  }

  .dashboard-shell .transaction-empty-actions .button {
    flex: 1 1 0;
  }

  .dashboard-shell .flow-card {
    display: grid;
    gap: 14px;
  }

  .dashboard-shell .flow-ratio-meta {
    grid-template-columns: 1fr;
  }

  .dashboard-shell .flow-metrics {
    display: grid;
    gap: 12px;
  }

  .dashboard-shell .flow-metric {
    padding-top: 10px;
    border-top: 1px solid var(--line);
  }

  .dashboard-shell .export-menu-panel {
    right: auto;
    left: 0;
  }

  .dashboard-shell .security-grid article {
    min-height: 0;
    padding: 12px;
    border-radius: 14px;
  }

  .dashboard-shell .site-footer {
    margin-top: 12px;
    padding-top: 10px;
  }

  .dashboard-shell .footer-grid {
    display: none;
  }

  .dashboard-shell .footer-bar {
    justify-content: flex-start;
    margin-top: 0;
    padding-top: 0;
    border-top: none;
  }
}

@media (max-width: 520px) {
  .dashboard-shell .topbar {
    padding: 10px 8px 9px;
  }

  .dashboard-shell .brand p {
    font-size: 1.3rem;
  }

  .dashboard-shell .brand span {
    font-size: 0.66rem;
  }

  .dashboard-shell .brand-mark {
    width: 52px;
    height: 52px;
  }

  .dashboard-shell .topbar-nav .text-link {
    padding: 7px 10px;
    font-size: 0.76rem;
  }

  .dashboard-shell #hero-balance {
    font-size: clamp(2.7rem, 15vw, 3.5rem);
  }

  .dashboard-shell .section-kicker {
    font-size: 0.78rem;
  }

  .dashboard-shell .hero-usd {
    font-size: 1.08rem;
  }

  .dashboard-shell .hero-card-header {
    flex-direction: column;
    align-items: stretch;
  }

  .dashboard-shell .hero-copy {
    min-height: 228px;
  }

  .dashboard-shell .hero-card-header .compact-button {
    width: 100%;
  }

  .dashboard-shell .hero-card-actions {
    grid-template-columns: 1fr;
  }

  .dashboard-shell .amount-row input {
    padding-right: 56px;
  }

  .dashboard-shell .content-grid,
  .dashboard-shell .security-grid,
  .dashboard-shell .footer-grid,
  .dashboard-shell .mini-stats {
    grid-template-columns: 1fr;
  }

  .account-shell .account-hero,
  .account-shell .account-grid {
    grid-template-columns: 1fr;
  }

  .account-shell .account-score-card strong {
    font-size: 2.1rem;
  }

  .dashboard-shell .security-card-spacer {
    margin-top: 12px !important;
  }

  .dashboard-shell .price-scale {
    grid-template-columns: 1fr;
  }

  .dashboard-shell .qr-grid {
    width: 146px;
    min-height: 146px;
  }
}

/* ── DASHBOARD REDESIGN ── */
.dash-shell {
  --dash-bg: #f7f8fa;
  --dash-surface: #ffffff;
  --dash-border: #e8eaed;
  --dash-border-light: #f0f2f5;
  --dash-text-primary: #0f1117;
  --dash-text-secondary: #6b7280;
  --dash-text-tertiary: #9ca3af;
  --dash-accent: #2563eb;
  --dash-accent-light: #eff6ff;
  --dash-orange: #f59e0b;
  --dash-orange-light: #fffbeb;
  --dash-green: #10b981;
  --dash-green-light: #ecfdf5;
  --dash-red: #ef4444;
  --dash-red-light: #fef2f2;
  --dash-balance-bg: linear-gradient(135deg, #fff8f0 0%, #fef3e2 50%, #fde8c8 100%);
  --dash-radius: 12px;
  --dash-radius-sm: 8px;
  --dash-shadow: 0 1px 3px rgba(0,0,0,0.06), 0 1px 2px rgba(0,0,0,0.04);
  --dash-shadow-md: 0 4px 12px rgba(0,0,0,0.08);
}
.dash-shell, .dash-shell * { box-sizing: border-box; }
.dash-shell { background: var(--dash-bg); color: var(--dash-text-primary); font-size: 14px; min-height: 100vh; }

/* Page */
.dash-page { max-width: 1160px; margin: 0 auto; padding: 32px 24px 64px; }
.dash-page-header { margin-bottom: 24px; }
.dash-page-header h1 { font-size: 22px; font-weight: 700; margin: 0; }
.dash-page-header p { font-size: 13px; color: var(--dash-text-secondary); margin-top: 2px; }
.dash-restriction-alert { margin: 0 0 20px; padding: 16px 18px; border: 0; border-radius: 0; background: #dc2626; color: #fff; font-size: 14px; line-height: 1.45; box-shadow: var(--dash-shadow); }
.dash-restriction-alert strong { font-weight: 800; color: #fff; }

/* Cards */
.dash-card { background: var(--dash-surface); border: 1px solid var(--dash-border); border-radius: var(--dash-radius); box-shadow: var(--dash-shadow); }

/* Balance Card */
.dash-balance-card { display: grid; grid-template-columns: 1fr 1fr; min-height: 200px; margin-bottom: 20px; overflow: hidden; }
.dash-balance-left { background: var(--dash-balance-bg); padding: 28px 32px; display: flex; flex-direction: column; justify-content: center; position: relative; overflow: hidden; }
.dash-balance-left::before { content: '₿'; position: absolute; right: -10px; bottom: -20px; font-size: 120px; color: rgba(245,158,11,0.08); font-weight: 700; line-height: 1; pointer-events: none; }
.dash-balance-label { font-size: 11px; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; color: var(--dash-orange); margin-bottom: 8px; }
.dash-balance-btc { font-size: 40px; font-weight: 700; line-height: 1.1; letter-spacing: -0.5px; }
.dash-balance-btc span { font-size: 20px; font-weight: 400; color: var(--dash-text-secondary); margin-left: 6px; }
.dash-balance-usd { font-size: 15px; color: var(--dash-text-secondary); margin-top: 6px; }
.dash-balance-right { padding: 24px 28px; display: flex; flex-direction: column; gap: 16px; border-left: 1px solid var(--dash-border-light); }
.dash-balance-right-header { display: flex; align-items: center; justify-content: space-between; }
.dash-balance-right-title { font-weight: 600; font-size: 13px; }
.dash-balance-right-updated { font-size: 11px; color: var(--dash-text-tertiary); margin-top: 2px; }
.dash-hide-btn { font-size: 12px; color: var(--dash-text-secondary); border: 1px solid var(--dash-border); background: var(--dash-surface); padding: 4px 12px; border-radius: 20px; cursor: pointer; font-family: inherit; transition: all 0.15s; }
.dash-hide-btn:hover { background: var(--dash-bg); }


/* Pending alert */
.dash-pending-alert { background: #fffbeb; border: 1px solid #fde68a; border-radius: var(--dash-radius-sm); padding: 10px 14px; display: flex; align-items: flex-start; gap: 10px; }
.dash-pending-alert-badge { background: var(--dash-orange); color: white; font-size: 10px; font-weight: 700; padding: 2px 7px; border-radius: 20px; flex-shrink: 0; margin-top: 1px; }
.dash-pending-alert-text { font-size: 12.5px; color: #92400e; line-height: 1.4; }
.dash-pending-alert-text strong { display: block; font-weight: 600; color: #78350f; }

/* Stats grid */
.dash-stats { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 1px; background: var(--dash-border-light); border: 1px solid var(--dash-border-light); border-radius: var(--dash-radius-sm); overflow: hidden; }
.dash-stat-item { background: var(--dash-surface); padding: 12px 14px; }
.dash-stat-label { font-size: 11px; color: var(--dash-text-tertiary); margin-bottom: 4px; }
.dash-stat-value { font-size: 13px; font-weight: 500; }
.dash-stat-access { font-size: 12.5px; font-weight: 600; color: var(--dash-green); }
.dash-stat-access-sub { font-size: 11px; color: var(--dash-text-tertiary); margin-top: 2px; line-height: 1.3; }
.dash-stat-manage { font-size: 11px; color: var(--dash-accent); text-decoration: none; }
.dash-stat-manage:hover { text-decoration: underline; }

/* Balance actions */
.dash-balance-actions { display: flex; gap: 8px; }

/* Buttons */
.dash-btn { padding: 8px 16px; border-radius: var(--dash-radius-sm); font-size: 13px; font-weight: 600; cursor: pointer; border: none; font-family: inherit; transition: all 0.15s; text-decoration: none; display: inline-flex; align-items: center; gap: 6px; }
.dash-btn-primary { background: var(--dash-accent); color: white; }
.dash-btn-primary:hover { background: #1d4ed8; }
.dash-btn-secondary { background: var(--dash-surface); color: var(--dash-text-primary); border: 1px solid var(--dash-border); }
.dash-btn-secondary:hover { background: var(--dash-bg); }
.dash-btn-sm { padding: 6px 12px; font-size: 12px; }
.dash-btn-full { width: 100%; justify-content: center; padding: 12px; font-size: 14px; }

/* Main grid */
.dash-main-grid { display: grid; grid-template-columns: 1fr 380px; gap: 20px; margin-bottom: 20px; }

/* Transfer Card */
.dash-transfer-card { overflow: hidden; }
.dash-transfer-card-muted .dash-transfer-body { opacity: .48; filter: grayscale(.25); }
.dash-transfer-card-muted .dash-tab-panel.active { pointer-events: auto; }
.dash-transfer-card-muted input:disabled,.dash-transfer-card-muted button:disabled { cursor: not-allowed; }
.dash-transfer-disabled-note { margin-top: 12px; padding: 10px 12px; border: 0; border-radius: 0; background: #dc2626; color: #fff; font-size: 12.5px; font-weight: 700; line-height: 1.4; }
.dash-transfer-header { padding: 20px 24px 0; border-bottom: 1px solid var(--dash-border-light); }
.dash-transfer-eyebrow { font-size: 11px; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; color: var(--dash-accent); margin-bottom: 4px; }
.dash-transfer-title { font-size: 16px; font-weight: 700; margin-bottom: 14px; margin-top: 0; }
.dash-transfer-tabs { display: flex; gap: 0; margin: 0; }
.dash-tab { padding: 8px 18px; font-size: 13px; font-weight: 500; cursor: pointer; border: none; background: none; font-family: inherit; color: var(--dash-text-secondary); border-bottom: 2px solid transparent; transition: all 0.15s; margin-bottom: -1px; }
.dash-tab.active { color: var(--dash-accent); border-bottom-color: var(--dash-accent); font-weight: 600; }
.dash-tab:hover:not(.active) { color: var(--dash-text-primary); }
.dash-transfer-body { padding: 24px; }
.dash-tab-panel { display: none; }
.dash-tab-panel.active { display: block; }

/* Form elements */
.dash-form-group { margin-bottom: 16px; }
.dash-form-label { font-size: 12px; font-weight: 500; color: var(--dash-text-secondary); margin-bottom: 6px; display: block; }
.dash-form-input { width: 100%; padding: 10px 14px; border: 1px solid var(--dash-border); border-radius: var(--dash-radius-sm); font-size: 13.5px; color: var(--dash-text-primary); background: var(--dash-surface); outline: none; transition: border-color 0.15s; }
.dash-form-input:focus { border-color: var(--dash-accent); box-shadow: 0 0 0 3px rgba(37,99,235,0.08); }
.dash-form-input::placeholder { color: var(--dash-text-tertiary); }
.dash-input-suffix-wrap { position: relative; }
.dash-input-suffix { position: absolute; right: 12px; top: 50%; transform: translateY(-50%); font-size: 12px; font-weight: 600; color: var(--dash-text-secondary); pointer-events: none; }

/* Fee rows */
.dash-fee-rows { margin-bottom: 20px; }
.dash-fee-row { display: flex; justify-content: space-between; align-items: center; padding: 9px 0; border-bottom: 1px solid var(--dash-border-light); font-size: 13px; }
.dash-fee-row:last-child { border-bottom: none; }
.dash-fee-row-label { color: var(--dash-text-secondary); }
.dash-fee-row-value { font-weight: 500; }
.dash-fee-row-value small { display: block; text-align: right; font-size: 11px; color: var(--dash-text-tertiary); margin-top: 1px; }

/* Receive panel */
.dash-receive-panel { text-align: center; padding: 8px 0; }
.dash-qr-wrap { display: inline-block; background: var(--dash-bg); border: 1px solid var(--dash-border); border-radius: var(--dash-radius); padding: 20px; margin-bottom: 16px; }
.dash-qr-placeholder { width: 160px; height: 160px; background: white; border: 1px solid var(--dash-border); border-radius: 8px; display: flex; align-items: center; justify-content: center; }
.dash-qr-placeholder img, .dash-qr-placeholder canvas { width: 100%; height: auto; display: block; }
.dash-address-display { background: var(--dash-bg); border: 1px solid var(--dash-border); border-radius: var(--dash-radius-sm); padding: 10px 14px; font-size: 11.5px; color: var(--dash-text-secondary); word-break: break-all; text-align: left; margin-bottom: 12px; line-height: 1.5; }

/* Buy panel */
.dash-buy-options { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-bottom: 20px; }
.dash-amount-chip { padding: 10px; border: 1px solid var(--dash-border); border-radius: var(--dash-radius-sm); text-align: center; cursor: pointer; transition: all 0.15s; background: var(--dash-surface); }
.dash-amount-chip:hover, .dash-amount-chip.selected { border-color: var(--dash-accent); background: var(--dash-accent-light); }
.dash-amount-chip-usd { font-size: 15px; font-weight: 700; }
.dash-amount-chip-btc { font-size: 11px; color: var(--dash-text-secondary); }

/* Market Card */
.dash-market-card { overflow: hidden; }
.dash-market-header { padding: 20px 24px 16px; border-bottom: 1px solid var(--dash-border-light); display: flex; align-items: flex-start; justify-content: space-between; }
.dash-market-eyebrow { font-size: 11px; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; color: var(--dash-orange); margin-bottom: 4px; }
.dash-market-price { font-size: 28px; font-weight: 700; letter-spacing: -1px; }
.dash-market-change { font-size: 13px; color: var(--dash-red); margin-top: 4px; font-weight: 500; }
.dash-market-updated { font-size: 11px; color: var(--dash-text-tertiary); margin-top: 4px; }

.dash-time-tabs { display: flex; gap: 2px; }
.dash-time-tab { padding: 4px 9px; font-size: 11px; font-weight: 600; border-radius: 5px; cursor: pointer; border: none; background: none; color: var(--dash-text-tertiary); font-family: inherit; transition: all 0.15s; }
.dash-time-tab.active { background: var(--dash-accent); color: white; }
.dash-time-tab:hover:not(.active) { background: var(--dash-bg); color: var(--dash-text-primary); }

.dash-chart-area { padding: 0 24px 16px; }
.dash-chart-svg-wrap { height: 120px; margin-bottom: 12px; }
.dash-chart-svg { width: 100%; height: 100%; display: block; }

.dash-chart-stats { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 1px; background: var(--dash-border-light); border: 1px solid var(--dash-border-light); border-radius: var(--dash-radius-sm); overflow: hidden; }
.dash-chart-stat { background: var(--dash-surface); padding: 10px 12px; text-align: center; }
.dash-chart-stat-label { font-size: 10px; color: var(--dash-text-tertiary); margin-bottom: 3px; text-transform: uppercase; letter-spacing: 0.05em; }
.dash-chart-stat-val { font-size: 12.5px; font-weight: 600; }
.dash-chart-stat-val.low { color: var(--dash-red); }
.dash-chart-stat-val.current { color: var(--dash-text-primary); }
.dash-chart-stat-val.high { color: var(--dash-green); }

/* Flow section */
.dash-flow-section { padding: 16px 24px 20px; border-top: 1px solid var(--dash-border-light); }
.dash-flow-eyebrow { font-size: 11px; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; color: var(--dash-text-tertiary); margin-bottom: 4px; }
.dash-flow-title { font-size: 13px; font-weight: 600; margin-bottom: 12px; margin-top: 0; }
.dash-flow-bar-wrap { margin-bottom: 12px; }
.dash-flow-bar { height: 8px; border-radius: 4px; background: var(--dash-border-light); overflow: hidden; margin-bottom: 8px; }
.dash-flow-bar-fill { height: 100%; border-radius: 4px; background: linear-gradient(90deg, var(--dash-green) 0%, var(--dash-green) 80%, var(--dash-orange) 80%, var(--dash-orange) 100%); }
.dash-flow-bar-labels { display: flex; justify-content: space-between; font-size: 11px; color: var(--dash-text-secondary); }
.dash-flow-bar-labels span:first-child { color: var(--dash-green); font-weight: 600; }
.dash-flow-bar-labels span:last-child { color: var(--dash-orange); font-weight: 600; }
.dash-flow-detail { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.dash-flow-item-label { font-size: 11px; color: var(--dash-text-tertiary); margin-bottom: 2px; }
.dash-flow-item-btc { font-size: 13px; font-weight: 600; }
.dash-flow-item-usd { font-size: 12px; color: var(--dash-text-secondary); }

/* Bottom grid */
.dash-bottom-grid { display: grid; grid-template-columns: 1fr 380px; gap: 20px; margin-bottom: 20px; }

/* Activity */
.dash-activity-header { padding: 20px 24px 14px; border-bottom: 1px solid var(--dash-border-light); display: flex; align-items: center; justify-content: space-between; }
.dash-activity-eyebrow { font-size: 11px; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; color: var(--dash-accent); margin-bottom: 3px; }
.dash-activity-title { font-size: 15px; font-weight: 700; margin: 0; }
.dash-activity-controls { display: flex; align-items: center; gap: 8px; }
.dash-search-wrap { position: relative; }
.dash-search-input { padding: 7px 12px 7px 32px; border: 1px solid var(--dash-border); border-radius: var(--dash-radius-sm); font-size: 12.5px; font-family: inherit; outline: none; width: 200px; background: var(--dash-bg); color: var(--dash-text-primary); transition: all 0.15s; }
.dash-search-input:focus { border-color: var(--dash-accent); background: var(--dash-surface); width: 240px; }
.dash-search-icon { position: absolute; left: 10px; top: 50%; transform: translateY(-50%); color: var(--dash-text-tertiary); pointer-events: none; }
.dash-export-btn { padding: 7px 12px; border: 1px solid var(--dash-border); background: var(--dash-surface); border-radius: var(--dash-radius-sm); font-size: 12.5px; font-weight: 500; cursor: pointer; font-family: inherit; color: var(--dash-text-secondary); display: flex; align-items: center; gap: 5px; transition: all 0.15s; position: relative; }
.dash-export-btn:hover { background: var(--dash-bg); color: var(--dash-text-primary); }
.dash-export-menu { display: none; position: absolute; right: 0; top: 36px; background: var(--dash-surface); border: 1px solid var(--dash-border); border-radius: var(--dash-radius-sm); box-shadow: var(--dash-shadow-md); z-index: 50; min-width: 140px; overflow: hidden; }
.dash-export-menu a { display: block; padding: 10px 14px; font-size: 13px; color: var(--dash-text-primary); text-decoration: none; }
.dash-export-menu a:hover { background: var(--dash-bg); }

/* Activity table */
.dash-activity-table { width: 100%; border-collapse: collapse; }
.dash-activity-thead th { padding: 10px 24px; font-size: 11px; font-weight: 600; color: var(--dash-text-tertiary); text-align: left; text-transform: uppercase; letter-spacing: 0.05em; background: var(--dash-bg); border-bottom: 1px solid var(--dash-border); }
.dash-activity-row { border-bottom: 1px solid var(--dash-border-light); transition: background 0.12s; }
.dash-activity-row:last-child { border-bottom: none; }
.dash-activity-row:hover { background: var(--dash-bg); }
.dash-activity-row td { padding: 14px 24px; vertical-align: middle; }

.dash-tx-icon { width: 34px; height: 34px; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 13px; font-weight: 700; color: white; flex-shrink: 0; }
.dash-tx-ref-cell { display: flex; align-items: center; gap: 12px; }
.dash-tx-name { font-size: 13.5px; font-weight: 600; }
.dash-tx-addr { font-size: 11px; color: var(--dash-text-tertiary); }

.dash-status-badge { display: inline-flex; align-items: center; gap: 5px; padding: 3px 9px; border-radius: 20px; font-size: 11.5px; font-weight: 600; }
.dash-status-badge::before { content: ''; width: 5px; height: 5px; border-radius: 50%; background: currentColor; }
.dash-status-confirmed { background: var(--dash-green-light); color: var(--dash-green); }
.dash-status-pending { background: var(--dash-orange-light); color: var(--dash-orange); }
.dash-status-other { background: #f3f4f6; color: var(--dash-text-tertiary); }

.dash-review-alerts { margin-bottom: 18px; }
.dash-review-alert-list { display: grid; gap: 1px; background: var(--dash-border-light); margin: 1px; border-radius: 0 0 calc(var(--dash-radius) - 1px) calc(var(--dash-radius) - 1px); overflow: hidden; }
.dash-review-alert { display: grid; grid-template-columns: auto 1fr; gap: 6px 12px; align-items: center; padding: 14px 18px; background: var(--dash-surface); color: inherit; text-decoration: none; }
.dash-review-alert:hover { background: var(--surface-alt); }
.dash-review-alert-main { font-size: 13px; font-weight: 600; }
.dash-review-alert-note { grid-column: 2; font-size: 12px; color: var(--dash-text-secondary); line-height: 1.4; }

.dash-tx-date { font-size: 11.5px; color: var(--dash-text-tertiary); margin-top: 3px; }
.dash-tx-amount { font-size: 13.5px; font-weight: 600; text-align: right; }
.dash-tx-amount.positive { color: var(--dash-green); }
.dash-tx-amount.negative { color: var(--dash-red); }
.dash-tx-usd { font-size: 11.5px; color: var(--dash-text-tertiary); text-align: right; margin-top: 2px; }

.dash-activity-footer { padding: 14px 24px; border-top: 1px solid var(--dash-border-light); display: flex; align-items: center; justify-content: space-between; }
.dash-activity-count { font-size: 12px; color: var(--dash-text-tertiary); }
.dash-view-all-link { font-size: 13px; font-weight: 600; color: var(--dash-accent); text-decoration: none; }
.dash-view-all-link:hover { text-decoration: underline; }

/* Ops card */
.dash-ops-header { padding: 20px 24px 14px; border-bottom: 1px solid var(--dash-border-light); }
.dash-ops-eyebrow { font-size: 11px; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; color: var(--dash-text-tertiary); margin-bottom: 3px; }
.dash-ops-title { font-size: 15px; font-weight: 700; margin: 0; }
.dash-ops-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1px; background: var(--dash-border-light); margin: 1px; border-radius: 0 0 calc(var(--dash-radius) - 1px) calc(var(--dash-radius) - 1px); overflow: hidden; }
.dash-ops-item { background: var(--dash-surface); padding: 16px 18px; }
.dash-ops-item-label { font-size: 11px; font-weight: 600; color: var(--dash-text-tertiary); text-transform: uppercase; letter-spacing: 0.05em; margin-bottom: 6px; }
.dash-ops-item-title { font-size: 13px; font-weight: 600; margin-bottom: 4px; }
.dash-ops-item-desc { font-size: 12px; color: var(--dash-text-secondary); line-height: 1.4; }

.dash-security-badge { display: inline-flex; align-items: center; gap: 4px; padding: 2px 8px; border-radius: 20px; font-size: 11px; font-weight: 600; margin-bottom: 4px; }
.dash-security-badge.warn { background: var(--dash-red-light); color: var(--dash-red); }
.dash-security-badge.ok { background: var(--dash-green-light); color: var(--dash-green); }

.dash-score-bar { height: 5px; background: var(--dash-border-light); border-radius: 3px; overflow: hidden; margin: 6px 0 4px; }
.dash-score-fill { height: 100%; border-radius: 3px; background: linear-gradient(90deg, var(--dash-orange), var(--dash-green)); }
.dash-score-label { font-size: 11px; color: var(--dash-text-secondary); }

/* Available strip */
.dash-available-strip { padding: 14px 24px; border-top: 1px solid var(--dash-border-light); display: flex; align-items: center; justify-content: space-between; }
.dash-available-label { font-size: 12px; color: var(--dash-text-secondary); }
.dash-available-btc { font-size: 14px; font-weight: 700; }
.dash-available-usd { font-size: 12px; color: var(--dash-text-secondary); }
.dash-available-strip a { font-size: 11px; color: var(--dash-accent); text-decoration: none; }
.dash-available-strip a:hover { text-decoration: underline; }
.dash-available-right { text-align: right; }

/* Dashboard Footer */
.dash-footer { background: var(--dash-surface); border-top: 1px solid var(--dash-border); margin-top: 40px; }
.dash-footer-inner { max-width: 1160px; margin: 0 auto; padding: 40px 24px 24px; }
.dash-footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr 1fr; gap: 40px; margin-bottom: 32px; }
.dash-footer-brand-name { font-weight: 700; font-size: 15px; margin-bottom: 8px; }
.dash-footer-brand-desc { font-size: 12.5px; color: var(--dash-text-secondary); line-height: 1.6; max-width: 240px; }
.dash-footer-col-title { font-size: 12px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.06em; color: var(--dash-text-tertiary); margin-bottom: 12px; }
.dash-footer-col a { display: block; font-size: 13px; color: var(--dash-text-secondary); text-decoration: none; margin-bottom: 8px; transition: color 0.15s; }
.dash-footer-col a:hover { color: var(--dash-accent); }
.dash-footer-bottom { border-top: 1px solid var(--dash-border-light); padding-top: 20px; display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 12px; }
.dash-footer-copy { font-size: 12px; color: var(--dash-text-tertiary); }
.dash-footer-legal { display: flex; gap: 20px; }
.dash-footer-legal a { font-size: 12px; color: var(--dash-text-tertiary); text-decoration: none; }
.dash-footer-legal a:hover { color: var(--dash-accent); }

/* Flash messages for dashboard */
.dash-flash { padding: 14px 16px; border-radius: var(--dash-radius-sm); margin-bottom: 16px; font-size: 13px; }
.dash-flash-success { background: var(--dash-green-light); color: var(--dash-green); }
.dash-flash-error { background: var(--dash-red-light); color: var(--dash-red); }

/* Responsive */
@media (max-width: 768px) {
  .dash-balance-card { grid-template-columns: 1fr; }
  .dash-balance-left { padding: 24px; }
  .dash-balance-btc { font-size: 26px; }
  .dash-balance-right { border-left: none; border-top: 1px solid var(--dash-border-light); }
  .dash-main-grid { grid-template-columns: 1fr; }
  .dash-bottom-grid { grid-template-columns: 1fr; }
  .dash-footer-grid { grid-template-columns: 1fr 1fr; gap: 24px; }
  .dash-activity-controls { flex-direction: column; align-items: flex-end; gap: 6px; }
  .dash-search-input { width: 160px; }
  .dash-ops-grid { grid-template-columns: 1fr; }
  .dash-stats { grid-template-columns: 1fr; }
  .dash-page { padding: 20px 16px 40px; }
  .dash-chart-stats { grid-template-columns: 1fr; }
}

@media (max-width: 640px) {
  .dash-activity-thead { display: none; }
  .dash-activity-table,
  .dash-activity-table tbody,
  .dash-activity-table tbody tr {
    display: block;
  }
  .dash-activity-row td {
    display: block;
    padding: 6px 16px;
  }
  .dash-activity-row td:first-child {
    padding-top: 14px;
  }
  .dash-activity-row td:last-child {
    padding-bottom: 14px;
  }
  .dash-activity-row td:nth-child(2) {
    display: flex;
    align-items: center;
    gap: 12px;
  }
  .dash-tx-amount,
  .dash-tx-usd {
    text-align: left;
  }
}

/* ── HOME REDESIGN ── */

.home-container { max-width: 1120px; margin: 0 auto; padding: 0 24px; }

/* Nav */
.site-nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 200;
  transition: all 0.3s;
}
.site-nav.scrolled {
  background: rgba(255,255,255,0.92);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--line);
}
.nav-inner {
  display: flex;
  align-items: center;
  height: 64px;
  gap: 40px;
}
.nav-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  flex-shrink: 0;
}
.nav-logo-mark {
  width: 36px; height: 36px;
  background: var(--blue);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
  color: white;
  font-size: 11px;
  font-weight: 700;
}
.nav-logo-text { font-weight: 700; font-size: 16px; color: var(--text); }
.nav-logo-sub { display: block; font-size: 10px; color: var(--muted); font-weight: 400; line-height: 1; }

.nav-logo-img { width:36px; height:36px; }
.nav-links { display: flex; gap: 4px; flex: 1; }
.nav-links a {
  text-decoration: none;
  color: var(--muted);
  font-size: 14px;
  font-weight: 500;
  padding: 6px 14px;
  border-radius: 7px;
  transition: all 0.15s;
}
.nav-links a:hover { color: var(--text); background: var(--surface-alt); }

.nav-cta { display: flex; align-items: center; gap: 10px; margin-left: auto; }

/* Hero */
.hero-section {
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding: 120px 0 80px;
  position: relative;
  overflow: hidden;
}
.hero-bg-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(22,82,240,0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(22,82,240,0.04) 1px, transparent 1px);
  background-size: 60px 60px;
  mask-image: radial-gradient(ellipse 80% 60% at 50% 40%, black 30%, transparent 80%);
  -webkit-mask-image: radial-gradient(ellipse 80% 60% at 50% 40%, black 30%, transparent 80%);
  pointer-events: none;
}
.hero-glow-1 {
  position: absolute;
  top: -10%;
  left: 50%;
  transform: translateX(-50%);
  width: 800px;
  height: 500px;
  background: radial-gradient(ellipse, rgba(22,82,240,0.10) 0%, transparent 70%);
  pointer-events: none;
}
.hero-glow-2 {
  position: absolute;
  bottom: 0;
  right: -10%;
  width: 500px;
  height: 400px;
  background: radial-gradient(ellipse, rgba(247,147,26,0.06) 0%, transparent 70%);
  pointer-events: none;
}
.hero-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
  position: relative;
  z-index: 2;
}
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 5px 14px 5px 5px;
  border-radius: 20px;
  background: rgba(22,82,240,0.08);
  border: 1px solid rgba(22,82,240,0.2);
  font-size: 12.5px;
  font-weight: 500;
  color: var(--blue);
  margin-bottom: 24px;
  width: fit-content;
}
.hero-badge-dot {
  width: 24px; height: 24px;
  background: var(--blue);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 11px;
  color: white;
}
.hero-title {
  font-size: 58px;
  font-weight: 700;
  line-height: 1.05;
  letter-spacing: -1.5px;
  margin-bottom: 20px;
  color: var(--text);
}
.hero-title em {
  font-style: normal;
  background: linear-gradient(135deg, var(--blue) 0%, #6366f1 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.hero-sub {
  font-size: 17px;
  color: var(--muted);
  line-height: 1.65;
  max-width: 460px;
  margin-bottom: 36px;
}
.hero-actions { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; margin-bottom: 48px; }
.hero-trust {
  display: flex;
  align-items: center;
  gap: 24px;
  padding-top: 24px;
  border-top: 1px solid var(--line);
}
.hero-trust-item { display: flex; align-items: center; gap: 8px; font-size: 13px; color: var(--muted); }
.hero-trust-icon { color: var(--green); font-size: 14px; }

/* Wallet Card */
.hero-widget { position: relative; }
.widget-glow {
  position: absolute;
  inset: -30px;
  background: radial-gradient(ellipse at center, rgba(22,82,240,0.12) 0%, transparent 70%);
  pointer-events: none;
}
.wallet-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 32px 64px rgba(15,23,42,0.10), 0 0 0 1px rgba(0,0,0,0.04);
  position: relative;
  z-index: 1;
}
.wcard-top {
  background: linear-gradient(135deg, #f0f4ff 0%, #f8fafc 100%);
  padding: 24px 24px 20px;
  border-bottom: 1px solid var(--line);
}
.wcard-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 20px;
}
.wcard-logo { display: flex; align-items: center; gap: 8px; font-size: 13px; font-weight: 600; color: var(--text); }
.wcard-logo-dot { width: 22px; height: 22px; background: var(--blue); border-radius: 6px; display: flex; align-items: center; justify-content: center; color: white; font-size: 10px; font-weight: 700; }
.wcard-status { display: flex; align-items: center; gap: 5px; font-size: 11px; color: var(--green); font-weight: 600; }
.wcard-status::before { content: ''; width: 6px; height: 6px; border-radius: 50%; background: var(--green); }
.wcard-label { font-size: 11px; color: var(--muted); letter-spacing: 0.06em; text-transform: uppercase; margin-bottom: 6px; }
.wcard-balance-btc {
  font-size: 32px;
  font-weight: 500;
  color: var(--text);
  letter-spacing: -1px;
  line-height: 1;
}
.wcard-balance-btc span { font-size: 16px; color: var(--muted); margin-left: 4px; font-weight: 400; }
.wcard-balance-usd { font-size: 14px; color: var(--muted); margin-top: 5px; }
.wcard-body { padding: 20px 24px; }

.price-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: var(--surface-alt);
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 12px 16px;
  margin-bottom: 16px;
}
.price-label { font-size: 12px; color: var(--muted); }
.price-val { font-size: 15px; font-weight: 600; color: var(--text); }
.price-change { font-size: 11.5px; font-weight: 600; }
.price-change.down { color: var(--red); }
.price-change.up { color: var(--green); }

.sparkline-wrap { height: 40px; margin-bottom: 16px; }
.sparkline-wrap svg { width: 100%; height: 100%; }

.wcard-actions { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 8px; }
.wcard-action {
  background: rgba(22,82,240,0.06);
  border: 1px solid rgba(22,82,240,0.15);
  border-radius: 9px;
  padding: 10px 8px;
  text-align: center;
  cursor: pointer;
  transition: all 0.15s;
  font-size: 12px;
  color: var(--blue);
  font-weight: 600;
}
.wcard-action:hover { background: rgba(22,82,240,0.1); border-color: var(--blue); }
.wcard-action-icon { font-size: 16px; display: block; margin-bottom: 4px; }

.float-notif {
  position: absolute;
  bottom: -20px;
  left: -20px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 12px 16px;
  box-shadow: 0 16px 40px rgba(15,23,42,0.10);
  display: flex;
  align-items: center;
  gap: 12px;
  min-width: 240px;
}
.float-notif-icon {
  width: 36px; height: 36px;
  background: rgba(15,138,85,0.10);
  border: 1px solid rgba(15,138,85,0.2);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--green);
  font-size: 16px;
  flex-shrink: 0;
}
.float-notif-label { font-size: 11px; color: var(--muted); }
.float-notif-val { font-size: 13px; font-weight: 700; color: var(--text); }

.float-shield {
  position: absolute;
  top: -16px;
  right: -16px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 10px 14px;
  box-shadow: 0 16px 40px rgba(15,23,42,0.10);
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  font-weight: 600;
  color: var(--text);
}

/* Trust Strip */
.trust-strip-home {
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  padding: 20px 0;
}
.trust-strip-inner {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 48px;
  flex-wrap: wrap;
}
.trust-stat { text-align: center; }
.trust-stat-num {
  font-size: 22px;
  font-weight: 700;
  color: var(--text);
  display: block;
}
.trust-stat-label { font-size: 12px; color: var(--muted); }
.trust-divider { width: 1px; height: 36px; background: var(--line); flex-shrink: 0; }

/* Section Shared */
.home-section { padding: 100px 0; }
.section-intro { text-align: center; max-width: 580px; margin: 0 auto 64px; }
.section-h2 {
  font-size: 42px;
  font-weight: 700;
  letter-spacing: -1px;
  line-height: 1.1;
  color: var(--text);
  margin-bottom: 16px;
}
.section-sub { font-size: 16px; color: var(--muted); line-height: 1.65; }

.eyebrow-ref {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--blue);
  margin-bottom: 16px;
}
.eyebrow-ref::before {
  content: '';
  display: block;
  width: 20px;
  height: 1.5px;
  background: var(--blue);
}

/* Features */
.features-section { background: var(--surface-alt); }
.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--line);
  border-radius: 14px;
  overflow: hidden;
  border: 1px solid var(--line);
}
.feature-card {
  background: var(--surface);
  padding: 36px 32px;
  transition: background 0.2s;
  position: relative;
  overflow: hidden;
}
.feature-card:hover { background: #f5f7fb; }
.feature-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 2px;
  background: var(--blue);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.3s;
}
.feature-card:hover::before { transform: scaleX(1); }
.feature-icon-box {
  width: 48px; height: 48px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 18px;
  border: 1px solid;
}
.feature-icon-box i,
.feature-icon-box svg {
  width: 22px;
  height: 22px;
}
.feature-icon-blue { background: rgba(22,82,240,0.08); border-color: rgba(22,82,240,0.2); }
.feature-icon-amber { background: rgba(247,147,26,0.08); border-color: rgba(247,147,26,0.2); }
.feature-icon-green { background: rgba(15,138,85,0.08); border-color: rgba(15,138,85,0.2); }
.feature-title { font-size: 17px; font-weight: 600; margin-bottom: 10px; color: var(--text); }
.feature-desc { font-size: 14px; color: var(--muted); line-height: 1.65; }

/* How It Works */
.how-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
  position: relative;
}
.how-grid::before {
  content: '';
  position: absolute;
  top: 32px;
  left: calc(16.666% + 16px);
  right: calc(16.666% + 16px);
  height: 1px;
  background: linear-gradient(90deg, var(--line) 0%, var(--blue) 50%, var(--line) 100%);
}
.how-step { text-align: center; }
.how-num {
  width: 64px; height: 64px;
  border-radius: 50%;
  background: var(--surface);
  border: 2px solid var(--line);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  font-weight: 600;
  color: var(--blue);
  margin: 0 auto 20px;
  position: relative;
  z-index: 1;
}
.how-num.active {
  background: var(--blue);
  border-color: var(--blue);
  color: white;
  box-shadow: 0 0 24px rgba(22,82,240,0.3);
}
.how-title { font-size: 17px; font-weight: 600; margin-bottom: 10px; }
.how-desc { font-size: 14px; color: var(--muted); line-height: 1.65; }

/* Security */
.security-section { background: var(--surface-alt); overflow: hidden; }
.security-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}
.sec-panel {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 16px;
  overflow: hidden;
}
.sec-panel-header {
  background: var(--surface-alt);
  padding: 14px 20px;
  border-bottom: 1px solid var(--line);
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  font-weight: 600;
  color: var(--muted);
}
.sec-dots { display: flex; gap: 5px; }
.sec-dot { width: 10px; height: 10px; border-radius: 50%; }
.sec-dot-r { background: #ef4444; }
.sec-dot-y { background: #f59e0b; }
.sec-dot-g { background: #10b981; }
.sec-panel-body { padding: 20px; }

.sec-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 16px;
  border-radius: 9px;
  margin-bottom: 8px;
  transition: background 0.15s;
}
.sec-row:last-child { margin-bottom: 0; }
.sec-row:hover { background: var(--surface-alt); }
.sec-row-left { display: flex; align-items: center; gap: 12px; }
.sec-row-icon { font-size: 16px; }
.sec-row-icon svg { width: 16px; height: 16px; vertical-align: middle; }
.sec-row-label { font-size: 13px; font-weight: 500; }
.sec-row-sub { font-size: 11.5px; color: var(--muted); }
.sec-badge {
  display: flex;
  align-items: center;
  gap: 5px;
  font-size: 11.5px;
  font-weight: 600;
  padding: 3px 10px;
  border-radius: 20px;
}
.sec-badge-on { background: rgba(15,138,85,0.10); color: var(--green); border: 1px solid rgba(15,138,85,0.2); }
.sec-badge-on::before { content: ''; width: 5px; height: 5px; border-radius: 50%; background: currentColor; }
.sec-badge-warn { background: rgba(247,147,26,0.10); color: var(--accent); border: 1px solid rgba(247,147,26,0.2); }

.score-ring { position: absolute; bottom: -16px; right: -16px; }
.score-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 16px 20px;
  text-align: center;
  box-shadow: 0 16px 40px rgba(15,23,42,0.08);
}
.score-num { font-size: 28px; font-weight: 700; color: var(--green); }
.score-label { font-size: 11px; color: var(--muted); }
.score-bar { width: 80px; height: 4px; background: var(--line); border-radius: 2px; margin: 6px auto 0; overflow: hidden; }
.score-fill { width: 75%; height: 100%; background: linear-gradient(90deg, var(--accent), var(--green)); border-radius: 2px; }

.security-list { list-style: none; display: flex; flex-direction: column; gap: 16px; }
.security-list li {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  font-size: 15px;
  color: var(--muted);
  line-height: 1.5;
}
.sec-check {
  width: 22px; height: 22px;
  background: rgba(22,82,240,0.08);
  border: 1px solid rgba(22,82,240,0.2);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  margin-top: 1px;
  color: var(--blue);
}
.sec-check svg { width: 12px; height: 12px; }

/* Testimonials */
.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.testi-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 28px;
  transition: border-color 0.2s, transform 0.2s;
}
.testi-card:hover { border-color: var(--line-strong); transform: translateY(-3px); }
.testi-stars { color: var(--accent); font-size: 13px; letter-spacing: 2px; margin-bottom: 14px; }
.testi-text { font-size: 14.5px; color: var(--muted); line-height: 1.65; margin-bottom: 20px; font-style: italic; }
.testi-author { display: flex; align-items: center; gap: 10px; }
.testi-avatar {
  width: 38px; height: 38px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  font-weight: 700;
  color: white;
  flex-shrink: 0;
}
.testi-name { font-size: 13.5px; font-weight: 600; color: var(--text); }
.testi-handle { font-size: 12px; color: var(--muted); }

/* FAQ */
.faq-section { background: var(--surface-alt); }
.faq-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; max-width: 880px; margin: 0 auto; }
.faq-item {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 24px 28px;
  transition: border-color 0.15s;
}
.faq-item:hover { border-color: var(--line-strong); }
.faq-q { font-size: 15px; font-weight: 600; margin-bottom: 10px; color: var(--text); }
.faq-a { font-size: 13.5px; color: var(--muted); line-height: 1.65; }

/* CTA */
.cta-section { text-align: center; padding: 100px 0; position: relative; overflow: hidden; }
.cta-glow {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 600px;
  height: 400px;
  background: radial-gradient(ellipse, rgba(22,82,240,0.12) 0%, transparent 70%);
  pointer-events: none;
}
.cta-inner { position: relative; z-index: 1; }
.cta-h2 {
  font-size: 50px;
  font-weight: 700;
  letter-spacing: -1.5px;
  line-height: 1.08;
  max-width: 600px;
  margin: 0 auto 20px;
}
.cta-sub { font-size: 17px; color: var(--muted); margin-bottom: 36px; }
.cta-actions { display: flex; align-items: center; justify-content: center; gap: 14px; flex-wrap: wrap; }
.cta-note { font-size: 12.5px; color: var(--muted); margin-top: 16px; }

/* Footer Home */
.footer-home {
  border-top: 1px solid var(--line);
  padding: 60px 0 32px;
}
.footer-home-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 48px;
  margin-bottom: 48px;
}
.footer-brand-row { display:flex; align-items:center; gap:10px; margin-bottom:12px; }
.footer-brand-logo { width:36px; height:36px; }
.footer-brand-name { font-weight:700; font-size:16px; }
.footer-brand-desc { font-size: 13.5px; color: var(--muted); line-height: 1.6; max-width: 240px; margin-top: 12px; }
.footer-col-title { font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.08em; color: var(--muted); margin-bottom: 16px; }
.footer-col a {
  display: block;
  font-size: 14px;
  color: var(--muted);
  text-decoration: none;
  margin-bottom: 10px;
  transition: color 0.15s;
}
.footer-col a:hover { color: var(--text); }
.footer-bottom {
  border-top: 1px solid var(--line);
  padding-top: 28px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
}
.footer-copy { font-size: 13px; color: var(--muted); }
.footer-legal { display: flex; gap: 24px; }
.footer-legal a { font-size: 13px; color: var(--muted); text-decoration: none; transition: color 0.15s; }
.footer-legal a:hover { color: var(--text); }

/* Home responsive */
@media (max-width: 900px) {
  .hero-grid { grid-template-columns: 1fr; gap: 48px; }
  .hero-title { font-size: 40px; }
  .hero-widget { display: none; }
  .features-grid { grid-template-columns: 1fr 1fr; }
  .how-grid { grid-template-columns: 1fr; }
  .how-grid::before { display: none; }
  .security-grid { grid-template-columns: 1fr; }
  .testimonials-grid { grid-template-columns: 1fr; }
  .faq-grid { grid-template-columns: 1fr; }
  .footer-home-grid { grid-template-columns: 1fr 1fr; gap: 28px; }
  .nav-links { display: none; }
  .section-h2 { font-size: 32px; }
  .cta-h2 { font-size: 34px; }
  .trust-strip-inner { gap: 28px; }
  .trust-divider { display: none; }
}
@media (max-width: 600px) {
  .features-grid { grid-template-columns: 1fr; }
  .footer-home { padding: 40px 0 24px; }
  .footer-home-grid { grid-template-columns: 1fr; gap: 24px; }
  .footer-brand-desc { max-width: none; }
  .footer-bottom { flex-direction: column; align-items: flex-start; gap: 8px; }
  .footer-legal { flex-wrap: wrap; gap: 12px; }
  .hero-title { font-size: 34px; }
  .hero-trust { flex-direction: column; align-items: flex-start; gap: 12px; }
  .home-section { padding: 64px 0; }

/* ── ADMIN PANEL ── */
.adm-body { background:#f8fafc; }
.adm-shell { min-height:100vh; display:flex; flex-direction:column; }
.adm-topbar { background:var(--surface); border-bottom:1px solid var(--line); padding:0 24px; display:flex; align-items:center; justify-content:space-between; height:56px; position:sticky; top:0; z-index:100; }
.adm-topbar h1 { font-size:15px; font-weight:700; }
.adm-topbar-nav { display:flex; align-items:center; gap:4px; }
.adm-topbar-nav a { padding:6px 12px; border-radius:6px; font-size:13px; color:var(--muted); text-decoration:none; }
.adm-topbar-nav a:hover { background:var(--surface-alt); color:var(--text); }
.adm-topbar-nav a.active { background:var(--surface-alt); color:var(--text); font-weight:600; }
.adm-topbar-right { display:flex; align-items:center; gap:12px; font-size:13px; color:var(--muted); }
.adm-topbar-right a { color:var(--muted); text-decoration:none; }
.adm-topbar-right a:hover { color:var(--text); }
.adm-page { max-width:1200px; margin:0 auto; padding:32px 24px 64px; width:100%; }
.adm-page h2 { font-size:20px; font-weight:700; margin:0 0 4px; }
.adm-page p { color:var(--muted); font-size:14px; margin:0 0 24px; }
.adm-stats { display:grid; grid-template-columns:repeat(auto-fit,minmax(200px,1fr)); gap:16px; margin-bottom:32px; }
.adm-stat { background:var(--surface); border:1px solid var(--line); border-radius:12px; padding:20px; }
.adm-stat-label { font-size:12px; color:var(--muted); text-transform:uppercase; letter-spacing:.04em; font-weight:600; margin-bottom:6px; }
.adm-stat-num { font-size:28px; font-weight:700; letter-spacing:-.3px; }
.adm-stat-num.green { color:#16a34a; }
.adm-stat-num.red { color:#dc2626; }
.adm-stat-num.amber { color:#d97706; }
.adm-table { width:100%; border-collapse:collapse; background:var(--surface); border:1px solid var(--line); border-radius:12px; overflow:hidden; }
.adm-table th { text-align:left; font-size:11px; font-weight:600; text-transform:uppercase; letter-spacing:.05em; color:var(--muted); padding:12px 16px; border-bottom:1px solid var(--line); background:#fafbfc; }
.adm-table td { padding:12px 16px; font-size:13.5px; border-bottom:1px solid var(--line); }
.adm-table tr:last-child td { border-bottom:none; }
.adm-table tr:hover td { background:var(--surface-alt); }
.adm-badge { display:inline-block; padding:2px 8px; border-radius:999px; font-size:11px; font-weight:600; }
.adm-badge-green { background:#dcfce7; color:#15803d; }
.adm-badge-amber { background:#fef3c7; color:#b45309; }
.adm-badge-red { background:#fee2e2; color:#dc2626; }
.adm-badge-gray { background:#f1f5f9; color:#475569; }
.adm-badge-blue { background:#dbeafe; color:#2563eb; }
.adm-actions { display:flex; gap:6px; }
.adm-btn { display:inline-flex; align-items:center; padding:6px 14px; border-radius:8px; font-size:13px; font-weight:500; text-decoration:none; border:1px solid var(--line); background:var(--surface); color:var(--text); cursor:pointer; gap:6px; transition:all .12s; }
.adm-btn:hover { background:var(--surface-alt); }
.adm-btn-primary { background:var(--blue); color:#fff; border-color:var(--blue); }
.adm-btn-primary:hover { background:#1d4ed8; }
.adm-btn-red { background:#dc2626; color:#fff; border-color:#dc2626; }
.adm-btn-red:hover { background:#b91c1c; }
.adm-btn-green { background:#16a34a; color:#fff; border-color:#16a34a; }
.adm-btn-green:hover { background:#15803d; }
.adm-btn-sm { padding:4px 10px; font-size:12px; }
.adm-flash { padding:12px 16px; border-radius:10px; margin-bottom:20px; font-size:13.5px; }
.adm-flash-success { background:#dcfce7; color:#15803d; }
.adm-flash-error { background:#fee2e2; color:#dc2626; }
.adm-card { background:var(--surface); border:1px solid var(--line); border-radius:12px; padding:24px; margin-bottom:20px; }
.adm-card h3 { font-size:15px; font-weight:600; margin:0 0 16px; }
.adm-form-group { margin-bottom:16px; }
.adm-form-group label { display:block; font-size:13px; font-weight:600; margin-bottom:4px; }
.adm-form-group input, .adm-form-group select, .adm-form-group textarea { width:100%; padding:8px 12px; border:1px solid var(--line); border-radius:8px; font-size:13.5px; background:var(--bg); outline:none; }
.adm-form-group input:focus, .adm-form-group select:focus, .adm-form-group textarea:focus { border-color:var(--blue); }
.adm-detail-grid { display:grid; grid-template-columns:1fr 1fr; gap:16px; }
.adm-detail-item { }
.adm-detail-item .label { font-size:11px; color:var(--muted); text-transform:uppercase; letter-spacing:.04em; font-weight:600; margin-bottom:2px; }
.adm-detail-item .value { font-size:14px; }
.adm-empty { text-align:center; padding:60px 24px; color:var(--muted); }
.adm-empty h3 { font-size:16px; font-weight:600; margin:0 0 6px; color:var(--text); }
.adm-search { margin-bottom:16px; }
.adm-search input { padding:8px 12px; border:1px solid var(--line); border-radius:8px; font-size:13.5px; background:var(--bg); width:260px; outline:none; }
.adm-search input:focus { border-color:var(--blue); }
.adm-flex { display:flex; align-items:center; justify-content:space-between; flex-wrap:wrap; gap:12px; }
}
