:root {
  color-scheme: dark;
}

html body .nav-status {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px !important;
  min-height: 44px !important;
  padding: 0 20px !important;
  border-radius: 999px !important;
  border: 1px solid rgba(122, 154, 214, 0.28) !important;
  background: linear-gradient(180deg, rgba(14, 29, 56, 0.92), rgba(9, 21, 41, 0.78)) !important;
  color: var(--text) !important;
  font-family: "Space Grotesk", Inter, sans-serif !important;
  font-size: 11px !important;
  font-weight: 800 !important;
  letter-spacing: 0.11em !important;
  text-transform: uppercase !important;
  white-space: nowrap !important;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.05),
    0 12px 26px rgba(2, 10, 25, 0.18) !important;
}

.nav-utility,
.top-utility {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-left: auto;
  flex: 0 0 auto;
}

.nav-row > .nav-actions,
.nav-row > .nav-links,
.top > .nav-links {
  width: 100%;
  justify-content: flex-start;
}

html body .pulse {
  width: 10px;
  height: 10px;
  border-radius: 50% !important;
  background: radial-gradient(circle at 34% 34%, #7ff3c7, #23b982 70%) !important;
  box-shadow:
    0 0 0 4px rgba(62, 209, 156, 0.16),
    0 0 18px rgba(62, 209, 156, 0.36) !important;
  animation: pulse 2.1s infinite !important;
  flex: 0 0 auto !important;
}

@keyframes pulse {
  0% { box-shadow: 0 0 0 0 rgba(62, 209, 156, 0.65); }
  70% { box-shadow: 0 0 0 8px rgba(62, 209, 156, 0); }
  100% { box-shadow: 0 0 0 0 rgba(62, 209, 156, 0); }
}

html[data-theme="light"] {
  color-scheme: light;
  --bg: #eef5ff;
  --bg-0: #eef5ff;
  --bg-1: #f8fbff;
  --bg-2: #e6efff;
  --card: rgba(255, 255, 255, 0.82);
  --card-2: rgba(244, 249, 255, 0.76);
  --line: rgba(48, 83, 132, 0.22);
  --line-soft: rgba(48, 83, 132, 0.13);
  --text: #10213d;
  --text-soft: #405977;
  --text-muted: #71839d;
  --primary: #245ee8;
  --primary-2: #4b7cff;
  --accent: #087ea4;
  --ok: #178b69;
  --gold: #b26a00;
  --muted: #405977;
  --shadow: 0 22px 48px rgba(52, 82, 130, 0.18);
}

.theme-toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 42px;
  padding: 4px 18px 4px 8px;
  border-radius: 999px;
  border: 1px solid rgba(122, 154, 214, 0.28);
  background: linear-gradient(180deg, rgba(14, 29, 56, 0.92), rgba(9, 21, 41, 0.78));
  color: var(--text);
  font-family: "Space Grotesk", Inter, sans-serif;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.05),
    0 12px 26px rgba(2, 10, 25, 0.18);
  cursor: pointer;
  transition:
    transform 0.16s ease,
    border-color 0.16s ease,
    color 0.16s ease,
    background 0.16s ease,
    box-shadow 0.16s ease;
}

.theme-toggle:hover,
.theme-toggle:focus-visible {
  transform: translateY(-1px);
  border-color: rgba(255, 197, 109, 0.42);
  color: var(--text);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.08),
    0 14px 28px rgba(2, 10, 25, 0.22);
  outline: none;
}

.theme-toggle [data-theme-icon] {
  display: inline-grid;
  place-items: center;
  width: 28px;
  height: 28px;
  border-radius: 999px;
  background: radial-gradient(circle at 30% 30%, #fff0a8, #efc64a 56%, #99620c 100%);
  border: 1px solid rgba(255, 214, 112, 0.2);
  box-shadow:
    inset 0 1px 0 rgba(255, 248, 208, 0.6),
    0 8px 18px rgba(255, 197, 109, 0.2);
  font-size: 14px;
  line-height: 1;
}

.theme-toggle [data-theme-label] {
  display: inline-flex;
  align-items: center;
}

.consent-check {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  max-width: 720px;
  padding: 10px 12px;
  border: 1px solid rgba(149, 184, 255, 0.16);
  border-radius: 14px;
  background: rgba(7, 18, 37, 0.24);
  color: var(--muted);
  font-size: 12px;
  line-height: 1.5;
}

.consent-check input {
  width: 16px;
  height: 16px;
  margin-top: 2px;
  accent-color: var(--primary);
  flex: 0 0 auto;
}

.consent-check span {
  color: inherit;
}

html[data-theme="light"] body {
  color: var(--text);
  background:
    radial-gradient(900px 420px at 88% -120px, rgba(76, 134, 255, 0.2), transparent 65%),
    radial-gradient(680px 380px at -16% 18%, rgba(117, 208, 255, 0.2), transparent 70%),
    radial-gradient(540px 320px at 52% 8%, rgba(255, 217, 150, 0.2), transparent 72%),
    linear-gradient(180deg, var(--bg-0), var(--bg-1) 38%, var(--bg-2) 100%);
}

html[data-theme="light"] canvas#starfield {
  opacity: 0.28;
  mix-blend-mode: multiply;
}

html[data-theme="light"] nav {
  background: linear-gradient(180deg, rgba(247, 251, 255, 0.96), rgba(247, 251, 255, 0.54));
  border-bottom-color: rgba(48, 83, 132, 0.14);
  box-shadow: 0 12px 28px rgba(52, 82, 130, 0.08);
}

html[data-theme="light"] .brand {
  color: var(--text);
}

html[data-theme="light"] .brand-badge {
  background: radial-gradient(circle at 30% 25%, #ffffff, #8ab1ff 68%);
  box-shadow: 0 0 0 3px rgba(76, 134, 255, 0.16), 0 8px 20px rgba(52, 82, 130, 0.18);
}

html[data-theme="light"] .nav-actions,
html[data-theme="light"] .nav-links {
  scrollbar-color: rgba(48, 83, 132, 0.35) transparent;
}

html[data-theme="light"] .nav-home-cluster,
html[data-theme="light"] .nav-link,
html[data-theme="light"] .nav-sub-link,
html[data-theme="light"] .nav-status,
html[data-theme="light"] .theme-toggle,
html[data-theme="light"] .btn,
html[data-theme="light"] .store-btn,
html[data-theme="light"] .hero-secondary-cta,
html[data-theme="light"] .workflow-page-link {
  border-color: rgba(48, 83, 132, 0.18);
  background: rgba(255, 255, 255, 0.68);
  color: var(--text-soft);
  box-shadow: 0 10px 24px rgba(52, 82, 130, 0.08);
}

html[data-theme="light"] .nav-link:hover,
html[data-theme="light"] .nav-link.active,
html[data-theme="light"] .nav-sub-link:hover,
html[data-theme="light"] .nav-sub-link.active,
html[data-theme="light"] .btn:hover,
html[data-theme="light"] .theme-toggle:hover,
html[data-theme="light"] .theme-toggle:focus-visible {
  border-color: rgba(201, 160, 85, 0.46);
  background: rgba(255, 255, 255, 0.96);
  color: var(--text);
}

html[data-theme="light"] .theme-toggle {
  border-color: rgba(199, 211, 232, 0.9);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(244, 248, 255, 0.94));
  color: var(--text);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.92),
    0 12px 24px rgba(52, 82, 130, 0.12);
}

