@font-face {
  font-family: "Frank Ruhl Libre";
  src: url("/assets/frank-ruhl-libre-700.148f52c4a2be.ttf") format("truetype");
  font-style: normal;
  font-weight: 700;
  font-display: swap;
}

:root {
  --paper: #f6f2ea;
  --paper-light: #fffdf9;
  --paper-deep: #ece5d9;
  --ink: #172c3b;
  --ink-soft: #56636d;
  --blue: #1b8de9;
  --blue-deep: #0877d7;
  --blue-pale: #dcebfa;
  --blue-link: #075f9f;
  --line: rgba(23, 44, 59, .16);
  --shadow: 0 18px 48px rgba(23, 44, 59, .14);
  --display: "Frank Ruhl Libre", Georgia, serif;
  --body: -apple-system, BlinkMacSystemFont, "Segoe UI", Helvetica, Arial, sans-serif;
  --page: min(1180px, calc(100% - 48px));
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--body);
  font-size: 17px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}
::selection { background: var(--blue-pale); color: var(--ink); }
img { max-width: 100%; display: block; }
a { color: inherit; text-underline-offset: .2em; }
button, a { -webkit-tap-highlight-color: transparent; }
button, input, textarea, select { font: inherit; }
button:focus-visible, a:focus-visible, summary:focus-visible {
  outline: 3px solid var(--blue);
  outline-offset: 4px;
}
#main-content:focus { outline: none; }

.visually-hidden {
  position: absolute !important;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0);
  white-space: nowrap; border: 0;
}
.skip-link {
  position: fixed; left: 16px; top: 12px; z-index: 1000;
  transform: translateY(-160%);
  background: var(--ink); color: white;
  padding: 10px 14px; border-radius: 8px;
}
.skip-link:focus-visible { transform: none; }

.preview-strip {
  min-height: 34px;
  display: flex;
  justify-content: center;
  gap: 10px;
  align-items: center;
  padding: 7px 20px;
  background: var(--ink);
  color: rgba(255,255,255,.75);
  font-size: 12px;
  letter-spacing: .015em;
}
.preview-strip span:first-child { color: white; font-weight: 700; }

