:root {
  --bg: #0a0e0f;
  --bg-2: #0e1416;
  --panel: #11181a;
  --panel-2: #162023;
  --line: #213034;
  --line-2: #2d3f44;
  --text: #dfe8e6;
  --muted: #8b9b99;
  --faint: #5b6b6a;
  --fluoro: #a9f5d3;
  --fluoro-dim: rgba(169, 245, 211, 0.12);
  --tag: #ece2c7;
  --tag-2: #e0d2ae;
  --tag-ink: #29241c;
  --tag-muted: #75694f;
  --stamp: #e04a35;
  --amber: #f0b44c;
  --ok: #7fdcae;
  --radius: 12px;
  --sans: 'IBM Plex Sans Condensed', 'Arial Narrow', system-ui, sans-serif;
  --mono: 'IBM Plex Mono', ui-monospace, 'Cascadia Mono', monospace;
  --type: 'Special Elite', 'Courier New', monospace;
  color-scheme: dark;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  min-height: 100vh;
  background: var(--bg);
  color: var(--text);
  font: 400 17px/1.55 var(--sans);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

/* Morgue wall: a faint tile grid lit by a fluorescent tube overhead. */
body::before {
  content: '';
  position: fixed;
  inset: 0;
  z-index: -1;
  background:
    radial-gradient(ellipse 70% 45% at 50% -8%, rgba(169, 245, 211, 0.11), transparent 70%),
    linear-gradient(rgba(255, 255, 255, 0.028) 1px, transparent 1px) 0 0 / 64px 64px,
    linear-gradient(90deg, rgba(255, 255, 255, 0.028) 1px, transparent 1px) 0 0 / 64px 64px;
  mask-image: linear-gradient(#000 0%, #000 55%, transparent 100%);
}

a { color: inherit; }
code { font-family: var(--mono); font-size: 0.86em; }
h1, h2, h3 { margin: 0; line-height: 1.05; font-weight: 700; }
p { margin: 0; }
button { font: inherit; color: inherit; }

.muted { color: var(--muted); }
.down { color: var(--stamp); }

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font: 500 12px/1 var(--mono);
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
}

.pulse-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--fluoro);
  box-shadow: 0 0 12px var(--fluoro);
  animation: flicker 4s infinite;
}

@keyframes flicker {
  0%, 92%, 100% { opacity: 1; }
  93% { opacity: 0.2; }
  95% { opacity: 0.9; }
  96% { opacity: 0.3; }
}

