:root {
  --page: #f4f5fb;
  --white: #ffffff;
  --ink: #2b3058;
  --title: #8b92c7;
  --mute: #aeb3d4;
  --chip: #eef0fa;
  --chip-text: #7a81b5;
  --line: #eef0f6;
  --blue: #5468ff;
  --blue-2: #6b74e8;
  --new: #9aa3c4;
  --danger: #e56b7a;
  --shadow: 0 10px 40px rgba(120, 130, 180, .10);
  --r: 20px;
}
body.dark {
  --page: #1b1e2b;
  --white: #242837;
  --ink: #e8ecf4;
  --title: #9aa3c4;
  --mute: #7d86a8;
  --chip: #2d3244;
  --chip-text: #aeb6d4;
  --line: #32384c;
  --shadow: 0 10px 40px rgba(0,0,0,.25);
}

* { box-sizing: border-box; }
html, body { margin: 0; background: var(--page); color: var(--ink); }
body {
  font-family: Manrope, "Segoe UI", sans-serif;
  font-size: 15px;
  font-weight: 500;
  letter-spacing: -.01em;
  -webkit-font-smoothing: antialiased;
}
a { color: var(--blue-2); text-decoration: none; }
button, input, select { font: inherit; }
button { cursor: pointer; }
.hidden { display: none !important; }

