:root {
  --bg: #070910;
  --bg-elevated: #0c0f18;
  --surface: #0f121c;
  --surface2: #151a28;
  --surface-glass: rgba(18, 22, 34, 0.72);
  --border: rgba(255, 255, 255, 0.08);
  --border-strong: rgba(124, 110, 247, 0.22);
  --accent: #8b7cff;
  --accent-deep: #5b4fd4;
  --accent2: #5ee7b0;
  --text: #eef0f8;
  --text-muted: #9aa3b8;
  --radius: 16px;
  --radius-sm: 12px;
  --shadow: 0 12px 48px rgba(0, 0, 0, 0.55);
  --shadow-soft: 0 4px 24px rgba(0, 0, 0, 0.35);
  --glow: rgba(139, 124, 255, 0.4);
  --ease-out: cubic-bezier(0.22, 1, 0.36, 1);
}

*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  .changelog-backdrop {
    backdrop-filter: none;
  }
  .changelog-modal {
    animation: none !important;
  }
  .orb,
  .rank-card,
  .btn {
    transition: none !important;
    animation: none !important;
  }
  .rank-card.is-live:hover,
  .rank-card.is-soon:hover {
    transform: none !important;
  }
  .lang-btn:active {
    transform: none !important;
  }
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Inter', system-ui, sans-serif;
  background-color: var(--bg);
  background-image:
    radial-gradient(ellipse 120% 80% at 50% -30%, rgba(124, 110, 247, 0.14), transparent 55%),
    radial-gradient(ellipse 70% 50% at 100% 100%, rgba(94, 231, 176, 0.06), transparent 50%);
  color: var(--text);
  min-height: 100vh;
  overflow-x: hidden;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}

.bg-grid {
  position: fixed;
  inset: 0;
  background-image:
    linear-gradient(rgba(124, 110, 247, 0.038) 1px, transparent 1px),
    linear-gradient(90deg, rgba(124, 110, 247, 0.038) 1px, transparent 1px);
  background-size: 40px 40px;
  mask-image: linear-gradient(to bottom, black 0%, black 70%, transparent 100%);
  -webkit-mask-image: linear-gradient(to bottom, black 0%, black 70%, transparent 100%);
  pointer-events: none;
  z-index: 0;
}

.orb {
  position: fixed;
  width: min(95vw, 560px);
  height: min(95vw, 560px);
  border-radius: 50%;
  background: radial-gradient(circle, rgba(139, 124, 255, 0.28) 0%, rgba(124, 110, 247, 0.08) 45%, transparent 68%);
  top: -200px;
  right: -140px;
  pointer-events: none;
  z-index: 0;
  filter: blur(3px);
}

.orb-2 {
  width: min(70vw, 380px);
  height: min(70vw, 380px);
  background: radial-gradient(circle, rgba(94, 231, 176, 0.12) 0%, transparent 70%);
  bottom: -100px;
  left: -80px;
  top: auto;
  right: auto;
}

/* Keep modals position:fixed (same idea as shared/rank-ui.css body > *:not(.modal-backdrop)) */
body > *:not(.bg-grid):not(.orb):not(.changelog-backdrop) {
  position: relative;
  z-index: 1;
}

.page-i18n-root {
  transition:
    opacity 0.28s cubic-bezier(0.4, 0, 0.2, 1),
    transform 0.32s cubic-bezier(0.4, 0, 0.2, 1),
    filter 0.28s cubic-bezier(0.4, 0, 0.2, 1);
}

.page-i18n-root.is-lang-switching {
  opacity: 0;
  transform: translateY(10px) scale(0.992);
  filter: blur(4px);
  /* Do not set pointer-events: none here - it blocks the hub changelog button inside this root. */
}

@media (prefers-reduced-motion: reduce) {
  .page-i18n-root {
    transition: none;
  }
  .page-i18n-root.is-lang-switching {
    transform: none;
    filter: none;
  }
}

