/* LuniVex — main.css */

/* ── Tokens ─────────────────────────────────────────────── */
:root {
  --accent:            #8E84CF;
  --accent-hover:      #A89FE0;
  --accent-dim:        rgba(142, 132, 207, 0.12);
  --accent-dim-hover:  rgba(142, 132, 207, 0.2);
  --bg:                #0E0D16;
  --surface:           #16131F;
  --surface-elevated:  #221C33;
  --border:            #2A2440;
  --border-subtle:     #1E1A2E;
  --text:              #F3F5FF;
  --text-muted:        #C6CCE8;
  --text-faint:        #7A7A9A;

  --radius-sm:   6px;
  --radius-md:   12px;
  --radius-lg:   20px;

  --font-display: 'Outfit', system-ui, sans-serif;
  --font-body:    'Inter', system-ui, sans-serif;

  --max-w: 1080px;
  --header-h: 64px;
}

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

html { scroll-behavior: smooth; }

body {
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.65;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  -webkit-font-smoothing: antialiased;

  /* Radial violet glow — no squares */
  background-image:
    radial-gradient(ellipse 80% 50% at 20% 0%, rgba(142, 132, 207, 0.09) 0%, transparent 60%),
    radial-gradient(ellipse 60% 40% at 80% 100%, rgba(142, 132, 207, 0.06) 0%, transparent 55%);
  background-attachment: fixed;
}

main { flex: 1; }

a { color: inherit; text-decoration: none; }
img, svg { display: block; }
button { cursor: pointer; border: none; background: none; font: inherit; color: inherit; }
ul, ol { list-style: none; }

/* ── Typography ──────────────────────────────────────────── */
h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 600;
  line-height: 1.2;
  letter-spacing: -0.01em;
}

h1 { font-size: clamp(2.2rem, 5vw, 4rem); }
h2 { font-size: clamp(1.5rem, 3vw, 2.25rem); }
h3 { font-size: 1.15rem; font-weight: 500; }

/* ── Layout helpers ──────────────────────────────────────── */
.container {
  width: 100%;
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 1.5rem;
}

/* ── Header ──────────────────────────────────────────────── */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  height: var(--header-h);
  background: rgba(8, 7, 13, 0.94);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid rgba(42, 36, 64, 0.5);
}

.header-inner {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 1.5rem;
  height: 100%;
  display: flex;
  align-items: center;
  gap: 2rem;
}

/* Wordmark */
.wordmark {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-shrink: 0;
  text-decoration: none;
}

.wordmark .crescent {
  width: 22px;
  height: 22px;
  flex-shrink: 0;
}

.wordmark-text {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1.05rem;
  color: var(--text);
  letter-spacing: -0.01em;
}

.wordmark--small .crescent { width: 18px; height: 18px; }
.wordmark--small .wordmark-text { font-size: 0.95rem; }

/* Nav */
.site-nav {
  display: flex;
  align-items: center;
  gap: 0.25rem;
  margin-left: auto;
  flex-wrap: nowrap;
  overflow: hidden;
}

.nav-link {
  font-family: var(--font-body);
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--text-muted);
  padding: 0.4rem 0.75rem;
  border-radius: var(--radius-sm);
  transition: color 0.15s, background 0.15s;
}

.nav-link:hover {
  color: var(--text);
  background: var(--accent-dim);
}

.nav-link--active {
  color: var(--accent-hover);
}

.nav-github {
  display: flex;
  align-items: center;
  color: var(--text-faint);
  margin-left: 0.5rem;
  padding: 0.4rem;
  border-radius: var(--radius-sm);
  transition: color 0.15s;
}

.nav-github:hover { color: var(--text); }

/* ── Hero ────────────────────────────────────────────────── */
.hero {
  padding: 6rem 0 5rem;
  text-align: center;
}

.hero-crescent {
  display: flex;
  justify-content: center;
  margin-bottom: 2rem;
}

.hero-moon {
  width: 100px;
  height: 100px;
  overflow: visible;
}

/* Orbiting stars - each rotates around center (60,60) at different speeds/radii */
.star-orbit {
  transform-origin: 60px 60px;
}
.star-orbit-1 { animation: orbit 14s linear infinite; }
.star-orbit-2 { animation: orbit 22s linear infinite reverse; }
.star-orbit-3 { animation: orbit 9s linear infinite; animation-delay: -3s; }
.star-orbit-4 { animation: orbit 18s linear infinite reverse; animation-delay: -7s; }

@keyframes orbit {
  from { transform: rotate(0deg); }
  to   { transform: rotate(360deg); }
}

/* Scattered twinkling stars */
.star-twinkle { animation: twinkle 3s ease-in-out infinite; opacity: 0; }
.star-t1 { animation-delay: 0s; }
.star-t2 { animation-delay: 0.6s; }
.star-t3 { animation-delay: 1.2s; }
.star-t4 { animation-delay: 1.8s; }
.star-t5 { animation-delay: 0.9s; }
.star-t6 { animation-delay: 2.4s; }

@keyframes twinkle {
  0%, 100% { opacity: 0; }
  50%       { opacity: 1; }
}

/* Crescent color pulse - gradient shift only, no scale */
.hero-moon rect {
  animation: moon-pulse 4s ease-in-out infinite;
}

@keyframes moon-pulse {
  0%, 100% { opacity: 0.75; }
  50%       { opacity: 1; }
}

.hero h1 {
  max-width: 720px;
  margin: 0 auto 1.25rem;
  color: var(--text);
}

