/* ===== Design tokens ===== */
:root {
  --bg: #0a0a0a;
  --bg-secondary: #111111;
  --card: #151515;
  --text: #f5f5f0;
  --text-secondary: #a1a1a1;
  --text-muted: #737373;
  --accent: #d8cbb8;
  --accent-dim: #a89a86;
  --accent-ink: #9c8767;
  --border: rgba(255, 255, 255, 0.1);
  --border-strong: rgba(255, 255, 255, 0.18);
  --ease: cubic-bezier(0.16, 1, 0.3, 1);
  --dur-fast: 180ms;
  --dur-med: 480ms;
  --dur-slow: 900ms;
  --max-w: 1400px;
  --pad: clamp(20px, 5vw, 64px);
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  background: var(--bg);
  color: var(--text);
  font-family: "Inter", -apple-system, sans-serif;
  font-size: 17px;
  line-height: 1.6;
  overflow-x: hidden;
  width: 100%;
  max-width: 100%;
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
    scroll-behavior: auto !important;
  }
}

h1, h2, h3, h4 {
  font-family: "Manrope", "Inter", sans-serif;
  font-weight: 800;
  letter-spacing: -0.02em;
  color: var(--text);
}

a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
button { font-family: inherit; border: none; background: none; cursor: pointer; color: inherit; }

.wrap {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 var(--pad);
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent);
}
.eyebrow::before {
  content: "";
  width: 22px;
  height: 1px;
  background: var(--accent);
}

section { position: relative; padding: clamp(72px, 12vw, 160px) 0; }

.h1-hero {
  font-size: clamp(40px, 7.2vw, 92px);
  line-height: 1.0;
}
.h2-section {
  font-size: clamp(32px, 5vw, 60px);
  line-height: 1.05;
}
.h3-sub { font-size: clamp(22px, 2.6vw, 32px); line-height: 1.15; font-weight: 700; }

.lead { font-size: clamp(18px, 1.6vw, 22px); color: var(--text-secondary); font-weight: 400; }
.muted { color: var(--text-muted); }
.accent-text { color: var(--accent); }

/* ===== Buttons ===== */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 16px 30px;
  min-height: 48px;
  border-radius: 100px;
  font-weight: 600;
  font-size: 15px;
  background: var(--accent);
  color: #141210;
  transition: transform var(--dur-fast) var(--ease), background var(--dur-fast) var(--ease);
  white-space: nowrap;
}
.btn:hover { background: #ece2d3; }
.btn .arrow { transition: transform var(--dur-fast) var(--ease); }
.btn:hover .arrow { transform: translateX(4px); }

.btn-ghost {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--text);
  font-weight: 600;
  font-size: 15px;
  padding-bottom: 2px;
  border-bottom: 1px solid var(--border-strong);
  transition: border-color var(--dur-fast) var(--ease), color var(--dur-fast) var(--ease);
}
.btn-ghost:hover { border-color: var(--accent); color: var(--accent); }

/* ===== Scroll progress ===== */
.scroll-progress {
  position: fixed;
  top: 0; left: 0;
  height: 2px;
  width: 0%;
  background: var(--accent);
  z-index: 200;
}

