/* MyVoxBox website: shared styles for the generated pages.
   Tokens, type stacks, header, footer, buttons and focus ring follow the
   landing page (index.html). --text-teal is the small-text colour: it meets
   WCAG AA on the paper background where --teal-deep does not. */

:root {
  --paper: #f8f9f7;
  --paper-strong: #ffffff;
  --ink: #263548;
  --ink-deep: #172334;
  --teal: #18a39a;
  --teal-deep: #0b8f88;
  --text-teal: #087a73;
  --teal-soft: #dff3f0;
  --muted: #65727e;
  --line: #d8dddf;
  --line-strong: #bec7cb;
  --serif: Charter, "Bitstream Charter", "Sitka Text", Cambria, Georgia, serif;
  --sans: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --mono: ui-monospace, "SFMono-Regular", "Cascadia Mono", Menlo, Consolas, monospace;
  --content: 72rem;
  --reading: 46rem;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 1rem;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; }
img, svg { max-width: 100%; height: auto; }
button, a { -webkit-tap-highlight-color: transparent; }
:focus-visible { outline: 3px solid var(--teal); outline-offset: 3px; border-radius: 0.25rem; }

.shell { width: min(calc(100% - 2.5rem), var(--content)); margin-inline: auto; }
.visually-hidden {
  position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}
.skip-link {
  position: fixed; left: 1rem; top: 1rem; z-index: 100;
  transform: translateY(-180%); padding: 0.65rem 0.9rem;
  background: var(--ink-deep); color: white; border-radius: 0.5rem;
}
.skip-link:focus { transform: none; }

/* Header: wordmark, Collections and Open player stay visible at every width. */
.site-header {
  position: relative; z-index: 10;
  border-bottom: 1px solid rgba(190, 199, 203, 0.75);
  background: rgba(248, 249, 247, 0.92);
  backdrop-filter: blur(14px);
}
.header-inner {
  min-height: 5rem; display: flex; align-items: center;
  justify-content: space-between; gap: 1rem;
}
.brand { display: inline-flex; align-items: center; flex: 0 1 auto; min-width: 0; text-decoration: none; }
.brand-logo { display: block; width: clamp(5.75rem, 30vw, 11.4rem); height: auto; }
.nav { display: flex; align-items: center; flex: none; gap: 1.2rem; font-size: 0.92rem; }
.nav a {
  display: inline-flex; align-items: center; min-height: 2.75rem;
  padding: 0.5rem 0.35rem; text-decoration: none; color: #3a4b5d; white-space: nowrap;
}
.nav a:hover, .nav a[aria-current] { color: var(--text-teal); }
.nav a[aria-current] { font-weight: 700; }
.nav .nav-cta {
  padding: 0.5rem 1rem; border-radius: 999px;
  background: var(--ink); color: white; font-weight: 700;
}
.nav .nav-cta:hover { color: white; background: var(--text-teal); }
.nav .nav-secondary { display: none; }
@media (min-width: 44rem) {
  .nav .nav-secondary { display: inline-flex; }
}

/* Page frame */
.page { padding: clamp(1.5rem, 4vw, 3rem) 0 clamp(3rem, 6vw, 5rem); }
.breadcrumb ol { display: flex; flex-wrap: wrap; gap: 0.35rem; margin: 0 0 1.5rem; padding: 0; list-style: none; font-size: 0.85rem; color: var(--muted); }
.breadcrumb li + li::before { content: "/"; margin-right: 0.35rem; color: var(--line-strong); }
.breadcrumb a { color: var(--text-teal); }
.breadcrumb [aria-current] { color: var(--ink); }

