/* =========================================================
   Stage 4 — CTA + Contact sections
   ========================================================= */

/* Local fonts (self-hosted, copied from clw-clean) */
@font-face {
  font-family: "Fira Sans Condensed";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("../fonts/fira-sans-condensed-400.woff2?v=2026-09-16-2211") format("woff2");
}
@font-face {
  font-family: "Fira Sans Condensed";
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url("../fonts/fira-sans-condensed-500.woff2?v=2026-09-16-2211") format("woff2");
}
@font-face {
  font-family: "Fira Sans Condensed";
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url("../fonts/fira-sans-condensed-600.woff2?v=2026-09-16-2211") format("woff2");
}
@font-face {
  font-family: "Fira Sans Condensed";
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url("../fonts/fira-sans-condensed-700.woff2?v=2026-09-16-2211") format("woff2");
}
@font-face {
  font-family: "Fira Sans Condensed";
  font-style: normal;
  font-weight: 800;
  font-display: swap;
  src: url("../fonts/fira-sans-condensed-800.woff2?v=2026-09-16-2211") format("woff2");
}
@font-face {
  font-family: "Lato";
  font-style: normal;
  font-weight: 300;
  font-display: swap;
  src: url("../fonts/lato-300.woff2?v=2026-09-16-2211") format("woff2");
}
@font-face {
  font-family: "Lato";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("../fonts/lato-400.woff2?v=2026-09-16-2211") format("woff2");
}
@font-face {
  font-family: "Lato";
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url("../fonts/lato-700.woff2?v=2026-09-16-2211") format("woff2");
}

:root {
  color-scheme: light dark;

  --bg: #fafafa;
  --fg: #0c0c0c;
  --muted: #444444;
  --line: #e0e0e0;
  --surface: #f2f2f2;

  --font-heading: "Fira Sans Condensed", sans-serif;
  --font-body: "Lato", sans-serif;

  --easing: cubic-bezier(0.22, 1, 0.36, 1);

  --purchase-bar-height: 96px;
  --purchase-bar-height-mobile: 72px;

  --footer-bg: #062346;
  --footer-line: #fcb130;
  --footer-text: rgba(255, 255, 255, 0.55);
}

@media (prefers-color-scheme: dark) {
  :root:not([data-theme]) {
    --bg: #0c0c0c;
    --fg: #f2f2f2;
    --muted: #dddddd;
    --line: #2a2a2a;
    --surface: #141414;
  }
}

:root[data-theme="dark"] {
  --bg: #0c0c0c;
  --fg: #f2f2f2;
  --muted: #dddddd;
  --line: #2a2a2a;
  --surface: #141414;
}

:root[data-theme="light"] {
  --bg: #fafafa;
  --fg: #0c0c0c;
  --muted: #444444;
  --line: #e0e0e0;
  --surface: #f2f2f2;
}

* {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  padding: 0;
  height: 100%;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-body);
  color: var(--fg);
  background-color: var(--bg);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* ---------------------------------------------------------
   Theme toggle
   --------------------------------------------------------- */
.theme-toggle {
  position: fixed;
  top: 28px;
  right: 28px;
  z-index: 100;
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--line);
  border-radius: 50%;
  background-color: var(--bg);
  color: var(--fg);
  cursor: pointer;
  transition: border-color 200ms ease, background-color 200ms ease;
}

.theme-toggle:hover {
  border-color: var(--fg);
}

.theme-toggle__icon {
  position: absolute;
  transition: opacity 250ms ease, transform 250ms var(--easing);
}

.theme-toggle__icon--sun {
  opacity: 1;
  transform: rotate(0deg) scale(1);
}

.theme-toggle__icon--moon {
  opacity: 0;
  transform: rotate(-90deg) scale(0.5);
}

.theme-toggle[aria-pressed="true"] .theme-toggle__icon--sun {
  opacity: 0;
  transform: rotate(90deg) scale(0.5);
}

