/* Q-Day · home v2. The full-bleed Black-Body hero, then the story sections, each with its own composition.
   Type: Mona Sans only. Display is wide and heavy (wdth 125, wght 820-900) with a crisp glow: a sharp white-hot fill
   plus layered shadows (tight white, mid ember ~35%, wide ember ~20%), never a blurred fill. Body is normal width.
   JetBrains Mono for data and labels. Palette: base #050403, white-hot #fff6ea, ember #ff5a1f, flame #ff9a3c,
   deep red #b3200e, steel #8fb3ff (P-256, cool and locked states). One easing family; reduced motion stops it.
   Home classes are scoped under .page-home; the scanner form (.scan) at the end stays shared with #/scan. */

.page-home {
  --hm-base: #050403;
  --hm-white: #fff6ea;
  --hm-ember: #ff5a1f;
  --hm-flame: #ff9a3c;
  --hm-red: #b3200e;
  --hm-steel: #8fb3ff;
  --hm-ink: #fff6ea;
  --hm-ink-2: rgba(255, 246, 234, 0.76);
  --hm-ink-3: rgba(255, 246, 234, 0.6);
  --hm-ink-4: rgba(255, 246, 234, 0.42);
  --hm-line: rgba(255, 246, 234, 0.085);
  --hm-line-2: rgba(255, 246, 234, 0.15);
  --hm-line-3: rgba(255, 246, 234, 0.26);
  --hm-ease: cubic-bezier(0.16, 1, 0.3, 1);
  --hm-io: cubic-bezier(0.7, 0, 0.3, 1);
  --hm-glow: 0 0 1px rgba(255, 255, 255, 0.85), 0 0 13px rgba(255, 90, 31, 0.34), 0 0 54px rgba(255, 90, 31, 0.2);
  --hm-glass: linear-gradient(180deg, rgba(255, 246, 234, 0.055), rgba(255, 246, 234, 0.012) 55%), rgba(12, 9, 7, 0.68);
  --hm-noise: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 1 0 0 0 0 .96 0 0 0 0 .92 0 0 0 .06 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  color: var(--hm-ink);
  font-stretch: 100%;
}

