.wordmark {
  display: inline-block;
  color: #0b1633;
  font: 400 23px/.9 Impact, "Archivo Black", sans-serif;
  letter-spacing: .015em;
  transform: skewX(-8deg);
}

.nav a[aria-current], .exp-nav a[aria-current] { color: #0e5e7a; }
.exp-nav { display: flex; align-items: center; gap: clamp(11px, 2vw, 24px); min-width: 0; }
.exp-nav a { display: inline-flex; align-items: center; min-height: 44px; white-space: nowrap; text-decoration: none; }
.exp-nav a[aria-current] { font-weight: 720; }

.brand-mark, .bar > .brand-mark {
  background: #1498c8;
  box-shadow: 2px 2px 0 #ffc43a;
}

.stage {
  background-color: #e8eefc;
  background-image:
    radial-gradient(ellipse 90% 70% at 12% 0%, rgba(127, 245, 239, .28), transparent 58%),
    radial-gradient(ellipse 80% 60% at 100% 100%, rgba(255, 196, 58, .18), transparent 55%),
    radial-gradient(circle at 2px 2px, #8aaad8 0.95px, transparent 1.3px),
    radial-gradient(circle at 11px 8px, #ffd36a 0.7px, transparent 1.1px);
  background-size: auto, auto, 18px 18px, 24px 24px;
  background-position: 0 0, 0 0, calc(100% - 4px) 1px, 6px 4px;
}

.tabs, .accordion, .comic-action, .upload-zone,
.comic-switch, .comic-confirm, .comic-checkbox-box {
  transition: transform 135ms cubic-bezier(.22,.72,.35,1), box-shadow 135ms cubic-bezier(.22,.72,.35,1),
    background-color 135ms ease-out;
}

.comic-switch[aria-checked="true"] { background-color: #12c4c8; }
.comic-action.primary, .tab-ink, .demo-button[aria-pressed="true"] { background: #0e5e7a; }
.tab-ink { transition: none; }
.primary:active { background: #0b1633; }

@media (hover: hover) and (pointer: fine) {
  .comic-confirm:hover:not(:active), .comic-action:hover:not(:active) { transform: translateY(-2px); }
  .comic-checkbox:has(input:hover) .comic-checkbox-box { background: #e8fbf8; transform: translateY(-1px); }
  .star:hover .star-shape { transform: translateY(-4px) rotate(-6deg); }
  .accordion-btn:hover { background: #e8fbf8; }
}

.comic-switch:active, .upload-zone:active { transform: scale(.97,.94); }
.comic-compact-motion .comic-confirm, .comic-compact-motion .comic-switch,
.no-motion .comic-action, .no-motion .upload-zone, .no-motion .star .star-shape {
  transition: none !important;
  transform: none !important;
}

@media (prefers-reduced-motion: reduce) {
  .comic-action, .comic-switch, .comic-confirm, .comic-checkbox-box, .upload-zone,
  .star .star-shape, .tabs, .accordion {
    transition: none !important;
    transform: none !important;
  }
}

@media (max-width: 430px) {
  .bar { gap: 15px; }
  .nav { gap: 10px; }
  .bar a, .nav a { font-size: 12px; }
  .brand { gap: 6px; }
  .wordmark { font-size: 19px; }
}
