/* ---------- Splash ---------- */
.splash {
  position: fixed;
  inset: 0;
  z-index: 200;
  background: radial-gradient(ellipse at top, #14141c, #08080d 70%);
  color: var(--fg-primary);
  display: flex;
  align-items: flex-start;
  justify-content: center;
  padding: 56px 32px 48px;
  overflow-x: hidden;
  overflow-y: auto;
  animation: splashFadeIn 600ms ease-out;
}
@keyframes splashFadeIn { from { opacity: 0; } to { opacity: 1; } }
.splash-leaving {
  animation: splashLeave 520ms cubic-bezier(0.6, 0, 0.4, 1) forwards;
}
@keyframes splashLeave {
  0% { opacity: 1; transform: translateY(0) scale(1); }
  100% { opacity: 0; transform: translateY(-30px) scale(1.02); }
}
.splash-grid-bg {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(to right, rgba(255,255,255,0.025) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(255,255,255,0.025) 1px, transparent 1px);
  background-size: 56px 56px;
  mask-image: radial-gradient(ellipse at 50% 40%, #000 0%, transparent 75%);
  pointer-events: none;
}
.splash-glow {
  position: absolute;
  inset: -20%;
  filter: blur(60px);
  pointer-events: none;
}

.splash-skip {
  position: absolute;
  top: 28px;
  right: 32px;
  background: transparent;
  border: 1px solid rgba(255,255,255,0.12);
  color: var(--fg-muted);
  font-family: 'JetBrains Mono', monospace;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 8px 14px;
  border-radius: 6px;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: all 160ms;
}
.splash-skip:hover { color: var(--fg-primary); border-color: rgba(255,255,255,0.24); }
.splash-skip-arrow { transition: transform 160ms; }
.splash-skip:hover .splash-skip-arrow { transform: translateX(3px); }

.splash-stage {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: 920px;
  display: flex;
  flex-direction: column;
  gap: 32px;
}

.splash-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: 'JetBrains Mono', monospace;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--fg-muted);
  align-self: flex-start;
}
.splash-eyebrow-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  animation: splashBlink 1.6s ease-in-out infinite;
  box-shadow: 0 0 10px currentColor;
}
@keyframes splashBlink { 0%, 100% { opacity: 1; } 50% { opacity: 0.35; } }

.splash-headline {
  font-family: 'Merriweather', Georgia, serif;
  font-size: clamp(28px, 4vw, 48px);
  font-weight: 300;
  line-height: 1.12;
  letter-spacing: -0.02em;
  margin: 0;
  color: var(--fg-primary);
  max-width: 22ch;
}
.splash-headline-em {
  font-style: italic;
}
.splash-subhead {
  font-family: 'Inter', sans-serif;
  font-size: 14px;
  font-weight: 500;
  letter-spacing: 0.02em;
  color: var(--fg-muted);
  margin: 18px 0 -4px 0;
  text-transform: uppercase;
}

.splash-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
}
.splash-row {
  position: relative;
  display: grid;
  grid-template-columns: 32px 1fr auto;
  gap: 18px;
  align-items: flex-start;
  padding: 18px 0 18px 4px;
  border-top: 1px solid rgba(255,255,255,0.06);
  opacity: 0;
  transform: translateY(8px);
  animation: splashRowIn 500ms cubic-bezier(0.25, 0.4, 0.25, 1) var(--row-delay, 0ms) forwards;
}
.splash-row:last-child { border-bottom: 1px solid rgba(255,255,255,0.06); }
@keyframes splashRowIn {
  to { opacity: 1; transform: translateY(0); }
}

