/* Shared component styles — loaded by all pages after shared.css. */

/* ── Site logo header ── */

.site-header {
  max-width: 1416px; /* 1360px content + 28px padding each side */
  padding: 20px 28px 0;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.site-logo {
  height: 36px;
  width: auto;
  display: block;
}

.logo-lockup {
  display: flex;
  align-items: center;
  gap: 10px;
}

.header-nav {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-shrink: 0;
  margin-right: 80px; /* leave room for the fixed debug toggle */
}

.header-nav-btn {
  min-height: 36px;
  padding: 0 14px;
  font-size: 0.8125rem;
  box-shadow: var(--shadow-hard-sm);
  text-decoration: none;
  display: inline-flex;
  align-items: center;
}

.btn-accent {
  background: var(--color-accent);
}

.version-tag {
  font-family: var(--font-display);
  font-size: 11px;
  font-weight: var(--font-weight-bold);
  color: var(--muted);
  letter-spacing: 0.06em;
  text-transform: uppercase;
  margin-top: 2px;
}

/* ── Buttons ── */

button {
  min-height: 44px;
  border: 2px solid var(--ink);
  border-radius: var(--radius-xl);
  background: var(--surface);
  color: var(--ink);
  cursor: pointer;
  font-family: var(--font-display);
  font-weight: var(--font-weight-bold);
  padding: 0 16px;
  box-shadow: var(--shadow-hard);
}

button:disabled {
  cursor: not-allowed;
  opacity: 0.55;
}

button.primary {
  background: var(--accent);
}

button.small {
  min-height: 36px;
  padding: 0 12px;
}

button.icon {
  align-items: center;
  box-shadow: none;
  display: inline-flex;
  height: 34px;
  justify-content: center;
  min-height: 34px;
  padding: 0;
  width: 34px;
}

button.danger {
  color: var(--warm);
}

/* ── Typography ── */

.eyebrow {
  color: var(--muted);
  font-family: var(--font-display);
  font-size: var(--font-size-label);
  font-weight: var(--font-weight-bold);
  letter-spacing: var(--letter-spacing-none);
  text-transform: uppercase;
}

.lede {
  color: var(--color-text-soft);
  font-size: var(--font-size-lg);
  margin: 0;
  max-width: 780px;
}

/* ── Step checklist loading state ─────────────────────────────────────── */

.step-checklist {
  display: flex;
  flex-direction: column;
  gap: 3px;
  list-style: none;
  margin: 0;
  padding: 0;
  text-align: left;
}

.step-item {
  align-items: center;
  display: flex;
  font-family: var(--font-display);
  font-size: var(--font-size-sm);
  gap: 6px;
  line-height: 1.5;
  transition: opacity 0.4s;
}

.step-icon {
  flex-shrink: 0;
  font-size: 0.8em;
  text-align: center;
  width: 14px;
}

.step-done {
  color: var(--muted);
  opacity: 0.45;
}

.step-active {
  color: var(--ink);
  font-weight: var(--font-weight-semibold);
}

.step-active .step-icon {
  animation: step-pulse 1.1s ease-in-out infinite;
  color: var(--warm);
}

.step-pending {
  color: var(--muted);
  opacity: 0.2;
}

@keyframes step-pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.15; }
}

/* ── Alert ── */

.alert {
  background: var(--color-alert-bg);
  border: 2px solid var(--ink);
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-hard);
  margin-bottom: 16px;
  padding: 14px 16px;
}
