/* ──────────────────────────────────────────────
   PigeonGov — Charm / Bubble Tea Design System
   ────────────────────────────────────────────── */

@import url('https://fonts.googleapis.com/css2?family=Press+Start+2P&family=JetBrains+Mono:wght@400;700&display=swap');

/* ── Custom Properties ── */

:root {
  --purple: #6c3aed;
  --purple-light: #a855f7;
  --pink: #ec4899;
  --cyan: #06b6d4;
  --green: #10b981;
  --yellow: #f59e0b;
  --orange: #f97316;
  --dark: #1e1e2e;
  --dark-surface: #282838;
  --dark-elevated: #313148;
  --white: #ffffff;
  --white-dim: rgba(255, 255, 255, 0.7);
  --white-muted: rgba(255, 255, 255, 0.5);
  --ink: #1e1e2e;
  --muted: #64748b;
  --line: rgba(255, 255, 255, 0.12);
  --line-dark: rgba(30, 30, 46, 0.1);
  --shadow: 0 25px 80px rgba(0, 0, 0, 0.25);
  --radius: 20px;
  --radius-sm: 12px;
  --mono: "JetBrains Mono", "SF Mono", "Fira Code", "Cascadia Code", monospace;
  --pixel: "Press Start 2P", monospace;
  --sans: system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;

  /* neon accents */
  --neon-green: #00ff88;
  --neon-pink: #ff69b4;
  --neon-purple: #bf5af2;
  --neon-cyan: #64d2ff;

  /* gradient */
  --gradient-main: linear-gradient(135deg, #7c3aed 0%, #a855f7 30%, #ec4899 70%, #06b6d4 100%);
  --gradient-hero: linear-gradient(160deg, #4c1d95 0%, #7c3aed 25%, #a855f7 45%, #ec4899 70%, #06b6d4 100%);
}

/* ── Reset ── */

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

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  font-family: var(--sans);
  color: var(--ink);
  background: var(--dark);
  min-height: 100vh;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

img, svg {
  max-width: 100%;
  display: block;
}

a {
  color: inherit;
}

/* ── Utility Classes ── */

.content-wrap {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 32px;
}

/* ══════════════════════════════════════════════
   HOME PAGE
   ══════════════════════════════════════════════ */

/* ── Nav ── */

.topbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 16px 32px;
  background: rgba(30, 30, 46, 0.6);
  backdrop-filter: blur(20px) saturate(180%);
  -webkit-backdrop-filter: blur(20px) saturate(180%);
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.brand {
  color: var(--neon-pink);
  text-decoration: none;
  font-size: 1rem;
  font-weight: 800;
  letter-spacing: 0.02em;
  font-family: var(--pixel);
  text-shadow: 2px 2px 0 rgba(0, 0, 0, 0.3);
}

.brand .cursor {
  color: var(--neon-green);
  animation: blink 1.2s step-end infinite;
  text-shadow: none;
}

/* Remove old ::after cursor — now using inline span */

@keyframes blink {
  50% { opacity: 0; }
}

.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
  min-width: 44px;
  min-height: 44px;
  align-items: center;
  justify-content: center;
}

.hamburger span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--white);
  border-radius: 2px;
  transition: transform 200ms ease, opacity 200ms ease;
}

.hamburger[aria-expanded="true"] span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.hamburger[aria-expanded="true"] span:nth-child(2) {
  opacity: 0;
}

.hamburger[aria-expanded="true"] span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

.nav {
  display: flex;
  gap: 8px;
  align-items: center;
}

.nav a {
  text-decoration: none;
  color: var(--white-dim);
  font-size: 0.9rem;
  font-weight: 500;
  padding: 8px 16px;
  border-radius: 999px;
  transition: background 160ms ease, color 160ms ease;
  min-height: 40px;
  display: inline-flex;
  align-items: center;
}

.nav a:hover {
  background: rgba(255, 255, 255, 0.1);
  color: var(--white);
}

.nav a[aria-current="page"] {
  background: rgba(168, 85, 247, 0.25);
  color: var(--white);
}

/* ── Stripe Pattern (Charm signature //// motif) ── */

.stripe-bar {
  height: 20px;
  background: repeating-linear-gradient(
    -45deg,
    transparent,
    transparent 4px,
    rgba(255, 255, 255, 0.15) 4px,
    rgba(255, 255, 255, 0.15) 5px
  );
  margin: 24px auto;
  max-width: 600px;
  border-radius: 4px;
}

.stripe-bar-wide {
  height: 12px;
  background: repeating-linear-gradient(
    -45deg,
    transparent,
    transparent 4px,
    rgba(255, 255, 255, 0.1) 4px,
    rgba(255, 255, 255, 0.1) 5px
  );
  margin: 32px 0 16px;
  border-radius: 4px;
}

.section-light .stripe-bar-wide,
.agent-section .stripe-bar-wide {
  background: repeating-linear-gradient(
    -45deg,
    transparent,
    transparent 4px,
    rgba(108, 58, 237, 0.1) 4px,
    rgba(108, 58, 237, 0.1) 5px
  );
}

/* ── Hero Section ── */

.hero-section {
  background: #6c3aed;
  position: relative;
  overflow: hidden;
  padding: 160px 0 100px;
}

.hero-section::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 70% 20%, rgba(191, 90, 242, 0.25) 0%, transparent 50%),
    radial-gradient(circle at 30% 80%, rgba(255, 105, 180, 0.15) 0%, transparent 50%);
  pointer-events: none;
}

.hero-section::after {
  content: "";
  position: absolute;
  inset: 0;
  background: repeating-linear-gradient(
    -45deg,
    transparent,
    transparent 8px,
    rgba(255, 255, 255, 0.02) 8px,
    rgba(255, 255, 255, 0.02) 9px
  );
  pointer-events: none;
}