.wrap {
  max-width: 1080px;
  margin: 0 auto;
  padding: 0 clamp(18px, 4vw, 28px);
}

/* Header */
header {
  position: sticky;
  top: 0;
  z-index: 50;
  padding: 14px 0;
  margin-bottom: 8px;
  background: rgba(7, 9, 16, 0.78);
  -webkit-backdrop-filter: blur(20px) saturate(1.2);
  backdrop-filter: blur(20px) saturate(1.2);
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  box-shadow: 0 1px 0 rgba(124, 110, 247, 0.12);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
  justify-content: flex-end;
}

.lang-switcher {
  display: inline-flex;
  align-items: center;
  padding: 4px;
  border-radius: 14px;
  background: var(--surface-glass);
  border: 1px solid var(--border);
  gap: 3px;
  box-shadow: var(--shadow-soft), inset 0 1px 0 rgba(255, 255, 255, 0.04);
}

.lang-btn {
  min-width: 38px;
  padding: 7px 9px;
  border: none;
  border-radius: 9px;
  background: transparent;
  color: var(--text-muted);
  font-family: inherit;
  font-size: 0.6875rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  cursor: pointer;
  transition: color 0.2s, background 0.2s, box-shadow 0.2s, transform 0.15s;
}

.lang-btn:hover {
  color: var(--text);
  background: rgba(255, 255, 255, 0.05);
}

.lang-btn.is-active {
  color: #fff;
  background: linear-gradient(145deg, rgba(124, 110, 247, 0.55), rgba(91, 79, 212, 0.45));
  box-shadow:
    0 0 0 1px rgba(124, 110, 247, 0.5),
    0 4px 16px rgba(124, 110, 247, 0.25);
}

.lang-btn:active {
  transform: scale(0.96);
}

.lang-btn:focus-visible {
  outline: 2px solid var(--accent2);
  outline-offset: 2px;
}

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  color: inherit;
}

.logo-mark {
  width: 42px;
  height: 42px;
  border-radius: 14px;
  background: linear-gradient(145deg, var(--accent) 0%, var(--accent-deep) 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  font-weight: 700;
  color: #fff;
  flex-shrink: 0;
  box-shadow:
    0 4px 20px var(--glow),
    inset 0 1px 0 rgba(255, 255, 255, 0.2);
}

.logo-wordmark {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 2px;
}

.logo-text {
  font-size: 1.25rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.1;
}

.logo-42 {
  color: #fff;
}

.logo-exam {
  background: linear-gradient(135deg, #c4b5fd 0%, var(--accent) 45%, var(--accent2) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.logo-domain {
  display: block;
  font-size: 0.75rem;
  font-weight: 500;
  color: var(--text-muted);
  -webkit-text-fill-color: var(--text-muted);
  margin-top: 2px;
}

.nav-cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 18px;
  border-radius: var(--radius-sm);
  background: var(--surface-glass);
  border: 1px solid var(--border);
  color: var(--text);
  text-decoration: none;
  font-size: 0.875rem;
  font-weight: 600;
  letter-spacing: -0.01em;
  transition:
    border-color 0.22s var(--ease-out),
    box-shadow 0.22s var(--ease-out),
    transform 0.2s var(--ease-out),
    background 0.22s var(--ease-out);
}

.nav-cta:hover {
  border-color: var(--border-strong);
  background: rgba(21, 26, 40, 0.88);
  box-shadow: 0 0 0 1px rgba(124, 110, 247, 0.2), 0 8px 28px rgba(0, 0, 0, 0.35);
  transform: translateY(-1px);
}

.nav-cta:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
}

.nav-cta--secondary {
  background: transparent;
  color: var(--text-muted);
}

.nav-cta--secondary:hover {
  color: var(--text);
  border-color: rgba(124, 110, 247, 0.35);
}

/* Hero */
.hero {
  padding: clamp(40px, 8vw, 72px) 0 clamp(48px, 7vw, 64px);
  text-align: center;
  position: relative;
}