/* ===== Nav ===== */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  padding: 22px 0;
  transition: background var(--dur-med) var(--ease), padding var(--dur-med) var(--ease), border-color var(--dur-med) var(--ease);
  border-bottom: 1px solid transparent;
}
.nav.scrolled {
  padding: 14px 0;
  background: rgba(10, 10, 10, 0.78);
  backdrop-filter: blur(14px);
  border-color: var(--border);
}
.nav-inner { display: flex; align-items: center; justify-content: space-between; }
.nav-logo { font-family: "Manrope", sans-serif; font-weight: 800; font-size: 15px; letter-spacing: 0.04em; color: #202020; }
.nav.scrolled .nav-logo { color: var(--text); }
.nav-links { display: flex; align-items: center; gap: 40px; }
.nav-links a {
  font-size: 14px;
  color: #6b6b63;
  position: relative;
  transition: color var(--dur-fast) var(--ease);
}
.nav.scrolled .nav-links a { color: var(--text-secondary); }
.nav-links a::after {
  content: "";
  position: absolute;
  left: 0; bottom: -6px;
  width: 0; height: 1px;
  background: var(--accent);
  transition: width var(--dur-fast) var(--ease);
}
.nav-links a:hover { color: #202020; }
.nav.scrolled .nav-links a:hover { color: var(--text); }
.nav-links a:hover::after { width: 100%; }
.nav-cta { display: flex; align-items: center; gap: 24px; }
.nav .btn { padding: 11px 22px; font-size: 14px; }
.hamburger { display: none; flex-direction: column; gap: 5px; padding: 8px; z-index: 110; }
.hamburger span { width: 22px; height: 1.5px; background: #202020; transition: transform var(--dur-fast) var(--ease), opacity var(--dur-fast) var(--ease); }
.nav.scrolled .hamburger span { background: var(--text); }

.mobile-menu {
  position: fixed; inset: 0;
  background: var(--bg);
  z-index: 105;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 32px;
  padding: 0 32px;
  transform: translateY(-100%);
  transition: transform var(--dur-med) var(--ease);
}
.mobile-menu.open { transform: translateY(0); }
.mobile-menu a { font-size: 28px; font-family: "Manrope", sans-serif; font-weight: 700; }

/* ===== Hero ===== */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #FAFAF7;
  overflow: hidden;
}
.hero-inner {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  width: 100%;
  max-width: 1180px;
}
.hero-label {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #726f66;
  margin-bottom: 26px;
}
.hero .h1-hero {
  font-family: "Baloo 2", sans-serif;
  font-weight: 800;
  font-size: clamp(36px, 4.6vw, 58px);
  line-height: 0.92;
  letter-spacing: -0.01em;
  color: #202020;
  width: 100%;
}
.hero-accent { color: #00A86B; display: block; }
.hero-subtitle {
  margin-top: 24px;
  font-size: clamp(16px, 1.3vw, 20px);
  font-weight: 400;
  color: #5c5c55;
  max-width: 700px;
}
.hero-actions { margin-top: 30px; }
.hero .hero-btn {
  padding: 0 28px;
  min-width: 180px;
  height: 50px;
  min-height: 50px;
  border-radius: 12px;
  background: #087A4B;
  color: #fff;
  box-shadow: 0 10px 24px rgba(8, 122, 75, 0.28);
}
.hero .hero-btn:hover { background: #06663f; }

/* ===== Book cover (3D-rendered cover art, shadow baked into the image) ===== */
.book {
  position: relative;
  width: clamp(200px, 22vw, 300px);
  transform-style: preserve-3d;
  transition: transform 220ms ease-out;
}
.book img {
  width: 100%;
  height: auto;
  display: block;
}

/* ===== Problem section ===== */
.problem-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: clamp(32px, 6vw, 80px);
  align-items: start;
}
.problem-grid h2 { margin-top: 18px; }
.problem-right p { font-size: clamp(18px, 1.7vw, 23px); }
.problem-right p + p { margin-top: 14px; }
.problem-pause {
  margin-top: 48px;
  font-size: clamp(30px, 4vw, 46px);
  font-weight: 800;
  font-family: "Manrope", sans-serif;
  color: var(--accent);
}
.problem-note { margin-top: 14px; color: var(--text-secondary); max-width: 44ch; }

/* ===== Agitation ===== */
.agitation-list { margin-top: 56px; display: flex; flex-direction: column; }
.agitation-item {
  display: grid;
  grid-template-columns: 90px 1fr;
  align-items: baseline;
  gap: 24px;
  padding: 28px 0;
  border-top: 1px solid var(--border);
}
.agitation-item:last-child { border-bottom: 1px solid var(--border); }
.agitation-num { font-family: "Manrope", sans-serif; font-size: 15px; color: var(--text-muted); font-weight: 700; }
.agitation-item p { font-size: clamp(19px, 2vw, 27px); font-weight: 500; color: var(--text); max-width: 60ch; }
.agitation-item.final p { color: var(--accent); }

/* ===== Transition (full black) ===== */
.transition-section {
  min-height: 100vh;
  background: #000;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  overflow: hidden;
}
.transition-bg {
  position: absolute; inset: 0;
  opacity: 0.35;
  pointer-events: none;
}
.transition-inner { position: relative; z-index: 1; }
.transition-line-1 {
  font-size: clamp(28px, 4.4vw, 52px);
  font-weight: 600;
  color: var(--text-secondary);
  font-family: "Manrope", sans-serif;
}
.transition-line-2 {
  font-size: clamp(36px, 6vw, 72px);
  font-weight: 800;
  font-family: "Manrope", sans-serif;
  margin-top: 14px;
  line-height: 1.08;
}
.transition-line-2 .em { color: var(--accent); }

/* ===== Belief ===== */
.belief-top { max-width: 820px; }
.belief-top .h2-section { margin-bottom: 20px; }
.belief-top p { font-size: clamp(18px, 1.7vw, 23px); color: var(--text-secondary); }
.diagram {
  margin-top: 72px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0;
}
.diagram-step {
  display: flex;
  align-items: center;
  gap: 18px;
  padding: 16px 0;
}
.diagram-step span.label {
  font-family: "Manrope", sans-serif;
  font-weight: 700;
  font-size: clamp(16px, 1.7vw, 20px);
  letter-spacing: 0.02em;
}
.diagram-step:last-child span.label { color: var(--accent); }
.diagram-arrow { color: var(--text-muted); font-size: 18px; padding-left: 6px; }

/* ===== Book reveal ===== */
.reveal-section { background: var(--bg-secondary); overflow: hidden; }
.reveal-grid {
  display: grid;
  grid-template-columns: 1fr 0.9fr;
  gap: clamp(32px, 6vw, 60px);
  align-items: center;
}
.reveal-title { font-size: clamp(34px, 6vw, 72px); line-height: 1.02; }
.reveal-title .line2 { color: var(--accent); }
.reveal-sub { margin-top: 22px; font-size: clamp(16px, 1.4vw, 19px); color: var(--text-secondary); max-width: 46ch; }
.reveal-label { margin-top: 32px; font-size: 12px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--text-muted); }
.reveal-actions { margin-top: 36px; }
.reveal-book-stage { perspective: 1600px; display: flex; justify-content: center; }
.reveal-book-stage .book { width: clamp(220px, 26vw, 360px); transform: rotateY(-12deg) rotateX(3deg) rotateZ(-1deg); }

/* ===== Inside (numbered) ===== */
.inside-grid {
  margin-top: 64px;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  border-top: 1px solid var(--border);
  border-left: 1px solid var(--border);
}
.inside-item {
  padding: 40px 36px;
  border-right: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  position: relative;
  transition: background var(--dur-fast) var(--ease);
  overflow: hidden;
}
.inside-item::before {
  content: "";
  position: absolute;
  left: 0; bottom: 0;
  height: 2px; width: 0;
  background: var(--accent);
  transition: width var(--dur-med) var(--ease);
}
.inside-item:hover { background: rgba(255,255,255,0.02); }
.inside-item:hover::before { width: 100%; }
.inside-num {
  font-family: "Manrope", sans-serif;
  font-size: 14px;
  color: var(--text-muted);
  font-weight: 700;
  transition: color var(--dur-fast) var(--ease), transform var(--dur-fast) var(--ease);
}
.inside-item:hover .inside-num { color: var(--accent); transform: translateX(4px); }
.inside-item h3 { margin-top: 18px; font-size: clamp(20px, 2vw, 26px); }

/* ===== Preview gallery ===== */
.preview-gallery {
  margin-top: 56px;
  display: flex;
  gap: 24px;
  overflow-x: auto;
  scroll-snap-type: x proximity;
  padding-bottom: 8px;
  cursor: grab;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
}
.preview-gallery::-webkit-scrollbar { display: none; }
.preview-gallery.dragging { cursor: grabbing; scroll-snap-type: none; user-select: none; }
.preview-card {
  flex: 0 0 clamp(260px, 32vw, 360px);
  scroll-snap-align: start;
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 4px;
  padding: 36px 30px;
  aspect-ratio: 0.75;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}
.preview-card .p-label { font-size: 11px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--accent); }
.preview-card .p-title { margin-top: 16px; font-family: "Manrope", sans-serif; font-weight: 700; font-size: 20px; }
.preview-card .p-lines { margin-top: 20px; display: flex; flex-direction: column; gap: 10px; }
.preview-card .p-lines span { display: block; height: 7px; background: rgba(255,255,255,0.07); border-radius: 2px; }
.preview-card .p-lines span.w-80 { width: 80%; }
.preview-card .p-lines span.w-60 { width: 60%; }
.preview-card .p-lines span.w-90 { width: 90%; }
.preview-card .p-lines span.accent { background: rgba(216,203,184,0.3); }
.preview-card .p-foot { font-size: 12px; color: var(--text-muted); margin-top: 20px; }

/* ===== Audience ===== */
.audience-grid {
  margin-top: 56px;
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 1px;
  background: var(--border);
}
.audience-item {
  background: var(--bg);
  padding: 32px 22px;
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.audience-num { font-family: "Manrope", sans-serif; font-size: 13px; color: var(--text-muted); font-weight: 700; }
.audience-item h4 { font-size: 18px; }
.audience-item p { font-size: 14px; color: var(--text-secondary); }

/* ===== Social proof ===== */
.proof-quote {
  margin-top: 48px;
  font-family: "Manrope", sans-serif;
  font-size: clamp(24px, 3vw, 38px);
  font-weight: 700;
  line-height: 1.25;
  max-width: 900px;
}
.proof-card {
  margin-top: 40px;
  display: inline-flex;
  align-items: center;
  gap: 16px;
  border: 1px dashed var(--border-strong);
  border-radius: 100px;
  padding: 10px 22px 10px 10px;
}
.proof-avatar {
  width: 44px; height: 44px;
  border-radius: 50%;
  background: var(--card);
  border: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 11px;
  color: var(--text-muted);
}
.proof-meta { font-size: 13px; color: var(--text-muted); }
.proof-meta strong { color: var(--text-secondary); display: block; font-size: 13px; }
.proof-tag {
  margin-top: 16px;
  font-size: 11px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-muted);
}

/* ===== Final CTA ===== */
.final-cta { text-align: center; }
.final-cta .wrap { display: flex; flex-direction: column; align-items: center; }
.final-cta h2 { font-size: clamp(34px, 6vw, 68px); line-height: 1.05; max-width: 16ch; }
.final-cta h2 .em { color: var(--accent); }
.final-cta .lead { margin-top: 24px; }
.final-cta .btn { margin-top: 36px; }
.final-cta-note { margin-top: 18px; color: var(--text-muted); font-size: 14px; max-width: 50ch; }
.final-book-stage { margin-top: 64px; perspective: 1400px; }
.final-book-stage .book { width: clamp(160px, 16vw, 220px); transform: rotateY(-16deg) rotateX(2deg); }

/* ===== Footer ===== */
.footer { border-top: 1px solid var(--border); padding: 48px 0 32px; }
.footer-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 20px;
}
.footer-logo { font-family: "Manrope", sans-serif; font-weight: 800; font-size: 14px; }
.footer-links { display: flex; gap: 28px; }
.footer-links a { font-size: 14px; color: var(--text-secondary); }
.footer-links a:hover { color: var(--text); }
.footer-bottom {
  margin-top: 32px;
  padding-top: 20px;
  border-top: 1px solid var(--border);
  font-size: 12px;
  color: var(--text-muted);
}