.hero h1 em {
  font-style: normal;
  color: var(--accent-hover);
}

.hero-sub {
  max-width: 540px;
  margin: 0 auto 2.5rem;
  font-size: 1.05rem;
  color: var(--text-muted);
  line-height: 1.7;
}

.hero-actions {
  display: flex;
  gap: 0.75rem;
  justify-content: center;
  flex-wrap: wrap;
}

/* ── Buttons ─────────────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-family: var(--font-body);
  font-size: 0.925rem;
  font-weight: 500;
  padding: 0.65rem 1.4rem;
  border-radius: var(--radius-md);
  transition: background 0.15s, color 0.15s, opacity 0.15s;
  text-decoration: none;
  white-space: nowrap;
}

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

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

.btn-ghost {
  background: var(--accent-dim);
  color: var(--accent-hover);
  border: 1px solid var(--border);
}

.btn-ghost:hover {
  background: var(--accent-dim-hover);
  color: var(--text);
}

/* ── Sections ────────────────────────────────────────────── */
.section {
  padding: 5rem 0;
}

.section + .section {
  border-top: 1px solid var(--border-subtle);
}

.section-label {
  font-family: var(--font-display);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 0.75rem;
}

.section-heading {
  margin-bottom: 3rem;
}

.section-heading h2 { margin-bottom: 0.5rem; }

.section-heading p {
  color: var(--text-muted);
  font-size: 1.05rem;
  max-width: 540px;
}

/* ── Pillars ─────────────────────────────────────────────── */
.pillars-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1px;
  background: var(--border-subtle);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  overflow: hidden;
}

.pillar {
  background: var(--surface);
  padding: 2rem 1.75rem;
  transition: background 0.15s;
}

.pillar:hover { background: var(--surface-elevated); }

.pillar-icon {
  width: 32px;
  height: 32px;
  margin-bottom: 1rem;
  color: var(--accent);
}

.pillar h3 {
  margin-bottom: 0.6rem;
  color: var(--text);
}

.pillar p {
  font-size: 0.9rem;
  color: var(--text-muted);
  line-height: 1.65;
}

/* ── Roadmap ─────────────────────────────────────────────── */
.roadmap-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 1.25rem;
}

.roadmap-col {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 1.5rem;
}

.roadmap-phase {
  font-family: var(--font-display);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-bottom: 1rem;
}

.roadmap-phase--done    { color: var(--accent-hover); }
.roadmap-phase--active  { color: #9BE3A0; }
.roadmap-phase--planned { color: var(--text-muted); }
.roadmap-phase--maybe   { color: var(--text-faint); }

.roadmap-items {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.roadmap-item {
  font-size: 0.875rem;
  color: var(--text-muted);
  padding-left: 1rem;
  position: relative;
}

.roadmap-item::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0.55em;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--border);
}

.roadmap-col:first-child .roadmap-item { color: var(--text); }
.roadmap-col:first-child .roadmap-item::before { background: var(--accent); }

/* ── FAQ ─────────────────────────────────────────────────── */
.faq-list {
  display: flex;
  flex-direction: column;
  gap: 0;
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  overflow: hidden;
}

.faq-item {
  border-bottom: 1px solid var(--border);
  background: var(--surface);
}

.faq-item:last-child { border-bottom: none; }

.faq-q {
  width: 100%;
  text-align: left;
  padding: 1.25rem 1.5rem;
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--text);
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  cursor: pointer;
  transition: background 0.15s;
}

.faq-q:hover { background: var(--surface-elevated); }

.faq-q svg {
  flex-shrink: 0;
  color: var(--text-faint);
  transition: transform 0.2s;
}

.faq-item.open .faq-q svg { transform: rotate(45deg); }

.faq-a {
  display: none;
  padding: 0 1.5rem 1.25rem;
  font-size: 0.9rem;
  color: var(--text-muted);
  line-height: 1.7;
}

.faq-item.open .faq-a { display: block; }

/* ── Download page ───────────────────────────────────────── */
.page-hero {
  padding: 5rem 0 3.5rem;
}

.page-hero h1 { margin-bottom: 0.75rem; }

.page-hero p {
  font-size: 1.05rem;
  color: var(--text-muted);
  max-width: 500px;
}

.platforms-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1.25rem;
  margin-bottom: 3rem;
}

.platform-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 2rem 1.75rem;
}

.platform-icon {
  width: 36px;
  height: 36px;
  margin-bottom: 1.25rem;
  color: var(--text-muted);
}

.platform-card h3 {
  margin-bottom: 0.5rem;
  font-size: 1.05rem;
}

.platform-card p {
  font-size: 0.875rem;
  color: var(--text-muted);
  line-height: 1.65;
  margin-bottom: 1.25rem;
}

.status-badge {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 0.3rem 0.65rem;
  border-radius: 100px;
}

.status-badge--soon    { background: var(--accent-dim); color: var(--accent-hover); }
.status-badge--planned { background: rgba(255,255,255,0.05); color: var(--text-faint); }

.github-notice {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 1.75rem;
  display: flex;
  align-items: flex-start;
  gap: 1rem;
}

.github-notice svg {
  flex-shrink: 0;
  color: var(--text-faint);
  margin-top: 2px;
}

.github-notice p {
  font-size: 0.9rem;
  color: var(--text-muted);
  line-height: 1.65;
}

.github-notice a {
  color: var(--accent-hover);
  text-decoration: underline;
  text-underline-offset: 3px;
}

