:root {
  --bg: #050505;
  --ink: #f7f7f7;
  --muted: #a6a6a6;
  --line: #242424;
  --panel: #0e0e0e;
  --soft: #151515;
  --soft-2: #202020;
  --danger: #ff6b6b;
  --paper: #ffffff;
  --paper-ink: #050505;
}

* { box-sizing: border-box; }
html {
  min-height: 100%;
  scroll-behavior: smooth;
  background: #050505;
}
body {
  margin: 0;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  font-family: ui-sans-serif, -apple-system, BlinkMacSystemFont, "SF Pro Display", "SF Pro Text", Inter, "Segoe UI", Arial, sans-serif;
  background:
    linear-gradient(90deg, rgba(255,255,255,.035) 1px, transparent 1px),
    linear-gradient(rgba(255,255,255,.03) 1px, transparent 1px),
    radial-gradient(circle at 74% -8%, rgba(255,255,255,.12), transparent 34rem),
    linear-gradient(#050505, #090909 46rem, #050505);
  background-color: #050505;
  background-size: 58px 58px, 58px 58px, auto, auto;
  color: var(--ink);
  letter-spacing: 0;
  overflow-x: hidden;
}
a { color: inherit; text-decoration: none; }
img,
video {
  max-width: 100%;
}
main {
  flex: 1 0 auto;
}

.topbar {
  position: sticky;
  top: 0;
  z-index: 50;
  min-height: 56px;
  padding: 10px clamp(18px, 5vw, 72px);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  border-bottom: 1px solid rgba(255,255,255,.1);
  background: rgba(8,8,8,.94);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  font-weight: 900;
  font-size: 18px;
  letter-spacing: 0;
}
.brand-avatar {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  border: 1px solid rgba(255,255,255,.18);
  box-shadow: 0 0 0 6px rgba(255,255,255,.04);
}
.nav {
  display: flex;
  align-items: center;
  gap: 4px;
  flex-wrap: wrap;
}
.nav a {
  padding: 7px 9px;
  border: 1px solid transparent;
  border-radius: 999px;
  color: #e7e7e7;
  font-size: 14px;
  font-weight: 750;
  line-height: 1.15;
  transition: border-color .18s ease, background .18s ease, color .18s ease;
}
.nav a:hover,
.nav-cta {
  background: #fff;
  color: #050505 !important;
}
.nav a.is-active {
  border-color: currentColor;
}
.nav-cta.is-active {
  box-shadow: inset 0 0 0 2px #050505;
}
.nav-separated {
  position: relative;
  margin-left: 10px;
}
.nav-separated::before {
  content: "";
  position: absolute;
  left: -8px;
  top: 50%;
  width: 1px;
  height: 18px;
  background: var(--line);
  transform: translateY(-50%);
}

body.delqen-shell {
  --line: #183336;
  --panel: #0a1112;
  --soft: #0e191a;
  --soft-2: #162729;
  background:
    linear-gradient(90deg, rgba(150,255,244,.035) 1px, transparent 1px),
    linear-gradient(rgba(150,255,244,.026) 1px, transparent 1px),
    radial-gradient(circle at 76% -8%, rgba(116,255,235,.16), transparent 34rem),
    linear-gradient(#030808, #071012 46rem, #030808);
  background-color: #030808;
}
body.delqen-shell .topbar {
  border-bottom-color: rgba(130,255,240,.18);
  background: rgba(3,10,11,.94);
}
body.delqen-shell .brand-avatar {
  border-color: rgba(152,255,244,.38);
  box-shadow: 0 0 0 6px rgba(152,255,244,.06);
}
body.delqen-shell .nav a:hover,
body.delqen-shell .nav-cta,
body.delqen-shell .btn.primary {
  background: #b8fff5;
  color: #031011 !important;
}
body.delqen-shell .nav a.is-active {
  border-color: #b8fff5;
}
body.delqen-shell .nav-cta.is-active {
  box-shadow: inset 0 0 0 2px #031011;
}
.nav-toggle {
  display: none;
  width: 32px;
  height: 32px;
  padding: 0;
  align-items: center;
  justify-content: center;
  gap: 3px;
  flex-direction: column;
  border: 1px solid rgba(255,255,255,.24);
  border-radius: 999px;
  background: transparent;
  color: #fff;
  cursor: pointer;
}
.nav-toggle span {
  display: block;
  width: 14px;
  height: 2px;
  border-radius: 999px;
  background: currentColor;
}
body.delqen-shell .nav-toggle {
  border-color: rgba(184,255,245,.34);
}
body.delqen-shell .features article,
body.delqen-shell .price-card,
body.delqen-shell .stat,
body.delqen-shell .panel,
body.delqen-shell .table-card,
body.delqen-shell .auth-card {
  background: #0a1112;
  border-color: rgba(143,255,242,.16);
}
body.delqen-shell .eyebrow,
body.delqen-shell .plan-features li::before {
  color: #9ff7ef;
}
body.delqen-shell .plan-features li::before {
  background: #9ff7ef;
}

.hero {
  min-height: calc(100vh - 70px);
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(360px, .95fr);
  align-items: center;
  gap: clamp(34px, 6vw, 92px);
  padding: 72px clamp(18px, 6vw, 96px);
  overflow: hidden;
}
.hero h1 {
  margin: 0;
  max-width: 820px;
  font-size: clamp(58px, 9vw, 138px);
  line-height: .86;
  letter-spacing: 0;
}
.lead {
  max-width: 660px;
  color: #2f2f2f;
  font-size: clamp(18px, 2vw, 23px);
  line-height: 1.48;
}
.eyebrow {
  margin: 0 0 16px;
  font-size: 12px;
  text-transform: uppercase;
  color: var(--muted);
  font-weight: 900;
  letter-spacing: 0;
}
.hero-actions,
.inline-actions {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}
.hero-facts {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 24px;
}
.hero-facts span,
.pill {
  display: inline-flex;
  align-items: center;
  min-height: 32px;
  padding: 0 12px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255,255,255,.72);
  color: #333;
  font-size: 13px;
  font-weight: 800;
}
.pill.is-ok {
  border-color: rgba(143, 247, 192, .45);
  background: rgba(143, 247, 192, .12);
  color: #8ff7c0;
}
.pill.is-wait {
  border-color: rgba(244, 211, 94, .38);
  background: rgba(244, 211, 94, .10);
  color: #f4d35e;
}

.btn,
button.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 19px;
  border-radius: 999px;
  border: 1px solid var(--ink);
  font: inherit;
  font-weight: 900;
  cursor: pointer;
  background: transparent;
  color: var(--ink);
  transition: transform .18s ease, background .18s ease, color .18s ease, box-shadow .18s ease;
}
.btn.primary {
  background: var(--ink);
  color: #fff;
  box-shadow: 0 14px 34px rgba(0,0,0,.16);
}
.btn.danger {
  border-color: var(--danger);
  color: var(--danger);
}
.btn.ghost:hover,
.btn.primary:hover,
.btn.danger:hover {
  transform: translateY(-2px);
}

