/* Landing page only — shares tokens, buttons, cards, blobs and command-card
   styles with app/style.css (linked before this file in index.html). */

html { scroll-behavior: smooth; }
body { overflow-x: hidden; background: var(--bg-deep); }

/* subtle film-grain texture so flat gradient fields don't read as a flat
   AI-template wash — a static background layer on the hero only, no
   blend-mode/fixed-viewport compositing cost during scroll or animation */
#hero::after {
  content: ''; position: absolute; inset: 0; z-index: 1; pointer-events: none;
  opacity: 0.05;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='120' height='120'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

/* ---------- logo (static override with graceful fallback) ---------- */
.logo-wrap {
  display: inline-flex; align-items: center; justify-content: center;
  border-radius: 22%; background: var(--brand-gradient); flex-shrink: 0;
  box-shadow: 0 0 0 1px var(--border-strong), 0 12px 30px -8px rgba(var(--brand-1-rgb),0.5);
  overflow: hidden;
}
.logo-wrap img { width: 100%; height: 100%; object-fit: cover; display: block; }
.logo-wrap-sm { width: 30px; height: 30px; border-radius: 9px; }
.logo-wrap-lg { width: 88px; height: 88px; border-radius: 24px; margin-bottom: var(--space-4); }
.logo-fallback { display: flex; align-items: center; justify-content: center; width: 100%; height: 100%; font-family: var(--font-display); font-weight: 700; color: #fff; }
.logo-fallback-sm { font-size: 15px; }
.logo-fallback-lg { font-size: 32px; }

/* ---------- nav ---------- */
#site-nav {
  position: sticky; top: 0; z-index: 100;
  display: flex; align-items: center; gap: var(--space-5);
  padding: var(--space-3) var(--space-6);
  background:
    radial-gradient(60% 140% at 8% 0%, rgba(var(--brand-1-rgb),0.14), transparent 65%),
    rgba(8,8,11,0.78);
  backdrop-filter: blur(16px) saturate(1.3);
  -webkit-backdrop-filter: blur(16px) saturate(1.3);
}
#site-nav::after {
  content: ''; position: absolute; left: 0; right: 0; bottom: -1px; height: 1px;
  background: linear-gradient(90deg, transparent, rgba(var(--brand-2-rgb),0.55) 20%, rgba(var(--brand-3-rgb),0.7) 50%, rgba(var(--brand-1-rgb),0.55) 80%, transparent);
  opacity: 0.65;
}
.nav-brand { position: relative; display: flex; align-items: center; gap: 10px; font-family: var(--font-display); font-weight: 700; font-size: 16px; margin-right: auto; }
.nav-brand-dot {
  width: 7px; height: 7px; border-radius: 50%; background: var(--success);
  box-shadow: 0 0 8px var(--success); animation: dotPulse 2.4s ease-in-out infinite;
}
.nav-links { display: flex; align-items: center; gap: var(--space-5); }
.nav-links a { position: relative; font-size: 14px; font-weight: 600; color: var(--fg-muted); transition: color 150ms ease; padding-bottom: 3px; }
.nav-links a::after {
  content: ''; position: absolute; left: 0; right: 100%; bottom: 0; height: 2px; border-radius: 2px;
  background: var(--brand-gradient); transition: right 220ms var(--ease-out);
}
.nav-links a:hover { color: var(--fg); }
.nav-links a:hover::after { right: 0; }
.nav-cta { display: flex; align-items: center; gap: var(--space-3); }
.nav-burger {
  display: none; flex-direction: column; align-items: center; justify-content: center; gap: 5px;
  background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-sm);
  width: 40px; height: 40px; color: var(--fg); cursor: pointer;
  transition: border-color 150ms ease, box-shadow 200ms ease, background-color 150ms ease;
}
.nav-burger:hover { border-color: var(--brand-1); box-shadow: 0 0 0 3px rgba(var(--brand-1-rgb),0.18); background: var(--surface-hover); }
.nav-burger[aria-expanded="true"] {
  background: var(--brand-gradient); border-color: transparent;
  box-shadow: 0 0 0 3px rgba(var(--brand-1-rgb),0.25), 0 8px 20px -6px rgba(var(--brand-1-rgb),0.6);
}
.burger-line { width: 18px; height: 2px; border-radius: 2px; background: currentColor; transition: transform 320ms var(--ease-spring), opacity 200ms ease; }
.nav-burger[aria-expanded="true"] .burger-line:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-burger[aria-expanded="true"] .burger-line:nth-child(2) { opacity: 0; transform: scaleX(0); }
.nav-burger[aria-expanded="true"] .burger-line:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
#nav-mobile {
  position: sticky; top: 65px; z-index: 99;
  background:
    radial-gradient(90% 60% at 100% 0%, rgba(var(--brand-1-rgb),0.14), transparent 60%),
    linear-gradient(180deg, var(--bg-elevated), var(--bg-base));
  border-bottom: 1px solid var(--border-strong);
  box-shadow: 0 20px 40px -20px rgba(0,0,0,0.6);
  display: flex; flex-direction: column; padding: var(--space-4); gap: 4px;
}
#nav-mobile > * { animation: fadeUp 320ms var(--ease-out) both; }
#nav-mobile > *:nth-child(1) { animation-delay: 20ms; }
#nav-mobile > *:nth-child(2) { animation-delay: 50ms; }
#nav-mobile > *:nth-child(3) { animation-delay: 80ms; }
#nav-mobile > *:nth-child(4) { animation-delay: 100ms; }
#nav-mobile > *:nth-child(5) { animation-delay: 120ms; }
#nav-mobile > *:nth-child(6) { animation-delay: 150ms; }