/* ── Trust page ──────────────────────────────────────────── */
.trust-sections {
  display: flex;
  flex-direction: column;
  gap: 3rem;
}

.trust-block {
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 2rem;
  padding-bottom: 3rem;
  border-bottom: 1px solid var(--border-subtle);
}

.trust-block:last-child {
  border-bottom: none;
  padding-bottom: 0;
}

.trust-block h3 {
  font-size: 1.05rem;
  color: var(--text);
  padding-top: 0.15rem;
}

.trust-block p {
  font-size: 0.95rem;
  color: var(--text-muted);
  line-height: 1.75;
}

/* ── Footer ──────────────────────────────────────────────── */
.site-footer {
  border-top: 1px solid rgba(42, 36, 64, 0.5);
  padding: 3.5rem 0 2.5rem;
  background: #080711;
  margin-top: auto;
}

.footer-inner {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 1.5rem;
  display: flex;
  gap: 4rem;
  align-items: flex-start;
  flex-wrap: wrap;
}

.footer-brand {
  flex: 0 0 200px;
}

.footer-brand .wordmark { margin-bottom: 1rem; }

.footer-social {
  display: flex;
  gap: 0.75rem;
  margin-bottom: 1.25rem;
}

.footer-social a {
  color: var(--text-faint);
  transition: color 0.15s;
  display: flex;
  align-items: center;
}

.footer-social a:hover { color: var(--text-muted); }

.footer-copy {
  font-size: 0.8rem;
  color: var(--text-faint);
  margin-bottom: 0.4rem;
}

.footer-not-official {
  font-size: 0.68rem;
  color: var(--text-faint);
  opacity: 0.6;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  line-height: 1.5;
  max-width: 220px;
}

.footer-cols {
  flex: 1;
  display: flex;
  gap: 4rem;
  flex-wrap: wrap;
  justify-content: flex-end;
}

.footer-col {
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
  min-width: 100px;
}

.footer-col-heading {
  font-family: var(--font-display);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 0.25rem;
}

.footer-col a {
  font-size: 0.875rem;
  color: var(--text-faint);
  transition: color 0.15s;
}

.footer-col a:hover { color: var(--text-muted); }

@media (max-width: 680px) {
  .footer-inner { flex-direction: column; gap: 2rem; }
  .footer-brand { flex: none; }
  .footer-cols { gap: 2rem; }
}

/* ── Changelog timeline ──────────────────────────────────── */
.cl-timeline {
  padding-bottom: 4rem;
  display: flex;
  flex-direction: column;
  gap: 0;
}

.cl-entry {
  display: grid;
  grid-template-columns: 160px 1fr;
  gap: 0 2rem;
  position: relative;
}

.cl-entry::before {
  content: '';
  position: absolute;
  left: 155px;
  top: 1.1rem;
  bottom: -2rem;
  width: 1px;
  background: var(--border);
}

.cl-entry:last-child::before { display: none; }

.cl-entry-aside {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  padding-top: 0.9rem;
  padding-bottom: 2.5rem;
  position: relative;
}

.cl-dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--border);
  border: 2px solid var(--bg);
  position: absolute;
  right: -6px;
  top: 0.85rem;
  z-index: 1;
}

.cl-dot--latest {
  background: var(--accent);
  width: 14px;
  height: 14px;
  right: -7px;
}

.cl-dot-inner {
  position: absolute;
  inset: 3px;
  border-radius: 50%;
  background: var(--accent-hover);
  animation: status-pulse 2.5s ease-in-out infinite;
}

.cl-date {
  font-size: 0.8rem;
  color: var(--text-faint);
  text-align: right;
  padding-right: 0.5rem;
  margin-top: 0.1rem;
}

.cl-entry-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 1.5rem;
  margin-bottom: 2rem;
}

.cl-entry-header {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 1.25rem;
}

.cl-version {
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 600;
  color: var(--text);
}

.cl-section { margin-bottom: 1rem; }
.cl-section:last-child { margin-bottom: 0; }

.cl-section-label {
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 0.5rem;
}