.theme-toggle[aria-pressed="true"] .theme-toggle__icon--moon {
  opacity: 1;
  transform: rotate(0deg) scale(1);
}

/* ---------------------------------------------------------
   Split-screen layout
   --------------------------------------------------------- */
.page {
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-template-rows: repeat(8, minmax(100vh, auto));
  min-height: 100vh;
}

.preview {
  grid-column: 1;
  grid-row: 1 / 9;
  position: sticky;
  top: 0;
  display: flex;
  flex-direction: column;
  height: 100vh;
  background-color: var(--surface);
}

.section {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 100vh;
  padding: 10vh 7vw;
}

.section--hero {
  grid-column: 2;
  grid-row: 1;
}

.section--details {
  grid-column: 2;
  grid-row: 2;
}

.section--features {
  grid-column: 2;
  grid-row: 3;
}

.section--reviews {
  grid-column: 2;
  grid-row: 4;
}

.section--cta {
  grid-column: 2;
  grid-row: 5;
}

.section--contact {
  grid-column: 2;
  grid-row: 6;
}

.section--final-cta {
  grid-column: 2;
  grid-row: 7;
}

.section--about {
  grid-column: 2;
  grid-row: 8;
}

.section__well {
  position: relative;
  max-width: 540px;
  width: 100%;
}

.section--hero .section__well {
  padding-bottom: 6rem;
}

.section__footer {
  margin-top: 2rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--line);
}

.trust-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
  margin: 2.5rem 0 0;
}

/* ---------------------------------------------------------
   Key features
   --------------------------------------------------------- */
.features-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2.5rem 2rem;
  margin-top: 2.5rem;
}

.feature {
  display: flex;
  flex-direction: column;
  gap: 0.625rem;
}

.feature__icon {
  color: var(--fg);
  margin-bottom: 0.25rem;
}

.feature__title {
  margin: 0;
  font-family: var(--font-heading);
  font-size: clamp(1.0625rem, 1.4vw, 1.25rem);
  font-weight: 700;
  line-height: 1.25;
  color: var(--fg);
}

.feature__text {
  margin: 0;
  font-family: var(--font-body);
  font-size: 1rem;
  font-weight: 300;
  line-height: 1.6;
  color: var(--muted);
}

.features-closing {
  margin: 3rem 0 0;
  font-family: var(--font-body);
  font-size: 0.9375rem;
  font-weight: 300;
  line-height: 1.6;
  color: var(--muted);
}

/* ---------------------------------------------------------
   Reviews peek carousel
   --------------------------------------------------------- */
.reviews-intro {
  margin-bottom: 2rem;
}

.reviews-carousel {
  position: relative;
}

.reviews-carousel__viewport {
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  scrollbar-width: none;
  -ms-overflow-style: none;
}

.reviews-carousel__viewport::-webkit-scrollbar {
  display: none;
}

.reviews-track {
  display: flex;
  gap: 1rem;
  padding: 0.25rem 0 1rem;
}

.review-card {
  flex: 0 0 82%;
  width: 82%;
  margin: 0;
  padding: 1.75rem;
  display: flex;
  flex-direction: column;
  scroll-snap-align: start;
  scroll-snap-stop: always;
  border: 1px solid var(--line);
  background-color: var(--surface);
}

.review-card__quote {
  flex: 1 0 auto;
}

.review-card__quote p {
  margin: 0;
  font-family: var(--font-body);
  font-size: 1rem;
  font-weight: 400;
  line-height: 1.65;
  color: var(--fg);
}

.review-card__quote p + p {
  margin-top: 0.75rem;
}

.review-card__footer {
  margin-top: 1.25rem;
  font-family: var(--font-heading);
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--muted);
}

.reviews-carousel__nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin-top: 0.5rem;
}

.reviews-carousel__arrow {
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  border: 1px solid var(--line);
  border-radius: 50%;
  background-color: transparent;
  color: var(--fg);
  cursor: pointer;
  transition: border-color 200ms ease, background-color 200ms ease, color 200ms ease;
}

