/* ── Loader ── */
.loader {
  position: fixed; inset: 0; z-index: 200;
  background: var(--canvas);
  display: grid; place-items: center;
  gap: var(--sp-base);
  transition: opacity 0.6s ease;
}
.loader.done { opacity: 0; pointer-events: none; }
.loader-ring {
  width: 40px; height: 40px;
  border: 2px solid rgba(31, 42, 68, 0.15);
  border-top-color: var(--surface-card);
  border-radius: 50%;
  animation: spin 0.8s linear infinite;
}
@keyframes spin { to { transform: rotate(360deg); } }
.loader-text {
  font: var(--caption-sm);
  font-family: var(--mono);
  color: var(--surface-card);
}

/* ── Intro ── */
.intro {
  position: fixed; inset: 0; z-index: 100;
  display: grid; place-items: center;
  padding: var(--sp-base);
  transition: opacity 0.9s var(--ease-out), transform 0.9s var(--ease-out);
}
.intro.exiting {
  opacity: 0;
  transform: scale(1.04);
  pointer-events: none;
}

.intro-content {
  position: relative; z-index: 2;
  text-align: center;
  display: flex; flex-direction: column;
  align-items: center;
  gap: var(--sp-lg);
  padding: clamp(32px, 5vw, 64px) clamp(24px, 5vw, 64px);
  max-width: 640px;
  background: var(--surface-card);
  border-radius: var(--r-lg);
  box-shadow: var(--shadow);
}

/* Pill badge — {rounded.full}, hairline border, no fill voltage */
.intro-badge {
  font: var(--badge);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--primary);
  background: var(--primary-soft);
  border: 1px solid var(--primary-line);
  padding: 6px 14px;
  border-radius: var(--r-full);
}

/* The hero is the single place the scale runs past the token set —
   the page has no photography to carry weight, so type does it here. */
.intro-title {
  font-family: var(--serif);
  font-size: clamp(40px, 7vw, 68px);
  font-weight: 600;
  line-height: 1.05;
  letter-spacing: -0.02em;
  color: var(--ink);
}
.intro-title em {
  font-style: italic;
  font-weight: 500;
  color: var(--primary);
}

.intro-sub {
  font: var(--body-md);
  color: var(--muted);
  max-width: 46ch;
}

.intro-features {
  display: flex; flex-direction: column;
  gap: var(--sp-md);
  margin: var(--sp-xs) 0;
  text-align: left;
}
.intro-feat {
  display: flex; align-items: center;
  gap: var(--sp-md);
  font: var(--body-sm);
  color: var(--body);
}
.feat-icon {
  display: grid; place-items: center;
  width: 32px; height: 32px;
  flex: none;
  color: var(--primary);
  background: var(--surface-soft);
  border: 1px solid var(--hairline);
  border-radius: var(--r-full);
}

/* Primary CTA — {rounded.sm} 8px, 48px tall, weight 500 */
.intro-cta {
  display: flex; align-items: center;
  gap: var(--sp-sm);
  background: var(--primary);
  color: var(--on-primary);
  font: var(--button-md);
  padding: 14px 24px;
  min-height: 48px;
  border-radius: var(--r-sm);
  transition: background var(--t-fast);
}
.intro-cta:hover  { background: var(--primary-active); }
.intro-cta:active { background: var(--primary-active); }
.intro-cta:disabled { opacity: 0.6; cursor: default; }
.cta-arrow { transition: transform var(--t-fast); }
.intro-cta:hover .cta-arrow { transform: translateX(3px); }

.intro-note {
  font: var(--caption-sm);
  color: var(--muted-soft);
}
