@font-face {
  font-family: "Amiri Quran";
  src: url("assets/AmiriQuran.ttf") format("truetype");
  font-display: swap;
  font-style: normal;
  font-weight: 400;
}

@font-face {
  font-family: Newsreader;
  src: url("assets/newsreader-latin.woff2") format("woff2");
  font-display: swap;
  font-style: normal;
  font-weight: 400 600;
}

:root {
  color-scheme: light;
  --paper: #f8f5ed;
  --stone: #eee8db;
  --pine: #19392f;
  --pine-dark: #122b23;
  --ink: #1c2821;
  --muted: #4e584e;
  --line: #d5cbbb;
  --copper: #795035;
  --light-text: #dce5d8;
  --light-line: #708579;
  --display: Newsreader, Georgia, serif;
  --body: system-ui, sans-serif;
  --gutter: clamp(1.1rem, 5.35vw, 4.75rem);
  --section-space: clamp(3.75rem, 8.5vw, 8rem);
  --settle: cubic-bezier(.2, .8, .25, 1);
}

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

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font: 1rem / 1.65 var(--body);
}

main:focus { outline: none; }
a { color: inherit; text-underline-offset: .25em; }
a:hover { text-decoration-thickness: 2px; }
:focus-visible { outline: 2px solid currentColor; outline-offset: .28rem; }

h1, h2, h3, p, figure, dl, dd { margin: 0; }

h1, h2, h3 {
  font-family: var(--display);
  font-weight: 500;
  line-height: 1.02;
  letter-spacing: -.045em;
  text-wrap: balance;
}

h1, h2 { color: var(--pine); }
h1 { font-size: clamp(3.65rem, 11.6vw, 9.25rem); }
h2 { font-size: clamp(2.85rem, 6.05vw, 5.65rem); }
h3 { font-size: clamp(1.65rem, 3vw, 2.05rem); }
img { display: block; max-inline-size: 100%; }
[hidden] { display: none !important; }
main[id], section[id], #review-example { scroll-margin-top: var(--chapter-offset, 8.3rem); }

.shell {
  width: min(calc(100% - var(--gutter) * 2), 80rem);
  margin-inline: auto;
}

.skip-link {
  position: fixed;
  inset: 1rem auto auto 1rem;
  z-index: 10;
  clip-path: inset(50%);
  pointer-events: none;
  background: var(--pine);
  color: var(--paper);
  padding: .65rem .95rem;
}

.skip-link:focus { clip-path: none; pointer-events: auto; }

.site-header {
  position: sticky;
  z-index: 5;
  top: 0;
  border-bottom: 1px solid #c7beac;
  background: var(--paper);
}

@supports (backdrop-filter: blur(16px)) {
  .site-header {
    background: #f8f5ede8;
    box-shadow: inset 0 1px #fff9f0, 0 5px 18px #2635280b;
    backdrop-filter: blur(16px) saturate(1.22);
  }
}

.masthead {
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  gap: .1rem .7rem;
  min-height: 4.875rem;
  padding-block: .6rem .35rem;
}

.wordmark {
  display: inline-flex;
  width: fit-content;
  align-items: center;
  gap: .55rem;
  min-height: 2.75rem;
  color: var(--pine);
  text-decoration: none;
  font: 550 1.82rem / 1 var(--display);
  letter-spacing: -.05em;
}

.wordmark img { border-radius: .5rem; }

.masthead nav {
  grid-column: 1 / -1;
  grid-row: 2;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  column-gap: clamp(.4rem, 2.5vw, 1.6rem);
}

.masthead nav a, .header-end {
  display: inline-flex;
  align-items: center;
  min-height: 2.75rem;
  font-size: .92rem;
  font-weight: 650;
  text-decoration: none;
}

.header-end {
  grid-column: 2;
  grid-row: 1;
  justify-self: end;
  border: 1px solid #c9cfc2;
  border-radius: 999px;
  padding-inline: .95rem;
  background: #faf8f2a8;
  color: var(--pine);
  box-shadow: inset 0 1px #fff, 0 2px 6px #1b392610;
}