.reviews-carousel__arrow:hover {
  border-color: var(--fg);
  background-color: var(--fg);
  color: var(--bg);
}

.reviews-carousel__arrow:disabled {
  opacity: 0.35;
  cursor: not-allowed;
}

.reviews-carousel__arrow:disabled:hover {
  border-color: var(--line);
  background-color: transparent;
  color: var(--fg);
}

.reviews-carousel__dots {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
}

.reviews-carousel__dot {
  width: 24px;
  height: 2px;
  padding: 0;
  border: 0;
  background-color: var(--line);
  cursor: pointer;
  transition: background-color 200ms ease, width 200ms var(--easing);
}

.reviews-carousel__dot.is-active {
  width: 40px;
  background-color: var(--fg);
}

.reviews-note {
  margin-top: 2.5rem;
  padding: 1.5rem;
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  border: 1px solid var(--line);
  background-color: var(--surface);
}

.reviews-note__icon {
  flex-shrink: 0;
  color: var(--fg);
  margin-top: 0.125rem;
}

.reviews-note p {
  margin: 0;
  font-family: var(--font-body);
  font-size: 0.9375rem;
  font-weight: 300;
  line-height: 1.6;
  color: var(--muted);
}

/* ---------------------------------------------------------
   Conversion CTA
   --------------------------------------------------------- */
.section--cta .section__well {
  max-width: 640px;
}

.cta-layout {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 3rem;
  align-items: center;
}

.cta-text {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.cta-highlight {
  font-family: var(--font-heading);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--fg);
}

.cta-button {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  margin-top: 2.5rem;
  padding: 1rem 1.75rem;
  font-family: var(--font-heading);
  font-size: 0.875rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  text-decoration: none;
  color: var(--bg);
  background-color: var(--fg);
  border: 1px solid var(--fg);
  transition: background-color 200ms ease, color 200ms ease, transform 200ms var(--easing);
}

.cta-button:hover {
  background-color: transparent;
  color: var(--fg);
  transform: translateY(-2px);
}

.cta-button svg {
  transition: transform 200ms var(--easing);
}

.cta-button:hover svg {
  transform: translateX(4px);
}

.cta-media {
  margin: 0;
  position: relative;
}

.cta-media::before {
  content: "";
  position: absolute;
  inset: -1.5rem;
  border: 1px solid var(--line);
  z-index: 0;
}

.cta-media img {
  position: relative;
  z-index: 1;
  display: block;
  width: 100%;
  max-width: 260px;
  height: auto;
  object-fit: contain;
  box-shadow: 0 24px 70px rgba(0, 0, 0, 0.12);
}

@media (prefers-color-scheme: dark) {
  :root:not([data-theme]) .cta-media img {
    box-shadow: 0 24px 70px rgba(0, 0, 0, 0.45);
  }
}

:root[data-theme="dark"] .cta-media img {
  box-shadow: 0 24px 70px rgba(0, 0, 0, 0.45);
}

/* ---------------------------------------------------------
   Contact
   --------------------------------------------------------- */
.section--contact .section__well {
  max-width: 640px;
}

.contact-layout {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2.5rem;
}

.contact-primary {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.social-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 1.5rem;
}

.social-link {
  display: inline-flex;
  align-items: center;
  gap: 0.625rem;
  padding: 0.75rem 1.125rem;
  text-decoration: none;
  color: var(--fg);
  border: 1px solid var(--line);
  background-color: var(--surface);
  transition: border-color 200ms ease, background-color 200ms ease, transform 200ms var(--easing);
}

.social-link:hover {
  border-color: var(--fg);
  background-color: var(--bg);
  transform: translateY(-2px);
}

.social-link svg {
  color: var(--fg);
}

.social-link span {
  font-family: var(--font-heading);
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.12em;
}

.contact-card {
  padding: 1.75rem;
  border: 1px solid var(--line);
  background-color: var(--surface);
}