html[data-theme="light"] .theme-toggle [data-theme-icon] {
  background: radial-gradient(circle at 30% 30%, #57668e, #1f2c4e 55%, #0b1328 100%);
  border-color: rgba(48, 83, 132, 0.12);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.08),
    0 8px 18px rgba(52, 82, 130, 0.12);
}

html[data-theme="light"] body .nav-status {
  border-color: rgba(199, 211, 232, 0.9);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(244, 248, 255, 0.94));
  color: var(--text);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.92),
    0 12px 24px rgba(52, 82, 130, 0.12);
}

html[data-theme="light"] .nav-home-main {
  background: rgba(255, 255, 255, 0.96);
  color: var(--text);
}

.nav-link,
.nav-sub-link,
.nav-links > .btn,
.top > .nav-links > .btn {
  position: relative;
  min-height: 44px;
  padding: 0 20px;
  border-radius: 999px;
  border-color: rgba(122, 154, 214, 0.24);
  background: linear-gradient(180deg, rgba(14, 29, 56, 0.88), rgba(9, 21, 41, 0.74));
  color: var(--text-soft);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.04);
}

.nav-home-main {
  min-height: 46px;
  padding: 0 22px;
  background: linear-gradient(180deg, rgba(18, 38, 72, 0.96), rgba(12, 28, 54, 0.86));
  color: var(--text);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.06),
    0 12px 22px rgba(2, 10, 25, 0.14);
}

.nav-link:hover,
.nav-link.active,
.nav-sub-link:hover,
.nav-sub-link.active,
.nav-links > .btn:hover,
.top > .nav-links > .btn:hover {
  border-color: rgba(255, 197, 109, 0.42);
  background: linear-gradient(180deg, rgba(20, 40, 77, 0.96), rgba(13, 30, 59, 0.86));
  color: var(--text);
  box-shadow:
    inset 0 0 0 1px rgba(255, 197, 109, 0.12),
    0 12px 24px rgba(2, 10, 25, 0.16);
}

html[data-theme="light"] .nav-link,
html[data-theme="light"] .nav-sub-link,
html[data-theme="light"] .nav-home-main,
html[data-theme="light"] .nav-links > .btn,
html[data-theme="light"] .top > .nav-links > .btn {
  border-color: rgba(199, 211, 232, 0.9);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(244, 248, 255, 0.94));
  color: var(--text-soft);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.94),
    0 10px 22px rgba(52, 82, 130, 0.08);
}

html[data-theme="light"] .nav-link:hover,
html[data-theme="light"] .nav-link.active,
html[data-theme="light"] .nav-sub-link:hover,
html[data-theme="light"] .nav-sub-link.active,
html[data-theme="light"] .nav-links > .btn:hover,
html[data-theme="light"] .top > .nav-links > .btn:hover {
  border-color: rgba(201, 160, 85, 0.46);
  background: #ffffff;
  color: var(--text);
  box-shadow:
    inset 0 0 0 1px rgba(231, 197, 134, 0.22),
    0 12px 24px rgba(52, 82, 130, 0.1);
}

@property --waitlist-border-angle {
  syntax: "<angle>";
  inherits: false;
  initial-value: 0deg;
}

.nav-link[href="#waitlist"],
.nav-link[href="/#waitlist"] {
  --waitlist-border-angle: 0deg;
  border-color: transparent;
  color: var(--text);
  background:
    linear-gradient(180deg, rgba(20, 40, 77, 0.98), rgba(12, 28, 54, 0.9)) padding-box,
    conic-gradient(
      from var(--waitlist-border-angle),
      rgba(255, 197, 109, 0.18),
      rgba(255, 197, 109, 0.95),
      rgba(117, 208, 255, 0.52),
      rgba(255, 197, 109, 0.18)
    ) border-box;
  box-shadow:
    inset 0 0 0 1px rgba(255, 197, 109, 0.12),
    0 12px 28px rgba(255, 197, 109, 0.12);
  animation: waitlistBorderOrbit 6s linear infinite;
}

.nav-link[href="#waitlist"]::after,
.nav-link[href="/#waitlist"]::after {
  content: "";
  position: absolute;
  inset: 6px 10px auto;
  height: 1px;
  border-radius: 999px;
  background: linear-gradient(90deg, transparent, rgba(255, 226, 168, 0.8), transparent);
  opacity: 0.62;
  pointer-events: none;
}

.nav-link[href="#waitlist"]:hover,
.nav-link[href="/#waitlist"]:hover {
  box-shadow:
    inset 0 0 0 1px rgba(255, 197, 109, 0.22),
    0 16px 34px rgba(255, 197, 109, 0.18);
}

html[data-theme="light"] .nav-link[href="#waitlist"],
html[data-theme="light"] .nav-link[href="/#waitlist"] {
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(255, 247, 227, 0.94)) padding-box,
    conic-gradient(
      from var(--waitlist-border-angle),
      rgba(178, 106, 0, 0.18),
      rgba(178, 106, 0, 0.82),
      rgba(44, 113, 201, 0.46),
      rgba(178, 106, 0, 0.18)
    ) border-box;
  color: #5f3904;
  box-shadow:
    inset 0 0 0 1px rgba(178, 106, 0, 0.14),
    0 12px 24px rgba(178, 106, 0, 0.12);
}

@keyframes waitlistBorderOrbit {
  to { --waitlist-border-angle: 360deg; }
}

@media (prefers-reduced-motion: reduce) {
  .nav-link[href="#waitlist"],
  .nav-link[href="/#waitlist"],
  .catalog-domain-track {
    animation: none !important;
  }

  .showcase-card:hover,
  .flow-card:hover,
  .domain-card:hover,
  .category-card:hover,
  .mode-card:hover,
  .sample-card:hover,
  .program-card:hover,
  .program-loop-panel:hover,
  .recommendation-card:hover,
  .premium-panel:hover,
  .week-card:hover,
  .progress-card:hover,
  .capability-card:hover,
  .framework-card:hover,
  .example-card:hover,
  .critique-card:hover,
  .preset-card:hover,
  .section-card:hover,
  .topic-spectrum:hover,
  .cta-panel:hover,
  .callout:hover,
  .wait-card:hover {
    transform: none !important;
  }
}