.masthead nav a:hover, .header-end:hover { text-decoration: underline; }

.site-header.home-header {
  border: 0;
  background: transparent;
  box-shadow: none;
  backdrop-filter: none;
  pointer-events: none;
}

.home-header .masthead {
  position: relative;
  isolation: isolate;
  width: min(calc(100% - var(--gutter) * 2 + 1.3rem), 81.3rem);
  padding: .65rem .65rem .42rem;
  pointer-events: auto;
}

.home-header .masthead::before {
  content: "";
  position: absolute;
  z-index: -1;
  inset: .36rem 0 0;
  border: 1px solid #b9cbbb;
  border-radius: 1.35rem;
  background: var(--paper);
  box-shadow: inset 0 1px #fffff6, 0 .5rem 1.4rem #192f2322;
  pointer-events: none;
}

.home-header[data-enhanced] .masthead::before {
  opacity: 0;
  transition: opacity 320ms var(--settle);
}

.home-header[data-raised] .masthead::before,
.home-header[data-enhanced]:focus-within .masthead::before { opacity: 1; }

@supports (backdrop-filter: blur(18px)) {
  .home-header .masthead::before {
    background: #f8f5eddb;
    backdrop-filter: blur(18px) saturate(1.32);
  }
}

.masthead .chapter-nav {
  position: relative;
  isolation: isolate;
  gap: .05rem .1rem;
}

.masthead .chapter-nav a {
  flex: 1 1 auto;
  justify-content: center;
  padding-inline: .35rem;
  border-radius: 999px;
  font-size: .86rem;
  white-space: nowrap;
  transition: color 160ms ease;
}

@media (max-width: 22.5rem) {
  .masthead .chapter-nav a { flex-basis: 0; min-width: 2.75rem; padding-inline: .12rem; font-size: .8rem; }
}

.chapter-nav a:focus-visible, .header-end:focus-visible { outline-offset: 2px; }
.chapter-nav a[aria-current="location"] { color: var(--pine); }
.chapter-nav a[aria-current="location"]:hover { text-decoration: none; }