.nav-mobile-link {
  display: flex; align-items: center; gap: var(--space-3); padding: 13px 14px;
  font-weight: 600; font-size: 14.5px; color: var(--fg-muted); border-radius: var(--radius-sm);
  border: 1px solid transparent;
  transition: background-color 150ms ease, border-color 150ms ease, transform 150ms ease, color 150ms ease;
}
.nav-mobile-link svg { width: 19px; height: 19px; flex-shrink: 0; color: var(--brand-2); }
.nav-mobile-link:hover {
  background: rgba(var(--brand-1-rgb),0.12); border-color: rgba(var(--brand-1-rgb),0.35);
  color: #fff; transform: translateX(4px);
}
.nav-mobile-divider { height: 1px; margin: var(--space-2) 4px; background: linear-gradient(90deg, transparent, var(--border-strong) 20%, var(--border-strong) 80%, transparent); }
#nav-mobile .btn { font-size: 14.5px; }
#nav-mobile .btn + .btn { margin-top: var(--space-2); }

/* ---------- hero ---------- */
#hero {
  position: relative; overflow: hidden;
  min-height: 92vh; display: flex; align-items: center; justify-content: center;
  padding: var(--space-6) var(--space-5) calc(var(--space-6) * 2);
  text-align: center;
  background: radial-gradient(60% 50% at 50% 0%, rgba(var(--brand-1-rgb),0.18), transparent 70%), var(--bg-deep);
}
.hero-photo {
  position: absolute; inset: 0;
  background-image:
    radial-gradient(46% 40% at 50% 18%, rgba(var(--brand-2-rgb),0.22), transparent 72%),
    radial-gradient(60% 45% at 12% 92%, rgba(var(--brand-1-rgb),0.14), transparent 70%),
    radial-gradient(50% 40% at 92% 88%, rgba(var(--brand-3-rgb),0.10), transparent 70%),
    linear-gradient(180deg, var(--bg-deep) 0%, var(--bg-base) 55%, var(--bg-deep) 100%);
}
.hero-content { position: relative; z-index: 2; max-width: 780px; display: flex; flex-direction: column; align-items: center; }

