/* =========================================================
   Librofono — V7 (Faithful de-paper / strict app)
   A near-1:1 re-skin of V5 onto the product's cool token system.
   Warm paper → cool #f9fafb / white. Flat indigo primary action.
   Border-first cards, soft diffuse accent-tinted hover shadows.
   Inter for all body/UI; Fraunces for the big editorial headlines.
   ========================================================= */

:root {
  /* App tokens — cool, from the real product */
  --page: #f9fafb;
  --card: #ffffff;
  --ink: #111827;
  --ink-soft: #4b5563;
  --ink-faint: #9ca3af;
  --line: #e5e7eb;
  --line-strong: #d1d5db;

  /* Accent — flat indigo (no gradients) */
  --accent: #4f46e5;
  --accent-hover: #4338ca;
  --accent-soft: #eef2ff;
  --accent-ink: #4338ca;

  /* Brand logo hues — tiny accents only (voice pills, quote marks, spines) */
  --coral: #f47a53;
  --coral-dark: #e2492a;
  --teal: #19b3a6;
  --teal-dark: #0c8177;
  --violet: #7d6bf0;
  --violet-dark: #5a44d6;

  --word: #1c2333;

  --radius: 0.7rem;
  --radius-md: 0.9rem;
  --radius-lg: 1.25rem;

  /* Flat cards get borders; shadows are soft, diffuse, accent-tinted, on hover */
  --shadow-soft: 0 1px 2px rgba(17, 24, 39, 0.04);
  --shadow-hover: 0 18px 36px -20px rgba(79, 70, 229, 0.35);

  --display: "Fraunces", Georgia, "Times New Roman", serif;
  --sans: "Inter", system-ui, -apple-system, sans-serif;

  --maxw: 1120px;
}

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

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

body {
  margin: 0;
  background: var(--page);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 1.02rem;
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

img {
  max-width: 100%;
  display: block;
}

a {
  color: var(--accent-ink);
}

cite {
  font-style: italic;
}

.wrap {
  width: 100%;
  max-width: var(--maxw);
  margin-inline: auto;
  padding-inline: clamp(1.15rem, 4vw, 2.5rem);
}

/* ---------- Accessibility ---------- */
.skip-link {
  position: absolute;
  left: -999px;
  top: 0;
  z-index: 100;
  background: var(--accent);
  color: #fff;
  padding: 0.6rem 1rem;
  border-radius: 0 0 10px 0;
  font-family: var(--sans);
  font-weight: 600;
  text-decoration: none;
}
.skip-link:focus {
  left: 0;
}

:focus-visible {
  outline: 3px solid var(--accent);
  outline-offset: 2px;
  border-radius: 4px;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  font-family: var(--sans);
  font-weight: 600;
  font-size: 0.96rem;
  letter-spacing: 0.005em;
  text-decoration: none;
  padding: 0.72rem 1.35rem;
  border-radius: var(--radius);
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform 0.15s ease, box-shadow 0.15s ease, background 0.15s ease,
    border-color 0.15s ease, color 0.15s ease;
}

.btn--primary {
  color: #fff;
  background: var(--accent);
  box-shadow: 0 1px 2px rgba(17, 24, 39, 0.08);
}
.btn--primary:hover {
  background: var(--accent-hover);
  transform: translateY(-1px);
  box-shadow: 0 14px 28px -14px rgba(79, 70, 229, 0.6);
}

.btn--ghost {
  color: var(--ink);
  background: var(--card);
  border-color: var(--line-strong);
}
.btn--ghost:hover {
  border-color: var(--accent);
  color: var(--accent-ink);
  background: var(--accent-soft);
}

/* ---------- Coming soon (app links, pre-launch) ---------- */
/* Toggled by main.js: .coming-soon on <html> + [data-coming-soon] on each app
   link. The links also lose their href, so these rules are appearance only. */
/* Muted text — applies to every locked link, button or not. */
.coming-soon [data-coming-soon],
.coming-soon [data-coming-soon]:hover {
  color: var(--ink-faint);
  cursor: default;
}

/* The filled/bordered box only makes sense on the .btn CTAs; the footer's
   plain text links stay backgroundless so they don't read as a stray block. */
.coming-soon .btn[data-coming-soon],
.coming-soon .btn[data-coming-soon]:hover {
  background: var(--line);
  border-color: var(--line-strong);
  transform: none;
  box-shadow: none;
}

/* Badge rides inside the button on the .btn CTAs — the footer's plain text
   links stay muted without one. */
.coming-soon .btn[data-coming-soon]::after {
  content: "Coming soon";
  font-family: var(--sans);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.03em;
  color: var(--ink-soft);
  background: var(--card);
  border: 1px solid var(--line-strong);
  padding: 0.28rem 0.7rem;
  border-radius: 999px;
  white-space: nowrap;
}

/* ---------- Header + sticky nav ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  background: rgba(249, 250, 251, 0.85);
  backdrop-filter: saturate(1.2) blur(10px);
  border-bottom: 1px solid var(--line);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding-block: 0.7rem;
}

.header-nav {
  display: flex;
  align-items: center;
  gap: 0.35rem;
}
.nav-link {
  padding: 0.5rem 0.8rem;
  border-radius: 0.55rem;
  font-family: var(--sans);
  font-weight: 500;
  font-size: 0.92rem;
  color: var(--ink-soft);
  text-decoration: none;
  transition: background 0.15s ease, color 0.15s ease;
}
.nav-link:hover {
  background: var(--accent-soft);
  color: var(--accent-ink);
}
.header__cta {
  padding: 0.55rem 1.1rem;
  margin-left: 0.35rem;
}

@media (max-width: 720px) {
  .nav-link {
    display: none;
  }
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  text-decoration: none;
  color: var(--ink);
}
.brand__mark {
  border-radius: 10px;
}
.brand__word {
  font-family: var(--display);
  font-weight: 600;
  font-size: 1.35rem;
  letter-spacing: -0.03em;
  color: var(--word);
}

/* ---------- Section scaffolding ---------- */
section {
  padding-block: clamp(3.5rem, 8vw, 6rem);
  border-bottom: 1px solid var(--line);
}

.section-head {
  max-width: 42rem;
  margin-bottom: clamp(2rem, 5vw, 3rem);
}
.figure-num {
  font-family: var(--sans);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--accent-ink);
  margin: 0 0 0.75rem;
}
.section-title {
  font-family: var(--display);
  font-weight: 600;
  font-size: clamp(1.9rem, 4.5vw, 3rem);
  line-height: 1.08;
  letter-spacing: -0.02em;
  margin: 0;
}
.section-sub {
  color: var(--ink-soft);
  font-size: 1.1rem;
  margin: 1rem 0 0;
}