.splash-check {
  color: rgba(255,255,255,0.18);
  display: inline-flex;
  align-self: flex-start;
  position: relative;
  top: 4px;
}
.splash-check-tick {
  stroke-dasharray: 24;
  stroke-dashoffset: 24;
  transition: stroke-dashoffset 380ms cubic-bezier(0.25, 0.4, 0.25, 1);
}
.splash-check-box {
  transition: stroke 200ms;
}
.splash-row-checked .splash-check-tick {
  stroke-dashoffset: 0;
}
.splash-row-checked .splash-check-box {
  stroke: var(--splash-accent, #FF8A3D);
  opacity: 0.55;
}
.splash-row-checked .splash-check {
  animation: checkPop 380ms cubic-bezier(0.25, 0.4, 0.25, 1);
}
@keyframes checkPop {
  0% { transform: scale(1); }
  40% { transform: scale(1.18); }
  100% { transform: scale(1); }
}

.splash-row-text {
  display: flex;
  flex-direction: column;
  gap: 4px;
  min-width: 0;
}
.splash-row-main {
  font-size: clamp(17px, 1.7vw, 21px);
  font-weight: 500;
  line-height: 1.4;
  color: var(--fg-primary);
  letter-spacing: -0.005em;
  transition: opacity 200ms;
}
.splash-row:not(.splash-row-checked) .splash-row-main {
  opacity: 0.5;
}
.splash-row-evidence {
  font-family: 'JetBrains Mono', monospace;
  font-size: 13.5px;
  font-weight: 600;
  letter-spacing: 0.04em;
  opacity: 0;
  max-height: 0;
  overflow: hidden;
  transition: opacity 300ms 200ms, max-height 300ms 200ms;
}
.splash-row-checked .splash-row-evidence {
  opacity: 1;
  max-height: 40px;
}
.splash-row-jd {
  font-size: 11.5px;
  line-height: 1.45;
  color: var(--fg-muted);
  font-style: italic;
  margin-top: 6px;
  padding: 6px 10px;
  background: rgba(255,255,255,0.025);
  border-left: 2px solid rgba(255,255,255,0.1);
  border-radius: 0 4px 4px 0;
  animation: splashJdIn 200ms ease-out;
}
@keyframes splashJdIn { from { opacity: 0; transform: translateY(-4px); } to { opacity: 1; transform: translateY(0); } }

.splash-row-num {
  font-family: 'JetBrains Mono', monospace;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.1em;
  color: var(--fg-muted);
  opacity: 0.5;
  margin-top: 4px;
}

.splash-foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  margin-top: 8px;
  flex-wrap: wrap;
}

.splash-tally {
  display: inline-flex;
  align-items: baseline;
  gap: 6px;
  font-family: 'JetBrains Mono', monospace;
}
.splash-tally-count {
  font-size: 38px;
  font-weight: 700;
  letter-spacing: -0.02em;
  transition: color 200ms;
}
.splash-tally-sep {
  font-size: 28px;
  color: var(--fg-muted);
  opacity: 0.5;
}
.splash-tally-total {
  font-size: 28px;
  color: var(--fg-secondary);
}
.splash-tally-label {
  margin-left: 10px;
  font-family: 'Merriweather', Georgia, serif;
  font-style: normal;
  font-size: 17px;
  font-weight: 500;
  color: var(--fg-secondary);
  letter-spacing: -0.01em;
}
.splash-foot-ready .splash-tally-label { color: var(--fg-primary); }

.splash-cta {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 16px 28px;
  border-radius: 10px;
  border: none;
  background: rgba(255,255,255,0.06);
  color: #0A0A0F;
  font-family: 'Merriweather', Georgia, serif;
  font-size: 17px;
  font-weight: 700;
  letter-spacing: -0.01em;
  cursor: pointer;
  transition: all 240ms cubic-bezier(0.25, 0.4, 0.25, 1);
  opacity: 0.4;
  pointer-events: none;
}
.splash-foot-ready .splash-cta {
  opacity: 1;
  pointer-events: auto;
  animation: ctaReady 600ms cubic-bezier(0.25, 0.4, 0.25, 1) backwards;
}
@keyframes ctaReady {
  0% { transform: translateY(6px) scale(0.96); opacity: 0; }
  100% { transform: translateY(0) scale(1); opacity: 1; }
}
.splash-cta:not(:disabled):hover {
  transform: translateY(-2px);
}
.splash-cta-arrow {
  transition: transform 200ms;
  font-weight: 700;
}
.splash-cta:not(:disabled):hover .splash-cta-arrow {
  transform: translateX(4px);
}

.splash-foot-meta {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: 16px;
  font-size: 12px;
  color: var(--fg-muted);
  letter-spacing: 0.01em;
  flex-wrap: wrap;
}
.splash-foot-dot { opacity: 0.5; }

@media (max-width: 700px) {
  .splash { padding: 36px 22px; }
  .splash-skip { top: 14px; right: 16px; padding: 6px 10px; font-size: 10px; }
  .splash-stage { padding-top: 36px; }
  .splash-row { grid-template-columns: 24px 1fr; }
  .splash-row-num { display: none; }
  .splash-foot { flex-direction: column; align-items: stretch; }
  .splash-cta { justify-content: center; }
}
