/* ListenBrief — "The Newsroom" design system
   Concept 2: Newsprint white + ink black + editorial blue
   Typography: Playfair Display (headlines), IBM Plex Sans (body), IBM Plex Mono (metadata) */

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

@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:ital,wght@0,400;0,700;0,800;0,900;1,400;1,700&family=IBM+Plex+Sans:wght@300;400;500;600;700&family=IBM+Plex+Mono:wght@400;500;600&family=Inter:wght@300;400;500;600;700;800;900&display=swap');

:root {
  --ink: #0a0a0a;
  --newsprint: #fafaf5;
  /* Accent flows from the per-brand --brand-accent that layout() injects
     (daily-commute #3D5A80, my-dog-walk #E07A5F). Falls back to the
     ListenBrief editorial blue when no brand is set (bespoke LB pages). */
  --blue: var(--brand-accent, #1d3557);
  --blue-light: #2a4a73;
  --blue-pale: #e8edf3;
  --gray-rule: #d4d0c8;
  --gray-text: #5a5a55;
  --gray-light: #f0ede5;
  --text: var(--ink);
  --text-muted: var(--gray-text);
  --bg: var(--newsprint);
  --bg-gray: var(--gray-light);
  --border: var(--gray-rule);
  --radius: 2px;
  --accent: var(--blue);
  --serif: 'Playfair Display', Georgia, 'Times New Roman', serif;
  --sans: 'IBM Plex Sans', -apple-system, BlinkMacSystemFont, system-ui, sans-serif;
  --mono: 'IBM Plex Mono', 'SF Mono', 'Fira Code', monospace;
  /* Card/panel surface — light by default; overridden per dark brand.
     Pages should use var(--surface) instead of hardcoding #fff so they
     respond to the active brand theme. */
  --surface: #ffffff;
  --surface-2: #f7f5ef;
}

/* ── Daily Commute — dark editorial theme ─────────────────────────────
   Applied via <body data-brand="daily-commute"> (set in layout()). Mirrors
   the landing's palette (dark bg, gold accent, Inter) so the signed-in
   app matches daily-commute.com's look and feel. Only the design tokens
   plus the few elements that hardcode light values are overridden. */
[data-brand="daily-commute"] {
  --ink: #f5f5f7;
  --newsprint: #0a0a0c;
  --blue: #d4a857;
  --blue-light: #e0b860;
  --blue-pale: rgba(212, 168, 87, 0.14);
  --gray-rule: rgba(255, 255, 255, 0.12);
  --gray-text: #a0a0a8;
  --gray-light: #141418;
  --text: #f5f5f7;
  --text-muted: #a0a0a8;
  --bg: #0a0a0c;
  --bg-gray: #141418;
  --border: rgba(255, 255, 255, 0.12);
  --accent: var(--blue);
  --sans: 'Inter', -apple-system, BlinkMacSystemFont, system-ui, sans-serif;
  --surface: #16161b;
  --surface-2: #1c1c22;
}
[data-brand="daily-commute"] .nav { border-bottom: 1px solid var(--border); }
[data-brand="daily-commute"] .nav-brand { font-family: var(--serif); }
[data-brand="daily-commute"] main h1,
[data-brand="daily-commute"] main h2 { font-family: var(--serif); }
[data-brand="daily-commute"] .btn-primary { color: #0a0a0c; }
[data-brand="daily-commute"] .btn-primary:hover { background: var(--blue-light); border-color: var(--blue-light); color: #0a0a0c; }
[data-brand="daily-commute"] .btn-outline { color: var(--text); border-color: var(--border); }
[data-brand="daily-commute"] .btn-outline:hover { background: var(--surface-2); color: var(--text); }
[data-brand="daily-commute"] input[type=email],
[data-brand="daily-commute"] input[type=text],
[data-brand="daily-commute"] input[type=password],
[data-brand="daily-commute"] select,
[data-brand="daily-commute"] textarea {
  background: var(--surface); color: var(--text); border-color: var(--border);
}
[data-brand="daily-commute"] .alert-success { background: rgba(212,168,87,0.12); border-color: rgba(212,168,87,0.4); color: #e0b860; }
[data-brand="daily-commute"] .alert-error { background: rgba(220,38,38,0.12); border-color: rgba(220,38,38,0.4); color: #f87171; }
[data-brand="daily-commute"] .footer { border-top: 1px solid var(--border); }

body {
  font-family: var(--sans);
  color: var(--text);
  background: var(--bg);
  line-height: 1.65;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
}

/* ── Layout ───────────────────────────────────────────────────────────── */
.container { max-width: 1080px; margin: 0 auto; padding: 0 24px; }

/* ── Nav ──────────────────────────────────────────────────────────────── */
.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 24px;
  border-bottom: 2px solid var(--ink);
  background: var(--newsprint);
  position: sticky;
  top: 0;
  z-index: 100;
}
.nav-brand {
  font-family: var(--serif);
  font-size: 22px;
  font-weight: 800;
  color: var(--ink);
  text-decoration: none;
  letter-spacing: -0.5px;
}
.nav-links { display: flex; align-items: center; gap: 28px; }
.nav-links a {
  color: var(--gray-text);
  text-decoration: none;
  font-size: 14px;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  transition: color 0.15s;
}
.nav-links a:hover { color: var(--blue); }

/* ── Buttons ─────────────────────────────────────────────────────────── */
.btn {
  display: inline-block;
  padding: 11px 24px;
  border-radius: var(--radius);
  font-family: var(--sans);
  font-size: 14px;
  font-weight: 600;
  text-decoration: none;
  cursor: pointer;
  border: 2px solid transparent;
  transition: all 0.15s;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}
.btn-primary {
  background: var(--blue);
  color: #fff;
  border-color: var(--blue);
}
.btn-primary:hover {
  background: var(--ink);
  border-color: var(--ink);
}
.hero .btn-primary, .cta-section .btn-primary {
  background: var(--ink);
  color: var(--newsprint);
  border-color: var(--ink);
}
.hero .btn-primary:hover, .cta-section .btn-primary:hover {
  background: var(--blue);
  border-color: var(--blue);
}
.btn-outline {
  background: transparent;
  color: var(--ink);
  border-color: var(--ink);
}
.btn-outline:hover {
  background: var(--ink);
  color: var(--newsprint);
}
.skip-link {
  position: absolute;
  left: -9999px;
  top: 8px;
  background: var(--ink);
  color: var(--newsprint);
  padding: 10px 16px;
  border-radius: var(--radius);
  font-weight: 600;
  text-decoration: none;
  z-index: 1000;
}
.skip-link:focus {
  left: 8px;
  outline: 2px solid var(--blue);
  outline-offset: 2px;
}
.btn-lg { padding: 14px 36px; font-size: 15px; }
.btn-sm { padding: 7px 16px; font-size: 12px; }
.btn-full { width: 100%; text-align: center; }
.btn-link { background: none; border: none; color: var(--gray-text); cursor: pointer; font-size: 14px; }
button:disabled { opacity: 0.6; cursor: not-allowed; }

/* ── Hero ────────────────────────────────────────────────────────────── */
.hero {
  padding: 80px 0 64px;
  text-align: center;
  background: var(--newsprint);
  border-bottom: 1px solid var(--gray-rule);
  position: relative;
  overflow: hidden;
}
.hero-eyebrow {
  font-family: var(--mono);
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 3px;
  color: var(--blue);
  margin-bottom: 20px;
  font-weight: 500;
}
.hero-headline {
  font-family: var(--serif);
  font-size: clamp(36px, 5.5vw, 64px);
  font-weight: 800;
  letter-spacing: -1.5px;
  line-height: 1.08;
  margin-bottom: 20px;
  color: var(--ink);
}
.hero-sub {
  font-family: var(--sans);
  font-size: clamp(16px, 2vw, 19px);
  color: var(--gray-text);
  margin-bottom: 36px;
  line-height: 1.55;
  max-width: 620px;
  margin-left: auto;
  margin-right: auto;
}
.hero-caption {
  font-family: var(--mono);
  font-size: 11px;
  color: var(--gray-text);
  margin-top: 14px;
  letter-spacing: 0.5px;
}

/* ── Hero illustration ───────────────────────────────────────────────── */
.hero-illustration {
  max-width: 100%;
  height: auto;
  margin-top: 48px;
  border: 1px solid var(--gray-rule);
  background: #fff;
}

/* ── Sections ────────────────────────────────────────────────────────── */
.section { padding: 72px 0; border-bottom: 1px solid var(--gray-rule); }
.section-gray { background: var(--gray-light); }
.section-title {
  font-family: var(--serif);
  font-size: clamp(26px, 4vw, 38px);
  font-weight: 700;
  letter-spacing: -0.5px;
  text-align: center;
  margin-bottom: 12px;
  color: var(--ink);
}
.section-sub {
  text-align: center;
  color: var(--gray-text);
  margin-bottom: 48px;
  font-size: 16px;
  font-family: var(--sans);
}

/* ── Section label (newspaper-style) ─────────────────────────────────── */
.section-label {
  font-family: var(--mono);
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: var(--blue);
  text-align: center;
  margin-bottom: 12px;
  font-weight: 500;
}

/* ── CTA section ─────────────────────────────────────────────────────── */
.cta-section {
  background: var(--ink);
  color: var(--newsprint);
  text-align: center;
  padding: 80px 0;
  border-bottom: none;
}
.cta-section h2 {
  font-family: var(--serif);
  font-size: 36px;
  font-weight: 700;
  color: var(--newsprint);
  margin-bottom: 12px;
  letter-spacing: -0.5px;
}
.cta-section p {
  color: rgba(250,250,245,0.65);
  margin-bottom: 32px;
  font-size: 16px;
}
.cta-section .cta-micro {
  color: rgba(250,250,245,0.4);
  font-family: var(--mono);
  font-size: 11px;
  margin: 16px 0 0;
  letter-spacing: 0.5px;
}

/* ── Steps (How It Works) ────────────────────────────────────────────── */
.steps-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 0;
  margin-top: 48px;
  border: 1px solid var(--gray-rule);
  background: #fff;
}
.step {
  text-align: left;
  padding: 36px 32px;
  border-right: 1px solid var(--gray-rule);
  border-bottom: 1px solid var(--gray-rule);
  position: relative;
}
.step:last-child { border-right: none; }
.step-num {
  font-family: var(--serif);
  width: auto;
  height: auto;
  background: none;
  color: var(--blue);
  font-size: 48px;
  font-weight: 700;
  font-style: italic;
  margin: 0 0 12px;
  line-height: 1;
  display: block;
}
.step h3 {
  font-family: var(--serif);
  font-size: 19px;
  font-weight: 700;
  margin-bottom: 8px;
  color: var(--ink);
  line-height: 1.3;
}
.step p {
  color: var(--gray-text);
  font-size: 14px;
  line-height: 1.6;
}

/* Learning loop step */
.step-loop { position: relative; }
.step-num-loop {
  font-family: var(--sans);
  font-size: 36px;
  line-height: 1;
  font-weight: 700;
  color: var(--blue);
}
.step-loop::after {
  content: "↻ loops back to step 2";
  display: block;
  font-family: var(--mono);
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--blue);
  margin-top: 12px;
  font-weight: 500;
}

/* ── Examples ────────────────────────────────────────────────────────── */
.examples-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 0;
  border: 1px solid var(--gray-rule);
  background: #fff;
}
.example-card {
  background: #fff;
  padding: 28px;
  border-right: 1px solid var(--gray-rule);
  border-bottom: 1px solid var(--gray-rule);
  border-top: 3px solid var(--blue);
  position: relative;
}
.example-card:last-child { border-right: none; }
.example-card h3 {
  font-family: var(--serif);
  font-size: 17px;
  font-weight: 700;
  margin-bottom: 6px;
  color: var(--ink);
}
.example-card p {
  color: var(--gray-text);
  font-size: 13px;
  margin-bottom: 16px;
  line-height: 1.5;
}
.example-card-inline audio { width: 100%; margin-top: 12px; }
.example-card-inline .example-foot {
  font-family: var(--mono);
  font-size: 11px;
  color: var(--gray-text);
  margin: 8px 0 0;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

/* ── Pricing ─────────────────────────────────────────────────────────── */
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 0;
  margin-top: 48px;
  border: 1px solid var(--gray-rule);
  background: #fff;
}
.pricing-card {
  background: #fff;
  border: none;
  border-right: 1px solid var(--gray-rule);
  border-top: 3px solid var(--gray-rule);
  border-radius: 0;
  padding: 32px;
  position: relative;
}
.pricing-card:last-child { border-right: none; }
.pricing-card.featured {
  border-top-color: var(--blue);
  background: #fcfcfa;
}
.plan-badge {
  background: var(--blue);
  color: #fff;
  font-family: var(--mono);
  font-size: 10px;
  font-weight: 600;
  padding: 4px 10px;
  border-radius: 0;
  position: absolute;
  top: -1px;
  left: 50%;
  transform: translateX(-50%);
  white-space: nowrap;
  text-transform: uppercase;
  letter-spacing: 1px;
}
.pricing-card h3 {
  font-family: var(--serif);
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 8px;
  color: var(--ink);
}
.price {
  font-family: var(--serif);
  font-size: 42px;
  font-weight: 800;
  color: var(--ink);
  margin: 12px 0;
}
.price span {
  font-family: var(--sans);
  font-size: 14px;
  font-weight: 400;
  color: var(--gray-text);
}
.pricing-card ul { list-style: none; margin: 16px 0 24px; }
.pricing-card ul li {
  padding: 5px 0;
  font-size: 13px;
  color: var(--gray-text);
  border-bottom: 1px solid var(--gray-light);
}
.pricing-card ul li::before { content: '✓ '; color: var(--blue); font-weight: 700; }
.plan-trial-note {
  font-family: var(--mono);
  font-size: 11px;
  color: var(--gray-text);
  text-align: center;
  margin: 8px 0 0;
  letter-spacing: 0.3px;
}

/* ── Pricing disclosure ──────────────────────────────────────────────── */
.pricing-disclosure {
  font-family: var(--mono);
  font-size: 11px;
  color: var(--gray-text);
  line-height: 1.6;
  max-width: 780px;
  margin: 32px auto 0;
  text-align: center;
  padding: 16px;
  background: var(--gray-light);
  border: 1px solid var(--gray-rule);
  border-radius: 0;
}

/* ── FAQ ─────────────────────────────────────────────────────────────── */
.faq-list {
  max-width: 720px;
  margin: 48px auto 0;
  border-top: 2px solid var(--ink);
}
.faq-item {
  border-bottom: 1px solid var(--gray-rule);
  padding: 0;
}
.faq-item summary {
  padding: 20px 0;
  font-family: var(--serif);
  font-weight: 700;
  cursor: pointer;
  font-size: 17px;
  list-style: none;
  display: flex;
  justify-content: space-between;
  color: var(--ink);
  line-height: 1.4;
}
.faq-item summary::after {
  content: '+';
  font-family: var(--sans);
  font-size: 20px;
  color: var(--blue);
  font-weight: 400;
  flex-shrink: 0;
  margin-left: 16px;
}
.faq-item[open] summary::after { content: '−'; }
.faq-item p {
  padding-bottom: 20px;
  color: var(--gray-text);
  line-height: 1.7;
  font-size: 15px;
}

/* ── Editor-in-Chief section ─────────────────────────────────────────── */
.editor-chief-section {
  background: var(--ink);
  color: var(--newsprint);
  text-align: center;
  padding: 96px 0;
  border-bottom: none;
  position: relative;
}
.editor-chief-illustration {
  max-width: 400px;
  width: 100%;
  height: auto;
  margin: 0 auto 32px;
  display: block;
  opacity: 0.9;
}
.editor-chief-eyebrow {
  font-family: var(--mono);
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 3px;
  color: var(--blue);
  margin-bottom: 16px;
  font-weight: 500;
}
.editor-chief-headline {
  font-family: var(--serif);
  font-size: clamp(28px, 4.5vw, 46px);
  font-weight: 800;
  letter-spacing: -1px;
  line-height: 1.15;
  margin: 0 0 16px;
  color: var(--newsprint);
}
.editor-chief-sub {
  font-family: var(--sans);
  font-size: clamp(16px, 2.5vw, 19px);
  color: rgba(250,250,245,0.65);
  max-width: 680px;
  margin: 0 auto;
  line-height: 1.55;
}

/* ── Learning loop illustration ──────────────────────────────────────── */
.learning-loop-illustration {
  max-width: 320px;
  width: 100%;
  height: auto;
  margin: 48px auto 0;
  display: block;
}

/* ── Forms ───────────────────────────────────────────────────────────── */
.form, form { width: 100%; }
.form-group { margin-bottom: 20px; }
.form-group label { display: block; font-weight: 600; margin-bottom: 6px; font-size: 14px; }
input[type=email], input[type=text], input[type=password], select, textarea {
  width: 100%;
  padding: 10px 14px;
  border: 1px solid var(--gray-rule);
  border-radius: var(--radius);
  font-size: 15px;
  font-family: var(--sans);
  background: #fff;
  transition: border-color 0.15s;
}
input:focus, select:focus, textarea:focus { outline: none; border-color: var(--blue); }

/* ── Alerts ──────────────────────────────────────────────────────────── */
.alert { padding: 12px 16px; border-radius: var(--radius); margin-bottom: 16px; font-size: 14px; }
.alert-error { background: #fef2f2; border: 1px solid #fecaca; color: #dc2626; }
.alert-success { background: #f0fdf4; border: 1px solid #bbf7d0; color: #16a34a; }
.alert-info { background: var(--blue-pale); border: 1px solid #bfdbfe; color: var(--blue); display: flex; align-items: center; gap: 12px; }

/* ── Onboarding ──────────────────────────────────────────────────────── */
.onboarding-container { max-width: 640px; margin: 60px auto; padding: 0 24px; }
.onboarding-container h1 { font-family: var(--serif); font-size: 28px; font-weight: 800; margin-bottom: 8px; }
.step-subtitle { color: var(--gray-text); margin-bottom: 32px; }
.step-progress { display: flex; align-items: center; justify-content: center; margin-bottom: 40px; gap: 4px; }
.step-dot { width: 36px; height: 36px; border-radius: 50%; background: var(--gray-light); display: flex; align-items: center; justify-content: center; font-size: 14px; font-weight: 700; color: var(--gray-text); }
.step-dot.active { background: var(--blue); color: #fff; }
.step-dot.done { background: var(--blue); color: #fff; }
.step-line { flex: 1; height: 2px; background: var(--gray-rule); max-width: 40px; }
.interest-grid { display: flex; flex-wrap: wrap; gap: 10px; }
.interest-chip { padding: 8px 16px; border: 2px solid var(--gray-rule); border-radius: 24px; cursor: pointer; font-size: 14px; font-weight: 500; transition: all 0.15s; position: relative; user-select: none; }
.interest-chip input { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }
.interest-chip:focus-within { outline: 2px solid var(--blue); outline-offset: 2px; }
.interest-chip:has(input:checked) { border-color: var(--blue); background: var(--blue); color: #fff; }
.radio-cards { display: flex; flex-direction: column; gap: 12px; }
.radio-card { padding: 16px 20px; border: 2px solid var(--gray-rule); border-radius: var(--radius); cursor: pointer; display: flex; gap: 12px; align-items: center; transition: border-color 0.15s; position: relative; }
.radio-card input { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }
.radio-card:has(input:checked) { border-color: var(--blue); background: var(--blue-pale); }
.radio-card strong { font-size: 16px; display: block; }
.radio-card span { font-size: 13px; color: var(--gray-text); }
.delivery-options { display: flex; flex-direction: column; gap: 12px; }
.checkbox-card { padding: 16px 20px; border: 2px solid var(--gray-rule); border-radius: var(--radius); cursor: pointer; display: flex; gap: 12px; }
.checkbox-card.selected { border-color: var(--blue); background: var(--blue-pale); }
.checkbox-card.disabled { opacity: 0.5; cursor: not-allowed; }
.checkbox-card strong { display: block; margin-bottom: 2px; }
.checkbox-card span { font-size: 13px; color: var(--gray-text); }

/* ── Voice selection ─────────────────────────────────────────────────── */
.voice-list { display: flex; flex-direction: column; gap: 10px; }
.voice-card { padding: 14px 18px; border: 2px solid var(--gray-rule); border-radius: var(--radius); display: flex; align-items: center; gap: 12px; }
.voice-card:has(input:checked) { border-color: var(--blue); }
.voice-card input { margin: 0; }
.voice-card label { display: flex; align-items: center; justify-content: space-between; flex: 1; gap: 12px; cursor: pointer; }
.preview-btn { font-size: 12px; padding: 4px 10px; border: 1px solid var(--gray-rule); border-radius: 4px; background: #fff; cursor: pointer; }

/* ── Dashboard ───────────────────────────────────────────────────────── */
.dashboard-header { padding: 40px 0 24px; border-bottom: 1px solid var(--gray-rule); margin-bottom: 32px; }
.podcast-list { display: flex; flex-direction: column; gap: 16px; margin-top: 16px; }
.podcast-card { background: #fff; padding: 20px; border-radius: var(--radius); border: 1px solid var(--gray-rule); }
.podcast-meta { font-family: var(--mono); font-size: 11px; color: var(--gray-text); margin-bottom: 6px; text-transform: uppercase; letter-spacing: 0.5px; }
.podcast-summary { margin-bottom: 12px; }
.job-status { padding: 10px 16px; border-radius: var(--radius); margin: 16px 0; font-size: 14px; background: var(--gray-light); border: 1px solid var(--gray-rule); }
.job-error { color: #dc2626; margin-left: 8px; font-size: 13px; }
.empty-state { color: var(--gray-text); padding: 32px 0; text-align: center; }

/* ── Admin ───────────────────────────────────────────────────────────── */
.stats-grid { display: flex; gap: 20px; margin: 24px 0; flex-wrap: wrap; }
.stat-card { background: #fff; border: 1px solid var(--gray-rule); border-radius: var(--radius); padding: 24px; min-width: 140px; }
.stat-value { font-family: var(--serif); font-size: 40px; font-weight: 800; color: var(--ink); }
.stat-label { font-family: var(--mono); font-size: 11px; color: var(--gray-text); margin-top: 4px; text-transform: uppercase; letter-spacing: 0.5px; }
.admin-table { width: 100%; border-collapse: collapse; margin: 16px 0 32px; font-size: 14px; }
.admin-table th { text-align: left; padding: 10px 12px; border-bottom: 2px solid var(--ink); color: var(--gray-text); font-family: var(--mono); font-size: 11px; text-transform: uppercase; letter-spacing: 0.5px; }
.admin-table td { padding: 10px 12px; border-bottom: 1px solid var(--gray-rule); }
.admin-table tr:hover td { background: var(--gray-light); }

/* ── Footer ──────────────────────────────────────────────────────────── */
.footer {
  border-top: 2px solid var(--ink);
  padding: 32px 0;
  text-align: center;
  color: var(--gray-text);
  font-size: 14px;
  background: var(--newsprint);
}
.footer a { color: var(--gray-text); }
.footer-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(160px, 1fr)); gap: 32px; padding: 32px 0 16px; }
.footer-col h4 {
  font-family: var(--mono);
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--ink);
  margin: 0 0 12px;
  font-weight: 600;
}
.footer-col ul { list-style: none; margin: 0; padding: 0; }
.footer-col li { margin: 6px 0; }
.footer-col a { color: #444; text-decoration: none; font-size: 14px; }
.footer-col a:hover { color: var(--blue); text-decoration: underline; }
.footer-disclosure {
  font-family: var(--mono);
  font-size: 11px;
  color: var(--gray-text);
  line-height: 1.6;
  max-width: 780px;
  margin: 24px 0 4px;
}
.footer-meta {
  font-family: var(--mono);
  font-size: 11px;
  color: var(--gray-text);
  margin: 0;
  letter-spacing: 0.3px;
}

/* ── Lang picker ─────────────────────────────────────────────────────── */
.lang-picker { display: flex; align-items: center; }
.lang-picker select {
  background: none; border: 1px solid var(--gray-rule); border-radius: var(--radius);
  padding: 4px 8px; font-size: 13px; cursor: pointer; color: var(--gray-text);
  font-family: var(--sans);
}
.lang-picker select:hover { border-color: var(--blue); color: var(--ink); }

/* ── Testimonials ────────────────────────────────────────────────────── */
.testimonials-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 24px; margin-top: 16px; }
.testimonial-card {
  background: #fff; padding: 24px; border-radius: 0;
  border: 1px solid var(--gray-rule);
  position: relative; display: flex; flex-direction: column; align-items: flex-start;
}
.testimonial-portrait {
  width: 88px; height: 88px; border-radius: 50%; overflow: hidden;
  background: #e8e8e8; flex: 0 0 auto; margin-bottom: 12px;
  border: 2px solid #fff;
}
.testimonial-portrait img { width: 100%; height: 100%; object-fit: cover; display: block; }
.testimonial-portrait-mono {
  display: flex; align-items: center; justify-content: center;
  background: var(--gray-light); color: #555;
  font-size: 28px; font-weight: 600; letter-spacing: 0.04em;
}
.testimonial-kind-label {
  position: absolute; top: 12px; right: 12px;
  font-family: var(--mono);
  font-size: 10px; text-transform: uppercase; letter-spacing: 0.08em;
  color: var(--gray-text); background: var(--gray-light); padding: 3px 8px; border-radius: 0;
}
.testimonial-body {
  font-family: var(--serif);
  font-style: italic; color: var(--ink); line-height: 1.55; margin: 8px 0;
  font-size: 15px; padding: 0; border: 0;
}
.testimonial-meta { font-size: 14px; color: var(--ink); margin: 4px 0 0; }
.testimonial-attribution { font-family: var(--mono); font-size: 12px; color: var(--gray-text); margin: 0; }
.testimonial-source { font-size: 12px; color: #555; margin: 4px 0 0; }
.testimonial-credit { font-size: 10px; color: #999; margin: 8px 0 0; }
.testimonials-subheading {
  font-family: var(--serif);
  font-size: 16px; font-weight: 700; color: var(--ink);
  margin: 32px 0 4px; letter-spacing: 0.01em;
}
.testimonials-disclaimer {
  font-family: var(--mono);
  font-size: 11px; color: var(--gray-text); margin: 0 0 12px; font-style: italic;
}
.testimonial-card.testimonial-kind-founder { border-top: 3px solid var(--blue); }
.testimonial-card.testimonial-kind-historical { background: #fdfaf3; border-top: 3px solid var(--gray-rule); }

/* ── Plan comparison table ───────────────────────────────────────────── */
.plan-comparison { overflow-x: auto; margin-top: 16px; }
.plan-comparison table { width: 100%; border-collapse: collapse; font-size: 14px; }
.plan-comparison th, .plan-comparison td { padding: 10px 12px; text-align: center; border-bottom: 1px solid var(--gray-rule); }
.plan-comparison thead th { font-weight: 700; color: var(--ink); background: var(--gray-light); font-family: var(--serif); border-bottom: 2px solid var(--ink); }
.plan-comparison tbody th { text-align: left; font-weight: 600; color: var(--ink); }

/* ── Focus styles ────────────────────────────────────────────────────── */
.btn:focus-visible, button:focus-visible, a:focus-visible, input:focus-visible, textarea:focus-visible, select:focus-visible {
  outline: 2px solid var(--blue); outline-offset: 2px;
}

/* ── Responsive ──────────────────────────────────────────────────────── */
@media (max-width: 600px) {
  .nav-links a:not(.btn) { display: none; }
  .pricing-grid { grid-template-columns: 1fr; }
  .hero { padding: 48px 0 40px; }
  .steps-grid { grid-template-columns: 1fr; }
  .step { border-right: none; }
  .examples-grid { grid-template-columns: 1fr; }
  .example-card { border-right: none; }
  .pricing-card { border-right: none; }
}

@media (prefers-reduced-motion: reduce) {
  * { animation: none !important; transition: none !important; }
}