/* ---------- 3D hero logo ---------- */
.hero-3d-stage {
  position: relative;
  width: min(220px, 40vw);
  aspect-ratio: 1 / 1;
  margin: 0 auto var(--space-4);
  perspective: 1200px;
  animation: heroStageFloat 7s ease-in-out infinite;
}
@keyframes heroStageFloat {
  0%, 100% { transform: translateY(0); }
  50%      { transform: translateY(-12px); }
}
.hero-3d-stage .logo-glow {
  position: absolute; inset: -55% -90%;
  background: radial-gradient(closest-side, rgba(var(--brand-2-rgb),0.38), rgba(var(--brand-1-rgb),0.12) 60%, transparent 75%);
  filter: blur(38px);
  z-index: 0;
  animation: heroGlowPulse 5s ease-in-out infinite;
}
@keyframes heroGlowPulse {
  0%, 100% { opacity: 0.75; transform: scale(1); }
  50%      { opacity: 1; transform: scale(1.08); }
}
.hero-3d-stage .logo-ground-shadow {
  position: absolute; left: 50%; bottom: 2%; width: 78%; height: 22px;
  background: radial-gradient(ellipse, rgba(0,0,0,0.65), transparent 72%);
  transform: translateX(-50%); filter: blur(4px); z-index: 0;
}
.hero-logo-3d {
  position: relative; z-index: 1;
  width: 100%; height: 100%; object-fit: cover; display: block;
  border-radius: 28px;
  transform-style: preserve-3d; will-change: transform;
  box-shadow:
    0 0 0 1px var(--border-strong),
    0 30px 50px -14px rgba(0,0,0,0.6),
    0 0 34px -4px rgba(var(--brand-2-rgb),0.35);
  transition: transform 500ms cubic-bezier(0.16, 1, 0.3, 1);
}
.hero-logo-3d-fallback {
  position: absolute; inset: 0; z-index: 1;
  border-radius: 28px; background: var(--brand-gradient);
  box-shadow: 0 0 0 1px var(--border-strong), 0 30px 50px -14px rgba(0,0,0,0.6);
  font-size: 30%;
}
@media (prefers-reduced-motion: reduce) {
  .hero-3d-stage, .hero-3d-stage .logo-glow { animation: none; }
}
.hero-title { font-family: var(--font-display); font-size: clamp(32px, 6vw, 56px); font-weight: 700; letter-spacing: -0.02em; line-height: 1.08; margin: 0 0 var(--space-4); }
.text-gradient { background: var(--brand-gradient); -webkit-background-clip: text; background-clip: text; color: transparent; }
.hero-subtitle { font-size: clamp(15px, 2vw, 18px); color: var(--fg-muted); max-width: 620px; margin: 0 0 var(--space-5); line-height: 1.6; }
.hero-badge {
  display: inline-flex; align-items: center; gap: 6px; font-size: 13px; font-weight: 600;
  background: var(--surface); border: 1px solid var(--border-strong); color: var(--fg);
  padding: 7px 16px; border-radius: var(--radius-pill); margin-bottom: var(--space-5);
  animation: popIn 400ms var(--ease-spring) both;
}
.hero-badge b, .hero-badge strong { color: #F9A8D4; }

.hero-cta { display: flex; flex-wrap: wrap; gap: var(--space-3); justify-content: center; margin-bottom: var(--space-6); }
.btn-lg { min-height: 52px; padding: 12px 26px; font-size: 15px; }

.hero-stats { display: flex; flex-wrap: wrap; gap: var(--space-6); justify-content: center; }
.hero-stat { display: flex; flex-direction: column; align-items: center; }
.hero-stat-value { font-family: var(--font-display); font-size: 28px; font-weight: 700; }
.hero-stat-label { font-size: 12px; color: var(--fg-muted); text-transform: uppercase; letter-spacing: 0.06em; font-weight: 600; }

/* ---------- hero giant background wordmark ---------- */
.hero-wordmark {
  position: absolute; z-index: 0; top: 6%; left: 50%; transform: translateX(-50%);
  font-family: var(--font-display); font-weight: 700; font-size: clamp(90px, 18vw, 260px);
  letter-spacing: -0.03em; white-space: nowrap; line-height: 1;
  color: transparent; -webkit-text-stroke: 1px rgba(255,255,255,0.07);
  pointer-events: none; user-select: none;
}

/* ---------- dashboard 3D scroll showcase ---------- */
#dashboard-showcase { max-width: 1180px; }
.dash-scroll-stage {
  perspective: 1600px; padding: calc(var(--space-6) * 0.5) 0 var(--space-6);
}
.dash-mock-card {
  transform: rotateX(20deg) scale(0.92); transform-origin: 50% 100%;
  will-change: transform;
  display: grid; grid-template-columns: 200px 1fr;
  background: var(--surface-solid); border: 1px solid var(--border-strong); border-radius: var(--radius-lg);
  box-shadow: 0 40px 90px -30px rgba(0,0,0,0.7), 0 0 60px -20px rgba(var(--brand-1-rgb),0.25);
  overflow: hidden; min-height: 420px;
}
.dash-mock-sidebar { background: linear-gradient(180deg, var(--bg-elevated), var(--bg-base)); border-right: 1px solid var(--border); padding: var(--space-4) var(--space-3); }
.dash-mock-brand { display: flex; align-items: center; gap: var(--space-2); font-family: var(--font-display); font-weight: 700; font-size: 14px; padding: 0 var(--space-2); margin-bottom: var(--space-5); }
.dash-mock-nav { display: flex; flex-direction: column; gap: 4px; }
.dash-mock-navitem { display: flex; align-items: center; gap: var(--space-3); padding: 9px 12px; border-radius: var(--radius-sm); font-size: 12.5px; font-weight: 500; color: var(--fg-muted); }
.dash-mock-navitem svg { width: 16px; height: 16px; flex-shrink: 0; }
.dash-mock-navitem.active { background: rgba(var(--brand-1-rgb),0.16); color: #fff; }
.dash-mock-main { padding: var(--space-4) var(--space-5); }
.dash-mock-topbar { display: flex; align-items: center; justify-content: space-between; font-family: var(--font-display); font-weight: 700; font-size: 18px; margin-bottom: var(--space-4); }
.dash-mock-pill { font-family: var(--font-body); font-size: 11px; font-weight: 700; color: var(--success); background: var(--success-bg); padding: 4px 10px; border-radius: var(--radius-pill); }
.dash-mock-stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: var(--space-3); margin-bottom: var(--space-4); }
.dash-mock-stat { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-sm); padding: var(--space-3); display: flex; flex-direction: column; gap: 6px; }
.dash-mock-stat span { font-size: 10.5px; color: var(--fg-faint); text-transform: uppercase; letter-spacing: 0.05em; font-weight: 600; }
.dash-mock-stat b { font-family: var(--font-display); font-size: 20px; }
.dash-mock-panels { display: grid; grid-template-columns: 1.3fr 1fr; gap: var(--space-3); }
.dash-mock-panel { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-sm); padding: var(--space-3); }
.dash-mock-panel > span { font-size: 11.5px; font-weight: 600; color: var(--fg-muted); }
.dash-mock-bars { display: flex; align-items: flex-end; gap: 6px; height: 110px; margin-top: var(--space-3); }
.dash-mock-bars i { flex: 1; height: var(--h); background: var(--brand-gradient); border-radius: 4px 4px 0 0; opacity: 0.9; }
.dash-mock-feed { display: flex; flex-direction: column; gap: var(--space-3); margin-top: var(--space-3); }
.dash-mock-feed-row { display: flex; align-items: center; gap: 10px; font-size: 12px; color: var(--fg-muted); }
.dash-mock-feed-row i { width: 6px; height: 6px; border-radius: 50%; background: var(--brand-2); flex-shrink: 0; box-shadow: 0 0 8px var(--brand-2); }
@media (max-width: 700px) {
  .dash-mock-card { grid-template-columns: 1fr; }
  .dash-mock-sidebar { display: none; }
  .dash-mock-stats { grid-template-columns: repeat(2, 1fr); }
  .dash-mock-panels { grid-template-columns: 1fr; }
}