/* ================================================================ shared home type */
.page-home .kicker { color: var(--hm-ink-2); }
.page-home .kicker .dot { background: var(--hm-white); box-shadow: 0 0 6px var(--hm-white), 0 0 14px rgba(255, 90, 31, 0.7); }
.hm-h2 {
  margin: 0; font-family: var(--sans); font-stretch: 125%; font-weight: 860; text-transform: uppercase;
  font-size: clamp(33px, 9vw, 78px); line-height: 0.92; letter-spacing: -0.014em; color: var(--hm-white);
  text-shadow: var(--hm-glow); text-wrap: balance;
}
.page-home .hot {
  color: transparent; -webkit-text-fill-color: transparent; text-shadow: none;
  background: linear-gradient(96deg, #ffd1a3 0%, var(--hm-flame) 28%, var(--hm-ember) 78%, #ff4513 100%);
  -webkit-background-clip: text; background-clip: text;
  filter: drop-shadow(0 0 11px rgba(255, 90, 31, 0.42));
}
.page-home .lead { color: var(--hm-ink-2); font-size: 16px; line-height: 1.55; }
.page-home .mono { font-family: var(--mono); }

/* ================================================================ hero */
.hero {
  position: relative; isolation: isolate; display: flex; flex-direction: column; align-items: center;
  min-height: calc(100svh - var(--bar-h) - var(--tab-h)); overflow: clip; padding-bottom: 26px;
}
.hero-bg {
  position: absolute; left: 0; right: 0; top: 0; height: min(100%, calc(100svh - var(--bar-h))); z-index: 0; pointer-events: none;
  -webkit-mask-image: linear-gradient(#000 64%, rgba(0, 0, 0, 0.55) 80%, transparent); mask-image: linear-gradient(#000 64%, rgba(0, 0, 0, 0.55) 80%, transparent);
  will-change: transform, opacity;
}
.hero .gl, .hero .fallback { position: absolute; inset: 0; width: 100%; height: 100%; display: block; background: var(--hm-base); }
.no-gl .hero .gl, .hero.no-gl .gl { display: none; }
/* the cage centers on the slot; its ring spans about 0.9 of the slot's width */
.slot { position: absolute; left: 50%; top: -8px; width: min(540px, 126vw); height: 340px; transform: translateX(-50%); }
.hero-scrim {
  position: absolute; inset: 0; z-index: 1; pointer-events: none;
  background:
    radial-gradient(120% 52% at 50% 74%, rgba(5, 4, 3, 0.86), rgba(5, 4, 3, 0.55) 46%, rgba(5, 4, 3, 0) 76%),
    linear-gradient(rgba(5, 4, 3, 0) 70%, var(--hm-base));
}

/* the one caption that follows the cage (desktop): the canary key H; a scanned key; a hovered bead */
.tag-follow {
  position: absolute; left: 0; top: 0; z-index: 2; pointer-events: none; opacity: 0;
  display: none; align-items: center; gap: 7px; transition: opacity 0.45s var(--hm-ease);
  font-family: var(--mono); font-weight: 600; font-size: 10.5px; letter-spacing: 0.08em; color: var(--hm-steel); white-space: nowrap;
  will-change: transform;
}
.tag-follow i { display: block; width: 30px; height: 1px; background: linear-gradient(90deg, rgba(143, 179, 255, 0), rgba(143, 179, 255, 0.9)); }
.tag-follow span { padding: 4px 8px; border-radius: 6px; background: rgba(5, 4, 3, 0.62); border: 1px solid rgba(143, 179, 255, 0.32); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); }
.tag-follow.on { opacity: 1; }
.tag-follow.flip { flex-direction: row-reverse; }
.tag-follow.flip i { transform: scaleX(-1); }
.tag-follow.key { color: var(--hm-flame); }
.tag-follow.key i { background: linear-gradient(90deg, rgba(255, 154, 60, 0), rgba(255, 154, 60, 0.95)); }
.tag-follow.key span { border-color: rgba(255, 154, 60, 0.5); }
.tag-follow.bead { color: var(--hm-white); transition: opacity 0.15s; }
.tag-follow.bead i { background: linear-gradient(90deg, rgba(255, 246, 234, 0), rgba(255, 246, 234, 0.8)); }
.tag-follow.bead span { border-color: var(--hm-line-3); letter-spacing: 0; font-weight: 500; }
.hero.qday .tag-follow[data-tag="h"] { color: #fff; }
.hero.qday .tag-follow[data-tag="h"] span { border-color: rgba(255, 90, 31, 0.8); background: rgba(40, 10, 4, 0.7); box-shadow: 0 0 22px -4px rgba(255, 90, 31, 0.8); }

/* SIMULATION stamp */
.stamp {
  position: absolute; z-index: 4; left: 50%; top: 18px; pointer-events: none; opacity: 0;
  transform: translateX(-50%) rotate(-6deg) scale(1.04); transform-origin: 50% 60%;
  padding: 9px 16px 8px; border: 2.5px solid var(--hm-ember); border-radius: 9px; text-align: center; color: var(--hm-ember);
  background: rgba(5, 4, 3, 0.35); box-shadow: 0 0 0 1px rgba(5, 4, 3, 0.6), 0 0 34px -8px rgba(255, 90, 31, 0.8), inset 0 0 18px -6px rgba(255, 90, 31, 0.7);
  transition: opacity 0.3s var(--hm-ease), transform 0.5s var(--hm-ease);
}
.stamp::before { content: ""; position: absolute; inset: 4px; border: 1px solid rgba(255, 90, 31, 0.55); border-radius: 5px; }
.stamp b { display: block; font-stretch: 125%; font-weight: 900; font-size: 25px; line-height: 1; letter-spacing: 0.16em; margin-right: -0.16em; text-shadow: 0 0 1px #ffb48a, 0 0 16px rgba(255, 90, 31, 0.7); }
.stamp span { display: block; margin-top: 6px; font-family: var(--mono); font-size: 10px; font-weight: 600; letter-spacing: 0.06em; color: var(--hm-flame); white-space: nowrap; }
.hero.sim .stamp { opacity: 1; transform: translateX(-50%) rotate(-6deg) scale(1); }
.hero.slam .stamp { animation: hmSlam 0.6s var(--hm-ease) 1; }
@keyframes hmSlam {
  0% { transform: translateX(-50%) rotate(-13deg) scale(1.75); opacity: 0; filter: blur(5px); }
  45% { transform: translateX(-50%) rotate(-5deg) scale(0.93); opacity: 1; filter: blur(0); }
  70% { transform: translateX(-50%) rotate(-6.5deg) scale(1.03); }
  100% { transform: translateX(-50%) rotate(-6deg) scale(1); }
}

/* the copy */
.hero-in { position: relative; z-index: 3; width: 100%; padding: 236px var(--gut) 0; text-align: center; }
.h1 { margin: 0; font-weight: 400; }
.hw {
  display: block; margin: 0 auto; white-space: nowrap; font-family: var(--sans); font-stretch: 125%; font-weight: 900;
  font-size: clamp(62px, 21vw, 116px); line-height: 0.8; letter-spacing: 0.004em; color: var(--hm-white);
  text-shadow: 0 0 1px rgba(255, 255, 255, 0.9), 0 0 14px rgba(255, 90, 31, 0.35), 0 0 52px rgba(255, 90, 31, 0.2);
}
.hw-l { display: inline-block; text-align: center; }
.hw-l.scr { color: var(--hm-flame); font-family: var(--mono); font-weight: 800; font-stretch: 100%; text-shadow: 0 0 12px rgba(255, 90, 31, 0.75); opacity: 0.9; }
.hw-l.lock { animation: hmLock 0.6s ease-out 1; }
@keyframes hmLock { 0% { text-shadow: 0 0 2px #fff, 0 0 20px #fff, 0 0 60px rgba(255, 154, 60, 0.9); } 100% { text-shadow: 0 0 1px rgba(255, 255, 255, 0.9), 0 0 14px rgba(255, 90, 31, 0.35), 0 0 52px rgba(255, 90, 31, 0.2); } }
/* the hyphen is the brand's scrubber (css/base.css .wm-scrub): a white-hot to ember bar whose knob sits at TODAY and
   rides to Q-DAY with the simulation (--sim, set by hero.js) */
.hw-scrub {
  position: relative; display: inline-block; vertical-align: 0.29em; width: 0.62em; height: 0.13em; margin: 0 0.08em 0 0.1em; border-radius: 1em;
  background: linear-gradient(90deg, var(--hm-white) 0%, #ffc48f 30%, #ff7a2e 66%, #e2401a 100%);
  box-shadow: 0 0 0.03em rgba(255, 246, 234, 0.7), 0 0 0.18em rgba(255, 90, 31, 0.7), 0 0 0.5em rgba(255, 90, 31, 0.3);
  transform-origin: 0 50%;
}
.hw-knob {
  position: absolute; top: 50%; left: calc(-0.04em + var(--sim, 0) * (100% - 0.18em)); width: 0.22em; height: 0.22em; margin-top: -0.11em; border-radius: 50%; background: #fff;
  box-shadow: 0 0 0 0.03em rgba(255, 246, 234, 0.45), 0 0 0.16em #fff, 0 0 0.45em rgba(255, 90, 31, 0.95);
}
.hero.beat .hw-knob { animation: hmKnob 0.7s ease-out 1; }
@keyframes hmKnob { 14% { box-shadow: 0 0 0 0.06em rgba(255, 246, 234, 0.6), 0 0 0.26em #fff, 0 0 0.8em rgba(255, 90, 31, 1); } }

.h1-l {
  display: block; margin-top: 0.42em; font-family: var(--sans); font-stretch: 112%; font-weight: 790;
  font-size: clamp(24px, 7.2vw, 32px); line-height: 1.06; letter-spacing: -0.012em; color: var(--hm-white);
  text-shadow: 0 0 1px rgba(255, 255, 255, 0.45), 0 0 18px rgba(255, 90, 31, 0.16);
}
.h1-a, .h1-b { display: block; }
.h1-l em {
  font-style: normal; color: transparent; -webkit-text-fill-color: transparent; text-shadow: none;
  background: linear-gradient(96deg, #ffd1a3 0%, var(--hm-flame) 30%, var(--hm-ember) 72%, #ff4513 100%) 0 0 / 200% 100%;
  -webkit-background-clip: text; background-clip: text;
  filter: drop-shadow(0 0 10px rgba(255, 90, 31, 0.5));
  animation: hmHeat 6s ease-in-out infinite alternate;
}
@keyframes hmHeat { to { background-position: 100% 0; } }
.hero .sub { margin: 14px auto 0; max-width: 33em; font-size: 15px; line-height: 1.5; color: var(--hm-ink-2); text-wrap: balance; }

/* the scanner: a command bar */
.cmd {
  position: relative; display: flex; align-items: center; gap: 8px; width: 100%; max-width: 620px; height: 56px; margin: 20px auto 0;
  padding: 5px 5px 5px 14px; border-radius: 15px; overflow: hidden; text-align: left;
  background: linear-gradient(180deg, rgba(255, 246, 234, 0.06), rgba(255, 246, 234, 0.015)), rgba(9, 7, 6, 0.74);
  -webkit-backdrop-filter: blur(14px) saturate(1.2); backdrop-filter: blur(14px) saturate(1.2);
  border: 1px solid rgba(255, 246, 234, 0.17);
  box-shadow: inset 0 1px 0 rgba(255, 246, 234, 0.08), 0 22px 50px -26px rgba(0, 0, 0, 0.95), 0 0 0 1px rgba(0, 0, 0, 0.4), 0 0 46px -24px rgba(255, 90, 31, 0.55);
  transition: border-color 0.35s var(--hm-ease), box-shadow 0.35s var(--hm-ease);
}
.cmd::before { content: ""; position: absolute; inset: 0; pointer-events: none; background: var(--hm-noise); opacity: 0.6; }
.cmd:focus-within { border-color: rgba(255, 154, 60, 0.6); box-shadow: inset 0 1px 0 rgba(255, 246, 234, 0.08), 0 0 0 4px rgba(255, 90, 31, 0.1), 0 0 44px -10px rgba(255, 90, 31, 0.5); }
.cmd-ps { position: relative; flex: none; font-family: var(--mono); font-size: 13px; font-weight: 600; color: var(--hm-ink-3); white-space: nowrap; }
.cmd-ps i { font-style: normal; color: var(--hm-ember); text-shadow: 0 0 10px rgba(255, 90, 31, 0.7); }
.cmd-word { display: none; }
.cmd input {
  position: relative; flex: 1; min-width: 0; height: 100%; padding: 0 4px; border: 0; outline: none; background: transparent;
  font-family: var(--mono); font-size: 14px; color: var(--hm-white); caret-color: var(--hm-flame);
}
.cmd input::placeholder { color: rgba(255, 246, 234, 0.4); }
.cmd-go {
  position: relative; z-index: 1; flex: none; display: inline-flex; align-items: center; gap: 9px; height: 100%; padding: 0 14px 0 18px;
  border: 0; border-radius: 11px; color: #1b0d06; background: linear-gradient(180deg, #ffffff, #ffe7d1);
  font-stretch: 118%; font-weight: 820; font-size: 13.5px; letter-spacing: 0.08em; text-transform: uppercase;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.5), 0 0 22px -4px rgba(255, 214, 170, 0.75), 0 0 58px -14px rgba(255, 90, 31, 0.7);
  transition: box-shadow 0.3s var(--hm-ease), transform 0.2s var(--hm-ease);
}
.cmd-go:hover { box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.6), 0 0 28px -2px rgba(255, 224, 190, 0.95), 0 0 70px -12px rgba(255, 90, 31, 0.85); }
.cmd-go:active { transform: translateY(1px); }
.cmd-go[disabled] { cursor: progress; opacity: 0.85; }
.cmd-go kbd { display: none; font-family: var(--mono); font-size: 11px; font-weight: 700; padding: 2px 6px; border-radius: 5px; background: rgba(27, 13, 6, 0.09); color: rgba(27, 13, 6, 0.55); }
/* scanning: a beam sweeps the bar and scanlines roll */
.cmd-beam { position: absolute; inset: 0; pointer-events: none; opacity: 0; overflow: hidden; border-radius: inherit; transition: opacity 0.3s; }
.cmd-beam::before {
  content: ""; position: absolute; top: 0; bottom: 0; left: 0; width: 34%;
  background: linear-gradient(90deg, rgba(255, 90, 31, 0), rgba(255, 90, 31, 0.1) 55%, rgba(255, 210, 170, 0.5) 96%, rgba(255, 255, 255, 0.95) 99%, rgba(255, 255, 255, 0));
  transform: translateX(-110%);
}
.cmd-beam::after { content: ""; position: absolute; inset: 0; background: repeating-linear-gradient(0deg, rgba(255, 246, 234, 0.035) 0 1px, transparent 1px 3px); }
.cmd.busy { border-color: rgba(255, 154, 60, 0.55); }
.cmd.busy .cmd-beam { opacity: 1; }
.cmd.busy .cmd-beam::before { animation: hmBeam 1.25s var(--hm-io) infinite; }
@keyframes hmBeam { to { transform: translateX(300%); } }

.cmd-status {
  display: flex; align-items: center; justify-content: center; flex-wrap: wrap; gap: 6px 14px; margin: 11px auto 0;
  font-family: var(--mono); font-size: 10.5px; font-weight: 500; letter-spacing: 0.05em; color: var(--hm-ink-3); text-transform: uppercase;
}
.cs-live { display: inline-flex; align-items: center; gap: 7px; }
.cs-live b { font-weight: 600; color: var(--hm-white); letter-spacing: 0.02em; font-variant-numeric: tabular-nums; }
.cs-dot { width: 6px; height: 6px; border-radius: 50%; background: var(--hm-white); box-shadow: 0 0 6px #fff, 0 0 12px rgba(255, 90, 31, 0.8); }
.hero.beat .cs-dot { animation: thump 0.62s ease-out 1; }
.cs-note { flex-basis: 100%; order: 3; color: var(--hm-ink-4); }
.cs-more { display: inline-flex; align-items: center; gap: 5px; color: var(--hm-white); text-decoration: none; font-weight: 600; border-bottom: 1px solid rgba(255, 154, 60, 0.6); padding-bottom: 1px; }
.cs-more svg { width: 11px; height: 11px; transition: transform 0.3s var(--hm-ease); }
.cs-more:hover svg { transform: translateX(3px); }
.hero .hint { max-width: 620px; margin: 8px auto 0; color: var(--hm-flame); font-size: 13.5px; }
.hero .hint:empty { display: none; }
.hprog {
  display: flex; flex-direction: column; gap: 8px; width: 100%; max-width: 620px; margin: 12px auto 0; padding: 10px 12px; text-align: left;
  border-radius: 12px; border: 1px solid var(--hm-line-2); background: rgba(9, 7, 6, 0.86); font-family: var(--mono); font-size: 12px; color: var(--hm-ink-2);
}
.hprog-t::before { content: "› "; color: var(--hm-ember); }
.hprog-t::after { content: "▌"; margin-left: 3px; color: var(--hm-flame); animation: hmCaret 1s steps(1) infinite; }
@keyframes hmCaret { 50% { opacity: 0; } }
.hprog-bar { display: block; height: 2px; border-radius: 2px; background: rgba(255, 246, 234, 0.08); overflow: hidden; }
.hprog-bar b { display: block; height: 100%; width: 0; background: linear-gradient(90deg, var(--hm-ember), #fff); box-shadow: 0 0 10px rgba(255, 154, 60, 0.8); transition: width 0.35s var(--hm-ease); }

/* inline verdict */
.hero .verdict {
  --lv: var(--hm-steel);
  position: relative; width: 100%; max-width: 620px; margin: 12px auto 0; padding: 14px 15px 15px; text-align: left; border-radius: 15px;
  background: radial-gradient(120% 120% at 0% 0%, color-mix(in srgb, var(--lv) 12%, transparent), transparent 60%), rgba(9, 7, 6, 0.92);
  border: 1px solid color-mix(in srgb, var(--lv) 40%, transparent);
  box-shadow: 0 0 50px -22px var(--lv), inset 0 1px 0 rgba(255, 246, 234, 0.06); font-size: 13.5px;
  -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px);
}
.v-top { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.v-badge { font-stretch: 118%; font-weight: 820; font-size: 11px; letter-spacing: 0.14em; padding: 4px 8px; border-radius: 6px; color: #120804; background: var(--lv); box-shadow: 0 0 18px -3px var(--lv); }
.v-who { color: var(--hm-ink-2); font-size: 12px; overflow-wrap: anywhere; }
.v-line { margin: 9px 0 0; color: var(--hm-white); font-weight: 560; line-height: 1.42; }
.v-plot { margin: 6px 0 0; color: var(--hm-ink-2); line-height: 1.45; }
.v-plot .mono { color: #ffd1a3; }
.v-see { margin-left: 2px; padding: 0; border: 0; background: none; color: #fff; font-weight: 650; font-size: inherit; border-bottom: 1px solid rgba(255, 154, 60, 0.6); }
.v-cav { margin: 6px 0 0; color: var(--hm-ink-3); font-size: 12.5px; }
.v-actions { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 12px; }
.v-actions .btn { min-height: 36px; padding: 0 14px; font-size: 13px; }

/* Run Shor (simulation) */
.shor {
  position: relative; z-index: 3; width: min(100% - 2 * var(--gut), 440px); margin: 22px auto 0;
  display: grid; grid-template-columns: auto 1fr; align-items: center; gap: 3px 14px;
}
.shor-run {
  grid-row: 1; grid-column: 1; display: inline-flex; align-items: center; gap: 8px; height: 36px; padding: 0 14px 0 12px;
  border-radius: 999px; border: 1px solid rgba(255, 246, 234, 0.24); background: rgba(9, 7, 6, 0.7); color: var(--hm-white);
  -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px);
  font-stretch: 112%; font-weight: 720; font-size: 12.5px; letter-spacing: 0.03em; white-space: nowrap;
  box-shadow: 0 0 24px -10px rgba(255, 90, 31, 0.7); transition: border-color 0.3s var(--hm-ease), box-shadow 0.3s var(--hm-ease);
}
.shor-run em { font-style: normal; font-weight: 500; color: var(--hm-ink-3); }
.shor-run svg { width: 10px; height: 10px; fill: var(--hm-ember); filter: drop-shadow(0 0 4px rgba(255, 90, 31, 0.9)); }
.shor-run:hover { border-color: rgba(255, 154, 60, 0.7); box-shadow: 0 0 30px -8px rgba(255, 90, 31, 0.9); }
.shor-track { grid-row: 1; grid-column: 2; position: relative; height: 36px; touch-action: none; cursor: grab; outline: none; }
.shor-track:active { cursor: grabbing; }
.shor-rail { position: absolute; left: 0; right: 0; top: 17px; height: 2px; border-radius: 2px; background: linear-gradient(90deg, rgba(255, 246, 234, 0.6), rgba(255, 154, 60, 0.45) 50%, rgba(179, 32, 14, 0.6) 85%, rgba(179, 32, 14, 0.8)); }
.shor-rail::after { content: ""; position: absolute; right: -1px; top: -4px; width: 2px; height: 10px; border-radius: 1px; background: var(--hm-ember); box-shadow: 0 0 8px var(--hm-ember); }
.shor-fill { position: absolute; left: 0; top: 16px; height: 4px; width: 0; border-radius: 3px; background: linear-gradient(90deg, #fff, var(--hm-flame) 60%, var(--hm-ember)); box-shadow: 0 0 12px rgba(255, 90, 31, 0.9); }
.shor-thumb {
  position: absolute; top: 8px; left: 0; width: 20px; height: 20px; margin-left: -10px; border-radius: 50%;
  background: radial-gradient(circle at 50% 45%, #fff 0 36%, #ffe2c4 50%, rgba(255, 154, 60, 0) 56%), rgba(9, 7, 6, 0.92);
  border: 1.5px solid rgba(255, 214, 170, 0.95);
  box-shadow: 0 0 0 4px rgba(255, 154, 60, 0.12), 0 0 18px rgba(255, 154, 60, 0.85); transition: box-shadow 0.2s, transform 0.2s var(--hm-ease);
}
.hero.dragging .shor-thumb { transform: scale(1.18); box-shadow: 0 0 0 7px rgba(255, 154, 60, 0.18), 0 0 26px rgba(255, 154, 60, 1); }
.shor-track:focus-visible .shor-thumb { outline: 2px solid #fff; outline-offset: 3px; }
.shor-ends { grid-row: 2; grid-column: 2; display: flex; justify-content: space-between; font-family: var(--mono); font-weight: 600; font-size: 9.5px; letter-spacing: 0.12em; color: var(--hm-ink-4); margin-top: -6px; }
.shor-ends span:last-child { color: rgba(255, 90, 31, 0.85); }
.shor-note { display: none; grid-row: 3; grid-column: 1 / -1; margin: 8px 0 0; font-size: 12px; line-height: 1.4; color: var(--hm-ink-3); text-align: center; }
.hero.sim .shor-note { display: block; color: var(--hm-flame); }
.shor-note.release { display: block; color: var(--hm-ink-2); }
.shor-steps { display: none; }
.reduced .shor-track, .reduced .shor-ends, .reduced .shor-run { display: none; }
.reduced .shor { grid-template-columns: 1fr; justify-items: center; }
.reduced .shor-steps { display: inline-flex; grid-row: 1; grid-column: 1; border: 1px solid var(--hm-line-3); border-radius: 999px; padding: 3px; gap: 3px; background: rgba(9, 7, 6, 0.76); }
.shor-steps button { border: 0; background: none; height: 30px; padding: 0 13px; border-radius: 999px; font-size: 12.5px; font-weight: 650; color: var(--hm-ink-2); }
.shor-steps button em { font-style: normal; color: var(--hm-flame); font-weight: 500; }
.shor-steps button[aria-pressed="true"] { background: rgba(255, 154, 60, 0.16); color: #fff; }
.reduced .shor-note { display: block; }
.hero-cap { position: relative; z-index: 3; max-width: 30em; margin: 14px auto 0; padding: 0 var(--gut); font-family: var(--mono); font-size: 10.5px; line-height: 1.5; letter-spacing: 0.02em; color: var(--hm-ink-4); text-align: center; }
.beat-text { display: none; margin: 8px 0 0; font-family: var(--mono); font-size: 12px; color: var(--hm-ink-3); }
.reduced .beat-text { display: block; }

/* the opening: copy rises in after the wordmark decodes */
.hero.intro .hw { opacity: 0; }
.hero.intro.play .hw { opacity: 1; }
.hero.intro .h1-l, .hero.intro .sub, .hero.intro .cmd, .hero.intro .cmd-status, .hero.intro .shor, .hero.intro .hero-cap { opacity: 0; }
.hero.intro.play .h1-l { animation: hmRise 1s var(--hm-ease) 0.62s both; }
.hero.intro.play .sub { animation: hmRise 1s var(--hm-ease) 0.78s both; }
.hero.intro.play .cmd { animation: hmRise 1s var(--hm-ease) 0.92s both; }
.hero.intro.play .cmd-status { animation: hmRise 1s var(--hm-ease) 1.04s both; }
.hero.intro.play .shor, .hero.intro.play .hero-cap { animation: hmRise 1s var(--hm-ease) 1.3s both; }
.hero.intro.play .hw-scrub { animation: hmScrub 0.9s var(--hm-ease) 0.12s both; }
.hero.intro.play .hw-knob { animation: hmScrubKnob 1.5s var(--hm-ease) 0.12s both; }
@keyframes hmRise { from { opacity: 0; transform: translateY(12px); filter: blur(5px); } to { opacity: 1; transform: none; filter: blur(0); } }
@keyframes hmScrub { from { transform: scaleX(0); } to { transform: scaleX(1); } }
@keyframes hmScrubKnob { 0% { left: -0.04em; opacity: 0; } 15% { opacity: 1; } 55% { left: calc(100% - 0.22em); } 100% { left: -0.04em; } }
.hero.ignite .hw { animation: hmIgnite 1.3s ease-out 1; }
@keyframes hmIgnite {
  0% { text-shadow: 0 0 1px rgba(255, 255, 255, 0.9), 0 0 14px rgba(255, 90, 31, 0.35), 0 0 52px rgba(255, 90, 31, 0.2); }
  12% { text-shadow: 0 0 2px #fff, 0 0 26px rgba(255, 246, 234, 0.9), 0 0 90px rgba(255, 154, 60, 0.55); }
  100% { text-shadow: 0 0 1px rgba(255, 255, 255, 0.9), 0 0 14px rgba(255, 90, 31, 0.35), 0 0 52px rgba(255, 90, 31, 0.2); }
}

/* ================================================================ live marquee (the shared data-marquee, css/base.css .qm) */
.page-home .mq { position: relative; z-index: 2; height: 46px; border-block-color: var(--hm-line-2); background: linear-gradient(90deg, rgba(255, 90, 31, 0.08), rgba(5, 4, 3, 0.92) 22%, rgba(5, 4, 3, 0.92) 78%, rgba(143, 179, 255, 0.06)); }
.page-home .mq b.upd { animation: hmUpd 1.2s ease-out 1; }
@keyframes hmUpd { 0% { color: #fff; text-shadow: 0 0 10px #fff, 0 0 20px rgba(255, 154, 60, 0.9); } 100% { text-shadow: none; } }

/* ================================================================ sections */
.page-home .sec { position: relative; padding: 76px 0 8px; overflow-x: clip; }
.page-home .sec::before { display: none; }

/* harvest now, decrypt later */
.hv::after { content: ""; position: absolute; z-index: -1; right: 0; top: 0; width: 70%; height: 80%; pointer-events: none; background: radial-gradient(closest-side, rgba(255, 90, 31, 0.09), rgba(255, 90, 31, 0)); }
.hv-head { display: grid; gap: 22px; align-items: end; }
.hv-count { display: grid; grid-template-columns: auto 1fr; gap: 4px 14px; align-items: center; padding: 14px 16px; border-radius: 16px; border: 1px solid var(--hm-line-2); background: var(--hm-glass); }
.hv-n { font-size: clamp(34px, 10vw, 56px); font-weight: 700; line-height: 1; letter-spacing: -0.03em; color: var(--hm-white); text-shadow: 0 0 1px #fff, 0 0 18px rgba(255, 90, 31, 0.45); font-variant-numeric: tabular-nums; }
.hv-count p { margin: 0; font-size: 13px; line-height: 1.45; color: var(--hm-ink-3); }
.hv-lead { max-width: 46em; margin-top: 20px; }
.hv-term {
  position: relative; margin-top: 26px; border-radius: 18px; overflow: hidden;
  border: 1px solid var(--hm-line-2); background: linear-gradient(180deg, rgba(255, 246, 234, 0.04), rgba(255, 246, 234, 0.01)), rgba(7, 5, 4, 0.9);
  box-shadow: 0 40px 80px -50px rgba(0, 0, 0, 1), 0 0 60px -40px rgba(255, 90, 31, 0.6), inset 0 1px 0 rgba(255, 246, 234, 0.06);
}
.hv-term::before { content: ""; position: absolute; inset: 0; pointer-events: none; background: repeating-linear-gradient(0deg, rgba(255, 246, 234, 0.018) 0 1px, transparent 1px 4px), var(--hm-noise); }
.hv-bar { position: relative; display: flex; align-items: center; justify-content: space-between; gap: 10px; flex-wrap: wrap; padding: 12px 14px; border-bottom: 1px solid var(--hm-line); font-family: var(--mono); font-size: 10.5px; letter-spacing: 0.08em; color: var(--hm-ink-3); }
.hv-live { display: inline-flex; align-items: center; gap: 8px; color: var(--hm-white); font-weight: 600; }
.hv-live i { width: 7px; height: 7px; border-radius: 50%; background: var(--hm-ember); box-shadow: 0 0 10px var(--hm-ember); animation: hmLive 1.6s ease-in-out infinite; }
@keyframes hmLive { 50% { opacity: 0.35; } }
.hv-blk b { color: var(--hm-white); font-weight: 600; font-variant-numeric: tabular-nums; }
.hv-sep { margin: 0 7px; opacity: 0.5; }
.hv-cols { display: none; }
.hv-rows { position: relative; margin: 0; padding: 6px 0; list-style: none; min-height: 300px; }
.hv-row a {
  display: grid; grid-template-columns: 1fr auto; grid-template-areas: "tx tag" "from nonce"; gap: 3px 12px; min-height: 58px; padding: 10px 14px; align-content: center;
  text-decoration: none; color: var(--hm-ink-2); border-bottom: 1px solid var(--hm-line); transition: background 0.25s;
}
.hv-row:last-child a { border-bottom: 0; }
.hv-row a:hover { background: rgba(255, 246, 234, 0.03); }
.hv-tx { grid-area: tx; color: var(--hm-white); font-size: 12.5px; }
.hv-from { grid-area: from; font-size: 11.5px; color: var(--hm-ink-3); }
.hv-from::before { content: "signer "; color: var(--hm-ink-4); }
.hv-nonce { grid-area: nonce; justify-self: end; font-size: 11.5px; color: var(--hm-ink-3); }
.hv-nonce::before { content: "nonce "; color: var(--hm-ink-4); }
.hv-tag { grid-area: tag; justify-self: end; align-self: center; font-family: var(--mono); font-weight: 700; font-size: 9.5px; letter-spacing: 0.1em; padding: 3px 7px; border-radius: 5px; color: var(--hm-flame); border: 1px solid rgba(255, 154, 60, 0.45); background: rgba(255, 90, 31, 0.06); white-space: nowrap; }
.hv-tag.fresh { color: #1b0a03; background: var(--hm-ember); border-color: var(--hm-ember); box-shadow: 0 0 16px -2px rgba(255, 90, 31, 0.9); }
.hv-row.in a { animation: hmRow 1.4s var(--hm-ease) 1 both; }
@keyframes hmRow {
  0% { opacity: 0; transform: translateY(-10px); background: rgba(255, 246, 234, 0.16); }
  18% { opacity: 1; transform: none; background: rgba(255, 154, 60, 0.14); }
  100% { background: rgba(255, 246, 234, 0); }
}
.hv-row.skel { display: grid; grid-template-columns: 1fr auto; align-content: center; gap: 10px 12px; height: 58px; padding: 0 14px; border-bottom: 1px solid var(--hm-line); }
.hv-row.skel span { height: 9px; border-radius: 4px; background: linear-gradient(90deg, rgba(255, 246, 234, 0.05), rgba(255, 246, 234, 0.11), rgba(255, 246, 234, 0.05)) 0 0 / 200% 100%; animation: hmSkel 1.4s linear infinite; }
.hv-row.skel span:nth-child(1) { width: 62%; } .hv-row.skel span:nth-child(2) { width: 74px; } .hv-row.skel span:nth-child(3) { width: 44%; } .hv-row.skel span:nth-child(4) { width: 58px; }
@keyframes hmSkel { to { background-position: -200% 0; } }
.hv-foot { position: relative; margin: 0; padding: 12px 14px 14px; border-top: 1px solid var(--hm-line); font-size: 12.5px; line-height: 1.5; color: var(--hm-ink-3); }
.hv-foot.err::before { content: "Public RPCs not answering. Retrying. "; color: var(--hm-flame); }

/* why now */
.why { text-align: center; }
.why::after { content: ""; position: absolute; z-index: -1; left: 50%; top: 18%; width: min(900px, 120vw); height: 60%; transform: translateX(-50%); pointer-events: none; background: radial-gradient(closest-side, rgba(143, 179, 255, 0.07), rgba(143, 179, 255, 0)); }
.why-head .kicker { justify-content: center; }
.nk { margin: 30px auto 0; }
.nk blockquote { margin: 0; }
.nk p {
  max-width: 17ch; margin: 0 auto; font-stretch: 118%; font-weight: 800; font-size: clamp(27px, 7.6vw, 64px); line-height: 1.02; letter-spacing: -0.02em; color: var(--hm-white);
  text-shadow: 0 0 1px rgba(255, 255, 255, 0.7), 0 0 30px rgba(255, 90, 31, 0.18); text-wrap: balance;
}
.nk p::before { content: "\201C"; color: var(--hm-ember); margin-right: 0.04em; }
.nk p::after { content: "\201D"; color: var(--hm-ember); margin-left: 0.02em; }
.nk figcaption { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 6px 10px; margin-top: 16px; font-family: var(--mono); font-size: 11.5px; letter-spacing: 0.04em; color: var(--hm-ink-3); }
.nk-who { color: var(--hm-white); }
.nk figcaption a, .xcard-foot a { color: var(--hm-white); font-family: var(--sans); font-weight: 650; letter-spacing: 0; text-decoration: none; border-bottom: 1px solid rgba(255, 154, 60, 0.6); }
.why-mid { max-width: 36em; margin: 44px auto 0; font-size: 15.5px; line-height: 1.55; color: var(--hm-ink-2); text-wrap: balance; }
.tweet { position: relative; margin: 22px auto 0; max-width: 620px; text-align: left; isolation: isolate; }
.tweet::before { content: ""; position: absolute; z-index: -1; left: 6%; right: 6%; top: 10%; bottom: 14%; background: radial-gradient(closest-side, rgba(255, 90, 31, 0.24), rgba(143, 179, 255, 0.08), transparent); filter: blur(34px); }
.xcard {
  position: relative; overflow: hidden; padding: 18px 18px 13px; border-radius: 18px; border: 1px solid rgba(255, 255, 255, 0.14);
  background: radial-gradient(120% 70% at 100% 0%, rgba(255, 90, 31, 0.08), transparent 55%), linear-gradient(180deg, rgba(255, 255, 255, 0.05), rgba(255, 255, 255, 0.012)), #070606;
  box-shadow: 0 40px 90px -30px rgba(0, 0, 0, 0.85), inset 0 1px 0 rgba(255, 255, 255, 0.08);
}
.xcard::before { content: ""; position: absolute; inset: 0; pointer-events: none; background: var(--hm-noise); opacity: 0.7; border-radius: inherit; }
.xcard-head { position: relative; display: flex; align-items: center; gap: 11px; }
.xcard-av { width: 46px; height: 46px; flex: none; border-radius: 50%; object-fit: cover; background: #15181d; box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.14), 0 0 0 4px rgba(0, 0, 0, 0.6); }
.xcard-who { display: flex; flex-direction: column; gap: 3px; min-width: 0; }
.xcard-name { display: inline-flex; align-items: center; gap: 4px; min-width: 0; }
.xcard-name b { font: 700 15.5px/1.2 var(--sans); color: #fff; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.xcard-badge { width: 18px; height: 18px; flex: none; }
.xcard-handle { font: 400 13.5px/1.2 var(--sans); color: #8b9098; }
.xcard-x { margin-left: auto; align-self: flex-start; color: #fff; }
.xcard-x .x-logo { width: 22px; height: 22px; display: block; }
.xcard-q { position: relative; margin: 14px 0 0; font: 400 15.5px/1.52 var(--sans); color: #e9eaec; text-wrap: pretty; overflow-wrap: anywhere; }
.xcard-q p { margin: 0; }
.xcard-q p + p { margin-top: 0.85em; }
.xcard-q strong { font-weight: 700; color: #fff; }
.xcard-q a { color: #6cb6ff; text-decoration: none; }
.xcard[data-open="false"] .xcard-q { max-height: 320px; overflow: hidden; -webkit-mask-image: linear-gradient(#000 60%, transparent); mask-image: linear-gradient(#000 60%, transparent); }
.xcard-more { position: relative; margin: 8px 0 0; padding: 0; border: 0; background: none; color: #fff; font-weight: 650; font-size: 14px; border-bottom: 1px solid rgba(255, 154, 60, 0.6); }
.xcard-foot { position: relative; margin-top: 12px; padding-top: 11px; border-top: 1px solid rgba(255, 255, 255, 0.1); display: flex; align-items: center; justify-content: space-between; gap: 12px; font: 400 13px/1.4 var(--sans); color: #8b9098; }
.xcard-foot a { white-space: nowrap; }
.tweet-disc { margin: 12px auto 0; font-size: 12.5px; line-height: 1.5; color: var(--hm-ink-3); text-align: center; }
.why-answer { margin: 40px auto 0; max-width: 34em; font-size: 16px; color: var(--hm-ink-2); text-wrap: balance; }
.why-answer b { color: var(--hm-white); font-weight: 650; }

/* what Q-Day does: a bento */
.game-head { max-width: 880px; }
.bento { display: grid; grid-template-columns: 1fr; gap: 14px; margin-top: 28px; }
.bx {
  position: relative; display: flex; flex-direction: column; overflow: hidden; border-radius: 20px; text-decoration: none; color: inherit;
  border: 1px solid var(--hm-line-2); background: var(--hm-glass);
  box-shadow: inset 0 1px 0 rgba(255, 246, 234, 0.06), 0 30px 60px -40px rgba(0, 0, 0, 0.9);
  transition: border-color 0.4s var(--hm-ease), transform 0.5s var(--hm-ease), box-shadow 0.4s var(--hm-ease);
}
.bx::after { content: ""; position: absolute; inset: 0; pointer-events: none; background: var(--hm-noise); opacity: 0.55; }
a.bx:hover { border-color: rgba(255, 154, 60, 0.42); transform: translateY(-3px); box-shadow: inset 0 1px 0 rgba(255, 246, 234, 0.08), 0 40px 70px -40px rgba(0, 0, 0, 0.95), 0 0 50px -26px rgba(255, 90, 31, 0.6); }
.bx-viz { position: relative; height: 176px; margin: 8px 8px 0; border-radius: 14px; overflow: hidden; border: 1px solid var(--hm-line); background: radial-gradient(130% 120% at 50% 120%, rgba(255, 90, 31, 0.1), rgba(0, 0, 0, 0) 60%), #060403; }
.bx-viz canvas { position: absolute; inset: 0; width: 100%; height: 100%; display: block; }
.bx-cap { position: absolute; left: 12px; top: 10px; font-family: var(--mono); font-weight: 600; font-size: 9px; letter-spacing: 0.1em; color: var(--hm-ink-4); }
.bx-canary .bx-viz { background: radial-gradient(120% 120% at 100% 50%, rgba(143, 179, 255, 0.08), rgba(0, 0, 0, 0) 60%), #060403; }
.bx-viz-lab svg { position: absolute; inset: 14px 12px; width: calc(100% - 24px); height: calc(100% - 28px); }
.bx-body { position: relative; z-index: 1; display: flex; flex-direction: column; flex: 1; padding: 14px 16px 16px; }
.bx-label { display: flex; align-items: center; gap: 9px; margin: 0; font-family: var(--mono); font-weight: 600; font-size: 10px; letter-spacing: 0.1em; color: var(--hm-ink-3); }
.page-home .state { display: inline-flex; align-items: center; gap: 6px; padding: 3px 7px; border-radius: 5px; border: 1px dashed var(--hm-line-3); color: var(--hm-ink-2); letter-spacing: 0.1em; font-size: 9.5px; white-space: nowrap; }
.page-home .state.on { border-style: solid; border-color: rgba(255, 154, 60, 0.55); color: var(--hm-flame); }
.page-home .state.on::before { content: ""; width: 5px; height: 5px; border-radius: 50%; background: currentColor; box-shadow: 0 0 6px currentColor; }
.page-home .state.alarm { border-style: solid; border-color: var(--alarm); color: #fff; background: var(--alarm); }
.bx h3 { margin: 10px 0 0; font-stretch: 122%; font-weight: 840; font-size: 25px; line-height: 1; letter-spacing: -0.012em; text-transform: uppercase; color: var(--hm-white); text-shadow: 0 0 1px rgba(255, 255, 255, 0.6), 0 0 22px rgba(255, 90, 31, 0.18); }
.bx p { margin: 9px 0 0; font-size: 14.5px; line-height: 1.5; color: var(--hm-ink-2); }
.bx .bx-own { display: flex; align-items: flex-start; gap: 9px; padding: 10px 11px; border-radius: 11px; border: 1px solid rgba(255, 90, 31, 0.28); background: rgba(255, 90, 31, 0.05); font-size: 13px; color: var(--hm-ink-2); }
.bx .bx-own .ustat { flex: none; margin-top: 1px; }
.bx-meta { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-top: auto !important; padding-top: 14px; font-size: 12.5px !important; color: var(--hm-ink-3) !important; }
.bx-meta .ic { width: 15px; height: 15px; flex: none; color: var(--hm-white); transition: transform 0.4s var(--hm-ease); }
a.bx:hover .bx-meta .ic { transform: translateX(4px); }
/* the lots card's three facts (LotsGame constants) */
.bx-spec { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; margin-top: 14px; }
.bx-spec div { padding: 10px 11px 9px; border-radius: 11px; border: 1px solid var(--hm-line); background: rgba(255, 246, 234, 0.025); }
.bx-spec b { display: block; font-stretch: 125%; font-weight: 880; font-size: 22px; line-height: 1; color: var(--hm-white); text-shadow: 0 0 1px rgba(255, 255, 255, 0.6), 0 0 16px rgba(255, 90, 31, 0.3); }
.bx-spec span { display: block; margin-top: 5px; font-family: var(--mono); font-size: 9.5px; font-weight: 600; letter-spacing: 0.1em; color: var(--hm-ink-3); }
.bx-vault { border-style: dashed; border-color: var(--hm-line-3); background: repeating-linear-gradient(-45deg, rgba(255, 246, 234, 0.016) 0 10px, transparent 10px 20px), rgba(9, 7, 6, 0.6); }
.bx-vault h3 { color: var(--hm-ink-2); text-shadow: none; }

/* fee flow: a particle diagram */
.fees-head { max-width: 860px; }
.ff { position: relative; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 30px 10px; margin-top: 30px; padding: 6px 0 4px; }
.ff-cv { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; z-index: 0; }
.ff-node {
  position: relative; z-index: 1; grid-column: 1 / -1; display: flex; flex-direction: column; gap: 4px; padding: 12px 14px 13px;
  border-radius: 14px; border: 1px solid var(--hm-line-2); background: linear-gradient(180deg, rgba(255, 246, 234, 0.05), rgba(255, 246, 234, 0.01)), rgba(9, 7, 6, 0.52);
  -webkit-backdrop-filter: blur(7px) saturate(1.3); backdrop-filter: blur(7px) saturate(1.3); box-shadow: inset 0 1px 0 rgba(255, 246, 234, 0.07);
}
.ff-node .ff-i { font-family: var(--mono); font-size: 10px; font-weight: 600; letter-spacing: 0.1em; color: var(--hm-ember); }
.ff-node b { font-stretch: 112%; font-weight: 780; font-size: 16px; color: var(--hm-white); }
.ff-node > span:not(.ff-i) { font-size: 13px; line-height: 1.45; color: var(--hm-ink-2); }
.ff-node code { font-family: var(--mono); font-size: 0.86em; color: #ffd1a3; overflow-wrap: anywhere; }
.ff-node.trust { border: 1px dashed rgba(255, 154, 60, 0.6); }
.ff-node.trust em { font-style: normal; font-family: var(--mono); font-size: 10.5px; font-weight: 600; letter-spacing: 0.04em; color: var(--hm-flame); margin-top: 2px; }
.ff-d { grid-column: auto; align-items: center; justify-content: center; text-align: center; padding: 14px 6px; gap: 2px; transition: border-color 0.4s, box-shadow 0.4s; }
.ff-d b { font-stretch: 125%; font-weight: 900; font-size: 30px; line-height: 1; letter-spacing: -0.02em; }
.ff-d span { font-family: var(--mono); font-size: 10px !important; font-weight: 600; letter-spacing: 0.14em; color: var(--hm-ink-3) !important; }
.ff-d.lots { border-color: rgba(255, 154, 60, 0.5); }
.ff-d.lots b { color: var(--hm-flame); text-shadow: 0 0 1px #ffd1a3, 0 0 20px rgba(255, 90, 31, 0.55); }
.ff-d.canary { border-color: rgba(143, 179, 255, 0.45); }
.ff-d.canary b { color: var(--hm-steel); text-shadow: 0 0 1px #dfe8ff, 0 0 18px rgba(143, 179, 255, 0.5); font-size: 25px; }
.ff-d.team b { color: var(--hm-ink-2); font-size: 22px; }
.ff-d.hit { box-shadow: 0 0 30px -8px rgba(255, 154, 60, 0.7); }
.ff-d.canary.hit { box-shadow: 0 0 30px -8px rgba(143, 179, 255, 0.7); }
.split-legend { display: grid; gap: 12px; margin-top: 22px; }
.split-legend b { font-stretch: 112%; font-weight: 740; font-size: 13.5px; color: var(--hm-white); }
.split-legend p { margin: 4px 0 0; font-size: 13.5px; color: var(--hm-ink-2); line-height: 1.5; }
.split-legend > div { padding-left: 12px; border-left: 2px solid var(--hm-line-3); }
.split-legend > div:nth-child(1) { border-color: var(--hm-flame); }
.split-legend > div:nth-child(2) { border-color: var(--hm-steel); }
.fee-live { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; margin-top: 20px; padding: 12px 14px; border-radius: 14px; border: 1px solid var(--hm-line); background: rgba(9, 7, 6, 0.6); }
.fee-live > p { margin: 0; flex: 1; min-width: 220px; font-size: 13.5px; color: var(--hm-ink-3); }
.fl-cells { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; width: 100%; }
.fl-cells > div > span { display: block; font-family: var(--mono); font-size: 10px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--hm-ink-3); }
.fl-cells > div > b { display: block; margin-top: 4px; font-stretch: 112%; font-size: 24px; font-weight: 780; line-height: 1.1; color: var(--hm-white); font-variant-numeric: tabular-nums; }

/* the token */
.tk-band {
  position: relative; overflow: hidden; padding: 22px 18px 20px; border-radius: 22px; border: 1px solid var(--hm-line-2);
  background: radial-gradient(90% 120% at 100% 0%, rgba(255, 90, 31, 0.12), transparent 55%), radial-gradient(80% 120% at 0% 100%, rgba(143, 179, 255, 0.06), transparent 60%), rgba(9, 7, 6, 0.8);
  box-shadow: inset 0 1px 0 rgba(255, 246, 234, 0.07), 0 50px 100px -60px rgba(0, 0, 0, 1);
}
.tk-band::before { content: ""; position: absolute; inset: 0; pointer-events: none; background: var(--hm-noise); opacity: 0.6; border-radius: inherit; }
.tk-top { position: relative; display: flex; flex-direction: column; align-items: flex-start; gap: 4px; }
.tk-h { font-size: clamp(46px, 14vw, 120px); }
.page-home .ca { position: relative; z-index: 1; display: grid; grid-template-columns: 1fr; gap: 10px; margin-top: 18px; padding: 14px; border-radius: 15px; border: 1px solid var(--hm-line-2); background: rgba(5, 4, 3, 0.75); }
.page-home .ca-l { font-family: var(--mono); font-weight: 600; font-size: 10px; letter-spacing: 0.14em; color: var(--hm-ink-3); }
.page-home .ca-v { font-family: var(--mono); font-size: clamp(15px, 4.1vw, 30px); font-weight: 600; line-height: 1.25; letter-spacing: -0.01em; color: var(--hm-white); word-break: break-all; text-shadow: 0 0 18px rgba(255, 90, 31, 0.3); }
.page-home .ca-v.pending { font-family: var(--sans); font-stretch: 122%; font-weight: 850; font-size: clamp(22px, 6vw, 44px); line-height: 1; text-transform: uppercase; word-break: normal;
  background: linear-gradient(100deg, rgba(255, 246, 234, 0.55) 0%, #fff 20%, rgba(255, 246, 234, 0.55) 40%) 0 0 / 250% 100%; -webkit-background-clip: text; background-clip: text; color: transparent; -webkit-text-fill-color: transparent; text-shadow: none;
  animation: hmShine 4.5s linear infinite; }
@keyframes hmShine { from { background-position: 150% 0; } to { background-position: -100% 0; } }
.ca-copy { justify-self: start; min-height: 42px !important; padding: 0 18px !important; }
.tk-facts { position: relative; z-index: 1; list-style: none; margin: 16px 0 0; padding: 0; display: grid; gap: 0; }
.tk-facts li { display: grid; grid-template-columns: 76px 1fr; gap: 10px; padding: 10px 0; border-top: 1px solid var(--hm-line); font-size: 13.5px; }
.tk-facts b { font-family: var(--mono); font-size: 10.5px; font-weight: 600; letter-spacing: 0.1em; text-transform: uppercase; color: var(--hm-ink-3); padding-top: 2px; }
.tk-facts span { color: var(--hm-ink-2); }
.tok-links { position: relative; z-index: 1; display: flex; flex-wrap: wrap; gap: 8px; margin-top: 14px; }
.tok-links .btn { min-height: 38px; font-size: 13px; }
.tok-links .fine { width: 100%; margin: 4px 0 0; }

/* trust: who can move this money */
.page-home .movers { display: grid; gap: 12px; margin-top: 24px; }
.page-home .mv {
  position: relative; display: flex; flex-direction: column; align-items: stretch; justify-content: flex-start; gap: 8px; padding: 15px 16px; border-radius: 16px;
  border: 1px solid var(--hm-line-2); background: var(--hm-glass); box-shadow: inset 0 1px 0 rgba(255, 246, 234, 0.05);
}
.mv-top { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.mv-top b { font-stretch: 112%; font-size: 16px; font-weight: 760; color: var(--hm-white); }
.page-home .mv p { margin: 0; font-size: 13.5px; color: var(--hm-ink-2); line-height: 1.5; }
.page-home .mv-a { font-size: 11.5px; color: var(--hm-ink-3); text-decoration: none; width: fit-content; border-bottom: 1px solid var(--hm-line-3); }
.page-home .mv .hot { color: var(--hot); -webkit-text-fill-color: currentColor; background: none; filter: none; }
.page-home .mv.owner { border-color: rgba(255, 90, 31, 0.3); }
.page-home .ustat[data-u="trust"] { color: var(--hm-flame); border-color: rgba(255, 154, 60, 0.5); border-style: dashed; }
.tr-foot { display: grid; gap: 14px; margin-top: 16px; }
.page-home .trust-facts { margin: 0; padding-left: 18px; font-size: 13.5px; color: var(--hm-ink-3); line-height: 1.55; }
.page-home .trust-facts li { margin: 5px 0; }
.tr-foot .btn { justify-self: start; }
.tr-foot .btn .ic { width: 14px; height: 14px; }

/* ================================================================ wider phones and tablets */
@media (min-width: 560px) {
  .slot { width: min(760px, 110vw); height: 420px; top: 18px; }
  .hero-in { padding-top: 330px; }
  .h1-a, .h1-b { display: inline; }
  .cmd-word { display: inline; }
  .cmd-go kbd { display: inline-block; }
  .cs-note { flex-basis: auto; order: 0; color: inherit; }
  .hv-head { grid-template-columns: 1fr minmax(0, 380px); }
  .hv-cols { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr) 90px 150px; gap: 12px; padding: 9px 16px; border-bottom: 1px solid var(--hm-line); font-family: var(--mono); font-size: 9.5px; letter-spacing: 0.12em; color: var(--hm-ink-4); }
  .hv-cols span:nth-child(3), .hv-cols span:nth-child(4) { text-align: right; }
  .hv-row a { grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr) 90px 150px; grid-template-areas: "tx from nonce tag"; align-items: center; min-height: 46px; padding: 9px 16px; }
  .hv-from::before, .hv-nonce::before { content: none; }
  .hv-rows { min-height: 0; }
  .hv-row.skel { grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr) 90px 150px; align-items: center; height: 46px; padding: 0 16px; }
  .bento { grid-template-columns: 1fr 1fr; }
  .split-legend { grid-template-columns: repeat(3, 1fr); }
  .fl-cells { grid-template-columns: repeat(4, 1fr); }
  .page-home .movers { grid-template-columns: 1fr 1fr; }
  .tk-band { padding: 28px 28px 26px; }
  .page-home .ca { grid-template-columns: 1fr auto; align-items: center; }
  .page-home .ca-l { grid-column: 1 / -1; }
  .ca-copy { justify-self: end; }
}

/* ================================================================ desktop */
@media (min-width: 1024px) {
  .hero { min-height: max(700px, calc(100svh - var(--bar-h))); padding-bottom: 34px; }
  .slot { top: calc(29svh - 360px); width: min(1240px, 74vw); height: 720px; }
  .hero-scrim { background: radial-gradient(56% 46% at 50% 79%, rgba(5, 4, 3, 0.82), rgba(5, 4, 3, 0.5) 50%, rgba(5, 4, 3, 0) 78%), linear-gradient(rgba(5, 4, 3, 0) 78%, var(--hm-base)); }
  .tag-follow { display: flex; }
  .stamp { top: calc(29svh - 230px); }
  .stamp b { font-size: 34px; }
  .stamp span { font-size: 11px; }
  .hero-in { padding-top: calc(29svh + 108px); }
  .hw { font-size: clamp(110px, 11vw, 168px); }
  .h1-l { font-size: clamp(30px, 2.6vw, 42px); margin-top: 0.36em; }
  .hero .sub { font-size: 16.5px; max-width: 38em; margin-top: 14px; }
  .cmd { height: 60px; margin-top: 22px; padding-left: 18px; }
  .cmd-ps { font-size: 13.5px; }
  .cmd input { font-size: 15px; }
  .cmd-go { padding: 0 16px 0 22px; font-size: 14px; }
  .shor { margin-top: 20px; }
  .hero-cap { display: none; }
  .v-see { display: none; }

  .page-home .sec { padding: 120px 0 10px; }
  .page-home .lead { font-size: 17px; }
  .hv-head { grid-template-columns: 1fr 420px; gap: 40px; }
  .hv-count { padding: 18px 20px; }
  .hv-term { margin-top: 34px; }
  .hv-row a, .hv-cols, .hv-row.skel { grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr) 110px 170px; padding-left: 22px; padding-right: 22px; }
  .hv-tx { font-size: 13.5px; }
  .hv-bar { padding: 14px 22px; }
  .hv-foot { padding: 14px 22px 16px; }

  .nk { margin-top: 40px; }
  .xcard { padding: 22px 24px 15px; }
  .why-mid { margin-top: 56px; }

  .bento { grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 16px; margin-top: 40px; }
  .bx-lots { grid-column: span 7; }
  .bx-canary { grid-column: span 5; }
  .bx-lab { grid-column: span 7; flex-direction: row; }
  .bx-vault { grid-column: span 5; }
  .bx-viz { height: 220px; margin: 10px 10px 0; }
  .bx-lab .bx-viz { width: 46%; height: auto; min-height: 180px; margin: 10px 0 10px 10px; flex: none; }
  .bx-body { padding: 18px 22px 20px; }
  .bx h3 { font-size: 30px; }

  .ff { grid-template-columns: repeat(4, minmax(0, 1fr)) minmax(0, 0.8fr); grid-template-rows: repeat(3, auto); gap: 14px 52px; align-items: center; margin-top: 46px; }
  .ff-node { grid-column: auto; grid-row: 1 / 4; padding: 16px 16px 17px; }
  .ff-d { grid-column: 5; grid-row: auto; flex-direction: row; justify-content: flex-start; gap: 12px; padding: 12px 16px; }
  .ff-d.lots { padding: 22px 16px; }
  .ff-d b { font-size: 36px; }
  .ff-d.canary b { font-size: 28px; }
  .ff-d.team b { font-size: 22px; }
  .split-legend { margin-top: 30px; gap: 24px; }

  .tk-band { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); grid-template-areas: "top facts" "ca ca" "links links"; gap: 0 48px; padding: 36px 40px 34px; }
  .tk-top { grid-area: top; flex-direction: column; align-items: flex-start; }
  .page-home .ca { grid-area: ca; margin-top: 26px; padding: 18px 20px; }
  .tk-facts { grid-area: facts; margin: 0; align-self: center; }
  .tok-links { grid-area: links; margin-top: 18px; }
  .page-home .movers { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; margin-top: 34px; }
  .tr-foot { grid-template-columns: 1fr auto; align-items: end; gap: 30px; margin-top: 22px; }
}
@media (min-width: 1024px) and (max-height: 820px) {
  .hw { font-size: clamp(100px, 9.6vw, 148px); }
  .hero-in { padding-top: calc(29svh + 92px); }
  .hero .sub { margin-top: 10px; }
  .cmd { margin-top: 18px; }
}
@media (min-width: 1024px) and (max-height: 740px) {
  .slot { top: calc(26svh - 360px); }
  .stamp { top: calc(26svh - 220px); }
  .hw { font-size: clamp(92px, 8.4vw, 124px); }
  .hero-in { padding-top: calc(26svh + 78px); }
  .h1-l { font-size: 30px; }
  .hero .sub { font-size: 15.5px; }
  .cmd { height: 54px; margin-top: 14px; }
  .shor { margin-top: 12px; }
}
/* tablets: a bigger stage, the copy lower */
@media (min-width: 700px) and (max-width: 1023px) {
  .slot { top: 0; width: min(940px, 108vw); height: 600px; }
  .stamp { top: 40px; }
  .hero-in { padding-top: 440px; }
  .hw { font-size: clamp(110px, 16vw, 150px); }
  .h1-l { font-size: 34px; }
  .hero .sub { font-size: 16.5px; }
}

/* ================================================================ reduced motion */
.reduced .hero.intro .hw, .reduced .hero.intro .h1-l, .reduced .hero.intro .sub, .reduced .hero.intro .cmd, .reduced .hero.intro .cmd-status, .reduced .hero.intro .shor { opacity: 1; }
.reduced .h1-l em { animation: none; }
@media (prefers-reduced-motion: reduce) {
  .mq-track { animation: none; }
  .hero.intro .hw, .hero.intro .h1-l, .hero.intro .sub, .hero.intro .cmd, .hero.intro .cmd-status, .hero.intro .shor, .hero.intro .hero-cap { opacity: 1; }
}

/* ================================================================ shared with #/scan: the scanner form and its notes */
.scan { position: relative; display: flex; gap: 6px; margin-top: 16px; padding: 5px; border-radius: 14px; border: 1px solid var(--hair-2); background: rgba(13, 10, 9, 0.88); box-shadow: inset 0 1px 0 rgba(255, 231, 208, 0.05), 0 18px 40px -26px rgba(0, 0, 0, 0.9); transition: border-color 0.2s, box-shadow 0.2s; }
.scan:focus-within { border-color: rgba(255, 231, 208, 0.45); box-shadow: 0 0 0 4px rgba(255, 214, 170, 0.07), 0 0 34px -10px rgba(255, 214, 170, 0.45); }
.scan input { flex: 1; min-width: 0; height: 44px; padding: 0 10px; border: 0; outline: none; background: transparent; font-family: var(--mono); font-size: 14px; color: var(--ink); }
.scan input::placeholder { font-family: var(--sans); color: var(--ink-3); font-size: 15px; }
.scan button {
  flex: none; height: 44px; padding: 0 20px; border: 0; border-radius: 10px;
  background: linear-gradient(180deg, #fff, #ffeedd); color: #160d08;
  font-stretch: 110%; font-weight: 780; font-size: 14px; letter-spacing: 0.06em;
  box-shadow: 0 0 22px -4px rgba(255, 231, 208, 0.65), 0 0 50px -14px rgba(255, 135, 0, 0.55); transition: box-shadow 0.2s, transform 0.12s;
}
.scan button:hover { box-shadow: 0 0 28px -2px rgba(255, 231, 208, 0.85), 0 0 60px -12px rgba(255, 135, 0, 0.7); }
.scan button:active { transform: translateY(1px); }
.scan button[disabled] { opacity: 0.6; cursor: progress; }
.hint { min-height: 0; margin: 6px 2px 0; color: var(--k2500); font-size: 13.5px; }
.hint:empty { display: none; }
.privacy { font-size: 12.5px; color: var(--ink-3); }
.h-sec.sm { font-size: clamp(38px, 8vw, 54px); }
@media (min-width: 1024px) {
  .scan { padding: 6px; }
  .scan input { height: 50px; font-size: 15px; padding: 0 14px; }
  .scan input::placeholder { font-size: 16px; }
  .scan button { height: 50px; padding: 0 28px; font-size: 15px; }
}
