:root {
  --bg: #090a07;
  --bg-raise: #12140f;
  --ink: #10120c;
  --paper: #f3f0e4;
  --paper-2: #e6e1d1;
  --cream: #f7f4ea;
  --lime: #d6ff3f;
  --lime-2: #edff9a;
  --text: #f4f1e6;
  --muted: #a7ad9c;
  --line: rgba(243, 240, 228, 0.14);
  --line-strong: rgba(243, 240, 228, 0.28);
  --danger: #ff5d6c;
  --danger-bg: #241316;
  --shadow: 12px 14px 0 #d6ff3f;
  --font: "Outfit", "Segoe UI", sans-serif;
  --display: "Bricolage Grotesque", "Outfit", sans-serif;
  --mono: "IBM Plex Mono", ui-monospace, monospace;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  min-height: 100vh;
  min-height: 100dvh;
  padding-left: env(safe-area-inset-left);
  padding-right: env(safe-area-inset-right);
  color: var(--text);
  background: var(--bg);
  font-family: var(--font);
  font-size: 1.02rem;
  line-height: 1.45;
}
body.is-busy::before {
  content: "";
  position: fixed;
  z-index: 20;
  top: 0;
  left: 0;
  height: 3px;
  width: 36%;
  background: var(--lime);
  animation: loading 0.9s ease-in-out infinite;
}
img { max-width: 100%; }
a { color: inherit; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; }
button:disabled { opacity: 0.45; cursor: wait; }
:focus-visible {
  outline: 2px solid var(--lime);
  outline-offset: 3px;
}
[hidden] { display: none !important; }

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--text);
  font-family: var(--display);
  font-weight: 800;
  letter-spacing: -0.05em;
  text-decoration: none;
  font-size: 1.35rem;
}
.brand-mark {
  width: 14px;
  height: 14px;
  background: var(--lime);
  box-shadow: 3px 3px 0 rgba(214, 255, 63, 0.35);
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border: 0;
  border-radius: 999px;
  padding: 10px 14px;
  background: var(--lime);
  color: var(--ink);
  font-weight: 700;
  letter-spacing: -0.02em;
  text-decoration: none;
}
.btn:hover { background: var(--lime-2); }
.btn.ghost {
  background: transparent;
  color: var(--text);
  border: 1px solid var(--line-strong);
}
.btn.ghost:hover { border-color: var(--lime); color: var(--lime); background: transparent; }
.btn.full { width: 100%; }
.btn.small { padding: 8px 12px; font-size: 0.86rem; }

.kicker {
  margin: 0 0 12px;
  color: var(--lime);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.landing-nav, .topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 10px 16px;
  width: min(1120px, calc(100% - 40px));
  margin: 0 auto;
  padding: 14px 0;
}
.nav-links {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 14px 18px;
  min-width: 0;
}
.nav-links a {
  color: var(--muted);
  text-decoration: none;
  font-weight: 560;
}
.nav-links a:hover, .nav-links a[aria-current="page"] { color: var(--text); }
.profile-btn {
  width: 36px;
  height: 36px;
  display: grid;
  place-items: center;
  padding: 0;
  border: 1px solid var(--line-strong);
  border-radius: 999px;
  background: #10130d;
  color: var(--text);
}
.profile-btn svg { width: 18px; height: 18px; }
.profile-btn:hover { border-color: var(--lime); color: var(--lime); }

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(280px, 0.95fr);
  gap: 40px;
  align-items: center;
  width: min(1120px, calc(100% - 40px));
  margin: 4px auto 24px;
}
.hero > * { min-width: 0; }
.hero h1 {
  margin: 0;
  max-width: 11ch;
  font-family: var(--display);
  font-size: clamp(3.1rem, 5.4vw, 5.5rem);
  font-weight: 800;
  letter-spacing: -0.055em;
  line-height: 0.9;
}
.lede {
  max-width: 38rem;
  margin: 22px 0 0;
  color: var(--muted);
  font-size: 1.18rem;
  line-height: 1.5;
}
.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 28px;
}