.chapter-selection {
  position: absolute;
  z-index: -1;
  left: 0;
  top: 0;
  width: var(--selection-width, 0);
  height: var(--selection-height, 0);
  transform: translate3d(var(--selection-x, 0), var(--selection-y, 0), 0);
  border: 1px solid #bacdbb;
  border-radius: 999px;
  background: linear-gradient(#e6eee1, #d7e6d7);
  box-shadow: inset 0 1px #fffff4, 0 1px 3px #2e493014;
  opacity: 0;
  pointer-events: none;
  transition: transform 360ms var(--settle), width 360ms var(--settle), height 250ms var(--settle), opacity 170ms ease;
}

.chapter-nav[data-selected] .chapter-selection { opacity: 1; }
.header-end[aria-current="location"] { border-color: #a6bfac; background: #dce9db; }

@media (forced-colors: active) {
  .chapter-nav a[aria-current="location"], .header-end[aria-current="location"] { text-decoration: underline; }
  .chapter-selection { display: none; }
}

.hero {
  display: grid;
  align-items: center;
  gap: clamp(2rem, 5vw, 5.5rem);
  padding-block: clamp(3rem, 7vw, 6.15rem) clamp(3.3rem, 6vw, 6rem);
}

.eyebrow {
  margin-bottom: 1rem;
  color: var(--copper);
  font-size: .875rem;
  font-weight: 675;
  line-height: 1.45;
}

.lede, .section-copy > p:not(.eyebrow) {
  max-width: 44ch;
  margin-top: 1.15rem;
  color: var(--muted);
  font-size: clamp(1.02rem, 1.35vw, 1.16rem);
}

.lede { max-width: 34ch; }

.launch-date {
  max-width: 37ch;
  margin-top: 1rem;
  color: var(--pine);
  font-size: .95rem;
  font-weight: 640;
}

.hero-actions {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: .55rem 1.1rem;
  margin-top: 1.65rem;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .48rem;
  min-height: 3.15rem;
  border: 1px solid #396252;
  border-radius: 999px;
  background: var(--pine);
  color: var(--paper);
  padding: .6rem 1.28rem;
  font-weight: 650;
  text-decoration: none;
  box-shadow: inset 0 1px #abc5aa66, 0 5px 16px #19392f23;
  transition: background-color 180ms ease, transform 260ms var(--settle), box-shadow 260ms var(--settle);
}

.button:focus-visible { outline-color: var(--pine); }
.button:hover { background: #285041; box-shadow: inset 0 1px #abc5aa66, 0 7px 19px #19392f3b; }
.button:active { transform: scale(.965); }

.first-look {
  border-block: 1px solid var(--line);
  background: #e8eee5;
  padding-block: clamp(2.75rem, 6vw, 5.5rem);
}

.first-look-layout {
  display: grid;
  align-items: center;
  gap: 1.8rem clamp(2rem, 6vw, 5.25rem);
}

.first-look-layout video {
  display: block;
  justify-self: center;
  width: min(100%, 16.5rem);
  height: auto;
  border-radius: 1.3rem;
  background: var(--pine);
  box-shadow: 0 1rem 2.35rem #10161038;
}

.hero-stage, .reader-stage, .watch-stage, .mushaf-stage {
  position: relative;
  display: grid;
  place-items: center;
  isolation: isolate;
  overflow: hidden;
}

.hero-stage {
  min-height: clamp(24rem, 43vw, 36rem);
  padding: clamp(1.6rem, 4vw, 2.8rem) 1rem 1.1rem;
  gap: 1.05rem;
  background-color: #19372d;
  background-image: radial-gradient(ellipse at 52% 8%, #d3d6ab26 0%, transparent 60%);
  border: 1px solid #77918178;
  border-radius: 50% 50% 1rem 1rem / 23% 23% 1rem 1rem;
  box-shadow: 0 1.35rem 3.3rem #19392f24, inset 0 1px #eef3e559;
  transition: background-color .55s var(--settle);
}

.hero-stage[data-active="listen"] { background-color: #193a35; }
.hero-stage[data-active="revise"] { background-color: #382f3b; }

.hero-stage::before, .hero-stage::after {
  content: "";
  position: absolute;
  z-index: -1;
  border: 1px solid #b0c2a552;
  border-radius: 50% 50% 0 0 / 35% 35% 0 0;
}

.hero-stage::before { inset: 11% 11% -11%; }
.hero-stage::after { inset: 19% 18% -11%; }

.hero-stage .phone {
  border-color: #233a31;
  box-shadow: 0 1rem 2.4rem #07191170, 0 0 0 1px #c9dfc26e, inset 0 1px #f5fae675;
  touch-action: pan-y;
}

.preview-rail {
  --current-preview: 0;
  position: relative;
  isolation: isolate;
  width: min(18rem, 100%);
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0;
  border: 1px solid #d4e7d17d;
  border-radius: 1.7rem;
  background: #1e382f;
  color: #f5f4e9;
  box-shadow: inset 0 1px #f4f7dd4d, 0 .5rem 1.3rem #0719115e;
}

.hero-stage[data-active="listen"] .preview-rail { --current-preview: 1; }
.hero-stage[data-active="revise"] .preview-rail { --current-preview: 2; background-color: #372b37; }

@supports (backdrop-filter: blur(14px)) {
  .preview-rail { background: #c9f0d725; backdrop-filter: blur(14px) saturate(1.18); }
  .hero-stage[data-active="revise"] .preview-rail { background: #f3d4ec28; }
}

.preview-indicator {
  position: absolute;
  z-index: -1;
  inset: 3px auto 3px 3px;
  width: calc((100% - 6px) / 3);
  transform: translateX(calc(var(--current-preview) * 100%));
  border: 1px solid #fffff53b;
  border-radius: 1.5rem;
  background: #c6dccb;
  box-shadow: inset 0 1px #fffff5c2, 0 .18rem .6rem #0e271340;
  transition: transform .38s var(--settle), background-color .25s var(--settle);
}

.hero-stage[data-active="revise"] .preview-indicator { background-color: #e8d9e6; }

.preview-rail button {
  min-width: 0;
  min-height: 3rem;
  border: 0;
  border-radius: 1.5rem;
  padding: .25rem .3rem;
  background: transparent;
  color: inherit;
  cursor: pointer;
  font: 650 .9rem / 1.25 var(--body);
  transition: color .16s ease, transform .24s var(--settle);
}

.preview-rail button:active { transform: scale(.93); }
.preview-rail button[aria-pressed="true"] { color: #16382b; }
.preview-rail button:focus-visible { outline: 2px solid #fff7de; outline-offset: 2px; }

.phone, .watch {
  position: relative;
  overflow: hidden;
  background: #141b17;
  border: .33rem solid #18211b;
  box-shadow: 0 1rem 2.35rem #10161045, 0 .15rem .5rem #10161055;
}

.phone {
  width: min(74%, 15.75rem);
  border-radius: clamp(1.55rem, 4vw, 2.15rem);
}

.phone img, .watch img, .mushaf-stage img { width: 100%; height: auto; }

figcaption {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: .1rem .75rem;
  padding-top: .7rem;
  color: var(--muted);
  font-size: .875rem;
}

figcaption span { font-weight: 610; }

.reading-section {
  border-block: 1px solid var(--line);
  background: #f3eee3;
  padding-block: var(--section-space);
}

.reading-layout, .review-layout, .plus-section, .faq-layout {
  display: grid;
  gap: clamp(2.25rem, 7vw, 7rem);
  align-items: center;
}

.reader-stage {
  padding: clamp(1.55rem, 4vw, 3.2rem) 1rem;
  background: #e7decd;
  border-radius: .35rem;
}

.reader-stage::before {
  content: "";
  position: absolute;
  inset: 2.25rem 14% -2rem;
  z-index: -1;
  border: 1px solid #b1a38759;
  border-radius: 50% 50% 0 0 / 26% 26% 0 0;
  box-shadow: 0 0 0 .85rem #e7decd, 0 0 0 calc(.85rem + 1px) #b1a38746;
}

.reader-stage .phone { width: min(70%, 14rem); }

.reading-notes {
  padding: 0;
  margin: 1.45rem 0 0;
  list-style: none;
  color: var(--muted);
}

.reading-notes li {
  max-width: 34ch;
  border-top: 1px solid var(--line);
  padding: .55rem 0 .55rem 1.2rem;
  position: relative;
}

.reading-notes li::before {
  content: "";
  position: absolute;
  top: 1.2rem;
  left: .05rem;
  width: .48rem;
  height: 1px;
  background: var(--copper);
}

.text-link {
  display: inline-flex;
  align-items: center;
  min-height: 2.75rem;
  margin-top: .4rem;
  color: var(--pine);
  font-weight: 650;
}

.listening-section {
  display: grid;
  align-items: center;
  gap: clamp(1.75rem, 6vw, 6.5rem);
  padding-block: clamp(3.35rem, 6.5vw, 5.5rem);
}

.listening-section h2 { font-size: clamp(2.85rem, 5.5vw, 4.65rem); }

.audio-preview {
  max-width: 32rem;
  margin-block: 1.45rem .25rem;
  padding: .9rem clamp(.7rem, 3vw, 1.15rem);
  border: 1px solid #c3cfc2;
  border-radius: 1.15rem;
  background: #edf0e6;
  box-shadow: inset 0 1px #fffaf1, 0 .65rem 1.4rem #19392f16;
}

.audio-reference {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: .12rem .65rem;
  padding: .2rem .15rem .85rem;
  color: var(--muted);
  font-size: .88rem;
}

.audio-reference p:first-child { color: var(--pine); font-weight: 680; }

.audio-track {
  min-width: 0;
  padding: .55rem .2rem;
  border-top: 1px solid #d0dacd;
  color: var(--pine);
}

.audio-track p { font-size: .9rem; font-weight: 640; }
.audio-track audio { display: block; width: 100%; margin-top: .4rem; }
.audio-track[data-playing] p { color: #146847; }

.audio-track[data-enhanced] {
  display: grid;
  grid-template-columns: 2.85rem minmax(0, 1fr);
  align-items: center;
  gap: 0 .75rem;
  padding-block: .75rem;
}

.sample-play {
  display: grid;
  grid-row: 1 / span 2;
  place-items: center;
  width: 2.85rem;
  height: 2.85rem;
  border: 1px solid #93aa9b;
  border-radius: 50%;
  background: #d7e5d9;
  color: var(--pine);
  cursor: pointer;
  box-shadow: inset 0 1px #fffaf2, 0 3px 7px #19392f19;
  transition: background-color .18s ease, transform .24s var(--settle);
}

.sample-play:hover { background: #c4dbc9; }
.sample-play:active { transform: scale(.94); }

.sample-play::before {
  content: "";
  width: .73rem;
  height: .88rem;
  margin-left: .12rem;
  background: currentColor;
  clip-path: polygon(0 0, 100% 50%, 0 100%);
}

.audio-track[data-playing] .sample-play { border-color: #396252; background: var(--pine); color: var(--paper); }
.audio-track[data-playing] .sample-play::before {
  margin-left: 0;
  clip-path: polygon(0 0, 34% 0, 34% 100%, 0 100%, 0 0, 66% 0, 100% 0, 100% 100%, 66% 100%, 66% 0);
}
.sample-play:focus-visible { outline-color: var(--pine); }

.sample-heading { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: baseline; gap: 0 .55rem; }
.sample-time { color: var(--muted); font-size: .78rem; font-variant-numeric: tabular-nums; }
.sample-position {
  width: 100%;
  height: .35rem;
  margin-block: .45rem;
  overflow: hidden;
  appearance: none;
  border: 0;
  border-radius: 999px;
  background: #d5dbcc;
  color: var(--pine);
}

.sample-position::-webkit-progress-bar { background: #d5dbcc; }
.sample-position::-webkit-progress-value { border-radius: 999px; background: var(--pine); }
.sample-position::-moz-progress-bar { border-radius: 999px; background: var(--pine); }
.audio-track .sample-error { grid-column: 2; color: #814434; font-size: .82rem; }

.listening-figure { min-width: 0; }

.listening-stage {
  display: grid;
  place-items: center;
  padding: clamp(1.35rem, 3.8vw, 3.25rem);
  background: #dedfd2;
  border: 1px solid #cdd0c0;
  border-radius: .35rem;
}

.listening-stage img {
  width: min(100%, 19rem);
  height: auto;
  border: 1px solid #b8bdad;
  border-radius: clamp(1.3rem, 3.5vw, 2rem);
  box-shadow: 0 .5rem 1.35rem #21362c21;
}

.practice-section {
  background: var(--stone);
  border-block: 1px solid var(--line);
  padding-block: var(--section-space);
}

.practice-layout {
  display: grid;
  align-items: center;
  gap: clamp(2rem, 6vw, 6.5rem);
}

.practice-details {
  max-width: 36rem;
  margin-top: 1.65rem;
}

.practice-details > div {
  border-top: 1px solid var(--line);
  padding: .85rem 0;
}

.practice-details dt { color: var(--pine); font-weight: 680; }
.practice-details dd { margin-top: .15rem; color: var(--muted); }

.practice-stage {
  display: grid;
  place-items: center;
  background: var(--pine);
  border: 1px solid var(--pine-dark);
  border-radius: clamp(1.2rem, 3vw, 2.45rem);
  padding: clamp(1.4rem, 4.8vw, 4rem);
}

.practice-stage .phone {
  width: min(85%, 18rem);
  border-color: #829486;
}

.review-section {
  background: var(--pine);
  color: var(--paper);
  padding-block: var(--section-space);
}

.review-section h2 { color: inherit; }
.review-section .eyebrow { color: #f5c69d; }

.review-section .section-copy > p:not(.eyebrow),
.watch-copy p, .watch-figure figcaption { color: var(--light-text); }

.review-example {
  max-width: 35rem;
  margin-top: 1.8rem;
  padding: clamp(1rem, 3.4vw, 1.7rem) clamp(1rem, 3.4vw, 1.7rem) .75rem;
  border: 1px solid #dbceb8;
  border-radius: .35rem;
  background: var(--paper);
  color: var(--pine);
  box-shadow: 0 .8rem 2.4rem #0b1a1660;
}

.review-example-heading {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: .25rem 1rem;
  padding-bottom: .85rem;
}

.review-example-heading h3 {
  font-size: clamp(1.65rem, 3vw, 2rem);
  text-wrap: wrap;
}

.review-example-heading p {
  color: var(--copper);
  font-size: .9rem;
  font-weight: 650;
}

.review-example details { border-top: 1px solid var(--line); }

.review-example summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: .75rem;
  min-height: 2.9rem;
  padding-block: .55rem;
  list-style: none;
  cursor: pointer;
  font-weight: 650;
}

.review-example summary::-webkit-details-marker { display: none; }
.review-example summary:hover { color: var(--copper); }
.disclosure-mark { flex: none; width: 1rem; color: var(--copper); }
.disclosure-mark::before { content: "+"; }
.review-example details[open] .disclosure-mark::before { content: "−"; }

.review-arabic {
  padding: .45rem .25rem 1rem;
  color: var(--pine-dark);
  font: 400 clamp(1.75rem, 5vw, 2.55rem) / 1.9 "Amiri Quran", serif;
}

.review-source {
  display: inline-flex;
  align-items: center;
  min-height: 2.75rem;
  color: var(--muted);
  font-size: .875rem;
}

.watch-feature { min-width: 0; }
.watch-copy { max-width: 44ch; margin-top: 1.3rem; }
.watch-copy p { margin-top: .5rem; }

.watch-stage {
  min-height: clamp(15.5rem, 35vw, 25rem);
  padding: 1.4rem;
  background: var(--pine-dark);
  border-radius: 12rem 12rem .35rem .35rem;
}

.watch-stage::before {
  content: "";
  position: absolute;
  z-index: -1;
  width: min(78%, 19rem);
  aspect-ratio: 1;
  border: 1px solid #68857990;
  border-radius: 100%;
  box-shadow: inset 0 0 0 1rem var(--pine-dark), inset 0 0 0 calc(1rem + 1px) #68857990;
}

.watch {
  width: min(49%, 12.3rem);
  border-radius: clamp(1.6rem, 4vw, 2.55rem);
}

.plus-section { padding-block: var(--section-space); }
.plus-section h2 { font-size: clamp(2.85rem, 5.65vw, 5rem); }

.plus-tools { margin-top: 1.45rem; }

.plus-tools > div {
  border-top: 1px solid var(--line);
  padding: .8rem 0 .9rem;
}

.plus-tools dt { color: var(--pine); font-weight: 690; }
.plus-tools dd { max-width: 51ch; margin-top: .16rem; color: var(--muted); }

.mushaf-stage {
  padding: clamp(1rem, 3.25vw, 2.55rem);
  background: var(--stone);
  border-radius: .35rem;
}

.mushaf-stage img {
  width: min(100%, 26rem);
  border: .4rem solid var(--pine-dark);
  border-radius: clamp(1rem, 3vw, 1.85rem);
  box-shadow: 0 .65rem 1.8rem #1c2f2140;
}

.league-section {
  background: var(--pine);
  color: var(--paper);
  padding-block: var(--section-space);
}

.league-section h2, .league-section .practice-details dt { color: var(--paper); }
.league-section .eyebrow { color: #f5c69d; }
.league-section .section-copy > p:not(.eyebrow),
.league-section .practice-details dd, .league-section figcaption { color: var(--light-text); }
.league-section .practice-details > div { border-color: var(--light-line); }

.league-stage {
  padding-block: clamp(2.1rem, 5.6vw, 4.9rem);
  border: 1px solid #597669;
  border-radius: 50% 50% 1.15rem 1.15rem / 26% 26% 1.15rem 1.15rem;
  background: #20372d;
}

.league-stage::before {
  border-color: #b2c59d59;
  box-shadow: 0 0 0 1.1rem #20372d, 0 0 0 calc(1.1rem + 1px) #b2c59d52;
}

.league-stage .phone {
  width: min(66%, 16rem);
  border-color: #577064;
  box-shadow: 0 .8rem 3rem #0b2118ac, 0 0 0 1px #a2baa869;
  translate: -13% 0;
}

.league-detail {
  position: absolute;
  right: clamp(.95rem, 5.9vw, 3.45rem);
  bottom: 24%;
  width: min(53%, 17.25rem);
  overflow: hidden;
  border: 1px solid #eeeadc;
  border-radius: clamp(.65rem, 2.5vw, 1.1rem);
  background: var(--paper);
  box-shadow: 0 .9rem 2.4rem #071b15ab, 0 0 0 1px #bed1bb57;
}

.league-detail img {
  width: 100%;
  height: auto;
  aspect-ratio: 1.76;
  object-fit: cover;
  object-position: top;
}

.faq-section {
  border-top: 1px solid var(--line);
  background: #f0ebe0;
  padding-block: clamp(3.35rem, 7vw, 6rem);
}

.faq-layout { align-items: start; }
.faq-layout h2 { font-size: clamp(2.7rem, 5vw, 4.4rem); }

.questions details { border-top: 1px solid var(--line); }
.questions details:last-child { border-bottom: 1px solid var(--line); }

.questions summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: .7rem;
  min-height: 3.2rem;
  padding-block: .6rem;
  padding-inline: .15rem;
  list-style: none;
  cursor: pointer;
  color: var(--pine);
  font-weight: 650;
}

.questions summary::-webkit-details-marker { display: none; }

.questions summary::after {
  content: "+";
  flex: none;
  margin-right: .15rem;
  color: var(--copper);
  font-size: 1.22rem;
  font-weight: 460;
}

.questions details[open] summary::after { content: "−"; }

.questions p {
  max-width: 58ch;
  color: var(--muted);
  padding: 0 .15rem 1.05rem;
}

.site-footer { border-top: 1px solid var(--line); }

.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: .7rem 1.25rem;
  padding-block: 1.35rem;
  color: var(--muted);
  font-size: .875rem;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0 1rem;
}

.footer-links a, .policy-actions a {
  display: inline-flex;
  align-items: center;
  min-height: 2.75rem;
}

.policy { max-width: 45rem; padding-block: clamp(3.1rem, 8vw, 6.25rem); }
.policy h1 { font-size: clamp(3.1rem, 8vw, 5.3rem); }
.policy h2 { margin-top: 2.3rem; font-size: clamp(1.9rem, 4vw, 2.55rem); text-wrap: wrap; }
.policy p { margin-top: .75rem; color: var(--muted); }
.policy-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0 1.3rem;
  margin-top: 2rem;
  border-top: 1px solid var(--line);
  padding-top: .45rem;
}

@media (min-width: 48rem) {
  main[id], section[id], #review-example { scroll-margin-top: var(--chapter-offset, 6.3rem); }
  .masthead {
    grid-template-columns: 1fr auto 1fr;
    padding-block: .6rem;
  }

  .masthead nav, .header-end { grid-row: 1; }
  .masthead nav { grid-column: 2; column-gap: clamp(1.25rem, 3vw, 2.35rem); }
  .masthead .chapter-nav { column-gap: clamp(.15rem, .7vw, .6rem); }
  .masthead .chapter-nav a { padding-inline: clamp(.46rem, 1.15vw, 1rem); font-size: .92rem; }
  .header-end { grid-column: 3; }
  .hero { grid-template-columns: minmax(0, 1fr) minmax(0, .93fr); }
  .hero h1 { max-width: 10ch; font-size: clamp(4.1rem, 7.8vw, 7.5rem); }
  .hero-stage .phone { width: min(61%, 17.75rem); }
  .audio-track:not([data-enhanced]) { display: grid; grid-template-columns: 6.3rem minmax(0, 1fr); align-items: center; }
  .audio-track audio { margin-top: 0; }
  .first-look-layout { grid-template-columns: minmax(0, 1fr) minmax(0, .75fr); }
  .reading-layout { grid-template-columns: minmax(0, .88fr) minmax(0, 1fr); }
  .reading-layout .section-copy { grid-area: 1 / 2; }
  .reader-figure { grid-area: 1 / 1; }
  .listening-section { grid-template-columns: minmax(0, .9fr) minmax(0, 1fr); }
  .practice-layout { grid-template-columns: minmax(0, .93fr) minmax(0, 1fr); }
  .review-layout { grid-template-columns: minmax(0, 1fr) minmax(0, .84fr); }
  .plus-section { grid-template-columns: minmax(0, 1fr) minmax(0, .92fr); }
  .faq-layout { grid-template-columns: minmax(0, .67fr) minmax(0, 1fr); }
}

@keyframes opening-copy {
  from { opacity: .65; transform: translateY(10px); }
  to { opacity: 1; transform: none; }
}

@keyframes chapter-title-in {
  from { opacity: .68; transform: translateY(clamp(12px, 2.2vw, 30px)); }
  to { opacity: 1; transform: none; }
}

@keyframes chapter-visual-in {
  from { opacity: .74; transform: translateY(clamp(16px, 3vw, 46px)) scale(.965); }
  to { opacity: 1; transform: none; }
}

@keyframes hero-drift {
  to { opacity: .86; transform: translateY(-22px) scale(.975); }
}

@keyframes league-detail-in {
  from { transform: translateY(18px) scale(.96); }
  to { transform: none; }
}

@keyframes reading-progress {
  from { transform: scaleX(0); }
  to { transform: scaleX(1); }
}

@media (prefers-reduced-motion: no-preference) {
  .hero-copy > * { animation: opening-copy .55s var(--settle) both; }
  .hero-copy h1 { animation-delay: 55ms; }
  .hero-copy .lede, .hero-copy .launch-date { animation-delay: 115ms; }
  .hero-copy .hero-actions { animation-delay: 165ms; }
  .hero-copy:focus-within > * { animation: none; }

  @supports (animation-timeline: view()) and (animation-range: entry 5% entry 85%) {
    [data-scroll-title] {
      animation: chapter-title-in var(--settle) both;
      animation-timeline: view();
      animation-range: entry 1% entry 73%;
    }

    [data-scroll-visual] {
      animation: chapter-visual-in var(--settle) both;
      animation-timeline: view();
      animation-range: entry 5% entry 85%;
    }

    [data-scroll-title]:focus,
    [data-scroll-visual]:focus-visible,
    [data-scroll-visual]:focus-within { animation: none; }

    .hero-figure {
      animation: hero-drift linear both;
      animation-timeline: view();
      animation-range: exit 12% exit 92%;
    }

    .hero-figure:focus-within { animation: none; }

    .league-detail {
      animation: league-detail-in var(--settle) both;
      animation-timeline: view();
      animation-range: entry 5% entry 90%;
    }
  }

  @supports (animation-timeline: scroll(root block)) {
    .home-header[data-raised] .masthead::after {
      content: "";
      position: absolute;
      inset: auto 1.25rem 0;
      height: 1px;
      background: #759984;
      pointer-events: none;
      transform-origin: left center;
      animation: reading-progress linear both;
      animation-timeline: scroll(root block);
    }
  }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .button, .preview-rail button, .preview-indicator, .hero-stage, .sample-play { transition: none; }
  .button:active, .preview-rail button:active, .sample-play:active { transform: none; }
  .home-header[data-enhanced] .masthead::before, .chapter-selection, .chapter-nav a { transition: none; }
}

@media (prefers-reduced-transparency: reduce) {
  .site-header, .home-header .masthead::before { background: var(--paper); backdrop-filter: none; }
  .preview-rail { background: #1e382f; backdrop-filter: none; }
}