.contact-card__title {
  margin: 0 0 1.25rem;
  font-family: var(--font-heading);
  font-size: 0.9375rem;
  font-weight: 700;
  line-height: 1.3;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--fg);
}

.contact-list {
  margin: 0;
  padding: 0;
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.contact-list li {
  display: flex;
  align-items: flex-start;
  gap: 0.875rem;
  font-family: var(--font-body);
  font-size: 0.9375rem;
  font-weight: 300;
  line-height: 1.6;
  color: var(--muted);
}

.contact-list svg {
  flex-shrink: 0;
  color: var(--fg);
  margin-top: 0.125rem;
}

.contact-closing {
  margin-top: 2rem;
  padding-top: 1.75rem;
  border-top: 1px solid var(--line);
}

.contact-closing__lead {
  margin: 0 0 0.75rem;
  font-family: var(--font-heading);
  font-size: clamp(1.25rem, 2vw, 1.5rem);
  font-weight: 700;
  line-height: 1.2;
  color: var(--fg);
}

.contact-closing__text {
  margin: 0;
  font-family: var(--font-body);
  font-size: 0.9375rem;
  font-weight: 300;
  line-height: 1.65;
  color: var(--muted);
}

/* ---------------------------------------------------------
   Final Call to Action
   --------------------------------------------------------- */
.section--final-cta .section__well {
  max-width: 640px;
}

.final-cta-lead {
  margin-bottom: 2.5rem;
}

.final-cta-kicker {
  margin: 0 0 0.75rem;
  font-family: var(--font-heading);
  font-size: 0.8125rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  color: var(--muted);
}

.final-cta-quote {
  margin: 2rem 0 0;
  padding: 1.5rem 0 0;
  border-top: 1px solid var(--line);
}

.final-cta-quote p {
  margin: 0 0 0.75rem;
  font-family: var(--font-body);
  font-size: 1rem;
  font-weight: 400;
  font-style: italic;
  line-height: 1.7;
  color: var(--fg);
}

.final-cta-quote footer {
  font-family: var(--font-heading);
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--muted);
}

.retailers-heading {
  margin: 0 0 1rem;
  font-family: var(--font-heading);
  font-size: 0.8125rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--muted);
}

.retailers-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
  margin-bottom: 2.5rem;
}

.retailer-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.375rem;
  padding: 1.25rem 0.75rem;
  text-decoration: none;
  text-align: center;
  color: inherit;
  border: 1px solid var(--line);
  background-color: var(--bg);
  transition: border-color 200ms ease, transform 200ms var(--easing);
}

.retailer-card:hover {
  border-color: var(--fg);
  transform: translateY(-3px);
}

.retailer-card__logo {
  width: 32px;
  height: 32px;
  object-fit: contain;
  margin-bottom: 0.25rem;
}

.retailer-card__name {
  font-family: var(--font-heading);
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--fg);
}

.retailer-card__note {
  font-family: var(--font-body);
  font-size: 0.75rem;
  font-weight: 400;
  line-height: 1.4;
  color: var(--muted);
}

.final-cta-banner {
  display: grid;
  grid-template-columns: 1fr 0.65fr;
  gap: 2rem;
  align-items: center;
  padding: 2rem 2rem 2rem 2.5rem;
  background-color: #ffffff;
  color: #0c0c0c;
  border: 1px solid var(--line);
}

@media (prefers-color-scheme: dark) {
  :root:not([data-theme]) .final-cta-banner {
    background-color: #ffffff;
    color: #0c0c0c;
    border-color: #e0e0e0;
  }
}

:root[data-theme="dark"] .final-cta-banner {
  background-color: #ffffff;
  color: #0c0c0c;
  border-color: #e0e0e0;
}

.final-cta-banner .body--readable {
  color: #0c0c0c;
}

.final-cta-banner .cta-highlight {
  color: #0c0c0c;
}