.hero-visual {
  position: relative;
  min-height: 560px;
  display: grid;
  place-items: center;
  isolation: isolate;
}
.hero-visual::before {
  content: "";
  position: absolute;
  inset: 26px;
  border: 1px solid var(--line);
  border-radius: 34px;
  background:
    linear-gradient(90deg, rgba(0,0,0,.045) 1px, transparent 1px),
    linear-gradient(rgba(0,0,0,.045) 1px, transparent 1px);
  background-size: 34px 34px;
}
.hero-logo {
  width: 128px;
  height: 128px;
  border-radius: 30px;
  z-index: 2;
}
.orbit {
  position: absolute;
  border: 1px solid rgba(0,0,0,.16);
  border-radius: 999px;
}
.orbit.one {
  width: 320px;
  height: 320px;
}
.orbit.two {
  width: 450px;
  height: 450px;
}
.orbit::after {
  content: "";
  position: absolute;
  top: 18%;
  right: 11%;
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--ink);
}
.motion-card {
  position: absolute;
  z-index: 3;
  width: min(86%, 350px);
  border: 1px solid var(--line);
  border-radius: 22px;
  background: rgba(255,255,255,.9);
  box-shadow: 0 22px 60px rgba(0,0,0,.14);
}
.upload-card {
  left: 0;
  bottom: 46px;
  padding: 20px;
}
.mini-card {
  right: 8px;
  top: 58px;
  width: 260px;
  padding: 16px;
}
.mini-card span,
.mini-card b {
  display: block;
}
.mini-card span { color: var(--muted); font-size: 13px; font-weight: 800; }
.mini-card b { margin-top: 6px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.transfer-head {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  font-weight: 900;
}
.progress {
  height: 8px;
  background: var(--soft-2);
  margin: 22px 0;
  overflow: hidden;
  border-radius: 999px;
}
.progress span {
  display: block;
  height: 100%;
  width: 72%;
  border-radius: inherit;
  background: var(--ink);
}
.progress.animated span {
  width: 72%;
}
.transfer-lines {
  display: grid;
  gap: 7px;
  color: #3a3a3a;
  font-size: 14px;
}

.metrics {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: #fff;
}
.metrics div {
  padding: 26px clamp(18px, 5vw, 72px);
  border-right: 1px solid var(--line);
}
.metrics div:last-child { border-right: 0; }
.metrics b {
  display: block;
  font-size: clamp(26px, 3vw, 42px);
  letter-spacing: 0;
}
.metrics span {
  color: var(--muted);
  font-weight: 750;
}

.band {
  padding: 78px clamp(18px, 6vw, 96px);
}
.dark-band {
  background: var(--ink);
  color: #fff;
}
.section-title {
  max-width: 780px;
  margin-bottom: 28px;
}
.section-title h2 {
  margin: 0;
  font-size: clamp(32px, 5vw, 64px);
  letter-spacing: 0;
  line-height: .95;
}
.features,
.pricing,
.stats-grid,
.method-grid,
.two-col,
.resource-grid {
  display: grid;
  gap: 16px;
}
.features {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}
.features article,
.price-card,
.stat,
.panel,
.table-card,
.auth-card {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 22px;
  padding: 22px;
  box-shadow: 0 14px 44px rgba(0,0,0,.045);
}
.features article {
  min-height: 170px;
  transition: transform .18s ease, border-color .18s ease;
}
.features article:hover,
.price-card:hover {
  transform: translateY(-3px);
  border-color: #cfcfcf;
}
.features b,
.price-card b {
  font-size: 18px;
}
.features p,
.price-card p,
.muted,
small {
  color: var(--muted);
}
.pricing {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}
.dark-band .price-card {
  background: #111;
  border-color: #2b2b2b;
  color: #fff;
  box-shadow: none;
}
.dark-band .price-card p,
.dark-band .eyebrow {
  color: #b8b8b8;
}
.plan-name {
  display: block;
  font-weight: 950;
  font-size: 18px;
  margin-bottom: 12px;
}
.price-card strong {
  display: block;
  font-size: 34px;
  letter-spacing: 0;
  margin-bottom: 12px;
}
.plan-summary {
  min-height: 48px;
}
.plan-features {
  display: grid;
  gap: 8px;
  margin: 16px 0 18px;
  padding: 0;
  list-style: none;
}
.plan-features li {
  color: var(--muted);
  font-size: 14px;
  line-height: 1.35;
}
.plan-features li::before {
  content: "";
  display: inline-block;
  width: 6px;
  height: 6px;
  margin: 0 10px 2px 0;
  border-radius: 999px;
  background: var(--text);
  color: var(--text);
}
.duration-options {
  display: grid;
  gap: 8px;
  margin: 16px 0 18px;
}
.duration-option {
  display: grid;
  grid-template-columns: 22px minmax(0, 1fr) auto;
  gap: 10px;
  align-items: start;
  padding: 12px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: var(--soft);
  cursor: pointer;
}
.duration-option input {
  width: 22px;
  min-height: 22px;
  height: 22px;
  margin-top: 2px;
  appearance: auto;
  -webkit-appearance: radio;
  accent-color: var(--ink);
}
.duration-option:has(input:checked) {
  border-color: rgba(255, 255, 255, .58);
  background: var(--soft-2);
}
.duration-option span {
  min-width: 0;
  display: grid;
  gap: 3px;
}
.duration-option b {
  font-size: 15px;
}
.duration-option strong {
  margin: 0;
  font-size: 15px;
  white-space: nowrap;
}
.duration-option em {
  width: max-content;
  padding: 2px 7px;
  border-radius: 999px;
  background: rgba(143, 247, 192, .12);
  color: #8ff7c0;
  font-size: 12px;
  font-style: normal;
  font-weight: 900;
}
.modal-dialog {
  width: min(560px, calc(100% - 32px));
  padding: 0;
  border: 0;
  background: transparent;
  color: var(--ink);
}
.modal-dialog::backdrop {
  background: rgba(0, 0, 0, .72);
}
.modal-panel {
  position: relative;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: 22px;
  background: var(--panel);
  box-shadow: 0 24px 80px rgba(0, 0, 0, .38);
}
.modal-close {
  position: absolute;
  top: 14px;
  right: 14px;
  width: 36px;
  height: 36px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--soft);
  color: var(--ink);
  cursor: pointer;
  font: inherit;
  font-size: 22px;
  line-height: 1;
  -webkit-tap-highlight-color: transparent;
  box-shadow: none;
}
.modal-close:focus,
.modal-close:focus-visible {
  outline: 2px solid rgba(255, 255, 255, .42);
  outline-offset: 2px;
}
.modal-head {
  padding-right: 42px;
}
.modal-head h2 {
  margin: 0 0 8px;
  font-size: clamp(28px, 5vw, 38px);
}
.duration-options-modal {
  margin: 20px 0;
}

