@font-face { font-family: "Nunito"; font-style: normal; font-weight: 400; font-display: swap; src: url(fonts/nunito/400.woff2) format("woff2"); }
@font-face { font-family: "Nunito"; font-style: normal; font-weight: 500; font-display: swap; src: url(fonts/nunito/500.woff2) format("woff2"); }
@font-face { font-family: "Nunito"; font-style: normal; font-weight: 600; font-display: swap; src: url(fonts/nunito/600.woff2) format("woff2"); }
@font-face { font-family: "Nunito"; font-style: normal; font-weight: 700; font-display: swap; src: url(fonts/nunito/700.woff2) format("woff2"); }
@font-face { font-family: "Nunito"; font-style: normal; font-weight: 800; font-display: swap; src: url(fonts/nunito/800.woff2) format("woff2"); }
:root {
  /* Clean marketplace: near-white, black type, one emerald accent. */
  --navy: #111111;        /* primary dark: text, primary buttons */
  --navy-2: #292524;
  --gold: #047857;        /* emerald 700: actions, links, focus */
  --gold-soft: #ECFDF5;   /* emerald 50 */
  --stamp: #10B981;       /* emerald 500: the verified stamp */
  --cream: #FAFAF9;
  --paper: #ffffff;
  --ink: #111111;
  --muted: #44403C;
  --faint: #A8A29E;
  --line: #E7E5E4;
  --ok: #047857;
  --ok-soft: #ECFDF5;
  --warn: #92400E;
  --warn-soft: #FFFBEB;
  --err: #B91C1C;
  --err-soft: #FEF2F2;
  --radius: 14px;
  --shadow: none;
  --serif: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --sans: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
}

* { box-sizing: border-box; }
html, body { margin: 0; }
body {
  font-family: var(--sans);
  color: var(--ink);
  background: var(--cream);
  font-size: 16.5px;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}
button { font: inherit; color: inherit; cursor: pointer; }
button:disabled { cursor: not-allowed; opacity: 0.55; }
a { color: inherit; }
input, select, textarea { font: inherit; color: inherit; }

/* ---------- Top bar ---------- */
.topbar { background: var(--navy); color: #fff; }
.topbar-inner {
  max-width: 1120px; margin: 0 auto; padding: 18px 20px;
  display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap;
}
.brand { display: flex; align-items: center; gap: 12px; }
.logo { width: 44px; height: 44px; fill: none; stroke: var(--gold); stroke-width: 3; stroke-linejoin: round; stroke-linecap: round; }
.brand h1 { font-family: var(--serif); font-weight: 600; font-size: 22px; margin: 0; letter-spacing: 0.2px; }
.brand p { margin: 0; color: #b9c2d6; font-size: 14.5px; }

.who { display: flex; gap: 8px; align-items: center; flex-wrap: wrap; }
.persona {
  display: flex; align-items: center; gap: 10px;
  background: rgba(255, 255, 255, 0.06); border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 999px; padding: 6px 14px 6px 6px; color: #fff;
}
.persona.active { background: var(--paper); color: var(--navy); border-color: var(--paper); }
.persona .avatar {
  width: 30px; height: 30px; border-radius: 50%; display: grid; place-items: center;
  font-weight: 700; font-size: 14.5px; background: var(--gold); color: var(--navy);
}
.persona .p-name { font-weight: 600; font-size: 15.5px; line-height: 1.1; text-align: left; }
.persona .p-bal { font-size: 14px; opacity: 0.75; text-align: left; }
.addmoney {
  border: 1px solid var(--gold); background: transparent; color: var(--gold);
  border-radius: 999px; padding: 8px 14px; font-weight: 600; font-size: 14.5px;
}
.addmoney:hover { background: rgba(201, 164, 92, 0.12); }

/* ---------- Layout ---------- */
main { max-width: 1120px; margin: 0 auto; padding: 20px 20px 40px; }

.tabs { display: flex; gap: 6px; border-bottom: 1px solid var(--line); margin-bottom: 16px; overflow-x: auto; }
.tab {
  background: none; border: none; padding: 12px 14px; font-weight: 600; color: var(--muted);
  border-bottom: 2px solid transparent; margin-bottom: -1px; white-space: nowrap;
}
.tab.active { color: var(--navy); border-bottom-color: var(--gold); }
.tab .count {
  display: inline-block; min-width: 20px; padding: 0 6px; margin-left: 6px; border-radius: 999px;
  background: var(--gold-soft); color: var(--navy); font-size: 14px; text-align: center;
}

.section-head { display: flex; align-items: end; justify-content: space-between; gap: 12px; margin: 4px 0 16px; }
.section-head h2 { font-family: var(--serif); font-size: 26px; font-weight: 600; margin: 0; }
.section-head p { margin: 2px 0 0; color: var(--muted); font-size: 15.5px; }

.grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(210px, 1fr)); gap: 16px; }

.card {
  background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius);
  box-shadow: var(--shadow); overflow: hidden; display: flex; flex-direction: column;
  text-align: left; padding: 0; transition: transform 0.12s ease, box-shadow 0.12s ease;
}
.card:hover { transform: translateY(-2px); box-shadow: 0 2px 4px rgba(15,27,51,.08), 0 14px 30px rgba(15,27,51,.10); }
.card-art { position: relative; }
.card-body { padding: 12px 14px 14px; display: flex; flex-direction: column; gap: 6px; flex: 1; }
.card-title { font-weight: 600; font-size: 16.5px; margin: 0; }
.card-brand { color: var(--muted); font-size: 14.5px; margin: 0; }
.card-foot { margin-top: auto; display: flex; align-items: center; justify-content: space-between; gap: 8px; padding-top: 6px; }
.pid { position: absolute; top: 10px; left: 10px; font-size: 13px; font-weight: 600; background: rgba(15,27,51,.85); color: var(--gold); padding: 3px 8px; border-radius: 999px; letter-spacing: .3px; }