/* ===== Product card (premium editorial product experience) ===== */
body.product-page {
  --p-bg: #F5F3EE;
  --p-card: #FFFFFF;
  --p-text: #171717;
  --p-text-secondary: #737373;
  --p-muted: #9A9A9A;
  --p-border: #E8E4DC;
  --p-row: #F6F4EE;
  --p-accent: #1F7A46;
  --p-accent-dark: #17602F;
  background: var(--p-bg);
  color: var(--p-text);
  min-height: 100vh;
}

.pcard-wrap {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 28px 16px;
}
.pcard {
  width: 100%;
  max-width: 500px;
}

/* -- Book media -- */
.pcard-media {
  position: relative;
  min-height: 180px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 10px 0;
  margin-bottom: 14px;
}
.media-rings {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  pointer-events: none;
}
.media-rings::before, .media-rings::after {
  content: "";
  position: absolute;
  border-radius: 50%;
  border: 1px solid rgba(31, 122, 70, 0.08);
}
.media-rings::before { width: 86%; aspect-ratio: 1; }
.media-rings::after { width: 62%; aspect-ratio: 1; }

.pcard-media .book {
  position: relative;
  width: 54%;
  max-width: 195px;
  margin: 0 auto;
  transition: transform 300ms ease-out;
  filter: drop-shadow(0 20px 50px rgba(0,0,0,0.12));
}
.pcard-media .book:hover { transform: translateY(-4px) scale(1.01); }