.specimen-wrap {
  position: relative;
}
label .field-name {
  display: flex;
  align-items: baseline;
  gap: 8px;
}
.specimen-back {
  position: absolute;
  inset: 36px 8px 8px 36px;
  border-radius: 28px;
  background: #1b1e16;
  transform: rotate(7deg);
}
.specimen {
  position: relative;
  margin-left: 12px;
  padding: 26px 26px 22px;
  border-radius: 28px;
  background:
    linear-gradient(160deg, rgba(255, 255, 255, 0.45), transparent 32%),
    var(--paper);
  color: var(--ink);
  box-shadow: var(--shadow);
  transform: rotate(-5.5deg);
}
.specimen-top, .card-top, .addr-row, .receipt-line, .topbar, .confirm-actions, .actions {
  display: flex;
  align-items: center;
}
.specimen-top, .card-top { justify-content: space-between; }
.specimen-label, .eyebrow {
  margin: 0;
  font-size: 0.78rem;
  font-weight: 750;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}
.pill {
  margin: 0;
  padding: 5px 10px;
  border-radius: 999px;
  background: var(--ink);
  color: var(--lime);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}
.specimen-figure, .figure {
  margin: 18px 0 0;
  font-family: var(--display);
  font-weight: 800;
  letter-spacing: -0.06em;
  line-height: 0.86;
  font-variant-numeric: tabular-nums;
}
.specimen-figure { font-size: clamp(4.4rem, 8vw, 6.4rem); }
.specimen-foot {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  margin-top: 28px;
  color: rgba(16, 18, 12, 0.62);
  font-family: var(--mono);
  font-size: 0.78rem;
}
.specimen-caption {
  margin: 22px 0 0 28px;
  color: var(--muted);
  font-size: 0.92rem;
}

.ticker {
  overflow: hidden;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  padding: 14px 0;
  margin-top: 10px;
}
.ticker-track {
  display: flex;
  gap: 42px;
  width: max-content;
  animation: ticker 28s linear infinite;
  color: var(--text);
  font-family: var(--display);
  font-weight: 700;
  letter-spacing: -0.04em;
  text-transform: uppercase;
}
.ticker-track span { white-space: nowrap; }
.ticker-track span::before {
  content: "";
  display: inline-block;
  width: 8px;
  height: 8px;
  margin-right: 14px;
  background: var(--lime);
  transform: translateY(-1px);
}

.section {
  width: min(1120px, calc(100% - 40px));
  margin: 0 auto;
  padding: 56px 0;
}
.section h2 {
  margin: 0;
  max-width: 14ch;
  font-family: var(--display);
  font-size: clamp(2.4rem, 5vw, 4.2rem);
  font-weight: 800;
  letter-spacing: -0.05em;
  line-height: 0.94;
}
.steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  margin-top: 36px;
}
.step {
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: 22px;
  background: var(--bg-raise);
}
.step-no {
  margin: 0 0 28px;
  color: var(--lime);
  font-family: var(--display);
  font-size: 1.4rem;
  font-weight: 800;
}
.step h3 {
  margin: 0 0 8px;
  font-family: var(--display);
  font-size: 1.55rem;
  letter-spacing: -0.04em;
}
.step p, .split p, .close p { margin: 0; color: var(--muted); }

