:root {
  --background: 44 38% 94%;
  --foreground: 230 22% 9%;
  --primary: 14 92% 56%;
  --secondary: 261 37% 31%;
  --muted: 42 18% 72%;
  --destructive: 358 72% 52%;
  --border: 230 12% 78%;
  --card: 42 42% 88%;
  --shadow-sm: 0 1px 2px hsl(230 22% 9% / 0.08);
  --shadow-md: 0 14px 40px hsl(230 22% 9% / 0.13);
  --shadow-lg: 0 28px 80px hsl(230 22% 9% / 0.22);
  --transition-fast: 160ms ease;
  --transition-smooth: 360ms cubic-bezier(.2,.8,.2,1);
  --radius-sm: 10px;
  --radius-md: 18px;
  --radius-lg: 30px;
}
.dark {
  --background: 230 20% 7%;
  --foreground: 42 38% 93%;
  --primary: 14 96% 61%;
  --secondary: 74 82% 64%;
  --muted: 230 12% 48%;
  --destructive: 358 84% 64%;
  --border: 230 14% 22%;
  --card: 230 18% 11%;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: hsl(var(--background)); color: hsl(var(--foreground)); font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, Segoe UI, sans-serif; }
body::selection { background: hsl(var(--primary)); color: white; }
a { color: inherit; text-decoration: none; }
button, a, input, textarea, select { -webkit-tap-highlight-color: transparent; }
input, textarea, select { font-size: max(16px, 1rem); }
.bg-1 { background: hsl(var(--background)); }
.bg-2 { background: hsl(var(--card)); }
.bg-3 { background: hsl(var(--foreground) / 0.05); }
.bg-4 { background: hsl(var(--foreground) / 0.09); }
.text-primary { color: hsl(var(--foreground)); }
.text-secondary { color: hsl(var(--foreground) / 0.72); }
.text-tertiary { color: hsl(var(--foreground) / 0.52); }
.accent { color: hsl(var(--primary)); }
.focus-ring:focus-visible { outline: 3px solid hsl(var(--primary)); outline-offset: 3px; }
.editorial-grid { background-image: linear-gradient(hsl(var(--foreground) / .055) 1px, transparent 1px), linear-gradient(90deg, hsl(var(--foreground) / .055) 1px, transparent 1px); background-size: 42px 42px; }
.reveal-img { opacity: 0; transform: translateY(22px) scale(.985); transition: opacity var(--transition-smooth), transform var(--transition-smooth), filter var(--transition-smooth); filter: blur(8px); }
.reveal-img.is-visible { opacity: 1; transform: translateY(0) scale(1); filter: blur(0); }
.prose-lite h2 { font-size: clamp(2rem, 6vw, 5rem); line-height: .88; letter-spacing: -.07em; margin: 1.5rem 0 .75rem; }
.prose-lite p { color: hsl(var(--foreground) / .76); line-height: 1.75; margin: .8rem 0; }
.prose-lite ul { padding-left: 1.25rem; color: hsl(var(--foreground) / .76); }
.prose-lite li { margin: .35rem 0; }
.type-hero { font-size: clamp(4.2rem, 17vw, 15rem); line-height: .78; letter-spacing: -.105em; }
.safe-bottom { padding-bottom: calc(1rem + env(safe-area-inset-bottom)); }
.safe-top { padding-top: env(safe-area-inset-top); }
.lightbox-backdrop { background: hsl(230 25% 3% / .94); }
genmb-uploader { display: block; min-height: 180px; border-radius: var(--radius-lg); overflow: hidden; }