.cl-type--added   { color: #9BE3A0; }
.cl-type--removed { color: #E38A8A; }
.cl-type--changed { color: var(--accent-hover); }
.cl-type--fixed   { color: #8AB4E3; }

.cl-items {
  list-style: disc;
  padding-left: 1.1rem;
  display: flex;
  flex-direction: column;
  gap: 0.3rem;
}

.cl-items li {
  font-size: 0.875rem;
  color: var(--text-muted);
  line-height: 1.6;
}

@media (max-width: 640px) {
  .cl-entry { grid-template-columns: 1fr; }
  .cl-entry::before { display: none; }
  .cl-entry-aside { flex-direction: row; align-items: center; padding-bottom: 0.75rem; }
  .cl-dot { position: static; margin-right: 0.5rem; }
  .cl-date { text-align: left; padding-right: 0; }
}

/* ── Trust page overhaul ─────────────────────────────────── */
.trust-hero {
  padding: 5rem 0 4rem;
  border-bottom: 1px solid var(--border-subtle);
}

.trust-hero h1 { margin-bottom: 1rem; }

.trust-hero-sub {
  font-size: 1.05rem;
  color: var(--text-muted);
  max-width: 520px;
  line-height: 1.7;
  margin-bottom: 3rem;
}

.trust-stats {
  display: flex;
  gap: 3rem;
  flex-wrap: wrap;
}

.trust-stat-value {
  font-family: var(--font-display);
  font-size: 2.2rem;
  font-weight: 600;
  color: var(--accent-hover);
  line-height: 1;
  margin-bottom: 0.3rem;
}

.trust-stat-label {
  font-size: 0.8rem;
  color: var(--text-faint);
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.trust-body { padding: 4rem 0; }

.trust-sections {
  display: flex;
  flex-direction: column;
  gap: 0;
  margin-bottom: 3rem;
}

.trust-section {
  display: grid;
  grid-template-columns: 48px 1fr;
  gap: 1.5rem;
  padding: 2.5rem 0;
  border-bottom: 1px solid var(--border-subtle);
}

.trust-section:last-child { border-bottom: none; }

.trust-section-num {
  font-family: var(--font-display);
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--accent);
  opacity: 0.5;
  padding-top: 0.3rem;
}

.trust-section-content h2 {
  font-size: 1.1rem;
  margin-bottom: 0.65rem;
}

.trust-section-content p {
  font-size: 0.925rem;
  color: var(--text-muted);
  line-height: 1.8;
}

.trust-cta {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 2.5rem;
  margin-bottom: 2rem;
}

.trust-cta-title {
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight: 600;
  color: var(--text);
  margin-bottom: 0.5rem;
}

.trust-cta-sub {
  font-size: 0.9rem;
  color: var(--text-muted);
  line-height: 1.65;
  max-width: 500px;
  margin-bottom: 0;
}

/* ── Status page ─────────────────────────────────────────── */
.status-page {
  max-width: 680px;
  margin: 0 auto;
  padding: 4rem 0;
}

.status-page-hero {
  margin-bottom: 2.5rem;
}

.status-indicator {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.75rem 1.25rem;
  border-radius: var(--radius-md);
  border: 1px solid var(--border);
  background: var(--surface);
  margin-bottom: 0.75rem;
}

.status-indicator--operational { border-color: rgba(155, 227, 160, 0.3); }
.status-indicator--degraded    { border-color: rgba(227, 201, 138, 0.3); }
.status-indicator--down        { border-color: rgba(227, 138, 138, 0.3); }

.status-indicator-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  flex-shrink: 0;
}

.status-indicator--operational .status-indicator-dot { background: #9BE3A0; animation: status-pulse 2.5s ease-in-out infinite; }
.status-indicator--degraded    .status-indicator-dot { background: #E3C98A; }
.status-indicator--down        .status-indicator-dot { background: #E38A8A; }

.status-indicator-label {
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 600;
  color: var(--text);
}

.status-updated {
  font-size: 0.8rem;
  color: var(--text-faint);
}

.status-items {
  display: flex;
  flex-direction: column;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  overflow: hidden;
  margin-bottom: 2rem;
}

.status-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1rem 1.25rem;
  border-bottom: 1px solid var(--border-subtle);
}

.status-item:last-child { border-bottom: none; }

.status-item-name {
  font-size: 0.9rem;
  color: var(--text);
  font-weight: 500;
}

.status-item-badge {
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 0.25rem 0.65rem;
  border-radius: 100px;
}

.status-badge--operational { background: rgba(155, 227, 160, 0.12); color: #9BE3A0; }
.status-badge--testing     { background: var(--accent-dim); color: var(--accent-hover); }
.status-badge--degraded    { background: rgba(227, 201, 138, 0.12); color: #E3C98A; }
.status-badge--down        { background: rgba(227, 138, 138, 0.12); color: #E38A8A; }

.status-note {
  font-size: 0.875rem;
  color: var(--text-faint);
  line-height: 1.65;
}

.status-note a { color: var(--accent-hover); text-decoration: underline; text-underline-offset: 3px; }

/* ── Team discord badge ──────────────────────────────────── */
.team-discord { cursor: default; }

/* ── Comparison table ────────────────────────────────────── */
.compare-wrap {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  border-radius: var(--radius-md);
  border: 1px solid var(--border);
}

.compare-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.875rem;
}

.compare-table thead tr {
  background: var(--surface-elevated);
  border-bottom: 1px solid var(--border);
}

.compare-table th {
  padding: 0.85rem 1.25rem;
  text-align: center;
  font-family: var(--font-display);
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--text-muted);
  white-space: nowrap;
}

.compare-th--lunivex {
  color: var(--accent-hover);
  background: rgba(142, 132, 207, 0.08);
}

.compare-table th:first-child { text-align: left; }

.compare-table tbody tr {
  border-bottom: 1px solid var(--border-subtle);
  background: var(--surface);
  transition: background 0.12s;
}

.compare-table tbody tr:last-child { border-bottom: none; }
.compare-table tbody tr:hover { background: var(--surface-elevated); }

.compare-label {
  padding: 0.85rem 1.25rem;
  color: var(--text-muted);
  font-weight: 500;
  white-space: nowrap;
}

.compare-table td {
  padding: 0.85rem 1.25rem;
  text-align: center;
  vertical-align: middle;
}

.compare-td--lunivex {
  background: rgba(142, 132, 207, 0.05);
}

.compare-icon {
  width: 16px;
  height: 16px;
  display: inline-block;
  vertical-align: middle;
}

.compare-icon--yes { color: #9BE3A0; }
.compare-icon--no  { color: #E38A8A; }

.compare-text {
  font-size: 0.78rem;
  color: var(--text-faint);
}

.compare-val--good .compare-text   { color: #9BE3A0; }
.compare-val--bad .compare-text    { color: #E38A8A; }
.compare-val--neutral .compare-text { color: var(--accent-hover); }

.compare-note {
  font-size: 0.75rem;
  color: var(--text-faint);
  padding: 0.75rem 1.25rem;
  border-top: 1px solid var(--border-subtle);
  background: var(--surface);
  line-height: 1.6;
}

/* ── Reading progress bar ────────────────────────────────── */
.reading-progress-track {
  position: fixed;
  top: var(--header-h);
  left: 0;
  right: 0;
  height: 2px;
  background: var(--border-subtle);
  z-index: 99;
}

.reading-progress-bar {
  height: 100%;
  width: 0%;
  background: var(--accent);
  transition: width 0.1s linear;
}

/* ── Article share row ───────────────────────────────────── */
.article-share {
  display: flex;
  gap: 0.5rem;
  flex-wrap: wrap;
  margin-top: 2.5rem;
  padding-top: 2rem;
  border-top: 1px solid var(--border-subtle);
}

.share-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  font-size: 0.8rem;
  font-weight: 500;
  color: var(--text-faint);
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 0.45rem 0.85rem;
  cursor: pointer;
  transition: color 0.15s, border-color 0.15s, background 0.15s;
  text-decoration: none;
  font-family: var(--font-body);
}

.share-btn:hover {
  color: var(--text);
  border-color: var(--accent);
  background: var(--accent-dim);
}

/* ── Scroll to top ───────────────────────────────────────── */
.scroll-top {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--surface-elevated);
  border: 1px solid var(--border);
  color: var(--text-muted);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  opacity: 0;
  transform: translateY(8px);
  transition: opacity 0.2s, transform 0.2s, background 0.15s;
  z-index: 90;
}

.scroll-top--visible {
  opacity: 1;
  transform: translateY(0);
}

.scroll-top:hover {
  background: var(--accent-dim);
  border-color: var(--accent);
  color: var(--accent-hover);
}

/* ── Changelog ───────────────────────────────────────────── */
.changelog-list {
  position: relative;
  padding-left: 1.5rem;
  padding-bottom: 4rem;
}

.changelog-list::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0.5rem;
  bottom: 0;
  width: 1px;
  background: var(--border);
}

.changelog-entry {
  position: relative;
  margin-bottom: 3rem;
}

.changelog-dot {
  position: absolute;
  left: -1.875rem;
  top: 0.4rem;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--accent);
  border: 2px solid var(--bg);
}

.changelog-entry-inner {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 1.5rem;
}

.changelog-entry-header {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 1.25rem;
  flex-wrap: wrap;
}

.changelog-version {
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 600;
  color: var(--text);
}

.changelog-date {
  font-size: 0.8rem;
  color: var(--text-faint);
  margin-left: auto;
}

.changelog-section {
  margin-bottom: 1rem;
}

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

.changelog-section-type {
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  margin-bottom: 0.5rem;
}

.changelog-type--added   { color: #9BE3A0; }
.changelog-type--removed { color: #E38A8A; }
.changelog-type--changed { color: var(--accent-hover); }
.changelog-type--fixed   { color: #8AB4E3; }

.changelog-items {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  padding-left: 1rem;
  list-style: disc;
}

.changelog-items li {
  font-size: 0.875rem;
  color: var(--text-muted);
  line-height: 1.6;
}

/* ── News article ────────────────────────────────────────── */
.article-wrap {
  max-width: 680px;
  margin: 0 auto;
  padding: 3.5rem 0 5rem;
}

.article-back {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.85rem;
  color: var(--text-faint);
  margin-bottom: 2rem;
  transition: color 0.15s;
}

.article-back:hover { color: var(--text-muted); }

.article-meta {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 1rem;
  flex-wrap: wrap;
}

.article-author {
  font-size: 0.8rem;
  color: var(--text-faint);
}

.article-title {
  font-size: clamp(1.6rem, 4vw, 2.4rem);
  margin-bottom: 1rem;
  line-height: 1.2;
}

.article-summary {
  font-size: 1.05rem;
  color: var(--text-muted);
  line-height: 1.7;
  margin-bottom: 2.5rem;
  padding-bottom: 2.5rem;
  border-bottom: 1px solid var(--border-subtle);
}

.article-body {
  display: flex;
  flex-direction: column;
  gap: 1.4rem;
}

.article-body p {
  font-size: 0.975rem;
  color: var(--text-muted);
  line-height: 1.8;
}

/* ── News page ───────────────────────────────────────────── */
.news-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 1.25rem;
  padding-bottom: 4rem;
}

.news-card {
  display: flex;
  flex-direction: column;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  overflow: hidden;
  transition: background 0.15s, border-color 0.15s;
  text-decoration: none;
  color: inherit;
}

.news-card:hover {
  background: var(--surface-elevated);
  border-color: rgba(142, 132, 207, 0.3);
}

.news-card-image {
  width: 100%;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  background: var(--surface-elevated);
  border-bottom: 1px solid var(--border);
}

.news-card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.news-card-image-placeholder {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, #16131F 0%, #1E1A2E 100%);
}

.news-card-image-placeholder svg {
  width: 36px;
  height: 36px;
  opacity: 0.3;
}

.news-card-content {
  display: flex;
  flex-direction: column;
  padding: 1.5rem;
  flex: 1;
}

.news-card-meta {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 0.75rem;
}

.news-tag {
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--accent-hover);
  background: var(--accent-dim);
  padding: 0.25rem 0.6rem;
  border-radius: 100px;
}

.news-date {
  font-size: 0.8rem;
  color: var(--text-faint);
}

.news-card-title {
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--text);
  margin-bottom: 0.6rem;
  line-height: 1.35;
}

.news-card-summary {
  font-size: 0.875rem;
  color: var(--text-muted);
  line-height: 1.7;
  flex: 1;
}

.news-read-more {
  display: inline-block;
  margin-top: 1.25rem;
  font-size: 0.8rem;
  font-weight: 500;
  color: var(--accent);
  transition: color 0.15s;
}

.news-card:hover .news-read-more { color: var(--accent-hover); }

/* Article image */
.article-image {
  width: 100%;
  aspect-ratio: 16 / 9;
  border-radius: var(--radius-md);
  overflow: hidden;
  margin-bottom: 2.5rem;
  border: 1px solid var(--border);
}

.article-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* ── Status pill ─────────────────────────────────────────── */
.header-right {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-left: 0.5rem;
}

.status-pill {
  display: flex;
  align-items: center;
  gap: 0.45rem;
  font-size: 0.75rem;
  color: var(--text-faint);
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 100px;
  padding: 0.3rem 0.7rem;
  transition: border-color 0.15s, color 0.15s;
  white-space: nowrap;
}

.status-pill:hover { color: var(--text-muted); border-color: var(--accent); }

.status-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  flex-shrink: 0;
  animation: status-pulse 2.5s ease-in-out infinite;
}

@keyframes status-pulse {
  0%, 100% { opacity: 1; }
  50%       { opacity: 0.5; }
}

.status-pill-label { display: none; }

@media (min-width: 860px) {
  .status-pill-label { display: inline; }
}

/* ── Discord banner ──────────────────────────────────────── */
.discord-banner {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 2rem 2.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  flex-wrap: wrap;
}

.discord-banner-left {
  display: flex;
  align-items: flex-start;
  gap: 1.25rem;
}

.discord-banner-icon {
  flex-shrink: 0;
  color: #7289DA;
  margin-top: 2px;
}

.discord-banner-title {
  font-family: var(--font-display);
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--text);
  margin-bottom: 0.3rem;
}

.discord-banner-sub {
  font-size: 0.875rem;
  color: var(--text-muted);
  line-height: 1.6;
  max-width: 480px;
}

/* ── Ko-fi banner ────────────────────────────────────────── */
.kofi-banner {
  margin-top: 2rem;
  margin-bottom: 2rem;
}

.kofi-banner-inner {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 2rem 2.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  flex-wrap: wrap;
}

.kofi-banner-title {
  font-family: var(--font-display);
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--text);
  margin-bottom: 0.3rem;
}

.kofi-banner-sub {
  font-size: 0.875rem;
  color: var(--text-muted);
  line-height: 1.6;
  max-width: 480px;
}

/* ── FAQ page ────────────────────────────────────────────── */
.faq-page {
  display: flex;
  flex-direction: column;
  gap: 3rem;
  padding-bottom: 2rem;
}

.faq-category-heading {
  font-size: 1rem;
  font-weight: 600;
  color: var(--text-muted);
  margin-bottom: 0.75rem;
  padding-bottom: 0.75rem;
  border-bottom: 1px solid var(--border-subtle);
}

.faq-footer {
  padding: 2rem 0 4rem;
  font-size: 0.9rem;
  color: var(--text-faint);
}

.faq-footer a {
  color: var(--accent-hover);
  text-decoration: underline;
  text-underline-offset: 3px;
}

/* ── Roadmap page ────────────────────────────────────────── */
.roadmap-page-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1.25rem;
  padding-bottom: 4rem;
}

.roadmap-page-col {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 1.5rem;
}

.roadmap-page-col-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 1.25rem;
  padding-bottom: 0.75rem;
  border-bottom: 1px solid var(--border-subtle);
}