.split {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 40px;
  align-items: center;
}
.receipt, .link-card {
  padding: 22px;
  border-radius: 24px;
  background: var(--paper);
  color: var(--ink);
}
.receipt h3, .link-card h3 {
  margin: 0 0 14px;
  font-family: var(--display);
  letter-spacing: -0.04em;
}
.receipt-line {
  justify-content: space-between;
  gap: 16px;
  padding: 11px 0;
  border-top: 1px solid rgba(16, 18, 12, 0.1);
  font-variant-numeric: tabular-nums;
}
.receipt-line strong { font-weight: 700; }
.receipt-line.fee { color: rgba(16, 18, 12, 0.62); }
.receipt-total {
  display: flex;
  justify-content: space-between;
  margin-top: 8px;
  padding-top: 14px;
  font-family: var(--display);
  font-size: 1.7rem;
  font-weight: 800;
  letter-spacing: -0.04em;
}
.link-card code {
  display: block;
  margin-top: 8px;
  padding: 14px;
  border-radius: 14px;
  background: var(--ink);
  color: var(--lime);
  font-family: var(--mono);
  font-size: 0.82rem;
  line-height: 1.45;
  word-break: break-all;
}
.quiet-note {
  margin-top: 14px;
  color: rgba(16, 18, 12, 0.62);
  font-size: 0.92rem;
}

.band {
  background:
    radial-gradient(700px 240px at 80% 0%, rgba(214, 255, 63, 0.08), transparent 60%),
    #10130d;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.close {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 24px;
}
.close h2 { max-width: 10ch; }

.site-footer {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  width: min(1120px, calc(100% - 40px));
  margin: 0 auto;
  padding: 16px 0 24px;
  color: var(--muted);
  font-size: 0.92rem;
}
.site-footer p { margin: 0; }
.footer-copy p + p { margin-top: 4px; }
.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 16px;
}
.footer-links a {
  color: var(--muted);
  text-decoration: none;
  font-weight: 560;
}
.footer-links a:hover, .footer-links a[aria-current="page"] { color: var(--text); }
.legal {
  width: min(720px, calc(100% - 40px));
  margin: 8px auto 48px;
}
.legal h1 { margin: 0 0 12px; font-size: clamp(2.4rem, 6vw, 3.6rem); }
.legal h2 { margin: 28px 0 8px; font-size: 1.2rem; }
.legal p, .legal li { color: var(--muted); }
.legal a { color: var(--lime); }
.notice {
  margin: 0 0 14px;
  padding: 12px 14px;
  border: 1px solid var(--lime);
  border-radius: 16px;
  background: rgba(214, 255, 63, 0.08);
  color: var(--text);
}
.check {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  margin: 0 0 12px;
  font-size: 0.95rem;
}
.check input { margin-top: 4px; }
.words { word-break: normal; }
.secret {
  margin: 12px 0;
  padding: 12px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: #10130d;
  color: var(--text);
  font-family: var(--mono);
  font-size: 0.92rem;
  line-height: 1.45;
  word-break: break-all;
  user-select: text;
}

