@font-face {
  font-family: "PD Space";
  src: url("/assets/fonts/space-grotesk-latin.woff2") format("woff2");
  font-display: swap;
  font-style: normal;
  font-weight: 300 700;
}

@font-face {
  font-family: "PD Mono";
  src: url("/assets/css/fonts/JetBrainsMono-Regular.woff2") format("woff2");
  font-display: swap;
  font-style: normal;
  font-weight: 400;
}

:root {
  --wallet-page: var(--pd-ui-bg);
  --wallet-section: var(--pd-ui-surface);
  --wallet-raised: var(--pd-ui-raised);
  --wallet-text: var(--pd-ui-text);
  --wallet-secondary: var(--pd-ui-secondary);
  --wallet-muted: var(--pd-ui-muted);
  --wallet-line: var(--pd-ui-line);
  --wallet-line-strong: var(--pd-ui-line-hover);
  --wallet-evidence: var(--pd-ui-accent);
  --wallet-verified: #35c982;
  --wallet-danger: #f15b64;
  --wallet-ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --wallet-ease-in: cubic-bezier(0.7, 0, 0.84, 0);
}

html {
  background: var(--wallet-page);
}

body {
  min-height: 100vh;
  color: var(--wallet-secondary);
  background:
    var(--pd-ui-bg);
  font-family: "PD Space", "Segoe UI", sans-serif;
  font-size: 16px;
  line-height: 1.6;
}