.art {
  aspect-ratio: 4 / 3; background: linear-gradient(160deg, #fbf8f2, var(--tint, var(--gold-soft)));
  display: grid; place-items: center; width: 100%; overflow: hidden;
}
.art.photo { background: #f1ede6; }
.art svg { width: 44%; height: auto; fill: none; stroke: var(--navy); stroke-width: 2; stroke-linejoin: round; stroke-linecap: round; }
.art img { width: 100%; height: 100%; object-fit: cover; }

.chip { display: inline-flex; align-items: center; gap: 6px; font-size: 14px; font-weight: 600; padding: 4px 10px; border-radius: 999px; }
.chip.owned { background: #eef0f5; color: var(--navy-2); }
.chip.listed { background: var(--gold-soft); color: #7a5a1c; }
.chip.held { background: var(--warn-soft); color: var(--warn); }
.chip.ok { background: var(--ok-soft); color: var(--ok); }
.price { font-weight: 700; font-size: 16px; }

/* ---------- Buttons ---------- */
.btn {
  border: 1px solid transparent; border-radius: 12px; padding: 10px 16px; font-weight: 600; font-size: 15.5px;
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
}
.btn.primary { background: var(--navy); color: #fff; }
.btn.primary:hover:not(:disabled) { background: var(--navy-2); }
.btn.gold { background: var(--gold); color: var(--navy); }
.btn.gold:hover:not(:disabled) { filter: brightness(1.05); }
.btn.ghost { background: transparent; border-color: var(--line); color: var(--ink); }
.btn.ghost:hover:not(:disabled) { background: #fff; }
.btn.danger { background: transparent; border-color: #e7c3be; color: var(--err); }
.btn.small { padding: 7px 12px; font-size: 14.5px; border-radius: 10px; }
.btn.block { width: 100%; }

/* ---------- Empty / loading ---------- */
.empty {
  background: var(--paper); border: 1px dashed var(--line); border-radius: var(--radius);
  padding: 36px 20px; text-align: center; color: var(--muted);
}
.empty h3 { font-family: var(--serif); color: var(--ink); font-size: 20px; margin: 0 0 6px; }
.empty .btn { margin-top: 14px; }
.loading { text-align: center; padding: 60px 20px; color: var(--muted); }
.spinner {
  width: 26px; height: 26px; border-radius: 50%; border: 3px solid var(--gold-soft); border-top-color: var(--gold);
  animation: spin 0.8s linear infinite; margin: 0 auto 12px;
}
@keyframes spin { to { transform: rotate(360deg); } }

/* ---------- Orders ---------- */
.order {
  background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow);
  display: grid; grid-template-columns: 120px 1fr; gap: 16px; padding: 14px; margin-bottom: 12px; align-items: center;
}
.order .art { aspect-ratio: 1; border-radius: 12px; }
.order h3 { margin: 0; font-size: 16px; }
.order p { margin: 4px 0; color: var(--muted); font-size: 15.5px; }
.order .actions { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 8px; }

/* ---------- Modal ---------- */
.backdrop {
  position: fixed; inset: 0; background: rgba(15, 27, 51, 0.45); display: grid; place-items: center;
  padding: 16px; z-index: 40; animation: fade 0.12s ease;
}
@keyframes fade { from { opacity: 0; } }
.modal {
  background: var(--paper); border-radius: 20px; width: min(560px, 100%); max-height: calc(100vh - 32px);
  overflow: auto; box-shadow: 0 30px 80px rgba(15, 27, 51, 0.35);
}
.modal-head { display: flex; justify-content: space-between; align-items: center; padding: 18px 20px 0; }
.modal-head h3 { font-family: var(--serif); font-size: 22px; margin: 0; }
.x { background: none; border: none; font-size: 26px; line-height: 1; color: var(--muted); padding: 4px 8px; }
.modal-body { padding: 16px 20px 20px; }
.modal .art { border-radius: 14px; margin-bottom: 14px; aspect-ratio: 16 / 7; }
.modal .art svg { width: 22%; }

.field { display: flex; flex-direction: column; gap: 6px; margin-bottom: 12px; }
.field label { font-weight: 600; font-size: 14.5px; }
.field .hint { color: var(--muted); font-size: 14px; }
.field input[type="text"], .field input[type="url"], .field input[type="number"] {
  border: 1px solid var(--line); border-radius: 10px; padding: 10px 12px; background: #fff;
}
.field input:focus { outline: 2px solid var(--gold-soft); border-color: var(--gold); }
.money-input { display: flex; align-items: center; border: 1px solid var(--line); border-radius: 10px; background: #fff; }
.money-input span { padding: 0 4px 0 12px; color: var(--muted); font-weight: 600; }
.money-input input { border: none !important; outline: none !important; flex: 1; padding: 10px 12px 10px 2px !important; }
.row { display: flex; gap: 10px; flex-wrap: wrap; }
.row > * { flex: 1; }

.icon-pick { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; }
.icon-pick label {
  border: 1px solid var(--line); border-radius: 12px; padding: 8px 4px 6px; display: flex; flex-direction: column; align-items: center;
  gap: 2px; font-size: 14px; color: var(--muted); cursor: pointer; background: #fff;
}
.icon-pick input { position: absolute; opacity: 0; pointer-events: none; }
.icon-pick svg { width: 34px; height: 34px; fill: none; stroke: var(--navy); stroke-width: 2.2; stroke-linejoin: round; stroke-linecap: round; }
.icon-pick input:checked + label { border-color: var(--gold); background: var(--gold-soft); color: var(--navy); font-weight: 600; }

.check { display: flex; align-items: center; gap: 10px; font-weight: 600; font-size: 15.5px; margin: 6px 0 10px; }
.check input { width: 18px; height: 18px; accent-color: var(--navy); }

.detail-title { font-family: var(--serif); font-size: 24px; margin: 0; }
.detail-brand { color: var(--muted); margin: 2px 0 10px; }
.facts { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin: 12px 0; }
.fact { background: var(--cream); border-radius: 12px; padding: 10px 12px; }
.fact small { display: block; color: var(--muted); font-size: 14px; }
.fact strong { font-size: 15.5px; }
.verified { display: inline-flex; align-items: center; gap: 6px; font-size: 14.5px; color: var(--ok); font-weight: 600; text-decoration: none; }
.verified:hover { text-decoration: underline; }

.timeline { list-style: none; margin: 8px 0 0; padding: 0; border-left: 2px solid var(--gold-soft); }
.timeline li { position: relative; padding: 0 0 14px 18px; }
.timeline li::before {
  content: ""; position: absolute; left: -7px; top: 5px; width: 12px; height: 12px; border-radius: 50%;
  background: var(--gold); border: 2px solid var(--paper);
}
.timeline .t-main { font-weight: 600; font-size: 15.5px; }
.timeline .t-sub { color: var(--muted); font-size: 14.5px; }
.h-label { font-weight: 700; font-size: 14.5px; text-transform: uppercase; letter-spacing: .6px; color: var(--muted); margin: 18px 0 6px; }

.callout { border-radius: 12px; padding: 12px 14px; font-size: 15.5px; margin: 12px 0; }
.callout.held { background: var(--warn-soft); color: #6d4810; }
.callout.info { background: #eef0f5; color: var(--navy-2); }
.callout.ok { background: var(--ok-soft); color: #1f5a40; }
.actions-col { display: flex; flex-direction: column; gap: 8px; margin-top: 12px; }
.mono { font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; font-size: 14px; word-break: break-all; background: var(--cream); padding: 8px 10px; border-radius: 8px; }

/* ---------- Toasts ---------- */
#toast-root { position: fixed; left: 50%; bottom: 20px; transform: translateX(-50%); display: flex; flex-direction: column; gap: 8px; z-index: 60; width: min(440px, calc(100% - 32px)); }
.toast {
  background: var(--navy); color: #fff; border-radius: 14px; padding: 12px 14px; box-shadow: 0 12px 30px rgba(15,27,51,.3);
  display: flex; gap: 10px; align-items: center; font-size: 15.5px; animation: rise .15s ease;
}
@keyframes rise { from { transform: translateY(8px); opacity: 0; } }
.toast .dot { flex: none; width: 10px; height: 10px; border-radius: 50%; background: var(--gold); }
.toast.pending .dot { animation: pulse 1s ease infinite; }
.toast.ok .dot { background: #5bd39b; }
.toast.error { background: #5b1f1a; }
.toast.error .dot { background: #ff8a7a; }
.toast a { color: var(--gold); margin-left: auto; white-space: nowrap; font-weight: 600; }
@keyframes pulse { 50% { opacity: .3; } }

/* ---------- Footer ---------- */
.foot { max-width: 1120px; margin: 0 auto; padding: 0 20px 30px; color: var(--muted); font-size: 14px; display: flex; gap: 10px; flex-wrap: wrap; align-items: center; }
.live { display: inline-flex; align-items: center; gap: 6px; }
.live::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: #3cb179; }
.live.down::before { background: var(--err); }

@media (max-width: 640px) {
  .order { grid-template-columns: 84px 1fr; }
  .facts { grid-template-columns: 1fr; }
  .persona { padding-right: 10px; }
  .brand h1 { font-size: 19px; }
  .tab { padding: 10px 10px; font-size: 15.5px; }
  .modal .art { aspect-ratio: 16 / 8; }
}

/* ---------- Hero ---------- */
.hero:empty { display: none; }
.hero {
  display: grid; grid-template-columns: 1.35fr 1fr; gap: 20px; align-items: stretch;
  background: var(--paper); border: 1px solid var(--line); border-radius: 20px; box-shadow: var(--shadow);
  padding: 22px; margin-bottom: 18px; position: relative; overflow: hidden;
}
.hero::before { content: ""; position: absolute; inset: 0 auto 0 0; width: 5px; background: var(--gold); }
.hero-copy h2 { font-family: var(--serif); font-size: 30px; line-height: 1.15; margin: 0 0 8px; color: var(--navy); }
.hero-copy p { margin: 0 0 12px; color: var(--muted); max-width: 52ch; }
.steps { list-style: none; padding: 0; margin: 0; display: flex; gap: 8px; flex-wrap: wrap; }
.steps li { display: flex; align-items: center; gap: 8px; font-size: 14.5px; font-weight: 600; color: var(--navy-2); background: var(--cream); border-radius: 999px; padding: 6px 12px 6px 6px; }
.steps span { width: 22px; height: 22px; border-radius: 50%; background: var(--navy); color: var(--gold); display: grid; place-items: center; font-size: 13px; font-weight: 700; }
.tip { margin-top: 12px !important; font-size: 14.5px; color: var(--warn) !important; }
.hero-stats { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.stat { background: var(--navy); color: #fff; border-radius: 14px; padding: 12px 14px; display: flex; flex-direction: column; justify-content: center; }
.stat strong { font-family: var(--serif); font-size: 26px; color: var(--gold); line-height: 1.1; }
.stat small { color: #b9c2d6; font-size: 14px; }
.linkish { background: none; border: none; padding: 0; color: var(--navy); font-weight: 600; text-decoration: underline; text-underline-offset: 2px; }

/* ---------- Cards / orders extras ---------- */
.card-prov { margin: 0; font-size: 14px; color: var(--muted); }
.fine { width: 100%; margin: 6px 0 0; font-size: 14.5px; color: var(--muted); }
.h-label:first-of-type { margin-top: 4px; }
.done-list { background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.done { width: 100%; display: grid; grid-template-columns: 56px 1fr auto; gap: 12px; align-items: center; padding: 10px 14px; background: none; border: none; border-bottom: 1px solid var(--line); text-align: left; }
.done:last-child { border-bottom: none; }
.done:hover { background: var(--cream); }
.done strong { display: block; font-size: 15.5px; }
.done small { color: var(--muted); font-size: 14.5px; }
.art.mini { width: 56px; aspect-ratio: 1; border-radius: 10px; }
.art.mini svg { width: 60%; }
.done-amt { font-weight: 700; }
.done-amt.plus { color: var(--ok); }

/* ---------- Add form extras ---------- */
.samples { display: flex; flex-wrap: wrap; gap: 6px; align-items: center; margin-bottom: 12px; font-size: 14.5px; color: var(--muted); }
.sample { border: 1px solid var(--line); background: var(--cream); border-radius: 999px; padding: 4px 10px; font-size: 14px; font-weight: 600; color: var(--navy-2); }
.sample:hover { border-color: var(--gold); }
.photo-pick { display: grid; grid-template-columns: 132px 1fr; gap: 12px; align-items: center; }
.photo-prev { aspect-ratio: 4 / 3; border-radius: 12px; border: 1px dashed var(--line); background: var(--cream); display: grid; place-items: center; overflow: hidden; color: var(--muted); font-size: 14px; }
.photo-prev img { width: 100%; height: 100%; object-fit: cover; }
.photo-pick .hint { display: block; margin-top: 6px; }
.photo-pick label.btn { cursor: pointer; }
.detail-links { display: flex; align-items: center; justify-content: space-between; gap: 10px; flex-wrap: wrap; }

/* ---------- Public passport page ---------- */
body.public .tabs, body.public .who { display: none; }
.pp { max-width: 820px; margin: 0 auto; }
.back { margin: 0 0 12px; }
.cert {
  background: linear-gradient(180deg, #fffdf8, #fbf6ea); border: 1px solid #e3d3ad; border-radius: 22px;
  box-shadow: var(--shadow); overflow: hidden;
}
.cert-top { display: flex; justify-content: space-between; align-items: center; background: var(--navy); color: var(--gold); padding: 12px 22px; font-size: 14px; letter-spacing: 1.6px; text-transform: uppercase; font-weight: 700; }
.cert-no { font-family: ui-monospace, Menlo, Consolas, monospace; letter-spacing: 1px; }
.cert-main { display: grid; grid-template-columns: 300px 1fr; gap: 22px; padding: 22px; }
.cert-photo .art { border-radius: 14px; border: 1px solid #eadfc4; }
.cert-info h2 { font-family: var(--serif); font-size: 30px; margin: 0; color: var(--navy); line-height: 1.15; }
.cert-brand { margin: 4px 0 0; font-weight: 600; color: #7a5a1c; }
.cert-details { margin: 4px 0 0; color: var(--muted); }
.cert-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 10px 16px; margin: 16px 0 0; }
.cert-grid dt { font-size: 13px; letter-spacing: .8px; text-transform: uppercase; color: var(--muted); }
.cert-grid dd { margin: 2px 0 0; font-weight: 600; font-size: 15.5px; }
.cert-bottom { display: grid; grid-template-columns: 132px 1fr; gap: 18px; align-items: center; padding: 16px 22px 20px; border-top: 1px dashed #e3d3ad; }
.cert-qr { background: #fff; border: 1px solid var(--line); border-radius: 12px; padding: 10px; text-align: center; }
.cert-qr svg { width: 100%; height: auto; display: block; }
.cert-qr small { display: block; margin-top: 6px; font-size: 13px; color: var(--muted); }
.cert-seal strong { color: var(--ok); }
.cert-seal p { margin: 4px 0 10px; color: var(--muted); font-size: 15.5px; }
.cert-seal .row > * { flex: 0 0 auto; }
.pp-cta { display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; margin-top: 18px; }

@media (max-width: 760px) {
  .hero { grid-template-columns: 1fr; padding: 18px; }
  .hero-copy h2 { font-size: 24px; }
  .stat strong { font-size: 20px; }
  .cert-main { grid-template-columns: 1fr; }
  .cert-bottom { grid-template-columns: 100px 1fr; }
  .photo-pick { grid-template-columns: 100px 1fr; }
}

.how-link { background: none !important; padding: 6px 4px !important; }
.foot-link { color: var(--muted); font-weight: 500; font-size: 14px; }
.how-list { margin: 0 0 12px; padding-left: 20px; display: flex; flex-direction: column; gap: 10px; }
.how-list li { color: var(--ink); }
.how-list strong { color: var(--navy); }
@media (max-width: 640px) {
  .hero-copy p:not(.tip) { display: none; }
  .steps li:not(.how-link) { display: none; }
  .hero-copy h2 { margin-bottom: 4px; }
}

/* ---------- V2: partners, disputes, track records ---------- */
.chip.bad { background: var(--err-soft); color: var(--err); }
.callout.bad { background: var(--err-soft); color: #7c2d25; }
.auth-badge { position: absolute; bottom: 10px; left: 10px; font-size: 13px; font-weight: 700; background: var(--ok); color: #fff; padding: 3px 9px; border-radius: 999px; }
.persona em { font-style: normal; font-size: 13px; font-weight: 700; text-transform: uppercase; letter-spacing: .5px; background: rgba(201,164,92,.25); color: var(--gold); border-radius: 999px; padding: 1px 6px; margin-left: 2px; vertical-align: 1px; }
.persona.active em { background: var(--gold-soft); color: #7a5a1c; }
.select { border: 1px solid var(--line); border-radius: 10px; padding: 10px 12px; background: #fff; width: 100%; }
.sub-label { margin-top: 6px; }
.radio { display: flex; align-items: center; gap: 8px; font-weight: 500 !important; font-size: 15.5px !important; padding: 4px 0; }
.radio input { accent-color: var(--navy); width: 16px; height: 16px; }
ul.plain { margin: 6px 0 0; padding-left: 18px; }
ul.plain li { margin: 2px 0; }
.empty.slim { padding: 16px 20px; }
.empty.slim p { margin: 0; }
.done.static { cursor: default; }
.done.static:hover { background: none; }
.muted { color: var(--muted); font-weight: 500; font-size: 14.5px; }
.order .fine { margin: 6px 0 2px; }
.cert-auth { padding: 0 22px; }
.cert-auth .callout { margin: 0 0 16px; }
.timeline li.t-auth::before { background: var(--ok); }
.who { row-gap: 6px; }
@media (max-width: 640px) {
  .persona { padding: 4px 10px 4px 4px; gap: 6px; }
  .persona .avatar { width: 26px; height: 26px; }
  .persona .p-name { font-size: 14.5px; }
  .addmoney { padding: 6px 10px; }
}

.mono-inline { font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; font-size: 14px; word-break: break-all; }
.fingerprint { font-size: 14px !important; margin-top: -4px !important; }

/* ---------- Sign in and role dashboards ---------- */
.signout { border: 1px solid rgba(255,255,255,.25); background: transparent; color: #dfe5f2; border-radius: 999px; padding: 8px 14px; font-weight: 600; font-size: 14.5px; }
.signout:hover { background: rgba(255,255,255,.08); }
div.persona { cursor: default; }

.roles { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 16px; }
.role-card {
  background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow);
  padding: 22px 20px 18px; text-align: left; display: flex; flex-direction: column; gap: 6px;
  transition: transform .12s ease, box-shadow .12s ease, border-color .12s ease;
}
.role-card:hover, .role-card:focus-visible { transform: translateY(-2px); border-color: var(--gold); box-shadow: 0 2px 4px rgba(15,27,51,.08), 0 14px 30px rgba(15,27,51,.10); outline: none; }
.role-card .avatar { width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center; font-weight: 700; font-size: 18px; color: var(--navy); margin-bottom: 6px; }
.role-kicker { font-size: 13px; font-weight: 700; letter-spacing: .9px; text-transform: uppercase; color: #8a6a26; }
.role-card h3 { font-family: var(--serif); font-size: 22px; font-weight: 600; margin: 0; color: var(--navy); }
.role-card p { margin: 0; color: var(--muted); font-size: 15.5px; min-height: 42px; }
.role-as { font-size: 12.5px; color: var(--ink); background: var(--cream); border-radius: 8px; padding: 6px 10px; margin-top: 8px; }
.role-go { margin-top: 10px; font-weight: 700; font-size: 15.5px; color: var(--navy); }
.fine.center { text-align: center; margin-top: 18px; }

.tiles { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 12px; margin-bottom: 6px; }
.tile { background: var(--navy); color: #fff; border-radius: 14px; padding: 14px 16px; }
.tile strong { display: block; font-family: var(--serif); font-size: 26px; font-weight: 600; color: var(--gold); line-height: 1.15; }
.tile small { color: #c5cde0; font-size: 12.5px; }
.panel { background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); padding: 14px 16px; }
.panel .steps { margin: 0; }
.done-cta { font-weight: 700; font-size: 14.5px; color: #8a6a26; white-space: nowrap; }
.tip.boxed { background: var(--warn-soft); border-radius: 12px; padding: 10px 14px; margin: 0 0 14px; }
.panel .steps li:not(.how-link) { display: flex !important; }
.section-head .btn { white-space: nowrap; }

/* ---------- V3: views, sign-in, community, admin ---------- */
.viewbar { margin: 0 0 6px; }
.viewbar-inner { display: inline-flex; gap: 4px; background: var(--paper); border: 1px solid var(--line); border-radius: 999px; padding: 4px; flex-wrap: wrap; }
.vbtn { border: none; background: none; padding: 8px 16px; border-radius: 999px; font-weight: 600; font-size: 15.5px; color: var(--muted); display: inline-flex; align-items: center; gap: 6px; }
.vbtn:hover { color: var(--navy); }
.vbtn.active { background: var(--navy); color: #fff; }
.vbtn .count, .tab .count { background: var(--gold); color: var(--navy); border-radius: 999px; font-size: 13px; padding: 1px 7px; font-weight: 700; }
.asbanner { margin-top: 10px; background: var(--warn-soft); color: #6d4810; border-radius: 12px; padding: 8px 14px; font-size: 15.5px; }
.persona em { font-style: normal; font-weight: 500; color: var(--muted); font-size: 14px; margin-left: 4px; }

.signin { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 16px; margin-bottom: 8px; }
.signin-card h3, .join-title { font-family: var(--serif); font-size: 22px; margin: 4px 0 10px; }
.signin-card p { color: var(--muted); font-size: 15.5px; }
.signin .row input, .front input, .panel .row input { flex: 1; min-width: 0; padding: 10px 12px; border: 1px solid var(--line); border-radius: 10px; background: #fff; }
.center { text-align: center; }
.join { max-width: 620px; margin: 10px auto; }
.join .field input { width: 100%; padding: 10px 12px; border: 1px solid var(--line); border-radius: 10px; }
ul.plain { padding-left: 18px; }

.member-card { display: flex; gap: 16px; align-items: center; background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); padding: 14px 16px; margin: 12px 0; }
.mc-qr svg { width: 96px; height: 96px; display: block; }
.mc-code { font-size: 18px; font-weight: 700; color: var(--navy); }
.avatar { width: 34px; height: 34px; border-radius: 50%; display: inline-grid; place-items: center; font-weight: 700; color: var(--navy); flex: none; }
.mini-av { width: 30px; height: 30px; font-size: 14.5px; }

.ledger { padding: 4px 14px; }
.ledger-row { display: grid; grid-template-columns: 120px 1fr auto; gap: 12px; align-items: center; padding: 10px 0; border-bottom: 1px solid var(--line); font-size: 15.5px; }
.ledger-row:last-child { border-bottom: none; }
.lr-when { color: var(--muted); font-size: 14px; }
.lr-link { font-size: 14px; color: var(--navy-2); white-space: nowrap; }

.people { padding: 4px 14px; }
.person { display: grid; grid-template-columns: 30px minmax(160px, 1fr) 2fr auto; gap: 12px; align-items: center; padding: 10px 0 10px calc(var(--depth, 0) * 26px); border-bottom: 1px solid var(--line); font-size: 15.5px; }
.person:last-child { border-bottom: none; }
.person .pn small { display: block; color: var(--muted); font-size: 14px; }
.person .pr { color: var(--muted); font-size: 14.5px; }
.warn { color: var(--err); font-weight: 600; }

.order.dispute { grid-template-columns: 120px 1fr; }
.evidence { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin: 8px 0; }
.evidence > div { background: var(--cream); border-radius: 10px; padding: 8px 12px; }
.evidence small { color: var(--muted); font-size: 14px; font-weight: 600; text-transform: uppercase; letter-spacing: .4px; }
.evidence p { margin: 2px 0 0; color: var(--ink); }
.panel-row { display: flex; flex-wrap: wrap; gap: 8px; margin: 8px 0 2px; }
.pv { display: inline-flex; align-items: center; gap: 6px; border: 1px solid var(--line); border-radius: 999px; padding: 3px 10px 3px 3px; font-size: 14.5px; background: #fff; }
.pv small { display: block; font-size: 13px; color: var(--muted); line-height: 1; }
.pv span { line-height: 1.15; }
.pv.b { border-color: #e7c3be; background: var(--err-soft); }
.pv.s { border-color: #bfdccd; background: var(--ok-soft); }

.checklist { list-style: none; padding: 0; margin: 0 0 14px; }
.checklist li { display: flex; gap: 10px; padding: 6px 0; color: var(--muted); }
.checklist li.ok { color: var(--ok); font-weight: 600; }
.checklist li span { width: 18px; }

.sbs { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.sbs-col { background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); padding: 14px; }
.sbs-col h3 { font-family: var(--serif); margin: 0; font-size: 20px; }
.sbs-item { display: flex; align-items: center; gap: 8px; border-top: 1px solid var(--line); padding: 8px 0; }
.sbs-open { display: grid; grid-template-columns: 44px 1fr; gap: 10px; align-items: center; background: none; border: none; text-align: left; padding: 0; flex: 1; }
.sbs-open small { display: block; color: var(--muted); font-size: 14px; }
.sbs-shop { border-top: 1px solid var(--line); padding: 8px 0; }
.sbs-shop small { display: block; color: var(--muted); font-size: 14px; }
.inv-ico { width: 40px; height: 40px; border-radius: 10px; background: var(--gold-soft); display: grid; place-items: center; font-size: 18px; color: var(--navy); }
.flag-link { display: inline-block; margin-top: 10px; font-size: 14.5px; color: var(--err); }
.t-dispute .t-main { color: var(--err); }
textarea.select { width: 100%; resize: vertical; }
.field textarea { padding: 10px 12px; border: 1px solid var(--line); border-radius: 10px; }

@media (max-width: 760px) {
  .sbs { grid-template-columns: 1fr; }
  .evidence { grid-template-columns: 1fr; }
  .person { grid-template-columns: 30px 1fr; }
  .person .pr, .person .btn { grid-column: 2; }
  .ledger-row { grid-template-columns: 1fr; gap: 2px; }
  .order.dispute { grid-template-columns: 1fr; }
}
.seed-chip { border: 1px solid var(--line); margin: 2px; }


/* ================================================================
   Clean marketplace theme (overrides). One accent: emerald.
   ================================================================ */
body { background: var(--cream); font-feature-settings: "cv11", "ss01"; }
h1, h2, h3, h4 { letter-spacing: -0.02em; }
.topbar { background: var(--paper); color: var(--ink); border-bottom: 1px solid var(--line); }
.logo { stroke: var(--ink); }
.brand h1 { font-weight: 700; font-size: 19px; letter-spacing: -0.02em; }
.brand p { color: var(--muted); }
.persona { background: var(--cream); border-color: var(--line); color: var(--ink); }
.persona.active { background: var(--paper); color: var(--ink); border-color: var(--line); }
.persona em, .persona.active em { text-transform: none; letter-spacing: 0; font-size: 14px; font-weight: 500; background: none; color: var(--muted); padding: 0; }
.addmoney { border-color: var(--line); color: var(--ink); background: var(--paper); }
.signout { border-color: var(--line); color: var(--muted); background: none; }

.section-head h2 { font-weight: 700; font-size: 28px; }
.h-label { text-transform: none; letter-spacing: 0; font-size: 16.5px; font-weight: 650; color: var(--ink); margin: 26px 0 8px; }
.role-kicker { text-transform: none; letter-spacing: 0; font-size: 14.5px; font-weight: 600; color: var(--gold); }
.cert-grid dt, .evidence small { text-transform: none; letter-spacing: 0; font-size: 14px; }

.btn { border-radius: 10px; font-weight: 600; }
.btn.primary { background: var(--ink); color: #fff; }
.btn.primary:hover:not(:disabled) { background: #292524; }
.btn.gold { background: var(--gold); color: #fff; }
.btn.gold:hover:not(:disabled) { background: #065F46; filter: none; }
.btn.ghost { background: var(--paper); }
.btn:focus-visible, .vbtn:focus-visible, .tab:focus-visible, .card:focus-visible, .role-card:focus-visible, .linkish:focus-visible { outline: 2px solid var(--stamp); outline-offset: 2px; }
.linkish { color: var(--gold); }

.tile, .stat { background: var(--paper); color: var(--ink); border: 1px solid var(--line); box-shadow: none; }
.tile strong, .stat strong { color: var(--ink); font-weight: 700; font-size: 24px; font-variant-numeric: tabular-nums; }
.tile small, .stat small { color: var(--muted); }

.tabs { border-bottom-color: var(--line); }
.tab.active { color: var(--ink); border-bottom-color: var(--ink); }
.vbtn .count, .tab .count { background: var(--gold); color: #fff; }
.viewbar-inner { background: var(--paper); }
.vbtn.active { background: var(--ink); }

.card { box-shadow: none; border: 1px solid var(--line); }
.card:hover { border-color: #D6D3D1; }
.pid { background: rgba(255,255,255,.92); color: var(--ink); border: 1px solid var(--line); }
.auth-badge { background: var(--stamp); color: #fff; }
.art { background: #F5F5F4; }
.art svg { stroke: #44403C; }
.chip.owned { background: #F5F5F4; color: #292524; }
.chip.listed { background: var(--paper); color: var(--ink); border: 1px solid var(--line); }
.price { font-variant-numeric: tabular-nums; }

.panel, .empty, .order, .done-list, .role-card, .signin-card, .member-card, .sbs-col { box-shadow: none; }
.role-card:hover, .role-card:focus-visible { transform: none; border-color: var(--ink); box-shadow: none; }
.role-card h3, .signin-card h3, .join-title, .empty h3, .detail-title, .modal-head h3, .sbs-col h3, .cert-info h2 { font-weight: 700; }
.role-go { color: var(--gold); }
.callout.info { background: #F5F5F4; color: #292524; }
.toast { background: var(--ink); }
.toast .dot { background: var(--stamp); }
.toast a { color: #6EE7B7; }
.timeline { border-left-color: var(--line); }
.timeline li::before { background: var(--faint); }
.timeline li.t-auth::before { background: var(--stamp); }
.icon-pick input:checked + label { border-color: var(--gold); background: var(--gold-soft); color: var(--ink); }
.field input:focus, .field select:focus, .field textarea:focus, .row input:focus { outline: 2px solid var(--gold-soft); border-color: var(--gold); }
.spinner { border-color: var(--line); border-top-color: var(--gold); }
.cert-top { background: var(--paper); color: var(--ink); border-bottom: 1px solid var(--line); }
.cert-no { color: var(--muted); font-variant-numeric: tabular-nums; }
.inv-ico { background: var(--gold-soft); color: var(--gold); }
.lr-link { color: var(--gold); }
.mc-code { color: var(--ink); }
.asbanner { background: var(--warn-soft); }
.seed-chip { background: var(--paper); }

/* ---------- Landing: hero with a live passport ---------- */
.hero { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr); gap: 48px; align-items: center;
  background: none; border: none; padding: 36px 0 28px; box-shadow: none; }
.hero::before { display: none; }
.hero-copy h2 { font-size: 46px; line-height: 1.04; letter-spacing: -0.035em; font-weight: 750; color: var(--ink); margin: 0 0 18px; max-width: 13ch; }
.hero-copy p { font-size: 17px; line-height: 1.55; color: #292524; max-width: 46ch; margin: 0 0 22px; }
.hero-facts { display: flex; gap: 28px; flex-wrap: wrap; margin: 0; padding: 0; list-style: none; }
.hero-facts li strong { display: block; font-size: 22px; font-weight: 700; font-variant-numeric: tabular-nums; }
.hero-facts li small { color: var(--muted); font-size: 14.5px; }

.passport { position: relative; background: var(--paper); border: 1px solid var(--line); border-radius: 18px; padding: 18px; }
.passport-head { display: flex; justify-content: space-between; align-items: baseline; font-size: 14.5px; color: var(--muted); margin-bottom: 12px; }
.passport-head b { color: var(--ink); font-weight: 650; }
.passport-body { display: grid; grid-template-columns: 132px 1fr; gap: 16px; align-items: start; }
.passport-body .art { border-radius: 12px; aspect-ratio: 1; }
.passport h3 { margin: 0; font-size: 20px; font-weight: 700; }
.passport .pp-brand { margin: 2px 0 10px; color: var(--muted); font-size: 15.5px; }
.passport dl { display: grid; grid-template-columns: auto 1fr; gap: 4px 14px; margin: 0; font-size: 14.5px; }
.passport dt { color: var(--muted); }
.passport dd { margin: 0; font-weight: 600; font-variant-numeric: tabular-nums; }
.passport-trail { list-style: none; margin: 16px 0 0; padding: 14px 0 0; border-top: 1px dashed var(--line); display: grid; gap: 8px; font-size: 14.5px; }
.passport-trail li { display: grid; grid-template-columns: 14px 1fr auto; gap: 10px; align-items: center; }
.passport-trail i { width: 10px; height: 10px; border-radius: 50%; background: var(--faint); }
.passport-trail li.on i { background: var(--stamp); }
.passport-trail small { color: var(--muted); }
.stamp { position: absolute; top: -16px; right: 18px; transform: rotate(-8deg); border: 2.5px solid var(--stamp); color: var(--gold);
  background: var(--paper); border-radius: 10px; padding: 6px 12px; font-weight: 800; font-size: 14.5px; letter-spacing: .02em; line-height: 1.1; text-align: center; }
.stamp small { display: block; font-weight: 600; font-size: 13px; letter-spacing: 0; color: var(--muted); }

/* ---------- Landing: plain explanation ---------- */
.explain { padding: 8px 0 8px; border-top: 1px solid var(--line); margin-top: 8px; }
.explain h2 { font-size: 28px; font-weight: 700; margin: 28px 0 6px; }
.explain > p { color: #292524; max-width: 62ch; margin: 0 0 18px; font-size: 16px; }
.qa { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 40px; margin: 0; }
.qa div { padding: 16px 0; border-top: 1px solid var(--line); }
.qa dt { font-weight: 650; font-size: 16px; margin-bottom: 4px; }
.qa dd { margin: 0; color: #292524; max-width: 52ch; }
.flow { list-style: none; counter-reset: f; margin: 8px 0 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px 28px; }
.flow li { counter-increment: f; padding-left: 38px; position: relative; color: #292524; font-size: 15.5px; }
.flow li::before { content: counter(f); position: absolute; left: 0; top: 0; width: 26px; height: 26px; border-radius: 50%; border: 1.5px solid var(--ink); display: grid; place-items: center; font-weight: 700; font-size: 14.5px; color: var(--ink); }
.flow li b { display: block; color: var(--ink); font-size: 16.5px; margin-bottom: 2px; }
.roles-explain { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; margin-top: 4px; }
.roles-explain div { background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); padding: 16px; }
.roles-explain h3 { margin: 0 0 4px; font-size: 16px; }
.roles-explain p { margin: 0; color: #292524; font-size: 15.5px; }
.landing-split { border-top: 1px solid var(--line); margin-top: 28px; padding-top: 8px; }

@media (max-width: 860px) {
  .hero { grid-template-columns: 1fr; gap: 36px; padding-top: 20px; }
  .hero-copy h2 { font-size: 36px; }
  .qa, .flow, .roles-explain { grid-template-columns: 1fr; }
}
@media (max-width: 480px) {
  .passport-body { grid-template-columns: 1fr; }
  .passport-body .art { max-width: 180px; }
}
@media (prefers-reduced-motion: reduce) { * { transition: none !important; animation: none !important; } }
.hero-cta { margin-top: 26px; gap: 10px; } .hero-cta .btn { text-decoration: none; }

/* landing fixes */
.passport-head { padding-right: 104px; }
.hero-cta .btn { flex: none; padding-left: 22px; padding-right: 22px; }
.hero { border-bottom: none; }
.hero + .viewbar, .hero-facts { column-gap: 26px; }
.hero-facts li { min-width: 0; }
.landing-split { border-top: 1px solid var(--line); margin-top: 8px; }
main > hr, .hero ~ hr { display: none; }
.order.dispute { align-items: start; }
@media (min-width: 861px) { .hero-facts { flex-wrap: nowrap; } }
.tabs:empty, .viewbar:empty { display: none; }
@media (max-width: 640px) {
  .hero { padding: 16px 0 8px; }
  .hero-copy p:not(.tip) { display: block; font-size: 16px; }
  .hero-copy h2 { font-size: 34px; margin-bottom: 14px; }
  .hero-facts { gap: 14px 22px; }
  .passport-head { padding-right: 92px; display: block; }
  .passport-head span { display: none; }
}

/* readability */
body { font-size: 17px; line-height: 1.55; }
.hero-copy p { font-size: 19px; }
.hero-facts li strong { font-size: 26px; }
.passport dl, .passport-trail { font-size: 15px; }
.passport-head { font-size: 14.5px; }
.passport h3 { font-size: 22px; }
.fine, .hint { font-size: 15px; color: var(--muted); }
.qa dd, .flow li, .roles-explain p, .explain > p { font-size: 16.5px; }
.flow li b, .qa dt { font-size: 17px; }

/* ================================================================
   Sunset theme (chosen). Warm off-white, black type and buttons,
   a peach-pink-lilac gradient hero, coral for brand accents.
   Verified marks are black (red would read as an error).
   ================================================================ */
:root {
  --cream: #FFF8F4; --paper: #FFFFFF; --ink: #1D1A1F; --navy: #1D1A1F; --navy-2: #3A3438;
  --gold: #C93B37;          /* coral-red: links, accents */
  --gold-soft: #FDE7E3;
  --stamp: #1D1A1F;         /* verified = ink */
  --line: #F0E2DC; --muted: #5E5458; --faint: #B9AAA6;
  --ok: #1F6E52; --ok-soft: #E4F2EB;
  --sunset: linear-gradient(120deg, #FFD9C2 0%, #FBC6D6 55%, #E9D4FF 100%);
}
.topbar { background: var(--cream); border-bottom: 1px solid var(--line); }
.logo { stroke: #E8505B; }
.btn.primary { background: var(--ink); color: #fff; }
.btn.primary:hover:not(:disabled) { background: #3A3438; }
.btn.gold { background: #E8505B; color: #fff; }
.btn.gold:hover:not(:disabled) { background: #D9433F; }
.vbtn.active { background: var(--ink); }
.vbtn .count, .tab .count { background: #E8505B; color: #fff; }
.tab.active { border-bottom-color: #E8505B; }
.hero { background: var(--sunset); border-radius: 28px; padding: 48px 44px 44px; margin-top: 8px; }
.hero-copy p, .hero-facts li small { color: #3A3236; }
.passport { box-shadow: 0 20px 50px rgba(120, 40, 60, .15); border: none; }
.stamp { border-color: var(--ink); color: var(--ink); }
.passport-trail li.on i { background: var(--ink); }
.art, .passport .art, .card .art { background: #FFEDE6; }
.art svg { stroke: #D9433F; }
.auth-badge { background: var(--ink); color: #fff; }
.chip.ok { background: var(--ok-soft); color: var(--ok); }
.linkish, .lr-link, .role-kicker, .role-go { color: #C93B37; }
.toast .dot { background: #FF8A80; }
.toast a { color: #FFC4B8; }
.timeline li.t-auth::before { background: var(--ink); }
.field input:focus, .field select:focus, .field textarea:focus, .row input:focus { outline: 2px solid var(--gold-soft); border-color: #E8505B; }
.btn:focus-visible, .vbtn:focus-visible, .tab:focus-visible, .card:focus-visible, .role-card:focus-visible, .linkish:focus-visible { outline-color: #E8505B; }
.inv-ico { background: var(--gold-soft); color: #C93B37; }
.flow li::before { border-color: #E8505B; color: #C93B37; }
@media (max-width: 640px) { .hero { padding: 28px 20px; border-radius: 20px; } }
.promises { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; margin: 6px 0 8px; }
.promises div { background: var(--paper); border-radius: 18px; padding: 20px; box-shadow: 0 8px 24px rgba(120, 40, 60, .06); }
.promises div:nth-child(1) { background: #FFE9DE; } .promises div:nth-child(2) { background: #FDE2EA; }
.promises div:nth-child(3) { background: #F3E6FF; } .promises div:nth-child(4) { background: #FFF1D6; }
.promises h3 { margin: 0 0 6px; font-size: 18px; font-weight: 700; }
.promises p { margin: 0; font-size: 16px; color: #3A3236; }
.flow li { font-size: 16px; }
@media (max-width: 860px) { .promises { grid-template-columns: 1fr 1fr; } }
@media (max-width: 480px) { .promises { grid-template-columns: 1fr; } }

/* ================================================================
   Marketplace theme (Airbnb-like): white, #222 text, one rose
   accent, photo-first rounded cards, soft shadows, little text.
   ================================================================ */
:root {
  --cream: #FFFFFF; --paper: #FFFFFF; --ink: #222222; --navy: #222222; --navy-2: #3D3D3D;
  --gold: #E31C5F; --gold-soft: #FFF0F3; --stamp: #222222;
  --rose: #F0435A; --rose-2: #D70466;
  --line: #EBEBEB; --muted: #6A6A6A; --faint: #B0B0B0;
  --ok: #008A05; --ok-soft: #EAF6EA; --warn: #8A5A00; --warn-soft: #FFF6E5; --err: #C13515; --err-soft: #FFF1EE;
  --radius: 16px;
  --sans: "Plus Jakarta Sans", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --serif: var(--sans);
  --lift: 0 6px 20px rgba(0, 0, 0, .12);
}
body { font-family: var(--sans); background: #fff; color: var(--ink); font-size: 16px; }
h1, h2, h3, h4 { letter-spacing: -0.01em; }
main { max-width: 1280px; padding: 0 40px 56px; }
.topbar { background: #fff; border-bottom: 1px solid var(--line); position: sticky; top: 0; z-index: 20; }
.topbar-inner { max-width: 1280px; padding: 14px 40px; display: grid; grid-template-columns: 1fr minmax(0, 420px) 1fr; align-items: center; }
.brand h1 { font-size: 20px; font-weight: 800; color: var(--rose); letter-spacing: -0.02em; }
.brand p { display: none; }
.logo { stroke: var(--rose); width: 34px; height: 34px; }
.who { justify-self: end; }
.searchbar { display: flex; align-items: center; gap: 10px; border: 1px solid var(--line); border-radius: 999px; padding: 6px 8px 6px 18px; box-shadow: 0 1px 2px rgba(0,0,0,.08), 0 4px 12px rgba(0,0,0,.05); background: #fff; }
.searchbar input { border: none; outline: none; flex: 1; font-size: 15px; padding: 8px 0; background: none; min-width: 0; }
.searchbar svg { width: 32px; height: 32px; padding: 8px; border-radius: 50%; background: var(--rose); stroke: #fff; fill: none; stroke-width: 2.4; order: 2; flex: none; }
.signin-btn { border-radius: 999px; }
.persona, .persona.active { background: #fff; border: 1px solid var(--line); box-shadow: none; }
.persona em, .persona.active em { color: var(--muted); }
.addmoney, .signout { border-radius: 999px; border: 1px solid var(--line); background: #fff; color: var(--ink); }

.btn { border-radius: 10px; font-weight: 650; }
.btn.primary { background: var(--ink); color: #fff; }
.btn.primary:hover:not(:disabled) { background: #000; }
.btn.gold { background: linear-gradient(90deg, var(--rose) 0%, var(--rose-2) 100%); color: #fff; }
.btn.gold:hover:not(:disabled) { filter: brightness(.95); }
.btn.ghost { background: #fff; border: 1px solid var(--ink); color: var(--ink); }
.linkish, .lr-link, .role-kicker, .role-go { color: var(--ink); }
.linkish { text-decoration: underline; }

/* landing */
.hero { display: none; }
.intro { display: flex; justify-content: space-between; align-items: end; gap: 24px; flex-wrap: wrap; padding: 28px 0 8px; }
.intro h2 { font-size: 30px; font-weight: 800; margin: 0 0 6px; max-width: 24ch; line-height: 1.15; }
.intro p { margin: 0; color: var(--muted); font-size: 16px; }
.intro-facts { display: flex; gap: 18px; color: var(--muted); font-size: 15px; }
.intro-facts b { color: var(--ink); font-weight: 800; }
.cats { display: flex; gap: 30px; overflow-x: auto; padding: 18px 2px 4px; margin: 6px 0 22px; border-bottom: 1px solid var(--line); scrollbar-width: none; }
.cat { background: none; border: none; display: flex; flex-direction: column; align-items: center; gap: 6px; padding: 0 0 12px; color: var(--muted); font-size: 13px; font-weight: 600; border-bottom: 2px solid transparent; flex: none; opacity: .75; }
.cat svg { width: 26px; height: 26px; fill: none; stroke: currentColor; stroke-width: 2.4; stroke-linejoin: round; stroke-linecap: round; }
.cat:hover { color: var(--ink); opacity: 1; border-bottom-color: #DDD; }
.cat.on { color: var(--ink); opacity: 1; border-bottom-color: var(--ink); }

.lgrid { display: grid; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); gap: 36px 24px; }
.lcard { background: none; border: none; padding: 0; text-align: left; color: var(--ink); display: block; }
.lcard-img { position: relative; border-radius: 14px; overflow: hidden; aspect-ratio: 1 / 1; margin-bottom: 10px; }
.lcard-img .art { width: 100%; height: 100%; aspect-ratio: auto; border-radius: 0; }
.lcard-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .25s ease; }
.lcard:hover .lcard-img img, .lcard:hover .lcard-img svg { transform: scale(1.03); }
.lbadge { position: absolute; top: 12px; left: 12px; background: #fff; color: var(--ink); border-radius: 999px; padding: 5px 11px; font-size: 13px; font-weight: 700; box-shadow: 0 2px 6px rgba(0,0,0,.15); }
.lbadge.muted { left: auto; right: 12px; background: rgba(34,34,34,.85); color: #fff; }
.lbadge.warn { left: auto; right: 12px; background: var(--warn-soft); color: var(--warn); }
.lcard-row { display: flex; justify-content: space-between; gap: 10px; font-size: 16px; }
.lcard-row b { font-weight: 700; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.lcard-row span { font-weight: 700; white-space: nowrap; font-variant-numeric: tabular-nums; }
.lcard-sub { color: var(--muted); font-size: 15px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.lcard-foot { margin-top: 6px; }
.lcard:focus-visible { outline: 2px solid var(--ink); outline-offset: 4px; border-radius: 14px; }
.grid-h { font-size: 22px; font-weight: 800; margin: 44px 0 16px; }

/* illustrated placeholders until a photo exists */
.art.illus { display: grid; place-items: center; background: #F7F7F7; }
.art.illus svg { width: 46%; height: auto; fill: none; stroke: #222; stroke-width: 1.6; opacity: .78; transition: transform .25s ease; }
.art.illus[data-kind="jacket"] { background: #F3EDE4; } .art.illus[data-kind="watch"] { background: #E9EEF5; }
.art.illus[data-kind="bag"] { background: #F5E9E4; } .art.illus[data-kind="shoes"] { background: #EAF2EC; }
.art.illus[data-kind="top"] { background: #EEF0F7; } .art.illus[data-kind="dress"] { background: #F7EAF0; }
.art.illus[data-kind="trousers"] { background: #ECEBF3; } .art.illus[data-kind="other"] { background: #F6F0E2; }
.art.mini { width: 56px; height: 56px; border-radius: 10px; }

/* how it works */
.explain { border-top: 1px solid var(--line); margin-top: 56px; padding-top: 8px; }
.explain h2 { font-size: 26px; font-weight: 800; margin: 32px 0 18px; }
.promises { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 18px; }
.promises div, .promises div:nth-child(n) { background: #fff; border-radius: 16px; padding: 22px; box-shadow: var(--lift); }
.promises .pi { display: inline-grid; place-items: center; width: 44px; height: 44px; border-radius: 12px; background: var(--gold-soft); margin-bottom: 14px; }
.promises .pi svg { width: 24px; height: 24px; fill: none; stroke: var(--rose); stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.promises h3 { font-size: 17px; margin: 0 0 4px; } .promises p { color: var(--muted); font-size: 15px; margin: 0; }

/* modals */
.backdrop { background: rgba(0,0,0,.45); }
.modal { border-radius: 20px; box-shadow: 0 12px 40px rgba(0,0,0,.25); border: none; }
.modal.narrow { max-width: 520px; }
.modal.wide { max-width: 980px; width: calc(100vw - 32px); }
.modal-head h3 { font-size: 18px; font-weight: 800; }
.or { display: flex; align-items: center; gap: 12px; color: var(--muted); font-size: 14px; margin: 20px 0 12px; }
.or::before, .or::after { content: ""; flex: 1; border-top: 1px solid var(--line); }
.demo-list { display: grid; gap: 8px; }
.demo-row { display: grid; grid-template-columns: auto 1fr auto; gap: 12px; align-items: center; background: #fff; border: 1px solid var(--line); border-radius: 12px; padding: 10px 14px; text-align: left; }
.demo-row:hover { border-color: var(--ink); }
.demo-row b { display: block; } .demo-row small { color: var(--muted); }
.demo-row .go { font-weight: 700; font-size: 14px; }

/* listing (item page) */
.listing { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); gap: 32px; align-items: start; }
.listing-photo .art { aspect-ratio: 1; border-radius: 16px; width: 100%; }
.listing-photo img { width: 100%; height: 100%; object-fit: cover; }
.pid-line { color: var(--muted); font-size: 14px; margin: 0 0 6px; }
.pid-line a { color: var(--ink); }
.listing .detail-title { font-size: 26px; font-weight: 800; }
.listing .detail-brand { color: var(--muted); margin: 4px 0 18px; }
.trust { display: grid; grid-template-columns: 40px 1fr; gap: 12px; align-items: center; padding: 14px 0; border-top: 1px solid var(--line); }
.trust .ti { width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; background: #F7F7F7; font-weight: 800; }
.trust b { display: block; } .trust small { color: var(--muted); font-size: 14px; }
.pricebox { border: 1px solid var(--line); border-radius: 16px; padding: 20px; box-shadow: var(--lift); margin-top: 8px; }
.pb-top { display: flex; justify-content: space-between; align-items: baseline; gap: 10px; margin-bottom: 12px; }
.pb-price { font-size: 26px; font-weight: 800; font-variant-numeric: tabular-nums; }
.pb-top small { color: var(--muted); font-size: 14px; text-align: right; }
.share-link { margin-top: 14px; display: inline-block; }

/* inside the app */
.viewbar-inner { border: none; background: #F7F7F7; }
.vbtn.active { background: #fff; color: var(--ink); box-shadow: 0 1px 4px rgba(0,0,0,.12); }
.vbtn .count, .tab .count { background: var(--rose); color: #fff; }
.viewbar { margin-top: 22px; }
.tab.active { border-bottom-color: var(--ink); }
.section-head h2 { font-size: 26px; font-weight: 800; }
.tile, .stat { border: none; box-shadow: var(--lift); border-radius: 16px; }
.order, .panel, .done-list, .empty, .member-card, .sbs-col { border-color: var(--line); border-radius: 16px; }
.chip.listed { border-color: var(--line); }
.callout.info { background: #F7F7F7; color: var(--ink); }
.timeline li::before { background: var(--faint); } .timeline li.t-auth::before { background: var(--ink); }
.toast { background: var(--ink); } .toast .dot { background: var(--rose); } .toast a { color: #FFB3C1; }
.auth-badge { background: #fff; color: var(--ink); }
.field input:focus, .field select:focus, .field textarea:focus, .row input:focus { outline: 2px solid #DDD; border-color: var(--ink); }

@media (max-width: 860px) {
  main { padding: 0 20px 40px; }
  .topbar-inner { grid-template-columns: auto 1fr; padding: 12px 20px; gap: 12px; }
  .search { grid-column: 1 / -1; grid-row: 2; }
  .promises { grid-template-columns: 1fr 1fr; }
  .listing { grid-template-columns: 1fr; gap: 18px; }
  .intro h2 { font-size: 24px; }
}
@media (max-width: 480px) { .promises { grid-template-columns: 1fr; } .lgrid { grid-template-columns: 1fr 1fr; gap: 24px 14px; } .lcard-row { font-size: 15px; } }

.who { flex-wrap: nowrap; gap: 8px; }
.persona { padding: 4px 12px 4px 4px; }
.persona .p-name em { display: none; }
.modal.wide .modal-head { padding-bottom: 0; }
.modal.wide .modal-head h3 { visibility: hidden; }
.pricebox .hint.center { text-align: center; margin: 10px 0 0; }
@media (max-width: 860px) { .persona .p-bal, .addmoney { display: none; } }
.addmoney, .signout, .persona .p-name { white-space: nowrap; }
.tiles { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 14px; }
@media (max-width: 1100px) { .persona .p-bal { display: none; } }

/* ---------- 3D passport: why join ---------- */
.hero.why-wrap, #hero:has(.why) { display: block; background: none; padding: 0; border: none; box-shadow: none; margin: 0; }
.why { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: 24px; align-items: center; padding: 24px 0 8px;
  background: radial-gradient(60% 70% at 72% 50%, #FFF0F3 0%, rgba(255,240,243,0) 70%); }
.why-copy h2 { font-size: 44px; line-height: 1.08; font-weight: 800; letter-spacing: -0.025em; margin: 0 0 16px; max-width: 15ch; }
.why-copy > p { font-size: 18px; color: var(--muted); margin: 0 0 24px; max-width: 40ch; }
.why-cta { gap: 10px; } .why-cta .btn { flex: none; text-decoration: none; padding: 12px 22px; border-radius: 12px; }
.why-hint { margin: 18px 0 0; font-size: 14px; color: var(--muted); }
.stage3d { position: relative; height: 560px; cursor: grab; outline: none; border-radius: 24px; }
.stage3d.grabbing { cursor: grabbing; }
.stage3d:focus-visible { box-shadow: 0 0 0 2px var(--ink); }
.stage3d canvas { position: absolute; inset: 0; width: 100%; height: 100%; display: block; touch-action: pan-y; }
.orbit { position: absolute; inset: 0; pointer-events: none; }
.orb { position: absolute; left: 0; top: 0; pointer-events: auto; display: flex; align-items: center; gap: 10px;
  background: #fff; border: none; border-radius: 999px; padding: 6px 14px 6px 6px; box-shadow: 0 6px 20px rgba(0,0,0,.12);
  text-align: left; color: var(--ink); white-space: nowrap; will-change: transform; transition: box-shadow .2s ease; }
.orb-ico { width: 34px; height: 34px; border-radius: 50%; display: grid; place-items: center; background: var(--gold-soft); flex: none; }
.orb-ico svg { width: 18px; height: 18px; fill: none; stroke: var(--rose); stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.orb-text b { font-size: 14px; font-weight: 700; display: block; }
.orb-text small { display: none; font-size: 13px; color: var(--muted); white-space: normal; max-width: 220px; }
.orb.on { box-shadow: 0 10px 30px rgba(0,0,0,.18); border-radius: 18px; padding: 10px 16px 10px 10px; }
.orb.on .orb-text small { display: block; }
.orb:focus-visible { outline: 2px solid var(--ink); outline-offset: 2px; }

@media (max-width: 860px) {
  .why { grid-template-columns: 1fr; gap: 0; }
  .why-copy h2 { font-size: 32px; }
}
@media (max-width: 640px) {
  .stage3d { height: auto; cursor: default; }
  .stage3d canvas { position: relative; height: 380px; }
  .orbit { position: static; display: grid; grid-template-columns: 1fr; gap: 10px; margin-top: 4px; }
  .orb { position: static; white-space: normal; border-radius: 16px; padding: 10px 14px 10px 10px; box-shadow: var(--lift); opacity: 1 !important; }
  .orb .orb-text small { display: block; }
}
.stage3d.no3d canvas { display: none; }
.stage3d.no3d { height: auto; }
.stage3d.no3d .orbit { position: static; display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; }
.stage3d.no3d .orb { position: static; white-space: normal; }
.stage3d.no3d .orb .orb-text small { display: block; }
.why-copy .why-hint { font-size: 14px; margin: 18px 0 0; }
.orb { transform-origin: left center; }
@media (min-width: 861px) { .why { grid-template-columns: minmax(0, .78fr) minmax(0, 1.22fr); } }
.orb .orb-text small { max-width: 170px; }
.orb-text b { white-space: nowrap; }

@media (max-width: 860px) { .why { grid-template-columns: 1fr; } .why-copy h2 { max-width: none; } }
@media (max-width: 640px) {
  .stage3d canvas { height: 340px; }
  .orbit { grid-template-columns: 1fr 1fr; gap: 10px; }
  .orb { flex-direction: column; align-items: flex-start; gap: 8px; padding: 12px; }
  .orb-text b { white-space: normal; font-size: 14px; }
  .orb .orb-text small { max-width: none; font-size: 13px; }
}

/* Nunito, hosted with the app */
:root { --sans: "Nunito", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif; --serif: var(--sans); }
body, button, input, select, textarea { font-family: var(--sans); }
.stage3d { height: 610px; }
@media (max-width: 640px) { .stage3d { height: auto; } }

/* Meet the community */
.community { margin-top: 56px; border-top: 1px solid var(--line); padding-top: 8px; }
.community-head { display: flex; justify-content: space-between; align-items: end; gap: 20px; flex-wrap: wrap; margin: 32px 0 18px; }
.community-head h2 { font-size: 26px; font-weight: 800; margin: 0 0 6px; }
.community-head p { margin: 0; color: var(--muted); max-width: 60ch; }
.shop-card { display: flex; gap: 12px; align-items: center; background: #fff; border-radius: 16px; padding: 12px 16px; box-shadow: var(--lift); }
.shop-card .avatar { width: 40px; height: 40px; background: var(--gold-soft); color: var(--rose); }
.shop-card b { display: block; } .shop-card small { color: var(--muted); }
.people-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(120px, 1fr)); gap: 16px; }
.person-card { background: #fff; border: none; border-radius: 16px; padding: 18px 10px 16px; box-shadow: var(--lift); display: flex; flex-direction: column; align-items: center; gap: 6px; transition: transform .15s ease; }
.person-card:hover { transform: translateY(-2px); }
.person-card:focus-visible { outline: 2px solid var(--ink); outline-offset: 2px; }
.person-card b { font-size: 15px; } .person-card small { color: var(--ok); font-weight: 700; font-size: 13px; }
.avatar.big-av { width: 56px; height: 56px; font-size: 22px; }
/* footer aligned with the page */
.foot { max-width: 1280px; margin: 0 auto; padding: 24px 40px 40px; justify-content: flex-start; }
@media (max-width: 860px) { .foot { padding: 20px; } }
@media (prefers-reduced-motion: reduce) { .person-card:hover { transform: none; } }

/* ---------------------------------------------------------------- protection
   Bonded authentication and 90-day protection. Money and protection use a deep
   green so they read as "safe" next to the rose actions. */
:root { --bond: #0B6B4F; --bond-soft: #E6F4EE; }
.lbadge.bond { background: var(--bond); color: #fff; }
.lcard-sub.prot-line { color: var(--bond); font-weight: 700; }
.shop-cards { display: flex; flex-wrap: wrap; gap: 12px; justify-content: flex-end; }
button.shop-card { border: 0; font: inherit; text-align: left; cursor: pointer; }
button.shop-card:disabled { cursor: default; }
button.shop-card:not(:disabled):hover { box-shadow: 0 8px 24px rgba(0,0,0,.16); }

.pitch { display: grid; grid-template-columns: 1.2fr 1fr; gap: 32px; align-items: center; margin: 48px 0 8px; padding: 32px; border-radius: 24px; background: var(--bond-soft); }
.pitch h2 { margin: 0 0 10px; font-size: 28px; line-height: 1.15; letter-spacing: -.01em; }
.pitch p { margin: 0; color: #2E3B35; font-size: 16px; line-height: 1.55; max-width: 60ch; }
.pitch-facts { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.pitch-facts div { background: #fff; border-radius: 16px; padding: 16px; }
.pitch-facts b { display: block; font-size: 24px; color: var(--bond); }
.pitch-facts small { color: var(--muted); font-size: 14px; }
@media (max-width: 760px) { .pitch { grid-template-columns: 1fr; padding: 22px; } .shop-cards { justify-content: flex-start; } }

.prot-quote, .prot-offer, .prot-status { display: flex; gap: 12px; align-items: flex-start; margin-top: 14px; padding: 12px 14px; border-radius: 14px; background: var(--bond-soft); }
.prot-offer, .prot-status { align-items: center; }
.prot-quote b, .prot-offer b { display: block; color: var(--bond); }
.prot-quote small, .prot-offer small { display: block; color: var(--muted); font-size: 14px; line-height: 1.45; }
.prot-offer > span { flex: 1; }
.prot-status > span:nth-child(2) { flex: 1; font-size: 14px; line-height: 1.45; }
.prot-status.ok { background: var(--ok-soft); } .prot-status.bad { background: var(--err-soft); } .prot-status.held { background: var(--warn-soft); }
.shield { font-size: 20px; line-height: 1; }
.prot-note { color: var(--muted); }
.trust .ti.bond-ti { background: var(--bond-soft); color: var(--bond); }

.why-price { margin-top: 10px; border: 1px solid var(--line); border-radius: 14px; padding: 4px 14px; background: #fff; }
.why-price summary { cursor: pointer; font-weight: 700; padding: 8px 0; color: var(--bond); }
.why-row { display: flex; justify-content: space-between; gap: 12px; padding: 10px 0; border-top: 1px solid var(--line); }
.why-row b { display: block; font-size: 15px; } .why-row small { display: block; color: var(--muted); font-size: 13px; line-height: 1.4; }
.why-pct { font-weight: 800; white-space: nowrap; }
.why-pct.up { color: var(--err); } .why-pct.down { color: var(--ok); }
.why-row.total { border-top: 2px solid var(--ink); }
.why-row.total .why-pct { font-size: 18px; }
.rate-table .why-row:first-child { border-top: 0; }

.prot-check { display: flex; gap: 10px; align-items: flex-start; margin: 14px 0 0; padding: 12px 14px; border-radius: 14px; background: var(--bond-soft); }
.prot-check input { margin-top: 4px; }
.prot-check b { display: block; color: var(--bond); } .prot-check small { display: block; color: var(--muted); font-size: 14px; line-height: 1.45; }

.rate-pill { margin-left: auto; background: var(--bond-soft); color: var(--bond); font-weight: 800; font-size: 13px; border-radius: 999px; padding: 4px 10px; white-space: nowrap; }
.bond-row { margin-top: 12px; flex-wrap: wrap; }
.order.slim { padding: 14px; }
.order.slim .art.mini { width: 64px; height: 64px; }

/* QuickNode Streams: chain feed chips on the ledger */
.lr-links { display: inline-flex; gap: 10px; align-items: center; flex-wrap: wrap; justify-content: flex-end; }
.qn-chip { font-size: 12px; font-weight: 700; color: var(--muted); background: #F4F4F4; border-radius: 999px; padding: 3px 9px; white-space: nowrap; }
.qn-chip.ok { color: var(--bond); background: var(--bond-soft); }
.qn-line { display: flex; align-items: center; gap: 8px; font-size: 14px; color: var(--muted); margin: 0 0 14px; }
.qn-line .live { width: 8px; height: 8px; border-radius: 50%; background: var(--ok); display: inline-block; }

/* Rows without an avatar (specialties, approvals): name and note on the left, status on the right */
.person.noav { grid-template-columns: minmax(0, 1fr) auto; }
.person.noav .pr { text-align: right; white-space: nowrap; }
@media (max-width: 640px) { .person.noav { grid-template-columns: 1fr; } .person.noav .pr { text-align: left; grid-column: 1; } }
/* The floating benefit badges stay under the sticky header when the page scrolls */
.why { position: relative; z-index: 0; isolation: isolate; }
.topbar { z-index: 50; }

/* ------------------------------------------------------------ premium pass
   Studio pictures on the cards, a calmer hero, and a clear way in for first-time visitors. */
.why-copy h2 { font-size: 52px; line-height: 1.04; max-width: 13ch; }
.why-copy > p { font-size: 19px; line-height: 1.5; max-width: 38ch; }
.try-as { margin-top: 28px; padding-top: 22px; border-top: 1px solid var(--line); max-width: 520px; }
.try-as > span { display: block; font-size: 15px; color: var(--muted); margin-bottom: 10px; }
.try-row { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.try-btn { text-align: left; background: #fff; border: 1px solid var(--line); border-radius: 14px; padding: 12px 14px; cursor: pointer; font: inherit; color: var(--ink); transition: border-color .15s ease, box-shadow .15s ease; }
.try-btn:hover { border-color: var(--ink); box-shadow: 0 6px 18px rgba(0,0,0,.08); }
.try-btn:focus-visible { outline: 2px solid var(--ink); outline-offset: 2px; }
.try-btn b { display: block; font-size: 16px; }
.try-btn small { display: block; color: var(--muted); font-size: 13px; line-height: 1.35; margin-top: 2px; }

.lgrid { grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); gap: 40px 26px; }
.lcard-img { border-radius: 18px; background: #EFEBE5; }
.art.photo { background: #EFEBE5; }
.lcard-img img { transition: transform .5s cubic-bezier(.2,.7,.2,1); }
.lcard:hover .lcard-img img { transform: scale(1.06); }
.lcard-row { font-size: 17px; margin-top: 2px; }
.lcard-row b { font-weight: 800; letter-spacing: -0.005em; }
.lbadge.bond { box-shadow: 0 2px 8px rgba(11,107,79,.28); }

.buy-steps { margin: 56px 0 8px; }
.buy-steps h2 { font-size: 28px; margin: 0 0 20px; letter-spacing: -.01em; }
.buy-steps ol { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.buy-steps li { border-top: 2px solid var(--ink); padding-top: 14px; }
.buy-steps .num { font-size: 15px; font-weight: 800; color: var(--rose, #F0435A); }
.buy-steps h3 { font-size: 18px; margin: 6px 0 6px; }
.buy-steps p { margin: 0; color: var(--muted); font-size: 15px; line-height: 1.5; }
@media (max-width: 900px) { .buy-steps ol { grid-template-columns: 1fr 1fr; } .why-copy h2 { font-size: 40px; } }
@media (max-width: 520px) { .buy-steps ol, .try-row { grid-template-columns: 1fr; } .why-copy h2 { font-size: 34px; } }

/* Protection price ladder: the four things that set the rate, always visible */
.ladder { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 12px; align-items: stretch; }
.ladder-step { flex: 1 1 86px; border: 1px solid var(--line); border-radius: 12px; padding: 8px 10px; background: #fff; }
.ladder-step small { display: block; font-size: 12px; color: var(--muted); line-height: 1.2; }
.ladder-step b { display: block; font-size: 16px; font-weight: 800; font-variant-numeric: tabular-nums; margin-top: 2px; }
.ladder-step.up b { color: var(--err); } .ladder-step.down b { color: var(--ok); }
.ladder-step.total { background: var(--bond); border-color: var(--bond); }
.ladder-step.total small { color: rgba(255,255,255,.85); } .ladder-step.total b { color: #fff; }
.ladder + .why-price { margin-top: 8px; }

/* Refund split: shop bond and members' pool */
.payout { margin-top: 12px; border: 1px solid var(--line); border-radius: 14px; padding: 14px; background: #fff; text-align: left; }
.payout-head { font-weight: 800; font-size: 16px; margin-bottom: 10px; }
.payout-bar { display: flex; height: 14px; border-radius: 999px; overflow: hidden; gap: 2px; }
.payout-bar span { display: block; height: 100%; transform-origin: left center; animation: payout-grow .9s cubic-bezier(.2,.7,.2,1) both; }
.payout-bar .pb-pool { animation-delay: .35s; }
.pb-bond { background: var(--bond); } .pb-pool { background: #E0A100; }
.payout-legend { display: flex; flex-wrap: wrap; gap: 6px 20px; margin-top: 10px; font-size: 14px; }
.payout-legend i { display: inline-block; width: 10px; height: 10px; border-radius: 3px; margin-right: 7px; }
.payout-legend b { font-variant-numeric: tabular-nums; }
.payout small { display: block; margin-top: 8px; color: var(--muted); font-size: 13px; line-height: 1.45; }
.payout.preview { border-style: dashed; }
.paid-claim { margin: 0 0 16px; } .paid-claim > b { font-size: 16px; } .paid-claim > span { color: var(--muted); font-size: 14px; margin-left: 8px; }
@keyframes payout-grow { from { transform: scaleX(0); } to { transform: scaleX(1); } }
@media (prefers-reduced-motion: reduce) { .payout-bar span { animation: none; } }

/* Landing: the 3D piece with the refund split under it */
.hero-show { display: flex; flex-direction: column; gap: 4px; min-width: 0; }
.hero-show .stage3d { height: 400px; }
.hero-refund { max-width: 520px; width: 100%; margin: 0 auto; }
.hero-refund-top { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; font-size: 14px; color: var(--muted); padding: 0 4px; }
.hero-refund-top b { color: var(--ink); font-weight: 800; }
.hero-refund-top .linkish { font-size: 14px; font-weight: 700; white-space: nowrap; }
.hero-refund .payout { margin-top: 8px; box-shadow: var(--lift); border-style: solid; }
.orb { box-shadow: 0 6px 20px rgba(0,0,0,.14); border: 1px solid var(--line); }
.orb-text b { font-size: 15px; }
@media (max-width: 640px) { .hero-show .stage3d { height: auto; } .hero-show .stage3d canvas { height: 320px; } }

/* Top bar: How it works and Help, always one click away */
.top-right { display: flex; align-items: center; justify-content: flex-end; gap: 12px; min-width: 0; }
.top-links { display: flex; align-items: center; gap: 4px; }
.top-link { display: inline-flex; align-items: center; gap: 7px; border: 0; background: none; font: inherit; font-weight: 700; font-size: 15px; color: var(--ink); padding: 9px 12px; border-radius: 999px; cursor: pointer; white-space: nowrap; }
.top-link:hover { background: #F4F4F4; }
.top-link.how { background: #FFF0F3; color: #C2183F; border: 1px solid #FFD3DC; }
.top-link.how:hover { background: #FFE3E9; }
.top-link svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.top-link:focus-visible { outline: 2px solid var(--ink); outline-offset: 2px; }
.why-how { margin-left: 6px; font-weight: 700; color: var(--ink); align-self: center; }
@media (max-width: 1100px) { .top-link:not(.how) { display: none; } }
@media (max-width: 640px) { .top-link.how span { display: none; } .top-link.how { padding: 9px; } .top-right { gap: 8px; } }

/* How it works and Help */
.how-short { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; margin-bottom: 18px; }
.how-short div { border: 1px solid var(--line); border-radius: 14px; padding: 14px; background: #FFF8F9; }
.how-short b { display: block; font-size: 16px; font-weight: 800; margin-bottom: 4px; }
.how-short p { margin: 0; font-size: 14px; color: var(--muted); line-height: 1.45; }
.how-steps { margin: 6px 0 14px; padding: 0; list-style: none; counter-reset: how; }
.how-steps li { counter-increment: how; position: relative; padding: 0 0 14px 42px; }
.how-steps li::before { content: counter(how); position: absolute; left: 0; top: 0; width: 28px; height: 28px; border-radius: 50%; background: var(--ink); color: #fff; font-weight: 800; font-size: 14px; display: grid; place-items: center; }
.how-steps li:not(:last-child)::after { content: ""; position: absolute; left: 13px; top: 32px; bottom: 4px; width: 2px; background: var(--line); }
.how-steps b { display: block; font-size: 16px; font-weight: 800; }
.how-steps p { margin: 2px 0 0; font-size: 14.5px; color: var(--muted); line-height: 1.5; }
.faq details { border-bottom: 1px solid var(--line); padding: 12px 0; }
.faq summary { cursor: pointer; font-weight: 800; font-size: 16px; list-style-position: outside; }
.faq p { margin: 8px 0 0; color: var(--muted); line-height: 1.5; font-size: 15px; }
.contact-box { margin-top: 16px; border: 1px solid var(--line); border-radius: 14px; padding: 14px; background: #FFF8F9; }
.contact-box p { margin: 4px 0 10px; color: var(--muted); font-size: 15px; }
@media (max-width: 640px) { .how-short { grid-template-columns: 1fr; } }

.backdrop { z-index: 200; }
.faq summary { list-style-position: inside; }
.topbar-inner { grid-template-columns: auto minmax(160px, 420px) auto; justify-content: space-between; gap: 16px; }
body:not(.signed-out) .top-link:not(.how) { display: none; }
@media (max-width: 847px) { .topbar-inner { grid-template-columns: auto 1fr; } }
@media (max-width: 847px) {
  .topbar-inner { grid-template-columns: minmax(0, 1fr) auto; }
  .brand { min-width: 0; overflow: hidden; }
  .brand > div { min-width: 0; }
  .brand h1 { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
}

/* ---------------------------------------------------------------
   Declutter pass (Nov 18): fewer competing elements on the landing page.
   One accent (rose), neutral surfaces, more room between sections.
   --------------------------------------------------------------- */
/* Hero: the 3D watch stands on its own, no floating labels over it */
.stage3d:not(.no3d) .orbit { display: none; }
.why-cta .btn { padding: 14px 28px; }

/* Demo roles: one quiet link that opens the three choices */
.try-as { margin-top: 20px; padding-top: 0; border-top: 0; }
.try-as > summary { display: inline-flex; align-items: center; gap: 6px; cursor: pointer; list-style: none;
  font-size: 15px; font-weight: 700; color: var(--ink); text-decoration: underline; text-underline-offset: 3px; }
.try-as > summary::-webkit-details-marker { display: none; }
.try-as > summary::after { content: "▾"; font-size: 12px; transition: transform .15s ease; }
.try-as[open] > summary::after { transform: rotate(180deg); }
.try-as[open] .try-row { margin-top: 12px; }

/* Greens back to neutral outside of real success states */
.pitch { background: #F7F7F7; }
.pitch-facts b { color: var(--ink); }
.person-card small { color: var(--muted); font-weight: 600; }

/* More space between sections, less inside them */
.intro { padding-top: 64px; }
.grid-h { margin-top: 64px; }
.buy-steps { margin-top: 96px; }
.community { margin-top: 96px; border-top: 0; padding-top: 0; }
.pitch { margin-top: 96px; }
.lcard-sub { margin-top: 2px; }
@media (max-width: 760px) {
  .intro { padding-top: 40px; }
  .grid-h { margin-top: 48px; }
  .buy-steps, .community, .pitch { margin-top: 64px; }
}

/* Hero promises (Nov 18): replace the refund card under the watch */
.hero-promises { list-style: none; margin: 22px 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 10px 22px; }
.hero-promises li { display: inline-flex; align-items: center; gap: 8px; font-size: 15px; font-weight: 600; color: var(--ink); }
.hero-promises svg { width: 18px; height: 18px; flex: none; fill: none; stroke: var(--rose, #F0435A); stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; }
[data-protect] .payout { margin: 12px 0; }

/* Stats pass (Nov 18): promises stacked, one quiet stats line, bond figures in How it works */
.hero-promises { flex-direction: column; gap: 8px; }
.why-copy > .hero-stats { margin: 16px 0 0; font-size: 14px; line-height: 1.4; color: var(--muted); max-width: none; }
.hero-stats:empty { display: none; }
.how-bond-p { margin: 0 0 12px; color: var(--muted); font-size: 14.5px; line-height: 1.5; }
.how-bond { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; margin-bottom: 18px; }
.how-bond div { border: 1px solid var(--line); border-radius: 14px; padding: 12px 14px; }
.how-bond b { display: block; font-size: 20px; font-weight: 800; color: var(--ink); }
.how-bond small { color: var(--muted); font-size: 13px; }
@media (max-width: 640px) { .how-bond { grid-template-columns: 1fr 1fr; } }

/* Community and Sold pass (Nov 18): community opens in its own window */
.backdrop .community { margin-top: 0; }
.backdrop .community-head { margin-top: 0; }
.backdrop #community-h { display: none; }
.try-more { display: block; margin-top: 10px; font-size: 14px; font-weight: 700; color: var(--ink); }

/* Fast first paint (Nov 18): small loader under the hero while listings load */
.loading.slim { padding: 48px 20px; font-size: 15px; }

/* Safeguards pass (Nov 18, from QuickNode office hours): bond visible again, "Nobody can cheat for free" */
.lcard .lbadge.bond { background: #fff; color: var(--rose-2, #D70466); box-shadow: 0 2px 6px rgba(0,0,0,.15); }
.trust.muted-trust { opacity: .75; }
.trust.muted-trust small { color: var(--muted); }
.safeguards { border: 1px solid var(--line); border-radius: 14px; overflow: hidden; margin-bottom: 18px; }
.sg-row { display: grid; grid-template-columns: 190px 1fr; gap: 14px; padding: 12px 14px; align-items: start; }
.sg-row + .sg-row { border-top: 1px solid var(--line); }
.sg-who b { display: block; font-size: 15px; color: var(--ink); }
.sg-who small { color: var(--rose-2, #D70466); font-size: 13px; font-weight: 600; }
.sg-row p { margin: 0; font-size: 14.5px; line-height: 1.5; color: var(--muted); }
@media (max-width: 640px) { .sg-row { grid-template-columns: 1fr; gap: 4px; } }

/* Authenticator spotlight (Nov 19): "Meet the authenticators" on the homepage and a profile window */
.spot { margin-top: 96px; }
.spot-head h2 { margin: 0 0 6px; }
.spot-head p { margin: 0 0 20px; color: var(--muted); font-size: 16px; }
.spot-cards { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 18px; }
.spot-card { text-align: left; background: #fff; border: 1px solid var(--line); border-radius: 18px; padding: 20px; display: flex; flex-direction: column; gap: 12px; cursor: pointer; font: inherit; color: var(--ink); transition: box-shadow .2s ease, transform .2s ease; }
.spot-card:hover { box-shadow: 0 6px 18px rgba(0,0,0,.10); transform: translateY(-2px); }
.spot-top { display: flex; align-items: center; gap: 12px; }
.spot-top b { display: block; font-size: 17px; }
.spot-top small { color: var(--muted); font-size: 13.5px; }
.avatar.spot-av { width: 48px; height: 48px; font-size: 20px; flex: none; }
.spot-cred { font-size: 14.5px; color: var(--ink); font-style: italic; }
.spot-tags { display: flex; flex-wrap: wrap; gap: 6px; }
.spot-tag { border: 1px solid var(--line); border-radius: 999px; padding: 3px 10px; font-size: 12.5px; font-weight: 600; color: var(--rose-2, #D70466); }
.spot-stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; border-top: 1px solid var(--line); padding-top: 12px; }
.spot-stats b { display: block; font-size: 18px; font-weight: 800; }
.spot-stats small { color: var(--muted); font-size: 12.5px; }
.shop-profile .spec-list { list-style: none; margin: 0 0 8px; padding: 0; display: grid; gap: 8px; }
.shop-profile .spec-list li { display: grid; grid-template-columns: 150px 1fr auto; gap: 10px; align-items: baseline; border: 1px solid var(--line); border-radius: 12px; padding: 10px 12px; }
.shop-profile .spec-list span { color: var(--muted); font-size: 14px; }
.shop-profile .spec-list small { color: var(--muted); font-size: 13px; white-space: nowrap; }
.shop-profile .lgrid { margin-top: 6px; }
@media (max-width: 640px) { .spot { margin-top: 64px; } .shop-profile .spec-list li { grid-template-columns: 1fr; gap: 2px; } }
