/* ── Hugonomy Systems — hugonomy.com ─────────────────────────────────── */

:root {
  --bg:           #050816;
  --bg-soft:      #0a1022;
  --brand-dark:   #050816;
  --brand-mid:    #0a1022;
  --brand-card:   rgba(18, 27, 52, 0.72);
  --brand-border: rgba(120, 160, 255, 0.14);
  --brand-blue:   #6ca6ff;
  --brand-purple: #8e44ad;
  --glow:         rgba(79, 143, 255, 0.22);
  --text-primary:   #f5f7ff;
  --text-secondary: #9db0d0;
  --text-muted:     #5a6e94;
  --gradient:      linear-gradient(135deg, #4facfe 0%, #8e44ad 100%);
  --gradient-text: linear-gradient(135deg, #6ca6ff 0%, #c77dff 100%);
  --radius: 20px;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }

body {
  font-family: 'Segoe UI', system-ui, -apple-system, sans-serif;
  background:
    radial-gradient(ellipse 70% 40% at 60% 0%, rgba(67,120,255,0.13) 0%, transparent 55%),
    radial-gradient(ellipse 50% 30% at 10% 60%, rgba(142,68,173,0.08) 0%, transparent 50%),
    var(--bg);
  color: var(--text-primary);
  line-height: 1.6;
  font-size: 16px;
  overflow-x: hidden;
}

/* ── Utility ──────────────────────────────────────────────────────────── */
.container { max-width: 1140px; margin: 0 auto; padding: 0 28px; }
.gradient-text {
  background: var(--gradient-text);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0,0,0,0); }

/* ── Nav ──────────────────────────────────────────────────────────────── */
nav[aria-label="Site navigation"] {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  background: rgba(5, 8, 22, 0.85);
  -webkit-backdrop-filter: blur(16px);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--brand-border);
  padding: 0 20px;
}
.nav-inner {
  display: flex; align-items: center; justify-content: space-between;
  padding: 14px 0; max-width: 1140px; margin: 0 auto;
}
.nav-logo {
  display: flex; align-items: center; gap: 10px;
  text-decoration: none; color: var(--text-primary);
}
.nav-logo img { width: 30px; height: 30px; border-radius: 8px; }
.nav-logo-text { font-weight: 700; font-size: 1rem; }
.nav-links { display: flex; align-items: center; gap: 28px; }
.nav-links a {
  color: var(--text-secondary); text-decoration: none;
  font-size: 0.88rem; transition: color 0.2s;
}
.nav-links a:hover { color: var(--text-primary); }
.nav-links a.nav-active {
  color: var(--text-primary); font-weight: 600;
  border-bottom: 2px solid var(--brand-blue); padding-bottom: 2px;
}
.btn-nav {
  background: var(--gradient); color: #fff !important;
  padding: 8px 18px; border-radius: 20px; font-weight: 600;
  font-size: 0.82rem !important; white-space: nowrap;
}

/* ── Section shared ───────────────────────────────────────────────────── */
section { padding: 72px 0; }
.section-label {
  font-size: 0.72rem; letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--brand-blue); font-weight: 700; margin-bottom: 14px;
  text-align: center;
}
.section-title {
  font-size: clamp(1.8rem, 4vw, 2.8rem);
  font-weight: 800; line-height: 1.1; margin-bottom: 16px; letter-spacing: -0.025em;
  text-align: center;
}
.section-sub {
  color: var(--text-secondary); font-size: 1.05rem; line-height: 1.65;
  max-width: 560px; text-align: center; margin: 0 auto 0;
}

/* ── HERO ─────────────────────────────────────────────────────────────── */
.hero {
  padding: 100px 0 56px;
  position: relative; overflow: visible;
}
.hero-glow-1 {
  position: absolute; width: 500px; height: 500px; border-radius: 50%;
  right: -60px; top: -80px;
  background: rgba(67,120,255,0.15);
  filter: blur(90px); pointer-events: none;
}
.hero-glow-2 {
  position: absolute; width: 320px; height: 320px; border-radius: 50%;
  left: 5%; top: 20%;
  background: rgba(142,68,173,0.08);
  filter: blur(80px); pointer-events: none;
}
.hero-product-id {
  margin: 20px auto 24px;
}
.hero-product-logo {
  height: 88px; width: auto;
  border-radius: 14px;
  display: block; margin: 0 auto;
}
.hero-badge {
  display: inline-flex; align-items: center; gap: 6px;
  background: rgba(108,166,255,0.1); border: 1px solid rgba(108,166,255,0.22);
  border-radius: 20px; padding: 5px 11px; font-size: 0.68rem;
  color: var(--brand-blue); margin-bottom: 24px;
  text-transform: uppercase; letter-spacing: 0.08em; font-weight: 700;
}
.hero-title {
  font-size: clamp(2.4rem, 5.5vw, 5rem);
  font-weight: 800; line-height: 1.0;
  letter-spacing: -0.04em;
  margin-bottom: 20px;
  white-space: nowrap;
}
.hero-sub {
  font-size: clamp(1rem, 1.8vw, 1.25rem);
  color: #c0d4ff; line-height: 1.65; margin-bottom: 12px; max-width: 52rem;
}
.hero-sub--lead {
  color: var(--text-primary); font-weight: 600;
  font-size: clamp(1.1rem, 2vw, 1.4rem);
}
.hero-vibe-tagline {
  font-size: clamp(1.2rem, 2.4vw, 1.7rem);
  font-weight: 800; letter-spacing: -0.02em;
  background: var(--gradient-text);
  -webkit-background-clip: text; -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: 0;
}
.hero-bottom {
  text-align: center; padding-top: 40px;
}
.hero-bottom .hero-sub { margin: 0 auto 16px; }
.hero-bottom .cta-group { justify-content: center; margin-top: 28px; }
.hero-bottom .pillars { justify-content: center; margin-top: 20px; }
.hero-bottom .hero-tagline { margin-top: 16px; }
.hero-tagline {
  font-size: clamp(1rem, 1.8vw, 1.2rem); color: var(--text-secondary);
  margin-top: 12px; font-style: italic; letter-spacing: 0.01em;
  max-width: 48rem; margin-left: auto; margin-right: auto;
}
.cta-group {
  display: flex; align-items: center; flex-wrap: wrap; gap: 12px; margin-bottom: 24px;
}
.cta-note {
  font-size: 0.88rem; line-height: 1.6; color: var(--text-muted);
  max-width: 36rem;
}
.hero-bottom .cta-note {
  margin: -8px auto 18px; text-align: center;
}
.footer-cta .cta-note {
  margin: -4px auto 0; text-align: center;
}
.btn-primary {
  display: inline-flex; align-items: center; gap: 8px;
  background: var(--gradient); color: #fff;
  padding: 11px 22px; border-radius: 10px;
  text-decoration: none; font-weight: 700; font-size: 0.97rem;
  transition: opacity 0.2s, transform 0.15s;
  box-shadow: 0 6px 28px rgba(79,172,254,0.28);
}
.btn-primary:hover { opacity: 0.88; transform: translateY(-1px); }
.btn-secondary {
  display: inline-flex; align-items: center; gap: 8px;
  background: rgba(255,255,255,0.04); color: var(--text-primary);
  padding: 11px 22px; border-radius: 10px; border: 1px solid var(--brand-border);
  text-decoration: none; font-weight: 600; font-size: 0.97rem;
  transition: border-color 0.2s, background 0.2s;
}
.btn-secondary:hover { border-color: rgba(108,166,255,0.35); background: rgba(108,166,255,0.06); }

.pillars {
  display: flex; flex-wrap: wrap; gap: 8px;
}
.pillars span {
  font-size: 0.88rem; color: var(--text-secondary);
  padding: 7px 16px; border-radius: 20px;
  background: rgba(255,255,255,0.06); border: 1px solid rgba(108,166,255,0.18);
  display: flex; align-items: center; gap: 7px; font-weight: 500;
}
.pillars span::before { content: '✓'; color: var(--brand-blue); font-weight: 700; font-size: 0.82rem; }