.platform-status-pill,
.platform-stack-head .platform-status-pill,
.product-head .platform-status-pill {
  box-sizing: border-box;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
  width: auto;
  min-width: 58px;
  height: 28px;
  min-height: 28px;
  padding: 0 12px;
  margin-top: 0 !important;
  line-height: 1;
  text-align: center;
  border-radius: 999px;
  border: 1px solid rgba(149, 184, 255, 0.18);
  background: rgba(18, 38, 72, 0.72);
  font-size: 10px !important;
  font-weight: 900 !important;
  letter-spacing: 0.1em !important;
  color: var(--text-soft) !important;
  white-space: nowrap !important;
}

.platform-stack-head {
  align-items: flex-start;
}

html[data-theme="light"] .platform-status-pill,
html[data-theme="light"] .platform-stack-head .platform-status-pill,
html[data-theme="light"] .product-head .platform-status-pill {
  border-color: rgba(201, 160, 85, 0.34);
  background: rgba(255, 197, 109, 0.18);
  color: #8a4e00;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.42);
}

.showcase-card,
.flow-card,
.domain-card,
.category-card,
.mode-card,
.sample-card,
.program-card,
.program-loop-panel,
.recommendation-card,
.premium-panel,
.week-card,
.progress-card,
.capability-card,
.framework-card,
.example-card,
.critique-card,
.preset-card,
.section-card,
.product-frame,
.topic-spectrum,
.cta-panel,
.callout,
.wait-card {
  transition:
    transform 0.2s cubic-bezier(0.22, 1, 0.36, 1),
    border-color 0.2s ease,
    box-shadow 0.2s ease,
    background 0.2s ease,
    filter 0.2s ease;
}

.showcase-card:hover,
.flow-card:hover,
.domain-card:hover,
.category-card:hover,
.mode-card:hover,
.sample-card:hover,
.program-card:hover,
.program-loop-panel:hover,
.recommendation-card:hover,
.premium-panel:hover,
.week-card:hover,
.progress-card:hover,
.capability-card:hover,
.framework-card:hover,
.example-card:hover,
.critique-card:hover,
.preset-card:hover,
.section-card:hover,
.topic-spectrum:hover,
.cta-panel:hover,
.callout:hover,
.wait-card:hover {
  transform: translateY(-3px);
  border-color: rgba(255, 197, 109, 0.32);
  box-shadow:
    inset 0 0 0 1px rgba(255, 197, 109, 0.06),
    0 24px 46px rgba(2, 10, 25, 0.28);
  filter: brightness(1.025);
}

.showcase-card:hover .product-frame,
.product-frame:hover {
  border-color: rgba(255, 197, 109, 0.28);
  box-shadow:
    inset 0 0 0 1px rgba(255, 197, 109, 0.08),
    0 24px 46px rgba(2, 10, 25, 0.24);
}

html[data-theme="light"] .showcase-card:hover,
html[data-theme="light"] .flow-card:hover,
html[data-theme="light"] .domain-card:hover,
html[data-theme="light"] .category-card:hover,
html[data-theme="light"] .mode-card:hover,
html[data-theme="light"] .sample-card:hover,
html[data-theme="light"] .program-card:hover,
html[data-theme="light"] .program-loop-panel:hover,
html[data-theme="light"] .recommendation-card:hover,
html[data-theme="light"] .premium-panel:hover,
html[data-theme="light"] .week-card:hover,
html[data-theme="light"] .progress-card:hover,
html[data-theme="light"] .capability-card:hover,
html[data-theme="light"] .framework-card:hover,
html[data-theme="light"] .example-card:hover,
html[data-theme="light"] .critique-card:hover,
html[data-theme="light"] .preset-card:hover,
html[data-theme="light"] .section-card:hover,
html[data-theme="light"] .topic-spectrum:hover,
html[data-theme="light"] .cta-panel:hover,
html[data-theme="light"] .callout:hover,
html[data-theme="light"] .wait-card:hover {
  border-color: rgba(178, 106, 0, 0.24);
  box-shadow:
    inset 0 0 0 1px rgba(178, 106, 0, 0.08),
    0 24px 44px rgba(52, 82, 130, 0.16);
  filter: none;
}

html[data-theme="light"] .outline {
  -webkit-text-stroke-color: #2c64ce;
  text-stroke-color: #2c64ce;
}

html[data-theme="light"] .glass,
html[data-theme="light"] .hero-art,
html[data-theme="light"] .hero-panel,
html[data-theme="light"] .hero-launch-card,
html[data-theme="light"] .platform-stack-card,
html[data-theme="light"] .workflow-bridge,
html[data-theme="light"] .showcase-card,
html[data-theme="light"] .product-frame,
html[data-theme="light"] .section-panel,
html[data-theme="light"] .section-card,
html[data-theme="light"] .program-hero-panel,
html[data-theme="light"] .program-card,
html[data-theme="light"] .program-loop-panel,
html[data-theme="light"] .recommendation-card,
html[data-theme="light"] .premium-panel,
html[data-theme="light"] .week-card,
html[data-theme="light"] .progress-card,
html[data-theme="light"] .rebalance-log,
html[data-theme="light"] .orbit-core,
html[data-theme="light"] .sample-card,
html[data-theme="light"] .flow-card,
html[data-theme="light"] .flow-visual,
html[data-theme="light"] .category-card,
html[data-theme="light"] .domain-card,
html[data-theme="light"] .capability-card,
html[data-theme="light"] .framework-card,
html[data-theme="light"] .example-card,
html[data-theme="light"] .critique-card,
html[data-theme="light"] .preset-card,
html[data-theme="light"] .cta-panel,
html[data-theme="light"] .card,
html[data-theme="light"] .wait-card,
html[data-theme="light"] .contact-panel,
html[data-theme="light"] .topic-spectrum,
html[data-theme="light"] .mini-panel,
html[data-theme="light"] .mode-card,
html[data-theme="light"] .deck-scroll-window,
html[data-theme="light"] .quiz-prompt,
html[data-theme="light"] .selection-odds-callout,
html[data-theme="light"] .selection-odds-panel,
html[data-theme="light"] .selection-odds-card,
html[data-theme="light"] .prompt-shell {
  border-color: rgba(48, 83, 132, 0.16);
  background:
    radial-gradient(260px 150px at 82% 12%, rgba(76, 134, 255, 0.08), transparent 74%),
    rgba(255, 255, 255, 0.78);
  box-shadow: 0 20px 44px rgba(52, 82, 130, 0.14);
}