/* ---------- Hero (editorial, text-led) ---------- */
.hero {
  background:
    radial-gradient(58rem 30rem at 84% -12%, rgba(79, 70, 229, 0.08), transparent 60%),
    radial-gradient(46rem 26rem at 2% 0%, rgba(79, 70, 229, 0.06), transparent 58%);
  border-bottom: 1px solid var(--line);
}
.hero__inner {
  padding-block: clamp(3.5rem, 9vw, 6.5rem);
  display: grid;
  gap: clamp(2rem, 5vw, 3.5rem);
  grid-template-columns: 1fr;
  align-items: center;
}
.hero__copy {
  max-width: 40rem;
}
@media (min-width: 900px) {
  .hero__inner {
    grid-template-columns: 1.02fr 0.98fr;
  }
}
.eyebrow {
  display: inline-block;
  font-family: var(--sans);
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent-ink);
  background: var(--accent-soft);
  border: 1px solid rgba(79, 70, 229, 0.22);
  padding: 0.35rem 0.85rem;
  border-radius: 999px;
  margin: 0 0 1.5rem;
}
.hero__title {
  font-family: var(--display);
  font-weight: 500;
  font-size: clamp(2.4rem, 5.4vw, 4rem);
  line-height: 1.03;
  letter-spacing: -0.03em;
  margin: 0;
  color: var(--ink);
}
.hero__title em {
  font-style: italic;
  color: var(--accent-ink);
}
.hero__free {
  display: inline-block;
  font-style: italic;
  /* Random brand hue per page load (set by main.js); indigo without JS. */
  color: var(--hero-hue, var(--accent));
}
.hero__lede {
  max-width: 40rem;
  font-size: clamp(1.05rem, 2.4vw, 1.25rem);
  color: var(--ink-soft);
  margin: 1.75rem 0 2rem;
}
.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.9rem;
}
.hero__note {
  margin: 1.5rem 0 0;
  font-family: var(--sans);
  font-size: 0.92rem;
  color: var(--ink-faint);
}