/* ---------- flying logo: drifts across the whole page as a 3D object while you scroll ---------- */
.flying-logo-wrap {
  position: fixed; z-index: 5; pointer-events: none;
  top: 14vh; left: 82vw; width: 120px; aspect-ratio: 301 / 768;
  perspective: 900px;
  opacity: 0; transition: opacity 500ms ease;
  will-change: transform, top, left;
}
.flying-logo-wrap.is-visible { opacity: 0.94; }
.flying-logo-wrap img {
  width: 100%; height: 100%; object-fit: contain; display: block;
  transform-style: preserve-3d;
  filter: drop-shadow(0 22px 30px rgba(0,0,0,0.55)) drop-shadow(0 0 26px rgba(var(--brand-2-rgb),0.35));
}
@media (max-width: 980px), (prefers-reduced-motion: reduce) {
  .flying-logo-wrap { display: none; }
}

/* ---------- marquee ---------- */
#marquee {
  max-width: none; padding: var(--space-4) 0; margin: 0;
  border-top: 1px solid var(--border); border-bottom: 1px solid var(--border);
  background: var(--bg-elevated);
  overflow: hidden;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
}
.marquee-track { display: flex; width: max-content; animation: marqueeScroll 34s linear infinite; }
.marquee-group { display: flex; align-items: center; flex-shrink: 0; }
.marquee-item {
  display: inline-flex; align-items: center; gap: 8px; white-space: nowrap;
  font-size: 13.5px; font-weight: 600; color: var(--fg-muted); padding: 0 var(--space-5);
  border-right: 1px solid var(--border);
}
.marquee-item svg { width: 15px; height: 15px; color: var(--brand-2); flex-shrink: 0; }
@keyframes marqueeScroll { from { transform: translateX(0); } to { transform: translateX(-50%); } }
#marquee:hover .marquee-track { animation-play-state: paused; }
@media (prefers-reduced-motion: reduce) {
  .marquee-track { animation: none; }
}