/* -- Futuristic holographic-glass audio module -- */
.audio-module {
  --fx-primary: #087A4B;
  --fx-secondary: #00A86B;
  --fx-highlight: #45F2B0;
  --fx-soft: #CFFFE8;
  --fx-text: #071A14;
  --fx-muted: #60756D;
  --fx-border: rgba(0, 168, 107, 0.2);
  position: relative;
  overflow: hidden;
  margin-bottom: 14px;
  padding: 14px 14px 10px;
  border-radius: 24px;
  background: linear-gradient(160deg, rgba(255,255,255,0.78) 0%, rgba(247,255,251,0.6) 100%);
  -webkit-backdrop-filter: blur(20px) saturate(160%);
  backdrop-filter: blur(20px) saturate(160%);
  border: 1px solid var(--fx-border);
  box-shadow: 0 24px 50px rgba(8, 122, 75, 0.1), inset 0 1px 0 rgba(255,255,255,0.9);
}
.audio-module::before {
  content: "";
  position: absolute;
  top: -70%;
  left: -15%;
  width: 130%;
  height: 220%;
  background: radial-gradient(ellipse at 30% 10%, rgba(69, 242, 176, 0.22) 0%, rgba(69, 242, 176, 0) 60%);
  pointer-events: none;
}
.audio-top-row { position: relative; display: flex; align-items: center; justify-content: space-between; gap: 10px; flex-wrap: wrap; }
.audio-badge {
  display: inline-flex;
  align-items: center;
  flex-shrink: 0;
  white-space: nowrap;
  gap: 5px;
  padding: 4px 8px;
  border-radius: 999px;
  background: rgba(207, 255, 232, 0.55);
  border: 1px solid rgba(0, 168, 107, 0.28);
  color: var(--fx-primary);
  font-size: 9.5px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.7);
}
.audio-badge .badge-wave { display: inline-flex; align-items: flex-end; gap: 1.5px; height: 9px; }
.audio-badge .badge-wave span { display: block; width: 1.5px; background: var(--fx-secondary); border-radius: 1px; }

