/* ============================================
   PAGERUNNER — Shared Sub-Page Styles
   Used by: persona, docs, vs, changelog, launch
   ============================================ */

/* ─── VARIABLES ─────────────────────────────── */
:root {
  --bg: #ffffff;
  --bg-alt: #f8f7f4;
  --bg-dark: #0a0a0b;
  --bg-code: #0d1117;
  --text: #111111;
  --text-2: #4a4a4a;
  --text-3: #787878;
  --text-inv: #f0eeea;
  --text-inv-2: #787878;
  --accent: #10b981;
  --accent-hover: #059669;
  --blue: #2563eb;
  --green: #16a34a;
  --border: rgba(0,0,0,0.07);
  --border-med: rgba(0,0,0,0.11);
  --border-dark: rgba(255,255,255,0.07);
  --border-dark-hi: rgba(255,255,255,0.11);
  /* code syntax */
  --cs: #e6edf3;
  --cs-dim: #96a1b0;
  --cs-comment: #a0acba;
  --cs-fn: #79c0ff;
  --cs-str: #a5d6ff;
  --cs-key: #ffa657;
  --cs-ok: #3fb950;
  --cs-err: #f85149;
  --mono: 'JetBrains Mono', ui-monospace, monospace;
  --sans: 'Syne', system-ui, sans-serif;
  --display: 'Fraunces', Georgia, serif;
}


/* ─── RESET ─────────────────────────────────── */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  background: var(--bg);
  color: var(--text);
  font-family: var(--sans);
  font-size: 15px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
