/* SNOP — stylesheet. Deep plum void, hot magenta, ice text. No green anywhere: green is Pons's colour. */
:root {
  --void: #0a0612;
  --void-2: #120a1f;
  --void-3: #1a1030;
  --line: rgba(242, 238, 255, 0.10);
  --line-2: rgba(242, 238, 255, 0.18);
  --ice: #f2eeff;
  --mute: rgba(242, 238, 255, 0.58);
  --dim: rgba(242, 238, 255, 0.36);
  --hot: #ff3d7f;
  --hot-2: #ff7a59;
  --hot-ink: #0a0612;
  --up: #ffd166;   /* 24h up: warm amber-ish gold, deliberately not green */
  --down: #ff5c5c;
  --display: 'Unbounded', 'Arial Black', sans-serif;
  --body: 'Instrument Sans', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --mono: 'JetBrains Mono', ui-monospace, 'SFMono-Regular', Menlo, monospace;
  --r: 18px;
  --r-sm: 10px;
  --max: 1120px;
}

* { box-sizing: border-box; }
[hidden] { display: none !important; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--void);
  color: var(--ice);
  font-family: var(--body);
  font-size: 17px;
  line-height: 1.55;
  overflow-x: hidden;
}
a { color: inherit; text-decoration: none; }
b, strong { font-weight: 600; }
code { font-family: var(--mono); font-size: 0.86em; }
img, svg { max-width: 100%; }
button { font: inherit; color: inherit; }
::selection { background: var(--hot); color: var(--hot-ink); }

.skip { position: absolute; left: -999px; top: 8px; background: var(--hot); color: var(--hot-ink); padding: 8px 12px; border-radius: 8px; z-index: 100; }
.skip:focus { left: 8px; }

/* ---------- rail ---------- */
.rail {
  border-bottom: 1px solid var(--line);
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: 0.02em;
  color: var(--mute);
  background: var(--void-2);
}
.rail-in { max-width: var(--max); margin: 0 auto; padding: 8px 20px; display: flex; gap: 22px; align-items: center; white-space: nowrap; overflow: hidden; }
.rail-item { display: inline-flex; align-items: center; gap: 8px; }
.rail-right { margin-left: auto; }
.dot { width: 7px; height: 7px; border-radius: 50%; background: var(--dim); display: inline-block; flex: none; }
.dot-live { background: var(--hot); box-shadow: 0 0 0 0 rgba(255, 61, 127, 0.6); animation: pulse 2.2s infinite; }
@keyframes pulse { 0% { box-shadow: 0 0 0 0 rgba(255, 61, 127, 0.55); } 70% { box-shadow: 0 0 0 9px rgba(255, 61, 127, 0); } 100% { box-shadow: 0 0 0 0 rgba(255, 61, 127, 0); } }