.audio-controls-dock { position: relative; display: flex; align-items: center; gap: 3px; }
.dock-divider { width: 1px; height: 16px; background: rgba(0, 168, 107, 0.18); margin: 0 2px; }

.audio-title { position: relative; font-family: "Manrope", sans-serif; font-size: 15px; font-weight: 700; color: var(--fx-text); margin: 8px 0 8px; }

.audio-main-row { position: relative; display: flex; align-items: center; gap: 10px; }

.energy-play {
  position: relative;
  flex-shrink: 0;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: radial-gradient(circle at 50% 38%, rgba(255,255,255,0.95), rgba(207,255,232,0.45) 65%, rgba(255,255,255,0.25) 100%);
  border: 1px solid rgba(0, 168, 107, 0.22);
  box-shadow: 0 10px 22px rgba(8, 122, 75, 0.14), inset 0 1px 1px rgba(255,255,255,0.9);
}
.energy-play .ring { position: absolute; inset: 0; border-radius: 50%; pointer-events: none; }
.energy-play .ring-outer {
  border: 1px dashed rgba(0, 168, 107, 0.4);
  animation: fxSpin 9s linear infinite;
  animation-play-state: paused;
}
.energy-play.playing .ring-outer { animation-play-state: running; }
.energy-play .ring-mid { inset: 4px; border: 1px solid rgba(0, 168, 107, 0.16); }
.energy-play .ring-inner {
  inset: 8px;
  border-radius: 50%;
  background: radial-gradient(circle at 50% 35%, var(--fx-secondary), var(--fx-primary) 75%);
  box-shadow: 0 0 calc(6px + 40px * var(--energy, 0)) rgba(69, 242, 176, calc(0.3 + 0.55 * var(--energy, 0)));
  transition: box-shadow 80ms linear;
}
.energy-play .icon-play, .energy-play .icon-pause {
  position: absolute;
  top: 50%;
  left: 50%;
  color: #fff;
  transition: opacity 250ms var(--ease), transform 250ms var(--ease);
}
.energy-play .icon-play { transform: translate(-50%, -50%) scale(1); opacity: 1; }
.energy-play .icon-pause { transform: translate(-50%, -50%) scale(0.8); opacity: 0; }
.energy-play.playing .icon-play { transform: translate(-50%, -50%) scale(0.8); opacity: 0; }
.energy-play.playing .icon-pause { transform: translate(-50%, -50%) scale(1); opacity: 1; }
.energy-play:hover .ring-inner { box-shadow: 0 0 calc(10px + 40px * var(--energy, 0)) rgba(69, 242, 176, calc(0.4 + 0.55 * var(--energy, 0))); }
.energy-play:focus-visible { outline: 2px solid var(--fx-primary); outline-offset: 3px; }
@keyframes fxSpin { to { transform: rotate(360deg); } }