.final-cta-banner__note {
  margin: 1rem 0 0;
  font-family: var(--font-heading);
  font-size: 0.8125rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: #0c0c0c;
}

.bulk-order-link {
  display: inline-flex;
  align-items: center;
  gap: 0.625rem;
  margin-top: 1.25rem;
  padding: 0.875rem 1.375rem;
  font-family: var(--font-heading);
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  text-decoration: none;
  color: #ffffff;
  background-color: #0c0c0c;
  border: 1px solid #0c0c0c;
  transition: background-color 200ms ease, color 200ms ease, transform 200ms var(--easing);
}

.bulk-order-link:hover {
  background-color: transparent;
  color: #0c0c0c;
  transform: translateY(-2px);
}

.final-cta-banner__hint {
  margin: 0.75rem 0 0;
  font-family: var(--font-body);
  font-size: 0.8125rem;
  font-weight: 400;
  color: #555555;
}

.final-cta-banner__media {
  margin: 0;
  display: flex;
  justify-content: flex-end;
}

.final-cta-banner__media img {
  display: block;
  width: 100%;
  max-width: 180px;
  height: auto;
  object-fit: contain;
}

/* ---------------------------------------------------------
   About the Workbook
   --------------------------------------------------------- */
.section--about .section__well {
  max-width: 640px;
}

.about-body {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  margin-bottom: 2.5rem;
}

.book-details {
  padding: 1.75rem;
  border: 1px solid var(--line);
  background-color: var(--surface);
  margin-bottom: 2.5rem;
}

.book-details__title {
  margin: 0 0 1.25rem;
  font-family: var(--font-heading);
  font-size: 0.9375rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--fg);
}

.book-details__list {
  margin: 0;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem 2rem;
}

.book-details__list div {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}

.book-details__list dt {
  font-family: var(--font-heading);
  font-size: 0.6875rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--muted);
}

.book-details__list dd {
  margin: 0;
  font-family: var(--font-body);
  font-size: 0.9375rem;
  font-weight: 400;
  color: var(--fg);
}

.credential-cards {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  margin-bottom: 2.5rem;
}

.credential-card {
  display: grid;
  grid-template-columns: 150px 1fr;
  gap: 2rem;
  align-items: start;
  padding: 1.5rem;
  border: 1px solid var(--line);
  background-color: var(--bg);
}

.credential-card__leading {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.credential-card__icon {
  color: var(--fg);
}

.credential-card__title {
  margin: 0;
  font-family: var(--font-heading);
  font-size: 0.8125rem;
  font-weight: 700;
  line-height: 1.3;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--fg);
}

.credential-card__text {
  margin: 0;
  font-family: var(--font-body);
  font-size: 1rem;
  font-weight: 400;
  line-height: 1.65;
  color: var(--fg);
}

.about-closing {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 1.75rem;
  align-items: start;
}

.about-cover {
  margin: 0;
  justify-self: center;
}

.about-cover img {
  display: block;
  width: 100%;
  max-width: 130px;
  height: auto;
  object-fit: contain;
  box-shadow: 0 24px 70px rgba(0, 0, 0, 0.12);
}

@media (prefers-color-scheme: dark) {
  :root:not([data-theme]) .about-cover img {
    box-shadow: 0 24px 70px rgba(0, 0, 0, 0.45);
  }
}

:root[data-theme="dark"] .about-cover img {
  box-shadow: 0 24px 70px rgba(0, 0, 0, 0.45);
}

.about-closing__right {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 1.5rem;
}

.about-closing__text {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
  font-family: var(--font-body);
  font-size: 1rem;
  font-weight: 400;
  line-height: 1.5;
  color: var(--fg);
}

.about-social {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.75rem;
}

/* ---------------------------------------------------------
   Footer
   --------------------------------------------------------- */
.site-footer {
  width: 100%;
  padding: 3rem 6vw;
  background-color: var(--footer-bg);
  color: var(--footer-text);
}

.site-footer__inner {
  max-width: 720px;
  margin: 0 auto;
  text-align: center;
}

