/* ListenBrief — "The Newsroom, warmed up"
   Keeps the editorial bones (Playfair Display + IBM Plex, 2px blocky edges,
   newsprint + ink) and swaps the cold blue accent for a friendly purple,
   with an all-purple cast of characters woven through every section. */

@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&display=swap');

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

:root {
  --ink: #0a0a0a;
  --newsprint: #fbfaf7;
  /* Purple accent family (replaces the old editorial blue) */
  --purple: #6b4bb5;
  --purple-deep: #3d2a6b;
  --purple-light: #8f77d6;
  --lilac: #cdb8f2;
  --lilac-pale: #efeafc;
  --lilac-wash: #f6f2fe;
  --gray-rule: #ded9d0;
  --gray-text: #57544e;
  --text: var(--ink);
  --text-muted: var(--gray-text);
  --bg: var(--newsprint);
  --border: var(--gray-rule);
  --radius: 2px;
  --accent: var(--purple);
  --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;
  --surface: #ffffff;
}

body {
  font-family: var(--sans);
  color: var(--text);
  background: var(--bg);
  line-height: 1.65;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { max-width: 100%; }
.container { max-width: 1080px; margin: 0 auto; padding: 0 24px; }
.section-gray, .section-soft { background: var(--lilac-wash); }

/* ── 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;
  display: inline-flex; align-items: center; gap: 8px;
}
.nav-brand .dot { width: 12px; height: 12px; background: var(--purple); display: inline-block; border-radius: 50%; }
.nav-links { display: flex; align-items: center; gap: 26px; }
.nav-links a:not(.btn) {
  color: var(--gray-text); text-decoration: none; font-size: 13px;
  font-weight: 500; text-transform: uppercase; letter-spacing: 0.5px;
  transition: color 0.15s; position: relative;
}
.nav-links a:not(.btn):hover { color: var(--purple); }
/* sliding active indicator on desktop */
.nav-slider { display: flex; align-items: center; gap: 26px; position: relative; }
.nav-slider .nav-ind {
  position: absolute; bottom: -18px; height: 2px; background: var(--purple);
  transition: transform .28s cubic-bezier(.4,0,.2,1), width .28s cubic-bezier(.4,0,.2,1);
  width: 0; left: 0; pointer-events: none;
}
.nav-burger {
  display: none; width: 42px; height: 38px; border: 2px solid var(--ink);
  background: rgba(107,75,181,.06); border-radius: var(--radius); cursor: pointer;
  position: relative;
}
.nav-burger span, .nav-burger span::before, .nav-burger span::after {
  content: ''; position: absolute; left: 9px; width: 20px; height: 2px; background: var(--ink); transition: .2s;
}
.nav-burger span { top: 18px; }
.nav-burger span::before { top: -6px; } .nav-burger span::after { top: 6px; }
.nav.is-open .nav-burger span { background: transparent; }
.nav.is-open .nav-burger span::before { transform: translateY(6px) rotate(45deg); }
.nav.is-open .nav-burger span::after { transform: translateY(-6px) rotate(-45deg); }

/* ── Buttons ─────────────────────────────────────────────────────────── */
.btn {
  display: inline-flex; align-items: center; gap: 8px; justify-content: center;
  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(--purple); color: #fff; border-color: var(--purple); }
.btn-primary:hover { background: var(--ink); border-color: var(--ink); transform: translateY(-2px); }
.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(--purple); border-color: var(--purple); }
.btn-outline { background: transparent; color: var(--ink); border-color: var(--ink); }
.btn-outline:hover { background: var(--ink); color: var(--newsprint); transform: translateY(-2px); }
.btn-lg { padding: 14px 34px; font-size: 15px; }
.btn-sm { padding: 7px 16px; font-size: 12px; }
.btn-full { width: 100%; text-align: center; }
.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; }