.audio-viz-wrap { position: relative; flex: 1; min-width: 0; height: 42px; }
.audio-canvas { width: 100%; height: 100%; display: block; border-radius: 10px; }
.audio-track { position: absolute; inset: 0; cursor: pointer; border-radius: 10px; }
.audio-track:focus-visible { outline: 2px solid var(--fx-primary); outline-offset: 2px; }

.audio-time-row {
  position: relative;
  display: flex;
  justify-content: space-between;
  margin-top: 6px;
  font-size: 11.5px;
  letter-spacing: 0.03em;
  font-variant-numeric: tabular-nums;
  color: var(--fx-muted);
}

.ctrl-chip {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  height: 25px;
  padding: 0 8px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.55);
  border: 1px solid var(--fx-border);
  color: var(--fx-muted);
  font-size: 12px;
  font-variant-numeric: tabular-nums;
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.7);
  transition: border-color var(--dur-fast) var(--ease), color var(--dur-fast) var(--ease), background var(--dur-fast) var(--ease);
}
.ctrl-chip:hover, .ctrl-chip[aria-expanded="true"] { color: var(--fx-primary); border-color: rgba(0, 168, 107, 0.45); background: rgba(207, 255, 232, 0.6); }

.ctrl-icon {
  position: relative;
  width: 25px;
  height: 25px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--fx-muted);
  background: rgba(255, 255, 255, 0.55);
  border: 1px solid var(--fx-border);
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.7);
  transition: border-color var(--dur-fast) var(--ease), color var(--dur-fast) var(--ease), background var(--dur-fast) var(--ease);
}
.ctrl-icon:hover { color: var(--fx-primary); border-color: rgba(0, 168, 107, 0.45); background: rgba(207, 255, 232, 0.6); }
.ctrl-icon.active { color: var(--fx-primary); border-color: rgba(0, 168, 107, 0.55); background: var(--fx-soft); }

.speed-control { position: relative; }
.speed-menu {
  position: absolute;
  top: calc(100% + 8px);
  right: 0;
  z-index: 5;
  min-width: 84px;
  padding: 6px;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.92);
  -webkit-backdrop-filter: blur(14px);
  backdrop-filter: blur(14px);
  border: 1px solid var(--fx-border);
  box-shadow: 0 16px 34px rgba(8, 122, 75, 0.16);
  list-style: none;
}
.speed-menu li {
  padding: 7px 10px;
  border-radius: 8px;
  font-size: 12.5px;
  text-align: center;
  color: var(--fx-muted);
  cursor: pointer;
  transition: background var(--dur-fast) var(--ease), color var(--dur-fast) var(--ease);
}
.speed-menu li:hover, .speed-menu li[aria-selected="true"] { background: var(--fx-soft); color: var(--fx-primary); }


@media (max-width: 480px) {
  .audio-module { padding: 12px 12px 8px; border-radius: 20px; }
  .energy-play { width: 42px; height: 42px; }
  .audio-viz-wrap { height: 36px; }
}