html[data-theme="light"] .mini-surface,
html[data-theme="light"] .top-chip,
html[data-theme="light"] .mission-stat,
html[data-theme="light"] .api-mini-box,
html[data-theme="light"] .api-score-core,
html[data-theme="light"] .knowledge-hero,
html[data-theme="light"] .deck-card,
html[data-theme="light"] .flashcard,
html[data-theme="light"] .quiz-option,
html[data-theme="light"] .score-box,
html[data-theme="light"] .hero-metric,
html[data-theme="light"] .drill-row,
html[data-theme="light"] .catalog-folder-row,
html[data-theme="light"] .catalog-feature-card,
html[data-theme="light"] .api-bar,
html[data-theme="light"] .baseline-row,
html[data-theme="light"] .mission-row,
html[data-theme="light"] .workflow-pill,
html[data-theme="light"] .step-pill,
html[data-theme="light"] .platform-lane,
html[data-theme="light"] .console-tile,
html[data-theme="light"] .loop-step,
html[data-theme="light"] .compare-card,
html[data-theme="light"] .log-item,
html[data-theme="light"] .orbit-node,
html[data-theme="light"] .status,
html[data-theme="light"] .tag,
html[data-theme="light"] .odds-train-step,
html[data-theme="light"] .knowledge-layer-card {
  border-color: rgba(48, 83, 132, 0.14);
  background: rgba(247, 251, 255, 0.76);
  color: var(--text);
}

html[data-theme="light"] .btn-primary,
html[data-theme="light"] .hero-waitlist-cta,
html[data-theme="light"] .mobile-waitlist-fab {
  color: #ffffff;
  background: linear-gradient(135deg, var(--primary), var(--primary-2));
  border-color: rgba(36, 94, 232, 0.44);
  box-shadow: 0 10px 24px rgba(36, 94, 232, 0.22);
}

html[data-theme="light"] .btn-secondary {
  background: rgba(255, 255, 255, 0.72);
  color: var(--text);
}

html[data-theme="light"] .hero-message-cta,
html[data-theme="light"] .message-link-button {
  border-color: rgba(178, 106, 0, 0.28);
  background: rgba(255, 197, 109, 0.18);
  color: #8a4e00;
}

html[data-theme="light"] .store-btn::before {
  background: rgba(255, 255, 255, 0.98);
  border-left-color: rgba(48, 83, 132, 0.18);
  border-top-color: rgba(48, 83, 132, 0.18);
  box-shadow: -3px -3px 10px rgba(52, 82, 130, 0.08);
}

html[data-theme="light"] .store-btn::after {
  background: rgba(255, 255, 255, 0.98);
  border-color: rgba(48, 83, 132, 0.18);
  color: var(--text);
  box-shadow: 0 14px 28px rgba(52, 82, 130, 0.12);
}

html[data-theme="light"] .contact-backdrop {
  background:
    radial-gradient(460px 240px at 50% 22%, rgba(76, 134, 255, 0.14), transparent 74%),
    rgba(238, 245, 255, 0.72);
}

html[data-theme="light"] .legal-callout,
html[data-theme="light"] .request-card {
  border-color: rgba(178, 106, 0, 0.22);
  background:
    radial-gradient(220px 120px at 86% 8%, rgba(255, 197, 109, 0.16), transparent 74%),
    rgba(255, 251, 244, 0.96);
  box-shadow: 0 14px 28px rgba(52, 82, 130, 0.08);
}

html[data-theme="light"] .legal-table-wrap,
html[data-theme="light"] .rights-card,
html[data-theme="light"] .deletion-step {
  border-color: rgba(48, 83, 132, 0.16);
  background: rgba(250, 252, 255, 0.9);
}

html[data-theme="light"] .legal-table {
  color: var(--text-soft);
}

html[data-theme="light"] .legal-table th {
  color: var(--text);
  background: rgba(236, 243, 255, 0.96);
}

html[data-theme="light"] .legal-table th,
html[data-theme="light"] .legal-table td {
  border-bottom-color: rgba(48, 83, 132, 0.12);
}

html[data-theme="light"] .processor-list a,
html[data-theme="light"] .card a,
html[data-theme="light"] .deletion-step a,
html[data-theme="light"] .request-card a {
  color: var(--primary);
}

html[data-theme="light"] .contact-close {
  border-color: rgba(48, 83, 132, 0.18);
  background: rgba(255, 255, 255, 0.74);
  color: var(--text);
}

html[data-theme="light"] .topic-chip,
html[data-theme="light"] .descriptor-chip,
html[data-theme="light"] .program-badge,
html[data-theme="light"] .deck-lane-link,
html[data-theme="light"] .category-hover-cta,
html[data-theme="light"] .framework-hover-note,
html[data-theme="light"] .score-caption {
  color: #8a4e00;
}

html[data-theme="light"] .stats-note strong,
html[data-theme="light"] .selection-odds-card.is-featured .odds-number {
  color: #8a4e00;
  text-shadow: 0 0 18px rgba(178, 106, 0, 0.16);
}

html[data-theme="light"] .selection-odds-card[data-agency="nasa"] {
  border-color: rgba(76, 134, 255, 0.2);
  background:
    radial-gradient(200px 110px at 86% 14%, rgba(117, 208, 255, 0.16), transparent 72%),
    rgba(248, 251, 255, 0.96);
}

html[data-theme="light"] .selection-odds-card[data-agency="esa"] {
  border-color: rgba(178, 106, 0, 0.2);
  background:
    radial-gradient(200px 110px at 86% 14%, rgba(255, 197, 109, 0.18), transparent 72%),
    rgba(255, 251, 244, 0.98);
}

html[data-theme="light"] .selection-odds-card[data-agency="csa"] {
  border-color: rgba(199, 84, 112, 0.18);
  background:
    radial-gradient(200px 110px at 86% 14%, rgba(255, 118, 136, 0.16), transparent 72%),
    rgba(255, 247, 249, 0.98);
}

html[data-theme="light"] .selection-odds-card[data-agency="jaxa"] {
  border-color: rgba(97, 92, 201, 0.18);
  background:
    radial-gradient(200px 110px at 86% 14%, rgba(159, 155, 255, 0.16), transparent 72%),
    rgba(248, 247, 255, 0.98);
}

html[data-theme="light"] .selection-odds-card[data-agency="nasa"] .odds-number {
  color: #1f63dd;
  text-shadow: 0 0 16px rgba(76, 134, 255, 0.14);
}

html[data-theme="light"] .selection-odds-card[data-agency="esa"] .odds-number {
  color: #9b6200;
  text-shadow: 0 0 16px rgba(178, 106, 0, 0.14);
}

html[data-theme="light"] .selection-odds-card[data-agency="csa"] .odds-number {
  color: #b34d63;
  text-shadow: 0 0 16px rgba(199, 84, 112, 0.14);
}

html[data-theme="light"] .selection-odds-card[data-agency="jaxa"] .odds-number {
  color: #615cc9;
  text-shadow: 0 0 16px rgba(97, 92, 201, 0.14);
}

html[data-theme="light"] .odds-flag {
  background: rgba(236, 243, 255, 0.94);
  box-shadow: inset 0 0 0 1px rgba(48, 83, 132, 0.12);
}

html[data-theme="light"] .stats {
  border-color: rgba(48, 83, 132, 0.16);
  background:
    radial-gradient(260px 140px at 12% 0%, rgba(76, 134, 255, 0.08), transparent 74%),
    rgba(255, 255, 255, 0.84);
  box-shadow: 0 16px 34px rgba(52, 82, 130, 0.1);
}