.hero-content {
  position: relative;
  z-index: 1;
  text-align: center;
}

.hero-content h1 {
  font-family: var(--pixel);
  font-size: clamp(1.4rem, 3.5vw, 2.6rem);
  font-weight: 400;
  color: var(--white);
  line-height: 1.6;
  margin: 0 0 24px;
  letter-spacing: 0.01em;
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
  text-shadow: 3px 3px 0 rgba(0, 0, 0, 0.2);
}

.hero-subtitle {
  font-size: clamp(1.1rem, 2vw, 1.35rem);
  color: var(--white-dim);
  max-width: 640px;
  margin: 0 auto 40px;
  line-height: 1.6;
  font-weight: 400;
}

.hero-stats {
  display: inline-flex;
  gap: 6px;
  flex-wrap: wrap;
  justify-content: center;
  margin-bottom: 40px;
}

.hero-stat-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 16px;
  border-radius: 999px;
  font-size: 0.85rem;
  font-weight: 600;
  border: 1px solid rgba(255, 255, 255, 0.15);
  background: rgba(255, 255, 255, 0.08);
  color: var(--white);
  backdrop-filter: blur(8px);
}

.hero-stat-pill .stat-num {
  font-family: var(--mono);
  color: var(--cyan);
}

.hero-actions {
  display: flex;
  gap: 14px;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 56px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 32px;
  border-radius: 999px;
  font-size: 1rem;
  font-weight: 700;
  text-decoration: none;
  border: none;
  cursor: pointer;
  transition: transform 160ms ease, box-shadow 160ms ease, background 160ms ease;
  min-height: 52px;
  font-family: var(--sans);
}

.btn:hover {
  transform: translateY(-2px);
}

.btn-pink {
  background: var(--pink);
  color: var(--white);
  box-shadow: 0 8px 30px rgba(236, 72, 153, 0.4);
}

.btn-pink:hover {
  box-shadow: 0 12px 40px rgba(236, 72, 153, 0.5);
}

.btn-outline {
  background: transparent;
  color: var(--white);
  border: 2px solid rgba(255, 255, 255, 0.3);
}

.btn-outline:hover {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.5);
}

/* ── Terminal Window Component ── */

