:root {
  --bg: #070a09;
  --panel: rgba(13, 19, 16, .72);
  --panel-2: rgba(19, 29, 24, .54);
  --line: rgba(185, 255, 214, .18);
  --text: #eef7f1;
  --muted: #a4b4aa;
  --mint: #b8ffd0;
  --mint-2: #79f2a8;
  --glow: rgba(114, 255, 164, .24);
  --danger: #d8e1db;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background:
    radial-gradient(circle at 50% -10%, rgba(97, 255, 151, .09), transparent 36%),
    radial-gradient(circle at 10% 35%, rgba(127, 255, 175, .035), transparent 24%),
    linear-gradient(180deg, #0a0e0c 0%, var(--bg) 46%, #050706 100%);
  color: var(--text);
  font-family: Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  min-height: 100vh;
  overflow-x: hidden;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  opacity: .16;
  background-image:
    linear-gradient(rgba(255,255,255,.018) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.018) 1px, transparent 1px);
  background-size: 56px 56px;
  mask-image: linear-gradient(to bottom, rgba(0,0,0,.8), transparent 86%);
}

a { color: inherit; }

.shell {
  width: min(1160px, calc(100% - 36px));
  margin: 0 auto;
}

nav {
  height: 78px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid rgba(255,255,255,.055);
  position: relative;
  z-index: 10;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  font-weight: 800;
  letter-spacing: .14em;
  font-size: .88rem;
}

.brand img {
  width: 36px;
  height: 36px;
  object-fit: contain;
  border-radius: 10px;
  filter: drop-shadow(0 0 13px rgba(123,255,172,.22));
  flex: 0 0 auto;
}

.brand span { color: var(--text); }