/* ── Hero motion keyframes (compositor-only: translateY + opacity only) ── */
@keyframes heroFloat {
  0%, 100% { transform: translateY(0px); }
  50%       { transform: translateY(-10px); }
}
@keyframes glowFade1 {
  0%, 100% { opacity: 1; }
  50%       { opacity: 0.4; }
}
@keyframes glowFade2 {
  0%, 100% { opacity: 0.5; }
  50%       { opacity: 1; }
}
@keyframes chipSlideUp {
  from { opacity: 0; transform: translateY(14px); }
  to   { opacity: 1; transform: translateY(0); }
}
@keyframes chipBob {
  0%, 100% { transform: translateY(0px); }
  50%       { transform: translateY(-5px); }
}
@keyframes frameGlowFade {
  0%, 100% { opacity: 0.08; }
  50%       { opacity: 0.22; }
}

/* ── Hero visual ──────────────────────────────────────────────────────── */
.hero-visual { position: relative; z-index: 2; margin-bottom: 0; }
.hero-scene {
  display: flex; align-items: center; gap: 14px;
  will-change: transform;
  animation: heroFloat 5s ease-in-out infinite;
}
.hero-video-card { flex: 1; min-width: 0; }
.hero-img-frame {
  border-radius: 20px; overflow: hidden;
  border: 1px solid rgba(120,160,255,0.2);
  box-shadow: 0 40px 100px rgba(0,0,0,0.55), 0 0 0 1px rgba(255,255,255,0.04) inset;
  position: relative; width: 100%;
}
.hero-img-frame::after {
  content: ''; pointer-events: none;
  position: absolute; inset: 0; border-radius: 20px;
  box-shadow: 0 0 48px rgba(108,166,255,0.3);
  animation: frameGlowFade 4s ease-in-out infinite;
}
.hero-img-frame img {
  width: 100%; display: block; transition: transform 0.25s ease;
}
.hero-img-link { display: block; text-decoration: none; }
.hero-img-link:hover img,
.hero-img-link:focus-visible img { transform: scale(1.015); }
.hero-img-link:focus-visible {
  outline: 2px solid rgba(108,166,255,0.9);
  outline-offset: 4px;
}
.hero-glow-1 { will-change: opacity; animation: glowFade1 6s ease-in-out infinite; }
.hero-glow-2 { will-change: opacity; animation: glowFade2 8s ease-in-out infinite; }

/* ── Animated HUD mockup ─────────────────────────────────────────────── */
@keyframes orbPulse {
  0%, 100% { opacity: 0.85; }
  50%       { opacity: 1; }
}
@keyframes ringPulse {
  0%, 100% { transform: scale(1); opacity: 0.4; }
  50%       { transform: scale(1.12); opacity: 0.12; }
}
@keyframes mirrorSlide {
  from { opacity: 0; transform: translateY(8px); }
  to   { opacity: 1; transform: translateY(0); }
}
.hud-mockup {
  background: rgba(8,14,36,0.94);
  border: 1px solid rgba(120,160,255,0.28);
  border-radius: 18px;
  padding: 16px 18px 12px;
  width: 190px;
  flex-shrink: 0;
  -webkit-backdrop-filter: blur(24px);
  backdrop-filter: blur(24px);
  box-shadow: 0 16px 40px rgba(0,0,0,0.8), 0 0 24px rgba(80,130,255,0.2);
  position: relative;
  z-index: 10;
}
.hud-header {
  display: flex; align-items: center; justify-content: space-between;
  margin-bottom: 16px;
}
.hud-brand { font-size: 0.46rem; font-weight: 700; color: var(--brand-blue); letter-spacing: 0.02em; }
.hud-controls { display: flex; gap: 5px; }
.hud-controls span {
  width: 10px; height: 10px; border-radius: 50%;
  background: rgba(255,255,255,0.12);
}
.hud-orb-wrap { display: flex; justify-content: center; margin-bottom: 12px; }
.hud-orb {
  width: 72px; height: 72px; border-radius: 50%;
  position: relative;
  display: flex; align-items: center; justify-content: center;
}
.hud-orb-inner {
  width: 58px; height: 58px; border-radius: 50%;
  background: radial-gradient(circle at 35% 35%, #6ca6ff, #4f38c9 60%, #0d1340);
  box-shadow: 0 0 28px rgba(79,120,255,0.5);
  will-change: opacity; contain: strict;
  animation: orbPulse 2.5s ease-in-out infinite;
}
.hud-orb-ring {
  position: absolute; inset: 0; border-radius: 50%;
  border: 2px solid rgba(108,166,255,0.35);
  will-change: transform, opacity; contain: strict;
  animation: ringPulse 2.5s ease-in-out infinite;
}
.hud-state-block { text-align: center; margin-bottom: 14px; }
.hud-label { font-size: 0.38rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--text-muted); margin-bottom: 3px; }
.hud-stage {
  font-size: 0.76rem; font-weight: 800; letter-spacing: -0.01em;
  background: var(--gradient-text); -webkit-background-clip: text;
  -webkit-text-fill-color: transparent; background-clip: text;
  transition: opacity 0.4s;
}
.hud-row { display: flex; gap: 12px; margin-bottom: 14px; }
.hud-col { flex: 1; }
.hud-value { font-size: 0.5rem; color: var(--text-secondary); margin-top: 2px; }
.hud-badge {
  display: inline-block; font-size: 0.46rem; font-weight: 600;
  background: rgba(50,180,100,0.15); border: 1px solid rgba(50,180,100,0.25);
  color: #6ee7a0; border-radius: 12px; padding: 2px 8px; margin-top: 2px;
  transition: background 0.4s, color 0.4s;
}
.hud-mirror {
  background: rgba(20,35,70,0.8);
  border: 1px solid rgba(108,166,255,0.18);
  border-radius: 10px; padding: 10px 12px;
  margin-bottom: 12px;
  display: none;
}
.hud-mirror.visible {
  display: block;
  animation: mirrorSlide 0.4s ease forwards;
}
.hud-mirror-label { font-size: 0.38rem; font-weight: 700; color: var(--brand-blue); letter-spacing: 0.08em; margin-bottom: 4px; }
.hud-mirror-prompt { font-size: 0.46rem; color: var(--text-secondary); margin-bottom: 5px; }
.hud-mirror-options { display: flex; flex-direction: column; gap: 4px; }
.hud-mirror-options span {
  font-size: 0.44rem; color: var(--text-primary);
  background: rgba(108,166,255,0.08); border: 1px solid rgba(108,166,255,0.14);
  border-radius: 5px; padding: 3px 6px; cursor: default;
}
.hud-tabs { display: flex; gap: 4px; border-top: 1px solid rgba(120,160,255,0.1); padding-top: 10px; }
.hud-tab {
  flex: 1; text-align: center; font-size: 0.38rem; font-weight: 600;
  color: var(--text-muted); padding: 5px 4px; border-radius: 6px; cursor: default;
}
.hud-tab--active { background: rgba(108,166,255,0.12); color: var(--brand-blue); }