html[data-theme="light"] .metrics-panel,
html[data-theme="light"] .score-visual-panel,
html[data-theme="light"] .metric-card,
html[data-theme="light"] .score-legend-item,
html[data-theme="light"] .api-gauge {
  border-color: rgba(48, 83, 132, 0.16);
  background:
    radial-gradient(240px 120px at 82% 12%, rgba(76, 134, 255, 0.08), transparent 74%),
    rgba(250, 252, 255, 0.92);
  box-shadow: 0 16px 34px rgba(52, 82, 130, 0.1);
}

html[data-theme="light"] .metrics-panel:hover,
html[data-theme="light"] .score-visual-panel:hover {
  border-color: rgba(178, 106, 0, 0.28);
  box-shadow:
    inset 0 0 0 1px rgba(178, 106, 0, 0.08),
    0 22px 42px rgba(52, 82, 130, 0.16);
}

html[data-theme="light"] .metric-card:hover,
html[data-theme="light"] .score-legend-item:hover {
  border-color: rgba(178, 106, 0, 0.3);
  background:
    radial-gradient(180px 100px at 86% 10%, rgba(255, 197, 109, 0.2), transparent 70%),
    rgba(255, 251, 244, 0.96);
  box-shadow: 0 16px 30px rgba(52, 82, 130, 0.14);
}

html[data-theme="light"] .metric-card:hover strong,
html[data-theme="light"] .score-legend-item:hover strong {
  color: #7a4600;
}

html[data-theme="light"] .api-gauge-core {
  border-color: rgba(48, 83, 132, 0.18);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(236, 244, 255, 0.95));
}

html[data-theme="light"] .api-domain-bar-track {
  background: rgba(48, 83, 132, 0.13);
}

html[data-theme="light"] .metric-card strong,
html[data-theme="light"] .score-legend-item strong,
html[data-theme="light"] .api-gauge-core strong {
  color: var(--text);
}

html[data-theme="light"] .metric-card span,
html[data-theme="light"] .score-visual-note,
html[data-theme="light"] .api-domain-bar,
html[data-theme="light"] .api-gauge-core span {
  color: var(--text-soft);
}

html[data-theme="light"] .metric-card em,
html[data-theme="light"] .score-legend-item span {
  color: var(--text-muted);
}

html[data-theme="light"] .stat {
  border-right-color: rgba(48, 83, 132, 0.12);
}

html[data-theme="light"] .stat .value,
html[data-theme="light"] .callout h2,
html[data-theme="light"] .cta-band h2 {
  color: var(--text);
}

html[data-theme="light"] .stat .label,
html[data-theme="light"] .stats-note,
html[data-theme="light"] .compliance,
html[data-theme="light"] .callout p,
html[data-theme="light"] .cta-band .lead {
  color: var(--text-soft);
}

html[data-theme="light"] .compliance {
  border-color: rgba(48, 83, 132, 0.14);
  background:
    radial-gradient(200px 120px at 84% 18%, rgba(76, 134, 255, 0.08), transparent 74%),
    rgba(255, 255, 255, 0.82);
  box-shadow: 0 14px 28px rgba(52, 82, 130, 0.08);
}

html[data-theme="light"] .odds-source-note a {
  color: var(--primary);
  border-bottom-color: rgba(36, 94, 232, 0.28);
}

html[data-theme="light"] .topic-chip,
html[data-theme="light"] .descriptor-chip,
html[data-theme="light"] .deck-lane-link,
html[data-theme="light"] .category-hover-cta a {
  border-color: rgba(178, 106, 0, 0.24);
  background: rgba(255, 197, 109, 0.16);
}

html[data-theme="light"] .category-hover-cta {
  background:
    radial-gradient(180px 100px at 82% 18%, rgba(255, 197, 109, 0.18), transparent 74%),
    rgba(255, 252, 244, 0.96);
}

html[data-theme="light"] input,
html[data-theme="light"] textarea,
html[data-theme="light"] .wait-input {
  color: var(--text);
  background: rgba(255, 255, 255, 0.86);
  border-color: rgba(48, 83, 132, 0.18);
}

html[data-theme="light"] .consent-check {
  border-color: rgba(48, 83, 132, 0.14);
  background: rgba(255, 255, 255, 0.76);
  color: var(--text-soft);
  box-shadow: 0 10px 22px rgba(52, 82, 130, 0.07);
}

html[data-theme="light"] input::placeholder,
html[data-theme="light"] textarea::placeholder {
  color: rgba(64, 89, 119, 0.72);
}

html[data-theme="light"] .insight-box,
html[data-theme="light"] .api-definition,
html[data-theme="light"] .plan-week,
html[data-theme="light"] .mode-card,
html[data-theme="light"] .sample-question,
html[data-theme="light"] .quiz-board,
html[data-theme="light"] .knowledge-row,
html[data-theme="light"] .catalog-row,
html[data-theme="light"] .catalog-feature,
html[data-theme="light"] .catalog-folder,
html[data-theme="light"] .interview-surface-card,
html[data-theme="light"] .interview-question-panel,
html[data-theme="light"] .interview-eval-box,
html[data-theme="light"] .interview-framework-card,
html[data-theme="light"] .knowledge-layer-visual {
  border-color: rgba(48, 83, 132, 0.16);
  background:
    radial-gradient(240px 120px at 82% 12%, rgba(76, 134, 255, 0.08), transparent 74%),
    rgba(250, 252, 255, 0.92);
  box-shadow: 0 16px 34px rgba(52, 82, 130, 0.12);
  color: var(--text);
}

html[data-theme="light"] .interview-framework-card[data-accent="gold"],
html[data-theme="light"] .catalog-feature {
  border-color: rgba(178, 106, 0, 0.18);
  background:
    radial-gradient(220px 120px at 82% 14%, rgba(255, 197, 109, 0.18), transparent 74%),
    rgba(255, 251, 244, 0.96);
}

html[data-theme="light"] .catalog-domain-window {
  border-color: rgba(178, 106, 0, 0.2);
  background: rgba(255, 244, 210, 0.58);
}