.hero-badge {
  display: inline-block;
  font-size: 0.6875rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--accent2);
  background: linear-gradient(135deg, rgba(94, 231, 176, 0.14), rgba(94, 231, 176, 0.05));
  border: 1px solid rgba(94, 231, 176, 0.28);
  padding: 8px 16px;
  border-radius: 100px;
  margin-bottom: 22px;
  box-shadow: 0 0 32px rgba(94, 231, 176, 0.08);
}

.hero h1 {
  font-size: clamp(2.1rem, 5.5vw, 3.35rem);
  font-weight: 800;
  letter-spacing: -0.035em;
  line-height: 1.1;
  margin-bottom: 18px;
  background: linear-gradient(125deg, #ffffff 0%, #e0dcff 38%, var(--accent) 62%, var(--accent2) 105%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-lead {
  font-size: clamp(1rem, 2.2vw, 1.125rem);
  color: var(--text-muted);
  max-width: 38rem;
  margin: 0 auto 32px;
  line-height: 1.65;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: center;
  align-items: center;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 26px;
  border-radius: var(--radius-sm);
  font-size: 0.9375rem;
  font-weight: 600;
  letter-spacing: -0.015em;
  text-decoration: none;
  border: none;
  cursor: pointer;
  font-family: inherit;
  transition:
    transform 0.22s var(--ease-out),
    box-shadow 0.22s var(--ease-out),
    border-color 0.22s var(--ease-out),
    background 0.22s var(--ease-out);
}

.btn-primary {
  background: linear-gradient(145deg, var(--accent) 0%, var(--accent-deep) 100%);
  color: #fff;
  box-shadow:
    0 4px 20px rgba(124, 110, 247, 0.35),
    inset 0 1px 0 rgba(255, 255, 255, 0.15);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow:
    0 12px 40px rgba(124, 110, 247, 0.42),
    inset 0 1px 0 rgba(255, 255, 255, 0.18);
}

.btn-ghost {
  background: var(--surface-glass);
  color: var(--text);
  border: 1px solid var(--border);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.04);
}

.btn-ghost:hover {
  border-color: var(--border-strong);
  background: rgba(21, 26, 40, 0.9);
  transform: translateY(-2px);
  box-shadow: 0 8px 28px rgba(0, 0, 0, 0.3);
}

.btn:focus-visible {
  outline: 2px solid var(--accent2);
  outline-offset: 3px;
}

/* Features strip */
.features {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 18px;
  padding-bottom: 56px;
}

.feature {
  background: linear-gradient(165deg, rgba(22, 26, 40, 0.9) 0%, rgba(15, 18, 28, 0.95) 100%);
  border: 1px solid var(--border);
  border-radius: calc(var(--radius) + 2px);
  padding: 22px 24px;
  transition:
    border-color 0.25s var(--ease-out),
    transform 0.25s var(--ease-out),
    box-shadow 0.25s var(--ease-out);
  box-shadow: var(--shadow-soft), inset 0 1px 0 rgba(255, 255, 255, 0.04);
}

.feature:hover {
  border-color: var(--border-strong);
  transform: translateY(-3px);
  box-shadow:
    0 16px 48px rgba(0, 0, 0, 0.4),
    0 0 0 1px rgba(124, 110, 247, 0.12),
    inset 0 1px 0 rgba(255, 255, 255, 0.06);
}

.feature-icon {
  font-size: 1.625rem;
  margin-bottom: 12px;
  line-height: 1;
  filter: drop-shadow(0 2px 8px rgba(0, 0, 0, 0.35));
}

.feature h2 {
  font-size: 1rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  margin-bottom: 8px;
}

.feature p {
  font-size: 0.875rem;
  color: var(--text-muted);
  line-height: 1.6;
}

/* Ranks section */
.section-head {
  margin-bottom: 24px;
}

