/* Shared styles for the intent pages (/podcast-app-that-explains-words, etc.).
   Tokens mirror the inline palette in index.html — keep them in sync. */

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

:root {
  --accent: #7B6CF0;
  --accent-light: #A99DF7;
  --bg-primary: #0a0a0f;
  --bg-card: rgba(20, 20, 28, 0.6);
  --border: rgba(255, 255, 255, 0.06);
  --text-primary: #f0f0f5;
  --text-secondary: #9595a8;
  --text-muted: #6b6b80;
  --radius-card: 16px;
  --radius-pill: 100px;
  --max-width: 720px;
}

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

body {
  font-family: 'SF Pro Display', 'SF Pro Text', -apple-system, system-ui, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
  background-color: var(--bg-primary);
  color: var(--text-primary);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

.container { max-width: var(--max-width); margin: 0 auto; padding: 0 24px; }

/* ── Navigation ───────────────────────────────── */
nav {
  padding: 16px 0;
  background: rgba(10, 10, 15, 0.8);
  border-bottom: 1px solid var(--border);
}

nav .container { display: flex; align-items: center; justify-content: space-between; gap: 16px; }

.nav-logo {
  font-size: 20px;
  font-weight: 700;
  color: var(--text-primary);
  text-decoration: none;
  letter-spacing: -0.02em;
  display: inline-flex;
  align-items: baseline;
}

.nav-logo span { color: var(--accent-light); }

.u-glyph {
  display: inline-block;
  height: 0.75em;
  width: auto;
  vertical-align: baseline;
  position: relative;
  top: 0.03em;
}

.nav-cta {
  display: inline-block;
  padding: 8px 20px;
  background: var(--accent);
  color: #fff;
  text-decoration: none;
  border-radius: var(--radius-pill);
  font-size: 14px;
  font-weight: 600;
}

.nav-cta:hover { background: #6A5BE0; }

/* ── Article ──────────────────────────────────── */
main { padding: 56px 0 80px; }

h1 {
  font-size: clamp(30px, 5vw, 40px);
  line-height: 1.15;
  letter-spacing: -0.02em;
  font-weight: 700;
  margin-bottom: 12px;
}

h2 {
  font-size: 24px;
  line-height: 1.25;
  letter-spacing: -0.01em;
  font-weight: 650;
  margin: 44px 0 12px;
}

h3 {
  font-size: 18px;
  font-weight: 600;
  margin: 28px 0 6px;
  color: var(--accent-light);
}

p { margin-bottom: 16px; color: var(--text-secondary); }

main p strong, main li strong { color: var(--text-primary); font-weight: 600; }

.updated { color: var(--text-muted); font-size: 14px; margin-bottom: 32px; }

ul, ol { margin: 0 0 16px 22px; color: var(--text-secondary); }
li { margin-bottom: 8px; }

a { color: var(--accent-light); }
a:hover { color: #fff; }

.callout {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-card);
  padding: 20px 24px;
  margin: 28px 0;
}

.callout p:last-child { margin-bottom: 0; }

.cta { margin: 40px 0 12px; }
.cta img { display: block; }

.disclaimer { font-size: 13px; color: var(--text-muted); margin-top: 32px; }

/* ── Footer ───────────────────────────────────── */
footer {
  border-top: 1px solid var(--border);
  padding: 32px 0;
}

.footer-links { list-style: none; margin: 0 0 12px; padding: 0; display: flex; flex-wrap: wrap; gap: 20px; }
.footer-links a { color: var(--text-secondary); text-decoration: none; font-size: 14px; }
.footer-links a:hover { color: var(--text-primary); }
.footer-brand { color: var(--text-muted); font-size: 13px; }
