:root {
  --bg: #121110;
  --ink: #f2eee9;
  --muted: rgba(242, 238, 233, 0.62);
  --faint: rgba(242, 238, 233, 0.42);
  --line: #2a2725;
  --card: #1a1918;
  --burn: #f2eee9;
  --good: #7dcea0;
  --shadow: none;
  color: var(--ink);
  background: var(--bg);
  font-family: ui-sans-serif, system-ui, -apple-system, "Segoe UI", Helvetica, Arial, sans-serif;
  font-size: 16px;
  line-height: 1.45;
}

* { box-sizing: border-box; }
[hidden] { display: none !important; }
body { margin: 0; min-height: 100vh; background: var(--bg); }
a { color: inherit; }
button, input, textarea { font: inherit; color: inherit; }
button { cursor: pointer; }
svg { width: 16px; height: 16px; fill: currentColor; flex: none; }

.logo {
  color: var(--ink);
  font-weight: 650;
  letter-spacing: -0.03em;
  text-decoration: none;
  font-size: 16px;
}
.top {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 22px;
  height: 64px;
  padding: 0 22px;
  border-bottom: 1px solid var(--line);
  position: sticky;
  top: 0;
  background: rgba(18, 17, 16, 0.9);
  backdrop-filter: blur(10px);
  z-index: 2;
}
.top nav { display: flex; align-items: center; justify-content: center; gap: 22px; }
.top nav a, .top button.nav {
  background: none;
  border: 0;
  padding: 0;
  color: var(--muted);
  text-decoration: none;
  font-size: 14px;
}
.top nav a.on, .top nav a:hover, .top button.nav.on, .top button.nav:hover { color: var(--ink); }
.top #wallet { justify-self: end; }
.mark { font-weight: 650; letter-spacing: -0.03em; text-decoration: none; }
.domain { color: var(--muted); margin-left: 8px; font-size: 12px; }

.btn, button.primary, button.ghost {
  border-radius: 8px;
  padding: 8px 16px;
  font-size: 14px;
  font-weight: 500;
  letter-spacing: 0;
  text-transform: none;
  white-space: nowrap;
}
.btn, button.primary {
  background: #f4f1ec;
  color: #121110;
  border: 0;
  text-decoration: none;
}
button.ghost, .ghost, a.ghost {
  background: transparent;
  color: var(--ink);
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 8px 16px;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
}
.wallet-on { border-color: rgba(255, 255, 255, 0.4); }