/* ---- buttons ------------------------------------------------------------------------------- */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 44px;
  padding: 0 20px;
  border: 1px solid var(--fluoro);
  border-radius: 999px;
  background: var(--fluoro);
  color: #06100c;
  font: 600 15px/1 var(--sans);
  letter-spacing: 0.04em;
  text-transform: uppercase;
  text-decoration: none;
  cursor: pointer;
  transition: transform 0.15s, background 0.15s, border-color 0.15s;
}
.btn:hover { transform: translateY(-1px); background: #c6fbe3; }
.btn.ghost { background: transparent; color: var(--text); border-color: var(--line-2); }
.btn.ghost:hover { border-color: var(--fluoro); color: var(--fluoro); }
.btn.small { min-height: 30px; padding: 0 12px; font-size: 12px; }

.link {
  padding: 0;
  border: 0;
  background: none;
  color: var(--fluoro);
  text-decoration: underline;
  cursor: pointer;
}

.actions { display: flex; flex-wrap: wrap; gap: 10px; }

/* ---- top bar ------------------------------------------------------------------------------- */

.topbar {
  position: sticky;
  top: 0;
  z-index: 10;
  display: flex;
  align-items: center;
  gap: 24px;
  padding: 14px max(16px, calc((100vw - 1180px) / 2));
  background: rgba(10, 14, 15, 0.82);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font: 700 20px/1 var(--sans);
  letter-spacing: 0.22em;
  text-decoration: none;
}
.brand-tag { width: 34px; height: 21px; }
.brand-tag path { fill: var(--tag); }
.brand-tag circle { fill: var(--bg); stroke: var(--tag-2); stroke-width: 1.5; }

.top-search { display: none; flex: 1; max-width: 420px; }
body.on-case .top-search { display: block; }
.top-search input {
  width: 100%;
  height: 38px;
  padding: 0 14px;
  border: 1px solid var(--line-2);
  border-radius: 999px;
  background: var(--bg-2);
  color: var(--text);
  font: 400 14px var(--mono);
}
.top-search input:focus { outline: none; border-color: var(--fluoro); }

.top-nav { display: flex; gap: 22px; margin-left: auto; font-size: 15px; }
.top-nav a { color: var(--muted); text-decoration: none; }
.top-nav a:hover { color: var(--text); }
.top-nav .top-coin { color: var(--tag); font-family: var(--mono); font-size: 14px; }

main { padding: 0 max(16px, calc((100vw - 1180px) / 2)); }

/* ---- hero ---------------------------------------------------------------------------------- */

.hero { position: relative; padding: 96px 0 32px; }

.hero h1 {
  margin: 22px 0 18px;
  font-size: clamp(52px, 9vw, 116px);
  letter-spacing: -0.02em;
  line-height: 0.92;
  text-wrap: balance;
}

.lede { max-width: 640px; color: var(--muted); font-size: clamp(18px, 2vw, 21px); line-height: 1.5; }

.examine {
  display: flex;
  max-width: 720px;
  margin-top: 34px;
  padding: 6px;
  border: 1px solid var(--line-2);
  border-radius: 999px;
  background: var(--panel);
  box-shadow: 0 0 0 6px rgba(169, 245, 211, 0.03), 0 20px 60px rgba(0, 0, 0, 0.4);
  transition: border-color 0.2s, box-shadow 0.2s;
}
.examine:focus-within { border-color: var(--fluoro); box-shadow: 0 0 0 6px var(--fluoro-dim), 0 20px 60px rgba(0, 0, 0, 0.4); }
.examine input {
  flex: 1;
  min-width: 0;
  padding: 0 18px;
  border: 0;
  background: none;
  color: var(--text);
  font: 400 15px var(--mono);
}
.examine input:focus { outline: none; }
.examine input::placeholder { color: var(--faint); }
.examine button {
  height: 50px;
  padding: 0 28px;
  border: 0;
  border-radius: 999px;
  background: var(--fluoro);
  color: #06100c;
  font: 700 16px/1 var(--sans);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  cursor: pointer;
}
.examine button:hover { background: #c6fbe3; }

.ekg { display: block; width: 100%; height: 110px; margin-top: 48px; overflow: visible; }
.ekg path { fill: none; stroke-width: 2; stroke-linejoin: round; vector-effect: non-scaling-stroke; }
.ekg-trace { stroke: rgba(169, 245, 211, 0.1); }
.ekg-sweep {
  stroke: var(--fluoro);
  filter: drop-shadow(0 0 6px rgba(169, 245, 211, 0.7));
  stroke-dasharray: 1000;
  stroke-dashoffset: 1000;
  animation: sweep 6s cubic-bezier(0.35, 0.1, 0.6, 1) infinite;
}
@keyframes sweep {
  0% { stroke-dashoffset: 1000; opacity: 1; }
  70% { stroke-dashoffset: 0; opacity: 1; }
  90% { stroke-dashoffset: 0; opacity: 0.15; }
  100% { stroke-dashoffset: 0; opacity: 0; }
}

/* ---- stats --------------------------------------------------------------------------------- */

.stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--panel);
  overflow: hidden;
}
.stat { display: flex; flex-direction: column; gap: 6px; padding: 22px 26px; }
.stat + .stat { border-left: 1px solid var(--line); }
.stat-value { font: 600 clamp(26px, 3.4vw, 38px)/1 var(--mono); letter-spacing: -0.02em; }
.stat:nth-child(2) .stat-value { color: var(--stamp); }
.stat-label { color: var(--muted); font-size: 14px; letter-spacing: 0.06em; text-transform: uppercase; }

/* ---- sections ------------------------------------------------------------------------------ */

.intake, .how, .coin { padding-top: 96px; scroll-margin-top: 40px; }

.section-head {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 28px;
}
.section-head h2 { font-size: clamp(36px, 5vw, 56px); letter-spacing: -0.01em; }
.section-head p { max-width: 520px; margin-top: 10px; color: var(--muted); }