.top { background: var(--white); position: relative; }
.top__row {
  display: flex; align-items: center; justify-content: space-between;
  padding: 14px 32px 10px;
}
.top__left { display: flex; align-items: center; gap: 18px; }
.brand {
  display: flex; align-items: center; gap: 10px;
  color: #1c2458; font-weight: 800; letter-spacing: .14em; font-size: 20px;
}
body.dark .brand { color: #e8ecf4; }
.brand__mark {
  width: 28px; height: 28px; border-radius: 8px;
  display: grid; place-items: center; color: #fff; font-size: 14px;
  background: linear-gradient(180deg, #6d7cff, #5468ff);
}
.lang {
  display: inline-flex; align-items: center; gap: 6px;
  border: 0; background: transparent; color: var(--chip-text); font-weight: 700; font-size: 13px;
}
.flag { font-size: 16px; line-height: 1; }
.top__right { display: flex; align-items: center; gap: 6px; color: var(--mute); }
.icon-ghost {
  position: relative; width: 40px; height: 40px; border: 0; border-radius: 50%;
  background: transparent; color: #c2c6e0; display: grid; place-items: center;
}
.icon-ghost svg { width: 20px; height: 20px; }
.icon-ghost:hover { background: var(--chip); color: var(--blue); }
.badge {
  position: absolute; top: 6px; right: 6px; min-width: 16px; height: 16px; padding: 0 4px;
  border-radius: 99px; background: #e56b7a; color: #fff; font-size: 10px; font-weight: 800;
  display: grid; place-items: center;
}
.avatar {
  background: var(--chip); color: var(--chip-text); border: 0;
  border-radius: 999px; padding: 8px 14px 8px 12px; font-weight: 600; max-width: 180px;
  overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
}
.text-btn { border: 0; background: transparent; color: var(--chip-text); font-weight: 600; }

.nav {
  display: flex; justify-content: center; gap: 4px;
  padding: 2px 16px 0; border-top: 1px solid #f2f3f8;
}
body.dark .nav { border-top-color: var(--line); }
.nav__item {
  display: inline-flex; align-items: center; gap: 8px;
  border: 0; background: transparent; color: #c2c6e0;
  padding: 14px 18px 16px; font-weight: 600; font-size: 14px;
}
.nav__item svg { width: 18px; height: 18px; }
.nav__item.is-on { color: var(--blue-2); box-shadow: inset 0 -3px 0 var(--blue); }
.vps-bar {
  display: inline-flex; align-items: center; gap: 10px;
  margin: 8px 12px; padding: 8px 14px; border-radius: 14px;
  background: var(--chip); color: var(--chip-text);
  font-size: 12px; font-weight: 800; white-space: nowrap;
}
.vps-bar__track {
  width: 92px; height: 8px; border-radius: 99px; background: #dde1f4; overflow: hidden;
}
body.dark .vps-bar__track { background: #3a4158; }
.vps-bar__fill {
  height: 100%; width: 0; border-radius: 99px;
  background: linear-gradient(90deg, #4ad39c, #5468ff);
  transition: width .4s ease;
}
.vps-bar.is-hot .vps-bar__fill { background: linear-gradient(90deg, #e6b450, #e56b7a); }

.page { width: min(1180px, calc(100% - 48px)); margin: 0 auto; padding: 28px 0 96px; }
.h1 {
  margin: 4px 0 22px; color: var(--title); font-size: 34px; font-weight: 700;
  letter-spacing: -.03em;
}

.filters { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 16px; }
.chip, .search {
  background: var(--chip); color: var(--chip-text); border: 0;
  border-radius: 14px; padding: 12px 16px; min-height: 46px; font-weight: 600;
}
.search { flex: 1; min-width: 220px; outline: none; }
.chip:focus, .search:focus { outline: 2px solid #d8dcf8; }

.card {
  background: var(--white); border-radius: var(--r); box-shadow: var(--shadow);
  overflow: hidden;
}
.card--pad { padding: 24px; }
.card--rel { position: relative; }

.table { width: 100%; border-collapse: collapse; }
.table th {
  text-align: left; color: var(--mute); font-size: 13px; font-weight: 600;
  padding: 18px 20px 14px; border-bottom: 1px solid var(--line);
}
.table td {
  padding: 16px 20px; border-bottom: 1px solid var(--line);
  vertical-align: middle; color: var(--ink);
}
.table tr:last-child td { border-bottom: 0; }
.table tbody tr { cursor: pointer; }
.table tbody tr:hover { background: #fafbff; }
body.dark .table tbody tr:hover { background: #2a2f40; }
.export-abs {
  position: absolute; top: 12px; right: 16px;
}

.date { color: #5c6188; font-weight: 600; white-space: nowrap; }
.type { display: inline-flex; align-items: center; gap: 8px; font-weight: 700; }
.type svg { width: 16px; height: 16px; color: var(--blue-2); }
.ord { color: var(--title); font-weight: 600; }
.st { display: inline-flex; align-items: center; gap: 6px; font-weight: 700; }
.st-new { color: var(--new); }
.st-paid { color: var(--blue); }
.st-wait { color: #c4a35a; }
.st-bad { color: var(--danger); }
.sum { font-weight: 800; line-height: 1.25; }
.sum b { font-weight: 500; color: #8a90b0; margin-left: 4px; }
.sum small { display: block; color: var(--mute); font-weight: 600; margin-top: 2px; }
.eye {
  width: 36px; height: 36px; border: 0; border-radius: 50%; background: transparent; color: #c5c9e8;
}
.eye:hover { background: var(--chip); color: var(--blue); }

.btn {
  border: 0; border-radius: 12px; padding: 11px 18px; font-weight: 700;
}
.btn-primary { background: var(--blue); color: #fff; }
.btn-soft { background: var(--chip); color: var(--blue); }
.btn-danger { background: #fde8ec; color: var(--danger); }
.btn:disabled { opacity: .45; cursor: not-allowed; }
.ml-auto { margin-left: auto; }

.kpis { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; margin-bottom: 22px; }
.kpi { background: var(--white); border-radius: var(--r); padding: 22px; box-shadow: var(--shadow); }
.kpi b { display: block; font-size: 30px; letter-spacing: -.04em; }
.kpi span { color: var(--title); font-size: 13px; font-weight: 600; }

.grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.grid-3 { grid-template-columns: repeat(4, 1fr); }
.tile {
  background: var(--white); border-radius: 22px; padding: 22px 22px 20px; min-height: 210px;
  box-shadow: var(--shadow); display: flex; flex-direction: column;
}
.tile__top { display: flex; justify-content: space-between; align-items: flex-start; margin-bottom: 18px; }
.tile__ico { width: 40px; height: 40px; color: var(--blue); }
.tile__ico svg { width: 36px; height: 36px; }
.tile small { color: var(--title); font-weight: 600; font-size: 13px; }
.tile h3 { margin: 4px 0 8px; font-size: 18px; letter-spacing: -.02em; color: var(--ink); }
.tile p { margin: 0; color: var(--mute); font-size: 14px; line-height: 1.5; font-weight: 500; }
.tile .more { margin-top: auto; padding-top: 16px; color: var(--blue); font-weight: 700; font-size: 14px; display: inline-flex; align-items: center; gap: 6px; }

.row-card {
  background: var(--white); border-radius: 18px; padding: 14px 18px; margin-bottom: 10px;
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
  box-shadow: var(--shadow);
}
.who { display: flex; align-items: center; gap: 14px; }
.who__ava {
  width: 44px; height: 44px; border-radius: 50%; background: var(--chip);
  display: grid; place-items: center; color: var(--title); font-weight: 800;
}
.who strong { display: block; }
.who span { color: var(--blue); font-weight: 700; font-size: 13px; }

.overlay { position: fixed; inset: 0; z-index: 50; }
.overlay__dim { position: absolute; inset: 0; background: rgba(28, 32, 58, .55); }
.sheet {
  position: relative; width: min(440px, calc(100% - 24px));
  margin: 6vh auto; background: var(--white); border-radius: 20px; padding: 28px 28px 24px;
  box-shadow: var(--shadow); max-height: 90vh; overflow: auto;
}
.sheet h2 { margin: 0 0 18px; text-align: center; color: var(--ink); font-size: 26px; font-weight: 800; }
.sheet__x {
  position: absolute; top: 16px; right: 16px; width: 32px; height: 32px; border: 0;
  background: transparent; color: var(--mute); font-size: 22px; line-height: 1;
}
label { display: block; color: var(--title); font-size: 13px; font-weight: 700; margin: 12px 0 6px; }
.field {
  width: 100%; background: var(--chip); border: 0; border-radius: 14px;
  padding: 14px 16px; color: var(--ink); font-weight: 700; outline: none;
}
textarea.field { min-height: 84px; resize: vertical; font-weight: 600; }
.field-ico { display: flex; align-items: center; gap: 8px; background: var(--chip); border-radius: 14px; padding: 0 14px; }
.field-ico .field { padding-left: 0; background: transparent; }
.field-ico svg, .field-ico img { width: 18px; height: 18px; flex: none; }
.copy { display: flex; gap: 8px; }
.copy .field { flex: 1; }
.err { color: var(--danger); min-height: 1.1em; font-size: 13px; }
.dl { display: grid; grid-template-columns: 120px 1fr; gap: 10px 12px; font-size: 14px; }
.dl dt { color: var(--title); font-weight: 600; }
.dl dd { margin: 0; word-break: break-word; }
.coins { display: flex; flex-wrap: wrap; gap: 8px; }
.coin {
  display: flex; align-items: center; gap: 6px; background: var(--chip);
  border-radius: 999px; padding: 7px 12px; font-size: 13px; font-weight: 600;
}
.toast {
  position: fixed; top: 18px; left: 50%; transform: translateX(-50%);
  background: #2b3058; color: #fff; padding: 10px 16px; border-radius: 12px; z-index: 80;
  font-weight: 700;
}
.wrap-narrow { width: min(420px, calc(100% - 32px)); margin: 12vh auto; }
.actions { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 14px; }

.dash {
  display: grid;
  grid-template-columns: 1.22fr .78fr;
  gap: 32px;
  align-items: start;
}
.h-row {
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
  margin-bottom: 16px;
}
.h-row .h1 { margin: 0; font-size: 32px; font-weight: 700; letter-spacing: -.03em; }
.h-usd { color: var(--title); font-weight: 700; font-size: 18px; margin-left: 12px; }
#live-dot { color: #3bb56e; font-weight: 800; }
.alert-list { margin-bottom: 22px; display: grid; gap: 10px; }
.alert-ok {
  background: #e9f8ef; color: #1f7a45; border-radius: 16px; padding: 14px 18px; font-weight: 800;
}
body.dark .alert-ok { background: #1e3a2c; color: #8ee0b0; }
.alert-card {
  background: #fff5f6; border: 1px solid #f3cfd4; border-radius: 16px; padding: 14px 18px;
  box-shadow: var(--shadow);
}
body.dark .alert-card { background: #3a2428; border-color: #5a3338; }
.alert-card__top { display: flex; justify-content: space-between; gap: 12px; align-items: baseline; margin-bottom: 8px; }
.alert-card__top strong { color: var(--danger); }
.alert-card__p { margin: 0 0 8px; color: var(--ink); font-size: 14px; line-height: 1.45; font-weight: 600; }
.alert-card__p:last-child { margin-bottom: 0; }
.h-title { display: flex; align-items: baseline; gap: 10px; }
.wallets {
  background: var(--white); border-radius: 22px; box-shadow: var(--shadow); overflow: hidden;
}
.wal { border-bottom: 1px solid var(--line); }
.wal:last-child { border-bottom: 0; }
.wal:hover { background: #fbfcff; }
.wal__main {
  display: grid; grid-template-columns: minmax(160px,1.1fr) 90px minmax(120px,auto) 18px;
  align-items: center; gap: 16px; padding: 16px 22px; cursor: pointer;
}
.wal__left { display: flex; align-items: center; gap: 14px; min-width: 0; }
.wal__ico { width: 36px; height: 36px; border-radius: 50%; flex: none; }
.wal__name { font-weight: 700; color: var(--ink); font-size: 15px; letter-spacing: -.01em; }
.wal__px { color: #9aa3c4; font-size: 12px; font-weight: 600; margin-top: 3px; }
.wal__spark { width: 90px; height: 34px; justify-self: center; }
.wal__right { text-align: right; min-width: 108px; }
.wal__amt { font-weight: 800; font-size: 14px; color: #5b63d3; letter-spacing: -.02em; }
.wal__amt span { font-weight: 600; color: #9aa3c4; margin-left: 4px; font-size: 11px; }
.wal__usd { color: #b0b6d4; font-size: 12px; font-weight: 600; margin-top: 2px; }
.wal__chev { color: #c5c9e8; }
.wal__extra {
  display: none; align-items: center; justify-content: space-between; gap: 12px;
  padding: 0 22px 16px 72px;
}
.wal.is-open .wal__extra { display: flex; flex-wrap: wrap; }
.gas-note {
  flex: 1 0 100%; margin-top: 10px; padding: 10px 12px; border-radius: 12px;
  background: #f3f5ff; color: #5c6188; font-size: 12px; font-weight: 600; line-height: 1.45;
}
.gas-note--need { background: #fff6ea; color: #8a6a32; }
.gas-note__addr { margin-top: 6px; font-size: 11px; word-break: break-all; display: flex; align-items: center; gap: 6px; }
.wal__addr { color: var(--title); font-weight: 700; font-size: 13px; display: flex; align-items: center; gap: 6px; }
.wal__bal { color: #5b63d3; font-weight: 800; font-size: 13px; }
.wal__acts { display: flex; gap: 8px; }
.ico-btn {
  width: 38px; height: 38px; border: 0; border-radius: 12px;
  background: var(--chip); color: var(--blue); display: grid; place-items: center;
}
.ico-btn svg { width: 16px; height: 16px; }
.ico-btn:disabled { opacity: .35; cursor: not-allowed; }
.ico-btn:hover:not(:disabled) { background: #e4e8ff; }

.ops-card { border-radius: 22px; }
.op-mini {
  display: grid; grid-template-columns: 1fr auto auto 36px;
  align-items: center; gap: 12px;
  padding: 14px 18px; border-bottom: 1px solid var(--line); cursor: pointer;
}
.op-mini:last-child { border-bottom: 0; }
.op-mini:hover { background: #fafbff; }
body.dark .op-mini:hover { background: #2a2f40; }
.op-mini__l { display: flex; flex-direction: column; gap: 4px; min-width: 0; }
.op-mini__date { color: var(--mute); font-size: 12px; font-weight: 600; }
.op-mini__m { justify-self: start; }
.op-mini__sum {
  display: flex; align-items: center; gap: 8px; text-align: right; font-weight: 800; font-size: 13px; line-height: 1.25;
}
.op-mini__sum b { font-weight: 800; color: var(--ink); }
.op-mini__sum small { display: block; color: var(--mute); font-weight: 600; margin-top: 2px; }
.op-mini .type { color: #6b74e8; font-size: 13px; }
.op-mini .eye { color: #c5c9e8; }

.fee-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin-bottom: 18px; }
.fee-title { margin: 0 0 8px; color: var(--title); font-weight: 700; }
.fee-help { margin: 0 0 8px; font-size: 14px; color: var(--ink); }
.mono { font-family: ui-monospace, Consolas, monospace; font-size: 12px; word-break: break-all; }
.muted { color: var(--mute); font-weight: 600; }

.amt-row { display: flex; gap: 8px; align-items: stretch; }
.amt-row .field { flex: 1; }
.unit-tog { display: flex; background: var(--chip); border-radius: 12px; padding: 4px; }
.unit-tog button {
  border: 0; background: transparent; color: var(--chip-text); border-radius: 10px;
  padding: 8px 12px; font-weight: 800; font-size: 12px;
}
.unit-tog button.is-on { background: var(--blue); color: #fff; }
.getmax { border: 0; background: transparent; color: var(--blue); font-weight: 700; font-size: 13px; }
.fee-box {
  background: var(--chip); border-radius: 14px; padding: 14px 16px; display: flex; gap: 10px; align-items: flex-start;
}
.fee-box input { margin-top: 3px; }
.send-off { background: #d7daf3 !important; color: #fff !important; }

.btn-row {
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
  background: var(--white); border-radius: 18px; padding: 16px 18px; margin-bottom: 10px;
  box-shadow: var(--shadow);
}
.btn-row__l { display: flex; align-items: center; gap: 14px; }
.btn-row__ico {
  width: 48px; height: 48px; border-radius: 50%; background: var(--chip);
  display: grid; place-items: center; color: #c5c9e8;
}
.btn-row strong { display: block; font-size: 15px; letter-spacing: .02em; }
.btn-row em { color: var(--blue); font-style: normal; font-weight: 700; font-size: 14px; }
.copy-url { min-width: 108px; }
.btn-row__r { display: flex; gap: 8px; align-items: center; }
.sq {
  width: 40px; height: 40px; border: 0; border-radius: 12px; display: grid; place-items: center;
  background: var(--chip); color: var(--blue);
}
.sq.danger { background: #fde8ec; color: var(--danger); }

.log-row {
  display: grid; grid-template-columns: 150px 90px 110px 1fr;
  gap: 10px; padding: 12px 16px; border-bottom: 1px solid var(--line); font-size: 13px;
}
.log-row:last-child { border-bottom: 0; }
.log-err { color: var(--danger); font-weight: 800; }
.log-info { color: var(--blue); font-weight: 800; }
.log-src { color: var(--title); font-weight: 700; }

.menu {
  position: absolute; right: 24px; top: 58px; background: var(--white);
  border-radius: 14px; box-shadow: var(--shadow); padding: 8px; z-index: 40; min-width: 140px;
}
.menu button {
  width: 100%; text-align: left; border: 0; background: transparent; padding: 10px 12px;
  border-radius: 10px; font-weight: 700; color: var(--ink);
}
.menu button:hover { background: var(--chip); }

.coin-dots { display: flex; flex-wrap: wrap; gap: 6px; align-items: center; }
.coin-dots img { width: 22px; height: 22px; border-radius: 50%; }

@media (max-width: 980px) {
  .grid, .kpis, .dash, .fee-grid, .grid-3 { grid-template-columns: 1fr; }
  .page { width: calc(100% - 24px); }
  .nav { overflow: auto; justify-content: flex-start; }
  .wal__main { grid-template-columns: 1fr auto auto; }
  .wal__spark { display: none; }
  .op-mini { grid-template-columns: 1fr auto; }
  .log-row { grid-template-columns: 1fr; }
}
@media (max-width: 640px) {
  .grid, .kpis { grid-template-columns: 1fr; }
  .top__row { padding: 12px 16px; }
  .wal__extra { padding-left: 18px; }
}

/* --- public landing (AnonPayment) --- */
body:has(.lp) {
  background: #050506;
  color: #e8e8ea;
  margin: 0;
  min-height: 100vh;
  font-family: "IBM Plex Sans", "Segoe UI", sans-serif;
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
}

.lp {
  --lp-bg: #050506;
  --lp-ink: #f4f4f5;
  --lp-mute: #8b8b93;
  --lp-dim: #5c5c66;
  --lp-line: rgba(255, 255, 255, 0.08);
  --lp-line-strong: rgba(255, 255, 255, 0.14);
  --lp-accent: #7ee0c3;
  --lp-accent-dim: rgba(126, 224, 195, 0.14);
  --lp-glow: rgba(126, 224, 195, 0.08);
  position: relative;
  min-height: 100vh;
  overflow-x: hidden;
  background:
    radial-gradient(ellipse 80% 50% at 50% -20%, var(--lp-glow), transparent 55%),
    var(--lp-bg);
}

.lp-frame {
  width: min(1040px, calc(100% - 48px));
  margin: 0 auto;
  padding: 28px 0 56px;
}

.lp-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 8px 0 36px;
  border-bottom: 1px solid var(--lp-line);
  margin-bottom: 56px;
}

.lp-mark {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: var(--lp-ink);
  text-decoration: none;
}

.lp-mark__glyph {
  width: 22px;
  height: 22px;
  border: 1.5px solid var(--lp-accent);
  border-radius: 3px;
  box-shadow: 0 0 18px rgba(126, 224, 195, 0.25);
  position: relative;
}
.lp-mark__glyph::after {
  content: "";
  position: absolute;
  inset: 5px;
  background: var(--lp-accent);
  opacity: 0.85;
  clip-path: polygon(50% 0, 100% 100%, 0 100%);
}

.lp-mark__text {
  font-family: Syne, "IBM Plex Sans", sans-serif;
  font-weight: 700;
  font-size: 15px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.lp-nav {
  display: flex;
  align-items: center;
  gap: 28px;
  flex-wrap: wrap;
}

.lp-nav a {
  color: var(--lp-mute);
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.02em;
  text-decoration: none;
  transition: color 0.15s ease;
}
.lp-nav a:hover { color: var(--lp-ink); }

.lp-nav__login {
  color: var(--lp-ink) !important;
  border: 1px solid var(--lp-line-strong);
  padding: 8px 14px;
  border-radius: 999px;
  font-size: 12px !important;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}
.lp-nav__login:hover {
  border-color: var(--lp-accent);
  color: var(--lp-accent) !important;
}

.lp-hero {
  padding: 8px 0 64px;
  border-bottom: 1px solid var(--lp-line);
  margin-bottom: 0;
}

.lp-kicker {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin: 0 0 28px;
  font-family: "IBM Plex Mono", ui-monospace, monospace;
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--lp-accent);
}

.lp-kicker--dim { color: var(--lp-dim); }

.lp-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--lp-accent);
  box-shadow: 0 0 10px var(--lp-accent);
}

.lp-hero h1 {
  margin: 0 0 24px;
  font-family: Syne, "IBM Plex Sans", sans-serif;
  font-weight: 800;
  font-size: clamp(42px, 8vw, 72px);
  line-height: 0.98;
  letter-spacing: -0.045em;
  color: var(--lp-ink);
  max-width: 14ch;
}

.lp-deck {
  margin: 0 0 36px;
  max-width: 48ch;
  font-size: 17px;
  line-height: 1.55;
  color: var(--lp-mute);
  font-weight: 400;
}

.lp-cta {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
}

button.lp-btn {
  cursor: pointer;
  appearance: none;
  -webkit-appearance: none;
  border-style: solid;
  color: inherit;
  background: none;
  font: inherit;
}
button.lp-btn:disabled {
  opacity: 0.65;
  cursor: wait;
}
.lp-cta-note {
  margin: 12px 0 0;
  font-size: 13px;
  color: var(--lp-mute);
  min-height: 1.2em;
}

.lp-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 14px 22px;
  border-radius: 2px;
  font-family: "IBM Plex Sans", sans-serif;
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.01em;
  text-decoration: none;
  transition: background 0.15s ease, border-color 0.15s ease, color 0.15s ease, box-shadow 0.15s ease;
}

.lp-btn--solid {
  background: var(--lp-accent);
  color: #04110c;
  border: 1px solid var(--lp-accent);
  box-shadow: 0 0 28px rgba(126, 224, 195, 0.18);
}
.lp-btn--solid:hover {
  background: #9aebd2;
  box-shadow: 0 0 36px rgba(126, 224, 195, 0.28);
}

.lp-btn--ghost {
  background: transparent;
  color: var(--lp-ink);
  border: 1px solid var(--lp-line-strong);
}
.lp-btn--ghost:hover {
  border-color: var(--lp-mute);
  background: rgba(255, 255, 255, 0.03);
}

.lp-pillars {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  border-bottom: 1px solid var(--lp-line);
}

.lp-pillar {
  padding: 40px 28px 40px 0;
  border-right: 1px solid var(--lp-line);
  padding-right: 28px;
  margin-right: 28px;
}
.lp-pillar:last-child {
  border-right: 0;
  margin-right: 0;
  padding-right: 0;
}

.lp-pillar__label {
  display: block;
  font-family: "IBM Plex Mono", ui-monospace, monospace;
  font-size: 11px;
  color: var(--lp-dim);
  letter-spacing: 0.08em;
  margin-bottom: 16px;
}

.lp-pillar h2 {
  margin: 0 0 12px;
  font-family: Syne, sans-serif;
  font-weight: 700;
  font-size: 20px;
  letter-spacing: -0.02em;
  color: var(--lp-ink);
}

.lp-pillar p {
  margin: 0;
  font-size: 14px;
  line-height: 1.55;
  color: var(--lp-mute);
}

.lp-ship {
  display: grid;
  grid-template-columns: 1.35fr 1fr;
  gap: 0;
  padding: 56px 0;
  border-bottom: 1px solid var(--lp-line);
}

.lp-ship__main {
  padding-right: 48px;
  border-right: 1px solid var(--lp-line);
}

.lp-ship__aside {
  padding-left: 48px;
  background: linear-gradient(180deg, var(--lp-accent-dim), transparent 70%);
  margin: -8px 0;
  padding-top: 8px;
  padding-bottom: 8px;
}

.lp-ship h2 {
  margin: 0 0 16px;
  font-family: Syne, sans-serif;
  font-weight: 700;
  font-size: clamp(28px, 4vw, 36px);
  letter-spacing: -0.03em;
  color: var(--lp-ink);
  line-height: 1.1;
}

.lp-ship h2 em {
  font-style: normal;
  color: var(--lp-accent);
}

.lp-ship__main > p,
.lp-ship__aside > p {
  margin: 0 0 20px;
  color: var(--lp-mute);
  font-size: 15px;
  line-height: 1.55;
  max-width: 46ch;
}

.lp-ship__main strong { color: var(--lp-ink); font-weight: 600; }

.lp-ship ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

.lp-ship li {
  position: relative;
  padding: 10px 0 10px 18px;
  border-top: 1px solid var(--lp-line);
  color: var(--lp-ink);
  font-size: 14px;
  font-weight: 500;
}
.lp-ship li:last-child { border-bottom: 1px solid var(--lp-line); }
.lp-ship li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 50%;
  width: 6px;
  height: 1px;
  background: var(--lp-accent);
}

.lp-ship__aside h3 {
  margin: 0 0 12px;
  font-family: Syne, sans-serif;
  font-weight: 700;
  font-size: 22px;
  letter-spacing: -0.02em;
  color: var(--lp-ink);
}

.lp-contact {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
  padding: 48px 0 40px;
}

.lp-contact h2 {
  margin: 0 0 18px;
  font-family: Syne, sans-serif;
  font-weight: 700;
  font-size: 28px;
  letter-spacing: -0.03em;
  color: var(--lp-ink);
}

.lp-contact__primary a {
  font-family: "IBM Plex Mono", ui-monospace, monospace;
  font-size: clamp(18px, 3vw, 24px);
  font-weight: 500;
  color: var(--lp-accent);
  text-decoration: none;
  border-bottom: 1px solid transparent;
}
.lp-contact__primary a:hover { border-bottom-color: var(--lp-accent); }

.lp-contact__alt {
  margin: 14px 0 0;
  font-size: 13px;
  color: var(--lp-dim);
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: center;
}
.lp-contact__alt a {
  color: var(--lp-mute);
  text-decoration: none;
}
.lp-contact__alt a:hover { color: var(--lp-ink); }

.lp-foot {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  padding-top: 22px;
  border-top: 1px solid var(--lp-line);
  font-family: "IBM Plex Mono", ui-monospace, monospace;
  font-size: 11px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--lp-dim);
}

@media (max-width: 860px) {
  .lp-frame { width: calc(100% - 32px); padding-top: 20px; }
  .lp-top {
    flex-direction: column;
    align-items: flex-start;
    margin-bottom: 40px;
    padding-bottom: 24px;
  }
  .lp-nav { gap: 16px; }
  .lp-hero { padding-bottom: 44px; }
  .lp-hero h1 { max-width: none; font-size: clamp(36px, 11vw, 52px); }
  .lp-pillars { grid-template-columns: 1fr; }
  .lp-pillar {
    border-right: 0;
    margin-right: 0;
    padding: 28px 0;
    border-bottom: 1px solid var(--lp-line);
  }
  .lp-pillar:last-child { border-bottom: 0; }
  .lp-ship { grid-template-columns: 1fr; gap: 36px; padding: 40px 0; }
  .lp-ship__main {
    border-right: 0;
    padding-right: 0;
  }
  .lp-ship__aside {
    padding-left: 0;
    margin: 0;
    padding: 24px;
    border: 1px solid var(--lp-line);
    background: var(--lp-accent-dim);
  }
  .lp-contact { padding: 36px 0 28px; align-items: flex-start; }
}

/* --- merchant auth (/merchant) + AnonPayment brand chrome --- */
.lp-frame--auth {
  width: min(560px, calc(100% - 40px));
  padding-bottom: 80px;
}
.lp-top--auth {
  margin-bottom: 48px;
  padding-bottom: 28px;
}
.lp-top--auth .lp-mark__text {
  font-size: 16px;
}
.lp-top--auth .lp-nav a {
  font-size: 14px;
  font-weight: 600;
  color: var(--lp-ink);
}
.lp-top--auth .lp-nav a:hover {
  color: var(--lp-accent);
}
.lp-auth .lp-kicker {
  font-size: 13px;
  margin-bottom: 20px;
  letter-spacing: 0.12em;
}
.lp-auth__title {
  margin: 0 0 14px;
  font-family: Syne, "IBM Plex Sans", sans-serif;
  font-weight: 800;
  font-size: clamp(36px, 7vw, 44px);
  letter-spacing: -0.04em;
  line-height: 1.08;
  color: var(--lp-ink);
}
.lp-auth__deck {
  margin: 0 0 32px;
  color: #c8c8d0;
  font-size: 17px;
  line-height: 1.55;
  font-weight: 450;
}
.lp-auth__form {
  display: flex;
  flex-direction: column;
  gap: 14px;
  padding: 28px 28px 30px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  background: rgba(255, 255, 255, 0.045);
  border-radius: 4px;
  box-shadow: 0 16px 48px rgba(0, 0, 0, 0.35);
}
.lp-auth__label {
  font-family: "IBM Plex Mono", ui-monospace, monospace;
  font-size: 12px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #b0b0ba;
}
.lp-auth__field {
  width: 100%;
  padding: 16px 16px;
  border-radius: 4px;
  border: 1px solid rgba(255, 255, 255, 0.22);
  background: #121216;
  color: var(--lp-ink);
  font-family: "IBM Plex Sans", "Segoe UI", sans-serif;
  font-size: 17px;
  outline: none;
}
.lp-auth__field:focus {
  border-color: var(--lp-accent);
  box-shadow: 0 0 0 3px var(--lp-accent-dim);
}
.lp-auth__err {
  min-height: 1.25em;
  margin: 0;
  color: #ff9aa4;
  font-size: 14px;
}
.lp-auth__submit {
  width: 100%;
  margin-top: 8px;
  padding: 16px 22px;
  font-size: 16px;
}
.lp-auth__back {
  margin: 28px 0 0;
  text-align: center;
  font-size: 15px;
}
.lp-auth__back a {
  color: #c8c8d0;
  text-decoration: none;
  font-weight: 500;
}
.lp-auth__back a:hover { color: var(--lp-accent); }

.brand--anon {
  gap: 12px;
  letter-spacing: 0;
  font-weight: 700;
}
.brand__glyph {
  width: 22px;
  height: 22px;
  border: 1.5px solid #7ee0c3;
  border-radius: 3px;
  box-shadow: 0 0 14px rgba(126, 224, 195, 0.22);
  position: relative;
  flex: 0 0 auto;
  display: inline-block;
}
.brand__glyph::after {
  content: "";
  position: absolute;
  inset: 5px;
  background: #7ee0c3;
  opacity: 0.85;
  clip-path: polygon(50% 0, 100% 100%, 0 100%);
}
.brand__text {
  font-family: Syne, "IBM Plex Sans", Manrope, sans-serif;
  font-weight: 700;
  font-size: 14px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}
body.dark .brand--anon { color: #e8ecf4; }
.brand--anon { color: #1c2458; }
body.dark .brand__glyph {
  border-color: #7ee0c3;
}