.site-footer__line {
  margin: 0 0 0.5rem;
  font-family: var(--font-body);
  font-size: 0.6875rem;
  font-weight: 400;
  line-height: 1.7;
}

.site-footer__line a {
  color: var(--footer-text);
  text-decoration: none;
  transition: color 200ms ease;
}

.site-footer__line a:hover {
  color: #ffffff;
}

.site-footer__line--legal {
  margin-top: 0.75rem;
  margin-bottom: 0;
}

.site-footer__line--legal span {
  margin: 0 0.5rem;
  opacity: 0.6;
}

.site-footer__divider {
  width: 120%;
  max-width: 560px;
  height: 1px;
  margin: 1.25rem auto;
  border: 0;
  background-color: var(--footer-line);
  opacity: 0.6;
}

/* ---------------------------------------------------------
   Slideshow
   --------------------------------------------------------- */
.slideshow {
  position: relative;
  flex: 1 1 auto;
  min-height: 0;
  width: 100%;
  overflow: hidden;
}

.slideshow__track {
  position: relative;
  width: 100%;
  height: 100%;
}

.slideshow__slide {
  position: absolute;
  inset: 0;
  margin: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity 800ms var(--easing), transform 1000ms var(--easing);
  transform: scale(1.05);
}

.slideshow__slide.is-active {
  opacity: 1;
  transform: scale(1);
  z-index: 1;
}

.slideshow__slide img {
  max-width: 78%;
  max-height: 78%;
  object-fit: contain;
  box-shadow: 0 24px 70px rgba(0, 0, 0, 0.12);
}

@media (prefers-color-scheme: dark) {
  :root:not([data-theme]) .slideshow__slide img {
    box-shadow: 0 24px 70px rgba(0, 0, 0, 0.45);
  }
}

:root[data-theme="dark"] .slideshow__slide img {
  box-shadow: 0 24px 70px rgba(0, 0, 0, 0.45);
}

.slideshow__arrow {
  position: absolute;
  top: 50%;
  z-index: 2;
  transform: translateY(-50%);
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--line);
  border-radius: 50%;
  background-color: var(--bg);
  color: var(--fg);
  cursor: pointer;
  backdrop-filter: blur(6px);
  transition: border-color 200ms ease, background-color 200ms ease, transform 200ms var(--easing);
}

.slideshow__arrow:hover {
  background-color: var(--fg);
  color: var(--bg);
  border-color: var(--fg);
  transform: translateY(-50%) scale(1.08);
}

.slideshow__arrow--prev {
  left: 28px;
}

.slideshow__arrow--next {
  right: 28px;
}

.slideshow__counter {
  position: absolute;
  bottom: 40px;
  left: 50%;
  z-index: 2;
  transform: translateX(-50%);
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-family: var(--font-heading);
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.12em;
  color: var(--muted);
}

.slideshow__current {
  color: var(--fg);
  min-width: 1.25rem;
  text-align: right;
}

.slideshow__separator {
  opacity: 0.5;
}

.slideshow__total {
  min-width: 1.25rem;
  text-align: left;
}

/* ---------------------------------------------------------
   Purchase bar
   --------------------------------------------------------- */
.purchase-bar {
  display: flex;
  align-items: stretch;
  justify-content: center;
  gap: 0;
  height: var(--purchase-bar-height);
  flex: 0 0 auto;
  border-top: 1px solid var(--line);
  background-color: var(--surface);
}

.purchase-card {
  flex: 1 1 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.25rem;
  padding: 0.75rem 0.5rem;
  text-decoration: none;
  color: inherit;
  border-right: 1px solid var(--line);
  transition: background-color 200ms ease;
}

.purchase-card:last-child {
  border-right: 0;
}

.purchase-card:hover {
  background-color: var(--bg);
}

.purchase-card__icon,
.purchase-card__logo {
  width: 24px;
  height: 24px;
  object-fit: contain;
  margin-bottom: 0.25rem;
}