.filters { display: flex; flex-wrap: wrap; gap: 8px; }
.chip {
  height: 36px;
  padding: 0 14px;
  border: 1px solid var(--line-2);
  border-radius: 999px;
  background: transparent;
  color: var(--muted);
  font-size: 14px;
  cursor: pointer;
}
.chip span { margin-left: 4px; font-family: var(--mono); font-size: 12px; color: var(--faint); }
.chip:hover { color: var(--text); }
.chip.on { border-color: var(--tag); background: var(--tag); color: var(--tag-ink); }
.chip.on span { color: var(--tag-muted); }

/* ---- toe tags ------------------------------------------------------------------------------ */

.tags { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 300px), 1fr)); gap: 22px 20px; }

.tag {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 14px;
  min-height: 196px;
  padding: 16px 18px 16px 50px;
  background:
    repeating-linear-gradient(0deg, transparent 0 27px, rgba(117, 105, 79, 0.12) 27px 28px),
    linear-gradient(160deg, var(--tag), var(--tag-2));
  color: var(--tag-ink);
  text-decoration: none;
  clip-path: polygon(26px 0, 100% 0, 100% 100%, 26px 100%, 0 calc(100% - 26px), 0 26px);
  transform: rotate(var(--tilt, 0deg));
  transition: transform 0.2s;
}
.tag:hover { transform: rotate(0deg) translateY(-3px); }

.tag-hole {
  position: absolute;
  left: 15px;
  top: 50%;
  width: 16px;
  height: 16px;
  margin-top: -8px;
  border-radius: 50%;
  background: var(--bg);
  box-shadow: 0 0 0 4px #cdbd94, 0 0 0 5px rgba(41, 36, 28, 0.25);
}