.roadmap-page-phase {
  font-family: var(--font-display);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.roadmap-page-col--done   .roadmap-page-phase { color: var(--accent-hover); }
.roadmap-page-col--active .roadmap-page-phase { color: #9BE3A0; }
.roadmap-page-col--planned .roadmap-page-phase { color: var(--text-muted); }
.roadmap-page-col--maybe  .roadmap-page-phase { color: var(--text-faint); }

.roadmap-page-count {
  font-size: 0.75rem;
  color: var(--text-faint);
  background: var(--surface-elevated);
  border: 1px solid var(--border);
  border-radius: 100px;
  padding: 0.1rem 0.5rem;
}

.roadmap-page-items {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.roadmap-page-item {
  display: flex;
  gap: 0.65rem;
  align-items: flex-start;
}

.roadmap-page-item-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--border);
  flex-shrink: 0;
  margin-top: 0.4rem;
}

.roadmap-page-col--done   .roadmap-page-item-dot { background: var(--accent); }
.roadmap-page-col--active .roadmap-page-item-dot { background: #9BE3A0; }

.roadmap-page-item-title {
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--text);
  margin-bottom: 0.2rem;
}

.roadmap-page-item-body {
  font-size: 0.8rem;
  color: var(--text-faint);
  line-height: 1.55;
}

/* ── Legal pages ─────────────────────────────────────────── */
.legal-page {
  max-width: 720px;
  margin: 0 auto;
  padding: 4rem 0 5rem;
}

.legal-hero {
  margin-bottom: 3rem;
  padding-bottom: 2rem;
  border-bottom: 1px solid var(--border-subtle);
}

.legal-hero h1 { margin-bottom: 0.5rem; }

.legal-meta {
  font-size: 0.8rem;
  color: var(--text-faint);
}

.legal-summary {
  background: var(--surface);
  border: 1px solid var(--border);
  border-left: 3px solid var(--accent);
  border-radius: var(--radius-sm);
  padding: 1.25rem 1.5rem;
  margin-bottom: 2.5rem;
}

.legal-summary p {
  font-size: 0.925rem;
  color: var(--text-muted);
  line-height: 1.7;
}

.legal-section {
  margin-bottom: 2.5rem;
  padding-bottom: 2.5rem;
  border-bottom: 1px solid var(--border-subtle);
}

.legal-section:last-child {
  border-bottom: none;
  margin-bottom: 0;
  padding-bottom: 0;
}

.legal-section h2 {
  font-size: 1rem;
  font-weight: 600;
  color: var(--text);
  margin-bottom: 0.85rem;
}

.legal-section p {
  font-size: 0.9rem;
  color: var(--text-muted);
  line-height: 1.8;
  margin-bottom: 0.75rem;
}

.legal-section p:last-child { margin-bottom: 0; }

.legal-section ul {
  list-style: disc;
  padding-left: 1.25rem;
  margin: 0.75rem 0;
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}

.legal-section ul li {
  font-size: 0.9rem;
  color: var(--text-muted);
  line-height: 1.7;
}

.legal-section a {
  color: var(--accent-hover);
  text-decoration: underline;
  text-underline-offset: 3px;
}

/* ── 404 page ────────────────────────────────────────────── */
.not-found {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 3rem;
  padding: 5rem 0;
  flex-wrap: wrap;
}

.not-found-vesper {
  width: 280px;
  height: auto;
  flex-shrink: 0;
  filter: drop-shadow(0 8px 32px rgba(142, 132, 207, 0.18));
}

.not-found-text {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.5rem;
}

.not-found-code {
  font-family: var(--font-display);
  font-size: 6rem;
  font-weight: 600;
  color: var(--accent);
  opacity: 0.25;
  line-height: 1;
  margin-bottom: 0.25rem;
}

.not-found-title {
  font-family: var(--font-display);
  font-size: 1.6rem;
  font-weight: 600;
  color: var(--text);
}

.not-found-sub {
  font-size: 0.95rem;
  color: var(--text-muted);
  margin-bottom: 1rem;
}

@media (max-width: 600px) {
  .not-found { flex-direction: column; text-align: center; padding: 3rem 0; }
  .not-found-text { align-items: center; }
  .not-found-vesper { width: 200px; }
}

/* ── Pre-footer news strip ───────────────────────────────── */
.prefooter {
  border-top: 1px solid var(--border-subtle);
  background: #0a0917;
  padding: 3rem 0;
  margin-top: auto;
}

.prefooter-inner {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 1.5rem;
}

.prefooter-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 1.5rem;
}