html[data-theme="light"] .catalog-domain-chip {
  border-color: color-mix(in srgb, var(--chip-color, #b26a00) 36%, rgba(178, 106, 0, 0.18));
  background:
    radial-gradient(circle at 16% 50%, color-mix(in srgb, var(--chip-color, #b26a00) 18%, transparent), transparent 64%),
    rgba(255, 255, 255, 0.78);
  color: #213a5c;
}

html[data-theme="light"] .interview-framework-card[data-accent="blue"] {
  border-color: rgba(36, 94, 232, 0.18);
  background:
    radial-gradient(220px 120px at 82% 14%, rgba(76, 134, 255, 0.14), transparent 74%),
    rgba(248, 251, 255, 0.94);
}

html[data-theme="light"] .interview-framework-card[data-accent="green"] {
  border-color: rgba(23, 139, 105, 0.18);
  background:
    radial-gradient(220px 120px at 82% 14%, rgba(62, 209, 156, 0.14), transparent 74%),
    rgba(246, 253, 250, 0.95);
}

html[data-theme="light"] .callout,
html[data-theme="light"] .cta-band {
  border-color: rgba(178, 106, 0, 0.18);
  background:
    radial-gradient(220px 120px at 82% 14%, rgba(255, 197, 109, 0.16), transparent 74%),
    rgba(255, 251, 244, 0.96);
  box-shadow: 0 18px 36px rgba(52, 82, 130, 0.12);
}

html[data-theme="light"] .product-pill,
html[data-theme="light"] .interview-pill,
html[data-theme="light"] .quiz-pill,
html[data-theme="light"] .prompt-pill,
html[data-theme="light"] .micro-pill,
html[data-theme="light"] .competency-chip,
html[data-theme="light"] .plan-tag,
html[data-theme="light"] .interview-framework-meta span {
  border-color: rgba(48, 83, 132, 0.16) !important;
  background: rgba(235, 243, 255, 0.92) !important;
  color: var(--text-soft) !important;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.6);
}

html[data-theme="light"] .prompt-pill.is-accent,
html[data-theme="light"] .interview-kicker-pill,
html[data-theme="light"] .knowledge-mini-pill,
html[data-theme="light"] .catalog-badge,
html[data-theme="light"] .category-tag {
  border-color: rgba(178, 106, 0, 0.26) !important;
  background: rgba(255, 197, 109, 0.16) !important;
  color: #8a4e00 !important;
}

html[data-theme="light"] .prompt-pill.is-ok {
  border-color: rgba(23, 139, 105, 0.26) !important;
  background: rgba(62, 209, 156, 0.14) !important;
  color: #176a54 !important;
}

html[data-theme="light"] .domain-pill,
html[data-theme="light"] .domain-drills li {
  border-color: rgba(48, 83, 132, 0.16) !important;
  background: rgba(238, 245, 255, 0.96) !important;
  color: var(--text) !important;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.7);
}

html[data-theme="light"] .domain-plusline,
html[data-theme="light"] .domain-foot {
  color: var(--text-soft);
}

html[data-theme="light"] .domain-plusline::before {
  border-color: rgba(48, 83, 132, 0.16);
  background: rgba(238, 245, 255, 0.96);
  color: var(--text-soft);
}

html[data-theme="light"] .domain-icon {
  box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--domain-accent, #4b7cff) 28%, rgba(48, 83, 132, 0.16));
}

html[data-theme="light"] .api-definition-label,
html[data-theme="light"] .surface-label,
html[data-theme="light"] .knowledge-subhead,
html[data-theme="light"] .odds-source-note,
html[data-theme="light"] .framework-best,
html[data-theme="light"] .example-foot,
html[data-theme="light"] .api-footnote,
html[data-theme="light"] .section-footnote,
html[data-theme="light"] .prompt-support,
html[data-theme="light"] .product-pill,
html[data-theme="light"] .interview-pill,
html[data-theme="light"] .interview-framework-meta span,
html[data-theme="light"] .competency-chip,
html[data-theme="light"] .quiz-pill,
html[data-theme="light"] .prompt-pill,
html[data-theme="light"] .micro-pill,
html[data-theme="light"] .plan-week span,
html[data-theme="light"] .knowledge-row span,
html[data-theme="light"] .catalog-row span,
html[data-theme="light"] .catalog-folder span,
html[data-theme="light"] .mode-card p,
html[data-theme="light"] .mode-list,
html[data-theme="light"] .sample-question p,
html[data-theme="light"] .hero-metric span,
html[data-theme="light"] .score-box span,
html[data-theme="light"] .interview-eval-box span {
  color: var(--text-soft) !important;
}

html[data-theme="light"] .catalog-feature h4,
html[data-theme="light"] .catalog-feature p,
html[data-theme="light"] .catalog-folder strong,
html[data-theme="light"] .knowledge-row strong,
html[data-theme="light"] .catalog-row strong,
html[data-theme="light"] .interview-question-head strong,
html[data-theme="light"] .interview-question-body,
html[data-theme="light"] .interview-framework-card strong,
html[data-theme="light"] .interview-framework-card p,
html[data-theme="light"] .interview-eval-box strong,
html[data-theme="light"] .prompt-text,
html[data-theme="light"] .score-box strong,
html[data-theme="light"] .hero-metric strong,
html[data-theme="light"] .product-head strong,
html[data-theme="light"] .knowledge-mini-head strong,
html[data-theme="light"] .api-definition strong,
html[data-theme="light"] .quiz-prompt,
html[data-theme="light"] .quiz-prompt strong,
html[data-theme="light"] .quiz-option,
html[data-theme="light"] .insight-box strong {
  color: var(--text) !important;
}

html[data-theme="light"] .insight-box span,
html[data-theme="light"] .top-chip span,
html[data-theme="light"] .mission-stat span,
html[data-theme="light"] .api-mini-box span,
html[data-theme="light"] .flashcard-meta,
html[data-theme="light"] .drill-copy span,
html[data-theme="light"] .mission-copy span,
html[data-theme="light"] .mission-time {
  color: var(--text-soft);
}

html[data-theme="light"] .catalog-folder::before {
  background: linear-gradient(135deg, rgba(76, 134, 255, 0.16), rgba(117, 208, 255, 0.08));
}

html[data-theme="light"] .api-definition {
  border-color: rgba(36, 94, 232, 0.18);
  background:
    radial-gradient(180px 110px at 84% 18%, rgba(117, 208, 255, 0.16), transparent 74%),
    rgba(248, 251, 255, 0.94);
}

html[data-theme="light"] .api-definition::after {
  background: linear-gradient(110deg, transparent 18%, rgba(117, 208, 255, 0.1) 46%, transparent 74%);
}

html[data-theme="light"] .api-definition-label::before {
  background: radial-gradient(circle, #4b7cff 0%, rgba(76, 134, 255, 0.18) 72%, transparent 100%);
  box-shadow: 0 0 14px rgba(76, 134, 255, 0.22);
}

html[data-theme="light"] .quiz-option.correct {
  border-color: rgba(23, 139, 105, 0.36);
  box-shadow: inset 0 0 0 1px rgba(23, 139, 105, 0.14);
}

html[data-theme="light"] .quiz-option.is-correct-choice {
  border-color: rgba(16, 129, 94, 0.46);
  background: rgba(219, 255, 239, 0.88);
  color: #075a3f !important;
}

html[data-theme="light"] .quiz-option.is-wrong-choice {
  border-color: rgba(190, 65, 65, 0.42);
  background: rgba(255, 236, 236, 0.88);
  color: #8a1f1f !important;
}

html[data-theme="light"] .quiz-feedback {
  border-color: rgba(178, 106, 0, 0.24);
  background: rgba(255, 247, 226, 0.9);
  color: #7a4700;
}

html[data-theme="light"] .quiz-feedback.is-correct {
  border-color: rgba(16, 129, 94, 0.34);
  background: rgba(224, 255, 241, 0.92);
  color: #075a3f;
}

html[data-theme="light"] .deck-scroll-window::before,
html[data-theme="light"] .descriptor-window::before,
html[data-theme="light"] .knowledge-layer-pills::before {
  background: linear-gradient(90deg, rgba(248, 251, 255, 0.98), rgba(248, 251, 255, 0));
}

html[data-theme="light"] .deck-scroll-window::after,
html[data-theme="light"] .descriptor-window::after,
html[data-theme="light"] .knowledge-layer-pills::after {
  background: linear-gradient(270deg, rgba(248, 251, 255, 0.98), rgba(248, 251, 255, 0));
}

html[data-theme="light"] .knowledge-layer-pills span,
html[data-theme="light"] .knowledge-layer-pills a,
html[data-theme="light"] .deck-lane-link,
html[data-theme="light"] .category-hover-cta a {
  border-color: rgba(178, 106, 0, 0.24);
  background: rgba(255, 197, 109, 0.16);
  color: #8a4e00;
}

html[data-theme="light"] .deck-lane-link span {
  color: rgba(138, 78, 0, 0.72);
}

html[data-theme="light"] .platform-lane {
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.92), rgba(238, 245, 255, 0.88)),
    radial-gradient(180px 120px at 88% 18%, rgba(76, 134, 255, 0.1), transparent 70%);
  border-color: rgba(42, 78, 132, 0.24);
  box-shadow: 0 12px 24px rgba(48, 83, 132, 0.1);
}

html[data-theme="light"] .platform-lane strong {
  color: #0a2145;
}

html[data-theme="light"] .platform-lane span {
  color: #345174;
}

html[data-theme="light"] .platform-lane-metric {
  border-color: rgba(151, 90, 0, 0.32);
  background:
    linear-gradient(180deg, rgba(255, 244, 210, 0.98), rgba(255, 219, 139, 0.42));
  color: #6f3f00;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.54), 0 8px 16px rgba(178, 106, 0, 0.14);
  text-shadow: 0 1px 0 rgba(255, 255, 255, 0.55);
}

html[data-theme="light"] .api-mini-definition {
  border-color: rgba(36, 94, 232, 0.22);
  background:
    radial-gradient(180px 110px at 84% 18%, rgba(76, 134, 255, 0.16), transparent 74%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.95), rgba(238, 246, 255, 0.9));
  box-shadow: 0 18px 34px rgba(52, 82, 130, 0.14);
}

html[data-theme="light"] .api-mini-copy strong {
  color: #0a2145;
}

html[data-theme="light"] .api-mini-copy span {
  color: #345174;
}

html[data-theme="light"] .digit-chip {
  border-color: rgba(42, 78, 132, 0.28);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.96), rgba(226, 238, 255, 0.92));
  color: #0a2145;
  box-shadow: 0 8px 16px rgba(48, 83, 132, 0.12);
}