.nav-note {
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
  color: var(--muted);
  font-size: .76rem;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.hero {
  min-height: 720px;
  display: grid;
  grid-template-columns: 1.04fr .96fr;
  gap: 54px;
  align-items: center;
  padding: 76px 0 86px;
  position: relative;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  border: 1px solid var(--line);
  background: rgba(126, 255, 173, .035);
  color: #c7d5cc;
  border-radius: 999px;
  padding: 9px 13px;
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
  font-size: .72rem;
  letter-spacing: .09em;
  text-transform: uppercase;
  margin-bottom: 24px;
}

.pulse {
  width: 7px; height: 7px; border-radius: 50%;
  background: var(--mint-2);
  box-shadow: 0 0 0 6px rgba(121,242,168,.08), 0 0 18px rgba(121,242,168,.65);
  animation: pulse 2.3s ease-in-out infinite;
}

@keyframes pulse {
  0%,100% { transform: scale(.9); opacity: .62; }
  50% { transform: scale(1.12); opacity: 1; }
}

.wordmark-hero {
  display: block;
  width: min(860px, 100%);
  margin: 0;
  filter: drop-shadow(0 0 28px rgba(91,255,149,.12));
}

.wordmark-note {
  margin: 18px 0 0;
  max-width: 630px;
  color: #a8b7ae;
  line-height: 1.6;
  font-size: .98rem;
}

.wordmark-note strong {
  color: var(--mint);
  font-weight: 700;
}

.tagline {
  margin: 30px 0 0;
  max-width: 690px;
  font-size: clamp(1.35rem, 2.4vw, 2.2rem);
  line-height: 1.22;
  letter-spacing: -.035em;
  color: #dfeae3;
  font-weight: 620;
}

.tagline strong { color: var(--mint); font-weight: 700; }

.subcopy {
  margin: 24px 0 0;
  max-width: 610px;
  color: var(--muted);
  line-height: 1.68;
  font-size: 1.02rem;
}

.actions {
  margin-top: 34px;
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.button {
  appearance: none;
  border: 1px solid rgba(179,255,205,.28);
  background: linear-gradient(180deg, rgba(158,255,191,.12), rgba(158,255,191,.055));
  color: #effbf3;
  border-radius: 12px;
  padding: 14px 17px;
  text-decoration: none;
  font-weight: 760;
  letter-spacing: -.01em;
  box-shadow: inset 0 1px 0 rgba(255,255,255,.07), 0 10px 30px rgba(0,0,0,.16);
}

.button.ghost { color: #bdc9c0; background: rgba(255,255,255,.025); border-color: rgba(255,255,255,.09); }
.button:hover { transform: translateY(-1px); }

.logo-stage {
  position: relative;
  min-height: 540px;
  display: grid;
  place-items: center;
  isolation: isolate;
}

.logo-stage::before {
  content: "";
  position: absolute;
  width: 72%;
  aspect-ratio: 1;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(105,255,160,.16) 0%, rgba(105,255,160,.055) 33%, transparent 69%);
  filter: blur(24px);
  z-index: -2;
}

.logo-stage::after {
  content: "";
  position: absolute;
  inset: 11% 8%;
  border: 1px solid rgba(191,255,213,.08);
  border-radius: 46% 54% 49% 51% / 54% 44% 56% 46%;
  transform: rotate(-8deg);
  z-index: -1;
  box-shadow: 0 0 70px rgba(87,255,145,.035);
}

.logo-stage img {
  width: min(530px, 92%);
  filter: drop-shadow(0 0 34px rgba(91,255,149,.18));
}

.bridge-panel {
  margin-top: 30px;
  padding: 18px 18px 19px;
  border: 1px solid rgba(190,255,213,.09);
  border-radius: 16px;
  background: rgba(255,255,255,.025);
  color: #b4c1ba;
  font-size: .95rem;
  line-height: 1.65;
  max-width: 640px;
}

.bridge-panel strong {
  color: var(--mint);
}

.section {
  padding: 96px 0;
  border-top: 1px solid rgba(255,255,255,.055);
}

.section-grid {
  display: grid;
  grid-template-columns: .76fr 1.24fr;
  gap: 60px;
  align-items: start;
}

.kicker {
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
  font-size: .72rem;
  color: #87968d;
  letter-spacing: .14em;
  text-transform: uppercase;
  margin-bottom: 12px;
}

h2 {
  margin: 0;
  max-width: 650px;
  font-size: clamp(2.25rem, 4.8vw, 4.8rem);
  line-height: .98;
  letter-spacing: -.055em;
}

.section-copy {
  color: #c5d0c9;
  font-size: 1.08rem;
  line-height: 1.76;
  margin-top: 1px;
}

.section-copy p:first-child { margin-top: 0; }
.section-copy strong { color: var(--mint); }

.manifesto {
  margin-top: 42px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 13px;
}

.card {
  position: relative;
  min-height: 170px;
  padding: 24px;
  border-radius: 18px;
  background: linear-gradient(180deg, rgba(22,33,27,.78), rgba(10,15,13,.72));
  border: 1px solid rgba(190,255,213,.1);
  overflow: hidden;
}

.card::after {
  content: "";
  position: absolute;
  width: 130px; height: 2px;
  right: -25px; bottom: 37px;
  background: linear-gradient(90deg, transparent, rgba(127,255,174,.36), transparent);
  transform: rotate(-28deg);
  box-shadow: 0 0 12px rgba(127,255,174,.2);
}

.card .num {
  color: #758279;
  font: 700 .72rem ui-monospace, SFMono-Regular, Menlo, monospace;
  letter-spacing: .1em;
  margin-bottom: 36px;
}

.card h3 { margin: 0 0 9px; font-size: 1.14rem; }
.card p { margin: 0; color: #91a198; line-height: 1.55; font-size: .93rem; }

.reward {
  margin: 96px 0 0;
  background:
    radial-gradient(circle at 83% 15%, rgba(121,242,168,.1), transparent 29%),
    linear-gradient(135deg, rgba(19,28,24,.95), rgba(8,12,10,.94));
  border: 1px solid rgba(177,255,205,.14);
  border-radius: 28px;
  padding: 44px;
  display: grid;
  grid-template-columns: 1.2fr .8fr;
  align-items: end;
  gap: 24px;
  position: relative;
  overflow: hidden;
}

.reward::before {
  content: "";
  position: absolute;
  left: -4%; top: 48%; width: 56%; height: 1px;
  background: linear-gradient(90deg, transparent, rgba(153,255,189,.25), transparent);
  transform: rotate(12deg);
}

.reward h3 {
  font-size: clamp(2.1rem, 4.5vw, 4.2rem);
  line-height: 1;
  letter-spacing: -.05em;
  margin: 9px 0 0;
}

.reward h3 span { color: var(--mint); }
.reward p { color: var(--muted); margin: 0; line-height: 1.65; }

.terminal {
  margin-top: 48px;
  border: 1px solid rgba(255,255,255,.075);
  background: #050806;
  border-radius: 16px;
  overflow: hidden;
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
  box-shadow: 0 30px 75px rgba(0,0,0,.25);
}

.terminal-bar {
  height: 42px;
  display: flex;
  align-items: center;
  gap: 7px;
  border-bottom: 1px solid rgba(255,255,255,.07);
  padding: 0 14px;
  color: #637168;
  font-size: .7rem;
}

.dot { width: 7px; height: 7px; border-radius: 50%; background: #28322c; }
.terminal-body { padding: 27px; color: #83938a; line-height: 1.9; font-size: .82rem; }
.terminal-body .ok { color: #b8ffd0; }
.terminal-body .dim { color: #556159; }

footer {
  padding: 54px 0 62px;
  border-top: 1px solid rgba(255,255,255,.055);
  color: #69766e;
  font-size: .82rem;
  line-height: 1.6;
}

.footer-row { display: flex; justify-content: space-between; gap: 30px; flex-wrap: wrap; }
.disclaimer { max-width: 760px; }

@media (max-width: 900px) {
  .hero { grid-template-columns: 1fr; padding-top: 60px; gap: 20px; }
  .logo-stage { min-height: 420px; order: -1; }
  .logo-stage img { width: min(430px, 86%); }
  .wordmark-hero { width: min(100%, 620px); }
  .section-grid, .reward { grid-template-columns: 1fr; }
  .manifesto { grid-template-columns: 1fr; }
  .nav-note { display: none; }
}

@media (max-width: 560px) {
  .shell { width: min(100% - 24px, 1160px); }
  nav { height: 68px; }
  .hero { min-height: auto; padding-bottom: 68px; }
  .logo-stage { min-height: 320px; }
  .reward { padding: 28px; }
  .section { padding: 70px 0; }
  .card { min-height: 0; }
}

/* ─────────────────────────────────────────────────────────────
   PONSYNC platform layer (added on top of the teaser styles)
   ───────────────────────────────────────────────────────────── */
:root {
  --bone: #e6ece4;
  --bone-dim: #b9c3bb;
  --ink: #050706;
  --rule: rgba(190, 255, 213, .1);
  --rule-strong: rgba(190, 255, 213, .22);
  --mono: "IBM Plex Mono", ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  --warn: #e8d9a8;
}

:focus-visible { outline: 2px solid var(--mint-2); outline-offset: 3px; border-radius: 6px; }
button { font: inherit; color: inherit; }
.mono { font-family: var(--mono); font-feature-settings: "zero" 1; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* Top bar */
nav.topbar { gap: 20px; }
.navlinks { display: flex; gap: 4px; margin-left: auto; }
.navlinks a {
  text-decoration: none; color: var(--muted); font-size: .9rem; padding: 8px 12px; border-radius: 10px;
}
.navlinks a:hover, .navlinks a[aria-current="page"] { color: var(--text); background: rgba(255,255,255,.035); }
.wallet-btn {
  display: inline-flex; align-items: center; gap: 9px; cursor: pointer;
  border: 1px solid rgba(179,255,205,.28); background: rgba(158,255,191,.07);
  border-radius: 11px; padding: 9px 13px; font-weight: 700; font-size: .88rem; white-space: nowrap;
}
.wallet-btn:hover { background: rgba(158,255,191,.12); }
.wallet-btn .dotlive { width: 7px; height: 7px; border-radius: 50%; background: var(--mint-2); box-shadow: 0 0 10px var(--mint-2); }
.wallet-btn .dotwarn { width: 7px; height: 7px; border-radius: 50%; background: var(--warn); }

/* Status labels: LIVE / PROTOTYPE / COMING, as required by the brief */
.status {
  display: inline-flex; align-items: center; gap: 6px; vertical-align: middle;
  font: 600 .68rem/1 var(--mono); letter-spacing: .08em; padding: 5px 8px 4px;
  border-radius: 6px; border: 1px solid var(--rule-strong); color: var(--bone-dim);
}
.status::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: currentColor; }
.status.live { color: var(--mint-2); border-color: rgba(121,242,168,.4); }
.status.prototype { color: var(--warn); border-color: rgba(232,217,168,.35); }
.status.coming { color: #7f8c84; }

/* Section heads with a status */
.head-row { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; margin-bottom: 14px; }
.head-row .kicker { margin: 0; }

/* Panels */
.panel {
  border: 1px solid var(--rule); border-radius: 18px;
  background: linear-gradient(180deg, rgba(20,30,25,.6), rgba(9,13,11,.7));
  padding: 24px;
}
.panel + .panel { margin-top: 12px; }
.panel h3 { margin: 0 0 8px; font-size: 1.12rem; letter-spacing: -.01em; }
.panel p { color: var(--muted); line-height: 1.6; margin: 0; }
.panel p + p { margin-top: 10px; }
.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }

/* Markets (synced with) */
.market-row {
  display: grid; grid-template-columns: 1.1fr 1fr 1fr; gap: 16px; align-items: center;
  padding: 18px 0; border-top: 1px solid var(--rule);
}
.market-row:first-of-type { border-top: 0; }
.market-name { font-weight: 800; letter-spacing: -.01em; font-size: 1.15rem; }
.market-name small { display: block; color: var(--muted); font-weight: 500; font-size: .82rem; margin-top: 4px; }
.kv { display: grid; gap: 3px; }
.kv .k { color: #7c8a82; font-size: .78rem; }
.kv .v { font-family: var(--mono); font-size: .92rem; color: var(--bone); overflow-wrap: anywhere; }

/* Pulse meter */
.pulse-meter { margin-top: 18px; }
.pulse-track {
  position: relative; height: 10px; border-radius: 999px; background: rgba(255,255,255,.05);
  border: 1px solid var(--rule); overflow: hidden;
}
.pulse-fill { position: absolute; inset: 0 auto 0 0; width: 0; background: linear-gradient(90deg, rgba(121,242,168,.25), var(--mint-2)); box-shadow: 0 0 16px rgba(121,242,168,.5); }
.pulse-legend { display: flex; justify-content: space-between; margin-top: 8px; color: #7c8a82; font-size: .8rem; }

/* Notice: honest statements in the UI voice */
.notice {
  border-left: 2px solid var(--mint-2); padding: 12px 16px; background: rgba(121,242,168,.04);
  color: var(--bone-dim); line-height: 1.6; border-radius: 0 10px 10px 0; font-size: .95rem;
}
.notice.warn { border-left-color: var(--warn); background: rgba(232,217,168,.04); }
.notice strong { color: var(--text); }

/* Address lookup */
.lookup { display: flex; gap: 10px; margin-top: 18px; }
.lookup input {
  flex: 1; min-width: 0; background: #040605; border: 1px solid var(--rule-strong); color: var(--text);
  border-radius: 12px; padding: 14px 15px; font: .95rem var(--mono);
}
.lookup input::placeholder { color: #56635b; }
.lookup .button { cursor: pointer; }
.field-error { color: var(--warn); font-size: .88rem; margin-top: 8px; min-height: 1.2em; }

/* Milestone path (a real sequence, so numbered) */
.path { list-style: none; padding: 0; margin: 28px 0 0; counter-reset: step; }
.path li {
  counter-increment: step; display: grid; grid-template-columns: 56px 1fr auto; gap: 16px; align-items: start;
  padding: 20px 0; border-top: 1px solid var(--rule);
}
.path li::before { content: counter(step, decimal-leading-zero); font: 600 .9rem var(--mono); color: #66736b; padding-top: 3px; }
.path h3 { margin: 0 0 6px; font-size: 1.1rem; }
.path p { margin: 0; color: var(--muted); line-height: 1.6; max-width: 62ch; }
.path .gate { display: block; margin-top: 6px; color: #7c8a82; font-size: .86rem; }

/* Contract check table */
.checks { width: 100%; border-collapse: collapse; font-size: .9rem; }
.checks th { text-align: left; color: #7c8a82; font-weight: 500; font-size: .78rem; padding: 0 12px 10px 0; }
.checks td { padding: 12px 12px 12px 0; border-top: 1px solid var(--rule); vertical-align: top; }
.checks td.addr { font-family: var(--mono); font-size: .82rem; color: var(--bone-dim); }
.checks td.addr a { color: inherit; }
.ok { color: var(--mint-2); } .bad { color: var(--warn); } .dim { color: #6f7c74; }
.table-scroll { overflow-x: auto; }

/* Wallet drawer */
.drawer-backdrop { position: fixed; inset: 0; background: rgba(0,0,0,.55); backdrop-filter: blur(3px); z-index: 40; }
.drawer {
  position: fixed; top: 0; right: 0; height: 100%; width: min(420px, 100%); z-index: 41;
  background: #080c0a; border-left: 1px solid var(--rule-strong); padding: 24px; overflow-y: auto;
  box-shadow: -30px 0 80px rgba(0,0,0,.5);
}
.drawer h2 { font-size: 1.4rem; letter-spacing: -.02em; }
.drawer-head { display: flex; justify-content: space-between; align-items: center; margin-bottom: 18px; }
.icon-btn { background: none; border: 1px solid var(--rule); border-radius: 10px; padding: 7px 10px; cursor: pointer; color: var(--muted); }
.wallet-list { display: grid; gap: 8px; }
.wallet-choice {
  display: flex; align-items: center; gap: 12px; width: 100%; text-align: left; cursor: pointer;
  border: 1px solid var(--rule); background: rgba(255,255,255,.02); border-radius: 12px; padding: 13px 14px; font-weight: 650;
}
.wallet-choice:hover { border-color: var(--rule-strong); background: rgba(255,255,255,.04); }
.wallet-choice img { width: 26px; height: 26px; border-radius: 7px; }
.balances { display: grid; gap: 0; margin: 16px 0; }
.balances div { display: flex; justify-content: space-between; padding: 11px 0; border-top: 1px solid var(--rule); font-size: .92rem; }
.balances span:last-child { font-family: var(--mono); color: var(--bone); }
.stack { display: grid; gap: 8px; }
.button.small { padding: 10px 13px; font-size: .9rem; border-radius: 10px; cursor: pointer; }
.button[disabled] { opacity: .45; cursor: not-allowed; transform: none; }

/* Toast */
.toast {
  position: fixed; left: 50%; bottom: 24px; transform: translateX(-50%); z-index: 60;
  background: #0e1511; border: 1px solid var(--rule-strong); color: var(--text); padding: 12px 16px;
  border-radius: 12px; font-size: .92rem; box-shadow: 0 20px 50px rgba(0,0,0,.4); max-width: calc(100% - 32px);
}

/* ── Graveyard ─────────────────────────────────────────────── */
.gy-head { padding: 64px 0 20px; }
.gy-head h1 { font-size: clamp(2.6rem, 6vw, 5.4rem); letter-spacing: -.055em; line-height: .95; margin: 0; }
.gy-head .lede { color: var(--muted); max-width: 62ch; line-height: 1.65; font-size: 1.05rem; margin: 18px 0 0; }
.index-line { margin-top: 18px; color: #7c8a82; font-size: .86rem; }

.census {
  display: grid; grid-template-columns: repeat(7, 1fr); gap: 1px; background: var(--rule);
  border: 1px solid var(--rule); border-radius: 16px; overflow: hidden; margin-top: 28px;
}
.census button { background: #080c0a; border: 0; padding: 16px; text-align: left; cursor: pointer; }
.census button:hover { background: #0c120f; }
.census button[aria-pressed="true"] { background: #0f1a14; box-shadow: inset 0 -2px 0 var(--mint-2); }
.census .n { display: block; font: 600 1.5rem var(--mono); color: var(--bone); letter-spacing: -.03em; }
.census .l { display: block; color: var(--muted); font-size: .82rem; margin-top: 4px; }

.filters { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; margin: 22px 0 10px; }
.filters input[type="search"] {
  flex: 1 1 260px; background: #040605; border: 1px solid var(--rule-strong); color: var(--text);
  border-radius: 11px; padding: 11px 13px; font-size: .92rem;
}
.toggle { display: inline-flex; align-items: center; gap: 8px; color: var(--bone-dim); font-size: .9rem; cursor: pointer; user-select: none; }
.toggle input { accent-color: var(--mint-2); width: 16px; height: 16px; }
.filters select { background: #040605; color: var(--text); border: 1px solid var(--rule-strong); border-radius: 11px; padding: 10px 12px; }

/* The register: an excavation ledger, one row per launch */
.register { border-top: 1px solid var(--rule-strong); }
.reg-row {
  display: grid; grid-template-columns: minmax(0, 2.2fr) 1.1fr .9fr .9fr .9fr 24px; gap: 14px; align-items: center;
  padding: 15px 4px; border-bottom: 1px solid var(--rule); text-decoration: none; color: inherit;
}
.reg-row:hover { background: rgba(255,255,255,.02); }
.reg-row.head { color: #6f7c74; font-size: .76rem; padding-top: 12px; padding-bottom: 12px; }
.reg-row.head:hover { background: none; }
.reg-name { display: flex; flex-direction: column; min-width: 0; }
.reg-name b { font-weight: 700; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.reg-name span { font: .76rem var(--mono); color: #6f7c74; margin-top: 3px; }
.reg-cell { font: .86rem var(--mono); color: var(--bone-dim); }
.reg-arrow { color: #56635b; }
.state-tag { display: inline-flex; align-items: center; gap: 7px; font-size: .86rem; color: var(--bone-dim); }
.state-tag i { width: 9px; height: 9px; border-radius: 2px; border: 1px solid currentColor; display: inline-block; }
.state-STIRRING { color: var(--mint); } .state-STIRRING i { background: var(--mint); box-shadow: 0 0 10px var(--mint-2); animation: stir 2.4s ease-in-out infinite; }
@keyframes stir { 0%, 100% { opacity: .55; } 50% { opacity: 1; } }
.state-ACTIVE { color: var(--mint-2); } .state-ACTIVE i { background: var(--mint-2); }
.state-QUIET { color: #a9d9b9; }
.state-DORMANT { color: var(--bone-dim); } .state-DORMANT i { background: rgba(230,236,228,.25); }
.state-STALLED { color: #9aa79f; } .state-STALLED i { transform: rotate(45deg); }
.state-ABANDONED { color: var(--warn); } .state-ABANDONED i { border-style: dashed; }
.state-UNKNOWN { color: #6f7c74; } .state-UNKNOWN i { border-radius: 50%; }
.pulse-tag { color: var(--mint); font: 600 .74rem var(--mono); letter-spacing: .06em; }
.more-row { display: flex; justify-content: center; padding: 22px 0; }

.empty {
  border: 1px dashed var(--rule-strong); border-radius: 18px; padding: 34px; margin-top: 20px;
}
.empty h3 { margin: 0 0 8px; font-size: 1.2rem; }
.empty p { color: var(--muted); line-height: 1.65; margin: 0; max-width: 64ch; }
.empty p + p { margin-top: 10px; }
.empty code { font-family: var(--mono); color: var(--bone); font-size: .88rem; background: rgba(255,255,255,.04); padding: 2px 6px; border-radius: 5px; }

.sample-banner {
  position: sticky; top: 0; z-index: 30; background: var(--warn); color: #1b1a12; text-align: center;
  font-weight: 700; font-size: .9rem; padding: 9px 14px;
}

/* ── Autopsy ───────────────────────────────────────────────── */
.autopsy { padding: 40px 0 90px; }
.back { display: inline-block; color: var(--muted); text-decoration: none; margin-bottom: 26px; font-size: .92rem; }
.back:hover { color: var(--text); }
.ap-title { display: flex; align-items: end; gap: 18px; flex-wrap: wrap; }
.ap-title h1 { margin: 0; font-size: clamp(2.2rem, 5vw, 4.2rem); letter-spacing: -.05em; line-height: .95; }
.ap-title .ticker { font: 600 1.1rem var(--mono); color: var(--muted); padding-bottom: 6px; }
.ap-addr { margin-top: 12px; font: .86rem var(--mono); color: #7c8a82; overflow-wrap: anywhere; }
.ap-addr a { color: inherit; }
.ap-grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: 28px; margin-top: 36px; align-items: start; }

.verdict { border: 1px solid var(--rule-strong); border-radius: 18px; padding: 24px; background: rgba(255,255,255,.015); }
.verdict .state-tag { font-size: 1.3rem; font-weight: 700; }
.verdict .state-tag i { width: 13px; height: 13px; }
.verdict ul { margin: 14px 0 0; padding-left: 18px; color: var(--bone-dim); line-height: 1.7; }
.flags { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 16px; }
.flag { border: 1px solid var(--rule-strong); border-radius: 8px; padding: 6px 9px; font-size: .82rem; color: var(--bone); cursor: help; }
.flag.pulse { border-color: rgba(121,242,168,.5); color: var(--mint); box-shadow: 0 0 18px rgba(121,242,168,.12); }
.source-note { margin-top: 16px; color: #6f7c74; font-size: .82rem; line-height: 1.55; }

/* Strata: the lifecycle as excavation layers, newest at the surface */
.strata { margin-top: 22px; border-radius: 16px; overflow: hidden; border: 1px solid var(--rule); }
.stratum {
  position: relative; display: grid; grid-template-columns: 120px 1fr; gap: 16px; padding: 16px 18px;
  border-top: 1px solid rgba(0,0,0,.5);
}
.stratum:first-child { border-top: 0; }
.stratum:nth-child(1) { background: linear-gradient(180deg, rgba(121,242,168,.08), rgba(121,242,168,.03)); }
.stratum:nth-child(2) { background: rgba(38,50,43,.55); }
.stratum:nth-child(3) { background: rgba(30,40,34,.6); }
.stratum:nth-child(4) { background: rgba(23,31,27,.7); }
.stratum:nth-child(5) { background: rgba(17,23,20,.8); }
.stratum:nth-child(n+6) { background: rgba(11,15,13,.9); }
.stratum::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: -1px; height: 1px;
  background: repeating-linear-gradient(90deg, transparent 0 7px, rgba(190,255,213,.12) 7px 9px);
}
.stratum .when { font: .8rem var(--mono); color: #7c8a82; }
.stratum .what { font-weight: 650; }
.stratum .what small { display: block; color: var(--muted); font-weight: 400; font-size: .86rem; margin-top: 3px; line-height: 1.5; }
.stratum.unknown .what { color: #7c8a82; font-weight: 500; }

.creator-words { margin: 18px 0 0; max-width: 70ch; color: var(--bone-dim); line-height: 1.6; font-size: .98rem; border-left: 1px solid var(--rule-strong); padding-left: 14px; }
.creator-words .k { display: block; color: #6f7c74; font-size: .78rem; margin-bottom: 4px; }
.facts { display: grid; grid-template-columns: 1fr 1fr; gap: 0; border-top: 1px solid var(--rule); }
.facts .kv { padding: 14px 12px 14px 0; border-bottom: 1px solid var(--rule); }
.actions-row { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 22px; }
.loading-line { color: var(--muted); font-size: .92rem; display: flex; gap: 10px; align-items: center; }
.spinner { width: 12px; height: 12px; border-radius: 50%; border: 2px solid var(--rule-strong); border-top-color: var(--mint-2); animation: spin .8s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }

@media (max-width: 900px) {
  .navlinks { display: none; }
  .market-row { grid-template-columns: 1fr 1fr; }
  .market-row .market-name { grid-column: 1 / -1; }
  .grid-2, .ap-grid { grid-template-columns: 1fr; }
  .census { grid-template-columns: repeat(4, 1fr); }
  .census button:last-child { grid-column: span 2; }
  .reg-row { grid-template-columns: minmax(0, 1fr) auto 20px; }
  .reg-row .hide-sm { display: none; }
}
@media (max-width: 560px) {
  .lookup { flex-direction: column; }
  .path li { grid-template-columns: 1fr; gap: 6px; }
  .path li > .status { justify-self: start; }
  .facts { grid-template-columns: 1fr; }
  .census { grid-template-columns: repeat(2, 1fr); }
  .stratum { grid-template-columns: 1fr; gap: 4px; }
  .wallet-btn .label-long { display: none; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
}

/* ── Sealed: teasers for what is not live yet ─────────────── */
.path li.sealed h3 { color: var(--bone-dim); }
.path li.sealed .gate::before { content: "◈ "; color: var(--mint-2); opacity: .7; }
.sealed-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin-top: 30px; }
.sealed-card {
  position: relative; overflow: hidden; border: 1px solid var(--rule-strong); border-radius: 18px; padding: 22px 22px 18px;
  background:
    linear-gradient(118deg, transparent 47.6%, rgba(121,242,168,.16) 48%, transparent 48.5%),
    linear-gradient(61deg, transparent 63.8%, rgba(121,242,168,.1) 64.2%, transparent 64.7%),
    linear-gradient(180deg, rgba(20,30,25,.55), rgba(8,12,10,.8));
}
.sealed-head { display: flex; justify-content: space-between; gap: 12px; font-weight: 750; letter-spacing: -.01em; }
.sealed-head .mono { color: #6f7c74; font-weight: 500; font-size: .86rem; }
.sealed-card dl { margin: 16px 0 0; }
.sealed-card dl > div { display: grid; grid-template-columns: 130px 1fr; gap: 12px; padding: 10px 0; border-top: 1px solid var(--rule); font-size: .92rem; }
.sealed-card dt { color: #7c8a82; }
.sealed-card dd { margin: 0; color: var(--bone-dim); }
.redact {
  display: inline-block; height: .95em; vertical-align: -.12em; border-radius: 3px;
  background: linear-gradient(90deg, rgba(230,236,228,.12), rgba(230,236,228,.22), rgba(230,236,228,.12));
  background-size: 200% 100%; animation: redact 3.2s ease-in-out infinite;
}
@keyframes redact { 0%, 100% { background-position: 0 0; } 50% { background-position: 100% 0; } }
.stages { display: inline-flex; gap: 5px; vertical-align: middle; }
.stages i { width: 22px; height: 7px; border-radius: 2px; border: 1px solid var(--rule-strong); }
.stages i.on { background: var(--mint-2); border-color: var(--mint-2); box-shadow: 0 0 8px rgba(121,242,168,.5); }
.seal-line { margin-top: 14px; font: 600 .74rem var(--mono); letter-spacing: .08em; text-transform: uppercase; color: var(--mint-2); opacity: .8; }
@media (max-width: 900px) { .sealed-grid { grid-template-columns: 1fr; } }
@media (max-width: 560px) { .sealed-card dl > div { grid-template-columns: 1fr; gap: 3px; } }

.fee-wallet-note { grid-column: 2; margin-top: -8px; color: #7c8a82 !important; font-size: .9rem; }
.fee-wallet-note a { color: var(--bone-dim); white-space: nowrap; }
@media (max-width: 900px) { .fee-wallet-note { grid-column: auto; margin-top: 0; } }