/* ---------- shared section chrome ---------- */
main > section { padding: calc(var(--space-6) * 1.5) var(--space-6); max-width: 1180px; margin: 0 auto; }
.section-head { max-width: 640px; margin: 0 auto var(--space-6); text-align: center; }
.eyebrow { display: inline-block; font-size: 12px; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; color: var(--brand-3); margin-bottom: var(--space-2); }
.section-head h2 { font-family: var(--font-display); font-size: clamp(24px, 4vw, 34px); margin: 0 0 var(--space-3); letter-spacing: -0.01em; }
.section-head p { color: var(--fg-muted); font-size: 15px; line-height: 1.6; margin: 0; }
.section-head a { color: var(--brand-3); font-weight: 600; }
.section-head a:hover { text-decoration: underline; }

/* ---------- features (bento: varied spans give the flagship cards weight) ---------- */
.feature-grid {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: var(--space-4);
  perspective: 1400px;
}
.feature-grid .feature-card:nth-child(1) { grid-column: span 2; }
.feature-grid .feature-card:nth-child(6) { grid-column: span 2; }
.feature-grid .feature-card:nth-child(7) { grid-column: span 2; }
.feature-grid .feature-card:nth-child(8) { grid-column: span 2; }
@media (max-width: 900px) {
  .feature-grid { grid-template-columns: repeat(2, 1fr); }
  .feature-grid .feature-card { grid-column: span 1 !important; }
}
@media (max-width: 560px) {
  .feature-grid { grid-template-columns: 1fr; }
}
.feature-card {
  position: relative; overflow: hidden;
  background:
    radial-gradient(130% 90% at 12% 0%, rgba(var(--brand-2-rgb),0.12), transparent 55%),
    linear-gradient(165deg, var(--surface-hover) 0%, var(--surface) 60%);
  border: 1px solid rgba(var(--brand-1-rgb),0.14); border-radius: var(--radius-lg);
  padding: var(--space-5);
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.05);
  transition: border-color 220ms ease, background-color 220ms ease, box-shadow 260ms ease;
  will-change: transform;
}
.feature-card:hover {
  border-color: rgba(var(--brand-2-rgb),0.55); background-color: var(--surface-hover);
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.05), 0 26px 50px -26px rgba(var(--brand-1-rgb),0.6);
}
/* mouse-tracked orange spotlight (position set via JS custom properties --mx/--my) */
.feature-card::before {
  content: ''; position: absolute; inset: 0; z-index: 0; opacity: 0; pointer-events: none;
  background: radial-gradient(260px circle at var(--mx, 50%) var(--my, 50%), rgba(var(--brand-2-rgb),0.18), transparent 68%);
  transition: opacity 350ms ease;
}
.feature-card:hover::before { opacity: 1; }
/* ambient orange sparkles, always faintly alive, brighter on hover */
.feature-card::after {
  content: ''; position: absolute; inset: 0; z-index: 0; pointer-events: none; opacity: 0.35;
  background-image:
    radial-gradient(1.6px 1.6px at 14% 24%, rgba(var(--brand-3-rgb),0.95), transparent),
    radial-gradient(1.6px 1.6px at 84% 18%, rgba(var(--brand-2-rgb),0.95), transparent),
    radial-gradient(2px 2px at 72% 68%, rgba(var(--brand-3-rgb),0.9), transparent),
    radial-gradient(1.4px 1.4px at 24% 82%, rgba(var(--brand-1-rgb),0.9), transparent),
    radial-gradient(1.8px 1.8px at 92% 88%, rgba(var(--brand-3-rgb),0.9), transparent),
    radial-gradient(1.4px 1.4px at 50% 45%, rgba(var(--brand-2-rgb),0.8), transparent);
  animation: sparkleTwinkle 3.6s ease-in-out infinite;
  transition: opacity 300ms ease;
}
.feature-card:hover::after { opacity: 0.9; }
.feature-card:nth-child(2n)::after { animation-delay: -1.2s; }
.feature-card:nth-child(3n)::after { animation-delay: -2.3s; }
@keyframes sparkleTwinkle { 0%, 100% { opacity: 0.2; } 50% { opacity: 0.55; } }
.feature-card:hover::after { animation-play-state: running; }
.feature-icon, .feature-card h3, .feature-card p { position: relative; z-index: 1; }
.feature-icon {
  display: inline-flex; align-items: center; justify-content: center; width: 52px; height: 52px; border-radius: 16px;
  background: var(--brand-gradient); color: #fff; margin-bottom: var(--space-4);
  box-shadow:
    0 12px 26px -8px rgba(var(--brand-1-rgb),0.65),
    inset 0 1px 0 rgba(255,255,255,0.4),
    inset 0 -8px 12px -6px rgba(0,0,0,0.3);
  transition: transform 300ms var(--ease-spring);
}
.feature-card:hover .feature-icon { transform: translateY(-2px) scale(1.05); }
.feature-icon svg { width: 24px; height: 24px; filter: drop-shadow(0 1px 1px rgba(0,0,0,0.25)); }
.feature-card h3 { font-family: var(--font-display); font-size: 16.5px; margin: 0 0 8px; letter-spacing: -0.005em; }
.feature-card p { font-size: 13.5px; color: var(--fg-muted); line-height: 1.6; margin: 0; }
@media (prefers-reduced-motion: reduce) {
  .feature-card::after { animation: none; opacity: 0.3; }
}