.workspace {
  padding: 44px clamp(18px, 5vw, 72px) 80px;
}
.workspace.narrow {
  max-width: 860px;
  margin: 0 auto;
}
.page-head {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 24px;
}
.page-head h1 {
  margin: 0;
  font-size: clamp(38px, 6vw, 76px);
  letter-spacing: 0;
}
.stats-grid {
  grid-template-columns: repeat(auto-fit, minmax(165px, 1fr));
  margin-bottom: 22px;
}
.protection-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr);
  gap: 16px;
  margin-bottom: 16px;
}
.check-list {
  display: grid;
  gap: 10px;
}
.check-item {
  display: grid;
  gap: 4px;
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: var(--soft);
}
.check-item b {
  font-size: 15px;
}
.check-item span {
  color: var(--muted);
  font-size: 13px;
}
.check-item::before {
  content: "";
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: #f4d35e;
}
.check-item.is-ok::before {
  background: #8ff7c0;
}
.masked-code {
  max-height: 92px;
  overflow: auto;
}
.referral-box {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 156px;
  gap: 18px;
  align-items: start;
}
.referral-text {
  min-width: 0;
  display: grid;
  gap: 12px;
}
.reward-lines {
  display: grid;
  gap: 6px;
  margin: 12px 0 16px;
  color: var(--text);
  font-weight: 850;
}
.reward-lines em {
  color: var(--muted);
  font-style: normal;
  font-weight: 750;
  opacity: .62;
}
.referral-qr {
  display: grid;
  gap: 8px;
  justify-items: center;
  text-align: center;
  color: var(--muted);
  font-size: 12px;
}
.referral-qr-frame {
  width: 156px;
  aspect-ratio: 1;
  padding: 10px;
  border-radius: 8px;
  background: #050505;
  border: 1px solid rgba(255, 255, 255, .22);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .06);
}
.referral-qr-frame img {
  display: block;
  width: 100%;
  height: 100%;
}
.panel-divider {
  height: 1px;
  margin: 20px 0;
  background: var(--line);
}
.balance-switch-form {
  display: grid;
  gap: 14px;
}
.balance-note {
  margin: 10px 0 0;
  color: var(--ink);
  font-weight: 850;
}
.stat span {
  color: var(--muted);
  display: block;
  margin-bottom: 8px;
  font-weight: 750;
}
.stat b {
  display: block;
  font-size: 25px;
  letter-spacing: 0;
}
.stat small {
  display: block;
  margin-top: 6px;
  white-space: nowrap;
}
.table-card {
  padding: 0;
  overflow: hidden;
  margin-top: 16px;
}
.table-head {
  padding: 18px 20px;
  border-bottom: 1px solid var(--line);
  display: flex;
  justify-content: space-between;
  gap: 12px;
}
.table .row {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 16px;
  align-items: center;
  padding: 16px 20px;
  border-bottom: 1px solid var(--line);
}
.table .row:last-child { border-bottom: 0; }
.table .row.is-muted { opacity: .58; }
.revenue-history {
  margin-top: 16px;
}
.revenue-history summary {
  cursor: pointer;
  font-weight: 850;
  padding: 12px 0;
}
.revenue-history .table {
  border-top: 1px solid var(--line);
}
.compact-table {
  margin-top: 12px;
  border-top: 1px solid var(--line);
}
code {
  display: block;
  max-width: 100%;
  margin-top: 8px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  color: #222;
  background: var(--soft);
  padding: 9px 10px;
  border-radius: 10px;
}
.empty {
  padding: 24px;
  color: var(--muted);
}
.mini {
  border: 1px solid var(--ink);
  background: #fff;
  border-radius: 999px;
  min-height: 36px;
  padding: 0 13px;
  cursor: pointer;
  font: inherit;
  font-weight: 850;
}
.mini.danger {
  border-color: var(--danger);
  color: var(--danger);
}