main { max-width: 1160px; margin: 0 auto; padding: 42px 28px 80px; }
.hero {
  display: block;
  text-align: left;
  max-width: none;
  margin: 8px 0 36px;
}
.hero h1 { margin: 0 0 14px; }
.hero .lede { margin: 0 0 18px; max-width: 38rem; }
.hero-actions { display: flex; gap: 10px; align-items: center; margin-bottom: 26px; }
.stat-row { display: flex; gap: 28px; flex-wrap: wrap; }
.stat-row .kicker, .coin-metrics .kicker {
  text-transform: none;
  letter-spacing: 0;
  font-size: 13px;
}
.stat-row .figure { font-family: inherit; font-size: 22px; font-weight: 560; margin: 4px 0 0; color: var(--ink); }
.coin-metrics .val { margin: 0; font-size: 14px; font-weight: 560; color: var(--ink); }
.coins { margin-top: 8px; }
.explore h1 { margin-top: 0; }
.explore .lede { margin-bottom: 28px; }
.coins h2, .feed h2 {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 28px;
  font-weight: 600;
  letter-spacing: -0.03em;
  text-transform: none;
  color: var(--ink);
  margin: 0 0 14px;
  padding: 0;
}
.live { color: var(--good); font-size: 13px; font-weight: 500; letter-spacing: 0; text-transform: none; }
.live::before { content: ""; display: inline-block; width: 7px; height: 7px; margin-right: 6px; border-radius: 50%; background: var(--good); }
.coin-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
.coin-card {
  display: block;
  background: var(--card);
  border: 1px solid var(--line);
  padding: 16px;
  text-decoration: none;
  color: inherit;
}
.coin-card:hover { border-color: #4a4540; }
.coin-id { display: flex; gap: 12px; align-items: center; margin-bottom: 16px; }
.coin-id h3 { margin: 0; font-size: 16px; font-weight: 650; letter-spacing: -0.02em; }
.coin-id .meta { margin: 2px 0 0; }
.coin-metrics { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px 8px; }
.coin-metrics p { margin: 0; }
.coin-metrics .kicker { margin-bottom: 4px; }
h1 {
  font-family: "Libre Baskerville", Georgia, "Iowan Old Style", serif;
  font-size: clamp(36px, 4.4vw, 52px);
  line-height: 1.08;
  letter-spacing: -0.03em;
  margin: 8px 0 12px;
  font-weight: 700;
}
h1 em { font-style: italic; color: #7dcea0; }
.lede { max-width: 40rem; margin: 0 0 18px; color: var(--muted); font-size: 16px; }
.hero .lede { margin-left: 0; margin-right: 0; }
.hero + .figures { margin-top: 8px; }

.kicker, label, th, .foot {
  font-size: 11px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--faint);
  font-weight: 500;
}
.meta, .num {
  font-size: 13px;
  letter-spacing: 0;
  text-transform: none;
  color: var(--muted);
}
.figures {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
}
.figures.split { grid-template-columns: repeat(4, 1fr); }
.figures article {
  min-width: 0;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 0;
  padding: 16px 16px 14px;
}
.figure {
  font-size: clamp(28px, 3vw, 40px);
  line-height: 1.05;
  letter-spacing: -0.04em;
  font-weight: 500;
  font-variant-numeric: tabular-nums;
  color: #fff;
  margin: 8px 0 0;
}
.figures article .meta { margin: 6px 0 0; }
.figures.split .figure { font-size: clamp(22px, 2.2vw, 32px); }

.coin-head { display: flex; align-items: center; gap: 18px; margin-bottom: 22px; }
.coin-head h1 { margin: 0; }
.coin-head .kicker { margin: 0 0 4px; }
.coin-pic, .thumb {
  width: 72px;
  height: 72px;
  object-fit: cover;
  border-radius: 2px;
  border: 1px solid var(--line);
  background: #1c1c1c;
  flex: none;
}
.thumb { width: 48px; height: 48px; border-radius: 2px; }
.thumb.letter {
  display: grid;
  place-items: center;
  font-weight: 600;
  letter-spacing: -0.03em;
}
.launched {
  margin-top: 16px;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 0;
  padding: 6px 18px 8px;
}
section.feed {
  margin-top: 36px;
  background: none;
  border: 0;
  border-radius: 0;
  padding: 0;
}
.launched h2, .section-head h2 {
  margin: 0;
  padding: 14px 0 8px;
  font-size: 12px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-weight: 500;
  color: var(--faint);
}
.feed-row { padding: 14px 0; border-top: 1px solid var(--line); }
.feed-row .said { margin: 0 0 6px; font-size: 16px; line-height: 1.4; }
.feed-row .meta { margin: 0; }
a.coin-row, .feed-row a { color: inherit; text-decoration: none; }
a.coin-row:hover h3, .feed-row a:hover { color: #fff; }
.coin-row .kicker { margin: 0 0 4px; }
.coin-row {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 14px 0;
  border-top: 1px solid var(--line);
}
.launched > .coin-row:first-child { border-top: 0; }
.coin-main {
  flex: 1;
  min-width: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}
.coin-stats { display: flex; gap: 28px; }
.coin-stats .figure { font-size: 22px; margin: 2px 0 0; }
.coin-row h3 {
  margin: 0;
  font-size: 18px;
  letter-spacing: -0.03em;
  font-weight: 560;
}
.hero-num {
  font-size: clamp(40px, 6vw, 64px);
  line-height: 0.95;
  letter-spacing: -0.04em;
  font-weight: 500;
  margin: 0;
}
.hero-num .unit { font-size: 0.35em; letter-spacing: 0; color: var(--muted); }

.steps, .grid { display: grid; gap: 12px; }
.steps { grid-template-columns: repeat(4, 1fr); margin: 28px 0 36px; }
.grid { grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); }
.card, .step, .form, .notice {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 0;
}
.step { padding: 14px; }
.step b { display: block; font-size: 16px; letter-spacing: -0.02em; margin-top: 6px; }
.card { display: block; padding: 16px; text-decoration: none; }
.card:hover { border-color: rgba(255, 255, 255, 0.2); }
.card .word { font-size: 22px; letter-spacing: -0.03em; margin: 0; }
.card .burn { color: var(--muted); font-size: 13px; margin-top: 10px; }
.section-head { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; margin: 8px 0 12px; }
.burn-row { display: grid; grid-template-columns: 92px 1fr auto; gap: 12px; padding: 12px 0; border-top: 1px solid var(--line); }
.quote, .miss { color: var(--muted); }
.form { padding: 18px; display: grid; gap: 12px; max-width: 560px; }
.form .lede, .addr + .lede { margin: 0; }
label { display: grid; gap: 6px; }
input, textarea {
  background: #161514;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 10px 12px;
  font-size: 16px;
  text-transform: none;
  letter-spacing: 0;
  color: #fff;
}
textarea { min-height: 96px; resize: vertical; }
input[type="file"] { font-size: 13px; max-width: 100%; }
.picture { display: flex; align-items: center; gap: 12px; }
.picture img {
  width: 72px;
  height: 72px;
  object-fit: cover;
  border-radius: 2px;
  border: 1px solid var(--line);
  background: #1c1c1c;
}
.picture-name { margin: 0 0 8px; font-size: 14px; word-break: break-word; }
.row { display: flex; gap: 8px; flex-wrap: wrap; align-items: center; }
.stats { display: flex; gap: 22px; flex-wrap: wrap; margin: 14px 0 22px; }
.stats div b { display: block; font-size: 20px; letter-spacing: -0.03em; font-weight: 560; }
.notice, .error { padding: 12px 14px; margin: 0 0 16px; border-radius: 0; }
.error { background: rgba(180, 40, 40, 0.16); color: #ffb4a8; border: 1px solid rgba(255, 120, 100, 0.25); }
.foot { margin-top: 36px; }
.empty { padding: 8px 0 16px; color: var(--muted); }
details.paper { margin-top: 8px; max-width: 560px; }
details.paper summary { cursor: pointer; margin: 8px 0; }
#wallet-line { display: block; max-width: 40rem; margin: 0 0 20px; color: var(--muted); }
.addr {
  font-size: 13px;
  line-height: 1.4;
  word-break: break-all;
  margin: 12px 0;
  color: var(--muted);
}
.docs { max-width: 1000px; }
.docs h1 {
  margin: 10px 0 18px;
  font-size: 40px;
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1.15;
}
.docs h2 {
  margin: 36px 0 8px;
  padding: 0;
  font-size: 20px;
  font-weight: 600;
  letter-spacing: -0.02em;
  text-transform: none;
  color: #fff;
}
.docs p {
  margin: 0 0 12px;
  color: var(--ink);
  font-size: 16px;
  line-height: 1.8;
}
.docs-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  margin: 28px 0 8px;
}
.docs-grid article {
  border: 1px solid var(--line);
  border-radius: 0;
  padding: 24px;
  background: transparent;
}
.docs-grid h2 { margin: 0 0 12px; }
.docs-grid p:last-child { margin-bottom: 0; }
.docs-more { margin-top: 28px; }
.docs-more a { color: #fff; text-decoration: none; }
.docs-more a:hover { text-decoration: underline; }

@media (max-width: 860px) {
  .figures.split { grid-template-columns: 1fr 1fr; }
  .coin-main { align-items: flex-start; flex-direction: column; gap: 8px; }
  .coin-stats { gap: 18px; }
}

@media (max-width: 900px) {
  .hero, .coin-grid { grid-template-columns: 1fr; }
}
@media (max-width: 720px) {
  .top { display: flex; height: auto; flex-wrap: wrap; gap: 10px 14px; padding: 12px 14px; }
  .top #wallet { margin-left: 0; justify-self: auto; }
  .top nav { gap: 14px; }
  .coin-pic { width: 56px; height: 56px; }
  .figures, .figures.split { grid-template-columns: 1fr 1fr; gap: 10px; }
  .figures.split .figure, .figure { font-size: 28px; }
  .steps { grid-template-columns: 1fr; }
  .burn-row { grid-template-columns: 1fr; gap: 2px; }
  main { padding: 22px 14px 64px; }
  h1 { font-size: 34px; }
  .hero { margin-top: 8px; }
  .hero h1 .keep { display: block; }
  .docs h1 { font-size: 32px; }
  .docs-grid { grid-template-columns: 1fr; }
}

.intro {
  position: fixed;
  inset: 0;
  z-index: 30;
  background: var(--bg);
  overflow: hidden;
}
.intro-lane { position: absolute; inset: 0; }
.scream {
  position: absolute;
  left: 4vw;
  right: 4vw;
  bottom: 46%;
  display: flex;
  align-items: flex-end;
  gap: 0.5cqw;
  container-type: inline-size;
  transform-origin: 50% 100%;
}
/* The yell starts 0.14s into fahhh.wav. Each letter rises out of a mask
   on its own beat, left to right, and the crescendo carries the scream. */
.slot {
  position: relative;
  flex: 0 0 auto;
  clip-path: inset(-0.4em -0.4em 0 -0.4em);
  --at: calc(0.14s + var(--i) * 0.055s);
}
.intro .mark {
  display: block;
  font-family: "Archivo Black", "Arial Black", sans-serif;
  font-size: var(--size);
  font-weight: 400;
  letter-spacing: 0;
  line-height: 0.8;
  color: var(--ink);
  transform: translate3d(0, 105%, 0);
}
.intro.go .mark {
  animation: mark-in 0.7s cubic-bezier(.19, 1, .22, 1) var(--at) both;
}
@keyframes mark-in {
  from { transform: translate3d(0, 105%, 0); }
  to { transform: translate3d(0, 0, 0); }
}
/* A hairline that runs the length of the clip, with a caption either side. */
.intro-rule {
  position: absolute;
  left: 0;
  right: 0;
  bottom: -2.4cqw;
  height: 1px;
  background: var(--line);
  overflow: hidden;
}
.intro-rule::after {
  content: "";
  position: absolute;
  inset: 0;
  background: var(--ink);
  transform: scaleX(0);
  transform-origin: 0 50%;
}
.intro.go .intro-rule::after { animation: rule-run 2.1s cubic-bezier(.45, 0, .2, 1) 0.14s both; }
@keyframes rule-run { to { transform: scaleX(1); } }
.intro-cap {
  position: absolute;
  top: calc(100% + 2.4cqw + 14px);
  font-size: 12px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--faint);
  opacity: 0;
}
.intro-cap-l { left: 0; }
.intro-cap-r { right: 0; text-transform: none; letter-spacing: 0.04em; }
.intro.go .intro-cap { animation: cap-in 0.6s ease 0.55s both; }
@keyframes cap-in {
  from { opacity: 0; transform: translateY(6px); }
  to { opacity: 1; transform: none; }
}
/* A soft light that swells with the voice. */
.intro-glow {
  position: absolute;
  inset: -20%;
  pointer-events: none;
  background: radial-gradient(ellipse 50% 40% at 50% 52%, rgba(242, 238, 233, 0.07), transparent 70%);
  opacity: var(--lvl, 0);
}
.intro.go .scream { animation: scream-out 0.5s cubic-bezier(.7, 0, .84, 0) 2.05s forwards; }
@keyframes scream-out {
  to { opacity: 0; transform: translateY(-2cqw); }
}
.intro-run {
  position: absolute;
  width: 1px;
  height: 1px;
  opacity: 0;
  pointer-events: none;
}
.intro.go .intro-run { animation: intro-clock 2.45s linear forwards; }
@keyframes intro-clock { to { opacity: 0.02; } }
/* Shown only when the browser blocks sound until the visitor interacts. */
.intro-hint {
  position: absolute;
  left: 50%;
  top: 50%;
  margin: 0;
  display: none;
  align-items: center;
  gap: 12px;
  transform: translate(-50%, -50%);
  font-size: 13px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--ink);
  white-space: nowrap;
  cursor: pointer;
}
.intro.wait .intro-hint { display: flex; animation: hint-in 0.6s ease 0.2s both; }
.intro.wait .scream { visibility: hidden; }
@keyframes hint-in {
  from { opacity: 0; transform: translate(-50%, calc(-50% + 6px)); }
  to { opacity: 1; transform: translate(-50%, -50%); }
}
.intro.wait { cursor: pointer; }
.intro-sound { color: var(--faint); padding-left: 12px; border-left: 1px solid var(--line); }
.hint-tap { display: none; }
@media (hover: none) {
  .hint-click { display: none; }
  .hint-tap { display: inline; }
}
.intro-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--ink);
  animation: dot 1.6s ease-in-out infinite;
}
@keyframes dot { 50% { opacity: 0.25; } }
.intro-skip {
  position: absolute;
  right: 22px;
  bottom: 20px;
  background: transparent;
  color: var(--faint);
  border: 0;
  padding: 6px 0;
  font-size: 12px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  transition: color 0.2s ease;
}
.intro-skip:hover, .intro-skip:focus-visible { color: var(--ink); }
.intro.out { animation: intro-out 0.75s cubic-bezier(.76, 0, .24, 1) forwards; }
@keyframes intro-out { to { transform: translate3d(0, -100%, 0); } }
@media (prefers-reduced-motion: reduce) {
  .intro { display: none; }
}
@media (max-width: 720px) {
  .scream { left: 5vw; right: 5vw; }
  .intro-cap { font-size: 10px; }
}

#toasts {
  position: fixed;
  z-index: 20;
  right: 18px;
  bottom: 18px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  width: min(340px, calc(100vw - 28px));
  pointer-events: none;
}
.toast {
  position: relative;
  pointer-events: auto;
  background: var(--card);
  border: 1px solid var(--line);
  padding: 12px 36px 12px 14px;
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.35);
  animation: toast-in 0.28s ease;
}
.toast-link { cursor: pointer; }
.toast-link:hover { border-color: #4a4540; }
.toast .kicker { color: var(--good); margin: 0 0 4px; }
.toast .said {
  margin: 0;
  font-size: 15px;
  line-height: 1.35;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.toast .meta { margin: 6px 0 0; }
.toast-x {
  position: absolute;
  top: 8px;
  right: 8px;
  width: 24px;
  height: 24px;
  padding: 0;
  border: 0;
  background: transparent;
  color: var(--muted);
  font-size: 18px;
  line-height: 1;
}
.toast-x:hover { color: var(--ink); }
@keyframes toast-in {
  from { opacity: 0; transform: translateY(8px); }
  to { opacity: 1; transform: none; }
}
@media (prefers-reduced-motion: reduce) {
  .toast { animation: none; }
}