html[data-theme="light"] .digit-chip.tail {
  border-color: rgba(16, 129, 94, 0.32);
  background: linear-gradient(180deg, rgba(229, 255, 243, 0.96), rgba(190, 246, 222, 0.78));
  color: #075a3f;
}

html[data-theme="light"] .digit-chip.active {
  border-color: rgba(28, 74, 183, 0.44);
  background: linear-gradient(180deg, #2f6dff, #1d4ed8);
  color: #ffffff;
  box-shadow: 0 10px 22px rgba(29, 78, 216, 0.26);
}

html[data-theme="light"] .framework-hover-note,
html[data-theme="light"] .framework-best,
html[data-theme="light"] .example-foot,
html[data-theme="light"] .category-hover-cta strong,
html[data-theme="light"] .score-caption {
  color: #8a4e00;
}

html[data-theme="light"] .api-chart,
html[data-theme="light"] .api-graph,
html[data-theme="light"] .baseline-track,
html[data-theme="light"] .drill-catalog-screen,
html[data-theme="light"] .deck-scroll-window,
html[data-theme="light"] .marquee-window,
html[data-theme="light"] .descriptor-window {
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.5), rgba(235, 243, 255, 0.72)),
    repeating-linear-gradient(
      90deg,
      transparent,
      transparent 34px,
      rgba(48, 83, 132, 0.08) 34px,
      rgba(48, 83, 132, 0.08) 35px
    );
}

html[data-theme="light"] .api-axis-label,
html[data-theme="light"] .api-x-labels {
  color: #456384;
}

html[data-theme="light"] .api-chart-caption {
  color: #184d9b;
}

html[data-theme="light"] .api-chart-point {
  background: #ffffff;
  border-color: #1d4ed8;
  box-shadow: 0 0 0 4px rgba(29, 78, 216, 0.16);
}

html[data-theme="light"] footer {
  border-top-color: rgba(48, 83, 132, 0.12);
}

.footer-link-group {
  display: flex;
  flex-wrap: wrap;
  gap: 0;
}

.footer-meta {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 16px 22px;
  flex-wrap: wrap;
}

.footer-social {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}

