/* Presentation only. Loaded after feature styles on the welcome and spectator pages. */
:root {
  --launch-radius: 12px;
  --launch-copy: #c8cede;
}
a { text-underline-offset: .2em; }
:where(a, summary, button, input, select, textarea):focus-visible {
  outline: 3px solid var(--cyan);
  outline-offset: 4px;
}
.primary-btn, .secondary-btn {
  border-radius: 8px;
  line-height: 1.4;
}
.primary-btn {
  background: linear-gradient(135deg, #7730c9, var(--purple-2));
  box-shadow: 0 4px 16px rgba(108,43,217,.22);
}
.primary-btn.is-ready:not(:disabled) { animation: none; }
.secondary-btn { min-height: 44px; }
.primary-btn:disabled, .secondary-btn:disabled { opacity: .65; }
:where(.workspace, .spectator-shell) .panel,
.growth-quickstart { border-radius: var(--launch-radius); }
.modal-card { border-radius: 16px; }
.nav-item { border-radius: 8px; }
.sidebar { background: rgba(10,12,20,.97); }
.topbar { border-bottom-color: rgba(255,255,255,.1); }
.workspace footer {
  margin-top: 24px;
  border-top: 1px solid var(--line);
  color: var(--muted);
}
.workspace footer .legal-short { color: #aeb6c8; font-size: .72rem; }
.auth-gate {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 28px;
  padding: 24px clamp(16px,4vw,56px) 28px;
  background: radial-gradient(ellipse at 5% 10%,rgba(155,77,255,.12),transparent 45%);
}
.auth-gate > :where(.launch-header, .auth-card, .launch-how, .launch-footer) {
  width: min(1180px,100%);
}
.launch-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}
.launch-brand {
  display: flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
  color: var(--text);
  text-decoration: none;
}
.launch-brand img { flex: 0 0 44px; object-fit: contain; }
.launch-brand strong, .launch-brand small { display: block; }
.launch-brand strong {
  font-family: var(--heading);
  font-size: 1.35rem;
  letter-spacing: .035em;
  text-transform: uppercase;
}
.launch-brand small { margin-top: 3px; font-size: .7rem; line-height: 1.5; }
.launch-header nav { display: flex; flex-wrap: wrap; gap: 8px 24px; }
.launch-header nav a {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  min-height: 44px;
  color: var(--launch-copy);
  font-size: .8rem;
  font-weight: 700;
  text-decoration: none;
}
.launch-header nav a:hover { color: var(--cyan); }
.auth-card {
  grid-template-columns: minmax(0,.9fr) minmax(0,1.1fr);
  min-height: 0;
  border: 1px solid var(--line-strong);
  border-radius: 20px;
  background: #0d0f18;
  box-shadow: 0 24px 64px rgba(0,0,0,.28);
}
.auth-art {
  min-height: 100%;
  background:
    linear-gradient(90deg,transparent 70%,#0d0f18),
    linear-gradient(0deg,rgba(7,8,13,.38),transparent 55%),
    url("assets/knight-miner-hero.png") center 28% / cover no-repeat;
}
.auth-copy {
  max-width: none;
  min-width: 0;
  padding: clamp(24px,3vw,44px);
}
.auth-copy .beta-badge {
  border-radius: 999px;
  padding: 6px 12px;
  font-size: .64rem;
  letter-spacing: .04em;
}
.auth-copy > .eyebrow { margin-top: 24px; font-size: .72rem; line-height: 1.5; }
.auth-copy h1 {
  margin: 10px 0 18px;
  font-size: clamp(2.25rem,3.7vw,3.5rem);
  line-height: 1.08;
  letter-spacing: .005em;
  text-transform: none;
  text-wrap: balance;
}
.auth-copy h1 span { color: var(--cyan); }
.auth-copy > .launch-lede { font-size: .94rem; line-height: 1.75; color: var(--launch-copy); }
.auth-copy > .launch-entry-note {
  margin: 20px 0;
  font-size: .8rem;
  line-height: 1.65;
  color: var(--launch-copy);
}
.launch-entry-note strong, .launch-entry-note span { display: block; }
.launch-entry-note strong { color: var(--text); }
.auth-form { margin-top: 24px; }
.auth-form label, .otp-panel > label {
  display: block;
  margin: 0 0 8px;
  font-size: .8rem;
  font-weight: 700;
  line-height: 1.5;
  text-transform: none;
}
.auth-copy .input-action { grid-template-columns: 1fr; gap: 10px; }
.auth-copy :where(input, .primary-btn, .secondary-btn) {
  min-width: 0;
  width: 100%;
  min-height: 48px;
}
.auth-copy input {
  border-radius: 8px;
  font-size: 16px;
  background: #080b13;
}
.auth-copy input::placeholder { color: #969fb4; opacity: 1; }
.launch-form-help { margin: 10px 0 0; color: var(--muted); font-size: .73rem; line-height: 1.6; }
.auth-copy > .microcopy { font-size: .74rem; line-height: 1.65; }
.otp-panel {
  margin-top: 20px;
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: var(--launch-radius);
  background: rgba(255,255,255,.025);
}
.auth-copy .otp-panel .input-action { grid-template-columns: minmax(0,1fr) auto; }
.auth-copy .otp-panel .secondary-btn { width: auto; }
.otp-panel > p { margin: 10px 0 0; color: var(--muted); font-size: .72rem; line-height: 1.6; }
.auth-copy .form-status { font-size: .76rem; line-height: 1.6; overflow-wrap: anywhere; }
.auth-copy > .auth-spectator { margin-top: 20px; font-size: .8rem; line-height: 1.6; }
.auth-spectator a { display: inline-flex; align-items: center; gap: 10px; min-height: 44px; }
.auth-copy > .legal-short { color: #aeb6c8; font-size: .7rem; line-height: 1.65; }
.launch-currency-note { margin-top: 14px; border-top: 1px solid var(--line); }
.launch-currency-note summary {
  padding: 14px 0 6px;
  min-height: 44px;
  color: var(--launch-copy);
  font-size: .73rem;
  font-weight: 600;
  line-height: 1.65;
  cursor: pointer;
}
.launch-currency-note p { color: var(--launch-copy); font-size: .75rem; line-height: 1.7; }
.launch-currency-note a, .launch-footer a { color: var(--cyan); }
.launch-how { padding: 12px 0 8px; scroll-margin-top: 24px; }
.launch-section-heading { margin-bottom: 24px; }
.launch-section-heading h2 { margin: 8px 0 12px; font-size: clamp(1.8rem,3vw,2.5rem); line-height: 1.15; text-transform: none; }
.launch-section-heading > p:last-child { color: var(--muted); font-size: .85rem; line-height: 1.6; }
.launch-steps {
  display: grid;
  grid-template-columns: repeat(3,minmax(0,1fr));
  gap: 16px;
  margin: 0;
  padding: 0;
  list-style: none;
}
.launch-steps li {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  min-width: 0;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: var(--launch-radius);
  background: linear-gradient(145deg,rgba(155,77,255,.06),rgba(16,18,26,.8));
}
.launch-step-number { color: var(--cyan); font-family: var(--heading); font-size: 1.5rem; line-height: 1.2; }
.launch-steps h3 { margin: 0 0 12px; font-size: 1.3rem; line-height: 1.25; text-transform: none; }
.launch-steps p { margin: 0; color: var(--launch-copy); font-size: .8rem; line-height: 1.75; }
.launch-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px 24px;
  padding: 24px 0 0;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: .72rem;
  line-height: 1.6;
  text-align: left;
}
.launch-footer a { display: inline-flex; align-items: center; min-height: 44px; }
.launch-footer p { flex-basis: 100%; margin: 0; }
.spectator-topbar .primary-btn { flex-shrink: 0; }
.spectator-shell .battle-intro-body p { font-size: .85rem; line-height: 1.75; }
@media (max-width: 900px) {
  .auth-gate { gap: 20px; padding: 16px; }
  .auth-card { grid-template-columns: 1fr; min-height: 0; }
  .auth-art {
    min-height: 180px;
    background:
      linear-gradient(0deg,#0d0f18,transparent 65%),
      url("assets/knight-miner-hero.png") center 24% / cover no-repeat;
  }
  .auth-copy { padding: 24px; }
  .auth-copy h1 { font-size: clamp(2.25rem,6vw,3.25rem); }
  .auth-copy > .eyebrow { margin-top: 18px; }
  .launch-steps { grid-template-columns: 1fr; }
  .launch-steps li { padding: 20px; }
}
@media (max-width: 600px) {
  .launch-header { align-items: flex-start; gap: 12px; }
  .launch-brand { gap: 8px; }
  .launch-brand img { width: 36px; height: 36px; flex-basis: 36px; }
  .launch-brand strong { font-size: 1.05rem; }
  .launch-brand small { max-width: 23ch; font-size: .6rem; }
  .launch-header nav { gap: 0; flex-direction: column; align-items: flex-end; }
  .launch-header nav a { min-height: 44px; font-size: .72rem; white-space: nowrap; }
  .auth-card { border-radius: 16px; }
  .auth-art { min-height: 120px; }
  .auth-copy { padding: 18px; }
  .auth-copy > .eyebrow { font-size: .65rem; }
  .auth-copy > .launch-lede { font-size: .85rem; }
  .auth-copy .otp-panel .input-action { grid-template-columns: 1fr; }
  .auth-copy .otp-panel .secondary-btn { width: 100%; }
  .launch-section-heading { margin-bottom: 16px; }
  .launch-section-heading > p:last-child { font-size: .8rem; }
  .mobile-nav-item b { font-size: .62rem; letter-spacing: 0; white-space: normal; line-height: 1.3; overflow: visible; }
  .mobile-nav-item { min-height: 56px; padding: 4px; }
  .mobile-more-close, .modal-close { min-width: 44px; min-height: 44px; }
  .spectator-topbar { gap: 12px; padding: 12px; }
  .spectator-brand { gap: 8px; min-width: 0; }
  .spectator-brand img { width: 32px; height: 32px; }
  .spectator-brand strong { font-size: 1rem; }
  .spectator-topbar .primary-btn { max-width: 44%; padding: 10px 12px; font-size: .75rem; text-align: center; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .01ms !important;
    scroll-behavior: auto !important;
  }
}