a { color: inherit; text-decoration: none; }
code { font-family: var(--mono); }
img { max-width: 100%; display: block; }
button { font-family: inherit; cursor: pointer; border: none; background: none; }
ul, ol { list-style: none; }
::selection { background: var(--accent); color: #fff; }


/* ─── NAV ───────────────────────────────────── */
nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  display: flex; align-items: center; justify-content: space-between;
  padding: 0 40px; height: 56px;
  background: rgba(255,255,255,0.88);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border);
}
.nav-logo {
  font-family: var(--sans); font-size: 14px; font-weight: 700;
  letter-spacing: -0.02em; color: var(--text);
  display: flex; align-items: center; gap: 8px;
}
.nav-icon {
  width: 24px; height: 24px; border-radius: 6px;
  display: block; flex-shrink: 0;
}
.nav-links { display: flex; align-items: center; gap: 24px; }
.nav-links a {
  font-size: 13px; color: var(--text-3);
  transition: color 180ms ease; font-weight: 500;
}
.nav-links a.active { color: var(--text); }
@media (hover:hover) { .nav-links a:hover { color: var(--text); } }
.nav-gh {
  display: flex; align-items: center; gap: 6px;
  padding: 6px 14px; border: 1px solid var(--border-med); border-radius: 6px;
  font-size: 12px; font-weight: 600; color: var(--text-2);
  transition: border-color 180ms ease, color 180ms ease;
}
@media (hover:hover) { .nav-gh:hover { border-color: rgba(0,0,0,0.2); color: var(--text); } }
.nav-install {
  padding: 7px 16px; background: var(--text); color: #fff;
  border-radius: 6px; font-size: 12px; font-weight: 700;
  transition: background 180ms ease; white-space: nowrap;
}
@media (hover:hover) { .nav-install:hover { background: #333; } }


/* ─── SHARED TYPOGRAPHY ─────────────────────── */
.eyebrow {
  font-size: 11px; letter-spacing: 0.12em; text-transform: uppercase;
  color: var(--accent); margin-bottom: 14px; font-weight: 700;
}
.section-title {
  font-size: clamp(28px, 3.5vw, 42px); font-weight: 700;
  letter-spacing: -0.03em; color: var(--text); line-height: 1.08;
  margin-bottom: 16px;
}
.section-sub {
  font-size: 15px; color: var(--text-2); max-width: 480px; line-height: 1.7;
}


/* ─── BUTTONS ───────────────────────────────── */
.btn-primary {
  display: inline-flex; align-items: center; gap: 8px;
  background: var(--text); color: #fff;
  padding: 15px 28px; border-radius: 8px;
  font-size: 14px; font-weight: 600; font-family: var(--mono);
  transition: background 180ms ease; white-space: nowrap;
}
@media (hover:hover) { .btn-primary:hover { background: #222; } }
.btn-ghost {
  display: inline-flex; align-items: center; gap: 7px;
  border: 1px solid var(--border-med); color: var(--text-2);
  padding: 15px 22px; border-radius: 8px;
  font-size: 14px; font-weight: 500;
  transition: border-color 180ms ease, color 180ms ease;
}
@media (hover:hover) { .btn-ghost:hover { border-color: rgba(0,0,0,0.2); color: var(--text); } }
.btn-accent {
  display: inline-flex; align-items: center; gap: 8px;
  background: var(--accent); color: #fff;
  padding: 15px 28px; border-radius: 8px;
  font-size: 14px; font-weight: 600;
  transition: background 180ms ease; white-space: nowrap;
}
@media (hover:hover) { .btn-accent:hover { background: var(--accent-hover); } }


/* ─── CONTENT PAGE WRAPPER ──────────────────── */
.content-page {
  padding-top: 56px;
  min-height: 100vh;
}
.section-wrap {
  max-width: 1080px;
  margin: 0 auto;
  padding: 0 40px;
}


/* ─── CONTENT HERO ──────────────────────────── */
.content-hero {
  padding: 80px 40px 64px;
  text-align: center;
  border-bottom: 1px solid var(--border);
  position: relative;
  overflow: hidden;
}
.content-hero::before {
  content: '';
  position: absolute; inset: 0;
  background-image: radial-gradient(rgba(0,0,0,0.03) 1px, transparent 1px);
  background-size: 24px 24px;
  pointer-events: none;
}
.content-hero-inner {
  position: relative; z-index: 1;
  max-width: 720px; margin: 0 auto;
}
.content-hero .eyebrow { margin-bottom: 16px; }
.content-hero h1 {
  font-family: var(--display);
  font-size: clamp(36px, 5.5vw, 60px);
  font-weight: 800;
  letter-spacing: -0.03em;
  color: var(--text);
  line-height: 1.0;
  margin-bottom: 18px;
  font-variation-settings: 'opsz' 48;
}
.content-hero h1 em {
  font-style: italic;
  color: var(--accent);
}
.content-hero .hero-sub {
  font-size: 17px; color: var(--text-2);
  max-width: 540px; margin: 0 auto; line-height: 1.65;
}
.content-hero .hero-ctas {
  display: flex; align-items: center; justify-content: center;
  gap: 12px; flex-wrap: wrap; margin-top: 32px;
}


/* ─── DOCS LAYOUT ───────────────────────────── */
.docs-layout {
  display: grid;
  grid-template-columns: 240px 1fr;
  max-width: 1080px;
  margin: 0 auto;
  min-height: calc(100vh - 56px);
}

/* Sidebar */
.docs-sidebar {
  border-right: 1px solid var(--border);
  padding: 32px 24px 48px 40px;
  position: sticky;
  top: 56px;
  height: calc(100vh - 56px);
  overflow-y: auto;
}
.docs-sidebar-toggle {
  display: none;
  position: fixed; bottom: 20px; left: 20px; z-index: 200;
  width: 44px; height: 44px; border-radius: 50%;
  background: var(--text); color: #fff;
  align-items: center; justify-content: center;
  font-size: 18px; box-shadow: 0 4px 16px rgba(0,0,0,0.15);
  transition: background 180ms ease;
}
@media (hover:hover) { .docs-sidebar-toggle:hover { background: #333; } }

.docs-nav-group { margin-bottom: 28px; }
.docs-nav-label {
  font-size: 10px; letter-spacing: 0.1em; text-transform: uppercase;
  color: var(--text-3); font-weight: 700; margin-bottom: 10px;
  padding-left: 10px;
}
.docs-nav-link {
  display: block; padding: 6px 10px; border-radius: 6px;
  font-size: 13px; color: var(--text-3); font-weight: 500;
  transition: color 180ms ease, background 180ms ease;
}
.docs-nav-link:hover { color: var(--text); background: rgba(0,0,0,0.03); }
.docs-nav-link.active {
  color: var(--text); background: rgba(16,185,129,0.07);
  font-weight: 600;
}

/* Docs content area */
.docs-content {
  padding: 40px 48px 80px;
  max-width: 760px;
}
.docs-content h1 {
  font-size: clamp(28px, 3vw, 36px); font-weight: 700;
  letter-spacing: -0.03em; color: var(--text);
  line-height: 1.1; margin-bottom: 12px;
}
.docs-content h2 {
  font-size: 22px; font-weight: 700;
  letter-spacing: -0.02em; color: var(--text);
  margin-top: 48px; margin-bottom: 16px;
  padding-bottom: 10px;
  border-bottom: 1px solid var(--border);
}
.docs-content h3 {
  font-size: 17px; font-weight: 700;
  color: var(--text); margin-top: 36px; margin-bottom: 12px;
}
.docs-content p {
  font-size: 15px; color: var(--text-2); line-height: 1.75;
  margin-bottom: 18px; max-width: none;
}
.docs-content ul, .docs-content ol {
  list-style: disc;
  padding-left: 22px;
  margin-bottom: 18px;
}
.docs-content ol { list-style: decimal; }
.docs-content li {
  font-size: 15px; color: var(--text-2); line-height: 1.7;
  margin-bottom: 6px;
}
.docs-content li code,
.docs-content p code {
  font-family: var(--mono); font-size: 13px;
  color: var(--text-3); background: var(--bg-alt);
  padding: 2px 6px; border-radius: 4px;
  border: 1px solid var(--border);
}
.docs-content a {
  color: var(--accent); font-weight: 500;
  transition: color 180ms ease;
}
@media (hover:hover) { .docs-content a:hover { color: var(--accent-hover); } }
.docs-content blockquote {
  border-left: 3px solid var(--accent);
  padding: 14px 20px; margin-bottom: 18px;
  background: rgba(16,185,129,0.04); border-radius: 0 8px 8px 0;
}
.docs-content blockquote p { color: var(--text-2); margin-bottom: 0; }
.docs-content hr {
  border: none; height: 1px;
  background: var(--border); margin: 40px 0;
}

/* Docs pagination */
.docs-pagination {
  display: flex; justify-content: space-between; align-items: center;
  margin-top: 56px; padding-top: 24px;
  border-top: 1px solid var(--border);
}
.docs-pagination a {
  display: flex; flex-direction: column; gap: 4px;
  font-size: 13px; color: var(--text-3);
  transition: color 180ms ease;
}
.docs-pagination a span { font-size: 15px; color: var(--text); font-weight: 600; }
@media (hover:hover) { .docs-pagination a:hover { color: var(--accent); } }
@media (hover:hover) { .docs-pagination a:hover span { color: var(--accent); } }


/* ─── CODE PANELS (shared) ──────────────────── */
.code-panel-wrap { position: relative; }
.code-panel-glow {
  position: absolute; inset: -32px; pointer-events: none;
  background: radial-gradient(ellipse at 50% 50%, rgba(16,185,129,0.07) 0%, transparent 70%);
  z-index: 0;
}
.code-panel {
  position: relative; z-index: 1;
  background: var(--bg-code);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 12px; overflow: hidden;
  margin-bottom: 20px;
}
.code-panel-header {
  padding: 10px 14px; background: rgba(255,255,255,0.025);
  border-bottom: 1px solid rgba(255,255,255,0.06);
  display: flex; align-items: center; gap: 8px;
}
.code-dots { display: flex; gap: 5px; }
.code-dot { width: 9px; height: 9px; border-radius: 50%; }
.code-dot--r { background: rgba(255,95,87,0.5); }
.code-dot--y { background: rgba(255,189,46,0.5); }
.code-dot--g { background: rgba(40,200,64,0.5); }
.code-file { font-family: var(--mono); font-size: 10.5px; color: rgba(255,255,255,0.48); }
.code-body {
  padding: 18px 20px; font-family: var(--mono); font-size: 14px;
  line-height: 1.9; color: var(--cs);
}
.c-comment { color: var(--cs-comment); }
.c-fn { color: var(--cs-fn); }
.c-str { color: var(--cs-str); }
.c-key { color: var(--cs-key); }
.c-ok { color: var(--cs-ok); }
.c-dim { color: var(--cs-dim); padding-left: 14px; }
.c-def { color: var(--cs); }
.c-cmd { color: var(--cs); }
.c-cmd::before { content: '$ '; color: var(--cs-dim); }

.copy-btn {
  font-size: 10px; color: rgba(255,255,255,0.38); cursor: pointer;
  font-family: var(--sans);
  padding: 2px 8px; border: 1px solid rgba(255,255,255,0.08); border-radius: 4px;
  background: transparent; transition: color 180ms ease, border-color 180ms ease; font-weight: 600;
  margin-left: auto;
}
@media (hover:hover) { .copy-btn:hover { color: rgba(255,255,255,0.65); border-color: rgba(255,255,255,0.15); } }

/* Inline install panels for content pages */
.install-panel {
  background: rgba(255,255,255,0.03); border: 1px solid rgba(255,255,255,0.1);
  border-radius: 8px; overflow: hidden;
}
.install-panel-hdr {
  padding: 10px 16px; background: rgba(255,255,255,0.02);
  border-bottom: 1px solid rgba(255,255,255,0.06);
  font-size: 11px; color: rgba(255,255,255,0.38); font-family: var(--mono);
  display: flex; justify-content: space-between; align-items: center;
}
.install-code {
  padding: 22px 24px; font-family: var(--mono);
  font-size: 13px; line-height: 2.1; color: rgba(255,255,255,0.8);
}
.install-code .cmd { color: var(--cs-key); }
.install-code .comment { color: var(--cs-comment); }


/* ─── COMPARISON TABLE ──────────────────────── */
.comparison-section {
  padding: 100px 0;
  background: var(--bg-alt);
  border-top: 1px solid var(--border);
}
.comp-table-wrap {
  margin-top: 48px;
  border: 1px solid var(--border);
  border-radius: 14px;
  overflow: hidden;
}
.comp-table { width: 100%; border-collapse: collapse; font-size: 14px; }
.comp-table th {
  padding: 13px 18px; text-align: left; font-weight: 700; font-size: 11px;
  color: var(--text-3); background: var(--bg-alt);
  border-bottom: 1px solid var(--border);
  letter-spacing: 0.04em; text-transform: uppercase;
}
.comp-table th.us {
  color: var(--accent);
  border-top: 2px solid var(--accent);
  background: #f0fdf9;
}
.comp-table td {
  padding: 12px 18px; border-bottom: 1px solid var(--border);
  color: var(--text-3); vertical-align: middle; background: var(--bg);
}
.comp-table td.us { background: #f0fdf9; color: var(--text-2); }
.comp-table td.label { color: var(--text-2); font-weight: 600; }
.comp-table tr:last-child td { border-bottom: none; }
.yes { color: var(--green) !important; font-weight: 600; }
.no  { color: #ccc !important; }
.partial { color: #aaa !important; }
.comp-exclusive td { background: rgba(16,185,129,0.04) !important; }
.comp-exclusive td.label { color: var(--text) !important; font-weight: 700; }
.comp-exclusive td.us { background: rgba(16,185,129,0.10) !important; }
.comp-note { margin-top: 20px; font-size: 13px; color: var(--text-3); }
.comp-note strong { color: var(--text-2); font-weight: 600; }

/* VS page specific */
.vs-hero-logos {
  display: flex; align-items: center; justify-content: center;
  gap: 24px; margin-bottom: 28px;
}
.vs-hero-logos .vs-vs {
  font-size: 13px; color: var(--text-3); font-weight: 600;
  letter-spacing: 0.04em; text-transform: uppercase;
}
.vs-verdict {
  margin-top: 48px; padding: 28px 32px;
  background: rgba(16,185,129,0.04); border: 1px solid rgba(16,185,129,0.12);
  border-radius: 12px;
}
.vs-verdict h3 { font-size: 16px; font-weight: 700; color: var(--text); margin-bottom: 8px; }
.vs-verdict p { font-size: 14px; color: var(--text-2); line-height: 1.7; max-width: none; }
.vs-section { padding: 64px 0; border-top: 1px solid var(--border); }
.vs-section h2 {
  font-size: 22px; font-weight: 700; letter-spacing: -0.02em;
  color: var(--text); margin-bottom: 20px;
}
.vs-section p {
  font-size: 15px; color: var(--text-2); line-height: 1.75;
  margin-bottom: 14px; max-width: none;
}
.vs-feature-list {
  display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-top: 28px;
}
.vs-feature {
  padding: 20px 22px; background: var(--bg-alt);
  border: 1px solid var(--border); border-radius: 10px;
}
.vs-feature-label {
  font-size: 10px; letter-spacing: 0.08em; text-transform: uppercase;
  color: var(--text-3); font-weight: 700; margin-bottom: 6px;
}
.vs-feature h4 { font-size: 14px; font-weight: 700; color: var(--text); margin-bottom: 6px; }
.vs-feature p { font-size: 13px; color: var(--text-2); line-height: 1.6; margin-bottom: 0; }


/* ─── VS COMPARISON PAGES ────────────────────── */
.vs-header {
  text-align: center;
  padding: 80px 0 48px;
  margin-bottom: 0;
}
.vs-badge {
  display: inline-block;
  font-size: 10px; font-weight: 700;
  letter-spacing: 0.1em; text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 16px;
}
.vs-header h1 {
  font-family: var(--display);
  font-size: clamp(28px, 4.5vw, 42px);
  font-weight: 800; line-height: 1.1;
  letter-spacing: -0.03em; color: var(--text);
  margin-bottom: 16px;
  font-variation-settings: 'opsz' 48;
}
.vs-header .tldr {
  font-size: 16px; color: var(--text-2); line-height: 1.7;
  max-width: 600px; margin: 0 auto;
  background: none; border: none; border-radius: 0; padding: 0;
}

/* Standalone TL;DR box (fallback) */
.tldr {
  background: none;
  border: none;
  border-radius: 0;
  padding: 0;
  margin-bottom: 48px;
}
.tldr p {
  font-size: 16px; line-height: 1.65; color: var(--text); font-weight: 400;
}

/* Comparison table */
.comparison-table { margin-bottom: 48px; border-top: none; }
.comparison-table h2 {
  font-family: var(--display);
  font-size: 24px; font-weight: 700;
  margin-bottom: 20px; letter-spacing: -0.02em;
  font-variation-settings: 'opsz' 24;
  padding-top: 0;
}
.comparison-table table {
  width: 100%; border-collapse: collapse; font-size: 14px;
}
.comparison-table thead th {
  text-align: left; padding: 12px 16px;
  font-size: 12px; font-weight: 700;
  letter-spacing: 0.04em; text-transform: uppercase;
  color: var(--text-3);
  border-bottom: 2px solid var(--border-med);
}
.comparison-table thead th:first-child { width: 35%; }
.comparison-table thead th:nth-child(2),
.comparison-table thead th:nth-child(3) { width: 32.5%; }
.comparison-table tbody td {
  padding: 12px 16px;
  border-bottom: 1px solid var(--border);
  vertical-align: top; line-height: 1.5;
}
.comparison-table tbody td:first-child {
  font-weight: 500; color: var(--text);
}
.comparison-table tbody tr:last-child td { border-bottom: none; }
.comparison-table tbody tr:nth-child(even) { background: var(--bg-alt); }

/* Table cell status classes */
td.yes { color: var(--green); font-weight: 500; }
td.yes::before { content: "\2713\00a0"; font-weight: 700; }
td.no { color: var(--text-3); }
td.no::before { content: "\2717\00a0"; font-weight: 700; }
td.partial { color: #d97706; font-weight: 500; }
td.partial::before { content: "~\00a0"; font-weight: 700; }
td.neutral { color: var(--text-2); }

/* Wins section */
.wins {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 24px; margin-bottom: 48px;
}
.wins-col h3 {
  font-family: var(--display);
  font-size: 18px; font-weight: 700;
  margin-bottom: 16px; letter-spacing: -0.01em;
  font-variation-settings: 'opsz' 18;
}
.wins-col ul {
  list-style: none; display: flex;
  flex-direction: column; gap: 12px;
}
.wins-col li {
  font-size: 14px; line-height: 1.6; color: var(--text-2);
  padding-left: 16px; position: relative;
}
.wins-col li::before {
  content: ""; position: absolute;
  left: 0; top: 8px;
  width: 6px; height: 6px; border-radius: 50%;
}
.wins-col li strong { color: var(--text); font-weight: 600; }
.wins-ours li::before { background: var(--accent); }
.wins-theirs li::before { background: var(--text-3); }

/* When to use */
.when-to-use { margin-bottom: 48px; }
.when-to-use h2 {
  font-family: var(--display);
  font-size: 24px; font-weight: 700;
  margin-bottom: 20px; letter-spacing: -0.02em;
  font-variation-settings: 'opsz' 24;
}
.when-grid {
  display: grid; grid-template-columns: 1fr 1fr; gap: 20px;
}
.when-card {
  border-radius: 12px; padding: 24px;
  border: 1px solid var(--border);
}
.when-card h4 {
  font-family: var(--sans);
  font-size: 14px; font-weight: 700;
  margin-bottom: 8px; letter-spacing: -0.01em;
}
.when-card p { font-size: 14px; line-height: 1.6; color: var(--text-2); }
.when-ours {
  background: rgba(16,185,129,0.06);
  border-color: rgba(16,185,129,0.2);
}
.when-ours h4 { color: var(--accent-hover); }
.when-theirs { background: var(--bg-alt); border-color: var(--border-med); }
.when-theirs h4 { color: var(--text); }
.when-both {
  grid-column: 1 / -1;
  background: linear-gradient(135deg, rgba(16,185,129,0.06) 0%, var(--bg-alt) 100%);
  border-color: rgba(16,185,129,0.2);
}
.when-both h4 { color: var(--accent-hover); }

/* Differentiator callout */
.differentiator { margin-bottom: 48px; }
.differentiator blockquote {
  font-family: var(--display);
  font-size: clamp(22px, 3.5vw, 30px);
  font-weight: 700; font-style: italic;
  line-height: 1.35; letter-spacing: -0.02em;
  color: var(--text); text-align: center;
  padding: 40px 32px; border-radius: 16px;
  background: var(--bg-alt);
  border: 1px solid var(--border);
  font-variation-settings: 'opsz' 30;
  position: relative;
}
.differentiator blockquote::before {
  content: "\201C"; position: absolute;
  top: 12px; left: 24px;
  font-size: 60px; color: var(--accent);
  font-family: var(--display);
  line-height: 1; opacity: 0.3;
}

/* CTA */
.cta {
  text-align: center; padding: 80px 40px;
  background: var(--bg-dark);
  margin-top: 24px; margin-bottom: 0;
  position: relative; overflow: hidden;
}
.cta::before {
  content: '';
  position: absolute; inset: 0;
  background-image: radial-gradient(rgba(255,255,255,0.03) 1px, transparent 1px);
  background-size: 24px 24px;
  pointer-events: none;
}
.cta::after {
  content: '';
  position: absolute; top: 0; left: 50%; transform: translateX(-50%);
  width: 400px; height: 200px;
  background: radial-gradient(ellipse, rgba(16,185,129,0.12) 0%, transparent 70%);
  pointer-events: none;
}
.cta h2 {
  font-family: var(--display);
  font-size: clamp(24px, 3.5vw, 36px); font-weight: 700;
  margin-bottom: 8px; letter-spacing: -0.02em;
  color: var(--text-inv);
  font-variation-settings: 'opsz' 36;
  position: relative; z-index: 1;
}
.cta-sub-text, .install-cmd, .cta-docs-link { position: relative; z-index: 1; }
.cta-sub-text {
  font-size: 15px; color: rgba(255,255,255,0.45);
  margin-bottom: 28px; line-height: 1.6;
}
.install-cmd {
  display: inline-block;
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 10px;
  padding: 16px 32px; margin-bottom: 16px;
}
.install-cmd code {
  color: var(--accent); font-size: 15px;
  font-weight: 500; letter-spacing: -0.01em;
}
.cta-docs-link {
  display: inline-block;
  font-size: 14px; font-weight: 500; color: rgba(255,255,255,0.4);
  transition: color 180ms ease;
}
@media (hover:hover) { .cta-docs-link:hover { color: rgba(255,255,255,0.7); } }

/* Content page layout */
.content-page {
  max-width: 820px; margin: 0 auto;
  padding: 96px 24px 80px;
}

/* VS header animation */
.vs-header h1 { animation: fadeUp 0.7s cubic-bezier(0.22,1,0.36,1) 0.07s both; }
.vs-header .vs-subtitle { animation: fadeUp 0.7s cubic-bezier(0.22,1,0.36,1) 0.16s both; }
.vs-header .vs-badge { animation: fadeUp 0.7s cubic-bezier(0.22,1,0.36,1) 0s both; }

/* VS responsive: 768px */
@media (max-width: 768px) {
  .content-page { padding: 80px 16px 60px; }
  .vs-header { margin-bottom: 32px; }
  .vs-header h1 { font-size: 28px; }
  .tldr { padding: 20px; margin-bottom: 32px; }
  .tldr p { font-size: 15px; }
  .comparison-table { margin-bottom: 32px; overflow-x: auto; }
  .comparison-table table { min-width: 560px; }
  .comparison-table h2 { font-size: 20px; }
  .wins { grid-template-columns: 1fr; gap: 32px; margin-bottom: 32px; }
  .when-to-use { margin-bottom: 32px; }
  .when-to-use h2 { font-size: 20px; }
  .when-grid { grid-template-columns: 1fr; }
  .differentiator { margin-bottom: 32px; }
  .differentiator blockquote { font-size: 20px; padding: 28px 24px; }
  .cta h2 { font-size: 24px; }
  .install-cmd { padding: 14px 20px; }
  .install-cmd code { font-size: 13px; }
}
@media (max-width: 480px) {
  .comparison-table table { min-width: 480px; font-size: 13px; }
  .comparison-table thead th,
  .comparison-table tbody td { padding: 10px 12px; }
}


/* ─── VOTE WIDGET ───────────────────────────── */
.vote-widget {
  display: flex; gap: 10px; flex-wrap: wrap;
  margin-top: 20px;
}
.vote-widget button {
  height: 44px; padding: 0 20px;
  border: 1px solid var(--border-med);
  border-radius: 22px;
  font-size: 13px; font-weight: 500; color: var(--text-2);
  background: var(--bg); font-family: var(--sans);
  transition: border-color 180ms ease, color 180ms ease, background 180ms ease;
  white-space: nowrap;
}
@media (hover:hover) {
  .vote-widget button:hover {
    border-color: var(--accent);
    color: var(--accent);
  }
  .vote-widget button.selected:hover {
    background: var(--accent-hover);
    border-color: var(--accent-hover);
    color: #fff;
  }
}
.vote-widget button.selected {
  background: var(--accent);
  border-color: var(--accent);
  color: #fff;
}
.vote-widget button.selected::after {
  content: ' \2713';
}
.vote-widget.voted button:not(.selected) {
  opacity: 0.55;
}


/* ─── CHANGELOG ─────────────────────────────── */
.changelog-section {
  padding: 64px 0 100px;
}
.changelog-timeline {
  max-width: 760px;
  margin: 0 auto;
  position: relative;
  padding-left: 32px;
}
.changelog-timeline::before {
  content: '';
  position: absolute; left: 7px; top: 0; bottom: 0;
  width: 1px; background: var(--border);
}
.changelog-entry {
  position: relative;
  margin-bottom: 56px;
}
.changelog-entry:last-child { margin-bottom: 0; }
.changelog-dot {
  position: absolute; left: -32px; top: 4px;
  width: 15px; height: 15px; border-radius: 50%;
  background: var(--bg); border: 2px solid var(--accent);
  z-index: 1;
}
.changelog-entry:first-child .changelog-dot {
  background: var(--accent);
}
.changelog-version {
  display: inline-flex; align-items: center; gap: 10px;
  margin-bottom: 8px;
}
.changelog-version h3 {
  font-size: 20px; font-weight: 700; color: var(--text);
  letter-spacing: -0.02em;
}
.changelog-tag {
  font-size: 10px; font-weight: 700; letter-spacing: 0.05em;
  text-transform: uppercase; padding: 2px 8px;
  border-radius: 4px; background: rgba(16,185,129,0.08);
  color: var(--accent);
}
.changelog-tag--breaking {
  background: rgba(248,81,73,0.08); color: var(--cs-err);
}
.changelog-date {
  font-size: 13px; color: var(--text-3); margin-bottom: 16px;
}
.changelog-body h4 {
  font-size: 14px; font-weight: 700; color: var(--text);
  margin-top: 16px; margin-bottom: 8px;
}
.changelog-body ul {
  list-style: disc; padding-left: 18px;
}
.changelog-body li {
  font-size: 14px; color: var(--text-2); line-height: 1.7;
  margin-bottom: 4px;
}
.changelog-body li code {
  font-family: var(--mono); font-size: 12px;
  color: var(--text-3); background: var(--bg-alt);
  padding: 1px 5px; border-radius: 3px;
  border: 1px solid var(--border);
}


/* ─── PERSONA PAGES ─────────────────────────── */
.persona-hero {
  padding: 80px 40px 64px;
  text-align: center;
  border-bottom: none;
  position: relative;
  overflow: hidden;
}
.persona-hero::before {
  content: '';
  position: absolute; inset: 0;
  background-image: radial-gradient(rgba(0,0,0,0.03) 1px, transparent 1px);
  background-size: 24px 24px;
  pointer-events: none;
}
.persona-hero-inner {
  position: relative; z-index: 1;
  max-width: 760px; margin: 0 auto;
}
.persona-hero .eyebrow { font-size: 12px; margin-bottom: 20px; }
.persona-hero h1 {
  font-family: var(--display);
  font-size: clamp(40px, 7vw, 72px);
  font-weight: 800;
  line-height: 0.95;
  letter-spacing: -0.03em;
  color: var(--text);
  margin-bottom: 14px;
  font-variation-settings: 'opsz' 72;
}
.persona-hero h1 em {
  font-style: italic;
  color: var(--accent);
}
.persona-hero .hero-sub {
  font-size: 17px; color: var(--text-2);
  max-width: 600px; margin: 0 auto; line-height: 1.7;
}
.persona-hero .hero-ctas {
  display: flex; align-items: center; justify-content: center;
  gap: 12px; flex-wrap: wrap; margin-top: 32px;
}

/* Works-with strip */
.works-with {
  border-top: 1px solid var(--border); border-bottom: 1px solid var(--border);
  padding: 18px 40px; background: var(--bg-alt);
  display: flex; align-items: center; justify-content: center; gap: 0; flex-wrap: wrap;
}
.works-with-label {
  font-size: 11px; color: var(--text-3); letter-spacing: 0.08em;
  text-transform: uppercase; margin-right: 24px; font-weight: 600; white-space: nowrap;
}
.works-with-item {
  font-size: 13px; color: #888; font-weight: 500;
  padding: 3px 14px; white-space: nowrap; transition: color 180ms ease;
}
@media (hover:hover) { .works-with-item:hover { color: var(--text-2); } }
.works-with-sep { color: #bbb; }

/* Persona use-case cards */
.persona-usecases,
.usecases-section {
  padding: 80px 0 100px;
}
.persona-usecases-grid,
.usecases-grid {
  display: grid; grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}
.persona-card,
.usecase-card {
  padding: 32px 28px;
  border: 1px solid var(--border);
  border-radius: 14px;
  background: var(--bg);
  transition: border-color 250ms ease, box-shadow 250ms ease;
}
@media (hover:hover) {
  .persona-card:hover,
  .usecase-card:hover {
    border-color: rgba(16,185,129,0.2);
    box-shadow: 0 4px 24px rgba(0,0,0,0.04);
  }
}
.persona-card-icon {
  font-size: 22px; margin-bottom: 16px;
}
.usecase-tag {
  font-size: 10px; letter-spacing: 0.1em; text-transform: uppercase;
  color: var(--accent); margin-bottom: 14px; font-weight: 700;
}
.persona-card h3,
.usecase-card h3,
.usecase-title {
  font-size: 17px; font-weight: 700; color: var(--text);
  letter-spacing: -0.01em; margin-bottom: 10px;
}
.persona-card p,
.usecase-card p,
.usecase-desc {
  font-size: 14px; color: var(--text-2); line-height: 1.7;
  margin-bottom: 16px; max-width: none;
}
.usecase-snippet {
  display: block;
  font-family: var(--mono); font-size: 11px;
  color: var(--accent); background: rgba(16,185,129,0.06);
  border: 1px solid rgba(16,185,129,0.12); border-radius: 6px;
  padding: 8px 12px; margin-bottom: 4px;
}
.vote-label {
  display: block; font-size: 12px; font-weight: 600;
  color: var(--text-3); margin-bottom: 8px; width: 100%;
}
.persona-card-detail {
  font-family: var(--mono); font-size: 11px;
  color: var(--accent); font-weight: 500;
}

/* Persona tools grid */
.persona-tools {
  padding: 80px 0 100px;
  background: var(--bg-alt);
  border-top: 1px solid var(--border);
}
.persona-tools-grid {
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: 16px; margin-top: 40px;
}
.persona-tool {
  padding: 24px 22px;
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: 10px;
}
.persona-tool h4 {
  font-size: 14px; font-weight: 700; color: var(--text);
  margin-bottom: 6px;
}
.persona-tool p {
  font-size: 13px; color: var(--text-2); line-height: 1.6; max-width: none;
}

/* Persona CTA */
.persona-cta {
  padding: 100px 40px;
  background: var(--bg-dark);
  border-top: 1px solid rgba(255,255,255,0.04);
  text-align: center;
}
.persona-cta-inner { max-width: 640px; margin: 0 auto; }
.persona-cta h2 {
  font-family: var(--display);
  font-size: clamp(28px, 4.5vw, 48px);
  font-weight: 800; letter-spacing: -0.03em;
  color: var(--text-inv); margin-bottom: 32px; line-height: 1.05;
  font-variation-settings: 'opsz' 48;
}
.persona-cta h2 em { font-style: italic; color: var(--accent); }
.persona-cta .cta-code {
  display: inline-flex; align-items: center; gap: 8px;
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 8px; padding: 16px 28px;
  font-family: var(--mono); font-size: 14px;
  color: var(--cs-key); margin-bottom: 24px;
}
.persona-cta .cta-code .prefix { color: var(--cs-dim); }
.persona-cta .cta-link {
  display: block; margin-top: 20px;
  font-size: 14px; color: rgba(255,255,255,0.45);
  transition: color 180ms ease;
}
@media (hover:hover) { .persona-cta .cta-link:hover { color: rgba(255,255,255,0.7); } }


/* ─── LAUNCH PAGE ───────────────────────────── */
.launch-hero {
  padding: 100px 40px 80px;
  text-align: center;
  background: var(--bg-dark);
  color: var(--text-inv);
}
.launch-hero .eyebrow { color: var(--accent); }
.launch-hero h1 {
  font-family: var(--display);
  font-size: clamp(40px, 6vw, 72px);
  font-weight: 800; letter-spacing: -0.03em;
  color: var(--text-inv); line-height: 0.95;
  margin-bottom: 20px;
  font-variation-settings: 'opsz' 72;
}
.launch-hero h1 em { font-style: italic; color: var(--accent); }
.launch-hero p {
  font-size: 17px; color: rgba(255,255,255,0.55);
  max-width: 540px; margin: 0 auto; line-height: 1.65;
}

.launch-section {
  padding: 80px 0;
  border-top: 1px solid var(--border);
}
.launch-section h2 {
  font-size: 24px; font-weight: 700; letter-spacing: -0.02em;
  color: var(--text); margin-bottom: 20px;
}
.launch-section p {
  font-size: 15px; color: var(--text-2); line-height: 1.75;
  margin-bottom: 14px; max-width: none;
}


/* ─── FOOTER ────────────────────────────────── */
.responsible-note {
  background: var(--bg-dark);
  padding: 16px 40px; font-size: 13px;
  color: rgba(255,255,255,0.33); text-align: center; line-height: 1.6;
}
.responsible-note strong { color: rgba(255,255,255,0.5); }
footer {
  background: var(--bg-dark);
  border-top: 1px solid rgba(255,255,255,0.04);
  padding: 28px 40px; display: flex; align-items: center;
  justify-content: space-between;
  font-size: 13px; color: rgba(255,255,255,0.33);
}
footer a {
  color: rgba(255,255,255,0.33); margin-left: 20px;
  transition: color 180ms ease;
}
@media (hover:hover) { footer a:hover { color: rgba(255,255,255,0.65); } }
.footer-logo { display: flex; align-items: center; gap: 8px; }
.footer-dot { width: 6px; height: 6px; background: var(--accent); border-radius: 50%; }


/* ─── ANIMATIONS ────────────────────────────── */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(20px); }
  to   { opacity: 1; transform: translateY(0); }
}

.content-hero h1   { animation: fadeUp 0.7s  cubic-bezier(0.22,1,0.36,1) 0.07s both; }
.content-hero .hero-sub { animation: fadeUp 0.7s  cubic-bezier(0.22,1,0.36,1) 0.16s both; }
.content-hero .hero-ctas { animation: fadeUp 0.7s  cubic-bezier(0.22,1,0.36,1) 0.24s both; }
.persona-hero h1   { animation: fadeUp 0.7s  cubic-bezier(0.22,1,0.36,1) 0.07s both; }
.persona-hero .hero-sub { animation: fadeUp 0.7s  cubic-bezier(0.22,1,0.36,1) 0.16s both; }
.launch-hero h1    { animation: fadeUp 0.7s  cubic-bezier(0.22,1,0.36,1) 0.07s both; }
.launch-hero p     { animation: fadeUp 0.7s  cubic-bezier(0.22,1,0.36,1) 0.16s both; }

.reveal {
  opacity: 0; transform: translateY(18px);
  transition: opacity 0.6s cubic-bezier(0.22,1,0.36,1), transform 0.6s cubic-bezier(0.22,1,0.36,1);
}
.reveal.in { opacity: 1; transform: translateY(0); }
.reveal-d1 { transition-delay: 0.07s; }
.reveal-d2 { transition-delay: 0.14s; }
.reveal-d3 { transition-delay: 0.21s; }
.reveal-d4 { transition-delay: 0.28s; }

@media (prefers-reduced-motion: reduce) {
  .content-hero h1, .content-hero .hero-sub, .content-hero .hero-ctas,
  .persona-hero h1, .persona-hero .hero-sub,
  .launch-hero h1, .launch-hero p { animation: none; opacity: 1; transform: none; }
  .reveal { opacity: 1; transform: none; transition: none; }
}


/* ─── RESPONSIVE: 1200px ────────────────────── */
@media (max-width: 1200px) {
  .content-hero { padding: 72px 32px 56px; }
  .persona-hero { padding: 72px 32px 56px; }
  .vs-feature-list { grid-template-columns: 1fr 1fr; }
  .persona-tools-grid { grid-template-columns: repeat(2, 1fr); }
  .launch-what-grid { grid-template-columns: repeat(2, 1fr); }
  .launch-velocity-grid { grid-template-columns: repeat(2, 1fr); }
}


/* ─── RESPONSIVE: 960px ─────────────────────── */
@media (max-width: 960px) {
  .content-hero { padding: 64px 24px 48px; }
  .persona-hero { padding: 64px 24px 48px; }
  .section-wrap { padding: 0 24px; }

  .docs-layout { grid-template-columns: 1fr; }
  .docs-sidebar {
    position: fixed; top: 56px; left: 0; bottom: 0;
    width: 280px; z-index: 150;
    background: var(--bg);
    box-shadow: 4px 0 24px rgba(0,0,0,0.08);
    border-right: 1px solid var(--border);
    padding: 24px;
    transform: translateX(-100%);
    transition: transform 200ms ease;
  }
  .docs-sidebar.open { transform: translateX(0); }
  .docs-sidebar-toggle { display: flex; }
  .docs-content { padding: 32px 24px 80px; }

  .persona-usecases-grid, .usecases-grid { grid-template-columns: 1fr 1fr; }
  .persona-tools-grid { grid-template-columns: 1fr 1fr; }
  .vs-feature-list { grid-template-columns: 1fr; }

  /* VS pages at 960px */
  .wins { grid-template-columns: 1fr; gap: 32px; }
  .when-grid { grid-template-columns: 1fr; }
  .comparison-table { overflow-x: auto; -webkit-overflow-scrolling: touch; }
  .comparison-table table { min-width: 560px; }

  /* Launch at 960px */
  .launch-ctas-grid { grid-template-columns: 1fr 1fr; }
}


/* ─── RESPONSIVE: 640px ─────────────────────── */
@media (max-width: 640px) {
  nav { padding: 0 20px; }
  .nav-links a:not(.nav-install):not(.nav-gh) { display: none; }
  .nav-links { gap: 12px; }

  .content-hero { padding: 56px 20px 40px; }
  .content-hero h1 { font-size: clamp(30px, 8vw, 44px); }
  .content-hero .hero-sub { font-size: 15px; }
  .content-hero .hero-ctas { flex-direction: column; gap: 10px; }
  .content-hero .hero-ctas .btn-primary,
  .content-hero .hero-ctas .btn-ghost,
  .content-hero .hero-ctas .btn-accent { width: 100%; justify-content: center; }

  .persona-hero { padding: 56px 20px 40px; }
  .persona-hero h1 { font-size: clamp(32px, 9vw, 48px); }
  .persona-hero .hero-sub { font-size: 15px; }
  .persona-hero .hero-ctas { flex-direction: column; gap: 10px; }
  .persona-hero .hero-ctas .btn-primary,
  .persona-hero .hero-ctas .btn-ghost,
  .persona-hero .hero-ctas .btn-accent { width: 100%; justify-content: center; }

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

  .docs-sidebar { width: 100%; }
  .docs-content { padding: 24px 20px 64px; }
  .docs-content h2 { font-size: 19px; }

  .persona-usecases, .usecases-section { padding: 56px 0 72px; }
  .persona-usecases-grid, .usecases-grid { grid-template-columns: 1fr; }
  .persona-card, .usecase-card { padding: 24px 20px; }
  .persona-tools { padding: 56px 0 72px; }
  .persona-tools-grid { grid-template-columns: 1fr; }
  .persona-cta { padding: 60px 24px; }
  .persona-cta .cta-code { padding: 14px 18px; font-size: 12px; }

  .comp-table-wrap { overflow-x: auto; -webkit-overflow-scrolling: touch; }
  .comp-table { min-width: 560px; }
  .vs-verdict { padding: 22px 20px; }

  /* VS pages at 640px */
  .vs-header { padding: 56px 0 36px; }
  .vs-header h1 { font-size: 26px; }
  .vs-header .tldr { font-size: 14px; }
  .vs-section { padding: 40px 0; }
  .vs-section h2 { font-size: 19px; }
  .differentiator blockquote { font-size: 18px; padding: 24px 20px; }
  .differentiator blockquote::before { font-size: 40px; top: 8px; left: 16px; }
  .when-card { padding: 20px; }
  .wins-col h3 { font-size: 16px; }

  .vote-widget { gap: 8px; }
  .vote-widget button { height: 40px; padding: 0 16px; font-size: 12px; }

  .changelog-section { padding: 48px 0 72px; }
  .changelog-timeline { padding-left: 28px; }
  .changelog-dot { left: -28px; }
  .changelog-entry { margin-bottom: 40px; }
  .changelog-version h3 { font-size: 17px; }

  .launch-hero { padding: 80px 20px 56px; }
  .launch-section { padding: 56px 0; }
  .launch-ctas-grid { grid-template-columns: 1fr; gap: 16px; }
  .launch-what-grid { grid-template-columns: 1fr; }
  .launch-velocity-grid { grid-template-columns: repeat(2, 1fr); gap: 16px; }

  .works-with { padding: 14px 20px; }
  .works-with-label { margin-right: 12px; }

  .btn-primary, .btn-ghost, .btn-accent { padding: 13px 20px; font-size: 13px; }

  footer {
    flex-direction: column; gap: 16px;
    text-align: center; padding: 24px 20px;
  }
  footer a { margin-left: 12px; }
}


/* ════════════════���══════════════════════════════
   CHANGELOG PAGE — Full release timeline
   ═════════��═════════════════════════════════════ */

.changelog-hero {
  padding: 140px 40px 60px;
  text-align: center;
}
.changelog-hero-inner {
  max-width: 640px; margin: 0 auto;
}
.changelog-hero h1 {
  font-family: var(--display);
  font-size: clamp(32px, 5vw, 52px);
  font-weight: 600;
  line-height: 1.15;
  letter-spacing: -0.02em;
  margin-bottom: 12px;
  animation: fadeUp 0.7s cubic-bezier(0.22,1,0.36,1) 0.07s both;
}
.changelog-hero .hero-sub {
  font-size: 17px;
  color: var(--text-2);
  line-height: 1.5;
  animation: fadeUp 0.7s cubic-bezier(0.22,1,0.36,1) 0.16s both;
}

/* Stats strip */
.changelog-stats {
  display: flex; align-items: center; justify-content: center;
  gap: 12px; padding: 16px 40px 48px;
  font-size: 13px; font-weight: 600;
  color: var(--text-2);
  font-family: var(--mono);
}
.stats-dot { color: var(--text-3); }

/* Release card timeline */
[data-pagetype="changelog"] .changelog-timeline {
  max-width: 720px; margin: 0 auto;
  padding: 0 40px 60px;
  position: relative;
}
[data-pagetype="changelog"] .changelog-timeline::before {
  content: '';
  position: absolute;
  left: 40px; top: 0; bottom: 60px;
  width: 2px;
  background: var(--border);
}

.release-card {
  position: relative;
  padding: 0 0 48px 40px;
  border: none;
}
.release-card::before {
  content: '';
  position: absolute;
  left: -5px; top: 6px;
  width: 12px; height: 12px;
  border-radius: 50%;
  background: var(--accent);
  border: 2px solid var(--bg);
  box-shadow: 0 0 0 2px var(--accent);
}

.release-meta {
  display: flex; align-items: center; gap: 12px;
  margin-bottom: 10px;
}
.version-badge {
  display: inline-block;
  padding: 3px 10px;
  background: rgba(16,185,129,0.1);
  color: var(--accent);
  border-radius: 20px;
  font-family: var(--mono);
  font-size: 12px;
  font-weight: 600;
}
.release-meta time {
  font-size: 12px;
  color: var(--text-3);
}

.release-card h2 {
  font-family: var(--sans);
  font-size: 20px;
  font-weight: 700;
  letter-spacing: -0.01em;
  margin-bottom: 6px;
}

.release-summary {
  font-size: 14px;
  color: var(--text-2);
  line-height: 1.55;
  margin-bottom: 16px;
}

.release-changes h3 {
  font-family: var(--mono);
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--text-3);
  margin: 14px 0 8px;
}
.release-changes h3:first-child { margin-top: 0; }

.release-changes ul {
  list-style: none; padding: 0;
}
.release-changes li {
  font-size: 13px;
  color: var(--text-2);
  line-height: 1.55;
  padding: 3px 0 3px 18px;
  position: relative;
}
.release-changes li::before {
  content: '';
  position: absolute; left: 0; top: 11px;
  width: 5px; height: 5px;
  border-radius: 50%;
  background: var(--border-med);
}
.release-changes li code {
  font-size: 11.5px;
}

.release-link {
  display: inline-block;
  margin-top: 14px;
  font-size: 12px;
  font-weight: 600;
  color: var(--accent);
  transition: color 180ms ease;
}
@media (hover:hover) { .release-link:hover { color: var(--accent-hover); } }

/* Changelog CTA */
.changelog-cta {
  padding: 60px 40px 80px;
  text-align: center;
  border-top: 1px solid var(--border);
}
.changelog-cta-inner {
  max-width: 480px; margin: 0 auto;
}
.changelog-cta h2 {
  font-family: var(--display);
  font-size: clamp(24px, 3.5vw, 36px);
  font-weight: 600;
  margin-bottom: 8px;
}
.changelog-cta p {
  font-size: 14px;
  color: var(--text-2);
  margin-bottom: 24px;
}

/* Content footer (shared by changelog + launch) */
.content-footer {
  border-top: 1px solid var(--border);
  padding: 32px 40px;
}
.content-footer .footer-inner {
  max-width: 960px; margin: 0 auto;
  display: flex; align-items: center; justify-content: space-between;
}
.content-footer .footer-logo {
  display: flex; align-items: center; gap: 8px;
  font-family: var(--sans); font-size: 13px; font-weight: 700;
  color: var(--text);
}
.content-footer .footer-copy {
  font-size: 12px; color: var(--text-3); margin-left: 16px;
}
.content-footer .footer-left {
  display: flex; align-items: center;
}
.content-footer .footer-links { display: flex; gap: 20px; }
.content-footer .footer-links a { font-size: 12px; color: var(--text-3); transition: color 180ms ease; }
@media (hover:hover) { .content-footer .footer-links a:hover { color: var(--text); } }


/* ════════════════════��══════════════════════════
   LAUNCH PAGE — Product Hunt launch
   ═══════════════════════════════════════════════ */

[data-pagetype="launch"] .launch-hero {
  padding: 160px 40px 80px;
  text-align: center;
  background: var(--bg);
  color: var(--text);
  position: relative;
  overflow: hidden;
}
[data-pagetype="launch"] .launch-hero::before {
  content: '';
  position: absolute;
  top: -200px; left: 50%; transform: translateX(-50%);
  width: 800px; height: 800px;
  background: radial-gradient(circle, rgba(16,185,129,0.06) 0%, transparent 70%);
  pointer-events: none;
}
.launch-hero-inner {
  max-width: 680px; margin: 0 auto;
  position: relative; z-index: 1;
}
[data-pagetype="launch"] .launch-hero h1 {
  font-family: var(--display);
  font-size: clamp(36px, 6vw, 64px);
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: -0.03em;
  margin-bottom: 16px;
  color: var(--text);
}
.launch-headline-sub {
  font-family: var(--display);
  font-size: clamp(18px, 2.5vw, 26px);
  font-weight: 400;
  font-style: italic;
  color: var(--text-2);
  margin-bottom: 16px;
}
[data-pagetype="launch"] .launch-hero .launch-sub {
  font-size: 16px;
  color: var(--text-3);
  line-height: 1.5;
  max-width: 520px;
  margin: 0 auto;
}

/* CTA Cards */
.launch-ctas {
  padding: 0 40px 80px;
}
.launch-ctas-grid {
  max-width: 960px; margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.launch-cta-card {
  display: flex; flex-direction: column;
  padding: 32px 28px;
  border: 1px solid var(--border-med);
  border-radius: 12px;
  transition: border-color 280ms ease, box-shadow 280ms ease, transform 180ms ease;
}
@media (hover:hover) {
  .launch-cta-card:hover {
    border-color: var(--accent);
    box-shadow: 0 4px 24px rgba(16,185,129,0.08);
    transform: translateY(-2px);
  }
}
.launch-cta-icon {
  width: 48px; height: 48px;
  display: flex; align-items: center; justify-content: center;
  background: rgba(16,185,129,0.08);
  color: var(--accent);
  border-radius: 10px;
  margin-bottom: 16px;
}
.launch-cta-card h3 {
  font-family: var(--sans);
  font-size: 16px;
  font-weight: 700;
  line-height: 1.35;
  letter-spacing: -0.01em;
  margin-bottom: auto;
}
.launch-cta-action {
  display: block;
  margin-top: 20px;
  font-size: 13px;
  font-weight: 600;
  color: var(--accent);
}

/* What is Pagerunner */
.launch-what {
  padding: 80px 40px;
  background: var(--bg-alt);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}
.launch-what-inner {
  max-width: 860px; margin: 0 auto;
}
.launch-what h2 {
  font-family: var(--display);
  font-size: clamp(26px, 3.5vw, 40px);
  font-weight: 600;
  text-align: center;
  margin-bottom: 12px;
}
.launch-what-analogy {
  font-size: 16px;
  color: var(--text-2);
  text-align: center;
  max-width: 560px;
  margin: 0 auto 48px;
  line-height: 1.55;
}
.launch-what-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 32px;
}
.launch-what-point-icon {
  width: 44px; height: 44px;
  display: flex; align-items: center; justify-content: center;
  background: rgba(16,185,129,0.08);
  color: var(--accent);
  border-radius: 10px;
  margin-bottom: 14px;
}
.launch-what-point h3 {
  font-family: var(--sans);
  font-size: 14px;
  font-weight: 700;
  margin-bottom: 6px;
}
.launch-what-point p {
  font-size: 13px;
  color: var(--text-2);
  line-height: 1.5;
}

/* Works with strip */
.launch-works-with {
  padding: 48px 40px;
  text-align: center;
  border-bottom: 1px solid var(--border);
}
.launch-works-with-inner {
  max-width: 720px; margin: 0 auto;
}
.launch-clients {
  display: flex; align-items: center; justify-content: center;
  flex-wrap: wrap; gap: 10px;
  font-size: 15px; font-weight: 600;
  color: var(--text-2);
}
.works-dot { color: var(--text-3); font-size: 10px; }

/* Velocity */
.launch-velocity {
  padding: 80px 40px;
  text-align: center;
}
.launch-velocity-inner {
  max-width: 720px; margin: 0 auto;
}
.launch-velocity-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  margin-bottom: 24px;
}
.launch-stat-num {
  font-family: var(--display);
  font-size: clamp(32px, 4vw, 48px);
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1;
  color: var(--text);
}
.launch-stat-label {
  font-size: 13px;
  font-weight: 500;
  color: var(--text-3);
  margin-top: 4px;
}
.launch-velocity-note {
  font-size: 14px;
  color: var(--text-3);
  font-style: italic;
}

/* Install section */
.launch-install {
  padding: 80px 40px;
  background: var(--bg-dark);
  border-top: 1px solid rgba(255,255,255,0.04);
}
.launch-install-inner {
  max-width: 560px; margin: 0 auto;
  text-align: center;
}
.launch-install h2 {
  font-family: var(--display);
  font-size: clamp(24px, 3.5vw, 36px);
  font-weight: 600;
  color: var(--text-inv);
  margin-bottom: 32px;
}
.launch-install-box {
  border: 1px solid var(--border-dark-hi);
  border-radius: 10px;
  overflow: hidden;
  text-align: left;
}
.launch-install-hdr {
  display: flex; align-items: center; justify-content: space-between;
  padding: 10px 16px;
  background: rgba(255,255,255,0.03);
  border-bottom: 1px solid var(--border-dark);
  font-size: 11px; color: var(--text-inv-2);
}
.launch-install-hdr .copy-btn {
  background: none; border: 1px solid var(--border-dark-hi);
  color: var(--text-inv-2); font-size: 11px; font-weight: 600;
  padding: 3px 10px; border-radius: 4px; cursor: pointer;
  font-family: var(--sans);
  transition: color 180ms ease, border-color 180ms ease;
}
@media (hover:hover) { .launch-install-hdr .copy-btn:hover { color: var(--text-inv); border-color: rgba(255,255,255,0.2); } }
.launch-install-code {
  padding: 20px;
  font-family: var(--mono);
  font-size: 14px;
  color: var(--text-inv);
}
.launch-install-prompt {
  color: var(--text-inv-2);
  margin-right: 8px;
  user-select: none;
}
.launch-install-alts {
  margin-top: 20px;
  font-size: 12px;
  color: var(--text-inv-2);
}
.launch-install-alts code {
  background: rgba(255,255,255,0.06);
  color: var(--text-inv);
  padding: 2px 6px;
  border-radius: 3px;
  border: none;
}


/* ─── CHANGELOG + LAUNCH RESPONSIVE ─────────── */
@media (max-width: 768px) {
  .changelog-hero { padding: 120px 24px 40px; }
  .changelog-stats { flex-wrap: wrap; padding: 12px 24px 36px; gap: 8px; font-size: 12px; }
  [data-pagetype="changelog"] .changelog-timeline { padding: 0 24px 40px; }
  [data-pagetype="changelog"] .changelog-timeline::before { left: 24px; }
  .release-card { padding-left: 32px; }
  .release-card::before { left: -5px; }
  .changelog-cta { padding: 48px 24px 60px; }

  [data-pagetype="launch"] .launch-hero { padding: 130px 24px 60px; }
  .launch-ctas { padding: 0 24px 60px; }
  .launch-ctas-grid { grid-template-columns: 1fr; gap: 16px; }
  .launch-what { padding: 60px 24px; }
  .launch-what-grid { grid-template-columns: repeat(2, 1fr); gap: 24px; }
  .launch-works-with { padding: 36px 24px; }
  .launch-clients { gap: 8px; font-size: 13px; }
  .launch-velocity { padding: 60px 24px; }
  .launch-velocity-grid { grid-template-columns: repeat(2, 1fr); gap: 20px; }
  .launch-install { padding: 60px 24px; }

  .content-footer { padding: 24px; }
  .content-footer .footer-inner { flex-direction: column; gap: 12px; text-align: center; }
  .content-footer .footer-copy { margin-left: 0; display: block; margin-top: 4px; }
  .content-footer .footer-left { flex-direction: column; }
}

@media (max-width: 480px) {
  .launch-what-grid { grid-template-columns: 1fr; }
}
