/* VideoNarraCue — global.css · design tokens + base */

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800;900&display=swap');

:root {
  --bg: #0a0a0f;
  --surface: #12121a;
  --surface-2: #1a1a26;
  --surface-3: #222235;
  --border: rgba(255, 255, 255, 0.07);
  --border-soft: rgba(255, 255, 255, 0.04);
  --accent: #4f8ef7;
  --accent-hover: #6fa3ff;
  --accent-dim: rgba(79, 142, 247, 0.12);
  --accent-glow: rgba(79, 142, 247, 0.35);
  --purple: #a855f7;
  --green: #34c759;
  --red: #ff453a;
  --text: #f0f0f5;
  --text-sec: #8888aa;
  --text-dim: #55556a;
  --gradient: linear-gradient(135deg, #4f8ef7 0%, #a855f7 100%);
  --radius-sm: 10px;
  --radius: 16px;
  --radius-lg: 24px;
  --radius-xl: 32px;
  --shadow-sm: 0 4px 16px rgba(0, 0, 0, 0.35);
  --shadow: 0 8px 32px rgba(0, 0, 0, 0.5);
  --shadow-lg: 0 24px 80px rgba(0, 0, 0, 0.65);
  --font: 'Inter', system-ui, -apple-system, sans-serif;
  --max-w: 1140px;
  --nav-h: 68px;
  --space-xs: 8px;
  --space-sm: 16px;
  --space-md: 24px;
  --space-lg: 48px;
  --space-xl: 80px;
  --space-2xl: 120px;
  --transition: 0.2s cubic-bezier(0.4, 0, 0.2, 1);
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--font);
  background: var(--bg);
  color: var(--text);
  line-height: 1.65;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: var(--accent); text-decoration: none; transition: color var(--transition); }
a:hover { color: var(--accent-hover); }
ul { list-style: none; }
main { min-height: 60vh; }

.container {
  width: 100%;
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 var(--space-md);
}

.section { padding: var(--space-2xl) 0; }
.section--tight { padding: var(--space-xl) 0; }
.section--dark { background: var(--surface); }
.section--darker { background: var(--surface-2); }

.text-center { text-align: center; }
.text-muted { color: var(--text-sec); }
.gradient-text {
  background: var(--gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.page-hero {
  padding: calc(var(--nav-h) + var(--space-xl)) 0 var(--space-xl);
  background: radial-gradient(ellipse 80% 60% at 50% -10%, var(--accent-dim), transparent);
}
.page-hero h1 {
  font-size: clamp(2rem, 5vw, 3.2rem);
  font-weight: 800;
  letter-spacing: -0.5px;
  line-height: 1.15;
  margin-bottom: var(--space-sm);
}
.page-hero .lead {
  font-size: 1.15rem;
  color: var(--text-sec);
  max-width: 640px;
  line-height: 1.75;
}
.page-hero.center .lead { margin-inline: auto; }

.prose { max-width: 720px; }
.prose h2 { font-size: 1.5rem; font-weight: 700; margin: 2rem 0 0.75rem; }
.prose h3 { font-size: 1.15rem; font-weight: 600; margin: 1.5rem 0 0.5rem; }
.prose p, .prose li { color: var(--text-sec); margin-bottom: 1rem; }
.prose ul { list-style: disc; padding-left: 1.25rem; margin-bottom: 1rem; }
.prose a { text-decoration: underline; text-underline-offset: 3px; }

.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: var(--space-md); }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--space-md); }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: var(--space-md); }

@media (max-width: 900px) {
  .grid-3, .grid-4 { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 640px) {
  .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; }
  .section { padding: var(--space-xl) 0; }
}

.reveal { opacity: 0; transform: translateY(24px); transition: opacity 0.6s ease, transform 0.6s ease; }
.reveal.visible { opacity: 1; transform: none; }