/* ── Screenshots strip ───────────────────────────────────────────────── */
.screenshots-section { background: var(--brand-mid); }
.screenshots-content-grid {
  display: grid; grid-template-columns: 1fr 380px; gap: 56px;
  align-items: start; margin-top: 48px;
}
.screenshots-platform-group { margin-top: 40px; }
.screenshots-platform-group:first-child { margin-top: 0; }
.screenshots-platform-label {
  font-size: 0.78rem; font-weight: 700; letter-spacing: 0.1em;
  text-transform: uppercase; color: var(--brand-blue);
  margin-bottom: 16px; padding-left: 4px;
}
.screenshots-platform-strip {
  display: grid; grid-template-columns: repeat(auto-fill, minmax(420px, 1fr));
  gap: 20px;
}
.screenshot-card {
  border-radius: 20px; overflow: hidden;
  border: 1px solid var(--brand-border);
  background: var(--brand-card);
  transition: transform 0.25s, box-shadow 0.25s;
}
.screenshot-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 20px 50px rgba(0,0,0,0.4);
}
.screenshot-state {
  font-size: 0.72rem; font-weight: 700; letter-spacing: 0.06em;
  color: var(--text-muted); text-transform: uppercase;
  padding: 10px 16px; border-bottom: 1px solid var(--brand-border);
}
.screenshot-card img { width: 100%; display: block; }
@media (max-width: 480px) { .screenshots-platform-strip { grid-template-columns: 1fr; } }
@media (max-width: 900px) { .screenshots-content-grid { grid-template-columns: 1fr; } }
.screenshots-feature-panel {
  position: sticky; top: 100px;
  background: var(--brand-card); border: 1px solid var(--brand-border);
  border-radius: 24px; padding: 36px 32px;
}
.sfp-hook { font-size: 0.95rem; color: var(--text-secondary); line-height: 1.7; margin-bottom: 28px; }
.sfp-hook strong { color: var(--text-primary); }
.sfp-bullets { list-style: none; margin-bottom: 32px; display: flex; flex-direction: column; gap: 12px; }
.sfp-bullets li { display: flex; gap: 12px; align-items: flex-start; font-size: 0.88rem; color: var(--text-secondary); line-height: 1.55; }
.sfp-bullets li::before { content: '→'; color: var(--brand-blue); font-weight: 700; flex-shrink: 0; margin-top: 1px; }
.sfp-divider { border: none; border-top: 1px solid var(--brand-border); margin: 0 0 28px; }
.sfp-who-label { font-size: 0.72rem; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; color: var(--text-muted); margin-bottom: 18px; }
.sfp-persona { display: flex; gap: 12px; align-items: flex-start; margin-bottom: 18px; }
.sfp-persona:last-of-type { margin-bottom: 0; }
.sfp-persona-icon { font-size: 1.2rem; flex-shrink: 0; margin-top: 2px; }
.sfp-persona-title { font-size: 0.85rem; font-weight: 700; color: var(--text-primary); margin-bottom: 3px; }
.sfp-persona-desc { font-size: 0.8rem; color: var(--text-secondary); line-height: 1.5; }
.sfp-closing { margin-top: 28px; padding-top: 24px; border-top: 1px solid var(--brand-border); font-size: 0.85rem; color: var(--text-muted); line-height: 1.65; font-style: italic; }

/* ── Demo section (YouTube broken fix) ───────────────────────────────── */
.video-section .container { text-align: center; }
.video-section .section-sub { margin: 0 auto 40px; }
.demo-poster {
  max-width: 420px; margin: 0 auto;
  border-radius: 18px; overflow: hidden;
  border: 1px solid var(--brand-border);
  box-shadow: 0 24px 70px rgba(0,0,0,0.5);
  position: relative; display: block; text-decoration: none;
  background: var(--brand-card);
}
.demo-poster img { width: 100%; display: block; transition: transform 0.25s ease; }
.demo-poster:hover img,
.demo-poster:focus-visible img { transform: scale(1.015); }
.demo-poster:focus-visible {
  outline: 2px solid rgba(108,166,255,0.9);
  outline-offset: 4px;
}
.video-image-link {
  display: block;
  text-decoration: none;
  color: inherit;
  overflow: hidden;
}
.video-image-link img {
  transition: transform 0.25s ease;
}
.video-image-link:focus-visible {
  outline: 2px solid rgba(108,166,255,0.9);
  outline-offset: 3px;
}
.video-image-link:hover img,
.video-image-link:focus-visible img { transform: scale(1.015); }
.video-link-note {
  margin: 14px auto 0;
  text-align: center;
}
.video-link-note a {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 10px 16px;
  border-radius: 999px;
  border: 1px solid var(--brand-border);
  background: rgba(12,18,42,0.9);
  color: var(--text-primary);
  font-size: 0.8rem;
  font-weight: 700;
  text-decoration: none;
  box-shadow: 0 14px 34px rgba(0,0,0,0.22);
  transition: transform 0.2s, border-color 0.2s, box-shadow 0.2s, color 0.2s;
}
.video-link-note a::before {
  content: "\25B6";
  width: 28px;
  height: 28px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--gradient);
  color: #fff;
  font-size: 0.78rem;
  box-shadow: 0 8px 20px rgba(79,172,254,0.32);
  flex-shrink: 0;
}
.video-link-note a:hover,
.video-link-note a:focus-visible {
  border-color: rgba(79,172,254,0.45);
  color: #fff;
  transform: translateY(-1px);
  box-shadow: 0 18px 40px rgba(0,0,0,0.28);
}
.video-link-note a:focus-visible {
  outline: 2px solid rgba(108,166,255,0.9);
  outline-offset: 3px;
}
.video-link-note--hero { margin-top: 14px; text-align: left; }
.video-link-note--card {
  margin: 14px 24px 0;
  text-align: left;
}
.video-link-note--card a { font-size: 0.76rem; }
.video-image-link--research {
  width: 100%;
  max-width: 860px;
  margin: 36px auto 0;
  border-radius: 14px;
}
.video-image-link--research .research-visual {
  max-width: none;
  margin: 0;
}
.video-image-link--study {
  width: 100%;
  max-width: 760px;
  margin: 40px auto;
  border-radius: 14px;
}
.video-image-link--study .study-visual {
  max-width: none;
  margin: 0;
}
@media (max-width: 640px) {
  .video-link-note a {
    gap: 8px;
    padding: 8px 12px;
    font-size: 0.72rem;
  }
  .video-link-note a::before {
    width: 24px;
    height: 24px;
    font-size: 0.68rem;
  }
  .video-link-note--card {
    margin-left: 18px;
    margin-right: 18px;
  }
}

/* ── Features ─────────────────────────────────────────────────────────── */
.features-section .inner { text-align: center; }
.features-section .section-sub { margin: 0 auto 48px; }
.feature-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px;
  margin-top: 48px;
}
.feature-card {
  background: var(--brand-card);
  border: 1px solid var(--brand-border);
  border-radius: var(--radius); padding: 28px;
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
  transition: border-color 0.2s, transform 0.2s;
}
.feature-card:hover { border-color: rgba(108,166,255,0.3); transform: translateY(-2px); }
.feature-icon {
  width: 44px; height: 44px; border-radius: 12px;
  background: var(--gradient); display: flex; align-items: center;
  justify-content: center; font-size: 1.2rem; margin-bottom: 16px;
}
.feature-card h3 { font-size: 1rem; font-weight: 700; margin-bottom: 8px; }
.feature-card p { color: var(--text-secondary); font-size: 0.88rem; line-height: 1.6; }

/* ── Why it matters ───────────────────────────────────────────────────── */
.why-section { background: var(--brand-mid); }
.why-grid {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 32px; margin-top: 48px;
}
.why-block {
  background: var(--brand-card);
  border: 1px solid var(--brand-border);
  border-radius: var(--radius);
  padding: 32px 24px;
  text-align: center;
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
}
.why-stat {
  font-size: 2.6rem; font-weight: 800;
  background: var(--gradient-text); -webkit-background-clip: text; -webkit-text-fill-color: transparent;
  background-clip: text;
  line-height: 1; margin-bottom: 12px;
}
.why-label { font-size: 0.86rem; color: var(--text-secondary); line-height: 1.5; }
.why-copy .section-title { margin-bottom: 20px; }
.why-copy p { color: var(--text-secondary); font-size: 0.97rem; line-height: 1.75; margin-bottom: 14px; }
.why-quote-card blockquote {
  font-size: 1.1rem; line-height: 1.65; color: var(--text-primary);
  font-style: italic; margin-bottom: 16px;
  border: none; padding: 0;
}
.why-quote-card cite { font-size: 0.82rem; color: var(--text-muted); font-style: normal; }