.auth-layout {
  min-height: calc(100vh - 140px);
  display: grid;
  place-items: center;
  padding: 40px 18px;
}
.auth-card {
  width: min(100%, 480px);
}
.auth-card h1 {
  margin: 0 0 22px;
  font-size: 44px;
  letter-spacing: 0;
  text-align: center;
}
.form {
  display: grid;
  gap: 14px;
}
.form label {
  display: grid;
  gap: 8px;
  font-weight: 850;
}
input,
textarea,
select {
  width: 100%;
  min-height: 48px;
  border: 1px solid #dcdcdc;
  border-radius: 14px;
  padding: 0 13px;
  background: #fff;
  color: var(--ink);
  font: inherit;
}
textarea {
  min-height: 120px;
  padding: 13px;
  resize: vertical;
}
input:focus,
textarea:focus {
  outline: 2px solid #111;
  outline-offset: 2px;
}
.password-field {
  position: relative;
  display: block;
}
.password-field input {
  padding-right: 54px;
}
.password-toggle {
  position: absolute;
  top: 50%;
  right: 6px;
  transform: translateY(-50%);
  width: 38px;
  height: 38px;
  display: inline-grid;
  place-items: center;
  border: 0;
  border-radius: 999px;
  padding: 0;
  min-height: 0;
  background: transparent;
  color: var(--ink);
  cursor: pointer;
}
.password-toggle::before {
  content: "";
  width: 21px;
  height: 21px;
  background: currentColor;
  opacity: .74;
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M2 12s3.5-7 10-7 10 7 10 7-3.5 7-10 7S2 12 2 12z'/%3E%3Ccircle cx='12' cy='12' r='3'/%3E%3C/svg%3E") center / contain no-repeat;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M2 12s3.5-7 10-7 10 7 10 7-3.5 7-10 7S2 12 2 12z'/%3E%3Ccircle cx='12' cy='12' r='3'/%3E%3C/svg%3E") center / contain no-repeat;
}
.password-toggle.is-visible::before {
  opacity: .92;
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M2 12s3.5-7 10-7c2.1 0 3.9.7 5.4 1.7'/%3E%3Cpath d='M22 12s-3.5 7-10 7c-2.1 0-3.9-.7-5.4-1.7'/%3E%3Cpath d='M3 3l18 18'/%3E%3Cpath d='M9.9 9.9a3 3 0 0 0 4.2 4.2'/%3E%3Cpath d='M14.1 9.9a3 3 0 0 0-4.2 4.2'/%3E%3C/svg%3E") center / contain no-repeat;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M2 12s3.5-7 10-7c2.1 0 3.9.7 5.4 1.7'/%3E%3Cpath d='M22 12s-3.5 7-10 7c-2.1 0-3.9-.7-5.4-1.7'/%3E%3Cpath d='M3 3l18 18'/%3E%3Cpath d='M9.9 9.9a3 3 0 0 0 4.2 4.2'/%3E%3Cpath d='M14.1 9.9a3 3 0 0 0-4.2 4.2'/%3E%3C/svg%3E") center / contain no-repeat;
}
.password-toggle:hover {
  background: rgba(255,255,255,.08);
}
.password-toggle:focus-visible {
  outline: 2px solid currentColor;
  outline-offset: 2px;
}
input[type="file"] {
  padding: 11px;
}
.check-line {
  grid-template-columns: 22px 1fr;
  align-items: start;
  gap: 10px;
  color: #f4f4f4;
  font-size: 14px;
  line-height: 1.4;
}
.check-line input {
  width: 18px;
  min-height: 18px;
  height: 18px;
  margin-top: 2px;
  accent-color: var(--ink);
}
.check-line a,
.legal-doc a {
  color: #fff;
  text-decoration: underline;
  text-underline-offset: 3px;
}
.auth-actions {
  display: grid;
  gap: 10px;
  margin-top: 14px;
}
.auth-actions .btn {
  width: 100%;
}
.auth-guide {
  margin-top: 22px;
  padding-top: 20px;
  border-top: 1px solid var(--line);
}
.auth-guide h2 {
  margin: 0 0 12px;
  font-size: 18px;
  text-align: center;
}
.auth-guide ol {
  margin: 0;
  padding-left: 20px;
  color: var(--muted);
  line-height: 1.55;
}
.auth-guide li + li {
  margin-top: 7px;
}
.legal-doc .panel {
  display: grid;
  gap: 14px;
  line-height: 1.72;
}
.legal-doc h2 {
  margin: 22px 0 2px;
  padding-top: 18px;
  border-top: 1px solid var(--line);
  font-size: 22px;
}
.legal-doc h2:first-child {
  margin-top: 0;
  padding-top: 0;
  border-top: 0;
}
.legal-doc h3 {
  margin: 14px 0 0;
  font-size: 18px;
}
.legal-doc p {
  margin: 0;
  color: var(--muted);
}
.legal-doc ul {
  margin: 0;
  padding-left: 0;
  list-style: none;
}
.legal-doc li {
  position: relative;
  margin: 8px 0;
  padding-left: 18px;
  color: var(--muted);
}
.legal-doc li::before {
  content: "";
  position: absolute;
  top: .78em;
  left: 0;
  width: 5px;
  height: 5px;
  border-radius: 999px;
  background: currentColor;
  opacity: .75;
}
.markdown-doc strong {
  color: var(--ink);
  font-weight: 700;
}
.split,
.two-col {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}
.compact { margin-top: 16px; }
.connect-secondary-actions {
  margin-top: 24px;
}
.download-meta {
  display: grid;
  gap: 8px;
  margin-bottom: 22px;
  color: #333;
}
.method-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}
.device-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}
.method-card {
  appearance: none;
  -webkit-appearance: none;
  width: 100%;
  min-height: 120px;
  text-align: left;
  padding: 22px;
  border: 1px solid var(--line);
  background: #fff;
  border-radius: 22px;
  cursor: pointer;
  transition: transform .18s ease, border-color .18s ease;
  font: inherit;
}
.method-card:hover {
  transform: translateY(-2px);
  border-color: var(--ink);
}
.method-card.is-disabled,
.method-card:disabled {
  opacity: .48;
  cursor: not-allowed;
  transform: none;
}
.method-card .method-title,
.method-card .method-action {
  display: block;
}
.method-card .method-title {
  font-size: 22px;
  line-height: 1.15;
  margin-bottom: 12px;
  color: var(--ink);
  font-weight: 950;
  white-space: normal;
  overflow-wrap: anywhere;
}
.method-card .method-action {
  color: var(--muted);
  font-size: 15px;
  font-weight: 750;
}
.price-editor {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
  margin: 18px 0;
}
.price-editor small {
  display: block;
  margin-top: 6px;
}
.resource-grid {
  grid-template-columns: 1.3fr 1fr 1fr;
  align-items: end;
  margin: 18px 0;
}
.notice-text {
  margin: 8px 0 0;
  color: #333;
}
[hidden] {
  display: none !important;
}
.support-form {
  display: grid;
  gap: 14px;
  margin-bottom: 18px;
}
.support-form label,
.reply-form label {
  display: grid;
  gap: 8px;
  font-weight: 850;
}
.support-list {
  display: grid;
  gap: 16px;
}
.support-row {
  padding: 0;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: var(--panel);
}
.support-ticket-link {
  color: inherit;
  text-decoration: none;
}
.support-ticket-link:hover {
  border-color: color-mix(in srgb, var(--accent) 45%, var(--line));
}
.support-summary {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 14px;
  align-items: center;
  padding: 16px 20px;
  cursor: pointer;
  list-style: none;
}
.support-summary::-webkit-details-marker {
  display: none;
}
.support-summary h2 {
  margin: 0 0 6px;
  font-size: 20px;
}
.promo-code-line {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
  min-width: 0;
}
.promo-code-line code {
  display: inline-block;
  max-width: 100%;
  overflow-wrap: anywhere;
  margin-top: 0;
  cursor: pointer;
}
.support-row[open] .support-summary {
  border-bottom: 1px solid var(--line);
}
.support-summary.is-static {
  cursor: default;
}
.support-ticket-link .support-summary.is-static {
  cursor: pointer;
}
.support-row .support-thread {
  padding: 16px;
}
.support-admin-card {
  margin-bottom: 18px;
}
.admin-support-list {
  padding: 16px;
}
.support-thread {
  display: grid;
  gap: 16px;
}
.promo-edit-form {
  margin-bottom: 0;
}
.promo-active-line {
  align-self: end;
  min-height: 48px;
}
.promo-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: center;
}
.support-admin-card .support-thread {
  padding: 16px;
  border-bottom: 0;
}
.support-head {
  display: flex;
  align-items: start;
  justify-content: space-between;
  gap: 14px;
}
.support-head h2 {
  margin: 0 0 6px;
}
.chat-log {
  display: grid;
  gap: 10px;
}
.chat-message {
  width: min(760px, 100%);
  padding: 13px 14px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: var(--soft);
}
.chat-message.is-admin {
  justify-self: end;
  background: var(--soft-2);
}
.chat-message p {
  margin: 6px 0;
  line-height: 1.55;
  white-space: pre-wrap;
  overflow-wrap: anywhere;
}
.reply-form {
  display: grid;
  gap: 12px;
}
.support-delete-form {
  justify-self: start;
}
.error-panel h1 {
  margin: 0 0 14px;
  font-size: clamp(36px, 5vw, 68px);
  letter-spacing: 0;
}