/* ── Hero ────────────────────────────────────────────────────────────── */
.hero {
  padding: 72px 0 0; background: var(--newsprint);
  border-bottom: 2px solid var(--ink); position: relative; overflow: hidden;
}
.hero-grid { display: grid; grid-template-columns: 1.15fr .85fr; gap: 40px; align-items: center; }
.hero-eyebrow { font-family: var(--mono); font-size: 11px; text-transform: uppercase; letter-spacing: 3px; color: var(--purple); margin-bottom: 18px; font-weight: 600; }
.hero-headline { font-family: var(--serif); font-size: clamp(38px, 5.4vw, 62px); font-weight: 800; letter-spacing: -1.5px; line-height: 1.06; margin-bottom: 20px; color: var(--ink); }
.hero-headline em { font-style: italic; color: var(--purple); }
.hero-sub { font-size: clamp(16px, 2vw, 19px); color: var(--gray-text); margin-bottom: 30px; line-height: 1.55; max-width: 500px; }
.hero-cta { display: flex; gap: 14px; flex-wrap: wrap; }
.hero-caption { font-family: var(--mono); font-size: 11px; color: var(--gray-text); margin-top: 16px; letter-spacing: 0.5px; }
.hero-pad { padding-bottom: 64px; }
/* hero character stage */
.hero-stage { position: relative; min-height: 360px; display: flex; align-items: flex-end; justify-content: center; }
.hero-stage .blob { position: absolute; inset: 6% 0 0; background: radial-gradient(60% 60% at 50% 45%, var(--lilac-pale), transparent 70%); z-index: 0; }
.hero-stage .card {
  position: absolute; background: var(--surface); border: 2px solid var(--ink);
  box-shadow: 6px 6px 0 var(--lilac); padding: 10px 14px; z-index: 3;
  font-family: var(--mono); font-size: 11px; text-transform: uppercase; letter-spacing: .5px;
}
.hero-stage .card .k { color: var(--purple); font-weight: 600; display:block; }
.hero-stage .card-a { top: 20px; left: -6px; }
.hero-stage .card-b { bottom: 40px; right: -8px; }
.hero-figure { position: relative; z-index: 2; height: 340px; filter: drop-shadow(6px 10px 12px rgba(61,42,107,.12)); }

/* floating strip of characters under hero */
.hero-strip { display: flex; justify-content: center; gap: 6px; align-items: flex-end; padding: 0 0 26px; }
.hero-strip img { height: 78px; opacity: .92; }

/* ── Sections ────────────────────────────────────────────────────────── */
.section { padding: 76px 0; border-bottom: 1px solid var(--gray-rule); position: relative; }
.section-label { font-family: var(--mono); font-size: 11px; text-transform: uppercase; letter-spacing: 2px; color: var(--purple); text-align: center; margin-bottom: 12px; font-weight: 600; }
.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-title em { font-style: italic; color: var(--purple); }
.section-sub { text-align: center; color: var(--gray-text); margin: 0 auto 48px; font-size: 16px; max-width: 640px; }

/* ── Steps / How it works ────────────────────────────────────────────── */
.steps-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: 0; margin-top: 48px; border: 2px solid var(--ink); background: var(--surface); }
.step { text-align: left; padding: 30px 28px 34px; border-right: 1px solid var(--gray-rule); position: relative; overflow: hidden; }
.step:last-child { border-right: none; }
.step .step-fig { height: 92px; margin-bottom: 8px; }
.step-num { font-family: var(--serif); color: var(--purple); font-size: 40px; font-weight: 700; font-style: italic; line-height: 1; display: block; margin-bottom: 6px; }
.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; }
.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(--purple); margin-top: 12px; font-weight: 600; }

/* ── Feature split rows (with characters) ────────────────────────────── */
.feature-row { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: center; margin-top: 40px; }
.feature-row + .feature-row { margin-top: 24px; }
.feature-row.flip .feature-art { order: 2; }
.feature-art { background: var(--lilac-wash); border: 2px solid var(--ink); box-shadow: 8px 8px 0 var(--lilac); display: flex; align-items: center; justify-content: center; min-height: 260px; padding: 24px; position: relative; }
.feature-art img { height: 220px; filter: drop-shadow(4px 8px 10px rgba(61,42,107,.14)); }
.feature-copy .eyebrow { font-family: var(--mono); font-size: 11px; text-transform: uppercase; letter-spacing: 2px; color: var(--purple); font-weight: 600; margin-bottom: 10px; }
.feature-copy h3 { font-family: var(--serif); font-size: clamp(22px,3vw,30px); font-weight: 700; margin-bottom: 12px; letter-spacing: -.3px; }
.feature-copy p { color: var(--gray-text); margin-bottom: 12px; }
.feature-list { list-style: none; }
.feature-list li { padding: 5px 0 5px 26px; position: relative; font-size: 15px; color: var(--gray-text); }
.feature-list li::before { content: '→'; position: absolute; left: 0; color: var(--purple); font-weight: 700; }