.site-header {
  width: var(--page);
  min-height: 80px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  position: relative;
  z-index: 20;
}
.brand { display: inline-flex; align-items: center; gap: 12px; text-decoration: none; font-size: 24px; font-weight: 800; letter-spacing: -.03em; }
.brand img { border-radius: 10px; }
.site-nav { display: flex; align-items: center; gap: 34px; font-size: 14px; font-weight: 700; }
.site-nav > a:not(.button) { text-decoration: none; padding: 12px 0; }
.site-nav > a:not(.button):hover { color: var(--blue-deep); }
.menu-button { display: none; border: 0; background: transparent; color: var(--ink); padding: 10px; min-width: 44px; min-height: 44px; }
.menu-button svg { width: 24px; fill: none; stroke: currentColor; stroke-width: 2; }

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  min-height: 52px;
  padding: 0 26px;
  border: 1px solid var(--blue-deep);
  border-radius: 12px;
  background: var(--blue-deep);
  color: white;
  font-weight: 750;
  text-decoration: none;
  cursor: pointer;
  box-shadow: 0 8px 18px rgba(27, 141, 233, .18);
  transition: transform .2s ease-out, box-shadow .2s ease-out, background .2s ease-out;
}
.button:hover { background: var(--blue-deep); transform: translateY(-2px); box-shadow: 0 12px 26px rgba(27,141,233,.24); }
.button-secondary { background: transparent; color: var(--ink); border-color: rgba(23,44,59,.3); box-shadow: none; }
.button-secondary:hover { background: var(--paper-light); border-color: var(--ink); }
.button-small { min-height: 44px; padding: 0 20px; border-radius: 12px; }
.button-disabled, .button[aria-disabled="true"] { background: #d7d9da; border-color: #d7d9da; color: #667078; box-shadow: none; cursor: not-allowed; transform: none; }
.text-link { color: var(--blue-deep); font-weight: 700; }
.content-panel .text-link { display: inline-flex; align-items: center; min-height: 44px; }

h1, h2, h3 { font-family: var(--display); line-height: .97; letter-spacing: -.025em; margin: 0; text-wrap: balance; }
h1 { font-size: clamp(58px, 7.2vw, 96px); }
h2 { font-size: clamp(42px, 5vw, 68px); }
h3 { font-size: 30px; }
p { margin: 0; }

.hero { width: var(--page); margin: 18px auto 0; position: relative; }
.hero h1 { line-height: .88; }
.hero-copy { max-width: 690px; position: relative; z-index: 2; }
.hero-copy .lede { max-width: 590px; margin-top: 14px; color: var(--ink-soft); font-size: clamp(20px, 2vw, 27px); line-height: 1.38; }
.hero-actions { display: flex; gap: 14px; margin-top: 16px; flex-wrap: wrap; }
.hero-actions .button { min-height: 44px; }

.reading-stage {
  margin-top: 20px;
  min-height: 350px;
  position: relative;
  display: block;
}
.mobile-proof-cover { display: none; }
.reading-surface {
  width: 100%;
  min-height: 350px;
  position: relative;
  padding: 30px calc(min(400px, 31.5%) + 55px) 28px 40px;
  border: 0;
  border-radius: 28px;
  box-shadow: var(--shadow);
  background: var(--paper-light);
}
.sample-book-header { display: flex; align-items: center; gap: 16px; }
.sample-cover { width: 54px; height: auto; border-radius: 4px; box-shadow: 0 5px 12px rgba(23,44,59,.14); }
.sample-book-title { display: grid; align-content: center; align-items: start; gap: 2px; }
.sample-book-title strong { font-size: 17px; line-height: 1.3; }
.sample-book-title > span:last-child { color: var(--ink-soft); font-size: 14px; }
.sample-label { display: inline-flex; align-items: center; gap: 7px; color: var(--blue-deep); font-size: 12px; font-weight: 800; text-transform: uppercase; letter-spacing: .1em; }
.sample-label::before { content:""; width: 8px; height: 8px; border-radius: 50%; background: var(--blue); }
.reading-surface h3 { margin-top: 20px; font-family: var(--body); font-size: 24px; line-height: 1.2; letter-spacing: -.015em; }
.passage { margin-top: 24px; font-family: Georgia, serif; font-size: 18px; line-height: 1.62; color: #263844; }
.reading-surface .passage { max-width: 620px; margin-top: 12px; font-family: var(--body); line-height: 1.48; }
.highlight { background: var(--blue-pale); border-radius: 5px; padding: 2px 4px; box-decoration-break: clone; -webkit-box-decoration-break: clone; }
.page-note { margin-top: 18px; color: var(--ink-soft); font-size: 14px; }
.passage-nav { display: flex; justify-content: space-between; gap: 10px; margin-top: 25px; }
.reading-surface .passage-nav { max-width: 620px; margin-top: 18px; }
.passage-button { min-height: 44px; border: 1px solid var(--line); background: transparent; color: var(--ink); padding: 0 14px; border-radius: 10px; font-weight: 700; cursor: pointer; }
.passage-button:hover:not(:disabled) { background: var(--blue-pale); }
.passage-button:disabled { opacity: .4; cursor: not-allowed; }
.phone-proof { position: absolute; z-index: 4; right: 22px; bottom: -24px; width: min(400px, 31.5%); margin: 0; filter: drop-shadow(0 22px 34px rgba(23,44,59,.2)); }
.phone-proof img { width: 100%; height: auto; object-fit: contain; border: 6px solid var(--ink); border-radius: 40px; background: var(--ink); }
.phone-caption { text-align: center; color: var(--ink-soft); font-size: 12px; margin-top: 8px; }
.hero + .section { margin-top: 52px; }

@media (min-width: 1100px) {
  .reading-stage { margin-top: 130px; }
}

.section { width: var(--page); margin: clamp(48px, 6vw, 96px) auto 0; }
.section-intro { display: flex; justify-content: space-between; gap: 40px; align-items: end; margin-bottom: 34px; }
.section-intro p { max-width: 480px; color: var(--ink-soft); font-size: 18px; }
.topic-list { border-top: 1px solid var(--line); }
.topic-row { display: grid; grid-template-columns: 70px minmax(230px, 1fr) 300px; gap: 26px; align-items: center; min-height: clamp(120px, 10vw, 160px); padding: 14px 16px; border-bottom: 1px solid var(--line); text-decoration: none; transition: background .2s ease-out; }
.topic-row:hover { background: rgba(255,255,255,.55); }
.topic-icon { width: 58px; height: 58px; display: grid; place-items: center; background: var(--blue-pale); color: var(--blue-deep); border-radius: 16px; }
.topic-icon svg { width: 28px; fill: none; stroke: currentColor; stroke-width: 1.8; }
.topic-copy strong { display: block; font-family: var(--display); font-size: 31px; line-height: 1; }
.topic-copy span { display: block; margin-top: 10px; color: var(--ink-soft); max-width: 460px; }
.cover-pair { display: flex; justify-content: flex-end; gap: 22px; align-items: center; }
.cover-pair img { width: 88px; height: auto; aspect-ratio: 2/3; object-fit: contain; border-radius: 5px; box-shadow: 0 8px 20px rgba(23,44,59,.15); transition: transform .2s ease-out; }
.topic-row:hover .cover-pair img:first-child { transform: translateY(-5px) rotate(-2deg); }
.topic-row:hover .cover-pair img:last-child { transform: translateY(-2px) rotate(2deg); }

.blue-band { margin-top: clamp(48px, 6vw, 96px); background: var(--blue-deep); color: white; }
.blue-inner { width: var(--page); min-height: clamp(230px, 24vw, 350px); margin: 0 auto; display: grid; grid-template-columns: .8fr 1.2fr; gap: 80px; align-items: center; padding: clamp(24px, 4vw, 58px) 0; }
.blue-band p { color: white; font-size: 19px; margin-top: 24px; max-width: 440px; }
.experience-demo { position: relative; width: min(100%, clamp(350px, 42vw, 560px)); justify-self: end; padding-top: 18px; }
.experience-switch { position: absolute; z-index: 2; top: 0; left: 50%; transform: translateX(-50%); display: inline-flex; gap: 4px; padding: 4px; background: #f7fafc; border-radius: 999px; box-shadow: 0 5px 16px rgba(7,67,115,.16); }
.experience-tab { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 44px; min-width: 100px; padding: 0 16px; border: 0; border-radius: 999px; background: transparent; color: var(--ink); font-size: 14px; font-weight: 650; cursor: pointer; transition: background .16s ease-out, color .16s ease-out; }
.experience-tab svg { width: 19px; height: 19px; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.experience-tab[aria-pressed="true"] { background: var(--ink); color: white; }
.experience-tab:hover:not([aria-pressed="true"]) { background: var(--blue-pale); }
.experience-stage { display: grid; grid-template-columns: minmax(0, 1fr) 29%; min-height: 142px; overflow: hidden; border-radius: 16px; background: var(--paper-light); color: var(--ink); box-shadow: 0 15px 28px rgba(7,67,115,.16); }
.preview-sheet { padding: 36px 18px 18px; min-width: 0; }
.preview-sheet-title { color: var(--ink-soft); font-size: 12px; line-height: 1.3; }
.home-page .blue-band .preview-text { color: var(--ink); font-size: 15px; line-height: 1.65; margin: 8px 0 0; max-width: none; }
.preview-text[hidden] { display: none; }
.preview-text mark { color: inherit; background: var(--blue-pale); padding: 2px 3px; border-radius: 3px; box-decoration-break: clone; -webkit-box-decoration-break: clone; }
.preview-text a { display: inline-flex; align-items: center; gap: 5px; color: var(--blue-link); text-underline-offset: 3px; font-size: 13px; line-height: 1.5; min-height: 32px; }
.narration-cue { display: flex; align-items: center; justify-content: center; padding-top: 18px; background: var(--blue-pale); color: var(--blue-deep); }
.narration-cue svg { width: min(82px, 90%); height: auto; fill: currentColor; }
.experience-demo[data-mode="read"] .narration-cue { color: #4d9ee7; }
.home-page .blue-band .experience-caption { color: white; font-size: 12px; line-height: 1.45; margin-top: 8px; text-align: center; max-width: none; }
.blue-band :is(button, a):focus-visible { outline-color: var(--ink); box-shadow: 0 0 0 7px white; }
.blue-band:focus { outline: none; }

.book-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 28px; }
.book-card { text-decoration: none; min-width: 0; }
.book-card img { width: min(100%, clamp(110px, 10vw, 150px)); height: auto; margin: 0 auto; aspect-ratio: 2/3; object-fit: contain; border-radius: 7px; box-shadow: 0 12px 26px rgba(23,44,59,.15); transition: transform .22s ease-out, box-shadow .22s ease-out; }
.book-card:hover img { transform: translateY(-7px); box-shadow: 0 20px 35px rgba(23,44,59,.22); }
.book-card strong { display: block; margin-top: 12px; line-height: 1.25; text-align: center; }
.book-card span { display: block; color: var(--ink-soft); font-size: 14px; margin-top: 3px; text-align: center; }

.faq { max-width: 920px; }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { cursor: pointer; min-height: clamp(50px, 4vw, 66px); display: flex; align-items: center; justify-content: space-between; font-weight: 750; list-style: none; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font-size: 25px; font-weight: 400; }
.faq details[open] summary::after { content: "−"; }
.faq details p { color: var(--ink-soft); max-width: 700px; padding: 0 0 24px; }

.closing-cta { margin-top: clamp(48px, 6vw, 96px); background: var(--ink); color: white; text-align: center; padding: clamp(48px, 5vw, 72px) 24px; }
.closing-cta h2 { max-width: 900px; margin: 0 auto; }
.closing-cta p { margin: 22px auto 30px; max-width: 620px; color: rgba(255,255,255,.72); }

.site-footer { min-height: 110px; width: var(--page); margin: 0 auto; display: flex; justify-content: space-between; align-items: center; gap: 24px; }
.brand-footer { font-size: 19px; }
.site-footer nav { display: flex; gap: 26px; flex-wrap: wrap; justify-content: flex-end; font-size: 13px; }

.inner-page { min-height: 65vh; }
.inner-hero { width: var(--page); margin: 52px auto 0; display: grid; grid-template-columns: minmax(0, 1fr) 270px; gap: 70px; align-items: center; }
.inner-hero .tag { color: var(--blue-deep); font-size: 13px; text-transform: uppercase; letter-spacing: .1em; font-weight: 800; }
.inner-hero h1 { margin-top: 14px; }
.inner-hero .lede { color: var(--ink-soft); font-size: 21px; max-width: 700px; margin-top: 24px; }
.inner-hero .button { margin-top: 30px; }
.inner-cover { width: 230px; height: auto; max-height: 420px; object-fit: contain; justify-self: center; border-radius: 9px; box-shadow: var(--shadow); }
.compact-section { width: var(--page); margin: 90px auto 0; }
.compact-section h2 { margin-bottom: 32px; }
.book-detail-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 38px; }
.content-panel { background: var(--paper-light); padding: 36px; border-radius: 18px; }
.content-panel h3 { font-size: 31px; }
.content-panel h2 { font-size: 31px; margin-bottom: 0; }
.content-panel p, .content-panel li { color: var(--ink-soft); }
.content-panel p { margin-top: 18px; }
.content-panel ul { margin: 18px 0 0; padding-left: 20px; }
.content-panel li + li { margin-top: 10px; }
.route-note { margin-top: 20px; padding: 14px 16px; background: var(--blue-pale); color: #1d4e72; border-radius: 10px; font-size: 14px; }
.page-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }
.download-help { display: inline-flex; align-items: center; min-height: 44px; margin-top: 12px; color: var(--blue-link); }
.download-help[hidden] { display: none; }
.download-hero { width: var(--page); margin: 42px auto 0; display: grid; grid-template-columns: minmax(0,1fr) 300px; align-items: center; gap: 70px; }
.download-copy { min-width: 0; }
.download-copy h1 { font-size: clamp(48px,6vw,80px); }
.download-lede { margin-top: 18px; font-size: 22px; line-height: 1.45; color: var(--ink-soft); }
.download-book { display: flex; align-items: center; gap: 20px; margin-top: 26px; }
.download-book > img { width: 96px; height: auto; flex: none; border-radius: 5px; box-shadow: 0 8px 18px rgba(23,44,59,.13); }
.download-book > div { min-width: 0; }
.download-book h2 { font-family: var(--body); font-size: 26px; line-height: 1.2; letter-spacing: -.015em; }
.download-book p { font-size: 16px; color: var(--ink-soft); margin-top: 5px; }
.copy-book { display: inline-flex; align-items: center; gap: 7px; min-height: 44px; padding: 0; margin-top: 4px; color: var(--blue-link); background: transparent; border: 0; cursor: pointer; font-size: 14px; font-weight: 700; text-decoration: underline; text-underline-offset: 4px; }
.copy-book svg { width: 17px; height: 17px; fill: none; stroke: currentColor; stroke-width: 1.7; }
.download-action { display: flex; align-items: center; gap: 16px; margin-top: 20px; flex-wrap: wrap; }
.store-badge { display: inline-flex; padding: 13px; margin-left: -13px; }
.store-badge img { height: 52px; width: auto; max-width: 100%; }
.download-store-note { max-width: 180px; padding-left: 16px; border-left: 1px solid var(--line); font-size: 13px; line-height: 1.5; color: var(--ink-soft); }
.download-recovery { max-width: 50ch; margin-top: 14px; color: var(--ink-soft); font-size: 15px; line-height: 1.55; }
.copy-status { min-height: 24px; margin-top: 8px; font-size: 14px; color: var(--ink); }
.download-preview { margin: 0; justify-self: center; width: 250px; }
.download-preview > img { width: 100%; height: auto; border: 5px solid var(--ink); border-radius: 36px; box-shadow: 0 18px 42px rgba(23,44,59,.17); }
.download-preview figcaption { margin-top: 12px; color: var(--ink-soft); font-size: 13px; text-align: center; }
.download-availability { width: var(--page); margin: 48px auto 0; border-top: 1px solid var(--line); padding-top: 22px; }
.download-availability h2 { font-family: var(--body); font-size: 21px; line-height: 1.2; }
.download-availability p { margin-top: 8px; color: var(--ink-soft); font-size: 15px; }
.download-route .site-footer { margin-top: 48px; }
.not-found { width: var(--page); margin: 80px auto; text-align: center; }
.not-found p { margin: 20px auto 30px; color: var(--ink-soft); }
.page-breadcrumb { width: var(--page); margin: 24px auto 0; font-size: 14px; }
.how-page { padding-bottom: 72px; }
.how-page h1 { font-size: clamp(42px, 6vw, 72px); }

.analytics-settings { align-self: center; min-height: 44px; padding: 0; border: 0; background: transparent; color: inherit; cursor: pointer; font-size: 13px; text-decoration: underline; text-underline-offset: 4px; }
.analytics-consent { position: fixed; z-index: 900; left: max(16px, calc((100% - 960px)/2)); right: max(16px, calc((100% - 960px)/2)); bottom: 16px; display: grid; grid-template-columns: minmax(0,1fr) auto; align-items: center; gap: 24px; padding: 20px 22px; border-radius: 16px; background: var(--paper-light); color: var(--ink); box-shadow: 0 18px 48px rgba(23,44,59,.2); }
.analytics-consent[hidden] { display: none; }
.analytics-consent strong { display: block; font-size: 17px; }
.analytics-consent p { max-width: 68ch; margin-top: 5px; color: var(--ink-soft); font-size: 14px; line-height: 1.5; }
.analytics-consent p a { color: inherit; text-underline-offset: 3px; }
.analytics-consent .analytics-status:empty { display: none; }
.analytics-consent-actions { display: grid; grid-template-columns: repeat(2,minmax(132px,1fr)); gap: 10px; }
.analytics-consent-actions .button { min-height: 44px; padding: 0 18px; white-space: nowrap; }

@media (max-width: 1000px) {
  .reading-surface { padding-left: 30px; }
}

@media (max-width: 900px) {
  :root { --page: min(100% - 32px, 760px); }
  .topic-row { grid-template-columns: 60px 1fr 220px; }
  .cover-pair img { width: 72px; }
  .blue-inner { gap: 44px; }
  .book-grid { grid-template-columns: repeat(5, 1fr); gap: 22px; }
  .inner-hero { grid-template-columns: 1fr 210px; gap: 40px; }
  .inner-cover { width: 190px; }
}

/* The approved A uses a compact editorial rhythm at desktop widths. */
@media (min-width: 681px) {
  .home-route .site-header { min-height: 64px; }
  .hero { margin-top: 16px; display: grid; grid-template-columns: minmax(0, 1.7fr) minmax(0, 1fr); gap: 20px clamp(22px, 2.5vw, 36px); isolation: isolate; }
  .hero-copy { max-width: none; grid-column: 1; grid-row: 1; }
  .hero h1 { font-size: clamp(54px, 6.4vw, 90px); line-height: .96; }
  .hero-copy .lede { max-width: 100%; margin-top: 16px; font-size: clamp(18px, 1.7vw, 24px); }
  .hero-actions { margin-top: 16px; }
  .reading-stage { display: contents; }
  .reading-stage::before { content: ""; grid-column: 2; grid-row: 1 / span 2; align-self: center; width: calc(100% + 20px); height: 68%; margin-left: -44px; border-radius: 48px; background: var(--blue-pale); z-index: 0; }
  .reading-surface { grid-column: 1; grid-row: 2; align-self: start; width: 100%; min-height: 0; padding: 24px 28px; border-radius: 18px; z-index: 2; }
  .sample-cover { width: 36px; }
  .sample-book-header { gap: 12px; }
  .sample-book-title strong { font-size: 16px; }
  .sample-book-title > span:last-child { font-size: 13px; }
  .sample-label { font-size: 11px; }
  .reading-surface .passage { margin-top: 14px; font-size: 17px; line-height: 1.42; }
  .reading-surface .page-note { margin-top: 12px; font-size: 12px; line-height: 1.4; }
  .reading-surface .passage-nav { margin-top: 12px; }
  .phone-proof { position: relative; grid-column: 2; grid-row: 1 / span 2; align-self: center; justify-self: start; right: auto; bottom: auto; width: min(88%, 340px); margin: 16px 0; z-index: 1; }
  .phone-caption { display: none; }
  .hero + .section { margin-top: 36px; }
  .home-page #topics-title { font-size: clamp(34px, 4.5vw, 64px); }
  .home-page .section-intro { margin-bottom: 18px; }
  .home-page .topic-row { min-height: 116px; padding: 10px 14px; grid-template-columns: 64px minmax(210px, 1fr) 220px; gap: 22px; }
  .home-page .topic-copy strong { font-family: var(--body); font-size: clamp(23px, 2.8vw, 32px); }
  .home-page .topic-copy span { margin-top: 6px; font-size: 16px; line-height: 1.4; }
  .home-page .cover-pair img { width: clamp(64px, 8.5vw, 92px); }
  .home-page .blue-band { margin-top: 22px; }
  .home-page .blue-inner { min-height: 200px; padding: 12px 0; gap: 40px; }
  .home-page .blue-band h2 { font-size: clamp(32px, 4.2vw, 56px); }
  .home-page .blue-band p { font-size: 16px; margin-top: 12px; line-height: 1.45; }
  .home-library { margin-top: 20px; }
  .home-library .section-intro { display: block; }
  .home-library h2 { font-size: clamp(32px, 4.2vw, 58px); }
  .home-library .book-grid { grid-template-columns: repeat(4, 1fr); gap: 24px; }
  .home-library .book-card img { width: clamp(86px, 11vw, 140px); }
  .home-library .book-card strong { font-size: 15px; margin-top: 9px; }
  .home-library .book-card span { font-size: 13px; }
  .home-page .faq { margin-top: 24px; }
  .home-page .faq h2 { font-size: clamp(28px, 3.8vw, 46px); }
  .home-page .faq summary { min-height: 44px; font-size: 15px; }
  .home-page .closing-cta { margin-top: 24px; padding: 22px 24px; }
  .home-page .closing-cta h2 { font-size: clamp(28px, 3.8vw, 48px); }
  .home-page .closing-cta .button { margin-top: 16px; min-height: 44px; }
}
@media (min-width: 1100px) {
  .home-page .reading-surface { padding: 28px 32px; }
  .home-page .sample-cover { width: 48px; }
  .home-page .reading-surface .passage { font-size: 20px; line-height: 1.5; margin-top: 18px; }
  .home-page .reading-surface .passage-nav { margin-top: 16px; }
}
.home-page .closing-cta p { display: none; }
.home-page .closing-cta .button { margin-top: 20px; }
.home-route .site-footer { min-height: 52px; width: 100%; padding: 8px max(24px, calc((100% - 1180px)/2)); background: var(--ink); color: white; }
.home-route .site-footer .brand { color: white; }

@media (max-width: 680px) {
  body { font-size: 16px; }
  .preview-strip { justify-content: flex-start; flex-wrap: wrap; gap: 1px 8px; white-space: normal; line-height: 1.35; }
  .site-header { min-height: 72px; }
  .brand { font-size: 21px; }
  .menu-button { display: grid; place-items: center; }
  .site-nav { display: none; position: absolute; top: 66px; left: 0; right: 0; padding: 12px; background: var(--paper-light); box-shadow: var(--shadow); border-radius: 14px; align-items: stretch; }
  .site-nav.is-open { display: grid; gap: 4px; }
  .site-nav > a { padding: 12px 14px !important; }
  h1 { font-size: clamp(52px, 15vw, 70px); }
  h2 { font-size: clamp(39px, 11vw, 52px); }
  .hero { margin-top: 24px; }
  .hero h1 { font-size: clamp(42px, 11.5vw, 52px); line-height: .98; }
  .hero-copy .lede { font-size: 18px; line-height: 1.45; }
  .hero-actions { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 12px; }
  .hero-actions .button { min-width: 0; min-height: 48px; padding: 0 12px; font-size: 16px; }
  .reading-stage { display: block; margin-top: 36px; padding-top: clamp(290px, 83vw, 392px); min-height: 0; isolation: isolate; }
  .reading-stage::before { content: ""; position: absolute; z-index: -1; top: 70px; left: 0; right: 0; height: clamp(250px, 74vw, 360px); border-radius: 24px; background: var(--blue-pale); transform: rotate(-3deg); }
  .mobile-proof-cover { display: block; position: absolute; z-index: 0; top: clamp(100px, 34vw, 160px); left: 22px; width: clamp(104px, 30vw, 140px); transform: rotate(-10deg); transform-origin: 50% 100%; }
  .mobile-proof-cover img { width: 100%; height: auto; border-radius: 4px; box-shadow: 0 12px 24px rgba(23,44,59,.18); }
  .reading-surface { z-index: 2; min-height: 0; padding: 26px 24px; border-radius: 18px; }
  .reading-surface .passage, .reading-surface .passage-nav { max-width: none; }
  .reading-surface h3 { font-size: 22px; }
  .phone-proof { display: block; position: absolute; z-index: 1; top: 18px; right: 28px; bottom: auto; width: clamp(160px, 48vw, 220px); margin: 0; transform: rotate(5deg); transform-origin: 50% 0; pointer-events: none; }
  .phone-proof img { border-width: 4px; border-radius: 31px; }
  .phone-caption { display: none; }
  .hero + .section { margin-top: 72px; }
  .section { margin-top: 84px; }
  .section-intro { display: block; }
  .section-intro p { margin-top: 18px; }
  .topic-row { grid-template-columns: 50px 1fr; gap: 16px; padding: 24px 6px; }
  .topic-icon { width: 48px; height: 48px; border-radius: 13px; }
  .topic-copy strong { font-size: 27px; }
  .cover-pair { grid-column: 2; justify-content: flex-start; margin-top: 5px; }
  .cover-pair img { width: 62px; }
  .blue-band { margin-top: 84px; }
  .blue-inner { display: block; padding: 60px 0; }
  .book-grid { grid-template-columns: repeat(2, 1fr); gap: 26px 18px; }
  .faq { width: var(--page); }
  .closing-cta { margin-top: 84px; padding: 64px 18px; }
  .site-footer { padding: 20px 0 16px; min-height: 0; display: flex; flex-direction: column; align-items: stretch; gap: 12px; border-top: 1px solid var(--line); }
  .site-footer .brand-footer { align-self: flex-start; font-size: 19px; gap: 10px; }
  .site-footer .brand-footer img { width: 28px; height: 28px; border-radius: 8px; }
  .site-footer nav { justify-content: space-between; margin-top: 0; gap: 0 10px; line-height: 1.3; }
  .site-footer nav a { text-decoration: none; white-space: nowrap; }
  .site-footer nav a:hover, .site-footer nav a:focus-visible { text-decoration: underline; }
  .analytics-settings { align-self: flex-start; }
  .home-route .site-footer { padding: 20px 24px 16px; border-top-color: rgba(255,255,255,.15); }
  .download-route .site-footer { margin-top: 32px; }
  .inner-hero { display: flex; flex-direction: column-reverse; margin-top: 34px; gap: 32px; align-items: flex-start; }
  .inner-hero > div { min-width: 0; width: 100%; max-width: 100%; }
  .download-hero { grid-template-columns: minmax(0,1fr); gap: 32px; margin-top: 28px; }
  .download-copy h1 { font-size: clamp(44px,12vw,58px); }
  .download-lede { font-size: 19px; margin-top: 14px; }
  .download-book { gap: 16px; margin-top: 20px; }
  .download-book > img { width: clamp(76px,22vw,92px); }
  .download-book h2 { font-size: 23px; }
  .download-action { gap: 4px 14px; margin-top: 16px; }
  .download-store-note { max-width: 160px; }
  .store-badge img { height: 48px; }
  .download-recovery { margin-top: 8px; }
  .download-preview { width: 190px; }
  .download-availability { margin-top: 32px; }
  h1, h2, h3, .topic-copy { overflow-wrap: anywhere; }
  .topic-copy { min-width: 0; }
  .inner-cover { width: 160px; justify-self: auto; }
  .compact-section { margin-top: 70px; }
  .book-detail-grid { grid-template-columns: 1fr; }
  .content-panel { padding: 26px; }
}

@media (max-width: 680px) and (prefers-reduced-motion: no-preference) {
  .proof-fan .phone-proof { animation: phone-tuck 650ms cubic-bezier(.16,1,.3,1) both; }
  .proof-fan .mobile-proof-cover { animation: cover-tuck 650ms cubic-bezier(.16,1,.3,1) both; }
}
@keyframes phone-tuck { from { transform: translate(-12px, 18px) rotate(2deg); } to { transform: rotate(5deg); } }
@keyframes cover-tuck { from { transform: translate(12px, 14px) rotate(-2deg); } to { transform: rotate(-10deg); } }

@media (max-width: 350px) {
  :root { --page: calc(100% - 24px); }
  .page { padding: 28px 20px; }
  .passage { font-size: 16px; }
  .passage-nav { flex-direction: column; }
  .hero-actions { grid-template-columns: 1fr; }
  .download-store-note { border-left: 0; padding-left: 0; }
  .book-grid { gap: 22px 12px; }
}

@media (max-width: 600px) {
  .analytics-consent { left: 12px; right: 12px; bottom: 12px; grid-template-columns: minmax(0,1fr); gap: 14px; padding: 18px; }
  .analytics-consent-actions { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .analytics-consent-actions .button { padding: 0 10px; font-size: 14px; }
}

@media (max-width: 680px) {
  .blue-inner { padding: 38px 0 30px; }
  .blue-band p { font-size: 16px; line-height: 1.55; margin-top: 16px; }
  .experience-demo { width: min(100%, 420px); margin: 28px auto 0; }
  .experience-tab { min-width: 100px; }
  .home-page .blue-band .preview-text { font-size: 15px; margin-top: 8px; }
  .home-page .blue-band .experience-caption { font-size: 12px; margin-top: 10px; }
  .topic-row { grid-template-columns: 40px minmax(0,1fr) 64px; gap: 12px; padding: 20px 0; min-height: 144px; }
  .topic-icon { width: 38px; height: 38px; border-radius: 11px; }
  .topic-icon svg { width: 23px; }
  .topic-copy strong { font-family: var(--body); font-size: 22px; line-height: 1.1; }
  .topic-copy span { font-size: 14px; line-height: 1.45; margin-top: 7px; }
  .cover-pair { grid-column: auto; justify-content: flex-end; margin-top: 0; }
  .cover-pair img { width: 64px; }
  .cover-pair img + img { display: none; }
  .site-footer nav a { display: inline-flex; min-height: 44px; min-width: 44px; align-items: center; justify-content: center; }
  .brand { min-height: 44px; }
}
@media (pointer: coarse) {
  .preview-text a { min-height: 44px; }
  .site-footer nav a { min-height: 44px; min-width: 44px; display: inline-flex; align-items: center; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .button, .topic-row, .cover-pair img, .book-card img, .experience-tab { transition: none; }
}

/* Public information pages can contain long support addresses. */
.inner-page a[href^="mailto:"] { overflow-wrap: anywhere; }