.tag-top { display: flex; justify-content: space-between; font: 500 11px/1 var(--mono); letter-spacing: 0.08em; text-transform: uppercase; color: var(--tag-muted); }
.tag-who { display: flex; align-items: center; gap: 12px; min-width: 0; }
.tag-names { display: flex; flex-direction: column; min-width: 0; }
.tag-names strong { font: 400 22px/1.15 var(--type); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.tag-names span { overflow: hidden; color: var(--tag-muted); font-size: 14px; text-overflow: ellipsis; white-space: nowrap; }

.tag-cause {
  align-self: flex-start;
  padding: 3px 10px;
  border: 2px solid currentColor;
  border-radius: 4px;
  font: 700 13px/1.2 var(--sans);
  letter-spacing: 0.14em;
  text-transform: uppercase;
  transform: rotate(-2deg);
}
.tag-cause.cause-rug, .tag-cause.cause-flash { color: #b52a1b; }
.tag-cause.cause-crash { color: #8a5a10; }

.tag-foot { display: flex; justify-content: space-between; margin-top: auto; font: 500 13px/1 var(--mono); color: var(--tag-muted); }
.tag-drop { color: #b52a1b; font-weight: 600; }

.tag-skeleton { pointer-events: none; animation: breathe 1.6s ease-in-out infinite; opacity: 0.25; }
@keyframes breathe { 50% { opacity: 0.12; } }

.feed-empty { grid-column: 1 / -1; padding: 48px; border: 1px dashed var(--line-2); border-radius: var(--radius); color: var(--muted); text-align: center; }
.feed-note { margin-top: 18px; color: var(--faint); font: 400 12px var(--mono); }
.feed-more { grid-column: 1 / -1; justify-self: center; margin-top: 8px; }

/* ---- avatars ------------------------------------------------------------------------------- */

.avatar {
  position: relative;
  display: inline-grid;
  flex: none;
  place-items: center;
  width: 48px;
  height: 48px;
  overflow: hidden;
  border-radius: 50%;
  background: var(--panel-2);
  color: var(--muted);
  font: 600 15px var(--mono);
}
.avatar::before { content: attr(data-initials); }
.avatar img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.tag-avatar { background: rgba(41, 36, 28, 0.12); color: var(--tag-muted); }
.tag-avatar img { filter: grayscale(1) sepia(0.3) contrast(1.05); mix-blend-mode: multiply; }

/* ---- how ----------------------------------------------------------------------------------- */

.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin: 0; padding: 0; list-style: none; }
.steps li { padding: 28px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--panel); }
.step-no { display: block; margin-bottom: 30px; color: var(--fluoro); font: 500 13px var(--mono); letter-spacing: 0.12em; }
.steps h3 { margin-bottom: 10px; font-size: 26px; }
.steps p { color: var(--muted); }
.how-note { margin-top: 22px; color: var(--muted); }
.how-note strong { color: var(--text); }

/* ---- coin ---------------------------------------------------------------------------------- */

.coin {
  display: grid;
  grid-template-columns: minmax(0, 0.8fr) minmax(0, 1fr);
  align-items: center;
  gap: 64px;
  padding-bottom: 40px;
}

.coin-tag {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 14px;
  aspect-ratio: 1.7;
  padding: 36px 40px 36px 96px;
  background: linear-gradient(160deg, var(--tag), var(--tag-2));
  color: var(--tag-ink);
  clip-path: polygon(52px 0, 100% 0, 100% 100%, 52px 100%, 0 calc(100% - 52px), 0 52px);
  margin: 24px 0 24px 14px;
  transform: rotate(-4deg);
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.5);
}
.coin-tag .tag-hole { left: 30px; width: 26px; height: 26px; margin-top: -13px; box-shadow: 0 0 0 7px #cdbd94; }
.coin-tag-no { font: 500 13px var(--mono); letter-spacing: 0.12em; color: var(--tag-muted); }
.coin-tag-sym { font: 400 clamp(40px, 6vw, 68px)/1 var(--type); }
.coin-tag-status {
  align-self: flex-start;
  padding: 4px 12px;
  border: 2px solid #1f7a52;
  border-radius: 4px;
  color: #1f7a52;
  font: 700 14px var(--sans);
  letter-spacing: 0.14em;
  text-transform: uppercase;
  transform: rotate(-3deg);
}

.coin-copy { display: flex; flex-direction: column; gap: 16px; }
.coin-copy h2 { font: 400 clamp(48px, 7vw, 84px)/1 var(--type); }
.coin-line { color: var(--tag); font-size: 24px; }
.coin-copy > p:not(.eyebrow):not(.coin-line) { max-width: 520px; color: var(--muted); }
.soon { display: inline-flex; align-items: center; gap: 10px; color: var(--text); }
.soon a { color: var(--fluoro); }

.ca-box {
  display: flex;
  align-items: center;
  gap: 12px;
  max-width: 100%;
  padding: 10px 10px 10px 16px;
  border: 1px solid var(--line-2);
  border-radius: 10px;
  background: var(--panel);
}
.ca-box code { flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }

/* ---- footer -------------------------------------------------------------------------------- */

.footer {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 40px;
  margin-top: 96px;
  padding: 36px max(16px, calc((100vw - 1180px) / 2)) 48px;
  border-top: 1px solid var(--line);
  color: var(--faint);
  font-size: 14px;
}
.footer-brand { display: flex; flex-direction: column; gap: 4px; }
.footer-brand strong { color: var(--text); letter-spacing: 0.22em; }
.footer p { max-width: 640px; justify-self: end; }

/* ---- case file ----------------------------------------------------------------------------- */

.case { display: flex; flex-direction: column; gap: 20px; padding: 32px 0 0; }
.back { align-self: flex-start; color: var(--muted); font-size: 15px; text-decoration: none; }
.back:hover { color: var(--text); }

.examining { display: flex; flex-direction: column; gap: 20px; padding: 64px 0; }
.examining h1 { font-size: clamp(40px, 6vw, 72px); }
.dots::after { content: ''; animation: dots 1.2s steps(4) infinite; }
@keyframes dots { 0% { content: ''; } 25% { content: '.'; } 50% { content: '..'; } 75% { content: '...'; } }

.checklist { display: flex; flex-direction: column; gap: 12px; margin: 8px 0 0; padding: 0; list-style: none; font: 400 15px var(--mono); color: var(--faint); }
.checklist li { display: flex; align-items: center; gap: 12px; }
.checklist li::before { content: ''; width: 10px; height: 10px; border: 1px solid currentColor; border-radius: 50%; }
.checklist li.active { color: var(--text); }
.checklist li.active::before { border-color: var(--fluoro); background: var(--fluoro); box-shadow: 0 0 10px var(--fluoro); animation: flicker 1s infinite; }
.checklist li.done { color: var(--muted); }
.checklist li.done::before { border-color: var(--fluoro); background: var(--fluoro); }
.wait-note { color: var(--amber); font: 400 13px var(--mono); }

.dossier {
  position: relative;
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  gap: 26px;
  padding: 30px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--panel);
  overflow: hidden;
}
.dossier::after { content: ''; position: absolute; inset: 0 auto 0 0; width: 4px; background: var(--fluoro); }
.dossier.status-dead::after { background: var(--stamp); }
.dossier.status-critical::after { background: var(--amber); }
.dossier-avatar { width: 96px; height: 96px; font-size: 26px; }
.status-dead .dossier-avatar img { filter: grayscale(1) contrast(1.05); }
.dossier-id { display: flex; flex-direction: column; gap: 10px; min-width: 0; }
.dossier h1 { font-size: clamp(32px, 4.6vw, 56px); overflow-wrap: anywhere; }
.dossier .sym { color: var(--muted); font: 400 0.55em var(--type); white-space: nowrap; }
.ca-row { display: flex; align-items: center; gap: 10px; min-width: 0; color: var(--muted); }
.ca-row code { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.ext-links { display: flex; flex-wrap: wrap; gap: 6px 16px; font-size: 14px; }
.ext-links a { color: var(--fluoro); text-decoration: none; }
.ext-links a:hover { text-decoration: underline; }

.stamp {
  padding: 10px 18px;
  border: 4px double currentColor;
  border-radius: 8px;
  font: 700 clamp(20px, 2.6vw, 30px)/1 var(--sans);
  letter-spacing: 0.16em;
  text-transform: uppercase;
  white-space: nowrap;
  transform: rotate(-8deg);
  color: var(--fluoro);
  mix-blend-mode: screen;
}
.stamp-dead { color: var(--stamp); }
.stamp-critical { color: var(--amber); }

.grid-2 { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }

.panel { padding: 26px 28px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--panel); min-width: 0; }
.panel h3 { margin-bottom: 18px; color: var(--muted); font: 500 13px/1 var(--mono); letter-spacing: 0.14em; text-transform: uppercase; }
.panel-head { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 10px; margin-bottom: 18px; }
.panel-head h3 { margin: 0; }
.panel-head span { font: 400 12px var(--mono); }

.verdict { display: flex; flex-direction: column; gap: 14px; }
.verdict .eyebrow { margin-bottom: 2px; }
.verdict-title { font-size: clamp(40px, 5vw, 64px); letter-spacing: -0.01em; text-transform: uppercase; color: var(--fluoro); }
.verdict-title.cause-rug, .verdict-title.cause-dump, .verdict-title.cause-doa, .verdict-title.cause-flash { color: var(--stamp); }
.verdict-title.cause-bleed, .verdict-title.cause-faded, .verdict-title.cause-abandoned, .verdict-title.cause-crash, .verdict-title.prog-guarded { color: var(--amber); }
.verdict-title.prog-at-risk { color: var(--stamp); }
.verdict p { color: var(--muted); font-size: 18px; }
.tod { margin-top: auto; padding-top: 14px; border-top: 1px solid var(--line); font: 400 14px var(--mono) !important; }
.tod strong { color: var(--text); font-weight: 500; }

.records { display: grid; gap: 0; margin: 0; }
.records > div { display: flex; justify-content: space-between; gap: 16px; padding: 11px 0; border-bottom: 1px dashed var(--line); }
.records > div:last-child { border-bottom: 0; }
.records dt { color: var(--muted); }
.records dd { margin: 0; font: 500 15px var(--mono); text-align: right; }
.records dd a { color: var(--fluoro); }

.chart { display: block; width: 100%; height: auto; }
.chart text { font-family: var(--mono); }
.ch-grid { stroke: var(--line); stroke-dasharray: 2 4; }
.ch-base { stroke: var(--line-2); }
.ch-axis { fill: var(--faint); font-size: 12px; }
.ch-line { fill: none; stroke: var(--fluoro); stroke-width: 2; stroke-linejoin: round; filter: drop-shadow(0 0 4px rgba(169, 245, 211, 0.45)); }
.ch-line-dead { stroke: var(--stamp); filter: none; opacity: 0.8; }
.ch-flat { fill: none; stroke: var(--stamp); stroke-width: 2; stroke-dasharray: 6 6; opacity: 0.7; }
.ch-peak { fill: var(--bg); stroke: var(--fluoro); stroke-width: 2.5; }
.ch-death { stroke: var(--stamp); stroke-width: 1.5; stroke-dasharray: 4 4; }
.ch-label { fill: var(--text); font-size: 13px; font-weight: 500; }
.ch-label-death { fill: var(--stamp); letter-spacing: 0.1em; text-transform: uppercase; font-size: 11px; }
.chart-empty { padding: 60px 0; color: var(--muted); text-align: center; }

.findings { display: flex; flex-direction: column; gap: 4px; margin: 0; padding: 0; list-style: none; }
.finding { display: grid; grid-template-columns: 26px 1fr; gap: 12px; padding: 10px 0; }
.finding strong { display: block; font-size: 17px; font-weight: 600; }
.finding p { color: var(--muted); font-size: 15px; }
.f-icon { display: grid; place-items: center; width: 22px; height: 22px; margin-top: 2px; border-radius: 50%; font: 700 13px/1 var(--mono); }
.f-bad .f-icon { background: rgba(224, 74, 53, 0.16); color: var(--stamp); }
.f-bad .f-icon::before { content: '✕'; }
.f-warn .f-icon { background: rgba(240, 180, 76, 0.16); color: var(--amber); }
.f-warn .f-icon::before { content: '!'; }
.f-ok .f-icon { background: rgba(127, 220, 174, 0.14); color: var(--ok); }
.f-ok .f-icon::before { content: '✓'; }
.f-info .f-icon { background: var(--panel-2); color: var(--muted); }
.f-info .f-icon::before { content: 'i'; }

.scanning { display: flex; align-items: center; gap: 12px; color: var(--muted); }
.scanning a { color: var(--fluoro); }
.spinner { flex: none; width: 16px; height: 16px; border: 2px solid var(--line-2); border-top-color: var(--fluoro); border-radius: 50%; animation: spin 0.8s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }
.fine { margin-top: 14px; color: var(--faint); font-size: 13px; }
#creator p.muted a { color: var(--fluoro); }

.share canvas { display: block; width: 100%; height: auto; margin-bottom: 18px; border-radius: 6px; box-shadow: 0 20px 60px rgba(0, 0, 0, 0.45); }
.alive-note { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 20px; }
.alive-note h3 { margin-bottom: 6px; color: var(--text); font: 700 28px var(--sans); letter-spacing: 0; text-transform: none; }
.alive-note p { color: var(--muted); }

.fineprint { color: var(--faint); font-size: 13px; }

/* ---- small screens ------------------------------------------------------------------------- */

@media (max-width: 900px) {
  .steps, .grid-2 { grid-template-columns: 1fr; }
  .coin { grid-template-columns: 1fr; gap: 48px; }
  .coin-tag { max-width: 460px; }
  .footer { grid-template-columns: 1fr; gap: 16px; }
  .footer p { justify-self: start; }
}

@media (max-width: 700px) {
  body { font-size: 16px; }
  .topbar { gap: 14px; }
  .top-nav a:not(.top-coin) { display: none; }
  body.on-case .top-nav { display: none; }
  .hero { padding-top: 56px; }
  .examine { flex-direction: column; gap: 6px; border-radius: 18px; }
  .examine input { height: 48px; }
  .examine button { width: 100%; }
  .ekg { height: 80px; margin-top: 32px; }
  .stats { grid-template-columns: 1fr; }
  .stat + .stat { border-left: 0; border-top: 1px solid var(--line); }
  .stat { flex-direction: row-reverse; justify-content: space-between; align-items: baseline; padding: 14px 18px; }
  .stat-value { font-size: 24px; }
  .intake, .how, .coin { padding-top: 72px; }
  .dossier { grid-template-columns: auto minmax(0, 1fr); gap: 18px; padding: 22px; }
  .dossier-avatar { width: 64px; height: 64px; }
  .stamp { grid-column: 1 / -1; justify-self: start; }
  .panel { padding: 22px 18px; }
  .coin-tag { padding: 28px 28px 28px 80px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .ekg-sweep { stroke-dashoffset: 0; }
}
