/* splash.css — splash-only layout + CTA preview finishes.
 * Loaded ONLY on / (splash page). Reuses brand.css wordmark + base.css h1
 * + components.css .c-btn base. Adds neutral hybrid surface + per-CTA finish.
 * Spec: docs/superpowers/specs/2026-05-24-persona-splash-route-restructure-design.md §5
 */

body[data-route="splash"] {
  background: linear-gradient(180deg, #f5f2ec 0%, #ebe6dc 100%);
  color: #231515;
  min-height: 100vh;
  font-family: var(--font-body, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif);
}

.splash {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: var(--space-8) var(--space-6);
  box-sizing: border-box;
}

.splash__inner {
  max-width: 480px;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--space-5);
}

/* Wordmark — reuses brand.css .wordmark, just sets size + color override */
.splash .wordmark {
  font-size: 1.05rem;
  opacity: 0.8;
  text-decoration: none;
  color: inherit;
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
}
.splash .wordmark__icon {
  width: 20px;
  height: 20px;
  color: var(--color-brand, #7bb3ff);
}

.splash__greeting {
  margin: 0;
  /* base.css h1 already applies Instrument Serif Italic */
  font-size: clamp(1.75rem, 1.2rem + 2vw, 2.5rem);
}

.splash__tagline {
  margin: 0;
  font-family: var(--font-display, Georgia, serif);
  font-style: italic;
  font-size: var(--text-base);
  opacity: 0.7;
}

.splash__question {
  margin: var(--space-4) 0 0;
  font-size: var(--text-base);
  font-weight: 500;
}

.splash__ctas {
  display: flex;
  flex-direction: column;   /* stacked on mobile */
  gap: var(--space-3);
  width: 100%;
  max-width: 360px;
}

@media (min-width: 480px) {
  .splash__ctas {
    flex-direction: row;     /* side-by-side at >=480px */
    justify-content: center;
    max-width: none;
  }
}

/* CTA preview finishes — borrows from Style A neuro + Style B glow.
 * .c-btn base (radius, padding, letter-spacing, weight, uppercase) inherited
 * from components.css.
 */
.c-btn--splash-parent {
  background: #9fb9bf;
  color: #231515;
  box-shadow: -3px -3px 8px #fff, 3px 3px 8px rgba(35, 21, 21, 0.18);
}
.c-btn--splash-parent:hover,
.c-btn--splash-parent:focus-visible {
  box-shadow: -4px -4px 10px #fff, 4px 4px 10px rgba(35, 21, 21, 0.22);
}
.c-btn--splash-parent:active {
  box-shadow: inset -2px -2px 5px #fff, inset 2px 2px 5px rgba(35, 21, 21, 0.2);
}

.c-btn--splash-student {
  background: #e86af0;
  color: #0c0c18;
  box-shadow: 0 0 18px rgba(232, 106, 240, 0.45), 0 2px 8px rgba(232, 106, 240, 0.3);
}
.c-btn--splash-student:hover,
.c-btn--splash-student:focus-visible {
  box-shadow: 0 0 22px rgba(232, 106, 240, 0.55), 0 2px 10px rgba(232, 106, 240, 0.4);
  transform: translateY(-1px);
}

@media (prefers-reduced-motion: reduce) {
  .c-btn--splash-student:hover,
  .c-btn--splash-student:focus-visible { transform: none; }
}

@media (forced-colors: active) {
  .c-btn--splash-parent,
  .c-btn--splash-student {
    border: 2px solid CanvasText;
    box-shadow: none;
  }
}

/* Operator login — discreet hotlink under the persona CTAs. Bounces to the
   Cloudflare-Access-gated /admin/ dashboard. Low-emphasis by design: muted on
   the dark splash, never competes with the parent/student CTAs. */
.splash__operator {
  margin-top: 1.75rem;
  text-align: center;
}
.splash__operator-link {
  display: inline-block;
  font-size: 0.8125rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.55);
  text-decoration: none;
  padding: 0.25rem 0.5rem;
  border-radius: 6px;
  transition: color 0.15s ease, background 0.15s ease;
}
.splash__operator-link:hover,
.splash__operator-link:focus-visible {
  color: rgba(255, 255, 255, 0.9);
  background: rgba(255, 255, 255, 0.06);
}
@media (forced-colors: active) {
  .splash__operator-link { color: LinkText; }
}