/* ── Review ───────────────────────────────────────────────────────────── */
.review-section { text-align: center; }
.review-section .section-sub { margin: 0 auto; }
.review-card {
  max-width: 720px; margin: 48px auto 0;
  background: var(--brand-card); border: 1px solid rgba(79,172,254,0.2);
  border-radius: var(--radius); padding: 36px 40px;
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
  position: relative;
  box-shadow: 0 8px 48px rgba(0,0,0,0.3), 0 0 40px rgba(79,172,254,0.05);
}
.review-card::before {
  content: '"'; position: absolute; top: 12px; left: 28px;
  font-size: 5rem; line-height: 1; color: rgba(108,166,255,0.12);
  font-family: Georgia, serif;
}
.review-stars { color: #fbbf24; font-size: 1.1rem; margin-bottom: 16px; }
.review-text {
  font-size: 1.02rem; line-height: 1.7; color: var(--text-primary);
  font-style: italic; margin-bottom: 20px;
}
.review-meta { color: var(--text-muted); font-size: 0.85rem; }
.review-meta strong { color: var(--text-secondary); }
.review-badge {
  display: inline-flex; align-items: center; gap: 6px;
  background: rgba(108,166,255,0.08); border: 1px solid rgba(108,166,255,0.2);
  border-radius: 6px; padding: 3px 9px; font-size: 0.75rem;
  color: var(--brand-blue); margin-left: 10px;
}

/* ── Research ─────────────────────────────────────────────────────────── */
.research-section .inner { text-align: center; }
.research-section .section-sub { margin: 0 auto; }

/* ── Community ────────────────────────────────────────────────────────── */
.community-section { text-align: center; }
.community-section .section-sub { margin: 0 auto; }
.community-grid {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 16px; margin-top: 48px;
}
.community-card {
  background: var(--brand-card); border: 1px solid var(--brand-border);
  border-radius: 14px; padding: 24px 20px;
  text-decoration: none; color: inherit;
  transition: border-color 0.2s, transform 0.15s;
  display: block;
}
.community-card:hover { border-color: rgba(108,166,255,0.35); transform: translateY(-2px); }
.community-card .icon { font-size: 1.8rem; margin-bottom: 12px; }
.community-card h4 { font-size: 0.95rem; font-weight: 700; margin-bottom: 6px; }
.community-card p { color: var(--text-secondary); font-size: 0.82rem; }

/* ── Trust ────────────────────────────────────────────────────────────── */
.trust-section { background: var(--brand-mid); text-align: center; }
.trust-section .section-sub { margin: 0 auto; }
.trust-pills {
  display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; margin-top: 36px;
}
.trust-pill {
  display: flex; align-items: center; gap: 8px;
  background: var(--brand-card); border: 1px solid var(--brand-border);
  border-radius: 100px; padding: 10px 20px;
  font-size: 0.85rem; color: var(--text-secondary);
}
.trust-pill-link { color: inherit; text-decoration: none; }
.trust-pill--github:hover {
  background: rgba(255,255,255,0.08);
  border-color: rgba(255,255,255,0.3);
}

/* ── Support ──────────────────────────────────────────────────────────── */
.support-section { text-align: center; }
.support-section .section-sub { margin: 0 auto 36px; }
.btn-primary--spaced { margin-top: 8px; }

/* ── Goldfish Effect section ─────────────────────────────────────────── */
.goldfish-section { padding: 80px 0; background: var(--brand-mid); }
.goldfish-grid {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 28px; margin-top: 48px;
}
@media (max-width: 720px) { .goldfish-grid { grid-template-columns: 1fr; } }
.goldfish-card {
  background: var(--brand-card); border: 1px solid var(--brand-border);
  border-radius: 20px; overflow: hidden;
  display: flex; flex-direction: column;
}
.goldfish-card--problem { border-color: rgba(239,68,68,0.25); }
.goldfish-card--solution { border-color: rgba(79,172,254,0.3); }
.goldfish-label {
  font-size: 0.72rem; font-weight: 700; letter-spacing: 0.1em;
  text-transform: uppercase; padding: 10px 20px;
}
.goldfish-label--problem {
  background: rgba(239,68,68,0.08); color: #f87171;
  border-bottom: 1px solid rgba(239,68,68,0.15);
}
.goldfish-label--solution {
  background: rgba(79,172,254,0.08); color: var(--brand-blue);
  border-bottom: 1px solid rgba(79,172,254,0.15);
}
.video-image-link--goldfish { border-bottom: none; }
.video-image-link--goldfish .goldfish-img { width: 100%; }
.goldfish-img { width: 100%; display: block; }
.goldfish-caption {
  color: var(--text-secondary); font-size: 0.9rem; line-height: 1.65;
  padding: 20px 24px 8px; flex: 1;
}
.goldfish-cite {
  font-size: 0.75rem; color: var(--text-muted); font-style: italic;
  padding: 0 24px 20px;
}
.goldfish-footnote {
  margin-top: 36px; text-align: center;
  font-size: 0.82rem; color: var(--text-muted); line-height: 1.7;
  max-width: 680px; margin-left: auto; margin-right: auto;
}
.goldfish-footnote a { color: var(--brand-blue); text-decoration: none; }
.goldfish-footnote a:hover { text-decoration: underline; }
.goldfish-read-more {
  display: flex; align-items: center; gap: 0;
  max-width: 860px; margin: 40px auto 0;
  background: var(--brand-card); border: 1px solid var(--brand-border);
  border-radius: 18px; overflow: hidden; text-decoration: none; color: inherit;
  transition: border-color 0.25s, box-shadow 0.25s;
}
.goldfish-read-more:hover { border-color: rgba(79,172,254,0.4); box-shadow: 0 0 32px rgba(79,172,254,0.08); }
.goldfish-read-more-img { width: 240px; min-width: 240px; height: 192px; object-fit: cover; }
.goldfish-read-more-body { padding: 28px 38px; flex: 1; }
.goldfish-read-more-label { font-size: 0.75rem; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; color: var(--text-muted); display: block; margin-bottom: 12px; }
.goldfish-read-more-title { font-size: 1.18rem; font-weight: 700; color: var(--text-primary); line-height: 1.4; margin-bottom: 16px; }
.goldfish-read-more-cta { font-size: 0.88rem; font-weight: 700; color: var(--brand-blue); }
@media (max-width: 640px) {
  .goldfish-read-more { flex-direction: column; }
  .goldfish-read-more-img { width: 100%; min-width: unset; height: 200px; }
  .goldfish-read-more-body { padding: 22px 26px; }
}

/* ── Product Family section (index.html) ─────────────────────────────── */
.product-family-section { padding: 80px 0; background: var(--brand-mid); }
.product-family-grid {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 24px; margin-top: 48px;
}
.product-family-card {
  background: var(--brand-card); border: 1px solid var(--brand-border);
  border-radius: 20px; padding: 32px 28px;
  display: flex; flex-direction: column; align-items: center; text-align: center; gap: 14px;
}
.product-family-card--live { border-color: rgba(79,172,254,0.35); }
.product-family-logo { height: 72px; width: auto; border-radius: 12px; object-fit: contain; }
.product-family-desc { color: var(--text-secondary); font-size: 0.9rem; line-height: 1.6; flex: 1; }
.product-family-cta { display: inline-block; margin-top: 36px; }

/* ── Shared inner-page hero text classes ─────────────────────────────── */
.page-hero-title { font-size: clamp(2rem, 5vw, 3.2rem); margin-bottom: 16px; }
.page-hero-sub { color: var(--text-secondary); font-size: 1.05rem; max-width: 560px; margin: 0 auto; }

/* ── Shared page brand strip (used across about / news / privacy / vision) */
.page-brand-strip {
  display: flex; align-items: center; justify-content: center; gap: 20px;
  max-width: 860px; margin: 0 auto 32px;
}
.page-brand-icon {
  width: 52px; height: 52px; border-radius: 12px;
  box-shadow: 0 4px 16px rgba(108,166,255,0.25);
}
.page-brand-logo {
  height: 78px; width: auto; border-radius: 10px;
}

/* ── Footer CTA ───────────────────────────────────────────────────────── */
.footer-cta {
  padding: 96px 24px; text-align: center;
  background: radial-gradient(ellipse 70% 60% at 50% 100%, rgba(142,68,173,0.1) 0%, transparent 70%);
}
#install-actions { scroll-margin-top: 110px; }
.footer-cta-logo {
  height: 80px; width: auto; border-radius: 12px;
  display: block; margin: 0 auto 28px;
}
.footer-cta h2 {
  font-size: clamp(1.8rem, 4vw, 2.8rem); font-weight: 800;
  margin-bottom: 14px; letter-spacing: -0.025em;
}
.footer-cta p { color: var(--text-secondary); margin-bottom: 36px; font-size: 1.05rem; }
.footer-cta .cta-group { justify-content: center; }

/* ── Research accordion ───────────────────────────────────────────────── */
.research-hook {
  font-size: clamp(1.1rem, 2.5vw, 1.5rem); font-weight: 700;
  color: var(--text-primary); text-align: center;
  margin: 40px auto 12px; max-width: 680px;
}
.research-hook span { background: var(--gradient-text); -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text; }
.research-flagship {
  background: var(--brand-card); border: 1px solid var(--brand-blue);
  border-radius: var(--radius); padding: 28px 32px;
  margin: 24px auto 20px; max-width: 680px;
  display: flex; flex-direction: column; gap: 10px;
  box-shadow: 0 0 28px rgba(108,166,255,0.12);
  -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px);
}
.research-flagship-stat {
  font-size: clamp(2rem, 5vw, 3rem); font-weight: 900; line-height: 1;
  background: var(--gradient-text); -webkit-background-clip: text;
  background-clip: text; -webkit-text-fill-color: transparent;
}
.research-flagship h4 { font-size: 1.05rem; font-weight: 700; color: var(--text-primary); margin: 0; }
.research-flagship p { color: var(--text-secondary); font-size: 0.88rem; line-height: 1.6; margin: 0; }
.research-flagship-footer {
  display: flex; align-items: center; justify-content: space-between;
  flex-wrap: wrap; gap: 8px; margin-top: 6px;
}
.research-expand-btn {
  display: block; margin: 0 auto 48px;
  background: none; border: 1px solid var(--brand-border);
  color: var(--brand-blue); font-size: 0.88rem; font-weight: 600;
  padding: 10px 24px; border-radius: 20px; cursor: pointer;
  transition: background 0.2s, color 0.2s;
}
.research-expand-btn:hover { background: var(--brand-card); color: var(--text-primary); }
.research-grid {
  display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px;
  max-height: 0; overflow: hidden; transition: max-height 0.45s ease;
}
.research-card {
  background: var(--brand-card); border: 1px solid var(--brand-border);
  border-radius: var(--radius); padding: 28px 28px 24px;
  -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px);
}
.research-card h4 { font-size: 1rem; font-weight: 700; margin-bottom: 10px; color: var(--text-primary); }
.research-card p { color: var(--text-secondary); font-size: 0.88rem; line-height: 1.6; margin-bottom: 12px; }
.research-year { font-size: 0.78rem; color: var(--brand-blue); font-weight: 600; display: block; margin-bottom: 8px !important; }
.research-year--inline { margin-bottom: 0 !important; }
.research-link {
  font-size: 0.78rem; color: var(--brand-blue); text-decoration: none;
  border-bottom: 1px solid rgba(108,166,255,0.3); transition: border-color 0.2s;
}
.research-link:hover { border-color: var(--brand-blue); }
.research-journals { grid-column: 1 / -1; margin-top: 12px; padding-top: 28px; border-top: 1px solid var(--brand-border); }
.research-journals-label { font-size: 0.72rem; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; color: var(--text-muted); margin-bottom: 16px; }
.research-journal-list { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 14px; }
.research-journal-card {
  display: flex; flex-direction: column; gap: 5px;
  background: rgba(108,166,255,0.04); border: 1px solid var(--brand-border);
  border-radius: 14px; padding: 18px 20px;
  text-decoration: none; color: inherit;
  transition: border-color 0.2s;
}
.research-journal-card:hover { border-color: rgba(108,166,255,0.3); }
.research-journal-name { font-size: 0.9rem; font-weight: 700; color: var(--text-primary); }
.research-journal-pub { font-size: 0.72rem; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase; color: var(--brand-blue); }
.research-journal-desc { font-size: 0.82rem; color: var(--text-secondary); line-height: 1.55; margin-top: 4px; flex: 1; }
.research-journal-link { font-size: 0.75rem; color: var(--text-muted); margin-top: 6px; }

