

:root {
  --void: #050505;
  --smoke: #101012;
  --bone: #f4f4f2;
  --ash: #8d8d92;
  --ash-2: #5c5c62;
  --fog: rgba(255, 255, 255, 0.06);
  --fog-2: rgba(255, 255, 255, 0.10);
  --edge: rgba(255, 255, 255, 0.12);
  --edge-hi: rgba(255, 255, 255, 0.28);
  --display: "Manrope", system-ui, -apple-system, "Segoe UI", sans-serif;
  --body: "Manrope", system-ui, -apple-system, "Segoe UI", sans-serif;
  --mono: "JetBrains Mono", ui-monospace, SFMono-Regular, Menlo, monospace;
  --r-sm: 12px;
  --r: 20px;
  --r-lg: 28px;
  --max: 1180px;
  --ease: cubic-bezier(.22, 1, .36, 1);
  --slant: -18deg;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--void);
  color: var(--bone);
  font-family: var(--body);
  font-size: 15.5px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; cursor: pointer; }
p { margin: 0; }
h1, h2, h3 { margin: 0; font-family: var(--display); letter-spacing: -0.025em; line-height: 1.05; }
h1 { font-size: clamp(2.6rem, 5.8vw, 5rem); font-weight: 700; letter-spacing: -0.04em; line-height: 1.02; }
h2 { font-size: clamp(1.8rem, 3.4vw, 2.7rem); font-weight: 700; }
h3 { font-size: 1.1rem; font-weight: 600; letter-spacing: -0.01em; line-height: 1.25; }
[hidden] { display: none !important; }
.mono { font-family: var(--mono); font-size: 0.9em; letter-spacing: 0; }
.fine { color: var(--ash); font-size: 0.8rem; line-height: 1.5; }
.label, .sidebar-label, .price-label {
  display: block; text-transform: uppercase; letter-spacing: .16em; font-size: 0.66rem; font-weight: 700; color: var(--ash);
}
:focus-visible { outline: 2px solid var(--bone); outline-offset: 3px; border-radius: 4px; }


.ambient { position: fixed; inset: 0; z-index: 0; pointer-events: none; overflow: hidden; contain: strict; }
.orb {
  position: absolute; border-radius: 50%;
  background: radial-gradient(circle at 50% 50%, rgba(255,255,255,.13), rgba(255,255,255,.05) 35%, rgba(255,255,255,0) 68%);
}
.orb-a { width: 80vw; height: 80vw; top: -35vw; left: -20vw; will-change: transform; animation: drift 40s ease-in-out infinite alternate; }
.orb-b { width: 60vw; height: 60vw; top: 20vh; right: -25vw; opacity: .7; }
.orb-c { display: none; }
@keyframes drift {
  from { transform: translate3d(0, 0, 0); }
  to   { transform: translate3d(6vw, 5vh, 0); }
}


.glass {
  position: relative;
  background: linear-gradient(135deg, rgba(255,255,255,.085), rgba(255,255,255,.025) 60%, rgba(255,255,255,.04));
  border: 1px solid var(--edge);
  border-radius: var(--r);
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,.18),
    inset 0 -1px 0 rgba(0,0,0,.35),
    0 20px 50px -20px rgba(0,0,0,.8);
  -webkit-backdrop-filter: blur(14px);
  backdrop-filter: blur(14px);
}

.tile, .sidebar, .mail-list, .reader, .card, .co, .empty, .tier-card {
  -webkit-backdrop-filter: none; backdrop-filter: none;
  background: linear-gradient(135deg, rgba(255,255,255,.07), rgba(255,255,255,.03) 60%, rgba(255,255,255,.045));
}

.sheen {
  position: absolute; inset: -40% -60%; pointer-events: none; z-index: 0;
  background: linear-gradient(100deg, transparent 40%, rgba(255,255,255,.10) 50%, transparent 60%);
  transform: translateX(-70%) skewX(var(--slant));
  transition: transform 1.1s var(--ease);
}
.glass:hover > .sheen { transform: translateX(70%) skewX(var(--slant)); }
.glass > *:not(.sheen) { position: relative; z-index: 1; }