.app .site-footer { width: min(1040px, calc(100% - 32px)); }
.app .topbar {
  width: min(440px, calc(100% - 32px));
  justify-content: flex-start;
  gap: 10px;
  margin-right: auto;
  margin-left: auto;
  padding: max(12px, env(safe-area-inset-top)) 0 12px;
}
.app-shell {
  display: block;
  width: min(440px, calc(100% - 32px));
  margin: 8px auto 36px;
}
.stage { position: static; padding: 0 10px 12px 0; }
.feature-row {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 6px;
  margin-top: 14px;
}
.feature {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 5px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: #10130d;
  color: var(--muted);
  padding: 8px 2px 7px;
  font: inherit;
  font-weight: 700;
  font-size: 0.68rem;
  line-height: 1.15;
  text-align: center;
}
.feature svg { width: 18px; height: 18px; color: var(--lime); }
.feature:hover { border-color: var(--lime); color: var(--text); }
.sheet {
  width: min(440px, calc(100vw - 28px));
  max-height: min(88dvh, 780px);
  padding-bottom: max(16px, env(safe-area-inset-bottom));
  margin: auto;
  padding: 14px 16px 16px;
  overflow: auto;
  border: 0;
  border-radius: 22px;
  background: #12140e;
  color: var(--text);
  box-shadow: 8px 8px 0 #d6ff3f;
}
.sheet::backdrop { background: rgba(5, 6, 4, 0.78); }
.sheet-wide { width: min(640px, calc(100vw - 28px)); }
.sheet-bar { display: flex; justify-content: flex-end; }
.sheet-close {
  width: 36px;
  height: 36px;
  border: 1px solid var(--line-strong);
  border-radius: 12px;
  background: transparent;
  color: var(--text);
  font-size: 1.2rem;
  line-height: 1;
}
.sheet-close:hover { border-color: var(--lime); }
.sheet .ramp-frame { min-height: 58vh; }
.wallet-card {
  padding: 18px 18px 14px;
  border-radius: 22px;
  background:
    linear-gradient(165deg, rgba(255, 255, 255, 0.5), transparent 34%),
    var(--paper);
  color: var(--ink);
  box-shadow: 8px 8px 0 #d6ff3f;
}
.figure {
  margin: 2px 0 0;
  font-size: clamp(3rem, 6vw, 4.2rem);
  line-height: 0.92;
}
.figure.is-empty { color: rgba(16, 18, 12, 0.28); }
.addr-row {
  justify-content: space-between;
  gap: 10px;
  margin-top: 14px;
  padding-top: 10px;
  border-top: 1px solid rgba(16, 18, 12, 0.12);
}
.picks {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 10px;
}
.pick {
  min-width: 36px;
  height: 32px;
  padding: 0 10px;
  border: 1px solid rgba(16, 18, 12, 0.2);
  border-radius: 999px;
  background: transparent;
  color: var(--ink);
  font: inherit;
  font-size: 0.82rem;
  font-weight: 700;
  cursor: pointer;
}
.pick[aria-pressed="true"] {
  background: var(--ink);
  color: var(--paper);
  border-color: var(--ink);
}
.sheet h2 { margin: 0 0 10px; font-size: 1.7rem; }
.sheet .notice { margin-bottom: 8px; padding: 10px 12px; }
.sheet h3 { margin: 0; font-size: 1rem; }
.install-sheet .note { margin: 0 0 14px; }
.install-sheet .actions { margin-top: 4px; }
.block-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  margin: 12px 0 8px;
}
.block-head:first-child { margin-top: 0; }
.profile-block { margin-top: 4px; }
.profile-address {
  margin: 0;
  color: var(--text);
  font-family: var(--mono);
  font-size: 0.82rem;
  line-height: 1.5;
  word-break: break-all;
  user-select: text;
}
.key-list {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin: 0;
  padding: 0;
  list-style: none;
}
.key-line { display: flex; align-items: center; gap: 8px; }
.key-row {
  flex: 1;
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  gap: 8px;
  min-height: 44px;
  padding: 8px 12px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: transparent;
  color: var(--text);
  font: inherit;
  text-align: left;
  cursor: pointer;
}
.key-row[aria-pressed="true"] {
  border-color: var(--lime);
  background: rgba(214, 255, 63, 0.08);
}
.key-name { font-weight: 700; }
.key-addr {
  overflow: hidden;
  color: var(--muted);
  font-family: var(--mono);
  font-size: 0.75rem;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.key-open { color: var(--lime); font-size: 0.75rem; font-weight: 700; }
.word-list {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 6px 16px;
  margin: 0;
  padding: 12px 12px 12px 36px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: #10130d;
  color: var(--text);
  font-family: var(--mono);
  font-size: 0.92rem;
  line-height: 1.45;
}
.word-list li { user-select: text; }
.word-list li::marker { color: var(--muted); }
#profile-add-note { margin: 8px 0 0; }
#profile-hide { margin-top: 16px; }
.address {
  margin: 0;
  color: rgba(16, 18, 12, 0.7);
  font-family: var(--mono);
  font-size: 0.75rem;
  line-height: 1.45;
  word-break: break-all;
}
.wallet-card .btn.ghost {
  flex: 0 0 auto;
  color: var(--ink);
  border-color: rgba(16, 18, 12, 0.2);
  background: transparent;
}
.wallet-card .btn.ghost:hover { color: var(--ink); border-color: var(--ink); }
.card-meta {
  margin: 8px 0 0;
  color: rgba(16, 18, 12, 0.62);
  font-size: 0.82rem;
}
.activity { margin-top: 18px; padding-right: 10px; }
.activity-title {
  margin: 0 0 2px;
  color: var(--muted);
  font-size: 0.72rem;
  font-weight: 750;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}
.activity-empty { margin: 6px 0 0; color: var(--muted); font-size: 0.88rem; }
.activity-list { list-style: none; margin: 0; padding: 0; }
.activity-list li {
  display: grid;
  grid-template-columns: 72px minmax(0, 1fr) auto 22px;
  gap: 8px;
  align-items: center;
  padding: 7px 0;
  border-bottom: 1px solid var(--line);
  font-size: 0.86rem;
}
.expert-slot { display: flex; justify-content: flex-end; }
.expert-link {
  display: inline-flex;
  width: 22px;
  height: 22px;
  align-items: center;
  justify-content: center;
  color: var(--muted);
}
.expert-link:hover { color: var(--lime); }
.expert-link svg { width: 14px; height: 14px; }
.activity-meta {
  color: var(--muted);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  font-family: var(--mono);
  font-size: 0.72rem;
}
.activity-amt { font-variant-numeric: tabular-nums; font-weight: 720; }
.activity-amt.in { color: var(--lime); }

.status, .banner {
  margin: 0 0 14px;
  padding: 12px 14px;
  border-radius: 16px;
  font-weight: 650;
  line-height: 1.35;
  word-break: break-word;
}
.status { color: var(--ink); background: var(--lime); }
.banner {
  color: var(--cream);
  background: var(--danger-bg);
  border: 1px solid rgba(255, 93, 108, 0.5);
}

.workspace h2 {
  margin: 0 0 4px;
  font-family: var(--display);
  font-size: 1.45rem;
  letter-spacing: -0.045em;
}
.note { margin: 0 0 12px; color: var(--muted); font-size: 0.95rem; }
.segment {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 6px;
  margin-bottom: 16px;
  padding: 5px;
  border-radius: 999px;
  background: var(--bg-raise);
  border: 1px solid var(--line);
}
.segment label {
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0;
  border-radius: 999px;
  padding: 10px 12px;
  font-weight: 700;
}
.segment label { position: relative; }
.segment input {
  position: absolute;
  inset: 0;
  margin: 0;
  opacity: 0;
  pointer-events: none;
}
.segment label { color: var(--muted); }
.segment label:has(input:checked) {
  background: var(--lime);
  color: var(--ink);
}
.panel {
  padding: 8px 2px 0;
}
#import-toggle { margin-top: 8px; }
#import-panel { margin-top: 12px; }
#import-panel .btn { margin-top: 10px; }
.recipient {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 108px auto;
  gap: 8px;
  align-items: end;
  margin-bottom: 8px;
  padding: 8px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: #10130d;
}
.icon-btn {
  width: 36px;
  height: 36px;
  margin-bottom: 1px;
  border: 1px solid var(--line-strong);
  border-radius: 12px;
  background: transparent;
  color: var(--muted);
  font-size: 1.2rem;
  line-height: 1;
}
.icon-btn:hover { color: var(--text); border-color: var(--lime); }
.pair {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}
.pair:has(> label[hidden]) { grid-template-columns: 1fr; }
.qr-row {
  display: flex;
  align-items: center;
  gap: 12px;
}
.qr-actions { display: grid; gap: 8px; flex: 1; }
label { display: grid; gap: 6px; color: var(--muted); font-size: 0.84rem; font-weight: 650; }
.hint { letter-spacing: 0.08em; text-transform: uppercase; font-size: 0.68rem; }
input, select, textarea {
  width: 100%;
  padding: 9px 11px;
  border-radius: 12px;
  border: 1px solid var(--line-strong);
  background: #090b08;
  outline: none;
}
input:focus, select:focus, textarea:focus { border-color: var(--lime); }
textarea {
  min-height: 64px;
  resize: vertical;
  font-family: var(--mono);
  font-size: 0.8rem;
  line-height: 1.45;
}
.actions, .confirm-actions { gap: 8px; margin-top: 8px; }
.actions button, .confirm-actions button { flex: 1; }
.stack { display: grid; gap: 10px; }
.line {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  padding: 9px 0;
  border-bottom: 1px solid var(--line);
  font-variant-numeric: tabular-nums;
}
.line span:last-child { font-weight: 720; text-align: right; overflow-wrap: anywhere; }
.pay-qr {
  width: 132px;
  flex: 0 0 auto;
  height: auto;
  border-radius: 16px;
  background: var(--paper);
}
.scan-box { display: grid; gap: 10px; }
.scan-entry {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 8px;
  align-items: end;
}
.scan-tools { display: flex; gap: 8px; }
.scan-tools .btn { flex: 1; }
.scan-box video {
  width: 100%;
  max-height: 168px;
  border-radius: 16px;
  background: #000;
  object-fit: cover;
}
.ramp-frame {
  width: 100%;
  min-height: 68vh;
  border: 1px solid var(--line);
  border-radius: 22px;
  background: var(--paper);
}
.receipt-sheet input {
  background: #fff;
  color: var(--ink);
  border-color: rgba(16, 18, 12, 0.18);
}
.receipt-sheet .note { color: rgba(16, 18, 12, 0.72); }
.fee-line {
  margin: 14px 0 8px;
  color: var(--lime);
  font-weight: 750;
}
.total {
  margin: 0 0 14px;
  font-family: var(--display);
  font-size: 2rem;
  font-weight: 800;
  letter-spacing: -0.05em;
  font-variant-numeric: tabular-nums;
}
.receipt-sheet {
  padding: 16px 16px 8px;
  border-radius: 20px;
  background: var(--paper);
  color: var(--ink);
}
.receipt-sheet .line { border-bottom-color: rgba(16, 18, 12, 0.1); }
.receipt-sheet .fee-line { color: var(--ink); }
.receipt-sheet .total { color: var(--ink); }

@keyframes ticker {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}
@keyframes loading {
  0% { transform: translateX(-20%); }
  100% { transform: translateX(280%); }
}

@media (max-width: 860px) {
  .hero, .steps, .split, .app-shell, .close, .site-footer {
    grid-template-columns: 1fr;
    display: flex;
    flex-direction: column;
    align-items: stretch;
  }
  .site-footer, .close { align-items: flex-start; }
  .landing-nav, .topbar { align-items: flex-start; width: min(1120px, calc(100% - 28px)); }
  .app .site-footer { width: min(980px, calc(100% - 28px)); }
  .app .topbar { flex-direction: row; flex-wrap: nowrap; align-items: center; width: min(440px, calc(100% - 28px)); }
  .nav-links { flex: 1 1 100%; width: 100%; margin-left: 0; justify-content: flex-start; }
  .hero { gap: 28px; }
  .hero h1 { font-size: clamp(2.8rem, 13vw, 3.8rem); }
  #request .link-card { order: 2; }
  .specimen { transform: none; margin-left: 0; }
  .specimen-back { display: none; }
  .stage { position: static; }
  .section { padding: 40px 0; }
  .recipient { grid-template-columns: minmax(0, 1fr) 92px auto; }
}
@media (max-width: 420px) {
  .pair { grid-template-columns: 1fr; }
  .app-shell, .app .topbar { width: min(440px, calc(100% - 16px)); }
  .feature { font-size: 0.62rem; padding: 7px 1px 6px; }
  .feature svg { width: 16px; height: 16px; }
}
@media (min-width: 861px) {
  .specimen-wrap { min-height: 320px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .ticker-track, body.is-busy::before { animation: none; }
  .specimen { transform: none; }
}