.flash-wrap {
  position: fixed;
  top: 86px;
  right: 18px;
  z-index: 100;
  display: grid;
  gap: 8px;
}
.flash {
  padding: 12px 14px;
  background: #fff;
  border: 1px solid var(--ink);
  border-radius: 14px;
  box-shadow: 0 14px 36px rgba(0,0,0,.14);
}
.flash.error {
  border-color: var(--danger);
  color: var(--danger);
}
.footer {
  margin-top: auto;
  flex-shrink: 0;
  border-top: 1px solid var(--line);
  min-height: 72px;
  padding: 0 clamp(18px, 5vw, 72px);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  color: var(--muted);
}
.reveal {
  opacity: 1;
  transform: none;
  animation: none;
}
.delay { animation-delay: 0s; }

.edh-hero {
  grid-template-columns: minmax(0, 1fr) minmax(340px, .78fr);
  min-height: calc(100vh - 70px);
}
.edh-hero h1 {
  max-width: 980px;
  font-size: clamp(54px, 9vw, 132px);
  line-height: .82;
  text-transform: uppercase;
}
.lead {
  color: #d8d8d8;
}
.lead.secondary {
  color: #9f9f9f;
  font-size: clamp(16px, 1.7vw, 20px);
}
.eyebrow {
  color: #8d8d8d;
}
.hero-facts span,
.pill {
  border-color: rgba(255,255,255,.16);
  background: rgba(255,255,255,.06);
  color: #f1f1f1;
}
.btn,
button.btn {
  border-color: #fff;
  color: #fff;
}
.btn.primary {
  background: #fff;
  color: #050505;
  box-shadow: 0 18px 48px rgba(255,255,255,.1);
}
.btn.ghost:hover,
.btn.primary:hover {
  background: #fff;
  color: #050505;
}
.terminal-card {
  width: min(100%, 520px);
  border: 1px solid rgba(255,255,255,.18);
  border-radius: 28px;
  background:
    linear-gradient(145deg, rgba(255,255,255,.1), rgba(255,255,255,.035)),
    #0b0b0b;
  box-shadow: 0 34px 90px rgba(0,0,0,.52);
  overflow: hidden;
}
.terminal-top {
  display: flex;
  gap: 8px;
  padding: 18px 20px;
  border-bottom: 1px solid rgba(255,255,255,.12);
}
.terminal-top span {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: #fff;
  opacity: .65;
}
.terminal-body {
  padding: clamp(22px, 4vw, 34px);
}
.terminal-path {
  margin: 0 0 22px;
  color: #8f8f8f;
  font-size: 13px;
  font-weight: 850;
  text-transform: uppercase;
}
.terminal-body h2 {
  margin: 0;
  font-size: clamp(34px, 4vw, 56px);
  line-height: .95;
}
.signal-panel {
  position: absolute;
  right: 0;
  bottom: 52px;
  width: min(82%, 280px);
  display: grid;
  gap: 8px;
  padding: 18px;
  border: 1px solid rgba(255,255,255,.2);
  border-radius: 22px;
  background: rgba(255,255,255,.94);
  color: #050505;
  box-shadow: 0 28px 70px rgba(0,0,0,.42);
}
.signal-panel b,
.signal-panel span {
  display: block;
}
.signal-panel b {
  font-size: 18px;
}
.signal-panel span {
  color: #303030;
  font-weight: 750;
}
.transfer-lines {
  color: #cfcfcf;
}
.progress {
  background: rgba(255,255,255,.14);
}
.progress span {
  background: #fff;
}
.metrics {
  border-color: rgba(255,255,255,.12);
  background: #080808;
}
.metrics div {
  border-color: rgba(255,255,255,.12);
}
.metrics span {
  color: #9e9e9e;
}
.band {
  background: #050505;
}
.story-band {
  background: #0a0a0a;
}
.dark-band {
  background: #111;
}
.section-title h2 {
  color: #fff;
}
.features article,
.price-card,
.stat,
.panel,
.table-card,
.auth-card {
  background: #0f0f0f;
  border-color: rgba(255,255,255,.13);
  box-shadow: 0 20px 70px rgba(0,0,0,.28);
}
.features article:hover,
.price-card:hover {
  border-color: rgba(255,255,255,.34);
}
.features p,
.price-card p,
.muted,
small {
  color: #aaa;
}
.story-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
}
.story-grid article {
  min-height: 250px;
  padding: 22px;
  border: 1px solid rgba(255,255,255,.13);
  border-radius: 24px;
  background: linear-gradient(180deg, rgba(255,255,255,.08), rgba(255,255,255,.035));
}
.story-grid span {
  display: block;
  margin-bottom: 32px;
  color: #888;
  font-weight: 950;
}
.story-grid b {
  display: block;
  margin-bottom: 12px;
  font-size: 22px;
}
.story-grid p {
  color: #b7b7b7;
  line-height: 1.55;
}
.process-list {
  display: grid;
  border: 1px solid rgba(255,255,255,.13);
  border-radius: 28px;
  overflow: hidden;
}
.process-list div {
  display: grid;
  grid-template-columns: minmax(180px, .45fr) 1fr;
  gap: 18px;
  padding: 24px;
  border-bottom: 1px solid rgba(255,255,255,.12);
  background: rgba(255,255,255,.035);
}
.process-list div:last-child {
  border-bottom: 0;
}
.process-list b {
  font-size: 19px;
}
.process-list span {
  color: #b4b4b4;
  line-height: 1.55;
}
code,
input,
textarea {
  background: #080808;
  color: #f7f7f7;
  border-color: rgba(255,255,255,.16);
}
input:focus,
textarea:focus {
  outline-color: #fff;
}
.mini {
  background: #fff;
  color: #050505;
  border-color: #fff;
}
.method-card {
  background: #0f0f0f;
  border-color: rgba(255,255,255,.16);
  color: #fff;
  display: block;
  text-decoration: none;
}
.method-card:hover,
.method-card.is-selected {
  border-color: #fff;
}
.method-card.is-selected {
  background: #171717;
}
.method-card .method-title {
  color: #fff;
}
.method-card .method-action {
  color: #a8a8a8;
}
.payment-action-form {
  display: grid;
  gap: 14px;
}
.payment-action-form .btn {
  width: 100%;
}
.payment-prepare {
  min-height: 70vh;
  display: grid;
  place-items: center;
}
.payment-blank .payment-prepare {
  min-height: 100vh;
  padding-top: 24px;
  padding-bottom: 24px;
}
.prepare-card {
  width: min(100%, 680px);
  display: grid;
  gap: 18px;
  padding: 34px;
  border: 1px solid rgba(255,255,255,.14);
  border-radius: 28px;
  background: linear-gradient(180deg, rgba(255,255,255,.08), rgba(255,255,255,.035));
  box-shadow: 0 30px 90px rgba(0,0,0,.36);
}
.prepare-card h1 {
  margin: 0;
  font-size: clamp(38px, 7vw, 76px);
  line-height: .92;
  letter-spacing: 0;
}
.prepare-loader {
  height: 8px;
  overflow: hidden;
  border-radius: 999px;
  background: rgba(255,255,255,.12);
}
.prepare-loader span {
  display: block;
  width: 100%;
  height: 100%;
  border-radius: inherit;
  background: #fff;
  transform-origin: left center;
  transform: scaleX(1);
}
.flash {
  background: #111;
  color: #fff;
  border-color: rgba(255,255,255,.22);
}
.footer {
  border-color: rgba(255,255,255,.12);
  background: #050505;
}