.page-head { max-width: var(--reading); margin-bottom: clamp(1.5rem, 4vw, 2.5rem); }
.eyebrow {
  display: inline-flex; align-items: center; gap: 0.6rem;
  margin: 0 0 0.9rem; color: var(--text-teal);
  font-family: var(--mono); font-size: 0.76rem; font-weight: 700;
  letter-spacing: 0.13em; text-transform: uppercase;
}
.eyebrow::before { content: ""; width: 2rem; height: 2px; background: var(--teal); }
h1, h2 { font-family: var(--serif); letter-spacing: -0.02em; color: var(--ink-deep); }
h1 { margin: 0; font-size: clamp(2.1rem, 5vw, 3.3rem); line-height: 1.05; font-weight: 700; overflow-wrap: anywhere; }
.page-intro { margin: 1rem 0 0; color: #46576a; font-size: clamp(1.05rem, 1.6vw, 1.2rem); }
.page-lead { margin: 0.75rem 0 0; color: #536273; }
.page-summary { margin: 0.9rem 0 0; color: var(--muted); font-size: 0.92rem; }
.page-notice {
  margin: 0.9rem 0 0; padding: 0.55rem 0.9rem;
  border-left: 3px solid var(--line-strong); background: rgba(255, 255, 255, 0.6);
  border-radius: 0 0.5rem 0.5rem 0; color: #536273; font-size: 0.9rem;
}

/* Buttons (pill style from the landing page) */
.button {
  display: inline-flex; align-items: center; justify-content: center; gap: 0.5rem;
  min-height: 2.75rem; padding: 0.55rem 1.1rem; border-radius: 999px;
  font-weight: 700; text-decoration: none; transition: transform 150ms ease, background 150ms ease;
}
.button:hover { transform: translateY(-1px); }
.button-primary { background: var(--ink); color: white; box-shadow: 0 8px 18px rgba(23, 35, 52, 0.16); }
.button-primary:hover { background: var(--text-teal); }
.button-secondary { border: 1.5px solid var(--line-strong); color: var(--ink); background: rgba(255, 255, 255, 0.6); }
.button-secondary:hover { border-color: var(--teal); }
.button svg { width: 0.9rem; height: 0.9rem; flex: none; }

/* Collection entries */
.entries { max-width: var(--reading); margin: 0; padding: 0; list-style: none; border-top: 1px solid var(--line-strong); }
.entry {
  display: grid;
  grid-template-columns: 5.5rem minmax(0, 1fr);
  grid-template-areas: "cover head" "body body";
  gap: 0.75rem 1rem;
  padding: 1.5rem 0;
  border-bottom: 1px solid var(--line);
}
.entry:target { background: linear-gradient(90deg, var(--teal-soft), transparent 70%); }
/* The link is the grid item; start-aligned so it does not stretch down both rows. */
.entry-cover-link { grid-area: cover; align-self: start; border-radius: 0.5rem; }
.entry-cover {
  display: block; width: 5.5rem; height: 5.5rem; border-radius: 0.5rem;
  object-fit: cover; background: var(--teal-soft); box-shadow: 0 6px 16px rgba(23, 35, 52, 0.16);
}
.entry-cover-empty {
  background: linear-gradient(145deg, #31475e, #172334);
}
.entry-head { grid-area: head; align-self: center; min-width: 0; }
.entry-title { margin: 0; font-size: 1.3rem; line-height: 1.2; overflow-wrap: anywhere; }
/* Vertical padding makes the tap target fill the line without moving the layout. */
.entry-title a { padding-block: 0.1em; color: var(--ink-deep); text-decoration: none; }
.entry-title a:hover { color: var(--text-teal); text-decoration: underline; }
.entry-authors { margin: 0.25rem 0 0; color: #46576a; font-size: 0.95rem; overflow-wrap: anywhere; }
.entry-body { grid-area: body; min-width: 0; }
.entry-note {
  margin: 0 0 0.9rem; padding: 0.55rem 0.9rem;
  border-left: 3px solid var(--teal); background: rgba(223, 243, 240, 0.55);
  border-radius: 0 0.5rem 0.5rem 0; color: var(--ink-deep); font-size: 0.95rem;
}
.entry-note-label {
  display: block; margin-bottom: 0.1rem; color: var(--text-teal);
  font-family: var(--mono); font-size: 0.68rem; font-weight: 700;
  letter-spacing: 0.12em; text-transform: uppercase;
}
.entry-synopsis p, .read-more-body p { margin: 0 0 0.6rem; color: #425366; font-size: 0.95rem; overflow-wrap: anywhere; }
.entry-synopsis-empty { color: var(--muted); font-style: italic; }
.entry-attribution { margin: -0.2rem 0 0.8rem; color: var(--muted); font-size: 0.8rem; }
.entry-attribution a { color: var(--text-teal); }
.read-more { margin: -0.2rem 0 0.6rem; }
.read-more summary {
  display: inline-flex; align-items: center; min-height: 2.75rem; padding: 0 0.1rem;
  cursor: pointer; list-style: none; color: var(--text-teal); font-size: 0.9rem; font-weight: 700;
}
.read-more summary::-webkit-details-marker { display: none; }
.read-more summary::after { content: "+"; margin-left: 0.4rem; font-family: var(--mono); }
.read-more[open] summary::after { content: "-"; }
.read-more[open] .when-closed, .read-more:not([open]) .when-open { display: none; }
.read-more-body { margin-top: 0.2rem; }
.facts {
  display: flex; flex-wrap: wrap; gap: 0.2rem 0;
  margin: 0 0 1rem; padding: 0; list-style: none;
  color: var(--muted); font-size: 0.86rem;
}
.facts li { overflow-wrap: anywhere; }
.facts li + li::before { content: "\00b7"; margin: 0 0.45rem; color: var(--line-strong); }
.facts-readers { flex-basis: 100%; }
.facts-readers::before { content: none !important; }
.entry-source { margin: -0.4rem 0 0.8rem; color: var(--muted); font-size: 0.86rem; }
.entry-source a { display: inline-block; padding-block: 0.3rem; color: var(--text-teal); }
.entry-actions { display: flex; flex-wrap: wrap; gap: 0.6rem; }

/* How listening works */
.listen-box {
  max-width: var(--reading); margin-top: 2.5rem; padding: 1.4rem 1.5rem;
  border: 1px solid var(--line); border-radius: 1rem; background: rgba(255, 255, 255, 0.62);
}
.listen-box h2 { margin: 0 0 0.6rem; font-size: 1.35rem; }
.listen-box p { margin: 0 0 0.6rem; color: #536273; font-size: 0.95rem; }
.listen-box a { color: var(--text-teal); font-weight: 700; }

/* More collections (below the entries of a collection page) */
.more-collections { max-width: var(--reading); margin-top: 2.5rem; }
.more-collections h2 { margin: 0 0 0.6rem; font-size: 1.35rem; }
.more-collections ul {
  display: flex; flex-wrap: wrap; gap: 0.5rem; margin: 0; padding: 0; list-style: none;
}
.more-collections li a {
  display: inline-flex; align-items: center; min-height: 2.75rem; padding: 0.4rem 0.9rem;
  border: 1px solid var(--line-strong); border-radius: 999px;
  background: rgba(255, 255, 255, 0.6); color: var(--ink); font-size: 0.92rem; text-decoration: none;
}
.more-collections li a:hover { border-color: var(--teal); color: var(--text-teal); }
.more-collections p { margin: 0.6rem 0 0; }
.more-collections-all { display: inline-flex; align-items: center; min-height: 2.75rem; color: var(--text-teal); font-weight: 700; }

/* Collections hub: one card per collection, a 2x2 mosaic of its first covers */
.hub-list { margin: 0; padding: 0; list-style: none; display: grid; gap: 1rem; }
.hub-card {
  display: grid; grid-template-columns: 6.5rem minmax(0, 1fr); gap: 1rem;
  padding: 1rem; border: 1px solid var(--line); border-radius: 1rem;
  background: rgba(255, 255, 255, 0.62);
}
.hub-mosaic {
  display: grid; grid-template-columns: 1fr 1fr; gap: 2px;
  width: 6.5rem; height: 6.5rem; border-radius: 0.6rem; overflow: hidden;
  background: var(--teal-soft); box-shadow: 0 6px 16px rgba(23, 35, 52, 0.16);
}
.hub-mosaic img, .hub-mosaic-empty { display: block; width: 100%; height: 100%; object-fit: cover; }
.hub-mosaic-empty { background: linear-gradient(145deg, #31475e, #172334); }
.hub-card-body { min-width: 0; align-self: center; }
.hub-title { margin: 0; font-size: 1.35rem; line-height: 1.15; overflow-wrap: anywhere; }
.hub-title a { color: var(--ink-deep); text-decoration: none; }
.hub-title a:hover { color: var(--text-teal); text-decoration: underline; }
.hub-intro { margin: 0.4rem 0 0; color: #46576a; font-size: 0.95rem; }
.hub-summary { margin: 0.4rem 0 0; color: var(--muted); font-size: 0.86rem; }
.hub-flags { margin: 0.4rem 0 0; display: flex; flex-wrap: wrap; gap: 0.35rem; }
.hub-flag {
  display: inline-block; padding: 0 0.5rem; border-radius: 999px; color: var(--muted);
  border: 1px solid var(--line-strong); font-size: 0.72rem; letter-spacing: 0.04em; text-transform: uppercase;
}

/* Footer */
.site-footer { padding: 2rem 0 2.8rem; border-top: 1px solid var(--line); color: var(--muted); font-size: 0.82rem; background: var(--paper); }
.footer-nav { display: flex; gap: 0.5rem 1.2rem; flex-wrap: wrap; }
.footer-nav a { display: inline-flex; align-items: center; min-height: 2.75rem; color: #3a4b5d; }
.footer-copy { max-width: 50rem; margin: 0.75rem 0 0; }

/* Hand-written pages (About, Help, Privacy, 404) */
.prose { max-width: var(--reading); }
.prose h2 { margin: 2.2rem 0 0.6rem; font-size: 1.5rem; line-height: 1.2; }
.prose h2:first-child { margin-top: 0; }
.prose p, .prose li, .prose dd { color: #425366; }
.prose p { margin: 0 0 1rem; }
.prose ul { margin: 0 0 1rem; padding-left: 1.3rem; }
.prose li { margin-bottom: 0.4rem; }
.prose a { color: var(--text-teal); }
.prose code { font-family: var(--mono); font-size: 0.9em; background: rgba(255, 255, 255, 0.7); padding: 0.05rem 0.3rem; border-radius: 0.3rem; }
.prose strong { color: var(--ink-deep); }
.faq { margin: 0; border-top: 1px solid var(--line-strong); }
.faq dt { padding: 1rem 0 0.3rem; color: var(--ink-deep); font-weight: 700; }
.faq dd { margin: 0; padding: 0 0 1rem; border-bottom: 1px solid var(--line); }

/* Homepage */
.hero {
  position: relative; overflow: hidden;
  padding: clamp(3rem, 8vw, 6.5rem) 0 clamp(3.5rem, 7vw, 6rem);
}
.hero::before {
  content: ""; position: absolute; width: 38rem; height: 38rem;
  right: -13rem; top: -17rem; border-radius: 50%;
  background: radial-gradient(circle, rgba(24, 163, 154, 0.12), rgba(24, 163, 154, 0) 68%);
  pointer-events: none;
}
.hero-grid {
  display: grid; grid-template-columns: minmax(0, 1.03fr) minmax(24rem, 0.97fr);
  align-items: center; gap: clamp(3rem, 6vw, 6rem);
}
.hero .eyebrow { margin-bottom: 1.35rem; }
.hero h1 { max-width: 11.5ch; font-size: clamp(2.75rem, 6vw, 5.35rem); line-height: 0.98; letter-spacing: -0.025em; }
.hero h1 em { color: var(--teal-deep); font-style: italic; }
.hero-copy { max-width: 37rem; margin: 1.75rem 0 0; color: #46576a; font-size: clamp(1.05rem, 1.6vw, 1.2rem); }
.hero-actions { display: flex; align-items: center; flex-wrap: wrap; gap: 0.9rem; margin-top: 2.1rem; }
.hero-actions .button { min-height: 3.25rem; padding: 0.75rem 1.35rem; }
.hero-actions .button svg { width: 1rem; height: 1rem; }
.hero-note { margin: 1rem 0 0; color: var(--muted); font-size: 0.87rem; }

.player-stage { position: relative; min-height: 34rem; display: grid; place-items: center; }
.player-stage::before, .player-stage::after { content: ""; position: absolute; border-radius: 50%; pointer-events: none; }
.player-stage::before { width: 26rem; height: 26rem; background: var(--teal-soft); opacity: 0.78; }
.player-stage::after { width: 19rem; height: 19rem; border: 1px solid rgba(24, 163, 154, 0.28); }
.player-card {
  position: relative; z-index: 2; width: min(100%, 27.5rem);
  border: 1px solid rgba(190, 199, 203, 0.9); border-radius: 1.7rem;
  background: rgba(255, 255, 255, 0.96); box-shadow: 0 24px 70px rgba(23, 35, 52, 0.15);
  overflow: hidden; transform: rotate(1.2deg);
}
.player-top {
  display: flex; align-items: center; justify-content: space-between;
  padding: 1rem 1.1rem; border-bottom: 1px solid var(--line);
  color: var(--muted); font-size: 0.76rem; font-weight: 700; letter-spacing: 0.04em;
}
.window-dots { display: flex; gap: 0.35rem; }
.window-dots span { width: 0.48rem; height: 0.48rem; border-radius: 50%; background: #c8d0d3; }
.player-body { padding: 1.25rem 1.35rem 1.4rem; }
.book-row { display: grid; grid-template-columns: 6.4rem 1fr; gap: 1.1rem; align-items: center; }
.cover {
  position: relative; aspect-ratio: 0.72; border-radius: 0.8rem;
  background: linear-gradient(160deg, rgba(255, 255, 255, 0.12), transparent 42%), linear-gradient(145deg, #31475e, #172334);
  box-shadow: 0 12px 26px rgba(23, 35, 52, 0.22); overflow: hidden;
  color: white; padding: 0.8rem; display: flex; flex-direction: column; justify-content: space-between;
}
.cover::after {
  content: ""; position: absolute; inset: auto -2rem -3rem auto;
  width: 7rem; height: 7rem; border: 1.4rem solid rgba(24, 163, 154, 0.48); border-radius: 50%;
}
.cover-small { font-family: var(--mono); font-size: 0.49rem; text-transform: uppercase; letter-spacing: 0.09em; opacity: 0.8; }
.cover-title { position: relative; z-index: 1; font-family: var(--serif); font-weight: 700; line-height: 1.02; font-size: 1.05rem; }
.now-playing { margin: 0 0 0.35rem; color: var(--text-teal); font-family: var(--mono); font-size: 0.65rem; text-transform: uppercase; letter-spacing: 0.12em; }
.book-title { margin: 0; color: var(--ink-deep); font-family: var(--serif); font-weight: 700; font-size: 1.35rem; line-height: 1.12; }
.book-meta { margin: 0.35rem 0 0; color: var(--muted); font-size: 0.82rem; }
.chapter { margin: 1.25rem 0 0; color: #425366; font-size: 0.83rem; font-weight: 700; }
.progress { position: relative; height: 0.34rem; margin-top: 0.55rem; border-radius: 99px; background: #dbe1e3; }
.progress span { display: block; width: 42%; height: 100%; border-radius: inherit; background: var(--teal); }
.progress::after {
  content: ""; position: absolute; left: 42%; top: 50%; width: 0.88rem; height: 0.88rem;
  border-radius: 50%; transform: translate(-50%, -50%); background: var(--teal); box-shadow: 0 0 0 4px rgba(24, 163, 154, 0.17);
}
.times { display: flex; justify-content: space-between; margin-top: 0.45rem; color: var(--muted); font-family: var(--mono); font-size: 0.62rem; }
.controls { display: flex; justify-content: center; align-items: center; gap: 1.2rem; margin-top: 1rem; }
.control { width: 2.3rem; height: 2.3rem; display: grid; place-items: center; border-radius: 50%; background: #eef1f1; color: var(--ink); font-size: 0.72rem; font-weight: 800; }
.control-play { width: 3.6rem; height: 3.6rem; background: var(--ink); color: white; }
.play-triangle { margin-left: 0.18rem; width: 0; height: 0; border-top: 0.48rem solid transparent; border-bottom: 0.48rem solid transparent; border-left: 0.78rem solid currentColor; }
.player-footer { display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid var(--line); background: #fbfcfb; }
.player-stat { padding: 0.85rem 0.5rem; text-align: center; border-right: 1px solid var(--line); }
.player-stat:last-child { border-right: 0; }
.player-stat strong { display: block; font-size: 0.82rem; }
.player-stat span { color: var(--muted); font-size: 0.66rem; }

.trust-strip { border-block: 1px solid var(--line); background: rgba(255, 255, 255, 0.45); }
.trust-list { display: grid; grid-template-columns: repeat(4, 1fr); margin: 0; padding: 1.25rem 0; list-style: none; gap: 1rem; }
.trust-list li { display: flex; align-items: center; gap: 0.7rem; color: #435467; font-size: 0.9rem; font-weight: 700; }
.trust-icon { width: 1.7rem; height: 1.7rem; display: grid; place-items: center; flex: none; border-radius: 50%; background: var(--teal-soft); color: var(--text-teal); font-size: 0.9rem; }

.section { padding: clamp(3.5rem, 8vw, 6.5rem) 0; }
.section-alt { background: rgba(255, 255, 255, 0.45); border-block: 1px solid var(--line); }
.section-head { display: grid; grid-template-columns: 0.75fr 1.25fr; gap: 3rem; align-items: end; margin-bottom: 2.5rem; }
.section-label { margin: 0; color: var(--text-teal); font-family: var(--mono); font-size: 0.75rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.13em; }
.section-title { margin: 0; font-size: clamp(2rem, 4.3vw, 3.6rem); line-height: 1.04; }
.section-intro { margin: 0.6rem 0 0; max-width: 44rem; color: #536273; font-size: 1.05rem; }
.section-intro a { color: var(--text-teal); }
.section-more { margin: 2rem 0 0; }
.featured-list { max-width: none; }

.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.2rem; }
.step-card { position: relative; padding: 1.75rem; border: 1px solid var(--line); border-radius: 1.15rem; background: rgba(255, 255, 255, 0.62); }
.step-number { color: var(--text-teal); font-family: var(--mono); font-size: 0.72rem; font-weight: 700; letter-spacing: 0.12em; }
.step-card h3 { margin: 2.1rem 0 0.6rem; color: var(--ink-deep); font-family: var(--serif); font-size: 1.55rem; line-height: 1.1; }
.step-card p { margin: 0; color: #586777; font-size: 0.95rem; }
.step-card::after {
  content: ""; position: absolute; left: 1.75rem; right: 1.75rem; top: 3.35rem; height: 2px;
  background: linear-gradient(90deg, var(--teal) 0 20%, var(--line) 20% 100%);
}

.features-section { background: var(--ink-deep); color: white; }
.features-section .section-label { color: #68d4cb; }
.features-section .section-title { color: white; }
.features-section .section-intro { color: #bec8d1; }
.feature-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1px; background: rgba(255, 255, 255, 0.13); border: 1px solid rgba(255, 255, 255, 0.13); border-radius: 1.2rem; overflow: hidden; }
.feature-card { padding: 2rem; background: #1c2b3e; }
.feature-icon { width: 2.65rem; height: 2.65rem; display: grid; place-items: center; border-radius: 0.8rem; background: rgba(24, 163, 154, 0.16); color: #68d4cb; font-size: 1.25rem; }
.feature-card h3 { margin: 1.3rem 0 0.45rem; font-size: 1.1rem; }
.feature-card p { margin: 0; color: #b8c2cc; font-size: 0.94rem; }

.privacy-grid { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: clamp(3rem, 7vw, 7rem); align-items: start; }
.privacy-mark { width: 5rem; height: auto; display: block; margin-bottom: 2rem; }
.privacy-copy .section-title { max-width: 12ch; margin-top: 0.6rem; }
.privacy-copy > p { max-width: 34rem; color: #536273; font-size: 1.08rem; }
.privacy-copy a { color: var(--text-teal); }
.privacy-note { margin-top: 1.2rem; color: var(--muted); font-size: 0.9rem; }
.privacy-points { display: grid; gap: 0; border-top: 1px solid var(--line); }
.privacy-point { display: grid; grid-template-columns: 2.2rem 1fr; gap: 1rem; padding: 1.4rem 0; border-bottom: 1px solid var(--line); }
.privacy-point strong { display: block; color: var(--ink-deep); margin-bottom: 0.2rem; }
.privacy-point p { margin: 0; color: #5b6978; font-size: 0.94rem; }
.check { width: 2rem; height: 2rem; display: grid; place-items: center; border-radius: 50%; background: var(--teal-soft); color: var(--text-teal); font-weight: 800; }

.source-inner { max-width: 50rem; }
.source-inner .section-title { margin-top: 0.6rem; }

.closing {
  padding: clamp(3.5rem, 9vw, 7rem) 0;
  background: linear-gradient(135deg, #ebf7f5, #f8f9f7 56%, #eef2f2);
  border-top: 1px solid var(--line);
}
.closing-inner { display: flex; align-items: center; justify-content: space-between; gap: 3rem; }
.closing .section-title { max-width: 13ch; }
.closing p { margin: 0.8rem 0 0; color: #566676; }
.closing-actions { display: flex; flex-wrap: wrap; gap: 0.9rem; flex: none; }

@media (max-width: 900px) {
  .hero-grid { grid-template-columns: 1fr; }
  .hero-copy-block { max-width: 44rem; }
  .player-stage { min-height: auto; }
  .trust-list { grid-template-columns: repeat(2, 1fr); }
  .section-head { grid-template-columns: 1fr; gap: 1.2rem; }
  .privacy-grid { grid-template-columns: 1fr; }
}

@media (min-width: 40rem) {
  .entry {
    grid-template-columns: 7.5rem minmax(0, 1fr);
    grid-template-areas: "cover head" "cover body";
    gap: 0.6rem 1.5rem;
    padding: 1.75rem 0;
  }
  .entry-cover { width: 7.5rem; height: 7.5rem; border-radius: 0.6rem; }
  .entry-cover-link { border-radius: 0.6rem; }
  .entry-head { align-self: start; }
  .entry-title { font-size: 1.45rem; }
  .hub-list { grid-template-columns: 1fr 1fr; gap: 1.25rem; }
  .hub-card { grid-template-columns: 8rem minmax(0, 1fr); gap: 1.1rem; padding: 1.2rem; }
  .hub-mosaic { width: 8rem; height: 8rem; }
}

@media (min-width: 70rem) {
  .entries {
    max-width: none; display: grid; grid-template-columns: 1fr 1fr; column-gap: 3.5rem;
    border-top: 0;
  }
  .entry { border-top: 1px solid var(--line); border-bottom: 0; }
  .listen-box { margin-top: 3rem; }
  .hub-list { grid-template-columns: 1fr 1fr 1fr; }
  .featured-list { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 680px) {
  .shell { width: min(calc(100% - 1.5rem), var(--content)); }
  .header-inner { min-height: 4.4rem; gap: 0.5rem; }
  .nav { gap: 0.5rem; font-size: 0.875rem; }
  .nav .nav-cta { padding: 0.5rem 0.65rem; font-size: 0.8rem; }
  .entry-actions .button { flex: 1 1 auto; }
  .hero { padding-top: 2.6rem; }
  .hero-actions { align-items: stretch; }
  .hero-actions .button { flex: 1 1 auto; min-height: 3rem; }
  .player-stage { margin-top: 0.7rem; }
  .player-card { transform: none; border-radius: 1.25rem; }
  .book-row { grid-template-columns: 5.4rem 1fr; }
  .cover-title { font-size: 0.9rem; }
  .trust-list { grid-template-columns: 1fr; gap: 0.75rem; }
  .steps, .feature-grid { grid-template-columns: 1fr; }
  .closing-inner { align-items: flex-start; flex-direction: column; }
  .closing-actions .button { flex: 1 1 auto; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; }
}