/* ---------- Listen / Quotes ---------- */
.quotes {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 1.25rem;
}
.quote {
  position: relative;
  display: grid;
  grid-template-columns: auto 1fr;
  gap: clamp(1rem, 3vw, 1.75rem);
  align-items: start;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  padding: clamp(1.35rem, 4vw, 2.1rem);
  box-shadow: var(--shadow-soft);
  transition: box-shadow 0.2s ease, border-color 0.2s ease, transform 0.2s ease;
}
.quote:hover {
  border-color: var(--line-strong);
  transform: translateY(-2px);
  box-shadow: var(--shadow-hover);
}
.quote.is-playing {
  border-color: var(--accent);
  box-shadow: 0 0 0 1px var(--accent), var(--shadow-hover);
}

.quote__play {
  position: relative;
  width: 58px;
  height: 58px;
  flex: none;
  border: none;
  border-radius: 50%;
  cursor: pointer;
  color: #fff;
  background: var(--accent);
  box-shadow: 0 8px 18px -10px rgba(79, 70, 229, 0.8);
  display: grid;
  place-items: center;
  transition: transform 0.15s ease, background 0.15s ease;
}
.quote__play:hover {
  transform: scale(1.05);
  background: var(--accent-hover);
}
.quote__play svg {
  width: 26px;
  height: 26px;
  fill: currentColor;
  grid-area: 1 / 1;
}
.quote__play .icon-pause {
  display: none;
}
.quote__play[aria-pressed="true"] .icon-play {
  display: none;
}
.quote__play[aria-pressed="true"] .icon-pause {
  display: block;
}

.quote__body {
  min-width: 0;
}
.quote__text {
  margin: 0;
  font-family: var(--display);
  font-weight: 400;
  font-size: clamp(1.3rem, 3vw, 1.85rem);
  line-height: 1.25;
  letter-spacing: -0.01em;
  color: var(--ink);
  text-wrap: balance;
}
.quote__text::before {
  content: "\201C";
  color: var(--coral);
  font-family: var(--display);
  margin-right: 0.05em;
}
.quote__text::after {
  content: "\201D";
  color: var(--coral);
  font-family: var(--display);
}
.quote__attr {
  margin: 0.85rem 0 0;
  font-size: 0.98rem;
  color: var(--ink-soft);
  font-style: italic;
}
.quote__attr cite {
  color: var(--ink);
}

.quote__meta {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.75rem 1rem;
  margin-top: 1.1rem;
}
.voice-tag {
  font-family: var(--sans);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.03em;
  color: var(--teal-dark);
  background: rgba(25, 179, 166, 0.1);
  border: 1px solid rgba(25, 179, 166, 0.25);
  padding: 0.28rem 0.7rem;
  border-radius: 999px;
  white-space: nowrap;
}
.voice-tag__loc {
  color: var(--ink-faint);
  font-weight: 500;
}

/* Waveform — bars fill by real progress (JS toggles .on) */
.wave {
  --progress: 0;
  display: flex;
  align-items: flex-end;
  gap: 3px;
  height: 30px;
  flex: 1 1 120px;
  min-width: 90px;
  max-width: 320px;
}
.wave span {
  flex: 1;
  border-radius: 2px;
  background: var(--line-strong);
  transition: background 0.12s linear;
}
.wave span.on {
  background: var(--accent);
}
/* bar heights — a printed, static silhouette */
.wave span:nth-child(1),
.wave span:nth-child(18) { height: 22%; }
.wave span:nth-child(2),
.wave span:nth-child(17) { height: 42%; }
.wave span:nth-child(3),
.wave span:nth-child(16) { height: 62%; }
.wave span:nth-child(4),
.wave span:nth-child(15) { height: 38%; }
.wave span:nth-child(5),
.wave span:nth-child(14) { height: 80%; }
.wave span:nth-child(6),
.wave span:nth-child(13) { height: 55%; }
.wave span:nth-child(7),
.wave span:nth-child(12) { height: 95%; }
.wave span:nth-child(8),
.wave span:nth-child(11) { height: 48%; }
.wave span:nth-child(9),
.wave span:nth-child(10) { height: 70%; }