/* -- CTA: holographic glass button -- */
.btn-order {
  --cta-primary: #087A4B;
  --cta-secondary: #00A86B;
  --cta-highlight: #45F2B0;
  position: relative;
  display: flex;
  align-items: center;
  gap: 12px;
  width: 100%;
  min-height: 58px;
  padding: 7px 20px 7px 24px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.32);
  overflow: hidden;
  background:
    radial-gradient(130% 180% at 14% -30%, rgba(255, 255, 255, 0.55) 0%, rgba(255, 255, 255, 0) 42%),
    radial-gradient(160% 220% at 92% 135%, rgba(69, 242, 176, 0.4) 0%, rgba(69, 242, 176, 0) 46%),
    linear-gradient(160deg, #0a8a55 0%, var(--cta-primary) 55%, #06663f 100%);
  -webkit-backdrop-filter: blur(18px) saturate(160%);
  backdrop-filter: blur(18px) saturate(160%);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.5),
    inset 0 -14px 22px rgba(0, 0, 0, 0.14),
    0 18px 40px rgba(8, 122, 75, 0.28),
    0 2px 6px rgba(0, 0, 0, 0.1);
  color: #fff;
  font-weight: 700;
  font-size: 15px;
  letter-spacing: 0.01em;
  transition: transform var(--dur-fast) var(--ease), box-shadow var(--dur-fast) var(--ease), filter var(--dur-fast) var(--ease);
}
/* diagonal specular sweep across the glass */
.btn-order::before {
  content: "";
  position: absolute;
  inset: -40% -10%;
  background: linear-gradient(115deg, rgba(255, 255, 255, 0) 38%, rgba(255, 255, 255, 0.35) 50%, rgba(255, 255, 255, 0) 62%);
  transform: translateX(-60%);
  transition: transform 650ms var(--ease);
  pointer-events: none;
}
.btn-order:hover::before { transform: translateX(60%); }
.btn-order:hover { transform: translateY(-2px); filter: brightness(1.06); box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.55), inset 0 -14px 22px rgba(0, 0, 0, 0.14), 0 22px 48px rgba(8, 122, 75, 0.34), 0 3px 8px rgba(0, 0, 0, 0.12); }
.btn-order:active { transform: translateY(0) scale(0.985); filter: brightness(0.98); }

.btn-order > span:not(.btn-order-arrow) {
  position: relative;
  flex: 1;
  text-align: center;
  white-space: nowrap;
}

.btn-order-arrow {
  position: relative;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  margin-left: auto;
  background: linear-gradient(160deg, rgba(255, 255, 255, 0.22) 0%, rgba(255, 255, 255, 0.05) 100%);
  border: 1px solid rgba(255, 255, 255, 0.4);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.45), 0 0 10px rgba(69, 242, 176, 0.35);
  color: #fff;
  transition: transform var(--dur-fast) var(--ease);
}
.btn-order:hover .btn-order-arrow { transform: translateX(3px); }

#orderBtn { min-height: 50px; font-size: 14px; }
#orderBtn .btn-order-arrow { width: 32px; height: 32px; }

/* Subtle idle motion — a slow, calm breathing glow (never a bounce/scale) */
.pcard > .btn-order {
  animation: ctaGlow 3.6s ease-in-out infinite;
}
.pcard > .btn-order:hover { animation-play-state: paused; }
@keyframes ctaGlow {
  0%, 100% { box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.5), inset 0 -14px 22px rgba(0, 0, 0, 0.14), 0 10px 26px rgba(8, 122, 75, 0.18), 0 2px 6px rgba(0, 0, 0, 0.1); }
  50% { box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.5), inset 0 -14px 22px rgba(0, 0, 0, 0.14), 0 20px 44px rgba(8, 122, 75, 0.34), 0 2px 6px rgba(0, 0, 0, 0.1); }
}

/* -- Sticky CTA bar (shows only once the in-card CTA scrolls out of view) -- */
.sticky-cta {
  position: fixed;
  left: 0; right: 0; bottom: 0;
  z-index: 250;
  display: flex;
  justify-content: center;
  padding: 14px 16px calc(14px + env(safe-area-inset-bottom));
  background: linear-gradient(180deg, rgba(245,243,238,0) 0%, rgba(245,243,238,0.92) 28%, rgba(245,243,238,0.92) 100%);
  transform: translateY(100%);
  opacity: 0;
  pointer-events: none;
  transition: transform 260ms var(--ease), opacity 260ms var(--ease);
}
.sticky-cta.visible { transform: translateY(0); opacity: 1; pointer-events: auto; }
.sticky-cta-inner { width: 100%; max-width: 500px; }
.sticky-cta .btn-order { box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.5), inset 0 -14px 22px rgba(0, 0, 0, 0.14), 0 14px 32px rgba(8, 122, 75, 0.3), 0 2px 6px rgba(0, 0, 0, 0.1); animation: none; }