@keyframes reveal {
  to { opacity: 1; transform: translateY(0); }
}
@keyframes spin {
  to { transform: rotate(360deg); }
}
@keyframes floatLogo {
  0%, 100% { transform: translateY(0) scale(1); }
  50% { transform: translateY(-12px) scale(1.02); }
}
@keyframes floatPanel {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-10px); }
}
@keyframes progressFill {
  from { width: 0; }
  to { width: 72%; }
}
@keyframes prepareFill {
  from { transform: scaleX(0); }
  to { transform: scaleX(1); }
}

@media (max-width: 980px) {
  .hero,
  .features,
  .story-grid,
  .pricing,
  .stats-grid,
  .method-grid,
  .two-col,
  .protection-grid,
  .price-editor,
  .resource-grid,
  .metrics {
    grid-template-columns: 1fr;
  }
  .hero {
    padding-top: 48px;
  }
  .hero-visual {
    min-height: 430px;
  }
  .signal-panel {
    position: relative;
    right: auto;
    bottom: auto;
    width: 100%;
    margin-top: 16px;
  }
  .process-list div {
    grid-template-columns: 1fr;
  }
  .mini-card {
    right: 0;
    top: 26px;
  }
  .upload-card {
    left: 0;
    bottom: 22px;
  }
  .metrics div {
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }
  .metrics div:last-child {
    border-bottom: 0;
  }
  .table .row {
    grid-template-columns: 1fr;
  }
  .topbar {
    align-items: center;
    flex-direction: row;
  }
  .nav {
    width: auto;
  }
}