/* ---------- vote / cta band ---------- */
#vote { position: relative; text-align: center; border-radius: var(--radius-lg); overflow: hidden; margin: var(--space-6); padding: 0; max-width: none; }
.cta-photo {
  position: absolute; inset: 0;
  background-image:
    radial-gradient(90% 140% at 15% 0%, rgba(255,255,255,0.16), transparent 60%),
    linear-gradient(135deg, var(--brand-1) 0%, var(--brand-2) 55%, var(--brand-3) 100%);
}
.cta-content { position: relative; padding: calc(var(--space-6) * 1.6) var(--space-5); }
.cta-content h2 { font-family: var(--font-display); font-size: clamp(24px, 4vw, 32px); margin: 0 0 var(--space-3); color: #fff; }
.cta-content p { color: rgba(255,255,255,0.9); max-width: 480px; margin: 0 auto var(--space-5); font-size: 15px; }
#vote .btn-primary { background: #fff; color: var(--brand-2); box-shadow: 0 8px 20px -6px rgba(0,0,0,0.35); }
#vote .btn-primary:hover { filter: none; background: #f2f2ff; }
#vote .btn-secondary { background: rgba(255,255,255,0.12); border-color: rgba(255,255,255,0.4); color: #fff; }
#vote .btn-secondary:hover { background: rgba(255,255,255,0.2); }

/* ---------- cookie notice ---------- */
#cookie-banner {
  position: fixed; left: var(--space-4); right: var(--space-4); bottom: var(--space-4); z-index: 200;
  max-width: 640px; margin: 0 auto;
  display: flex; align-items: center; gap: var(--space-4); flex-wrap: wrap;
  background: var(--bg-elevated); border: 1px solid var(--border-strong); border-radius: var(--radius);
  padding: var(--space-4) var(--space-5);
  box-shadow: 0 20px 50px -12px rgba(0,0,0,0.6);
  animation: fadeUp 400ms var(--ease-out) both;
}
#cookie-banner p { margin: 0; font-size: 13px; color: var(--fg-muted); line-height: 1.5; flex: 1; min-width: 220px; }
#cookie-banner .btn { flex-shrink: 0; min-height: 40px; padding: 8px 20px; }