.btn {
  position: relative; display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 11px 20px; border-radius: 999px; font-weight: 700; font-size: 0.9rem; white-space: nowrap;
  border: 1px solid transparent; overflow: hidden; isolation: isolate;
  transition: transform .25s var(--ease), background .25s, border-color .25s, box-shadow .25s, opacity .2s;
}
.btn:active { transform: scale(.965); }
.btn-primary {
  background: var(--bone); color: var(--void);
  box-shadow: 0 1px 0 rgba(255,255,255,.6) inset, 0 10px 30px -10px rgba(255,255,255,.35);
}
.btn-primary:hover { box-shadow: 0 1px 0 rgba(255,255,255,.6) inset, 0 14px 40px -8px rgba(255,255,255,.5); }
.btn-ghost {
  background: var(--fog-2); color: var(--bone); border-color: var(--edge);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.14);
}
.btn-ghost::after {
  content: ""; position: absolute; inset: -40% -60%; z-index: -1;
  background: linear-gradient(100deg, transparent 42%, rgba(255,255,255,.16) 50%, transparent 58%);
  transform: translateX(-80%) skewX(var(--slant)); transition: transform .9s var(--ease);
}
.btn-ghost:hover { border-color: var(--edge-hi); }
.btn-ghost:hover::after { transform: translateX(80%) skewX(var(--slant)); }
.btn-lg { padding: 15px 28px; font-size: 1rem; }
.btn-sm { padding: 7px 14px; font-size: 0.8rem; font-weight: 600; }
.btn-block { width: 100%; }
.btn:disabled { opacity: .4; cursor: not-allowed; transform: none; }


.nav-wrap { position: fixed; top: 14px; left: 0; right: 0; z-index: 40; display: flex; justify-content: center; padding: 0 14px; pointer-events: none; }
.nav {
  pointer-events: auto; width: min(var(--max), 100%); display: flex; align-items: center; gap: 28px;
  padding: 10px 12px 10px 16px; border-radius: 999px;
  transition: transform .4s var(--ease), box-shadow .4s;
  animation: nav-in .9s var(--ease) both;
}
@keyframes nav-in { from { opacity: 0; transform: translateY(-16px); } to { opacity: 1; transform: none; } }
.brand { display: flex; align-items: center; gap: 10px; font-family: var(--display); font-weight: 700; font-size: 1.05rem; letter-spacing: -0.02em; }
.brand-mark { width: 30px; height: 30px; border-radius: 9px; box-shadow: 0 0 0 1px var(--edge); }
.nav-links { display: flex; gap: 4px; margin-left: auto; }
.nav-links a { padding: 7px 12px; border-radius: 999px; color: var(--ash); font-size: 0.86rem; font-weight: 600; transition: color .2s, background .2s; }
.nav-links a:hover { color: var(--bone); background: var(--fog); }
.nav-actions { display: flex; align-items: center; gap: 8px; margin-left: auto; }
.nav-links:not([hidden]) + .nav-actions { margin-left: 0; }
.wallet-pill {
  display: inline-flex; align-items: center; gap: 8px; padding: 7px 12px; border-radius: 999px;
  background: var(--fog); border: 1px solid var(--edge); font-family: var(--mono); font-size: 0.76rem; color: var(--ash);
}
.wallet-pill .dot { width: 6px; height: 6px; border-radius: 50%; background: var(--bone); box-shadow: 0 0 10px var(--bone); }


.view { position: relative; z-index: 1; max-width: var(--max); margin: 0 auto; padding: 0 28px; }
.view.narrow { max-width: 760px; padding-top: 128px; padding-bottom: 96px; }
.section { padding: 120px 0 0; content-visibility: auto; contain-intrinsic-size: auto 700px; }
.section-head { max-width: 640px; margin-bottom: 40px; }
.section-sub { color: var(--ash); margin-top: 10px; font-size: 1rem; }
.page-head { display: flex; justify-content: space-between; align-items: flex-start; gap: 24px; margin-bottom: 28px; flex-wrap: wrap; }
.head-actions { display: flex; gap: 8px; align-items: center; }