.quote__time {
  font-family: var(--sans);
  font-size: 0.82rem;
  font-variant-numeric: tabular-nums;
  color: var(--ink-faint);
  white-space: nowrap;
}

/* Native audio: shown as progressive-enhancement fallback, hidden by JS */
.quote audio {
  width: 100%;
  margin-top: 0.9rem;
}
.js .quote audio {
  display: none;
}

/* ---------- How it works ---------- */
.how {
  background: var(--card);
}
.steps {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 1.5rem;
  grid-template-columns: 1fr;
}
.step {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  padding: 1.8rem;
  box-shadow: var(--shadow-soft);
  transition: box-shadow 0.2s ease, border-color 0.2s ease, transform 0.2s ease;
}
.step:hover {
  border-color: var(--line-strong);
  transform: translateY(-2px);
  box-shadow: var(--shadow-hover);
}
.step__num {
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  border-radius: 0.7rem;
  font-family: var(--sans);
  font-weight: 700;
  font-size: 1.25rem;
  color: #fff;
  background: var(--accent);
  margin-bottom: 1rem;
}
.step__title {
  font-family: var(--sans);
  font-weight: 600;
  font-size: 1.3rem;
  letter-spacing: -0.01em;
  margin: 0 0 0.5rem;
}
.step__body {
  margin: 0;
  color: var(--ink-soft);
}

