/* Cerbral auth pages — layered on top of the main site/style.css.
   Shares palette + topbar; adds the sign-up card, centred layouts,
   progress indicator, and GitHub-ask panel. */

.sr-only {
  position: absolute;
  width: 1px; height: 1px;
  padding: 0; margin: -1px; overflow: hidden;
  clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}

.auth-page {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}
.auth-page .topbar .nav-cta {
  background: var(--brand-gradient, linear-gradient(135deg, #ff6b35, #ff3b5c));
  color: #0a0607;
  padding: 0.4rem 0.85rem;
  border-radius: 999px;
  font-weight: 600;
}

/* ---------- Split hero (signup/login) ---------- */
.auth-hero {
  flex: 1;
  display: flex;
  align-items: center;
  padding: 2.5rem 0 5rem;
}
.auth-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}
@media (max-width: 900px) {
  .auth-grid { grid-template-columns: 1fr; gap: 2rem; }
  .auth-right { order: -1; }
}
.auth-left h1 {
  font-size: clamp(2.2rem, 4.5vw, 3.4rem);
  line-height: 1.05;
  margin: 0.8rem 0 1.1rem;
  letter-spacing: -0.02em;
}
.auth-left .lede {
  font-size: 1.05rem;
  line-height: 1.55;
  color: var(--fg-muted, #c3a8a2);
  margin: 0 0 1.5rem;
  max-width: 42ch;
}
.auth-left .accent {
  background: linear-gradient(90deg, #ff6b35, #ff4d88, #ff3b5c);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

/* ---------- Auth card ---------- */
.auth-card {
  background: var(--bg-card, #1a1215);
  border: 1px solid var(--rule, #2a1d20);
  border-radius: 14px;
  padding: 1.25rem 1.3rem 1.1rem;
  max-width: 440px;
  box-shadow: 0 16px 50px -20px rgba(0, 0, 0, 0.45);
}
.auth-card-centered {
  max-width: 480px;
  width: 100%;
  margin: 0 auto;
  background: var(--bg-card, #1a1215);
  border: 1px solid var(--rule, #2a1d20);
  border-radius: 16px;
  padding: 2rem 1.8rem 1.8rem;
  text-align: center;
  box-shadow: 0 24px 70px -22px rgba(0, 0, 0, 0.55);
}
.auth-card-centered h1 {
  font-size: 1.55rem;
  margin: 0.8rem 0 0.6rem;
}
.auth-card-centered .lede {
  color: var(--fg-muted);
  margin: 0 0 1.3rem;
  line-height: 1.55;
}

.auth-center {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 3rem 1rem;
}
.auth-minimal .topbar { border-bottom: 1px solid var(--rule, #2a1d20); }

/* ---------- Buttons ---------- */
.auth-btn {
  appearance: none;
  width: 100%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  border-radius: 10px;
  border: 0;
  padding: 0.75rem 1rem;
  font-family: inherit;
  font-size: 0.95rem;
  font-weight: 600;
  cursor: pointer;
  transition: transform 0.08s ease, filter 0.12s, background 0.12s, border-color 0.12s;
}
.auth-btn:disabled { opacity: 0.6; cursor: not-allowed; }
.auth-btn:not(:disabled):active { transform: translateY(1px); }
.auth-btn-primary {
  background: linear-gradient(135deg, #ff6b35, #ff4d88 60%, #ff3b5c);
  color: #fff;
  box-shadow: 0 8px 24px -10px rgba(255, 107, 53, 0.45);
}
.auth-btn-primary:hover { filter: brightness(1.08); }
.auth-btn-github {
  background: #0d1117;
  color: #fff;
  border: 1px solid #2a2f35;
}
.auth-btn-github:hover { border-color: #4a5158; }
.auth-btn-lg { padding: 0.9rem 1.1rem; font-size: 1rem; }

/* ---------- Form bits ---------- */
.auth-input {
  appearance: none;
  width: 100%;
  padding: 0.75rem 0.95rem;
  border-radius: 10px;
  border: 1px solid var(--rule-strong, #3a272b);
  background: var(--bg-card, #1a1215);
  color: var(--fg, #f6ede9);
  font-family: inherit;
  font-size: 0.95rem;
  margin-bottom: 0.65rem;
}
.auth-input::placeholder { color: var(--fg-subtle, #8b706c); }
.auth-input:focus {
  outline: none;
  border-color: var(--accent, #ff6b35);
  box-shadow: 0 0 0 3px rgba(255, 107, 53, 0.12);
}
/* Safari / Chrome autofill override — stop the yellow-on-white smash. */
.auth-input:-webkit-autofill,
.auth-input:-webkit-autofill:hover,
.auth-input:-webkit-autofill:focus {
  -webkit-text-fill-color: var(--fg, #1d0d0e);
  -webkit-box-shadow: 0 0 0 1000px var(--bg-card, #ffffff) inset;
  caret-color: var(--fg, #1d0d0e);
  transition: background-color 5000s ease-in-out 0s;
}

@media (prefers-color-scheme: light) {
  .auth-input {
    background: #ffffff;
    border-color: #e9c3ae;
  }
  .auth-card {
    background: #ffffff;
    border-color: #f3d7c8;
  }
  .auth-card-centered {
    background: #ffffff;
    border-color: #f3d7c8;
  }
  .callout {
    background: #fff0e4;
    border-color: #f3d7c8;
  }
  .gh-ask {
    background: #fff6f0;
    border-color: #f3d7c8;
  }
  .gh-scopes .tag {
    background: #fff6f0;
    color: #d94423;
    border-color: #f3d7c8;
  }
  .auth-btn-github { background: #1d0d0e; border-color: #1d0d0e; color: #ffffff; }
}
.auth-divider {
  display: flex;
  align-items: center;
  margin: 0.85rem 0;
  gap: 0.7rem;
  font-size: 0.75rem;
  color: var(--fg-subtle, #8b706c);
  text-transform: uppercase;
  letter-spacing: 0.1em;
}
.auth-divider::before,
.auth-divider::after {
  content: '';
  flex: 1;
  height: 1px;
  background: var(--rule, #2a1d20);
}
.auth-legal {
  margin: 1rem 0 0;
  font-size: 0.78rem;
  line-height: 1.5;
  color: var(--fg-subtle, #8b706c);
}
.auth-legal a { color: var(--fg-muted, #c3a8a2); }
.download-line {
  margin: 1.4rem 0 0;
  font-size: 0.88rem;
  color: var(--fg-muted, #c3a8a2);
}
.auth-small {
  margin: 1rem 0 0;
  font-size: 0.82rem;
  color: var(--fg-subtle, #8b706c);
}
.auth-small a, .linkish {
  color: var(--accent, #ff6b35);
  background: none;
  border: 0;
  font: inherit;
  cursor: pointer;
  padding: 0;
}
.linkish:hover { text-decoration: underline; }

/* ---------- Right brand panel ---------- */
.auth-brand-panel {
  background:
    radial-gradient(ellipse at 50% 30%, rgba(255, 107, 53, 0.20), transparent 60%),
    radial-gradient(ellipse at 50% 80%, rgba(255, 77, 136, 0.16), transparent 65%),
    var(--bg-card, #1a1215);
  border: 1px solid var(--rule, #2a1d20);
  border-radius: 20px;
  padding: 3rem 2.2rem;
  text-align: center;
}
.auth-brand-mark {
  width: 120px; height: 120px;
  margin: 0 auto 1.25rem;
}
.auth-brand-panel h2 {
  font-size: 2rem;
  line-height: 1.15;
  margin: 0 0 0.9rem;
  letter-spacing: -0.01em;
}
.auth-brand-panel h2 .accent {
  background: linear-gradient(90deg, #ff6b35, #ff4d88, #ff3b5c);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.auth-brand-sub {
  color: var(--fg-muted, #c3a8a2);
  max-width: 40ch;
  margin: 0 auto 1.5rem;
  line-height: 1.55;
}
.auth-bullets {
  list-style: none;
  padding: 0;
  margin: 1.5rem auto 0;
  max-width: 38ch;
  text-align: left;
}
.auth-bullets li {
  display: flex;
  gap: 0.65rem;
  align-items: flex-start;
  padding: 0.35rem 0;
  font-size: 0.9rem;
  color: var(--fg-muted, #c3a8a2);
  line-height: 1.5;
}
.auth-bullets .dot {
  width: 8px; height: 8px; border-radius: 999px;
  background: var(--brand-gradient, linear-gradient(135deg, #ff6b35, #ff3b5c));
  margin-top: 0.55em;
  flex-shrink: 0;
}

/* ---------- Inline auth error (replaces native alert() dialogs) ---------- */
.auth-error {
  margin-top: 0.7rem;
  padding: 0.6rem 0.85rem;
  border-radius: 8px;
  background: rgba(255, 59, 92, 0.10);
  border: 1px solid rgba(255, 59, 92, 0.30);
  color: var(--brand-red, #ff3b5c);
  font-size: 0.85rem;
  line-height: 1.4;
  animation: authErrFade 0.18s ease-out;
}
.auth-error[hidden] { display: none; }
.auth-error.inline { margin-top: 0.9rem; text-align: center; }
@keyframes authErrFade {
  from { opacity: 0; transform: translateY(-2px); }
  to   { opacity: 1; transform: translateY(0); }
}
@media (prefers-color-scheme: light) {
  .auth-error {
    background: #fff0ef;
    border-color: #ffc7c7;
    color: #c2263a;
  }
}

/* ---------- In-card "enter code" view (/signup after submit) ---------- */
.card-view[hidden] { display: none; }
.card-sent {
  text-align: center;
  padding: 0.2rem 0.3rem 0.25rem;
}
.sent-copy {
  margin: 0 0 1.1rem;
  font-size: 0.95rem;
  line-height: 1.55;
  color: var(--fg-muted, #6b4a47);
}
.sent-copy strong {
  color: var(--fg, #1d0d0e);
  font-weight: 500;
}
.otp-input {
  text-align: center;
  font-family: var(--ff-mono, ui-monospace, monospace);
  letter-spacing: 0.35em;
  font-size: 1.1rem;
  font-weight: 500;
}
.otp-input::placeholder {
  letter-spacing: 0.02em;
  font-family: inherit;
  font-weight: 400;
  font-size: 0.95rem;
}
.auth-btn-verify {
  background: #1d0d0e;
  color: #fff;
  width: 100%;
  padding: 0.75rem 1rem;
  border: 0;
  border-radius: 10px;
  font-family: inherit;
  font-size: 0.95rem;
  font-weight: 600;
  cursor: pointer;
  margin-top: 0.15rem;
}
.auth-btn-verify:hover:not(:disabled) { filter: brightness(1.18); }
.auth-btn-verify:disabled { opacity: 0.6; cursor: progress; }
.sent-small {
  margin: 0.9rem 0 0;
  font-size: 0.82rem;
  color: var(--fg-subtle, #8b706c);
}
.sent-small .linkish {
  color: var(--fg-muted, #6b4a47);
  text-decoration: underline;
  text-underline-offset: 3px;
}
.sent-small .linkish:hover { color: var(--accent, #d94423); }

/* ---------- Explore plans (signup page #plans anchor) ---------- */
.plans-section {
  padding: 6rem 0 4rem;
  background: var(--bg, #fff6f0);
}
.plans-heading {
  text-align: center;
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 500;
  margin: 0 0 2rem;
  letter-spacing: -0.01em;
  font-family: 'Georgia', 'Times New Roman', serif;
}
.plans-toggle {
  display: flex;
  justify-content: center;
  gap: 0.4rem;
  background: var(--bg-card-2, #fff0e4);
  border: 1px solid var(--rule, #f3d7c8);
  border-radius: 999px;
  padding: 0.3rem;
  width: fit-content;
  margin: 0 auto 3rem;
}
.plans-tab {
  appearance: none;
  background: transparent;
  border: 0;
  color: var(--fg-muted, #6b4a47);
  font-family: inherit;
  font-size: 0.9rem;
  padding: 0.55rem 1.3rem;
  border-radius: 999px;
  cursor: pointer;
}
.plans-tab.active {
  background: #fff;
  color: var(--fg, #1d0d0e);
  box-shadow: 0 1px 3px rgba(0,0,0,0.05);
}
.plans-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  max-width: 1150px;
  margin: 0 auto;
}
@media (max-width: 900px) { .plans-grid { grid-template-columns: 1fr; } }
.plan-card {
  background: #ffffff;
  border: 1px solid var(--rule, #f3d7c8);
  border-radius: 18px;
  padding: 2rem 1.8rem 1.8rem;
  display: flex;
  flex-direction: column;
  position: relative;
}
.plan-card.featured {
  border-color: var(--accent, #ff6b35);
  box-shadow: 0 16px 48px -18px rgba(255, 107, 53, 0.28);
}
.plan-ribbon {
  position: absolute;
  top: 12px;
  right: 16px;
  background: var(--brand-gradient, linear-gradient(135deg, #ff6b35 0%, #ff4d88 50%, #ff3b5c 100%));
  color: #fff;
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 0.25rem 0.6rem;
  border-radius: 999px;
}
.plan-icon {
  color: var(--fg, #1d0d0e);
  margin-bottom: 1rem;
}
.plan-name {
  font-family: 'Georgia', 'Times New Roman', serif;
  font-size: 1.8rem;
  font-weight: 500;
  margin: 0 0 0.2rem;
  letter-spacing: -0.01em;
}
.plan-sub {
  margin: 0 0 1.3rem;
  color: var(--fg-muted, #6b4a47);
  font-size: 0.9rem;
}
.plan-price {
  margin: 0 0 0.35rem;
}
.plan-dollar {
  font-size: 2.2rem;
  font-weight: 500;
  font-family: 'Georgia', 'Times New Roman', serif;
  letter-spacing: -0.02em;
  color: var(--fg, #1d0d0e);
}
.plan-note {
  margin: 0 0 1.2rem;
  font-size: 0.83rem;
  color: var(--fg-subtle, #a88780);
}
.plan-btn {
  display: block;
  text-align: center;
  padding: 0.8rem 1rem;
  border-radius: 10px;
  background: #1d0d0e;
  color: #fff;
  text-decoration: none;
  font-weight: 500;
  font-size: 0.95rem;
  margin: 0 0 0.5rem;
  transition: filter 0.12s, transform 0.08s;
}
.plan-btn:hover { filter: brightness(1.25); }
.plan-btn-primary {
  background: var(--brand-gradient, linear-gradient(135deg, #ff6b35 0%, #ff4d88 50%, #ff3b5c 100%));
}
.plan-commit {
  text-align: center;
  font-size: 0.78rem;
  color: var(--fg-subtle, #a88780);
  margin: 0.2rem 0 1.2rem;
}
.plan-features-title {
  font-size: 0.93rem;
  font-weight: 600;
  color: var(--fg, #1d0d0e);
  margin: 0.5rem 0 0.7rem;
}
.plan-features {
  list-style: none;
  padding: 0;
  margin: 0.7rem 0 0;
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}
.plan-features li {
  position: relative;
  padding-left: 1.5rem;
  font-size: 0.88rem;
  line-height: 1.5;
  color: var(--fg-muted, #6b4a47);
}
.plan-features li::before {
  content: "✓";
  position: absolute;
  left: 0;
  top: 0;
  color: var(--accent, #d94423);
  font-weight: 600;
}
.plan-features em {
  color: var(--fg-subtle, #a88780);
  font-style: italic;
}
.asterisk-note {
  color: var(--fg-subtle, #a88780);
  font-size: 0.85em;
}
.plans-footnote {
  max-width: 1100px;
  margin: 3rem auto 0;
  padding: 0 1.5rem;
  font-size: 0.8rem;
  color: var(--fg-subtle, #a88780);
  text-align: center;
  line-height: 1.6;
}

/* ---------- FAQ section ---------- */
.faq-section {
  padding: 5rem 0 6rem;
  background: var(--bg, #fff6f0);
}
.faq-heading {
  text-align: center;
  font-size: clamp(1.8rem, 3.5vw, 2.5rem);
  font-weight: 500;
  margin: 0 0 2.5rem;
  letter-spacing: -0.01em;
  font-family: 'Georgia', 'Times New Roman', serif;
}
.faq-item {
  max-width: 900px;
  margin: 0 auto;
  padding: 1.3rem 0.5rem;
  border-top: 1px solid var(--rule, #f3d7c8);
  cursor: pointer;
}
.faq-item:last-of-type { border-bottom: 1px solid var(--rule, #f3d7c8); }
.faq-item summary {
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  font-family: 'Georgia', 'Times New Roman', serif;
  font-size: 1.15rem;
  font-weight: 400;
  color: var(--fg, #1d0d0e);
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: "+";
  font-size: 1.5rem;
  color: var(--fg-muted, #6b4a47);
  transition: transform 0.2s;
  font-weight: 300;
}
.faq-item[open] summary::after { content: "−"; }
.faq-item p {
  margin: 1rem 0 0;
  color: var(--fg-muted, #6b4a47);
  line-height: 1.65;
  font-size: 0.95rem;
}

/* ---------- FULL SITE FOOTER (dark mega-footer, Claude-style) ---------- */
.site-footer {
  background: #0a0607;
  color: #c3a8a2;
  padding: 5rem 0 3rem;
  font-size: 0.88rem;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr 1fr 1fr;
  gap: 2.5rem 1.8rem;
  align-items: start;
}
@media (max-width: 1000px) {
  .footer-grid { grid-template-columns: 1fr 1fr 1fr; }
}
@media (max-width: 640px) {
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-brand { grid-column: 1 / -1; }
}
.footer-brand .brand {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  color: #f6ede9;
  text-decoration: none;
  font-weight: 600;
  font-size: 1.1rem;
  margin-bottom: 1.4rem;
  border: 0;
}
.footer-brand .brand .brand-mark { width: 28px; height: 28px; }
.footer-by {
  font-family: var(--ff-mono, ui-monospace, 'SF Mono', Menlo, monospace);
  font-size: 0.85rem;
  color: #f6ede9;
  letter-spacing: 0.1em;
  margin: 0.2rem 0 0.4rem;
}
.footer-by a { color: inherit; text-decoration: none; border: 0; }
.footer-by a:hover { color: #ff6b35; text-decoration: underline; }
.footer-copy {
  color: #8b706c;
  font-size: 0.78rem;
  margin: 0 0 1.4rem;
}
.footer-social { display: flex; gap: 0.5rem; }
.footer-social a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 32px; height: 32px;
  border-radius: 50%;
  color: #c3a8a2;
  text-decoration: none;
  border: 1px solid #2a1d20;
  border-bottom: 1px solid #2a1d20;
  transition: color 0.15s, border-color 0.15s;
}
.footer-social a:hover { color: #ff6b35; border-color: #ff6b35; }

.footer-col h4 {
  color: #f6ede9;
  font-size: 0.95rem;
  font-weight: 500;
  margin: 0 0 1rem;
}
.footer-col a {
  display: block;
  padding: 0.3rem 0;
  color: #c3a8a2;
  text-decoration: none;
  border: 0;
  font-size: 0.88rem;
  transition: color 0.12s;
  position: relative;
  width: fit-content;
}
.footer-col a::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: 0.15rem;
  height: 1px;
  background: currentColor;
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.18s ease;
}
.footer-col a:hover { color: #f6ede9; }
.footer-col a:hover::after { transform: scaleX(1); }

/* ---------- MINIMAL FOOTER (support, docs, internal pages) ---------- */
.mini-footer {
  background: #0a0607;
  color: #c3a8a2;
  padding: 3rem 0 2.5rem;
  font-size: 0.85rem;
}
.mini-footer-grid {
  display: grid;
  grid-template-columns: 1fr auto auto;
  gap: 3rem;
  align-items: center;
}
@media (max-width: 720px) {
  .mini-footer-grid { grid-template-columns: 1fr; gap: 1.5rem; }
}
.mini-footer-brand {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  color: #f6ede9;
  text-decoration: none;
  font-weight: 600;
  border: 0;
}
.mini-footer-brand .brand-mark { width: 26px; height: 26px; }
.mini-footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 1.4rem;
}
.mini-footer-links a {
  color: #c3a8a2;
  text-decoration: none;
  border: 0;
  font-size: 0.85rem;
  position: relative;
  padding-bottom: 2px;
}
.mini-footer-links a::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: 0;
  height: 1px;
  background: currentColor;
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.18s ease;
}
.mini-footer-links a:hover { color: #f6ede9; }
.mini-footer-links a:hover::after { transform: scaleX(1); }
.mini-footer-copy {
  color: #8b706c;
  font-size: 0.78rem;
}

/* ---------- /auth/verify cross-device code-display page ---------- */
.auth-verify-page .topbar {
  border-bottom: 1px solid var(--rule, #f3d7c8);
  background: transparent;
}
.brand-center { margin: 0 auto; }
.verify-main {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 4rem 1.5rem;
  text-align: center;
}
.verify-wrap {
  max-width: 520px;
  width: 100%;
}
.verify-title {
  font-size: clamp(1.7rem, 3.5vw, 2.3rem);
  font-weight: 500;
  letter-spacing: -0.01em;
  margin: 0 0 0.6rem;
  line-height: 1.15;
  font-family: 'Georgia', 'Times New Roman', serif;
}
.verify-sub {
  font-size: 1rem;
  color: var(--fg-muted, #6b4a47);
  margin: 0 0 2.2rem;
}
.verify-code {
  display: inline-block;
  padding: 1.2rem 2.3rem;
  border: 1px solid var(--rule-strong, #e9c3ae);
  border-radius: 14px;
  font-family: var(--ff-mono, ui-monospace, 'SF Mono', Menlo, monospace);
  font-size: clamp(2.2rem, 5vw, 3.2rem);
  font-weight: 500;
  letter-spacing: 0.08em;
  color: var(--fg, #1d0d0e);
  background: transparent;
  min-width: 280px;
}
.verify-copy-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  margin-top: 1.6rem;
  padding: 0.6rem 1.1rem;
  background: #1d0d0e;
  color: #fff;
  border: 0;
  border-radius: 8px;
  font-family: inherit;
  font-size: 0.88rem;
  font-weight: 500;
  cursor: pointer;
  transition: filter 0.12s, transform 0.08s;
}
.verify-copy-btn:hover { filter: brightness(1.18); }
.verify-copy-btn.copied { background: #1e7e4a; }
.verify-copy-btn:active { transform: translateY(1px); }

/* ---------- Legacy check-email page (kept for compat) ---------- */
.mail-icon {
  display: inline-flex;
  padding: 0.8rem;
  border-radius: 999px;
  background: rgba(255, 107, 53, 0.1);
  margin-bottom: 0.3rem;
}
.callout {
  background: var(--bg-card-2, #201519);
  border: 1px solid var(--rule, #2a1d20);
  border-radius: 10px;
  padding: 0.85rem 1rem;
  font-size: 0.85rem;
  line-height: 1.5;
  color: var(--fg-muted, #c3a8a2);
  margin: 1.3rem 0 0.4rem;
  text-align: left;
}
.callout strong { color: var(--fg, #f6ede9); display: block; margin-bottom: 0.2rem; }

/* ---------- Onboard (GitHub ask) ---------- */
.auth-onboard h1 { font-size: 1.7rem; }
.gh-ask {
  background: var(--bg-card-2, #201519);
  border: 1px solid var(--rule, #2a1d20);
  border-radius: 12px;
  padding: 1rem 1.1rem;
  margin: 0.5rem 0 1.4rem;
  text-align: left;
}
.gh-ask-header {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-size: 0.85rem;
  color: var(--fg-muted, #c3a8a2);
  margin-bottom: 0.8rem;
  font-weight: 600;
}
.gh-scopes {
  list-style: none;
  padding: 0; margin: 0;
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
}
.gh-scopes li {
  display: flex;
  gap: 0.7rem;
  align-items: baseline;
  font-size: 0.88rem;
  color: var(--fg, #f6ede9);
}
.gh-scopes .tag {
  font-family: var(--ff-mono, monospace);
  font-size: 0.75rem;
  padding: 0.1rem 0.4rem;
  background: #0d1117;
  color: #8cb9ff;
  border-radius: 4px;
  border: 1px solid #2a2f35;
  flex-shrink: 0;
}
.gh-scopes code {
  font-family: var(--ff-mono, monospace);
  font-size: 0.9em;
  background: var(--bg, #0a0607);
  padding: 0.05em 0.3em;
  border-radius: 3px;
}

/* ---------- Progress indicator ---------- */
.progress {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  margin-bottom: 1.1rem;
  font-size: 0.72rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--fg-subtle, #8b706c);
  flex-wrap: wrap;
}
.progress .step { padding: 0.2rem 0.5rem; border-radius: 4px; }
.progress .step.active { color: var(--fg, #f6ede9); background: rgba(255, 107, 53, 0.1); }
.progress .step.done   { color: var(--fg-muted, #c3a8a2); }
.progress .sep {
  width: 12px; height: 1px; background: var(--rule-strong, #3a272b);
  display: inline-block;
}

/* ---------- Welcome ---------- */
.welcome-status {
  font-size: 0.9rem;
  color: var(--fg-muted, #c3a8a2);
  padding: 2rem 1rem;
}
.welcome-status::before {
  content: '';
  display: inline-block;
  width: 10px; height: 10px; border-radius: 999px;
  background: var(--brand-gradient, linear-gradient(135deg, #ff6b35, #ff3b5c));
  margin-right: 0.55rem;
  vertical-align: middle;
  animation: pulse 1.2s ease-in-out infinite;
}
@keyframes pulse {
  0%, 100% { opacity: 0.45; transform: scale(0.85); }
  50%      { opacity: 1;    transform: scale(1.1);  }
}
.welcome-error h1 { color: var(--brand-red, #ff3b5c); }
.open-desktop {
  margin: 1.2rem 0 0.3rem;
}
.quick-facts {
  margin: 2rem 0 0;
  text-align: left;
  border-top: 1px solid var(--rule, #2a1d20);
  padding-top: 1.4rem;
}
.quick-facts h3 {
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--fg-muted, #c3a8a2);
  margin: 0 0 0.6rem;
}
.quick-facts ul { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 0.5rem; }
.quick-facts li { font-size: 0.88rem; color: var(--fg-muted, #c3a8a2); line-height: 1.5; }
.quick-facts strong { color: var(--fg, #f6ede9); margin-right: 0.3rem; }
.quick-facts code { font-family: var(--ff-mono, monospace); font-size: 0.85em; }