.section-head h2 {
  font-size: clamp(1.35rem, 3vw, 1.65rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  margin-bottom: 10px;
}

.section-head p {
  color: var(--text-muted);
  font-size: 0.9375rem;
  line-height: 1.6;
  max-width: 36rem;
}

.ranks {
  padding-bottom: 72px;
}

.rank-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 24px;
  align-items: stretch;
}

@media (max-width: 720px) {
  .rank-grid {
    grid-template-columns: 1fr;
  }
}

.rank-card {
  background: linear-gradient(165deg, rgba(20, 24, 36, 0.95) 0%, rgba(12, 15, 24, 0.98) 100%);
  border: 1px solid var(--border);
  border-radius: calc(var(--radius) + 6px);
  padding: 28px 28px 26px;
  display: flex;
  flex-direction: column;
  min-height: 268px;
  transition:
    border-color 0.28s var(--ease-out),
    transform 0.28s var(--ease-out),
    box-shadow 0.28s var(--ease-out);
  position: relative;
  overflow: hidden;
  box-shadow: var(--shadow-soft), inset 0 1px 0 rgba(255, 255, 255, 0.04);
}

.rank-watermark {
  position: absolute;
  top: 8px;
  right: 12px;
  z-index: 0;
  font-size: clamp(3.5rem, 12vw, 5rem);
  font-weight: 800;
  font-family: 'JetBrains Mono', ui-monospace, monospace;
  line-height: 1;
  color: rgba(255, 255, 255, 0.035);
  pointer-events: none;
  user-select: none;
}

.rank-watermark-live {
  color: rgba(124, 110, 247, 0.12);
}

.rank-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--accent), var(--accent2));
  opacity: 0;
  transition: opacity 0.25s;
}

.rank-card.is-live {
  background:
    radial-gradient(ellipse 90% 70% at 100% -10%, rgba(139, 124, 255, 0.2), transparent 52%),
    linear-gradient(165deg, rgba(22, 26, 42, 0.98) 0%, rgba(14, 17, 28, 1) 100%);
  border-color: rgba(124, 110, 247, 0.28);
  box-shadow:
    0 8px 40px rgba(0, 0, 0, 0.45),
    0 0 0 1px rgba(124, 110, 247, 0.08),
    inset 0 1px 0 rgba(255, 255, 255, 0.05);
}

.rank-card.is-live:hover {
  transform: translateY(-6px);
  border-color: rgba(139, 124, 255, 0.5);
  box-shadow:
    0 24px 64px rgba(124, 110, 247, 0.22),
    0 0 0 1px rgba(124, 110, 247, 0.15),
    inset 0 1px 0 rgba(255, 255, 255, 0.07);
}

.rank-card.is-live:hover::before {
  opacity: 1;
}

.rank-card.is-soon {
  background: var(--surface2);
  border: 1px dashed rgba(255, 255, 255, 0.1);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.04);
}

.rank-card.is-soon:hover {
  border-color: rgba(251, 191, 36, 0.25);
  background:
    radial-gradient(ellipse 70% 50% at 0% 100%, rgba(251, 191, 36, 0.06), transparent 50%),
    var(--surface2);
}

.rank-label {
  font-size: 0.6875rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  margin-bottom: 10px;
  position: relative;
  z-index: 1;
}

.rank-label-soon {
  color: #d4a574;
}

.rank-label-live {
  color: var(--accent2);
}

.rank-card h3 {
  font-size: 1.375rem;
  font-weight: 700;
  margin-bottom: 10px;
  font-family: 'JetBrains Mono', ui-monospace, monospace;
  position: relative;
  z-index: 1;
}

.rank-card.is-soon h3 {
  color: #c4c9d9;
}

.rank-card .desc {
  font-size: 0.875rem;
  color: var(--text-muted);
  flex: 1;
  margin-bottom: 20px;
  line-height: 1.65;
  position: relative;
  z-index: 1;
}