/* ── Footer ───────────────────────────────────────────────────────────── */
footer {
  background: var(--bg);
  border-top: 1px solid var(--brand-border);
  padding: 40px 24px 32px;
}
.footer-inner {
  max-width: 1140px; margin: 0 auto;
  display: flex; flex-wrap: wrap; gap: 24px;
  justify-content: space-between; align-items: flex-start;
}
.footer-brand p { color: var(--text-muted); font-size: 0.82rem; margin-top: 6px; max-width: 320px; }
.footer-links { display: flex; gap: 20px; flex-wrap: wrap; margin-top: 4px; }
.footer-links a { color: var(--text-muted); text-decoration: none; font-size: 0.82rem; transition: color 0.2s; }
.footer-links a:hover { color: var(--brand-blue); }
.footer-bottom {
  max-width: 1140px; margin: 24px auto 0;
  padding-top: 20px; border-top: 1px solid var(--brand-border);
  display: flex; flex-wrap: wrap; gap: 12px;
  justify-content: space-between; align-items: center;
}
.footer-bottom p { color: var(--text-muted); font-size: 0.78rem; }
.footer-logo { text-decoration: none; }
.footer-logo-img { width: 28px; height: 28px; border-radius: 6px; }
.footer-logo-text { font-weight: 700; font-size: 1rem; color: #f0f2ff; }
.footer-brand-desc { margin-top: 8px; }
.footer-social-link { color: #6b7299; text-decoration: none; margin-right: 14px; }
.footer-social-link--last { margin-right: 0; }

/* ── Privacy page ─────────────────────────────────────────────────────── */
.privacy-hero-desc { color: var(--text-secondary); font-size: 0.95rem; margin-bottom: 0; max-width: 480px; line-height: 1.6; }
.data-section-label { color: var(--text-muted); font-size: 0.78rem; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase; margin: 0 0 10px; }
.data-section-label--spaced { margin-top: 20px; }
.contact-name { font-weight: 700; color: var(--text-primary); }
.contact-links { margin-top: 12px; }
.contact-legal { margin-top: 16px; font-size: 0.8rem; color: var(--text-muted); }

/* ── Responsive ───────────────────────────────────────────────────────── */
@media (max-width: 900px) {
  .why-grid { grid-template-columns: 1fr 1fr; }
  .hero-title { font-size: clamp(1.8rem, 6vw, 3rem); white-space: normal; }
  .hero-scene { flex-direction: column; }
  .hero-video-card { width: 100%; }
  .video-link-note--hero { text-align: center; }
  .hud-mockup { width: 100%; }
  .feature-grid { grid-template-columns: 1fr 1fr; }
  }
/* ── Mobile hamburger ─────────────────────────────────────────────────── */
.nav-hamburger {
  display: none; flex-direction: column; justify-content: center;
  gap: 5px; background: none; border: none; cursor: pointer;
  padding: 6px; z-index: 1001;
}
.nav-hamburger span {
  display: block; width: 22px; height: 2px;
  background: var(--text-primary); border-radius: 2px;
  transition: transform 0.25s, opacity 0.25s;
}
.nav-hamburger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-hamburger.open span:nth-child(2) { opacity: 0; }
.nav-hamburger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

@media (max-width: 640px) {
  .nav-hamburger { display: flex; }
  .nav-links {
    display: none; flex-direction: column; align-items: stretch;
    position: absolute; top: 100%; left: 0; right: 0;
    background: rgba(5,8,22,0.97); -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--brand-border);
    padding: 16px 20px 20px; gap: 4px; z-index: 1000;
  }
  .nav-links.open { display: flex; }
  .nav-links a { padding: 10px 4px; font-size: 1rem; border-bottom: 1px solid var(--brand-border); }
  .nav-links .btn-nav { margin-top: 8px; text-align: center; }
}

@media (max-width: 640px) {
  .nav-links { display: none; }
  .hero { padding: 110px 0 60px; }
  .cta-group { flex-direction: column; align-items: stretch; }
  .cta-note { font-size: 0.83rem; }
  .btn-primary, .btn-secondary { justify-content: center; }
  .feature-grid, .why-grid { grid-template-columns: 1fr; }
  .review-card { padding: 28px 24px; }
  .footer-inner { flex-direction: column; }
}

/* ── What's New bar ───────────────────────────────────────────────────── */
.whats-new-section { padding: 0 0 48px; }
.whats-new-card {
  background: rgba(79,172,254,0.05); border: 1px solid rgba(79,172,254,0.18);
  border-radius: 14px; padding: 22px 28px;
  display: flex; gap: 28px; align-items: flex-start; flex-wrap: wrap;
  max-width: 860px; margin: 0 auto;
}
.whats-new-badge {
  font-size: 0.72rem; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase;
  color: var(--brand-blue); white-space: nowrap; padding-top: 3px; min-width: 190px;
}
.whats-new-list { list-style: none; display: flex; flex-direction: column; gap: 6px; flex: 1; min-width: 0; }
.whats-new-list li {
  font-size: 0.88rem; color: var(--text-secondary);
  padding-left: 18px; position: relative; line-height: 1.5;
}
.whats-new-list li::before {
  content: '✓'; position: absolute; left: 0; color: var(--brand-blue);
  font-weight: 700; font-size: 0.75rem; top: 1px;
}

/* ── Why Local-First ──────────────────────────────────────────────────── */
@media (max-width: 760px) {
  .whats-new-card {
    flex-direction: column;
    gap: 14px;
    padding: 20px 22px;
  }
  .whats-new-badge {
    min-width: 0;
    white-space: normal;
    padding-top: 0;
  }
  .whats-new-list {
    width: 100%;
  }
}
.local-first-section { padding: 80px 0; background: var(--brand-mid); }
.local-first-grid {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 20px; margin-top: 48px;
}
.local-first-card {
  background: var(--brand-card); border: 1px solid var(--brand-border);
  border-radius: 16px; padding: 28px;
}
.local-first-icon { font-size: 1.5rem; display: block; margin-bottom: 14px; }
.local-first-card h4 { font-size: 0.97rem; font-weight: 700; margin-bottom: 8px; }
.local-first-card p { color: var(--text-secondary); font-size: 0.88rem; line-height: 1.6; }

/* ── Vision: Why This Matters Now ────────────────────────────────────── */
.why-matters-section { padding: 80px 0; }
.why-matters-grid {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 20px; margin-top: 48px;
}
.why-matters-card {
  background: var(--brand-card); border: 1px solid var(--brand-border);
  border-radius: 16px; padding: 28px; text-align: center;
}
.why-matters-stat {
  font-size: 2.4rem; font-weight: 900; letter-spacing: -0.04em;
  background: var(--gradient-text); -webkit-background-clip: text;
  -webkit-text-fill-color: transparent; background-clip: text;
  margin-bottom: 10px; display: block;
}
.why-matters-card p { color: var(--text-secondary); font-size: 0.88rem; line-height: 1.55; }

/* ── About: Founder timeline ──────────────────────────────────────────── */
.founder-timeline-section { padding: 64px 0; }
.founder-timeline {
  display: flex; gap: 0; margin-top: 40px; max-width: 900px; margin-left: auto; margin-right: auto;
}
.founder-timeline-node {
  flex: 1; display: flex; flex-direction: column; align-items: center; position: relative;
}
.founder-timeline-node::after {
  content: ''; position: absolute; top: 20px; left: 50%; right: -50%;
  height: 2px; background: var(--brand-border); z-index: 0;
}
.founder-timeline-node:last-child::after { display: none; }
.founder-timeline-dot {
  width: 40px; height: 40px; border-radius: 50%;
  background: var(--brand-card); border: 2px solid var(--brand-blue);
  display: flex; align-items: center; justify-content: center;
  font-size: 1rem; z-index: 1; position: relative; flex-shrink: 0;
}
.founder-timeline-body { padding: 16px 16px 0; text-align: center; }
.founder-timeline-year {
  font-size: 0.72rem; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase;
  color: var(--brand-blue); margin-bottom: 6px;
}
.founder-timeline-body h4 { font-size: 0.9rem; font-weight: 700; margin-bottom: 6px; }
.founder-timeline-body p { color: var(--text-secondary); font-size: 0.83rem; line-height: 1.5; }
@media (max-width: 640px) {
  .founder-timeline { flex-direction: column; gap: 16px; }
  .founder-timeline-node::after { display: none; }
  .founder-timeline-node { flex-direction: row; align-items: flex-start; gap: 16px; }
  .founder-timeline-body { padding: 0; text-align: left; }
}

/* ── News: Journalist card ────────────────────────────────────────────── */
.journalist-card {
  display: flex; flex-direction: column; gap: 10px;
  border-left: 3px solid var(--brand-blue);
}
.journalist-card .contact-row {
  display: flex; align-items: center; gap: 10px;
  font-size: 0.85rem; color: var(--text-secondary);
}
.journalist-card .contact-row a { color: var(--brand-blue); text-decoration: none; }
.journalist-card .contact-row a:hover { text-decoration: underline; }

/* ── Privacy: TL;DR box ───────────────────────────────────────────────── */
.privacy-tldr {
  max-width: 860px; margin: 0 auto; padding: 0 24px 48px;
}
.privacy-tldr-card {
  background: rgba(34,197,94,0.04); border: 1px solid rgba(34,197,94,0.2);
  border-radius: 16px; padding: 28px 32px;
}
.privacy-tldr-card h3 {
  font-size: 0.72rem; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase;
  color: #4ade80; margin-bottom: 16px;
}
.privacy-tldr-list { list-style: none; display: flex; flex-direction: column; gap: 8px; }
.privacy-tldr-list li {
  display: flex; gap: 12px; align-items: flex-start;
  font-size: 0.9rem; color: var(--text-primary); line-height: 1.5;
}
.privacy-tldr-list li span:first-child { color: #4ade80; flex-shrink: 0; font-size: 0.9rem; margin-top: 1px; }

/* ── Privacy: Local-only architecture diagram ─────────────────────────── */
.local-arch { max-width: 680px; margin: 32px auto 0; }
.local-arch-diagram {
  display: grid; grid-template-columns: 1fr auto 1fr;
  align-items: center; gap: 0; background: var(--brand-card);
  border: 1px solid var(--brand-border); border-radius: 16px; padding: 28px 24px;
}
.local-arch-node {
  background: rgba(79,172,254,0.07); border: 1px solid rgba(79,172,254,0.2);
  border-radius: 10px; padding: 16px 20px; text-align: center;
}
.local-arch-node h5 { font-size: 0.82rem; font-weight: 700; color: var(--text-primary); margin-bottom: 4px; }
.local-arch-node p { font-size: 0.75rem; color: var(--text-secondary); line-height: 1.4; }
.local-arch-arrow {
  display: flex; align-items: center; justify-content: center;
  padding: 0 10px; color: var(--brand-blue); font-size: 1.1rem; font-weight: 700;
}
.local-arch-label {
  text-align: center; margin-top: 12px; font-size: 0.75rem;
  color: var(--text-muted); font-weight: 600; letter-spacing: 0.05em; text-transform: uppercase;
}
@media (max-width: 560px) {
  .local-arch-diagram { grid-template-columns: 1fr; }
  .local-arch-arrow { transform: rotate(90deg); padding: 8px 0; }
}

/* ── Passive Mode "The Moment" walkthrough ───────────────────────────── */
.passive-moment-section { padding: 80px 0; background: var(--brand-mid); }
.moment-steps {
  display: flex; align-items: flex-start;
  margin-top: 56px; gap: 0;
}
.moment-step {
  flex: 1; display: flex; flex-direction: column; align-items: center;
  text-align: center; padding: 0 16px;
}
.moment-step-num {
  width: 36px; height: 36px; border-radius: 50%;
  background: var(--brand-card); border: 2px solid var(--brand-border);
  display: flex; align-items: center; justify-content: center;
  font-size: 0.8rem; font-weight: 800; color: var(--text-muted);
  margin-bottom: 16px; flex-shrink: 0;
}
.moment-step--passive .moment-step-num { border-color: #f0c040; color: #f0c040; }
.moment-step--mirror .moment-step-num { border-color: var(--brand-blue); color: var(--brand-blue); }
.moment-step-tag {
  font-size: 0.7rem; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase;
  color: var(--text-muted); display: block; margin-bottom: 10px;
}
.moment-chat-bubble {
  background: var(--brand-card); border: 1px solid var(--brand-border);
  border-radius: 16px 16px 4px 16px; padding: 12px 18px;
  font-size: 1rem; color: var(--text-primary); font-style: italic;
  margin-bottom: 12px; width: 100%;
}
.moment-passive-pill {
  display: inline-block;
  background: rgba(240,192,64,0.12); border: 1px solid rgba(240,192,64,0.45);
  border-radius: 20px; padding: 8px 20px;
  font-size: 1rem; font-weight: 800; color: #f0c040;
  margin: 8px 0 4px; letter-spacing: 0.02em;
}
.moment-step--passive {
  position: relative;
}
.moment-step--passive::before {
  content: ''; position: absolute; inset: -16px 6px;
  border-radius: 20px; border: 1px solid rgba(240,192,64,0.18);
  background: rgba(240,192,64,0.03); pointer-events: none;
}
.moment-step--passive > * { position: relative; z-index: 1; }
.moment-mirror-card {
  background: var(--brand-card); border: 1px solid rgba(79,172,254,0.3);
  border-radius: 14px; padding: 14px 16px; margin-bottom: 12px; width: 100%;
  box-shadow: 0 0 28px rgba(79,172,254,0.08);
}
.moment-mirror-prompts {
  display: flex; flex-direction: column; gap: 6px; margin-top: 10px;
}
.moment-mirror-prompts span {
  background: rgba(79,172,254,0.07); border: 1px solid rgba(79,172,254,0.15);
  border-radius: 8px; padding: 7px 10px;
  font-size: 0.8rem; color: var(--text-secondary); text-align: left;
}
.moment-step-desc {
  font-size: 0.84rem; color: var(--text-muted); line-height: 1.55; max-width: 210px; margin-top: 4px;
}
.moment-connector {
  font-size: 2rem; color: var(--brand-blue);
  flex-shrink: 0; padding-top: 34px; line-height: 1;
  margin: 0 4px; font-weight: 700;
  text-shadow: 0 0 12px rgba(79,172,254,0.35);
  opacity: 0.85;
}
/* 4-step layout: tighten each card so 4 columns fit comfortably */
.moment-steps--four .moment-step { padding: 0 8px; }
.moment-steps--four .moment-step-desc { max-width: 180px; font-size: 0.8rem; }
.moment-steps--four .moment-chat-bubble { font-size: 0.92rem; padding: 10px 14px; }
/* AI-response faux-card (step 2) */
.moment-ai-response {
  position: relative;
  background: var(--brand-card); border: 1px solid var(--brand-border);
  border-radius: 12px; padding: 14px 14px 12px; width: 100%;
  margin-bottom: 12px;
}
.moment-ai-check {
  position: absolute; top: -10px; right: -8px;
  width: 26px; height: 26px; border-radius: 50%;
  background: rgba(34,197,94,0.15); border: 1px solid rgba(34,197,94,0.45);
  color: #4ade80; font-size: 0.85rem; font-weight: 800;
  display: flex; align-items: center; justify-content: center;
}
.moment-ai-lines {
  display: flex; flex-direction: column; gap: 5px; margin-bottom: 10px;
}
.moment-ai-lines span {
  height: 6px; border-radius: 3px;
  background: linear-gradient(90deg, rgba(120,160,255,0.22), rgba(120,160,255,0.08));
}
.moment-ai-lines span.short { width: 60%; }
.moment-ai-label {
  font-size: 0.72rem; font-weight: 700; letter-spacing: 0.05em;
  color: var(--text-muted); text-transform: uppercase;
}
/* Step 4 "catch" emphasis — combines passive pill + mirror inside one glowing box */
.moment-step--catch .moment-mirror-card {
  border-color: rgba(79,172,254,0.35);
  box-shadow: 0 0 24px rgba(79,172,254,0.1);
}
.moment-footnote {
  text-align: center; margin-top: 48px;
  font-size: 0.95rem; color: var(--text-secondary); font-style: italic;
}
.moment-manifesto {
  text-align: center; margin-top: 22px;
  font-size: 1.05rem; color: var(--text-primary); line-height: 1.75;
  letter-spacing: 0.01em;
}
.moment-manifesto strong {
  display: inline-block; margin-top: 6px;
  font-size: 1.35rem; font-weight: 800; letter-spacing: -0.01em;
  background: linear-gradient(90deg, var(--brand-blue), var(--brand-purple));
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent; color: transparent;
}
.vibe-ai {
  color: #ff4d4d; font-weight: 900;
  -webkit-text-fill-color: #ff4d4d;
  text-shadow: 0 0 12px rgba(255,77,77,0.35);
}
.vibe-ai--invert {
  color: var(--brand-blue);
  -webkit-text-fill-color: var(--brand-blue);
  text-shadow: 0 0 12px rgba(108,166,255,0.45);
}
@media (max-width: 900px) {
  .moment-steps--four { flex-wrap: wrap; row-gap: 32px; }
  .moment-steps--four .moment-step { flex: 0 0 calc(50% - 20px); }
  .moment-steps--four .moment-connector:nth-of-type(2) { display: none; }
}
@media (max-width: 720px) {
  .moment-steps { flex-direction: column; align-items: center; gap: 4px; }
  .moment-steps--four .moment-step { flex: 1 1 100%; }
  .moment-connector { transform: rotate(90deg); padding-top: 0; padding-bottom: 4px; }
  .moment-steps--four .moment-connector { display: block; }
  .moment-step { padding: 12px 0; width: 100%; max-width: 300px; }
  .moment-step--passive::before { inset: -8px -8px; }
}

/* ── HUD moment label (Option 2) ─────────────────────────────────────── */
.hud-moment-label {
  text-align: center; margin-top: 8px;
  font-size: 0.75rem; font-weight: 700; letter-spacing: 0.04em;
  color: #f0c040; opacity: 0; transition: opacity 0.6s ease;
  min-height: 1.2em; max-width: 96px; line-height: 1.45;
  align-self: center;
}
.hud-moment-label.visible { opacity: 1; }

/* ── Study / Research Pilot section (vision.html) ────────────────────── */
.study-section { padding: 100px 0; border-top: 1px solid var(--brand-border); }
.study-gap {
  background: rgba(108,166,255,0.06); border: 1px solid rgba(108,166,255,0.2);
  border-left: 4px solid var(--brand-blue); border-radius: var(--radius);
  padding: 24px 28px; margin: 40px auto; max-width: 720px;
}
.study-gap-label { font-size: 0.72rem; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; color: var(--brand-blue); margin-bottom: 10px; }
.study-gap p { color: var(--text-secondary); font-size: 0.95rem; line-height: 1.7; margin: 0; font-style: italic; }
.study-hypothesis {
  text-align: center; margin: 56px auto; max-width: 680px;
  padding: 40px 36px;
  background: var(--brand-card); border: 1px solid var(--brand-border);
  border-radius: 20px;
  box-shadow: 0 0 40px rgba(108,166,255,0.08);
}
.study-hypothesis-label { font-size: 0.72rem; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; color: var(--text-muted); margin-bottom: 16px; }
.study-hypothesis h3 {
  font-size: clamp(1.3rem, 3vw, 1.9rem); font-weight: 800; line-height: 1.3;
  background: var(--gradient-text); -webkit-background-clip: text;
  background-clip: text; -webkit-text-fill-color: transparent;
  margin-bottom: 16px;
}
.study-hypothesis p { color: var(--text-secondary); font-size: 0.95rem; line-height: 1.7; margin: 0; }
.study-design-grid {
  display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px;
  margin: 48px 0;
}
.study-design-card {
  background: var(--brand-card); border: 1px solid var(--brand-border);
  border-radius: var(--radius); padding: 28px;
}
.study-design-card h4 { font-size: 0.78rem; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; color: var(--brand-blue); margin-bottom: 12px; }
.study-design-card p { color: var(--text-secondary); font-size: 0.88rem; line-height: 1.65; margin: 0; }
.study-design-card strong { color: var(--text-primary); }
.study-honest-note {
  background: rgba(199,125,255,0.06); border: 1px solid rgba(199,125,255,0.2);
  border-radius: var(--radius); padding: 28px 32px;
  margin: 0 auto 48px; max-width: 720px; text-align: center;
}
.study-honest-note p { color: var(--text-secondary); font-size: 0.95rem; line-height: 1.7; margin: 0; }
.study-honest-note strong { color: var(--text-primary); }
.study-cta {
  text-align: center; padding: 48px 32px;
  background: var(--brand-card); border: 1px solid var(--brand-blue);
  border-radius: 20px; max-width: 680px; margin: 0 auto;
  box-shadow: 0 0 40px rgba(108,166,255,0.1);
}
.study-cta h3 { font-size: clamp(1.1rem, 2.5vw, 1.45rem); font-weight: 700; color: var(--text-primary); margin-bottom: 16px; line-height: 1.4; }
.study-cta p { color: var(--text-secondary); font-size: 0.9rem; line-height: 1.7; margin-bottom: 24px; }
.study-cta-roles { display: flex; justify-content: center; flex-wrap: wrap; gap: 10px; margin-bottom: 28px; }
.study-cta-role { background: rgba(108,166,255,0.1); border: 1px solid rgba(108,166,255,0.25); border-radius: 20px; padding: 6px 16px; font-size: 0.82rem; font-weight: 600; color: var(--brand-blue); }
.research-bridge {
  grid-column: 1 / -1; margin-top: 12px; padding: 32px 36px;
  background: linear-gradient(135deg, rgba(108,166,255,0.08) 0%, rgba(142,68,173,0.08) 100%);
  border: 1px solid rgba(108,166,255,0.3);
  border-left: 4px solid var(--brand-blue);
  border-radius: var(--radius); text-align: center;
  box-shadow: 0 4px 24px rgba(108,166,255,0.08);
}
.research-bridge-lead {
  font-size: 0.78rem; font-weight: 700; letter-spacing: 0.09em;
  text-transform: uppercase; color: var(--brand-blue);
  margin-bottom: 10px;
}
.research-bridge-body {
  font-size: 1.05rem; font-weight: 600; color: var(--text-primary);
  line-height: 1.55; margin-bottom: 20px;
}
.research-bridge-body strong {
  background: var(--gradient-text); -webkit-background-clip: text;
  background-clip: text; -webkit-text-fill-color: transparent;
}
.research-bridge-cta {
  display: inline-block; color: var(--text-primary); font-weight: 700;
  font-size: 0.95rem; text-decoration: none;
  background: var(--brand-blue); padding: 10px 22px;
  border-radius: 24px; transition: opacity 0.2s, transform 0.2s;
  letter-spacing: 0.01em;
}
.research-bridge-cta:hover { opacity: 0.88; transform: translateX(3px); }
.research-bridge--standalone {
  grid-column: unset; margin: 28px 0 0;
  border-left-width: 5px;
  box-shadow: 0 6px 32px rgba(108,166,255,0.13);
}
@media (max-width: 720px) { .study-design-grid { grid-template-columns: 1fr; } }
.study-visual {
  width: 100%; max-width: 760px; margin: 40px auto;
  display: block; border-radius: 14px;
  border: 1px solid var(--brand-border);
  box-shadow: 0 8px 40px rgba(0,0,0,0.35);
}
.research-visual {
  width: 100%; max-width: 860px; margin: 36px auto 0;
  display: block; border-radius: 14px;
  border: 1px solid var(--brand-border);
  box-shadow: 0 8px 40px rgba(0,0,0,0.35);
}
.research-visual--stack { margin-top: 20px; }
/* ── Glossary ─────────────────────────────────────────────────────────── */
.glossary-section { padding: 80px 0; }
.glossary-sub { text-align: center; max-width: 560px; margin: 0 auto 40px; }
.glossary-list { max-width: 680px; margin: 0 auto; border: 1px solid var(--brand-border); border-radius: var(--radius); overflow: hidden; }
.glossary-item { border-bottom: 1px solid var(--brand-border); scroll-margin-top: 100px; }
.glossary-item:last-child { border-bottom: none; }
.glossary-item:target { outline: none; }
.glossary-item:target .glossary-row { border-left: 3px solid var(--brand-blue); color: var(--brand-blue); }
.glossary-row {
  width: 100%; background: none; border: none; border-left: 3px solid transparent;
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  padding: 16px 20px; cursor: pointer; text-align: left;
  transition: background 0.15s, border-color 0.15s;
}
.glossary-row:hover { background: rgba(108,166,255,0.05); }
.glossary-row[aria-expanded="true"] { background: rgba(108,166,255,0.07); border-left-color: var(--brand-blue); }
.glossary-term {
  font-size: 0.95rem; font-weight: 700; color: var(--text-primary); flex: 1;
}
.glossary-pronounce {
  font-size: 0.72rem; color: var(--text-muted); font-style: italic;
  font-weight: 400; margin-left: 8px;
}
.glossary-icon {
  font-size: 1.1rem; font-weight: 300; color: var(--brand-blue);
  transition: transform 0.2s; flex-shrink: 0; line-height: 1;
}
.glossary-row[aria-expanded="true"] .glossary-icon { transform: rotate(45deg); }
.glossary-body {
  max-height: 0; overflow: hidden;
  transition: max-height 0.3s ease, padding 0.2s ease;
  padding: 0 20px;
}
.glossary-body.open { max-height: 300px; padding: 0 20px 18px; }
.glossary-body p { color: var(--text-secondary); font-size: 0.87rem; line-height: 1.65; margin-bottom: 10px; }
.glossary-body p:last-child { margin-bottom: 0; }
.glossary-used {
  font-size: 0.75rem; color: var(--text-muted);
  display: flex; align-items: center; gap: 6px; flex-wrap: wrap;
}
.glossary-used-label { font-weight: 600; color: var(--brand-blue); }
.glossary-used a {
  color: var(--text-muted); text-decoration: none;
  border-bottom: 1px solid rgba(255,255,255,0.12);
  transition: color 0.2s, border-color 0.2s;
}
.glossary-used a:hover { color: var(--brand-blue); border-color: var(--brand-blue); }
.glossary-inline {
  color: var(--brand-blue); text-decoration: none;
  border-bottom: 1px dashed rgba(108,166,255,0.5);
  transition: border-color 0.2s;
}
.glossary-inline:hover { border-color: var(--brand-blue); }
.glossary-hero-link { font-size: 0.9rem; }
.research-visual-caption {
  text-align: center; font-size: 0.75rem; color: var(--text-muted);
  margin-top: 10px; font-style: italic;
}

/* ── Reduced motion — respect OS/browser setting ─────────────────────── */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}