/* ── Examples ────────────────────────────────────────────────────────── */
.examples-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 0; border: 2px solid var(--ink); background: var(--surface); }
.example-card { background: var(--surface); padding: 26px; border-right: 1px solid var(--gray-rule); border-top: 3px solid var(--purple); position: relative; }
.example-card:last-child { border-right: none; }
.example-card .badge { font-family: var(--mono); font-size: 10px; letter-spacing: 1px; text-transform: uppercase; color: var(--purple); }
.example-card h3 { font-family: var(--serif); font-size: 18px; font-weight: 700; margin: 6px 0; color: var(--ink); }
.example-card p { color: var(--gray-text); font-size: 13px; margin-bottom: 14px; line-height: 1.5; }
.play-row { display: flex; align-items: center; gap: 10px; font-family: var(--mono); font-size: 11px; color: var(--gray-text); text-transform: uppercase; letter-spacing: .5px; }
.play-dot { width: 30px; height: 30px; border-radius: 50%; background: var(--purple); color: #fff; display: inline-flex; align-items: center; justify-content: center; flex: 0 0 auto; }
.wave-bars { display: flex; align-items: flex-end; gap: 3px; height: 22px; }
.wave-bars span { width: 3px; background: var(--lilac); animation: eq 1s ease-in-out infinite; }
.wave-bars span:nth-child(2){ animation-delay:.15s } .wave-bars span:nth-child(3){ animation-delay:.3s } .wave-bars span:nth-child(4){ animation-delay:.45s } .wave-bars span:nth-child(5){ animation-delay:.6s }
@keyframes eq { 0%,100%{ height:6px } 50%{ height:22px; background:var(--purple) } }

/* ── Pricing ─────────────────────────────────────────────────────────── */
.pricing-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 0; margin-top: 48px; border: 2px solid var(--ink); background: var(--surface); }
.pricing-card { background: var(--surface); border-right: 1px solid var(--gray-rule); border-top: 3px solid var(--gray-rule); padding: 32px 28px; position: relative; }
.pricing-card:last-child { border-right: none; }
.pricing-card.featured { border-top-color: var(--purple); background: var(--lilac-wash); }
.plan-badge { background: var(--purple); color: #fff; font-family: var(--mono); font-size: 10px; font-weight: 600; padding: 4px 10px; 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; }
.price { font-family: var(--serif); font-size: 42px; font-weight: 800; color: var(--ink); margin: 10px 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(--lilac-pale); }
.pricing-card ul li::before { content: '✓ '; color: var(--purple); font-weight: 700; }

/* ── 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); }
.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-size: 20px; color: var(--purple); 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 / dark band ─────────────────────────────────────── */
.band-dark { background: var(--purple-deep); color: var(--newsprint); text-align: center; padding: 92px 0; border-bottom: none; position: relative; overflow: hidden; }
.band-dark .section-label { color: var(--lilac); }
.band-dark h2 { font-family: var(--serif); font-size: clamp(28px,4.5vw,46px); font-weight: 800; letter-spacing: -1px; line-height: 1.15; margin: 0 auto 16px; max-width: 760px; color: var(--newsprint); }
.band-dark h2 em { font-style: italic; color: var(--lilac); }
.band-dark p { color: rgba(255,255,255,.7); max-width: 620px; margin: 0 auto; font-size: 18px; }
.band-dark .band-figs { display: flex; justify-content: center; gap: 20px; margin-bottom: 30px; }
.band-dark .band-figs img { height: 120px; }

/* ── CTA ─────────────────────────────────────────────────────────────── */
.cta-section { background: var(--ink); color: var(--newsprint); text-align: center; padding: 84px 0; border-bottom: none; }
.cta-section h2 { font-family: var(--serif); font-size: 38px; 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: 30px; font-size: 16px; }

/* ── Cross-brand block (Zamforge-styled, on the LB site) ─────────────── */
.crossbrand { padding: 76px 0; background: var(--newsprint); border-bottom: 1px solid var(--gray-rule); }
.xb-card {
  position: relative; background: #fff; border-radius: 28px; /* rounded = Zamforge/Apple look */
  border: 1px solid #e9e6e0; box-shadow: 0 30px 60px -30px rgba(20,18,30,.28);
  padding: 48px 52px; display: grid; grid-template-columns: 1.3fr .7fr; gap: 30px; align-items: center;
  overflow: visible;
}
.xb-eyebrow { font-family: var(--sans); font-size: 12px; letter-spacing: .12em; text-transform: uppercase; color: var(--purple); font-weight: 700; margin-bottom: 14px; }
.xb-card h2 { font-family: -apple-system, 'Inter', var(--sans); font-size: clamp(26px,3.2vw,36px); font-weight: 800; letter-spacing: -.02em; line-height: 1.1; margin-bottom: 14px; color: #14121e; }
.xb-card p { color: #56535e; font-size: 16px; margin-bottom: 22px; max-width: 520px; }
.xb-cta { display: inline-flex; align-items: center; gap: 8px; background: #14121e; color: #fff; text-decoration: none; padding: 13px 26px; border-radius: 999px; font-weight: 600; font-size: 14px; transition: .18s; }
.xb-cta:hover { transform: translateY(-2px); background: var(--purple); }
.xb-figure { position: relative; display: flex; justify-content: center; }
.xb-figure .peek { position: absolute; top: -96px; height: 150px; z-index: 4; filter: drop-shadow(0 12px 14px rgba(61,42,107,.2)); }
.xb-plate { width: 100%; aspect-ratio: 1/1; border-radius: 22px; background: radial-gradient(70% 70% at 50% 40%, var(--lilac-pale), #fff); border: 1px solid #ece8f7; }

/* ── Family / About ──────────────────────────────────────────────────── */
.family-grid { display: grid; grid-template-columns: 1.4fr 1fr; gap: 40px; align-items: center; }
.family-photos { display: grid; grid-template-columns: 2fr 1fr; grid-auto-rows: 1fr; gap: 12px; }
.family-photos .ph { border: 2px solid var(--ink); overflow: hidden; background: var(--lilac-pale); }
.family-photos .ph.wide { grid-column: 1 / 2; grid-row: 1 / 3; }
.family-photos .ph img { width: 100%; height: 100%; object-fit: cover; display: block; }

/* ── Footer ──────────────────────────────────────────────────────────── */
.footer { border-top: 2px solid var(--ink); background: var(--newsprint); }
.footer-grid { display: grid; grid-template-columns: 1.4fr repeat(3, 1fr); gap: 32px; padding: 44px 0 24px; }
.footer-brand .nav-brand { font-size: 24px; }
.footer-brand p { color: var(--gray-text); font-size: 14px; margin: 12px 0 16px; max-width: 260px; }
.footer-socials { display: flex; gap: 10px; }
.footer-socials a { width: 34px; height: 34px; border: 1px solid var(--gray-rule); border-radius: var(--radius); display: inline-flex; align-items: center; justify-content: center; color: var(--gray-text); transition: .15s; }
.footer-socials a:hover { border-color: var(--purple); color: var(--purple); }
.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; }
.footer-col li { margin: 6px 0; }
.footer-col a { color: #45423d; text-decoration: none; font-size: 14px; }
.footer-col a:hover { color: var(--purple); }
.footer-base { border-top: 1px solid var(--gray-rule); padding: 18px 0; display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; font-family: var(--mono); font-size: 11px; color: var(--gray-text); letter-spacing: .3px; }

/* ── Forms ───────────────────────────────────────────────────────────── */
.form-group { margin-bottom: 18px; }
.form-group label { display: block; font-weight: 600; margin-bottom: 6px; font-size: 14px; }
input, select, textarea { width: 100%; padding: 11px 14px; border: 2px solid var(--gray-rule); border-radius: var(--radius); font-size: 15px; font-family: var(--sans); background: #fff; transition: border-color .15s; }
input:focus, select:focus, textarea:focus { outline: none; border-color: var(--purple); }

/* ── Reveal animation ────────────────────────────────────────────────── */
.reveal { opacity: 0; transform: translateY(22px); transition: opacity .6s ease, transform .6s cubic-bezier(.2,.7,.2,1); }
.reveal.in { opacity: 1; transform: none; }
.reveal.d1 { transition-delay: .08s } .reveal.d2 { transition-delay: .16s } .reveal.d3 { transition-delay: .24s }
.float { animation: float 5s ease-in-out infinite; }
@keyframes float { 0%,100%{ transform: translateY(0) } 50%{ transform: translateY(-10px) } }

/* ── Page hero (inner pages) ─────────────────────────────────────────── */
.page-hero { padding: 64px 0 56px; border-bottom: 2px solid var(--ink); text-align: center; position: relative; }
.page-hero .hero-eyebrow { text-align: center; }
.page-hero h1 { font-family: var(--serif); font-size: clamp(34px,5vw,54px); font-weight: 800; letter-spacing: -1px; line-height: 1.08; }
.page-hero h1 em { font-style: italic; color: var(--purple); }
.page-hero p { color: var(--gray-text); max-width: 600px; margin: 16px auto 0; font-size: 18px; }

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

/* ── Responsive ──────────────────────────────────────────────────────── */
@media (max-width: 860px) {
  .hero-grid { grid-template-columns: 1fr; gap: 8px; padding-bottom: 8px; }
  .hero-stage { min-height: 300px; order: -1; }
  .feature-row, .feature-row.flip .feature-art { grid-template-columns: 1fr; order: 0; }
  .xb-card { grid-template-columns: 1fr; padding: 40px 28px 32px; }
  .xb-figure .peek { position: static; height: 120px; margin-bottom: -20px; }
  .family-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 640px) {
  .nav-slider { position: fixed; inset: 60px 0 auto; flex-direction: column; background: var(--newsprint); border-bottom: 2px solid var(--ink); padding: 18px 24px 24px; gap: 18px; align-items: flex-start; transform: translateY(-120%); transition: transform .28s ease; z-index: 90; }
  .nav.is-open .nav-slider { transform: none; }
  .nav-slider .nav-ind { display: none; }
  .nav-burger { display: block; }
  .nav-links.nav-slider a.btn { width: 100%; }
  .hero-strip img { height: 56px; }
  .footer-grid { grid-template-columns: 1fr; gap: 24px; }
  .band-dark .band-figs img { height: 84px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .reveal { opacity: 1 !important; transform: none !important; }
}