.footer-social-label,
.footer-social-heading {
  display: block;
  color: var(--text-muted);
  font-family: "Space Grotesk", Inter, sans-serif;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.footer-social-heading {
  margin: 0 0 8px !important;
  line-height: 1.2;
}

.footer-social-icon {
  width: 24px;
  height: 24px;
  border-radius: 8px;
  object-fit: cover;
  box-shadow:
    0 0 0 1px rgba(149, 184, 255, 0.22),
    0 8px 16px rgba(20, 48, 102, 0.24);
}

.footer-social-links {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
  margin-top: 0;
  vertical-align: top;
}

.footer-col a.social-link,
.footer-row a.social-link,
.social-link {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  min-width: 34px;
  min-height: 34px;
  padding: 0;
  margin: 0 !important;
  border: 0;
  background: transparent;
  color: var(--text-soft);
  font-size: 0;
  line-height: 0;
  text-decoration: none;
  box-shadow: none;
  transition:
    transform 0.18s ease,
    color 0.18s ease;
}

.footer-col a.social-link:hover,
.footer-row a.social-link:hover,
.social-link:hover {
  transform: translateY(-1px);
  color: var(--text);
}

.footer-col a.social-link svg,
.footer-row a.social-link svg,
.social-link svg {
  width: 27px;
  height: 27px;
  flex: 0 0 auto;
  display: block;
}

.footer-col a.social-link[href*="instagram.com"] svg,
.footer-row a.social-link[href*="instagram.com"] svg,
.social-link[href*="instagram.com"] svg {
  width: 27px;
  height: 27px;
}

.footer-col a.social-link[href*="x.com"] svg,
.footer-row a.social-link[href*="x.com"] svg,
.social-link[href*="x.com"] svg {
  width: 27px;
  height: 27px;
}

.footer-col a.social-link svg *,
.footer-row a.social-link svg *,
.social-link svg * {
  vector-effect: non-scaling-stroke;
}

html[data-theme="light"] .footer-col a:hover,
html[data-theme="light"] .footer-row a:hover {
  color: var(--primary);
}

html[data-theme="light"] .footer-social-label,
html[data-theme="light"] .footer-social-heading {
  color: rgba(48, 83, 132, 0.72);
}

html[data-theme="light"] .footer-social-icon {
  box-shadow:
    0 0 0 1px rgba(48, 83, 132, 0.12),
    0 8px 18px rgba(64, 96, 146, 0.12);
}

html[data-theme="light"] .footer-col a.social-link,
html[data-theme="light"] .footer-row a.social-link,
html[data-theme="light"] .social-link {
  color: #36517c;
}

html[data-theme="light"] .footer-col a.social-link:hover,
html[data-theme="light"] .footer-row a.social-link:hover,
html[data-theme="light"] .social-link:hover {
  color: var(--primary);
}

html[data-theme="light"] .store-btn svg path[fill="#eaf1ff"] {
  fill: #14325f;
}

@media (max-width: 700px) {
  html[data-theme="light"] .nav-actions,
  html[data-theme="light"] .nav-links {
    border-color: rgba(48, 83, 132, 0.16);
    background: rgba(255, 255, 255, 0.72);
    box-shadow: 0 12px 26px rgba(52, 82, 130, 0.08);
  }

  .theme-toggle {
    min-height: 44px;
    flex: 0 0 auto;
    white-space: nowrap;
    scroll-snap-align: start;
  }

  .nav-status {
    min-height: 44px;
    flex: 0 0 auto;
    scroll-snap-align: start;
  }

  .footer-meta {
    justify-content: flex-start;
  }

  .footer-social {
    width: 100%;
  }
}

/* Final shared header control pass: keep these pills identical across pages. */
html body .nav-utility,
html body .top-utility {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: flex-end !important;
  gap: 12px !important;
  margin-left: auto !important;
  flex: 0 0 auto !important;
}

html body .theme-toggle,
html body .nav-status {
  box-sizing: border-box !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  height: 40px !important;
  min-height: 40px !important;
  max-height: 40px !important;
  border-radius: 999px !important;
  border: 1px solid rgba(122, 154, 214, 0.28) !important;
  background: linear-gradient(180deg, rgba(14, 29, 56, 0.92), rgba(9, 21, 41, 0.78)) !important;
  color: var(--text-soft) !important;
  font-family: "Space Grotesk", Inter, sans-serif !important;
  font-size: 11px !important;
  font-weight: 800 !important;
  letter-spacing: 0.11em !important;
  line-height: 1 !important;
  text-transform: uppercase !important;
  white-space: nowrap !important;
  flex: 0 0 auto !important;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.05),
    0 12px 26px rgba(2, 10, 25, 0.18) !important;
}

html body .theme-toggle {
  gap: 10px !important;
  padding: 0 16px 0 6px !important;
  cursor: pointer !important;
}

html body .nav-status {
  gap: 10px !important;
  padding: 0 14px !important;
}

html body .theme-toggle:hover,
html body .theme-toggle:focus-visible,
html body .nav-status:hover {
  transform: translateY(-1px) !important;
  border-color: rgba(255, 197, 109, 0.42) !important;
  color: var(--text) !important;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.08),
    0 14px 28px rgba(2, 10, 25, 0.22) !important;
  outline: none !important;
}

html body .theme-toggle [data-theme-icon] {
  display: inline-grid !important;
  place-items: center !important;
  width: 28px !important;
  height: 28px !important;
  min-width: 28px !important;
  border-radius: 999px !important;
  background: radial-gradient(circle at 30% 30%, #fff0a8, #efc64a 56%, #99620c 100%) !important;
  border: 1px solid rgba(255, 214, 112, 0.2) !important;
  box-shadow:
    inset 0 1px 0 rgba(255, 248, 208, 0.6),
    0 8px 18px rgba(255, 197, 109, 0.2) !important;
  font-size: 14px !important;
  line-height: 1 !important;
}

html body .theme-toggle [data-theme-label] {
  display: inline-flex !important;
  align-items: center !important;
  color: inherit !important;
}

html body .nav-status > .pulse {
  width: 10px !important;
  height: 10px !important;
  min-width: 10px !important;
  border-radius: 999px !important;
  background: radial-gradient(circle at 34% 34%, #7ff3c7, #23b982 70%) !important;
  box-shadow:
    0 0 0 4px rgba(62, 209, 156, 0.16),
    0 0 18px rgba(62, 209, 156, 0.36) !important;
  animation: pulse 2.1s infinite !important;
  flex: 0 0 auto !important;
}

html[data-theme="light"] body .theme-toggle,
html[data-theme="light"] body .nav-status {
  border-color: rgba(199, 211, 232, 0.9) !important;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(244, 248, 255, 0.94)) !important;
  color: var(--text) !important;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.92),
    0 12px 24px rgba(52, 82, 130, 0.12) !important;
}

html[data-theme="light"] body .theme-toggle:hover,
html[data-theme="light"] body .theme-toggle:focus-visible,
html[data-theme="light"] body .nav-status:hover {
  border-color: rgba(201, 160, 85, 0.46) !important;
  background: rgba(255, 255, 255, 0.98) !important;
  color: var(--text) !important;
}

html[data-theme="light"] body .theme-toggle [data-theme-icon] {
  background: radial-gradient(circle at 30% 30%, #57668e, #1f2c4e 55%, #0b1328 100%) !important;
  border-color: rgba(48, 83, 132, 0.12) !important;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.08),
    0 8px 18px rgba(52, 82, 130, 0.12) !important;
}

/* Final polish guardrails shared by the static pages. */
html body .footer-grid,
html body .footer-row {
  align-items: flex-start !important;
}

html body .footer-social,
html body .footer-social-links {
  align-items: center !important;
}

html body .footer-social-links {
  gap: 9px !important;
}

html body .footer-social-heading + .footer-social-links,
html body .footer-social-label + .footer-social-links {
  margin-top: 2px !important;
}

html body .social-link {
  opacity: 0.9;
}

html body .social-link:hover,
html body .social-link:focus-visible {
  opacity: 1;
  outline: none;
}

html[data-theme="light"] body .footer-col p,
html[data-theme="light"] body .footer-col a,
html[data-theme="light"] body .footer-row a,
html[data-theme="light"] body .footer-meta {
  color: var(--text-soft) !important;
}

html[data-theme="light"] body .footer-col h4,
html[data-theme="light"] body .footer-social-heading,
html[data-theme="light"] body .footer-social-label {
  color: var(--text) !important;
}