/* ---------- footer ---------- */
#site-footer { border-top: 1px solid var(--border); padding: var(--space-6); background: var(--bg-elevated); }
.footer-top { max-width: 1180px; margin: 0 auto; display: flex; flex-wrap: wrap; gap: var(--space-6); justify-content: space-between; padding-bottom: var(--space-6); }
.footer-brand { display: flex; align-items: center; gap: var(--space-3); }
.footer-brand-name { font-family: var(--font-display); font-weight: 700; }
.footer-brand-tag { font-size: 12.5px; color: var(--fg-muted); }
.footer-links { display: flex; gap: calc(var(--space-6) * 1.2); flex-wrap: wrap; }
.footer-links h4 { font-size: 12px; text-transform: uppercase; letter-spacing: 0.06em; color: var(--fg-faint); margin: 0 0 var(--space-3); }
.footer-links a { display: block; font-size: 13.5px; color: var(--fg-muted); margin-bottom: 10px; transition: color 150ms ease; }
.footer-links a:hover { color: var(--fg); }
.footer-bottom { max-width: 1180px; margin: 0 auto; padding-top: var(--space-5); border-top: 1px solid var(--border); font-size: 12.5px; color: var(--fg-faint); text-align: center; }

/* ---------- docs grid uses .commands-grid / .command-card from app/style.css ---------- */
#docs .commands-grid { margin-top: var(--space-2); }

/* ---------- responsive ---------- */
@media (max-width: 860px) {
  .nav-links, .nav-cta { display: none; }
  .nav-burger { display: flex; align-items: center; justify-content: center; }
  main > section { padding: calc(var(--space-6) * 1.2) var(--space-4); }
  #vote { margin: var(--space-4); }
}