.rank-card.is-soon .desc {
  color: #7d8496;
}

.rank-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
  margin-top: auto;
  position: relative;
  z-index: 1;
}

.pill {
  font-size: 0.75rem;
  font-weight: 600;
  padding: 4px 10px;
  border-radius: 100px;
  background: rgba(94, 231, 176, 0.12);
  color: var(--accent2);
  border: 1px solid rgba(94, 231, 176, 0.2);
}

.pill-muted {
  background: var(--surface2);
  color: var(--text-muted);
  border-color: var(--border);
}

.pill-soon {
  background: rgba(251, 191, 36, 0.1);
  color: #e8c088;
  border-color: rgba(251, 191, 36, 0.22);
}

.rank-card .btn {
  align-self: stretch;
  margin-top: 22px;
  text-align: center;
  position: relative;
  z-index: 1;
}

.soon-note {
  margin-top: 8px;
  padding: 12px 16px;
  border-radius: 10px;
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--text-muted);
  text-align: center;
  background: rgba(0, 0, 0, 0.25);
  border: 1px solid var(--border);
  position: relative;
  z-index: 1;
}

/* Footer */
footer {
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  padding: 32px 0 48px;
  text-align: center;
  background: linear-gradient(to top, rgba(7, 9, 16, 0.95), transparent);
}

footer p {
  font-size: 0.8125rem;
  color: var(--text-muted);
  line-height: 1.65;
}

footer a {
  color: var(--accent);
  text-decoration: none;
}

footer a:hover {
  text-decoration: underline;
}

.footer-version {
  margin-top: 12px;
  font-size: 0.75rem;
  color: var(--text-muted);
  opacity: 0.85;
}

/* Hub: updates + changelog */
.updates {
  padding-bottom: 48px;
}

.updates-card {
  display: flex;
  gap: 22px;
  align-items: flex-start;
  padding: 24px 26px;
  background: linear-gradient(135deg, rgba(139, 124, 255, 0.14), rgba(94, 231, 176, 0.08));
  border: 1px solid rgba(124, 110, 247, 0.32);
  border-radius: calc(var(--radius) + 4px);
  box-shadow:
    0 12px 48px rgba(0, 0, 0, 0.35),
    inset 0 1px 0 rgba(255, 255, 255, 0.06);
}

.updates-icon {
  font-size: 1.75rem;
  line-height: 1;
  flex-shrink: 0;
}

.updates-body {
  flex: 1;
  min-width: 0;
}

.updates-body h2 {
  font-size: 1.125rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  margin-bottom: 8px;
}

.updates-lead {
  font-size: 0.9375rem;
  color: var(--text-muted);
  line-height: 1.55;
  margin-bottom: 16px;
}

.updates-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
}

.updates-changelog-btn,
.updates-suggest-btn {
  padding: 0.65rem 1.1rem;
  font-size: 0.875rem;
}

.changelog-backdrop {
  position: fixed;
  inset: 0;
  z-index: 200;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: max(24px, env(safe-area-inset-top)) max(16px, env(safe-area-inset-right))
    max(24px, env(safe-area-inset-bottom)) max(16px, env(safe-area-inset-left));
  background: rgba(6, 8, 14, 0.72);
  -webkit-backdrop-filter: blur(14px) saturate(1.15);
  backdrop-filter: blur(14px) saturate(1.15);
  isolation: isolate;
}

.changelog-backdrop[hidden] {
  display: none;
}

@keyframes changelogModalIn {
  from {
    transform: translateY(14px) scale(0.98);
    opacity: 0;
  }
  to {
    transform: translateY(0) scale(1);
    opacity: 1;
  }
}