/* ---------- nav ---------- */
.nav {
  position: sticky; top: 0; z-index: 50;
  display: flex; align-items: center; gap: 20px;
  max-width: var(--max); margin: 0 auto; padding: 14px 20px;
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
}
.nav::before { content: ""; position: absolute; inset: 0; background: linear-gradient(var(--void) 60%, rgba(10, 6, 18, 0)); z-index: -1; }
.brand { display: inline-flex; align-items: center; gap: 10px; font-family: var(--display); font-weight: 900; letter-spacing: 0.04em; font-size: 15px; }
.mark { width: 28px; height: 28px; flex: none; }
.mark-lg { width: 64px; height: 64px; }
.nav-links { display: flex; gap: 22px; margin-left: 18px; font-size: 14px; color: var(--mute); }
.nav-links a:hover { color: var(--ice); }
.nav-actions { margin-left: auto; display: flex; gap: 8px; align-items: center; }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 13px 20px; border-radius: 999px; border: 1px solid var(--line-2);
  font-weight: 600; font-size: 15px; line-height: 1; cursor: pointer;
  background: transparent; transition: transform .12s ease, background .15s ease, border-color .15s ease;
  white-space: nowrap;
}
.btn:hover { transform: translateY(-1px); border-color: rgba(242, 238, 255, 0.35); }
.btn:active { transform: translateY(0); }
.btn-sm { padding: 9px 13px; font-size: 13px; }
.btn-hot { background: var(--hot); border-color: var(--hot); color: var(--hot-ink); }
.btn-hot:hover { background: #ff5a93; border-color: #ff5a93; }
.btn-ghost { background: rgba(242, 238, 255, 0.04); }
.btn[href="#"] { opacity: 0.55; cursor: not-allowed; }
.btn[href="#"]:hover { transform: none; }

/* ---------- hero ---------- */
.hero {
  position: relative; text-align: center;
  max-width: var(--max); margin: 0 auto; padding: 48px 20px 40px;
}
.hero-bg {
  position: absolute; inset: -120px -40vw 0; z-index: -1; pointer-events: none;
  background:
    radial-gradient(60% 50% at 50% 20%, rgba(255, 61, 127, 0.18), transparent 70%),
    radial-gradient(40% 40% at 50% 60%, rgba(255, 122, 89, 0.08), transparent 70%);
}
.eyebrow { display: flex; justify-content: center; gap: 8px; flex-wrap: wrap; margin: 0 0 30px; }
.pill { font-family: var(--mono); font-size: 11.5px; letter-spacing: 0.06em; text-transform: uppercase; color: var(--mute); border: 1px solid var(--line); padding: 6px 11px; border-radius: 999px; }
.pill-hot { color: var(--hot); border-color: rgba(255, 61, 127, 0.45); }

/* the mirror wordmark */
.mirror { position: relative; display: inline-block; margin: 0 auto 8px; --slot: clamp(64px, 16vw, 168px); }
.mirror-word {
  display: grid; grid-template-columns: repeat(4, var(--slot));
  font-family: var(--display); font-weight: 900;
  font-size: calc(var(--slot) * 0.92); line-height: 1; letter-spacing: -0.02em;
  color: var(--ice);
}
.mirror-word .ltr { display: block; text-align: center; transition: transform .9s cubic-bezier(.7, 0, .2, 1), color .9s ease; will-change: transform; }
/* PONS -> SNOP: every letter crosses the seam to its mirrored slot */
.mirror-word.flipped .ltr[data-i="0"] { transform: translateX(calc(var(--slot) * 3)); }
.mirror-word.flipped .ltr[data-i="1"] { transform: translateX(var(--slot)); }
.mirror-word.flipped .ltr[data-i="2"] { transform: translateX(calc(var(--slot) * -1)); }
.mirror-word.flipped .ltr[data-i="3"] { transform: translateX(calc(var(--slot) * -3)); }
.mirror-word.flipped .ltr { color: var(--hot); }
.seam { position: absolute; left: 50%; top: -8%; bottom: 36%; width: 2px; margin-left: -1px; background: linear-gradient(transparent, var(--hot) 20%, var(--hot) 80%, transparent); opacity: .9; filter: drop-shadow(0 0 12px rgba(255, 61, 127, 0.8)); }
.mirror-ghost {
  position: absolute; left: 0; right: 0; top: 100%; margin-top: -6%;
  transform: scaleY(-1); color: var(--ice); opacity: .18;
  -webkit-mask-image: linear-gradient(rgba(0,0,0,0) 30%, #000 100%);
  mask-image: linear-gradient(rgba(0,0,0,0) 30%, #000 100%);
  pointer-events: none;
}
.mirror-ghost .ltr { color: var(--hot); }

.lede { font-family: var(--display); font-weight: 700; font-size: clamp(20px, 3vw, 30px); letter-spacing: -0.01em; margin: clamp(28px, 6vw, 64px) 0 10px; line-height: 1.25; position: relative; }
.lede em { font-style: normal; color: var(--hot); }
.sub { max-width: 640px; margin: 0 auto 26px; color: var(--mute); font-size: 17px; }
.cta { display: flex; justify-content: center; gap: 10px; flex-wrap: wrap; }
.ca-line { font-family: var(--mono); font-size: 12.5px; color: var(--dim); margin: 18px 0 0; word-break: break-all; }
.ca-line code { color: var(--mute); }

/* ---------- live strip ---------- */
.strip { max-width: var(--max); margin: 24px auto 0; padding: 0 20px; }
.strip-head { display: flex; align-items: center; gap: 9px; font-family: var(--mono); font-size: 12px; letter-spacing: .04em; text-transform: uppercase; color: var(--mute); margin-bottom: 10px; }
.strip-when { margin-left: auto; text-transform: none; letter-spacing: 0; color: var(--dim); }
.strip-grid { display: grid; grid-template-columns: repeat(6, 1fr); border: 1px solid var(--line); border-radius: var(--r); overflow: hidden; background: var(--void-2); }
.strip-grid .stat { padding: 16px 16px 14px; border-right: 1px solid var(--line); }
.strip-grid .stat:last-child { border-right: 0; }
.stat { display: flex; flex-direction: column; gap: 6px; min-width: 0; }
.k { font-family: var(--mono); font-size: 11.5px; letter-spacing: .05em; text-transform: uppercase; color: var(--dim); }
.v { font-family: var(--mono); font-size: 20px; font-weight: 600; color: var(--ice); font-variant-numeric: tabular-nums; overflow: hidden; text-overflow: ellipsis; }
.v.up { color: var(--up); }
.v.down { color: var(--down); }
.v.soon { color: var(--dim); font-weight: 400; }

.gauge { margin-top: 18px; padding: 18px; border: 1px solid var(--line); border-radius: var(--r); background: linear-gradient(180deg, rgba(255, 61, 127, 0.06), transparent); }
.gauge-labels { display: flex; justify-content: space-between; font-family: var(--mono); font-size: 12.5px; color: var(--mute); margin-bottom: 10px; gap: 10px; }
.gauge-labels b { color: var(--ice); }
.gauge-mid { color: var(--hot); }
.gauge-bar { height: 12px; border-radius: 999px; background: rgba(242, 238, 255, 0.08); overflow: hidden; position: relative; }
.gauge-bar::after { content: ""; position: absolute; inset: 0; background: repeating-linear-gradient(90deg, transparent 0 calc(10% - 1px), rgba(10, 6, 18, .9) calc(10% - 1px) 10%); }
.gauge-fill { height: 100%; background: linear-gradient(90deg, var(--hot), var(--hot-2)); border-radius: 999px; transition: width 1.2s cubic-bezier(.2, .8, .2, 1); min-width: 0; }
.gauge-note { margin: 12px 0 0; font-size: 14px; color: var(--dim); }

/* ---------- sections ---------- */
.sec { max-width: var(--max); margin: 0 auto; padding: 88px 20px 0; }
.sec-head { display: flex; align-items: baseline; gap: 16px; margin-bottom: 30px; }
.num { font-family: var(--mono); font-size: 13px; color: var(--hot); letter-spacing: .1em; }
h2 { font-family: var(--display); font-weight: 700; font-size: clamp(24px, 3.4vw, 36px); letter-spacing: -0.015em; margin: 0; line-height: 1.15; }
h3 { font-family: var(--display); font-weight: 700; font-size: 17px; margin: 0 0 8px; letter-spacing: -0.005em; }
.two { display: grid; grid-template-columns: 1.05fr 1fr; gap: 28px; align-items: start; }
.prose p { margin: 0 0 14px; color: var(--mute); }
.prose .big { font-size: 22px; color: var(--ice); line-height: 1.35; font-weight: 500; }
.prose .big b { color: var(--hot); font-weight: 700; }
.card { background: var(--void-2); border: 1px solid var(--line); border-radius: var(--r); padding: 22px; }

/* reverser */
.reverser label { display: block; margin-bottom: 12px; }
.rev-row { display: grid; grid-template-columns: 1fr auto 1fr; gap: 10px; align-items: center; }
.rev-row input, .rev-out {
  font-family: var(--display); font-weight: 700; font-size: clamp(18px, 2.4vw, 26px);
  text-transform: uppercase; letter-spacing: .02em; width: 100%; min-width: 0;
  background: var(--void); border: 1px solid var(--line-2); border-radius: var(--r-sm); padding: 14px 14px; color: var(--ice);
  overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
}
.rev-row input::placeholder { color: var(--dim); }
.rev-row input:focus { outline: none; border-color: var(--hot); }
.rev-out { color: var(--hot); border-color: rgba(255, 61, 127, 0.35); display: block; text-align: right; }
.rev-arrow { color: var(--dim); font-size: 20px; }
.pairs { list-style: none; margin: 18px 0 0; padding: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 8px 18px; font-family: var(--mono); font-size: 13px; }
.pairs li { display: flex; gap: 8px; align-items: baseline; border-top: 1px solid var(--line); padding-top: 8px; }
.pairs li span { color: var(--mute); }
.pairs li i { color: var(--dim); font-style: normal; }
.pairs li b { color: var(--hot); }
.pairs-note { margin: 14px 0 0; font-size: 13px; color: var(--dim); line-height: 1.45; }

/* steps */
.sec-hot .sec-head h2 { color: var(--ice); }
.steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.step { position: relative; padding-top: 26px; }
.step-n { position: absolute; top: -12px; left: 20px; width: 28px; height: 28px; border-radius: 50%; background: var(--hot); color: var(--hot-ink); font-family: var(--mono); font-weight: 600; font-size: 13px; display: grid; place-items: center; }
.step p { margin: 0; color: var(--mute); font-size: 15.5px; }
.step p b { color: var(--ice); }
.ledger { margin-top: 14px; padding: 0; overflow: hidden; }
.ledger-head { display: flex; justify-content: space-between; align-items: baseline; padding: 18px 22px 12px; border-bottom: 1px solid var(--line); }
.ledger-head h3 { margin: 0; }
.ledger-grid { display: grid; grid-template-columns: repeat(4, 1fr); }
.ledger-grid .stat { padding: 16px 22px 18px; border-right: 1px solid var(--line); }
.ledger-grid .stat:last-child { border-right: 0; }
.callout { margin-top: 14px; padding: 20px 22px; border-radius: var(--r); border: 1px solid rgba(255, 61, 127, 0.35); background: linear-gradient(90deg, rgba(255, 61, 127, 0.10), rgba(255, 122, 89, 0.04)); }
.callout p { margin: 0; color: var(--mute); }
.callout b { color: var(--ice); }

/* game */
.two-game { align-items: stretch; }
.game { display: flex; flex-direction: column; gap: 14px; }
.game-top { display: grid; grid-template-columns: auto 1fr auto 1fr auto 1fr; gap: 6px 10px; align-items: baseline; }
.game-top .v { font-size: 18px; }
.game-word { font-family: var(--display); font-weight: 900; font-size: clamp(32px, 5vw, 56px); letter-spacing: .04em; text-align: center; padding: 18px 0 6px; color: var(--ice); transition: color .1s; min-height: 1.2em; }
.game-word.bad { color: var(--down); }
.game-word.good { color: var(--hot); }
.game-hint { text-align: center; text-transform: none; letter-spacing: 0; font-size: 12.5px; }
.game-in { font-family: var(--display); font-weight: 700; font-size: 24px; text-transform: uppercase; letter-spacing: .08em; text-align: center; background: var(--void); border: 1px solid var(--line-2); border-radius: var(--r-sm); padding: 14px; color: var(--hot); width: 100%; }
.game-in:focus { outline: none; border-color: var(--hot); }
.game-in:disabled { opacity: .5; }
.game-actions { display: flex; gap: 10px; justify-content: center; flex-wrap: wrap; }

/* faq */
.faq { display: grid; gap: 8px; }
.faq details { border: 1px solid var(--line); border-radius: var(--r-sm); background: var(--void-2); padding: 0 18px; }
.faq summary { cursor: pointer; padding: 16px 0; font-weight: 600; list-style: none; display: flex; justify-content: space-between; gap: 12px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; color: var(--hot); font-family: var(--mono); font-size: 18px; line-height: 1; }
.faq details[open] summary::after { content: "−"; }
.faq details p { margin: 0; padding: 0 0 18px; color: var(--mute); }

/* buy */
.buy { padding-bottom: 20px; }
.buy-card { display: flex; align-items: center; justify-content: space-between; gap: 22px; flex-wrap: wrap; padding: 26px; background: linear-gradient(135deg, var(--void-3), var(--void-2)); }
.buy-left { display: flex; align-items: center; gap: 18px; }
.buy-left h2 { font-size: clamp(20px, 2.6vw, 28px); }
.buy-left p { margin: 6px 0 0; color: var(--mute); }
.buy-right { display: flex; gap: 10px; flex-wrap: wrap; }
.addr { margin: 14px 0 0; display: grid; gap: 8px; }
.addr div { display: grid; grid-template-columns: 90px 1fr; gap: 12px; align-items: center; font-family: var(--mono); font-size: 13px; border-top: 1px solid var(--line); padding-top: 8px; }
.addr dt { color: var(--dim); margin: 0; }
.addr dd { margin: 0; word-break: break-all; color: var(--mute); }
.addr code { font-size: 13px; }

/* footer */
.foot { max-width: var(--max); margin: 60px auto 0; padding: 26px 20px 40px; border-top: 1px solid var(--line); color: var(--dim); font-size: 13.5px; }
.foot-row { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; }
.foot-links { display: flex; gap: 18px; }
.foot-links a:hover { color: var(--ice); }
.fine { margin: 14px 0 0; max-width: 760px; }

/* toast */
.toast { position: fixed; left: 50%; bottom: 24px; transform: translate(-50%, 20px); opacity: 0; background: var(--ice); color: var(--void); padding: 10px 16px; border-radius: 999px; font-size: 14px; font-weight: 600; pointer-events: none; transition: all .25s ease; z-index: 90; }
.toast.on { opacity: 1; transform: translate(-50%, 0); }

/* ---------- responsive ---------- */
@media (max-width: 900px) {
  .strip-grid { grid-template-columns: repeat(3, 1fr); }
  .strip-grid .stat:nth-child(3n) { border-right: 0; }
  .strip-grid .stat:nth-child(-n+3) { border-bottom: 1px solid var(--line); }
  .two { grid-template-columns: 1fr; }
  .steps { grid-template-columns: 1fr; gap: 22px; }
  .ledger-grid { grid-template-columns: 1fr 1fr; }
  .ledger-grid .stat:nth-child(2n) { border-right: 0; }
  .ledger-grid .stat:nth-child(-n+2) { border-bottom: 1px solid var(--line); }
  .nav-links { display: none; }
}
@media (max-width: 560px) {
  body { font-size: 16px; }
  .rail-right { display: none; }
  .nav { padding: 10px 14px; gap: 10px; }
  .brand-word { display: none; }
  .hero { padding: 34px 14px 30px; }
  .strip, .sec { padding-left: 14px; padding-right: 14px; }
  .sec { padding-top: 64px; }
  .strip-grid { grid-template-columns: 1fr 1fr; }
  .strip-grid .stat { border-right: 1px solid var(--line) !important; border-bottom: 1px solid var(--line); }
  .strip-grid .stat:nth-child(2n) { border-right: 0 !important; }
  .strip-grid .stat:nth-last-child(-n+2) { border-bottom: 0; }
  .pairs { grid-template-columns: 1fr; }
  .rev-row { grid-template-columns: 1fr; }
  .rev-arrow { transform: rotate(90deg); text-align: center; }
  .rev-out { text-align: left; }
  .addr div { grid-template-columns: 1fr; gap: 4px; }
  .buy-card { padding: 20px; }
}
@media (prefers-reduced-motion: reduce) {
  .mirror-word .ltr { transition: none; }
  .dot-live { animation: none; }
  html { scroll-behavior: auto; }
}