body::before {
  position: fixed;
  z-index: -1;
  inset: 0;
  background-image:
    linear-gradient(rgba(148, 163, 184, 0.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(148, 163, 184, 0.025) 1px, transparent 1px);
  background-size: 72px 72px;
  content: "";
  pointer-events: none;
  -webkit-mask-image: linear-gradient(to bottom, #000, transparent 78%);
  mask-image: linear-gradient(to bottom, #000, transparent 78%);
}

.pd-grid-bg,.pd-grain,.pd-orb,.bg-pattern,.grid-overlay,.particles,.scan-line,.logo-glow,.shield-icon {
  display: none !important;
}

.pd-breadcrumb--v2 {
  border-bottom: 1px solid var(--wallet-line);
  background: rgba(7, 10, 15, 0.76);
}

body > main.wallet-gate:not(.pd-container) {
  display: grid !important;
  grid-template-columns: minmax(0, 1fr) minmax(340px, 420px);
  gap: clamp(48px, 7vw, 104px);
  align-items: center;
  justify-self: stretch;
  width: min(1160px, calc(100% - 48px));
  max-width: none;
  margin: clamp(72px, 9vw, 132px) auto;
}

.wallet-intro,.wallet-verification {
  box-sizing: border-box;
  min-width: 0;
}

.wallet-intro {
  animation: wallet-enter 240ms var(--wallet-ease-out) both;
}

.wallet-eyebrow,.wallet-panel-label {
  margin: 0 0 20px;
  color: var(--wallet-evidence);
  font: 400 12px/1.4 "PD Mono", monospace;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.wallet-intro h1:not(.pd-page-h1) {
  max-width: 760px;
  margin: 0;
  color: var(--wallet-text);
  font-size: clamp(3rem, 6.4vw, 6.3rem);
  font-weight: 600;
  letter-spacing: -0.065em;
  line-height: 0.94;
  text-wrap: balance;
}

.wallet-lead {
}

.wallet-metrics {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  max-width: 620px;
  margin: clamp(40px, 6vw, 72px) 0 0;
  border-top: 1px solid var(--wallet-line-strong);
  border-bottom: 1px solid var(--wallet-line);
}

.wallet-metrics > div {
  padding: 22px 0 20px;
}

.wallet-metrics > div + div {
  padding-left: 28px;
  border-left: 1px solid var(--wallet-line);
}

.wallet-metrics dt,.wallet-metrics dd {
  margin: 0;
}

.wallet-metrics dt {
  color: var(--wallet-muted);
  font: 400 12px/1.4 "PD Mono", monospace;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.wallet-metrics dd {
  margin-top: 6px;
  color: var(--wallet-text);
  font-size: clamp(1.4rem, 2.5vw, 2rem);
  font-weight: 600;
  letter-spacing: -0.035em;
  line-height: 1.2;
}

.wallet-notes {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 24px;
  margin: 20px 0 0;
  padding: 0;
  color: var(--wallet-muted);
  font-size: 0.82rem;
  list-style: none;
}

.wallet-notes li {
  position: relative;
  padding-left: 14px;
}

.wallet-notes li::before {
  position: absolute;
  top: 0.72em;
  left: 0;
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: var(--wallet-verified);
  content: "";
}

.wallet-verification {
  position: relative;
  padding: clamp(28px, 4vw, 44px);
  overflow: hidden;
  border: 1px solid var(--wallet-line-strong);
  border-radius: 14px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.025), transparent 28%),
    var(--wallet-raised);
  box-shadow:
    0 28px 70px rgba(0, 0, 0, 0.32),
    inset 0 1px rgba(255, 255, 255, 0.035);
  animation: wallet-enter 260ms 60ms var(--wallet-ease-out) both;
}

.wallet-verification::before {
  position: absolute;
  top: 0;
  right: 0;
  left: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--wallet-evidence) 0 18%, transparent 18%);
  content: "";
}

.wallet-verification .wallet-panel-label {
  margin-bottom: 18px;
  color: var(--wallet-muted);
}

.wallet-verification h2 {
  max-width: 12ch;
  margin: 0;
  color: var(--wallet-text);
  font-size: clamp(1.75rem, 3vw, 2.35rem);
  font-weight: 600;
  letter-spacing: -0.045em;
  line-height: 1.08;
  text-wrap: balance;
}

.wallet-verification-copy {
  margin: 18px 0 0;
  color: var(--wallet-secondary);
  font-size: 0.95rem;
  line-height: 1.65;
}

.wallet-captcha {
  display: flex;
  min-height: 78px;
  margin-top: 30px;
  align-items: center;
  justify-content: flex-start;
}

.wallet-privacy {
  display: flex;
  gap: 9px;
  align-items: flex-start;
  margin: 22px 0 0;
  padding-top: 20px;
  color: var(--wallet-muted);
  border-top: 1px solid var(--wallet-line);
  font-size: 0.78rem;
  line-height: 1.55;
}

.wallet-privacy svg {
  width: 16px;
  height: 16px;
  flex: 0 0 16px;
  margin-top: 2px;
}

.wallet-privacy a {
  color: var(--wallet-evidence);
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
  transition: color 160ms var(--wallet-ease-out);
}

.wallet-privacy a:hover {
  color: var(--wallet-text);
}

.wallet-error {
  margin-top: 18px;
  padding: 12px 14px;
  color: var(--pd-ui-text);
  border-left: 3px solid var(--wallet-danger);
  background: rgba(241, 91, 100, 0.08);
  font-size: 0.875rem;
}

.hidden {
  display: none !important;
}

.success-overlay {
  position: fixed;
  z-index: 100;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  visibility: hidden;
  background: rgba(7, 10, 15, 0.92);
  opacity: 0;
  transition:
    opacity 180ms var(--wallet-ease-out),
    visibility 0s linear 180ms;
}

.success-overlay.active {
  visibility: visible;
  opacity: 1;
  transition-delay: 0s;
}

.wallet-success {
  width: min(420px, 100%);
  padding: 38px;
  color: var(--wallet-secondary);
  border: 1px solid var(--wallet-line-strong);
  border-radius: 14px;
  background: var(--wallet-raised);
  text-align: left;
  transform: translateY(10px);
  transition: transform 220ms var(--wallet-ease-out);
}

.success-overlay.active .wallet-success {
  transform: translateY(0);
}

.wallet-success svg {
  width: 34px;
  height: 34px;
  color: var(--wallet-verified);
}

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

.wallet-success strong {
  margin-top: 22px;
  color: var(--wallet-text);
  font-size: 1.6rem;
  font-weight: 600;
  letter-spacing: -0.035em;
}

.wallet-success span {
  margin-top: 6px;
  color: var(--wallet-muted);
  font-size: 0.9rem;
}

.shake {
  animation: wallet-shake 180ms var(--wallet-ease-in) 2;
}

@keyframes wallet-enter {
  from {
    opacity: 0;
    transform: translateY(12px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes wallet-shake {
  0%,100% {
    transform: translateX(0);
  }

  35% {
    transform: translateX(-5px);
  }

  70% {
    transform: translateX(5px);
  }
}

@media (max-width: 880px) {
  body > main.wallet-gate:not(.pd-container) {
    grid-template-columns: 1fr;
    gap: 48px;
    width: min(680px, calc(100% - 40px));
    margin: 64px auto 84px;
  }

  .wallet-intro h1:not(.pd-page-h1) {
    max-width: 9ch;
  }

  .wallet-verification {
    width: 100%;
  }
}

@media (max-width: 520px) {
  body > main.wallet-gate:not(.pd-container) {
    width: min(100% - 32px, 680px);
    margin: 48px auto 68px;
  }

  .wallet-intro h1:not(.pd-page-h1) {
    font-size: clamp(2.7rem, 14vw, 4.2rem);
  }

  .wallet-lead {
  }

  .wallet-metrics {
    margin-top: 40px;
  }

  .wallet-metrics > div {
    padding: 18px 0;
  }

  .wallet-metrics > div + div {
    padding-left: 18px;
  }

  .wallet-verification {
    padding: 26px 22px;
  }

  .wallet-captcha {
    margin-right: -6px;
    transform: scale(0.92);
    transform-origin: left center;
  }
}

@media (max-width: 360px) {
  .wallet-captcha {
    transform: scale(0.82);
  }
}

@media (prefers-reduced-motion: reduce) {
  *,*::before,*::after {
    scroll-behavior: auto !important;
    animation: none !important;
    transition-duration: 0.01ms !important;
    transition-delay: 0s !important;
  }

  .wallet-intro,.wallet-verification,.wallet-success {
    opacity: 1;
    transform: none;
  }
}
/* audit 70: public preview + verification states */
.wallet-gate .wallet-preview{text-align:start;margin:20px 0 4px;padding:16px 18px;border:1px solid rgba(255,255,255,.1);border-radius:12px;background:rgba(255,255,255,.02)}
.wallet-gate .wallet-preview-list{margin:8px 0 10px;padding:0;list-style:none;display:grid;gap:6px;font-size:14px;line-height:21px;color:var(--pd-ui-text)}
.wallet-gate .wallet-preview-list li::before{content:"✓";color:var(--pd-ui-text);margin-right:8px}
.wallet-gate .wallet-preview-list strong{color:var(--pd-ui-text);font-weight:600}
.wallet-gate .wallet-preview-status{margin:0 0 12px;font-size:13px;line-height:19px;color:#e9c27a}
.wallet-gate .wallet-preview-table{font:400 12px/18px "JetBrains Mono",ui-monospace,monospace;color:var(--pd-ui-text);border:1px solid rgba(255,255,255,.08);border-radius:8px;overflow:hidden}
.wallet-gate .wallet-preview-head,.wallet-gate .wallet-preview-row{display:grid;grid-template-columns:1.3fr 1.2fr .9fr .6fr .9fr;gap:8px;padding:8px 12px}
.wallet-gate .wallet-preview-head{background:rgba(255,255,255,.04);text-transform:uppercase;letter-spacing:.06em;font-size:11px}
.wallet-gate .wallet-preview-row{color:var(--pd-ui-text);font-variant-numeric:tabular-nums}
.wallet-gate .wallet-preview-note{margin:0;padding:6px 12px;font:italic 400 12px/18px Inter,system-ui,sans-serif;color:var(--pd-ui-text);border-top:1px solid rgba(255,255,255,.06)}
.wallet-gate .wallet-captcha{min-height:78px}
.wallet-gate .wallet-captcha-status{margin:8px 0 0;font-size:13px;line-height:19px;color:#c9d4df}
.wallet-gate .wallet-captcha-status[hidden]{display:none}
.wallet-gate .wallet-next{margin:12px 0 0;font-size:13px;line-height:19px;color:var(--pd-ui-text)}
@media (max-width:640px){.wallet-gate .wallet-preview-head,.wallet-gate .wallet-preview-row{grid-template-columns:1.3fr 1fr .8fr}.wallet-gate .wallet-preview-head span:nth-child(n+4),.wallet-gate .wallet-preview-row span:nth-child(n+4){display:none}}