.prefooter-see-all {
  font-size: 0.8rem;
  color: var(--accent);
  transition: color 0.15s;
}

.prefooter-see-all:hover { color: var(--accent-hover); }

.prefooter-news {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 1.25rem;
}

.prefooter-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  transition: border-color 0.15s, background 0.15s;
  text-decoration: none;
  color: inherit;
  display: flex;
  flex-direction: column;
  overflow: hidden;
}

.prefooter-card:hover {
  border-color: rgba(142, 132, 207, 0.3);
  background: var(--surface-elevated);
}

.prefooter-card-image {
  width: 100%;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  background: var(--surface-elevated);
  border-bottom: 1px solid var(--border);
  flex-shrink: 0;
}

.prefooter-card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.prefooter-card-placeholder {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, #16131F 0%, #1E1A2E 100%);
}

.prefooter-card-placeholder svg {
  width: 28px;
  height: 28px;
  opacity: 0.25;
}

.prefooter-card-body {
  padding: 1rem;
}

.prefooter-card-meta {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  margin-bottom: 0.6rem;
}

.prefooter-card-title {
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--text);
  margin-bottom: 0.35rem;
  line-height: 1.35;
}

.prefooter-card-summary {
  font-size: 0.78rem;
  color: var(--text-faint);
  line-height: 1.6;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

/* ── Team page ───────────────────────────────────────────── */
.team-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 1.25rem;
  margin-bottom: 4rem;
}