/* -- Order modal -- */
.modal-overlay {
  position: fixed;
  inset: 0;
  z-index: 300;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  padding: 0;
  background: rgba(20, 20, 18, 0.5);
  opacity: 0;
  pointer-events: none;
  transition: opacity 220ms var(--ease);
}
.modal-overlay.open { opacity: 1; pointer-events: auto; }
.modal-card {
  position: relative;
  width: 100%;
  max-width: 480px;
  background: var(--p-card, #fff);
  border-radius: 24px 24px 0 0;
  padding: 34px 28px calc(28px + env(safe-area-inset-bottom));
  box-shadow: 0 -20px 60px rgba(0, 0, 0, 0.2);
  transform: translateY(100%);
  transition: transform 340ms var(--ease);
}
.modal-overlay.open .modal-card { transform: translateY(0); }
.modal-card::before {
  content: "";
  position: absolute;
  top: 10px;
  left: 50%;
  width: 36px;
  height: 4px;
  border-radius: 2px;
  background: rgba(0, 0, 0, 0.15);
  transform: translateX(-50%);
}
.modal-close {
  position: absolute;
  top: 16px; right: 16px;
  width: 32px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  color: var(--p-muted, #9A9A9A);
  transition: background var(--dur-fast) var(--ease), color var(--dur-fast) var(--ease);
}
.modal-close:hover { background: var(--p-row, #F6F4EE); color: var(--p-text, #171717); }

.modal-title { font-family: "Manrope", sans-serif; font-size: 20px; font-weight: 800; color: var(--p-text, #171717); margin-bottom: 8px; }
.modal-sub { font-size: 14px; line-height: 1.5; color: var(--p-text-secondary, #737373); margin-bottom: 24px; }

.form-field { display: block; margin-bottom: 16px; }
.form-label { display: block; font-size: 13px; font-weight: 600; color: var(--p-text, #171717); margin-bottom: 6px; }
.form-field input {
  width: 100%;
  height: 46px;
  padding: 0 14px;
  border: 1px solid var(--p-border, #E8E4DC);
  border-radius: 10px;
  font-size: 14.5px;
  font-family: inherit;
  color: var(--p-text, #171717);
  background: #fff;
  transition: border-color var(--dur-fast) var(--ease);
}
.form-field input::placeholder { color: var(--p-muted, #9A9A9A); }
.form-field input:focus { outline: none; border-color: var(--p-accent, #1F7A46); }
.form-field input:invalid.touched { border-color: #C0392B; }
.form-error { display: none; margin-top: 6px; font-size: 12.5px; color: #C0392B; }
.form-field input:invalid.touched + .form-error { display: block; }

.modal-submit { margin-top: 8px; }

.modal-success { text-align: center; }
.success-icon {
  width: 56px;
  height: 56px;
  margin: 0 auto 16px;
  border-radius: 50%;
  background: var(--p-row, #F6F4EE);
  color: var(--p-accent-dark, #17602F);
  display: flex;
  align-items: center;
  justify-content: center;
}
.modal-success .modal-sub { margin-bottom: 0; }

/* -- Thank-you page -- */
.thank-you-card { text-align: center; padding: 48px 32px; }
.success-icon--lg { width: 72px; height: 72px; margin-bottom: 20px; }
.thank-you-title { font-size: 26px; margin-bottom: 10px; }
.thank-you-card .modal-sub { max-width: 34ch; margin: 0 auto 28px; }
.thank-you-back { max-width: 260px; margin: 0 auto; }

@media (max-width: 480px) {
  .pcard-wrap { padding: 18px 14px; }
  .pcard-media { min-height: 140px; }
}

/* ===== reveal-on-scroll base ===== */
[data-reveal] { opacity: 0; transform: translateY(28px); }

/* ===== Responsive ===== */
@media (max-width: 980px) {
  .problem-grid, .reveal-grid { grid-template-columns: 1fr; }
  .reveal-book-stage { order: -1; margin-bottom: 20px; }
  .book { width: 160px; }
  .reveal-book-stage .book { width: 200px; }
  .inside-grid { grid-template-columns: 1fr; }
  .audience-grid { grid-template-columns: repeat(2, 1fr); }
  .nav-links { display: none; }
  .hamburger { display: flex; }
}

@media (max-width: 640px) {
  .audience-grid { grid-template-columns: 1fr; }
  .agitation-item { grid-template-columns: 50px 1fr; }
  section { padding: clamp(56px, 16vw, 96px) 0; }
  .nav .btn span.label { display: none; }
  .hero .hero-btn { width: 100%; max-width: 280px; }
  .hero .h1-hero { font-size: clamp(26px, 7.5vw, 36px); line-height: 1.12; }
}