/* ---------- Features ---------- */
.feature-grid {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 1.25rem;
  grid-template-columns: 1fr;
}
.feature {
  border-top: 2px solid var(--line-strong);
  padding-top: 1.35rem;
}
.feature__icon {
  display: inline-grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border-radius: 0.7rem;
  margin-bottom: 0.9rem;
}
.feature__icon svg {
  width: 24px;
  height: 24px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.7;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.feature__icon--coral {
  color: var(--coral-dark);
  background: rgba(244, 122, 83, 0.13);
}
.feature__icon--teal {
  color: var(--teal-dark);
  background: rgba(25, 179, 166, 0.13);
}
.feature__icon--violet {
  color: var(--violet-dark);
  background: rgba(125, 107, 240, 0.15);
}
.feature__title {
  font-family: var(--sans);
  font-weight: 600;
  font-size: 1.2rem;
  letter-spacing: -0.01em;
  margin: 0 0 0.4rem;
}
.feature__body {
  margin: 0;
  color: var(--ink-soft);
  font-size: 0.98rem;
}

/* ---------- Library (panel + book-spines) ---------- */
.library {
  background: var(--card);
}
.library-panel {
  display: grid;
  grid-template-columns: 1fr;
  gap: clamp(2rem, 5vw, 3.5rem);
  align-items: center;
  background: var(--page);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: clamp(1.75rem, 5vw, 3.25rem);
  box-shadow: var(--shadow-soft);
}
.library-copy .section-title {
  margin: 0.35rem 0 0;
}
.library__lede {
  font-size: 1.12rem;
  color: var(--ink-soft);
  margin: 1rem 0;
}
.library__note {
  color: var(--ink-soft);
  font-style: italic;
  border-left: 3px solid var(--accent);
  padding-left: 1rem;
  margin: 1.25rem 0 1.75rem;
}

.library-art {
  display: flex;
  justify-content: center;
  align-items: flex-end;
  gap: 12px;
  min-height: 190px;
}
.lib-book {
  width: 62px;
  height: 150px;
  border-radius: 8px 12px 12px 8px;
  padding: 14px 10px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  box-shadow: 0 14px 30px -18px rgba(17, 24, 39, 0.45);
  border-left: 5px solid rgba(0, 0, 0, 0.14);
}
.lib-book span {
  height: 5px;
  border-radius: 3px;
  background: rgba(255, 255, 255, 0.78);
}
.lib-book span:nth-child(2) {
  width: 70%;
}
.lib-book.b1 {
  background: linear-gradient(160deg, var(--coral), var(--coral-dark));
  transform: rotate(-4deg);
}
.lib-book.b2 {
  background: linear-gradient(160deg, var(--violet), var(--violet-dark));
  height: 172px;
  z-index: 2;
}
.lib-book.b3 {
  background: linear-gradient(160deg, var(--teal), var(--teal-dark));
  transform: rotate(4deg);
}

/* ---------- FAQ ---------- */
.faq__list {
  max-width: 46rem;
  border-top: 1px solid var(--line-strong);
}
.faq__item {
  border-bottom: 1px solid var(--line-strong);
}
.faq__item summary {
  list-style: none;
  cursor: pointer;
  padding: 1.15rem 2.5rem 1.15rem 0;
  position: relative;
  font-family: var(--sans);
  font-weight: 600;
  font-size: clamp(1.05rem, 2.5vw, 1.25rem);
  letter-spacing: -0.01em;
  color: var(--ink);
}
.faq__item summary::-webkit-details-marker {
  display: none;
}
.faq__item summary::after {
  content: "+";
  position: absolute;
  right: 0.25rem;
  top: 50%;
  transform: translateY(-50%);
  font-family: var(--sans);
  font-weight: 400;
  font-size: 1.6rem;
  line-height: 1;
  color: var(--accent-ink);
  transition: transform 0.2s ease;
}
.faq__item[open] summary::after {
  content: "\2212";
}
.faq__item p {
  margin: 0 0 1.25rem;
  max-width: 40rem;
  color: var(--ink-soft);
}

/* ---------- Footer (light, cool) ---------- */
.site-footer {
  background: var(--card);
  color: var(--ink-soft);
  border-bottom: none;
  border-top: 1px solid var(--line);
}
.footer__inner {
  display: grid;
  gap: 1.75rem;
  padding-block: clamp(2.5rem, 6vw, 4rem);
}
.footer__tag {
  font-family: var(--sans);
  font-size: 1rem;
  color: var(--ink-faint);
  margin: 0.75rem 0 0;
}
.footer__nav {
  display: flex;
  flex-wrap: wrap;
  gap: 1.25rem;
}
.footer__nav a {
  font-family: var(--sans);
  font-weight: 500;
  font-size: 0.94rem;
  color: var(--ink-soft);
  text-decoration: none;
  border-bottom: 1px solid transparent;
}
.footer__nav a:hover {
  border-bottom-color: var(--accent);
  color: var(--accent-ink);
}
.footer__copy {
  font-family: var(--sans);
  font-size: 0.85rem;
  color: var(--ink-faint);
  margin: 0;
}

/* ---------- Responsive ---------- */
@media (min-width: 640px) {
  .steps {
    grid-template-columns: repeat(3, 1fr);
  }
  .feature-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 900px) {
  .feature-grid {
    grid-template-columns: repeat(3, 1fr);
  }
  .library-panel {
    grid-template-columns: 1.2fr 0.8fr;
  }
  .footer__inner {
    grid-template-columns: 1fr auto auto;
    align-items: center;
  }
}

@media (max-width: 520px) {
  .quote {
    grid-template-columns: 1fr;
  }
  .quote__play {
    order: 2;
  }
}

/* ---------- Reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  .btn:hover,
  .quote:hover,
  .step:hover,
  .hero-sample__play:hover {
    transform: none;
  }
  *,
  *::before,
  *::after {
    transition-duration: 0.001ms !important;
    animation-duration: 0.001ms !important;
  }
}

/* =========================================================
   Accent pass — small splashes of the brand trio (coral / teal /
   violet) over the indigo default, for rhythm and focal points.
   Listen cards rotate one hue each; the 3 steps take the 3 hues;
   the hero "Free." + sample button take a random hue per load
   (--hero-hue, set in main.js). Indigo stays the default.
   ========================================================= */

/* Per-card hue for the Listen cards (coral → teal → violet, repeating) */
.quote {
  --qhue: var(--accent);
  --qhue-bg: var(--accent-soft);
  --qhue-line: rgba(79, 70, 229, 0.28);
}
.quote:nth-child(3n + 1) {
  --qhue: var(--coral-dark);
  --qhue-bg: rgba(244, 122, 83, 0.12);
  --qhue-line: rgba(244, 122, 83, 0.3);
}
.quote:nth-child(3n + 2) {
  --qhue: var(--teal-dark);
  --qhue-bg: rgba(25, 179, 166, 0.12);
  --qhue-line: rgba(25, 179, 166, 0.32);
}
.quote:nth-child(3n) {
  --qhue: var(--violet-dark);
  --qhue-bg: rgba(125, 107, 240, 0.16);
  --qhue-line: rgba(125, 107, 240, 0.4);
}

.quote__play {
  background: var(--qhue);
  box-shadow: 0 8px 18px -10px color-mix(in srgb, var(--qhue) 75%, transparent);
}
.quote__play:hover {
  background: var(--qhue);
  filter: brightness(1.08) saturate(1.05);
}
.quote__text::before,
.quote__text::after {
  color: var(--qhue);
}
.wave span.on {
  background: var(--qhue);
}
.quote.is-playing {
  border-color: var(--qhue);
  box-shadow: 0 0 0 1px var(--qhue), var(--shadow-hover);
}
.voice-tag {
  color: var(--qhue);
  background: var(--qhue-bg);
  border-color: var(--qhue-line);
}

/* The three steps take the three brand hues (color as wayfinding) */
.step:nth-child(1) .step__num {
  background: var(--coral-dark);
}
.step:nth-child(2) .step__num {
  background: var(--teal-dark);
}
.step:nth-child(3) .step__num {
  background: var(--violet-dark);
}
.step:nth-child(1):hover {
  box-shadow: 0 18px 36px -20px rgba(226, 73, 42, 0.38);
}
.step:nth-child(2):hover {
  box-shadow: 0 18px 36px -20px rgba(12, 129, 119, 0.38);
}
.step:nth-child(3):hover {
  box-shadow: 0 18px 36px -20px rgba(90, 68, 214, 0.38);
}

/* Hero sample player card — a random quote you can hear (right column) */
.hero-player {
  --qhue: var(--hero-hue, var(--accent));
  --qhue-bg: color-mix(in srgb, var(--hero-hue, var(--accent)) 12%, white);
  --qhue-line: color-mix(in srgb, var(--hero-hue, var(--accent)) 32%, white);
  display: flex;
  flex-direction: column;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: clamp(1.5rem, 4vw, 2.15rem);
  box-shadow: 0 24px 50px -30px rgba(17, 24, 39, 0.4);
}
.hero-player__eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  margin: 0 0 1rem;
  font-family: var(--sans);
  font-size: 0.74rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--ink-faint);
}
.hero-player__dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--hero-hue, var(--accent));
}
.hero-player__quote {
  margin: 0;
  font-family: var(--display);
  font-weight: 400;
  font-size: clamp(1.3rem, 2.6vw, 1.7rem);
  line-height: 1.28;
  letter-spacing: -0.01em;
  color: var(--ink);
  text-wrap: balance;
}
.hero-player__attr {
  margin: 0.75rem 0 0;
  font-size: 0.95rem;
  font-style: italic;
  color: var(--ink-soft);
}
.hero-player__attr cite {
  color: var(--ink);
}
.hero-player__bar {
  display: flex;
  align-items: center;
  gap: 0.9rem;
  margin-top: 1.5rem;
}
.hero-player__play {
  position: relative;
  flex: none;
  width: 56px;
  height: 56px;
  border: none;
  border-radius: 50%;
  cursor: pointer;
  color: #fff;
  background: var(--hero-hue, var(--accent));
  display: grid;
  place-items: center;
  box-shadow: 0 8px 18px -10px color-mix(in srgb, var(--hero-hue, var(--accent)) 80%, transparent);
  transition: transform 0.15s ease, filter 0.15s ease;
}
.hero-player__play:hover {
  transform: scale(1.05);
  filter: brightness(1.06);
}
.hero-player__play svg {
  width: 24px;
  height: 24px;
  fill: currentColor;
  grid-area: 1 / 1;
}
.hero-player__play .icon-pause {
  display: none;
}
.hero-player__play[aria-pressed="true"] .icon-play {
  display: none;
}
.hero-player__play[aria-pressed="true"] .icon-pause {
  display: block;
}
.hero-player__wave {
  flex: 1 1 auto;
  max-width: none;
  height: 34px;
}
.hero-player__time {
  font-family: var(--sans);
  font-size: 0.82rem;
  font-variant-numeric: tabular-nums;
  color: var(--ink-faint);
  white-space: nowrap;
}
.hero-player__voice {
  margin-top: 1.25rem;
  align-self: flex-start;
}
.js .hero-player audio {
  display: none;
}
.hero-player audio {
  width: 100%;
  margin-top: 0.9rem;
}