.team-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 1.75rem;
  display: flex;
  gap: 1.25rem;
  align-items: flex-start;
}

.team-avatar {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--accent-dim);
  border: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1.2rem;
  color: var(--accent-hover);
  flex-shrink: 0;
  overflow: hidden;
}

.team-avatar--photo {
  object-fit: cover;
  display: block;
}

.team-info { flex: 1; }

.team-name-row {
  display: flex;
  align-items: baseline;
  gap: 0.5rem;
  margin-bottom: 0.2rem;
}

.team-name {
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 600;
  color: var(--text);
}

.team-handle {
  font-size: 0.78rem;
  color: var(--text-faint);
}

.team-role {
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 0.65rem;
}

.team-bio {
  font-size: 0.875rem;
  color: var(--text-muted);
  line-height: 1.65;
  margin-bottom: 0.85rem;
}

.team-links {
  display: flex;
  gap: 0.75rem;
}

.team-link {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  font-size: 0.78rem;
  color: var(--text-faint);
  transition: color 0.15s;
}

.team-link:hover { color: var(--text-muted); }

.team-open {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 2rem;
  margin-bottom: 4rem;
}

.team-open h2 {
  font-size: 1.1rem;
  margin-bottom: 0.5rem;
}

.team-open p {
  font-size: 0.9rem;
  color: var(--text-muted);
  line-height: 1.65;
  max-width: 520px;
}