.hero { position: relative; padding: 168px 0 40px; min-height: 92vh; display: flex; align-items: center; }
.field {
  position: absolute; inset: -60px -28px 0; width: calc(100% + 56px); height: calc(100% + 60px);
  z-index: 0; pointer-events: none; opacity: .55;
  -webkit-mask-image: radial-gradient(ellipse 70% 70% at 60% 45%, #000 20%, transparent 75%);
  mask-image: radial-gradient(ellipse 70% 70% at 60% 45%, #000 20%, transparent 75%);
}
.hero-grid { position: relative; z-index: 1; display: grid; grid-template-columns: 1.15fr 0.85fr; gap: 56px; align-items: center; width: 100%; }
.eyebrow { text-transform: uppercase; letter-spacing: .2em; font-size: 0.7rem; font-weight: 700; color: var(--ash); margin-bottom: 22px; }
.lead { color: var(--ash); font-size: 1.1rem; margin-top: 26px; max-width: 560px; line-height: 1.65; }
.lead strong { color: var(--bone); font-weight: 700; }
.hero-cta { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 34px; }


.gen { padding: 26px 26px 22px; border-radius: var(--r-lg); overflow: hidden; }
.gen-top { display: flex; align-items: center; gap: 10px; font-size: 0.74rem; color: var(--ash); letter-spacing: .08em; text-transform: uppercase; font-weight: 700; }
.gen-spacer { flex: 1; }
.gen-dot { width: 7px; height: 7px; border-radius: 50%; background: var(--bone); box-shadow: 0 0 12px var(--bone); animation: pulse 2.4s ease-in-out infinite; }
@keyframes pulse { 0%, 100% { opacity: .35; transform: scale(.85); } 50% { opacity: 1; transform: scale(1); } }
.gen-bits { color: var(--ash-2); }
.gen-addr { margin: 26px 0 22px; font-size: clamp(1.05rem, 1.9vw, 1.5rem); line-height: 1.3; word-break: break-all; }
.gen-addr .gen-dom { color: var(--ash); }
#genLocal { display: inline-block; min-width: 16ch; }
#genLocal .lock { color: var(--bone); }
#genLocal .spin { color: var(--ash-2); }
.gen-rows { display: grid; gap: 6px; padding: 14px 0; border-top: 1px solid var(--edge); border-bottom: 1px solid var(--edge); }
.gen-row { display: flex; justify-content: space-between; font-size: 0.86rem; color: var(--ash); }
.redact { position: relative; color: var(--bone); font-weight: 600; }
.redact::after {
  content: ""; position: absolute; inset: 1px -6px; background: var(--bone); border-radius: 3px; opacity: .92;
  transform-origin: left; transition: transform .5s var(--ease), opacity .5s;
}
.gen:hover .redact::after, .gen.open .redact::after { transform: scaleX(0); opacity: 0; }
.gen-foot { display: flex; align-items: center; gap: 10px; padding-top: 16px; font-size: 0.84rem; color: var(--ash); }
.gen-status { color: var(--bone); font-weight: 700; font-size: 0.74rem; text-transform: uppercase; letter-spacing: .12em; }


.timeline { position: relative; list-style: none; margin: 0; padding: 0 0 0 64px; display: grid; gap: 44px; }
.tl-rail { position: absolute; left: 22px; top: 8px; bottom: 8px; width: 1px; background: var(--edge); }
.tl-rail i { display: block; width: 100%; height: 0; background: var(--bone); box-shadow: 0 0 12px var(--bone); transition: height .25s linear; }
.tl-step { position: relative; }
.tl-n {
  position: absolute; left: -64px; top: -2px; width: 44px; height: 44px; border-radius: 50%;
  display: grid; place-items: center; font-size: 0.72rem; color: var(--ash);
  background: var(--smoke); border: 1px solid var(--edge); transition: color .4s, border-color .4s, box-shadow .4s;
}
.tl-step.in .tl-n { color: var(--bone); border-color: var(--edge-hi); box-shadow: 0 0 0 4px rgba(255,255,255,.06); }
.tl-body h3 { margin-bottom: 8px; }
.tl-body p { color: var(--ash); max-width: 560px; }


.pricing-grid { display: grid; grid-template-columns: 1.05fr 1fr; gap: 18px; }
.price-card, .tier-card { padding: 30px; overflow: hidden; }
.price-card { border-color: var(--edge-hi); }
.price-top { display: flex; justify-content: space-between; align-items: flex-start; gap: 20px; }
.price { display: flex; flex-direction: column; align-items: flex-end; }
.price-num { font-family: var(--display); font-weight: 700; font-size: 4rem; line-height: .9; letter-spacing: -0.045em; }
.price-per { color: var(--ash); font-size: 0.8rem; margin-top: 6px; }
.price-list { list-style: none; padding: 0; margin: 28px 0 26px; display: grid; gap: 10px; color: var(--ash); font-size: 0.92rem; }
.price-list li { display: flex; gap: 12px; align-items: baseline; }
.price-list li::before { content: ""; width: 14px; height: 1px; background: var(--ash-2); flex-shrink: 0; transform: translateY(-4px) skewX(var(--slant)); }
.tier-table { width: 100%; border-collapse: collapse; margin: 18px 0 14px; font-size: 0.9rem; }
.tier-table th { text-align: left; color: var(--ash-2); font-weight: 600; font-size: 0.72rem; padding: 8px 0; border-bottom: 1px solid var(--edge); letter-spacing: .08em; text-transform: uppercase; }
.tier-table td { padding: 12px 0; border-bottom: 1px solid var(--edge); }
.tier-table td:last-child, .tier-table th:last-child { text-align: right; }
.tier-table tr:last-child td { border-bottom: 0; }


.redact-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.tile { padding: 22px 22px 20px; display: grid; gap: 14px; overflow: hidden; cursor: default; transition: border-color .3s, transform .5s var(--ease); }
.tile:hover { border-color: var(--edge-hi); transform: translateY(-3px); }
.tile-k { font-family: var(--display); font-weight: 600; font-size: 1.05rem; letter-spacing: -0.01em; }
.bar { position: relative; height: 26px; display: flex; align-items: center; font-size: 0.82rem; color: var(--ash); }
.bar span { opacity: 0; transform: translateX(-6px); transition: opacity .35s .1s, transform .5s .1s var(--ease); }
.bar::before {
  content: ""; position: absolute; left: 0; top: 4px; bottom: 4px; width: 62%; background: var(--bone); border-radius: 3px;
  transform-origin: right; transition: transform .55s var(--ease);
}
.tile:hover .bar::before { transform: scaleX(0); }
.tile:hover .bar span { opacity: 1; transform: none; }


.token { padding-bottom: 120px; }
.token-copy { max-width: 640px; }
.token-copy .lead { margin-top: 18px; }
.token-row { display: flex; align-items: center; gap: 10px; margin-top: 22px; flex-wrap: wrap; }
.chip { padding: 6px 12px; border-radius: 999px; background: var(--fog); border: 1px solid var(--edge); color: var(--ash); font-size: 0.78rem; word-break: break-all; }


.footer { position: relative; z-index: 1; padding: 0 28px 40px; }
.footer-inner { max-width: var(--max); margin: 0 auto; border-top: 1px solid var(--edge); padding-top: 28px; display: flex; align-items: center; gap: 24px; flex-wrap: wrap; color: var(--ash); font-size: 0.85rem; }
.footer-brand { display: flex; align-items: center; gap: 10px; color: var(--bone); font-family: var(--display); font-weight: 700; }
.footer-brand img { width: 24px; height: 24px; border-radius: 7px; }
.footer-links { margin-left: auto; display: flex; gap: 18px; }
.footer-links a:hover { color: var(--bone); }


.reveal { opacity: 0; transform: translateY(22px); transition: opacity .9s var(--ease), transform .9s var(--ease); }
.reveal.in { opacity: 1; transform: none; }
.hero .reveal:nth-child(1) { transition-delay: .05s; }
.hero .reveal:nth-child(2) { transition-delay: .15s; }
.hero .reveal:nth-child(3) { transition-delay: .25s; }
.hero .reveal:nth-child(4) { transition-delay: .35s; }
.hero-grid > .gen { transition-delay: .3s; }
.redact-grid .tile:nth-child(2), .redact-grid .tile:nth-child(5) { transition-delay: .08s; }
.redact-grid .tile:nth-child(3), .redact-grid .tile:nth-child(6) { transition-delay: .16s; }


.app { display: grid; grid-template-columns: 272px 1fr; gap: 20px; padding-top: 108px; padding-bottom: 60px; min-height: 100vh; align-items: start; max-width: 1280px; }
.sidebar { padding: 26px 20px; display: flex; flex-direction: column; gap: 26px; position: sticky; top: 92px; }
.sidebar-id { margin-top: 6px; font-size: 0.78rem; word-break: break-all; color: var(--bone); }
.credit { margin-top: 18px; padding: 16px; border-radius: var(--r-sm); background: rgba(0,0,0,.35); border: 1px solid var(--edge); display: grid; gap: 2px; }
.credit strong { font-family: var(--display); font-size: 1.8rem; font-weight: 700; letter-spacing: -0.03em; line-height: 1; margin-top: 4px; }
.tier-badge { justify-self: start; margin-top: 10px; padding: 3px 10px; border-radius: 999px; border: 1px solid var(--edge-hi); font-size: 0.66rem; text-transform: uppercase; letter-spacing: .12em; font-weight: 700; }
.meta-line { color: var(--ash); font-size: 0.82rem; margin-top: 10px; }
.sidebar-nav { display: grid; gap: 4px; }
.side-item {
  text-align: left; padding: 11px 14px; border-radius: 999px; border: 1px solid transparent; background: transparent; color: var(--ash);
  font-weight: 600; font-size: 0.9rem; transition: background .25s, color .25s, transform .25s var(--ease);
}
.side-item:hover { color: var(--bone); background: var(--fog); }
.side-item.active { background: var(--bone); color: var(--void); box-shadow: 0 10px 30px -12px rgba(255,255,255,.4); }
.sidebar-foot { margin-top: auto; }
.panel-area { min-width: 0; }
.panel { display: none; }
.panel.active { display: block; animation: panel-in .5s var(--ease) both; }
@keyframes panel-in { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }
.card { padding: 24px; display: grid; gap: 12px; align-content: start; }
.row, .pay-row { display: flex; justify-content: space-between; gap: 16px; padding: 10px 0; border-bottom: 1px solid var(--edge); font-size: 0.9rem; color: var(--ash); }
.row strong, .pay-row strong { color: var(--bone); }
.stack { display: grid; gap: 10px; }

.select, .input {
  background: rgba(0,0,0,.35); color: var(--bone); border: 1px solid var(--edge); border-radius: var(--r-sm);
  padding: 10px 14px; font: inherit; font-size: 0.9rem; min-width: 0; transition: border-color .2s, box-shadow .2s;
}
.select:focus, .input:focus { outline: none; border-color: var(--edge-hi); box-shadow: 0 0 0 4px rgba(255,255,255,.06); }
.input.mono { font-family: var(--mono); }
.select option { background: var(--smoke); }

.empty, .empty-state { text-align: center; padding: 64px 20px; }
.empty-state { border: 1px dashed var(--edge); border-radius: var(--r); }
.empty img, .empty-state img { width: 52px; height: 52px; border-radius: 14px; margin: 0 auto 16px; }
.empty p, .empty-state p { color: var(--ash); margin: 8px 0 18px; }

.mail-list { overflow: hidden; }
.mail-row {
  display: grid; grid-template-columns: 220px 1fr auto; gap: 20px; align-items: center;
  padding: 15px 20px; border-bottom: 1px solid var(--edge); cursor: pointer; transition: background .2s;
}
.mail-row:last-child { border-bottom: 0; }
.mail-row:hover { background: var(--fog); }
.mail-from { font-size: 0.88rem; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; color: var(--ash); }
.mail-subj { font-size: 0.92rem; color: var(--ash); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.mail-row.unread .mail-from, .mail-row.unread .mail-subj { color: var(--bone); font-weight: 700; }
.mail-time { font-family: var(--mono); font-size: 0.74rem; color: var(--ash-2); }

.reader { padding: 24px 28px 28px; }
.reader-bar { display: flex; gap: 8px; align-items: center; margin-bottom: 20px; }
.spacer { flex: 1; }
.reader h3 { font-size: 1.5rem; }
.mail-meta { color: var(--ash-2); font-size: 0.76rem; margin: 10px 0 22px; }
.mail-body { color: var(--ash); white-space: pre-wrap; line-height: 1.7; border-top: 1px solid var(--edge); padding-top: 20px; }
.mail-html { width: 100%; min-height: 480px; border: 1px solid var(--edge); border-radius: var(--r-sm); background: #fff; margin-top: 12px; }

.address-card { display: flex; align-items: center; gap: 14px; padding: 16px 18px; border-radius: var(--r-sm); background: var(--fog); border: 1px solid var(--edge); transition: border-color .25s; }
.address-card:hover { border-color: var(--edge-hi); }
.address-card .mono { flex: 1; word-break: break-all; }
.address-card .fine { white-space: nowrap; }
.pill { padding: 3px 9px; border: 1px solid var(--edge); border-radius: 999px; font-size: 0.66rem; text-transform: uppercase; letter-spacing: .1em; color: var(--ash); font-weight: 700; }
.pill.paid { border-color: var(--bone); color: var(--bone); }

.buy-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.new-address { font-size: 1.05rem; word-break: break-all; }
.buy-grid .btn { margin-top: 8px; }
.sub-h { margin: 36px 0 12px; color: var(--ash); font-size: 0.9rem; }
.send-form { max-width: 560px; gap: 16px; }
.send-form label { display: grid; gap: 6px; font-size: 0.8rem; color: var(--ash); font-weight: 600; }

.status, .co-status {
  display: flex; align-items: center; gap: 12px; margin-top: 16px; padding: 14px 16px; border-radius: var(--r-sm);
  background: rgba(0,0,0,.35); border: 1px solid var(--edge); font-size: 0.88rem; animation: panel-in .4s var(--ease) both;
}
.status.paid, .co-status.paid { border-color: var(--bone); }
.spinner { width: 14px; height: 14px; border: 2px solid var(--edge); border-top-color: var(--bone); border-radius: 50%; animation: spin .8s linear infinite; flex-shrink: 0; }
@keyframes spin { to { transform: rotate(360deg); } }


.co { position: relative; overflow: hidden; }
.co-tabs { display: grid; grid-template-columns: 1fr 1fr; border-bottom: 1px solid var(--edge); }
.co-tab { padding: 15px; background: transparent; border: 0; color: var(--ash); font-weight: 700; font-size: 0.86rem; transition: background .25s, color .25s; }
.co-tab.active { background: var(--bone); color: var(--void); }
.co-tab:disabled { opacity: .35; cursor: not-allowed; }
.co-body { padding: 26px; display: grid; gap: 18px; }
.co-amounts { display: flex; gap: 8px; flex-wrap: wrap; align-items: center; margin-top: 10px; }
.co-amounts .btn.active { background: var(--bone); color: var(--void); }

.co-amounts .btn-sm { height: 34px; padding: 0 14px; }
.amt-custom { position: relative; display: inline-flex; align-items: center; }
.amt-custom > span {
  position: absolute; left: 14px; top: 50%; transform: translateY(-50%);
  color: var(--ash); font-family: var(--mono); font-size: 0.82rem; line-height: 1; pointer-events: none;
}
.amt-custom .input {
  height: 34px; width: 96px; padding: 0 12px 0 26px; border-radius: 999px; line-height: 34px;
  font-family: var(--mono); font-size: 0.82rem; font-weight: 500; color: var(--bone);
  background: var(--fog-2); border-color: var(--edge); box-shadow: inset 0 1px 0 rgba(255,255,255,.14);
}
.amt-custom .input:focus { background: rgba(0,0,0,.35); }
.amt-custom:focus-within > span { color: var(--bone); }

input[type=number] { -moz-appearance: textfield; appearance: textfield; }
input[type=number]::-webkit-inner-spin-button, input[type=number]::-webkit-outer-spin-button { -webkit-appearance: none; margin: 0; }
.co-invoice { display: grid; grid-template-columns: 172px 1fr; gap: 26px; align-items: start; }
.co-qr { width: 172px; height: 172px; background: #fff; border-radius: var(--r-sm); padding: 10px; display: grid; place-items: center; box-shadow: 0 20px 50px -20px rgba(255,255,255,.35); }
.co-qr img, .co-qr canvas { width: 152px !important; height: 152px !important; }
.co-addr { font-size: 0.8rem; word-break: break-all; border: 1px solid var(--edge); border-radius: var(--r-sm); padding: 12px 14px; background: rgba(0,0,0,.35); }
.co-actions { display: flex; gap: 8px; flex-wrap: wrap; }


.modal { position: fixed; inset: 0; z-index: 60; display: grid; place-items: center; padding: 16px; }
.modal-backdrop { position: absolute; inset: 0; background: rgba(0,0,0,.65); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); animation: fade .3s both; }
@keyframes fade { from { opacity: 0; } }
.modal-card { position: relative; width: min(460px, 100%); padding: 34px; border-radius: var(--r-lg); animation: modal-in .55s var(--ease) both; }
.modal-card.has-close { padding-top: 68px; }
@keyframes modal-in { from { opacity: 0; transform: translateY(18px) scale(.97); } to { opacity: 1; transform: none; } }

.modal-card.glass > .modal-close {
  position: absolute; top: 16px; left: 16px; z-index: 2;
  width: 32px; height: 32px; border-radius: 50%; display: grid; place-items: center;
  background: var(--fog-2); border: 1px solid var(--edge); color: var(--ash);
  font-size: 1.1rem; line-height: 1; padding: 0 0 2px;
  transition: background .2s, color .2s, transform .25s var(--ease);
}
.modal-card.glass > .modal-close:hover { background: var(--bone); color: var(--void); }
.modal-card.glass > .modal-close:active { transform: scale(.92); }
.modal-mark { width: 46px; height: 46px; border-radius: 13px; margin-bottom: 18px; box-shadow: 0 0 0 1px var(--edge); }
.modal-sub { color: var(--ash); margin: 8px 0 22px; font-size: 0.92rem; }
.wallet-options { display: grid; gap: 8px; }
.wallet-opt {
  display: grid; grid-template-columns: 40px 1fr auto; align-items: center; gap: 14px; text-align: left;
  padding: 12px 14px; border: 1px solid var(--edge); border-radius: var(--r-sm); background: rgba(0,0,0,.3); font-weight: 700;
  transition: border-color .25s, transform .3s var(--ease);
}
.wallet-opt:hover { border-color: var(--edge-hi); transform: translateX(3px); }
.wallet-opt small { color: var(--ash); font-weight: 500; font-size: 0.76rem; }
.wallet-icon { width: 40px; height: 40px; border-radius: 10px; display: grid; place-items: center; background: rgba(255,255,255,.08); border: 1px solid var(--edge); }
.wallet-icon img { width: 30px; height: 30px; }
.divider { display: flex; align-items: center; gap: 12px; color: var(--ash-2); font-size: 0.72rem; margin: 20px 0; text-transform: uppercase; letter-spacing: .12em; }
.divider::before, .divider::after { content: ""; flex: 1; height: 1px; background: var(--edge); }
.key-form { display: grid; grid-template-columns: 1fr auto; gap: 8px; }
.center { text-align: center; margin-top: 14px; }
.link { text-decoration: underline; text-underline-offset: 3px; color: var(--ash); }
.link:hover { color: var(--bone); }
.key-box { border: 1px solid var(--bone); border-radius: var(--r-sm); padding: 18px; margin: 22px 0; word-break: break-all; font-size: 0.95rem; background: rgba(0,0,0,.4); box-shadow: 0 0 40px -10px rgba(255,255,255,.25); }
.key-actions { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }

.toast {
  position: fixed; bottom: 26px; left: 50%; transform: translateX(-50%); z-index: 70;
  padding: 11px 18px; border-radius: 999px; font-size: 0.85rem; font-weight: 700; animation: toast-in .45s var(--ease) both;
}
@keyframes toast-in { from { opacity: 0; transform: translate(-50%, 12px); } to { opacity: 1; transform: translate(-50%, 0); } }


@media (max-width: 1000px) {
  .hero-grid, .pricing-grid, .buy-grid { grid-template-columns: 1fr; }
  .redact-grid { grid-template-columns: repeat(2, 1fr); }
  .app { grid-template-columns: 1fr; }
  .sidebar { position: static; }
  .sidebar-nav { grid-auto-flow: column; grid-auto-columns: max-content; overflow-x: auto; }
  .mail-row { grid-template-columns: 1fr auto; }
  .mail-subj { grid-column: 1 / -1; }
}
@media (max-width: 640px) {
  .view { padding: 0 16px; }
  .nav { gap: 12px; padding: 8px 8px 8px 12px; }
  .nav-links { display: none; }
  .nav .nav-actions { margin-left: auto; }
  .brand-name { display: none; }
  .hero { padding-top: 120px; min-height: 0; }
  .redact-grid { grid-template-columns: 1fr; }
  .co-invoice { grid-template-columns: 1fr; }
  .key-actions { grid-template-columns: 1fr; }
  .timeline { padding-left: 52px; }
  .tl-n { left: -52px; width: 36px; height: 36px; }
  .tl-rail { left: 18px; }
  .footer-links { margin-left: 0; }
  .price-num { font-size: 3.2rem; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .001s !important; animation-iteration-count: 1 !important; transition-duration: .001s !important; }
  .reveal { opacity: 1; transform: none; }
  .field { display: none; }
}


.attachments { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 20px; padding-top: 16px; border-top: 1px solid var(--edge); }
.att {
  display: inline-flex; align-items: center; gap: 10px; padding: 8px 12px; border-radius: var(--r-sm);
  background: rgba(0,0,0,.35); border: 1px solid var(--edge); font-size: 0.82rem; cursor: pointer; transition: border-color .2s;
}
.att:hover { border-color: var(--edge-hi); }
.att .att-name { max-width: 240px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.att .att-size { color: var(--ash-2); font-family: var(--mono); font-size: 0.72rem; }
.mail-files { color: var(--ash-2); font-size: 0.72rem; margin-left: 6px; }


.dd { position: relative; }
.dd-btn {
  display: inline-flex; align-items: center; gap: 10px; height: 34px; padding: 0 12px 0 14px; border-radius: 999px;
  background: var(--fog-2); border: 1px solid var(--edge); color: var(--bone); font-size: 0.8rem; max-width: 320px;
  box-shadow: inset 0 1px 0 rgba(255,255,255,.14); transition: border-color .2s;
}
.dd-btn:hover, .dd-btn[aria-expanded="true"] { border-color: var(--edge-hi); }
.dd-btn .mono { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.dd-chev { width: 7px; height: 7px; border-right: 1.5px solid var(--ash); border-bottom: 1.5px solid var(--ash); transform: translateY(-2px) rotate(45deg); transition: transform .25s var(--ease); flex-shrink: 0; }
.dd-btn[aria-expanded="true"] .dd-chev { transform: translateY(2px) rotate(225deg); }
.dd-menu {
  position: absolute; top: calc(100% + 8px); right: 0; z-index: 30; min-width: 300px; max-width: 90vw; padding: 6px;
  border-radius: 14px; animation: modal-in .3s var(--ease) both;
}
.dd-item {
  display: flex; align-items: center; justify-content: space-between; gap: 12px; width: 100%; text-align: left;
  padding: 9px 12px; border-radius: 9px; border: 0; background: transparent; color: var(--ash); font-size: 0.82rem;
  transition: background .15s, color .15s;
}
.dd-item:hover { background: var(--fog); color: var(--bone); }
.dd-item.active { background: var(--fog-2); color: var(--bone); }
.dd-item .mono { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.dd-badge { flex-shrink: 0; min-width: 20px; padding: 2px 7px; border-radius: 999px; background: var(--bone); color: var(--void); font-size: 0.68rem; font-weight: 700; text-align: center; }
.mail-empty { padding: 18px 20px; color: var(--ash); font-size: 0.9rem; }