.changelog-modal {
  width: min(720px, 100%);
  max-height: min(85vh, 720px);
  display: flex;
  flex-direction: column;
  background: linear-gradient(180deg, var(--surface2) 0%, var(--surface) 40%);
  border: 1px solid rgba(124, 110, 247, 0.38);
  border-radius: 22px;
  box-shadow:
    var(--shadow),
    0 0 0 1px rgba(255, 255, 255, 0.05) inset,
    0 32px 96px rgba(0, 0, 0, 0.55);
  outline: none;
  animation: changelogModalIn 0.32s var(--ease-out);
}

.changelog-modal-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 22px 24px 18px;
  border-bottom: 1px solid var(--border);
  flex-shrink: 0;
  position: sticky;
  top: 0;
  z-index: 1;
  background: var(--surface);
  border-radius: 20px 20px 0 0;
}

.changelog-modal-header h2 {
  font-size: 1.125rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  margin: 0;
}

.changelog-close {
  flex-shrink: 0;
  width: 40px;
  height: 40px;
  border: none;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.06);
  color: var(--text-muted);
  font-size: 1.1rem;
  line-height: 1;
  cursor: pointer;
  transition: background 0.2s, color 0.2s;
}

.changelog-close:hover {
  background: rgba(255, 255, 255, 0.1);
  color: var(--text);
}

.changelog-close:focus-visible {
  outline: 2px solid var(--accent2);
  outline-offset: 2px;
}

.changelog-modal-scroll {
  flex: 1;
  min-height: 0;
  overflow: auto;
  overscroll-behavior: contain;
  padding: 0 0 8px;
}

.changelog-prose {
  font-size: 0.9375rem;
  line-height: 1.65;
  color: var(--text);
  padding: 8px 24px 28px;
  max-width: 42rem;
  margin: 0 auto;
  min-height: 10rem;
}

.changelog-prose h1 {
  font-family: inherit;
  font-size: 1.0625rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  margin: 0 0 0.75rem;
  color: var(--text);
}

.changelog-prose h2 {
  font-size: 1rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  margin: 1.75rem 0 0.65rem;
  padding-top: 1.25rem;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  color: var(--text);
}

.changelog-prose h2:first-of-type {
  margin-top: 0;
  padding-top: 0;
  border-top: none;
}

.changelog-prose h3 {
  font-size: 0.6875rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--accent);
  margin: 1.35rem 0 0.5rem;
}

.changelog-prose p {
  margin: 0 0 1rem;
  color: var(--text-muted);
}

.changelog-prose p:last-child {
  margin-bottom: 0;
}

.changelog-prose ul {
  margin: 0 0 1.1rem;
  padding-left: 1.35rem;
  list-style: disc;
}

.changelog-prose li {
  margin-bottom: 0.55rem;
  color: var(--text-muted);
  padding-left: 0.15rem;
}

.changelog-prose li::marker {
  color: rgba(124, 110, 247, 0.55);
}

.changelog-prose strong {
  color: var(--text);
  font-weight: 600;
}

.changelog-prose code {
  font-family: 'JetBrains Mono', ui-monospace, monospace;
  font-size: 0.84em;
  font-weight: 500;
  background: rgba(124, 110, 247, 0.1);
  border: 1px solid rgba(124, 110, 247, 0.22);
  border-radius: 6px;
  padding: 0.12em 0.4em;
  color: var(--accent);
}

.changelog-status {
  margin: 0;
  color: var(--text-muted);
  font-size: 0.9375rem;
}

.changelog-prose.is-error .changelog-status {
  color: #fca5a5;
}

.changelog-prose.is-error {
  color: #fca5a5;
}

@media (max-width: 600px) {
  .updates-card {
    flex-direction: column;
    align-items: stretch;
  }

  .header-inner {
    flex-direction: column;
    align-items: stretch;
  }

  .header-actions {
    flex-direction: column;
    align-items: stretch;
  }

  .lang-switcher {
    justify-content: space-between;
    width: 100%;
  }

  .lang-btn {
    flex: 1;
    min-width: 0;
  }

  .nav-cta {
    width: 100%;
    justify-content: center;
  }

  .hero {
    padding-top: 32px;
  }
}