@media (max-width: 760px) {
  html,
  body {
    width: 100%;
  }
  body {
    background-size: 44px 44px;
  }
  .topbar {
    position: sticky;
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: center;
    gap: 8px;
    padding: 8px 14px;
  }
  .brand {
    width: auto;
    font-size: 16px;
    min-width: 0;
  }
  .brand span {
    min-width: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
  }
  .brand-avatar {
    width: 30px;
    height: 30px;
    flex: 0 0 auto;
  }
  .nav {
    grid-column: 1 / -1;
    display: flex;
    flex-wrap: nowrap;
    overflow-x: auto;
    width: 100%;
    padding-bottom: 2px;
    gap: 4px;
    -webkit-overflow-scrolling: touch;
  }
  .topbar.is-authenticated:not(.is-closed) .nav {
    display: flex;
  }
  .topbar.is-authenticated.is-closed .nav {
    display: none;
  }
  .nav-toggle {
    display: inline-flex;
  }
  .nav a {
    flex: 0 0 auto;
    min-height: 34px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 6px 8px;
    font-size: 13px;
    text-align: center;
    white-space: nowrap;
  }
  .nav-separated {
    margin-left: 0;
  }
  .nav-separated::before {
    display: none;
  }
  .hero {
    min-height: auto;
    padding: 34px 16px;
    gap: 26px;
  }
  .hero h1 {
    font-size: clamp(40px, 16vw, 70px);
    line-height: .9;
    overflow-wrap: anywhere;
  }
  .edh-hero h1 {
    font-size: clamp(42px, 18vw, 74px);
    line-height: .88;
    overflow-wrap: anywhere;
  }
  .lead {
    font-size: 16px;
  }
  .hero-actions .btn,
  .inline-actions .btn,
  .inline-actions form,
  .inline-actions button,
  .payment-action-form .btn {
    width: 100%;
  }
  .referral-box {
    grid-template-columns: 1fr;
  }
  .referral-qr {
    justify-items: start;
    text-align: left;
  }
  .referral-qr-frame {
    width: min(180px, 100%);
  }
  .hero-facts span {
    flex: 1 1 calc(50% - 8px);
    justify-content: center;
    text-align: center;
  }
  .hero-visual {
    min-height: auto;
    display: block;
  }
  .orbit {
    display: none;
  }
  .motion-card {
    position: relative;
    inset: auto;
    width: 100%;
    margin: 12px 0;
    animation: none;
  }
  .terminal-card {
    width: 100%;
    border-radius: 20px;
  }
  .terminal-body h2 {
    font-size: 32px;
    overflow-wrap: anywhere;
  }
  .terminal-path,
  .transfer-lines {
    font-size: 12px;
    overflow-wrap: anywhere;
  }
  .metrics div,
  .band,
  .workspace {
    padding-left: 16px;
    padding-right: 16px;
  }
  .workspace {
    padding-top: 28px;
    padding-bottom: 52px;
  }
  .page-head {
    align-items: stretch;
    flex-direction: column;
  }
  .page-head .btn {
    width: 100%;
  }
  .section-title h2,
  .page-head h1,
  .prepare-card h1 {
    font-size: clamp(30px, 10vw, 44px);
    line-height: 1;
  }
  .story-grid article,
  .features article,
  .price-card,
  .panel,
  .table-card,
  .auth-card,
  .prepare-card {
    border-radius: 18px;
    padding: 18px;
  }
  .table-card {
    padding: 0;
  }
  .auth-layout {
    min-height: auto;
    padding: 28px 16px 48px;
  }
  .auth-card h1 {
    font-size: clamp(32px, 10vw, 42px);
    line-height: 1;
  }
  .stats-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
  }
  .stat {
    padding: 16px;
  }
  .stat b {
    font-size: 20px;
    overflow-wrap: anywhere;
  }
  .pricing.billing-pricing,
  .method-grid {
    gap: 10px;
  }
  .device-grid {
    grid-template-columns: 1fr;
  }
  .method-card {
    min-height: 92px;
    padding: 16px;
    border-radius: 18px;
  }
  .method-card .method-title {
    font-size: 18px;
  }
  .table .row {
    padding: 14px;
    gap: 12px;
  }
  .table .row form,
  .table .row .mini {
    width: 100%;
  }
  .table-head {
    align-items: flex-start;
    flex-direction: column;
    padding: 14px;
  }
  .resource-grid {
    gap: 10px;
  }
  .price-editor {
    gap: 10px;
  }
  input {
    min-height: 46px;
  }
  .prepare-card {
    padding: 22px;
  }
  code {
    white-space: normal;
    overflow-wrap: anywhere;
  }
  .footer {
    flex-direction: column;
    align-items: flex-start;
    padding: 18px 16px;
  }
  .flash-wrap {
    left: 12px;
    right: 12px;
    top: 62px;
  }
}

@media (max-width: 420px) {
  .stats-grid {
    grid-template-columns: 1fr;
  }
  .hero-facts span {
    flex-basis: 100%;
  }
  .btn,
  button.btn {
    min-height: 46px;
    padding-left: 14px;
    padding-right: 14px;
  }
  .price-card strong {
    font-size: 30px;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
    scroll-behavior: auto !important;
  }
}