.purchase-card__title {
  font-family: var(--font-heading);
  font-size: 0.6875rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--fg);
}

.purchase-card__note {
  font-family: var(--font-body);
  font-size: 0.6875rem;
  font-weight: 400;
  color: var(--muted);
}

/* ---------------------------------------------------------
   Editorial typography
   --------------------------------------------------------- */
.eyebrow {
  margin: 0 0 1rem;
  font-family: var(--font-body);
  font-size: 0.6875rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.22em;
  color: var(--muted);
}

.rule {
  width: 48px;
  height: 1px;
  margin: 0 0 1.75rem;
  border: 0;
  background-color: var(--line);
}

.headline {
  margin: 0 0 2rem;
  font-family: var(--font-heading);
  font-size: clamp(3rem, 5vw, 5rem);
  font-weight: 800;
  line-height: 0.9;
  text-transform: uppercase;
  letter-spacing: -0.03em;
}

.subheadline {
  margin: 0 0 1.5rem;
  font-family: var(--font-heading);
  font-size: clamp(1.375rem, 2vw, 1.875rem);
  font-weight: 500;
  line-height: 1.25;
}

.body {
  margin: 0;
  font-family: var(--font-body);
  font-size: clamp(1.0625rem, 1.25vw, 1.1875rem);
  font-weight: 300;
  line-height: 1.75;
  color: var(--muted);
}

.body + .body {
  margin-top: 1rem;
}

.headline--small {
  font-size: clamp(2rem, 3vw, 3rem);
  letter-spacing: -0.02em;
  line-height: 1.05;
  margin-bottom: 1.5rem;
}

.headline__edition {
  display: block;
  font-size: 0.55em;
  font-weight: 500;
  letter-spacing: 0.02em;
  line-height: 1.1;
  color: var(--muted);
  margin-top: 0.15em;
}

.body--readable {
  color: var(--fg);
  font-weight: 400;
  font-size: 1rem;
  line-height: 1.65;
}

.body--readable:last-of-type {
  margin-bottom: 2.5rem;
}

.section--cta .body--readable:last-of-type,
.section--contact .body--readable:last-of-type {
  margin-bottom: 0;
}

/* ---------------------------------------------------------
   Living scroll arrow
   --------------------------------------------------------- */
.scroll-arrow {
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--line);
  border-radius: 50%;
  background-color: transparent;
  color: var(--fg);
  cursor: pointer;
  animation: pulse-down 2s var(--easing) infinite;
  transition: background-color 200ms ease, border-color 200ms ease;
}

.scroll-arrow:hover {
  background-color: var(--fg);
  color: var(--bg);
  border-color: var(--fg);
  animation-play-state: paused;
}

@keyframes pulse-down {
  0%, 100% {
    transform: translateX(-50%) translateY(0);
    opacity: 1;
  }
  50% {
    transform: translateX(-50%) translateY(6px);
    opacity: 0.55;
  }
}

/* ---------------------------------------------------------
   Testimonials
   --------------------------------------------------------- */
.testimonial {
  margin: 0;
}

.testimonial__icon {
  color: var(--fg);
  margin-bottom: 0.75rem;
}

.testimonial__label {
  margin: 0 0 0.375rem;
  font-family: var(--font-heading);
  font-size: clamp(1rem, 1.4vw, 1.25rem);
  font-weight: 600;
  line-height: 1.2;
  color: var(--fg);
}

.testimonial__quote {
  margin: 0;
  font-family: var(--font-body);
  font-size: clamp(0.875rem, 1vw, 1rem);
  font-weight: 300;
  line-height: 1.6;
  color: var(--muted);
}

.testimonial__quote cite {
  display: block;
  margin-top: 0.5rem;
  font-style: normal;
  color: var(--fg);
}

/* ---------------------------------------------------------
   Mobile + portrait tablet
   --------------------------------------------------------- */