/* ── Scroll reveal ───────────────────────────────────────── */
.reveal {
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 0.5s ease, transform 0.5s ease;
}

.reveal.visible {
  opacity: 1;
  transform: none;
}

@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  .star-orbit, .star-twinkle, .hero-moon rect { animation: none; }
  .star-twinkle { opacity: 0.5; }
}

/* ── Responsive ──────────────────────────────────────────── */
@media (max-width: 680px) {
  .hero { padding: 4rem 0 3.5rem; }
  .hero h1 { font-size: clamp(1.8rem, 8vw, 2.6rem); }

  .trust-block {
    grid-template-columns: 1fr;
    gap: 0.75rem;
  }

  .site-nav { gap: 0; }
  .nav-link { padding: 0.4rem 0.5rem; font-size: 0.85rem; }

  .footer-inner { flex-direction: column; gap: 1.5rem; }
}

/* ── Mobile — comprehensive pass ─────────────────────────── */
@media (max-width: 768px) {

  /* Nav */
  .header-inner { gap: 1rem; padding: 0 1rem; }
  .site-nav { gap: 0; }
  .nav-link { padding: 0.4rem 0.45rem; font-size: 0.8rem; }
  .wordmark-text { font-size: 0.95rem; }

  /* Hero */
  .hero { padding: 4rem 0 3rem; }
  .hero h1 { font-size: clamp(1.75rem, 7vw, 2.5rem); }
  .hero-sub { font-size: 0.95rem; }
  .hero-moon { width: 80px; height: 80px; }
  .hero-actions { flex-direction: column; align-items: center; }
  .btn { width: 100%; max-width: 280px; justify-content: center; }

  /* Pillars */
  .pillars-grid { grid-template-columns: 1fr; gap: 0; }

  /* Roadmap */
  .roadmap-grid { grid-template-columns: 1fr 1fr; }

  /* Sections */
  .section { padding: 3rem 0; }
  .section-heading { margin-bottom: 2rem; }

  /* Compare table */
  .compare-wrap { font-size: 0.78rem; }
  .compare-table th, .compare-table td { padding: 0.65rem 0.75rem; }

  /* Discord banner */
  .discord-banner { flex-direction: column; gap: 1.25rem; padding: 1.5rem; }
  .discord-banner-left { flex-direction: column; gap: 0.75rem; }
  .discord-banner .btn { width: 100%; justify-content: center; }

  /* Ko-fi banner */
  .kofi-banner-inner { flex-direction: column; gap: 1.25rem; padding: 1.5rem; }
  .kofi-banner-inner .btn { width: 100%; justify-content: center; }

  /* Page hero */
  .page-hero { padding: 3rem 0 2rem; }
  .page-hero h1 { font-size: clamp(1.6rem, 6vw, 2.2rem); }

  /* Download platforms */
  .platforms-grid { grid-template-columns: 1fr; }

  /* News grid */
  .news-grid { grid-template-columns: 1fr; }

  /* Prefooter */
  .prefooter-news { grid-template-columns: 1fr; }

  /* Trust page */
  .trust-hero { padding: 3rem 0 2.5rem; }
  .trust-stats { gap: 1.5rem; }
  .trust-stat-value { font-size: 1.75rem; }
  .trust-section { grid-template-columns: 1fr; gap: 0.5rem; padding: 2rem 0; }
  .trust-section-num { padding-top: 0; }
  .trust-cta { padding: 1.5rem; }

  /* Team */
  .team-grid { grid-template-columns: 1fr; }

  /* Changelog timeline */
  .cl-entry { grid-template-columns: 1fr; }
  .cl-entry::before { display: none; }
  .cl-entry-aside {
    flex-direction: row;
    align-items: center;
    gap: 0.75rem;
    padding-bottom: 0.75rem;
    padding-top: 0;
  }
  .cl-dot { position: static; }
  .cl-date { text-align: left; padding-right: 0; }

  /* Roadmap page */
  .roadmap-page-grid { grid-template-columns: 1fr; }

  /* FAQ page */
  .faq-q { padding: 1rem 1.25rem; font-size: 0.875rem; }

  /* Status page */
  .status-page { padding: 2.5rem 0; }

  /* Legal pages */
  .legal-page { padding: 2.5rem 0 3rem; }

  /* Article */
  .article-wrap { padding: 2.5rem 0 3rem; }
  .article-share { gap: 0.4rem; }
  .share-btn { font-size: 0.75rem; padding: 0.4rem 0.7rem; }

  /* Footer */
  .footer-inner { flex-direction: column; gap: 2rem; padding: 0 1rem; }
  .footer-cols { gap: 2rem; justify-content: flex-start; }
  .footer-brand { max-width: 100%; }
  .footer-not-official { max-width: 100%; }

  /* Scroll to top */
  .scroll-top { bottom: 1.25rem; right: 1.25rem; }

  /* 404 */
  .not-found { flex-direction: column; text-align: center; padding: 3rem 0; gap: 2rem; }
  .not-found-text { align-items: center; }
  .not-found-vesper { width: 180px; }
  .not-found-code { font-size: 4rem; }

  /* Container padding */
  .container { padding: 0 1rem; }
}

@media (max-width: 480px) {
  .roadmap-grid { grid-template-columns: 1fr; }
  .trust-stats { gap: 1rem; }
  .hero-moon { width: 64px; height: 64px; }
  .nav-link { font-size: 0.75rem; padding: 0.4rem 0.35rem; }
  .footer-cols { flex-direction: column; gap: 1.5rem; }
}
