:root {
  --ink: #171411;
  --muted: #5c574f;
  --paper: #f4f0ea;
  --panel: #fffdf9;
  --line: rgba(23, 20, 17, 0.12);
  --accent: #c2410c;
  --accent-deep: #9a3412;
  --mint-dark: #1f4d3d;
  --display: "Archivo", sans-serif;
  --body: "Figtree", sans-serif;
  --ease: cubic-bezier(0.2, 0.8, 0.2, 1);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--body);
  color: var(--ink);
  background:
    radial-gradient(900px 420px at 100% -10%, rgba(194, 65, 12, 0.12), transparent 55%),
    radial-gradient(700px 380px at 0% 20%, rgba(31, 77, 61, 0.08), transparent 50%),
    var(--paper);
  line-height: 1.55;
}

a { color: var(--accent-deep); }
.wrap { width: min(1100px, calc(100% - 2rem)); margin-inline: auto; }
.wrap.narrow { width: min(720px, calc(100% - 2rem)); }

.top-strip {
  background: var(--ink);
  color: #f8f4ee;
  text-align: center;
  padding: 0.7rem 1rem;
  font-size: 0.92rem;
}
.top-strip p { margin: 0; }

.bar {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0.85rem 1.25rem;
  backdrop-filter: blur(12px);
  background: rgba(244, 240, 234, 0.86);
  border-bottom: 1px solid var(--line);
}
.brand {
  font-family: var(--display);
  font-weight: 800;
  font-size: 1.25rem;
  letter-spacing: -0.04em;
  text-decoration: none;
  color: var(--ink);
}
.chip {
  text-decoration: none;
  color: #fff;
  background: var(--accent);
  padding: 0.55rem 0.95rem;
  border-radius: 999px;
  font-weight: 700;
  font-size: 0.88rem;
}

.intro {
  width: min(860px, calc(100% - 2rem));
  margin: 3.5rem auto 2rem;
  text-align: center;
}
.eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.14em;
  font-size: 0.75rem;
  color: var(--muted);
  font-weight: 700;
}
.intro h1 {
  margin: 0.5rem 0 0;
  font-family: var(--display);
  font-size: clamp(2.4rem, 8vw, 4.6rem);
  letter-spacing: -0.05em;
  line-height: 0.98;
}
.lede {
  margin: 1rem auto 0;
  max-width: 38ch;
  color: var(--muted);
  font-size: 1.1rem;
}
.intro-actions {
  margin-top: 1.6rem;
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
  align-items: center;
}
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  color: #fff;
  background: linear-gradient(135deg, var(--accent), var(--accent-deep));
  padding: 0.95rem 1.35rem;
  border-radius: 999px;
  font-weight: 700;
  box-shadow: 0 14px 30px rgba(194, 65, 12, 0.28);
  transition: transform 0.25s var(--ease);
}
.btn:hover { transform: translateY(-2px); }
.btn-lg { padding: 1.1rem 1.6rem; font-size: 1.05rem; }
.text-link {
  color: var(--ink);
  font-weight: 600;
  text-decoration: none;
  border-bottom: 1px solid var(--line);
}

.gallery { padding: 1rem 0 3rem; overflow: hidden; }
.marquee { mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); }
.marquee-track {
  display: flex;
  gap: 1rem;
  width: max-content;
  animation: slide 42s linear infinite;
}
.marquee:hover .marquee-track { animation-play-state: paused; }
@keyframes slide {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}
.marquee-track figure {
  margin: 0;
  width: 190px;
}
.marquee-track img {
  width: 100%;
  aspect-ratio: 9/16;
  object-fit: cover;
  border-radius: 22px;
  border: 1px solid var(--line);
  background: #fff;
  box-shadow: 0 18px 40px rgba(23, 20, 17, 0.12);
}
.marquee-track figcaption {
  text-align: center;
  font-size: 0.82rem;
  margin-top: 0.45rem;
  color: var(--muted);
  font-weight: 600;
}

.pain { padding: 2rem 0 4rem; }
.pain h2, .reviews h2, .faq h2, .bottom-cta h2 {
  font-family: var(--display);
  letter-spacing: -0.04em;
  font-size: clamp(1.7rem, 4vw, 2.5rem);
  margin: 0 0 1.25rem;
}
.pain-grid {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 1rem;
}
.pain-grid li {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 1.1rem 1.2rem;
  display: grid;
  gap: 0.35rem;
}
.pain-grid strong { font-family: var(--display); font-size: 1.1rem; }
.pain-grid span { color: var(--muted); }

.chapters { padding: 1rem 0 3rem; }
.chapter {
  width: min(1100px, calc(100% - 2rem));
  margin: 0 auto 2.5rem;
  display: grid;
  gap: 1.5rem;
  align-items: center;
}
.chapter-copy span {
  font-family: var(--display);
  font-weight: 800;
  color: var(--accent);
  letter-spacing: 0.08em;
}
.chapter-copy h2 {
  margin: 0.35rem 0;
  font-family: var(--display);
  letter-spacing: -0.04em;
  font-size: clamp(1.5rem, 3vw, 2.1rem);
}
.chapter-copy p { color: var(--muted); margin: 0; max-width: 38ch; }
.phone-frame {
  justify-self: center;
  width: min(260px, 70vw);
  padding: 0.55rem;
  border-radius: 28px;
  background: #111;
  box-shadow: 0 24px 50px rgba(0,0,0,0.22);
}
.phone-frame img {
  display: block;
  width: 100%;
  border-radius: 22px;
}

.reviews { padding: 2rem 0 4rem; background: rgba(31, 77, 61, 0.05); }
.reviews header p { color: var(--muted); margin: -0.5rem 0 1.5rem; max-width: 46ch; }
.review-rail {
  display: grid;
  gap: 1rem;
}
.review-rail blockquote {
  margin: 0;
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 1.25rem;
}
.review-rail p {
  margin: 0 0 0.85rem;
  font-size: 1.05rem;
  font-weight: 500;
}
.review-rail cite {
  color: var(--muted);
  font-style: normal;
  font-size: 0.9rem;
}

.faq { padding: 2rem 0 3rem; }
.faq-list { display: grid; gap: 0.65rem; }
details {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 0.85rem 1rem;
}
summary {
  cursor: pointer;
  font-weight: 700;
  list-style: none;
}
summary::-webkit-details-marker { display: none; }
details p { color: var(--muted); margin: 0.7rem 0 0.2rem; }

.bottom-cta {
  padding: 2rem 0 4rem;
  text-align: center;
}
.bottom-cta h2 { max-width: 16ch; margin-inline: auto; }

footer {
  border-top: 1px solid var(--line);
  padding: 1.5rem 0 2.5rem;
  color: var(--muted);
  font-size: 0.88rem;
}
footer a { color: var(--muted); }

[data-reveal] {
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 0.65s var(--ease), transform 0.65s var(--ease);
}
[data-reveal].is-visible { opacity: 1; transform: none; }

@media (min-width: 860px) {
  .pain-grid { grid-template-columns: repeat(4, 1fr); }
  .chapter { grid-template-columns: 1fr 1fr; gap: 3rem; }
  .chapter.flip .chapter-copy { order: 2; }
  .chapter.flip .chapter-media { order: 1; }
  .review-rail { grid-template-columns: repeat(2, 1fr); }
  .marquee-track figure { width: 220px; }
}

@media (prefers-reduced-motion: reduce) {
  .marquee-track { animation: none; }
  [data-reveal] { opacity: 1; transform: none; transition: none; }
}