@media (max-width: 1023px) {
  .theme-toggle {
    top: 20px;
    right: 20px;
  }

  .page {
    display: flex;
    flex-direction: column;
  }

  .preview {
    position: relative;
    grid-column: auto;
    grid-row: auto;
    height: 100vh;
  }

  .section {
    grid-column: auto;
    grid-row: auto;
    min-height: 100vh;
    padding: 8vh 6vw calc(var(--purchase-bar-height-mobile) + 4vh);
  }

  .section--hero {
    padding: 6vh 6vw calc(var(--purchase-bar-height-mobile) + 2vh);
  }

  .section--hero .section__well {
    padding-bottom: 4.5rem;
  }

  .section--hero .body {
    font-size: 0.9375rem;
    line-height: 1.6;
  }

  .slideshow__slide img {
    max-width: 84%;
    max-height: 58%;
  }

  .slideshow__counter {
    bottom: calc(var(--purchase-bar-height-mobile) + 24px);
  }

  .purchase-bar {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 90;
    height: var(--purchase-bar-height-mobile);
    flex: none;
  }

  .purchase-card__icon,
  .purchase-card__logo {
    width: 22px;
    height: 22px;
  }

  .purchase-card__title,
  .purchase-card__note {
    font-size: 0.625rem;
  }

  .trust-row {
    gap: 1.5rem;
  }

  .features-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
    margin-top: 2rem;
  }

  .features-closing {
    margin-top: 2rem;
  }

  .reviews-intro {
    margin-bottom: 1.5rem;
  }

  .reviews-track {
    gap: 0.875rem;
    padding: 0.25rem 0 0.75rem;
  }

  .review-card {
    flex: 0 0 84%;
    width: 84%;
    padding: 1.5rem;
  }

  .reviews-carousel__nav {
    margin-top: 0.25rem;
  }

  .reviews-carousel__arrow {
    width: 36px;
    height: 36px;
  }

  .reviews-note {
    margin-top: 2rem;
    padding: 1.25rem;
    flex-direction: column;
    gap: 0.75rem;
  }

  .cta-layout {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }

  .cta-media {
    order: -1;
    justify-self: center;
  }

  .cta-media img {
    max-width: 220px;
  }

  .cta-button {
    margin-top: 2rem;
  }

  .contact-layout {
    gap: 2rem;
  }

  .social-row {
    margin-top: 1.25rem;
  }

  .social-link {
    flex: 1 1 auto;
    justify-content: center;
  }

  .contact-card {
    padding: 1.5rem;
  }

  .retailers-row {
    grid-template-columns: 1fr;
    gap: 0.75rem;
    margin-bottom: 2rem;
  }

  .retailer-card {
    flex-direction: row;
    justify-content: flex-start;
    gap: 0.875rem;
    padding: 0.875rem 1rem;
    text-align: left;
  }

  .retailer-card__logo {
    width: 28px;
    height: 28px;
    margin-bottom: 0;
  }

  .retailer-card__name,
  .retailer-card__note {
    font-size: 0.75rem;
  }

  .final-cta-banner {
    grid-template-columns: 1fr;
    gap: 1.5rem;
    padding: 1.5rem;
  }

  .final-cta-banner__media {
    order: -1;
    justify-content: flex-end;
  }

  .final-cta-banner__media img {
    max-width: 140px;
  }

  .book-details__list {
    grid-template-columns: 1fr;
    gap: 1rem;
  }

  .credential-card {
    grid-template-columns: 1fr;
    gap: 0.75rem;
  }

  .about-closing {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .about-closing__right {
    gap: 1.25rem;
  }

  .about-social {
    width: 100%;
  }

  .about-social .social-link {
    flex: 1 1 auto;
    justify-content: center;
  }

  .about-cover img {
    max-width: 180px;
  }

  .site-footer {
    padding: 2.5rem 6vw calc(var(--purchase-bar-height-mobile) + 2rem);
  }

  .site-footer__divider {
    width: 100%;
  }
}