.terminal-window {
  background: var(--dark);
  border-radius: var(--radius);
  box-shadow: 0 30px 100px rgba(0, 0, 0, 0.5);
  overflow: hidden;
  text-align: left;
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.terminal-titlebar {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 14px 18px;
  background: rgba(255, 255, 255, 0.04);
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.terminal-dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
}

.terminal-dot.red { background: #ff5f57; }
.terminal-dot.yellow { background: #febc2e; }
.terminal-dot.green { background: #28c840; }

.terminal-title-text {
  flex: 1;
  text-align: center;
  font-family: var(--mono);
  font-size: 0.75rem;
  color: var(--white-muted);
  margin-right: 44px;
}

.terminal-body {
  padding: 28px 32px;
  font-family: var(--mono);
  font-size: 0.88rem;
  line-height: 1.75;
  color: #cdd6f4;
  overflow-x: auto;
  white-space: pre;
}

.terminal-body .prompt { color: var(--neon-green); }
.terminal-body .command { color: #89b4fa; }
.terminal-body .flag { color: #f9e2af; }
.terminal-body .string { color: var(--neon-pink); }
.terminal-body .comment { color: #6c7086; }
.terminal-body .heading { color: #cba6f7; font-weight: 700; }
.terminal-body .deadline { color: #f38ba8; font-weight: 700; }
.terminal-body .ok { color: var(--neon-green); }
.terminal-body .dim { color: #6c7086; }
.terminal-body .cyan { color: var(--neon-cyan); }
.terminal-body .pink { color: var(--neon-pink); }
.terminal-body .yellow { color: #f9e2af; }
.terminal-body .line-sep { color: rgba(255, 255, 255, 0.2); }

.hero-terminal {
  max-width: 900px;
  margin: 0 auto;
  min-height: 400px;
}

/* ── CRT Scanline Effect on Terminals ── */

.terminal-window {
  position: relative;
}

.terminal-window::after {
  content: '';
  position: absolute;
  inset: 0;
  background: repeating-linear-gradient(
    0deg,
    transparent,
    transparent 2px,
    rgba(0, 0, 0, 0.03) 2px,
    rgba(0, 0, 0, 0.03) 4px
  );
  pointer-events: none;
  border-radius: inherit;
  z-index: 1;
}

/* ── Version Banner ── */

.version-banner {
  text-align: center;
  padding: 14px 20px;
  background: linear-gradient(90deg, var(--purple), var(--pink));
  color: #fff;
  font-family: var(--mono);
  font-size: 0.85rem;
  letter-spacing: 0.02em;
  line-height: 1.6;
}

.version-tag {
  display: inline-block;
  background: rgba(255, 255, 255, 0.2);
  padding: 2px 10px;
  border-radius: 4px;
  font-weight: 700;
  margin-right: 10px;
  font-size: 0.8rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.showcase-desc {
  font-size: 1rem;
  line-height: 1.7;
}

/* ── Section: Light bg ── */

.section-light {
  background: #fafafa;
  padding: 120px 0;
  color: var(--ink);
}

.section-light h2 {
  font-family: var(--pixel);
  font-size: clamp(1.2rem, 2.5vw, 1.8rem);
  font-weight: 400;
  letter-spacing: 0.01em;
  line-height: 1.4;
  margin: 0 0 60px;
  color: var(--ink);
}

.section-light h2 .gradient-text {
  background: var(--gradient-main);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* ── Showcase Blocks (alternating text + terminal) ── */

.showcase {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
  margin-bottom: 100px;
}

.showcase:last-child {
  margin-bottom: 0;
}

.showcase.reverse {
  direction: rtl;
}

.showcase.reverse > * {
  direction: ltr;
}

.showcase-text h3 {
  font-family: var(--pixel);
  font-size: clamp(0.85rem, 1.6vw, 1.1rem);
  font-weight: 400;
  letter-spacing: 0.01em;
  line-height: 1.5;
  margin: 0 0 16px;
  color: var(--ink);
}

.showcase-text p {
  font-size: 1.05rem;
  color: var(--muted);
  line-height: 1.7;
  margin: 0 0 20px;
  max-width: 480px;
}

.showcase-text .inline-cmd {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 16px;
  background: var(--dark);
  color: #a6e3a1;
  font-family: var(--mono);
  font-size: 0.82rem;
  border-radius: 999px;
}

.showcase .terminal-window {
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.15);
  min-height: 380px;
}

/* ── Section: Gradient bg ── */

.section-gradient {
  background: var(--gradient-main);
  position: relative;
  padding: 120px 0;
  overflow: hidden;
}

.section-gradient::before {
  content: "";
  position: absolute;
  top: -30%;
  left: -20%;
  width: 60%;
  height: 80%;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.08) 0%, transparent 60%);
  pointer-events: none;
}

.section-gradient h2 {
  font-family: var(--pixel);
  font-size: clamp(1.1rem, 2.2vw, 1.6rem);
  font-weight: 400;
  letter-spacing: 0.01em;
  line-height: 1.5;
  margin: 0 0 20px;
  color: var(--white);
  position: relative;
}

.section-gradient p.section-sub {
  font-size: 1.1rem;
  color: var(--white-dim);
  max-width: 600px;
  line-height: 1.6;
  margin: 0 0 48px;
}

/* ── Domain Pills ── */

.domain-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 48px;
  position: relative;
}

.domain-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 10px 20px;
  border-radius: 999px;
  font-size: 0.92rem;
  font-weight: 700;
  cursor: pointer;
  transition: transform 160ms ease, box-shadow 160ms ease;
  border: none;
  font-family: var(--sans);
  color: var(--white);
}

.domain-pill:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.3);
}

.domain-pill.active {
  box-shadow: 0 0 0 3px var(--white), 0 8px 24px rgba(0, 0, 0, 0.3);
}

.domain-pill .pill-count {
  font-family: var(--mono);
  font-size: 0.75rem;
  opacity: 0.8;
}

/* pill colors */
.pill-tax { background: #3b82f6; }
.pill-immigration { background: #14b8a6; }
.pill-healthcare { background: #22c55e; }
.pill-benefits { background: #f59e0b; }
.pill-education { background: #f97316; }
.pill-veterans { background: #8b5cf6; }
.pill-identity { background: #06b6d4; }
.pill-legal { background: #ef4444; }
.pill-estate { background: #6366f1; }
.pill-retirement { background: #ec4899; }
.pill-unemployment { background: #f43f5e; }
.pill-business { background: #10b981; }
.pill-permits { background: #0ea5e9; }

/* ── Domain Workflow Expandable List ── */

.domain-expand-area {
  position: relative;
}

.domain-workflow-expand {
  background: rgba(0, 0, 0, 0.2);
  border-radius: var(--radius);
  padding: 28px 32px;
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.1);
  min-height: 120px;
}

.domain-workflow-expand h3 {
  font-family: var(--sans);
  font-size: 1.3rem;
  font-weight: 800;
  color: var(--white);
  margin: 0 0 20px;
}

.expand-workflow-list {
  display: grid;
  gap: 8px;
}

.expand-workflow-item {
  display: flex;
  align-items: baseline;
  gap: 12px;
  font-family: var(--mono);
  font-size: 0.88rem;
  color: var(--white-dim);
  padding: 8px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

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

.expand-workflow-item .wf-cursor {
  color: var(--cyan);
  flex-shrink: 0;
}

.expand-workflow-item .wf-id {
  color: #a6e3a1;
  font-weight: 600;
  flex-shrink: 0;
  min-width: 200px;
}

.expand-workflow-item .wf-desc {
  color: var(--white-muted);
  font-family: var(--sans);
  font-size: 0.85rem;
}

/* ── Agent Section ── */

.agent-section {
  background: #fafafa;
  padding: 120px 0;
}

.agent-section h2 {
  font-family: var(--pixel);
  font-size: clamp(1.1rem, 2.2vw, 1.6rem);
  font-weight: 400;
  letter-spacing: 0.01em;
  line-height: 1.5;
  margin: 0 0 16px;
  color: var(--ink);
}

.agent-section .section-sub {
  font-size: 1.1rem;
  color: var(--muted);
  max-width: 600px;
  line-height: 1.6;
  margin: 0 0 40px;
}

.agent-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.agent-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 24px;
}

.agent-pill {
  display: inline-flex;
  align-items: center;
  padding: 8px 16px;
  border-radius: 999px;
  font-size: 0.82rem;
  font-weight: 700;
  font-family: var(--mono);
}

.agent-pill.pill-purple {
  background: rgba(124, 58, 237, 0.1);
  color: var(--purple);
}

.agent-pill.pill-pink-soft {
  background: rgba(236, 72, 153, 0.1);
  color: var(--pink);
}

.agent-pill.pill-cyan-soft {
  background: rgba(6, 182, 212, 0.1);
  color: var(--cyan);
}

.agent-text p {
  font-size: 1.05rem;
  color: var(--muted);
  line-height: 1.7;
  margin: 0 0 8px;
}

/* ── Intelligence Section ── */

.intel-section {
  background: var(--dark);
  padding: 120px 0;
  position: relative;
  overflow: hidden;
}

.intel-section::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 20% 30%, rgba(124, 58, 237, 0.15) 0%, transparent 50%),
    radial-gradient(circle at 80% 70%, rgba(236, 72, 153, 0.1) 0%, transparent 50%);
  pointer-events: none;
}

.intel-section h2 {
  font-family: var(--pixel);
  font-size: clamp(1.1rem, 2.2vw, 1.6rem);
  font-weight: 400;
  letter-spacing: 0.01em;
  line-height: 1.5;
  margin: 0 0 20px;
  color: var(--white);
  position: relative;
}

.intel-section p.section-sub {
  font-size: 1.1rem;
  color: var(--white-dim);
  max-width: 600px;
  line-height: 1.6;
  margin: 0 0 56px;
}

.intel-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  position: relative;
}

.intel-terminal {
  min-height: 200px;
}

.intel-terminal .terminal-body {
  font-size: 0.82rem;
  line-height: 1.65;
  padding: 20px 24px;
}

/* ── Manifesto Section ── */

.manifesto-section {
  background: var(--dark-surface);
  padding: 80px 0;
  text-align: center;
  position: relative;
  overflow: hidden;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.manifesto-content {
  position: relative;
}

.manifesto-line {
  font-family: var(--pixel);
  font-size: clamp(0.9rem, 2vw, 1.4rem);
  font-weight: 400;
  color: var(--white);
  margin: 0 0 8px;
  line-height: 1.6;
  letter-spacing: 0.01em;
}

.manifesto-sub {
  font-size: 1.1rem;
  color: var(--white-dim);
  max-width: 560px;
  margin: 24px auto 0;
  line-height: 1.7;
}

/* ── Agent pill green variant ── */

.agent-pill.pill-green-soft {
  background: rgba(16, 185, 129, 0.1);
  color: var(--green);
}

/* ── Privacy sub ── */

.privacy-sub {
  font-size: 1.1rem;
  color: var(--white-dim);
  margin: -32px auto 48px;
  max-width: 560px;
  line-height: 1.6;
  position: relative;
}

/* ── Privacy Section ── */

.privacy-section {
  background: var(--gradient-hero);
  position: relative;
  padding: 120px 0;
  overflow: hidden;
  text-align: center;
}

.privacy-section::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 50% 50%, rgba(255, 255, 255, 0.06) 0%, transparent 50%);
  pointer-events: none;
}

.privacy-section h2 {
  font-family: var(--pixel);
  font-size: clamp(1.1rem, 2.2vw, 1.6rem);
  font-weight: 400;
  letter-spacing: 0.01em;
  line-height: 1.5;
  margin: 0 0 48px;
  color: var(--white);
  position: relative;
}

.privacy-points {
  display: flex;
  gap: 48px;
  justify-content: center;
  flex-wrap: wrap;
  position: relative;
}

.privacy-point {
  font-size: 1.15rem;
  color: var(--white);
  display: flex;
  align-items: center;
  gap: 12px;
}

.privacy-point .privacy-icon {
  font-size: 1.6rem;
}

.privacy-point strong {
  font-weight: 700;
}

/* ── Footer ── */

.site-footer {
  background: var(--dark);
  padding: 60px 0 40px;
  text-align: center;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.footer-brand {
  font-family: var(--pixel);
  font-size: 1rem;
  font-weight: 400;
  color: var(--neon-pink);
  margin-bottom: 24px;
  text-shadow: 2px 2px 0 rgba(0, 0, 0, 0.3);
}

.footer-brand span {
  color: var(--neon-green);
}

/* ── Pigeon ASCII Art ── */

.footer-pigeon {
  font-family: var(--mono);
  font-size: 0.7rem;
  line-height: 1.3;
  color: rgba(255, 255, 255, 0.2);
  white-space: pre;
  margin-bottom: 20px;
  user-select: none;
  transition: color 300ms ease;
}

.footer-pigeon:hover {
  color: var(--neon-pink);
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 24px;
  margin-bottom: 20px;
}

.footer-links a {
  color: var(--white-muted);
  text-decoration: none;
  font-size: 0.9rem;
  transition: color 160ms ease;
}

.footer-links a:hover {
  color: var(--white);
}

.footer-note {
  color: rgba(255, 255, 255, 0.35);
  font-size: 0.85rem;
  margin: 0;
}

/* ── Search on gradient ── */

#catalog-search {
  width: 100%;
  max-width: 480px;
  padding: 14px 24px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.15);
  background: rgba(0, 0, 0, 0.2);
  color: var(--white);
  font-family: var(--sans);
  font-size: 0.95rem;
  backdrop-filter: blur(10px);
  outline: none;
  margin-bottom: 32px;
  min-height: 48px;
  transition: border-color 160ms ease, background 160ms ease;
}

#catalog-search::placeholder {
  color: var(--white-muted);
}

#catalog-search:focus {
  border-color: rgba(255, 255, 255, 0.3);
  background: rgba(0, 0, 0, 0.3);
}

/* ══════════════════════════════════════════════
   INNER PAGES (Planner, Review, Docs)
   ══════════════════════════════════════════════ */

/* Inner pages use .page-shell for the old layout */
.page-shell {
  max-width: 1200px;
  margin: 0 auto;
  padding: 24px;
  padding-top: 80px; /* room for fixed nav */
}

/* ── Buttons (shared) ── */

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 10px 20px;
  border-radius: 999px;
  font-size: 0.9rem;
  font-weight: 600;
  font-family: var(--sans);
  text-decoration: none;
  border: 1px solid var(--line-dark);
  cursor: pointer;
  transition: transform 160ms ease, background 160ms ease;
  min-height: 44px;
  background: rgba(124, 58, 237, 0.06);
  color: var(--ink);
}

.button:hover {
  transform: translateY(-1px);
}

.button.primary {
  background: var(--purple);
  color: var(--white);
  border-color: transparent;
}

.button.primary:hover {
  background: var(--purple-light);
}

.button.secondary {
  background: rgba(124, 58, 237, 0.08);
  color: var(--purple);
  border-color: rgba(124, 58, 237, 0.2);
}

.button.accent {
  background: rgba(236, 72, 153, 0.08);
  color: var(--pink);
  border-color: rgba(236, 72, 153, 0.2);
}

/* ── Inner page cards ── */

.card {
  background: var(--white);
  border: 1px solid var(--line-dark);
  border-radius: var(--radius);
  padding: 24px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.04);
}

/* ── Typography for inner pages ── */

.eyebrow {
  display: block;
  text-transform: uppercase;
  letter-spacing: 0.13em;
  font-size: 0.75rem;
  color: var(--purple);
  margin-bottom: 10px;
  font-weight: 700;
}

.lede {
  color: var(--muted);
  font-size: 1.05rem;
  line-height: 1.65;
  max-width: 66ch;
}

.section-header {
  margin-bottom: 18px;
}

.section-header h1,
.section-header h2 {
  font-family: var(--sans);
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 1.1;
  margin: 0 0 8px;
}

.section-header h1 {
  font-size: clamp(1.8rem, 4vw, 2.4rem);
}

.section-header h2 {
  font-size: clamp(1.4rem, 3vw, 1.8rem);
}

/* ── Planner / Review / Docs Grid Layouts ── */

.planner-layout {
  display: grid;
  grid-template-columns: 260px minmax(0, 1fr) 360px;
  gap: 20px;
}

.review-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 320px;
  gap: 20px;
}

.docs-layout {
  display: grid;
  grid-template-columns: 260px minmax(0, 1fr);
  gap: 20px;
}

.sidebar,
.inspector,
.planner-main,
.review-main {
  min-height: 70vh;
}

/* ── Workflow List (Planner sidebar) ── */

.workflow-list {
  display: grid;
  gap: 8px;
}

.workflow-list button {
  width: 100%;
  text-align: left;
  border-radius: var(--radius-sm);
  border: 1px solid var(--line-dark);
  background: rgba(124, 58, 237, 0.03);
  padding: 12px 14px;
  color: var(--ink);
  cursor: pointer;
  min-height: 44px;
  font: inherit;
  font-size: 0.88rem;
  transition: background 160ms ease;
}

.workflow-list button:hover {
  background: rgba(124, 58, 237, 0.06);
}

.workflow-list button.is-active {
  background: rgba(124, 58, 237, 0.1);
  border-color: rgba(124, 58, 237, 0.3);
  color: var(--purple);
}

/* ── Domain badge colors ── */

.domain-tax { --badge: #3b82f6; }
.domain-immigration { --badge: #14b8a6; }
.domain-healthcare { --badge: #22c55e; }
.domain-benefits { --badge: #f59e0b; }
.domain-veterans { --badge: #8b5cf6; }
.domain-education { --badge: #f97316; }
.domain-identity { --badge: #06b6d4; }
.domain-legal { --badge: #ef4444; }
.domain-estate { --badge: #6366f1; }
.domain-retirement { --badge: #ec4899; }
.domain-unemployment { --badge: #f43f5e; }
.domain-business { --badge: #10b981; }
.domain-permits { --badge: #0ea5e9; }

.workflow-list .domain-badge {
  display: inline-block;
  font-size: 0.68rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  padding: 2px 8px;
  border-radius: 999px;
  margin-top: 4px;
  background: var(--badge, rgba(124, 58, 237, 0.1));
  color: var(--white);
  font-weight: 700;
}

/* ── Planner form ── */

.planner-form {
  display: grid;
  gap: 18px;
}

.planner-section {
  padding: 18px;
  border: 1px solid var(--line-dark);
  border-radius: var(--radius-sm);
  background: rgba(124, 58, 237, 0.02);
}

.planner-fields {
  display: grid;
  gap: 12px;
}

label {
  display: grid;
  gap: 8px;
  font-size: 0.92rem;
  font-weight: 500;
}

input,
textarea,
select {
  width: 100%;
  padding: 11px 14px;
  border-radius: var(--radius-sm);
  border: 1px solid rgba(30, 30, 46, 0.12);
  background: var(--white);
  color: var(--ink);
  font: inherit;
  min-height: 44px;
  transition: border-color 160ms ease;
}

input:focus,
textarea:focus,
select:focus {
  outline: none;
  border-color: var(--purple);
  box-shadow: 0 0 0 3px rgba(124, 58, 237, 0.1);
}

.button-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 18px;
}

.json-preview {
  white-space: pre-wrap;
  word-break: break-word;
  overflow: auto;
  font-family: var(--mono);
  font-size: 0.82rem;
  line-height: 1.6;
  color: var(--ink);
}

/* ── Flags ── */

.flag-list {
  display: grid;
  gap: 10px;
  margin: 18px 0;
}

.flag-list .flag {
  padding: 12px 14px;
  border-radius: var(--radius-sm);
  background: var(--white);
  border: 1px solid var(--line-dark);
}

.flag-list .flag.error {
  border-color: rgba(239, 68, 68, 0.3);
  color: #dc2626;
  background: rgba(239, 68, 68, 0.04);
}

.flag-list .flag.warning,
.flag-list .flag.review {
  border-color: rgba(245, 158, 11, 0.3);
  color: #d97706;
  background: rgba(245, 158, 11, 0.04);
}

/* ── CTA row ── */

.cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  align-items: center;
}

.inline-code {
  font-family: var(--mono);
  font-size: 0.82rem;
  background: rgba(124, 58, 237, 0.06);
  padding: 10px 16px;
  border-radius: 999px;
  color: var(--purple);
}

.callout {
  margin-top: 18px;
  padding: 14px 16px;
  border-radius: var(--radius-sm);
  background: rgba(124, 58, 237, 0.04);
}

.feature-list {
  margin: 0;
  padding-left: 18px;
  line-height: 1.7;
  color: var(--muted);
}

/* ── Docs Sidebar TOC ── */

.docs-sidebar {
  position: sticky;
  top: 100px;
  align-self: start;
  max-height: calc(100vh - 120px);
  overflow-y: auto;
}

.docs-sidebar .toc-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 2px;
}

.docs-sidebar .toc-list a {
  display: flex;
  align-items: center;
  padding: 8px 14px;
  border-radius: 10px;
  text-decoration: none;
  color: var(--muted);
  font-size: 0.85rem;
  min-height: 40px;
  transition: background 120ms ease, color 120ms ease;
}

.docs-sidebar .toc-list a:hover,
.docs-sidebar .toc-list a.active {
  background: rgba(124, 58, 237, 0.08);
  color: var(--purple);
}

/* ── Docs Content ── */

.docs-content {
  min-height: 70vh;
}

.docs-content section {
  margin-bottom: 36px;
  padding-bottom: 28px;
  border-bottom: 1px solid var(--line-dark);
}

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

.docs-content h2 {
  font-family: var(--sans);
  font-size: 1.6rem;
  font-weight: 800;
  margin: 0 0 14px;
  line-height: 1.1;
  letter-spacing: -0.02em;
}

.docs-content h3 {
  font-family: var(--sans);
  font-size: 1.1rem;
  font-weight: 700;
  margin: 20px 0 8px;
  line-height: 1.2;
}

.docs-content p {
  color: var(--muted);
  line-height: 1.7;
  margin: 0 0 12px;
}

.docs-content pre {
  background: var(--dark);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--radius-sm);
  padding: 16px 20px;
  overflow-x: auto;
  font-family: var(--mono);
  font-size: 0.82rem;
  line-height: 1.6;
  margin: 12px 0;
  color: #cdd6f4;
}

.docs-content code {
  font-family: var(--mono);
  font-size: 0.82rem;
}

.docs-content ul,
.docs-content ol {
  padding-left: 20px;
  line-height: 1.7;
  color: var(--muted);
  margin: 8px 0 16px;
}

.docs-content .cli-ref {
  display: grid;
  gap: 6px;
  margin: 12px 0;
}

.docs-content .cli-entry {
  padding: 12px 16px;
  border: 1px solid var(--line-dark);
  border-radius: var(--radius-sm);
  background: rgba(124, 58, 237, 0.02);
}

.docs-content .cli-entry code {
  font-weight: 600;
  color: var(--purple);
}

.docs-content .cli-entry p {
  margin: 4px 0 0;
  font-size: 0.85rem;
}

.domain-workflow-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
  margin: 12px 0;
}

.domain-workflow-item {
  padding: 10px 14px;
  border: 1px solid var(--line-dark);
  border-radius: var(--radius-sm);
  font-size: 0.85rem;
}

.domain-workflow-item strong {
  display: block;
  font-size: 0.85rem;
  color: var(--purple);
  font-family: var(--mono);
  margin-bottom: 2px;
}

.domain-workflow-item span {
  color: var(--muted);
  font-size: 0.82rem;
}

.pill {
  border-radius: 999px;
  padding: 3px 10px;
  font-size: 0.72rem;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.pill.status-active {
  background: rgba(16, 185, 129, 0.1);
  color: #059669;
}

.pill.status-preview {
  background: rgba(245, 158, 11, 0.1);
  color: #d97706;
}

.pill.audience {
  background: rgba(124, 58, 237, 0.06);
  color: var(--purple);
}

/* ── Responsive ── */

@media (max-width: 980px) {
  .topbar {
    padding: 12px 20px;
  }

  .hamburger {
    display: flex;
  }

  .nav {
    display: none;
    position: fixed;
    top: 64px;
    left: 16px;
    right: 16px;
    background: var(--dark);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: var(--radius);
    padding: 16px;
    flex-direction: column;
    gap: 4px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.4);
    z-index: 1001;
  }

  .nav.open {
    display: flex;
  }

  .hero-section {
    padding: 140px 0 80px;
  }

  .hero-content h1 {
    font-size: clamp(1.1rem, 3vw, 1.8rem);
  }

  .showcase {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .showcase.reverse {
    direction: ltr;
  }

  .agent-layout {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .planner-layout,
  .review-layout,
  .docs-layout {
    grid-template-columns: 1fr;
  }

  .domain-workflow-list {
    grid-template-columns: 1fr;
  }

  .content-wrap {
    padding: 0 20px;
  }

  .section-light,
  .section-gradient,
  .agent-section,
  .privacy-section,
  .intel-section {
    padding: 80px 0;
  }

  .intel-grid {
    grid-template-columns: 1fr;
  }

  .manifesto-section {
    padding: 60px 0;
  }

  .privacy-points {
    flex-direction: column;
    align-items: center;
    gap: 24px;
  }

  .page-shell {
    padding: 16px;
    padding-top: 80px;
  }
}

@media (max-width: 640px) {
  .hero-content h1 {
    font-size: 1rem;
  }

  .hero-stats {
    flex-direction: column;
    align-items: center;
  }

  .domain-pills {
    justify-content: center;
  }

  .showcase-text h3 {
    font-size: 1.5rem;
  }

  .section-light h2,
  .section-gradient h2,
  .agent-section h2,
  .privacy-section h2 {
    font-size: 1rem;
  }

  .showcase .terminal-window {
    min-height: 280px;
  }
}

/* ── Home page specific — kill the page-shell constraint ── */

body[data-page="home"] .page-shell {
  max-width: none;
  padding: 0;
}

body[data-page="home"] {
  background: var(--white);
}

/* ── Inner pages: white background ── */

body[data-page="planner"],
body[data-page="review"] {
  background: #fafafa;
}

body[data-page="docs"] {
  background: var(--dark);
}

body[data-page="planner"] .site-footer,
body[data-page="review"] .site-footer {
  background: var(--dark);
  margin-top: 40px;
}

body[data-page="docs"] .site-footer {
  background: var(--dark);
  margin-top: 0;
}

/* ══════════════════════════════════════════════
   DOCS PAGE — Charm-inspired overhaul
   ══════════════════════════════════════════════ */

/* Kill the page-shell constraint for docs */
body[data-page="docs"] .page-shell {
  max-width: none;
  padding: 0;
}

/* ── Docs Hero ── */

.docs-hero {
  background: var(--gradient-hero);
  position: relative;
  overflow: hidden;
  padding: 160px 0 80px;
  text-align: center;
}

.docs-hero::before {
  content: "";
  position: absolute;
  top: -40%;
  right: -20%;
  width: 80%;
  height: 80%;
  background: radial-gradient(circle, rgba(6, 182, 212, 0.25) 0%, transparent 60%);
  pointer-events: none;
}

.docs-hero::after {
  content: "";
  position: absolute;
  bottom: -30%;
  left: -15%;
  width: 60%;
  height: 60%;
  background: radial-gradient(circle, rgba(236, 72, 153, 0.2) 0%, transparent 60%);
  pointer-events: none;
}

.docs-hero-inner {
  position: relative;
  z-index: 1;
  max-width: 720px;
  margin: 0 auto;
  padding: 0 32px;
}

.docs-hero h1 {
  font-family: var(--sans);
  font-size: clamp(2.8rem, 6vw, 4.5rem);
  font-weight: 900;
  color: var(--white);
  line-height: 1.05;
  margin: 0 0 20px;
  letter-spacing: -0.03em;
}

.docs-hero-sub {
  font-size: clamp(1rem, 1.8vw, 1.2rem);
  color: var(--white-dim);
  line-height: 1.6;
  margin: 0;
}

.docs-hero-sub code {
  font-family: var(--mono);
  background: rgba(255, 255, 255, 0.12);
  padding: 3px 10px;
  border-radius: 6px;
  font-size: 0.9em;
  color: var(--white);
}

/* ── Docs Body Layout ── */

.docs-body {
  display: grid;
  grid-template-columns: 240px minmax(0, 1fr);
  gap: 0;
  max-width: 1280px;
  margin: 0 auto;
  min-height: 100vh;
}

/* ── Docs Sidebar Nav ── */

.docs-nav {
  position: sticky;
  top: 64px;
  align-self: start;
  max-height: calc(100vh - 64px);
  overflow-y: auto;
  padding: 40px 0 40px 32px;
  border-right: 1px solid rgba(255, 255, 255, 0.06);
}

.docs-nav-label {
  text-transform: uppercase;
  letter-spacing: 0.13em;
  font-size: 0.7rem;
  color: var(--purple-light);
  margin: 0 0 16px;
  font-weight: 700;
  padding-left: 14px;
}

.docs-toc {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 2px;
}

.docs-toc a {
  display: flex;
  align-items: center;
  padding: 9px 14px;
  border-radius: 10px;
  text-decoration: none;
  color: var(--white-muted);
  font-size: 0.84rem;
  font-weight: 500;
  min-height: 40px;
  transition: background 120ms ease, color 120ms ease;
}

.docs-toc a:hover,
.docs-toc a.active {
  background: rgba(168, 85, 247, 0.15);
  color: var(--white);
}

/* ── Docs Main Content ── */

.docs-main {
  padding: 48px 48px 80px;
  max-width: 860px;
}

.docs-main section {
  margin-bottom: 56px;
  padding-bottom: 48px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

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

.docs-eyebrow {
  display: block;
  text-transform: uppercase;
  letter-spacing: 0.13em;
  font-size: 0.72rem;
  color: var(--purple-light);
  margin-bottom: 10px;
  font-weight: 700;
}

.docs-main h2 {
  font-family: var(--sans);
  font-size: clamp(1.8rem, 3vw, 2.4rem);
  font-weight: 900;
  margin: 0 0 16px;
  line-height: 1.1;
  letter-spacing: -0.02em;
  color: var(--white);
}

.docs-main h3 {
  font-family: var(--sans);
  font-size: 1.15rem;
  font-weight: 700;
  margin: 28px 0 10px;
  line-height: 1.2;
  color: var(--white);
}

.docs-main p {
  color: var(--white-muted);
  line-height: 1.7;
  margin: 0 0 14px;
  font-size: 0.95rem;
}

.docs-main p a {
  color: var(--purple-light);
  text-decoration: underline;
  text-decoration-color: rgba(168, 85, 247, 0.4);
  transition: text-decoration-color 120ms ease;
}

.docs-main p a:hover {
  text-decoration-color: var(--purple-light);
}

.docs-intro {
  font-size: 1.05rem !important;
  color: var(--white-dim) !important;
  max-width: 640px;
}

.docs-main code {
  font-family: var(--mono);
  font-size: 0.82rem;
  background: rgba(168, 85, 247, 0.15);
  padding: 2px 8px;
  border-radius: 6px;
  color: var(--purple-light);
}

.docs-main ul,
.docs-main ol {
  padding-left: 20px;
  line-height: 1.7;
  color: var(--white-muted);
  margin: 8px 0 16px;
  font-size: 0.92rem;
}

.docs-main li {
  margin-bottom: 4px;
}

.docs-main li strong {
  color: var(--white-dim);
}

.docs-main li code {
  font-size: 0.8rem;
}

/* ── Docs Terminal Windows ── */

.docs-terminal {
  margin: 14px 0 20px;
  box-shadow: 0 16px 48px rgba(0, 0, 0, 0.3);
}

.docs-terminal .terminal-body {
  white-space: pre;
  overflow-x: auto;
  font-size: 0.82rem;
  line-height: 1.65;
}

/* ── Docs Domain Groups ── */

.docs-domain-group {
  margin-bottom: 28px;
}

.docs-domain-group h3 {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: 24px !important;
  margin-bottom: 12px !important;
}

.docs-domain-pill {
  display: inline-flex;
  align-items: center;
  padding: 6px 16px;
  border-radius: 999px;
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--white);
}

.docs-domain-count {
  font-size: 0.82rem;
  font-weight: 500;
  color: var(--white-muted);
  font-family: var(--mono);
}

.docs-workflow-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
}

.docs-workflow-card {
  padding: 12px 16px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--radius-sm);
  background: rgba(255, 255, 255, 0.03);
  font-size: 0.85rem;
  transition: background 120ms ease, border-color 120ms ease;
}

.docs-workflow-card:hover {
  background: rgba(255, 255, 255, 0.06);
  border-color: rgba(255, 255, 255, 0.14);
}

.docs-workflow-card strong {
  display: block;
  font-size: 0.85rem;
  color: #a6e3a1;
  font-family: var(--mono);
  margin-bottom: 3px;
}

.docs-workflow-card span {
  color: var(--white-muted);
  font-size: 0.82rem;
}

.docs-workflow-card em {
  color: var(--yellow);
  font-style: normal;
  font-size: 0.75rem;
  font-weight: 600;
}

/* ── Docs Responsive ── */

@media (max-width: 980px) {
  .docs-hero {
    padding: 140px 0 60px;
  }

  .docs-body {
    grid-template-columns: 1fr;
  }

  .docs-nav {
    position: relative;
    top: 0;
    max-height: none;
    padding: 24px 20px;
    border-right: none;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  }

  .docs-toc {
    display: flex;
    flex-wrap: wrap;
    gap: 4px;
  }

  .docs-toc a {
    padding: 6px 12px;
    font-size: 0.82rem;
  }

  .docs-main {
    padding: 32px 20px 60px;
  }

  .docs-workflow-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 640px) {
  .docs-hero h1 {
    font-size: 2.2rem;
  }

  .docs-main h2 {
    font-size: 1.6rem;
  }
}

/* ══════════════════════════════════════════════
   v0.4.0 — BUBBLEGUM-CORE ENHANCEMENTS
   ══════════════════════════════════════════════ */

/* ── 1. Version Banner ── */

.version-banner {
  background: linear-gradient(90deg, var(--purple), var(--pink), var(--cyan));
  background-size: 200% 100%;
  animation: gradientSlide 4s ease infinite;
  padding: 0.6rem 1rem;
  text-align: center;
  font-family: var(--mono);
  font-size: 0.8rem;
  color: white;
  letter-spacing: 0.02em;
}

.version-tag {
  background: rgba(0, 0, 0, 0.3);
  padding: 0.2rem 0.5rem;
  border-radius: 4px;
  font-weight: 700;
  margin-right: 0.75rem;
}

@keyframes gradientSlide {
  0%, 100% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
}

/* ── 2. Enhanced Terminal Glow ── */

.terminal-window {
  transition: all 0.3s ease;
}

.terminal-window:hover {
  box-shadow: 0 0 20px rgba(108, 58, 237, 0.15), 0 0 40px rgba(236, 72, 153, 0.08);
  transform: translateY(-1px);
  transition: all 0.3s ease;
}

/* ── 3. Stat Pills Pulse Animation ── */

.hero-stat-pill .stat-num {
  animation: statPulse 3s ease-in-out infinite;
}

@keyframes statPulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.7; text-shadow: 0 0 8px currentColor; }
}

/* ── 4. Domain Pill Hover Enhancement ── */

.domain-pill {
  transition: all 0.2s ease;
}

.domain-pill:hover {
  transform: translateY(-2px) scale(1.05);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
  transition: all 0.2s ease;
}

/* ── 5. Intelligence Demo Grid ── */

.intel-demos {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 1.5rem;
}

@media (min-width: 768px) {
  .intel-demos {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1200px) {
  .intel-demos {
    grid-template-columns: repeat(3, 1fr);
  }
}

/* ── 6. Student Loan Urgent Banner Style ── */

.terminal-urgent {
  color: #f59e0b;
  font-weight: 700;
}

.terminal-urgent-box {
  border: 1px solid #f59e0b;
  border-radius: 4px;
  padding: 0.5rem 0.75rem;
  margin: 0.5rem 0;
  background: rgba(245, 158, 11, 0.08);
}

/* ── 7. Scrollbar Styling (bubblegum touch) ── */

::-webkit-scrollbar {
  width: 8px;
  height: 8px;
}

::-webkit-scrollbar-track {
  background: var(--dark);
}

::-webkit-scrollbar-thumb {
  background: linear-gradient(var(--purple), var(--pink));
  border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
  background: linear-gradient(var(--pink), var(--cyan));
}

/* ── 8. Enhanced Link Hover ── */

a:hover {
  text-shadow: 0 0 8px currentColor;
  transition: text-shadow 0.2s ease;
}

/* ── 9. Life Event Card Styles ── */

.life-event-card {
  background: rgba(108, 58, 237, 0.06);
  border: 1px solid rgba(108, 58, 237, 0.15);
  border-radius: 8px;
  padding: 1rem;
  transition: all 0.2s ease;
}

.life-event-card:hover {
  border-color: var(--pink);
  background: rgba(236, 72, 153, 0.06);
  transform: translateY(-2px);
}
