/* GutFlow sales page — same look as the Repaint page (Playfair Display, DM Sans, Caveat; pink, mint and
   light-blue sections; purple buttons). Mobile first. */
:root {
  --ink: #2d2d2d;
  --muted: #4a4a4a;
  --pink: #fdf0f0;
  --mint: #f0faf5;
  --sky: #e6f1fb;
  --purple: #6a3fa0;
  --purple-deep: #4e2a82;
  --green: #3f8f6b;
  --white: #ffffff;
  --radius: 22px;
  --serif: 'Playfair Display', Georgia, serif;
  --sans: 'DM Sans', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
  --hand: 'Caveat', 'Segoe Script', cursive;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.6;
  color: var(--ink);
  background: var(--pink);
  -webkit-font-smoothing: antialiased;
  padding-bottom: 84px; /* room for the sticky button on phones */
}
img { max-width: 100%; height: auto; display: block; }
/* Elements marked hidden (e.g. bonuses not delivered yet) stay hidden even with display rules below. */
[hidden] { display: none !important; }
a { color: var(--purple-deep); }

.wrap { width: 100%; max-width: 1080px; margin: 0 auto; padding: 0 20px; }
.narrow { max-width: 720px; }
section { padding: 56px 0; }
.bg-pink { background: var(--pink); }
.bg-mint { background: var(--mint); }
.bg-sky { background: var(--sky); }
.bg-white { background: var(--white); }
.bg-purple { background: var(--purple); color: var(--white); }
.bg-purple-deep { background: var(--purple-deep); color: var(--white); }

h1, h2, h3 { font-family: var(--serif); font-weight: 600; line-height: 1.15; margin: 0 0 16px; color: var(--ink); }
h1 { font-size: clamp(34px, 8vw, 54px); }
h2 { font-size: clamp(28px, 6vw, 38px); }
h3 { font-size: 22px; }
.bg-purple h2, .bg-purple-deep h2, .bg-purple h3, .bg-purple-deep h3 { color: var(--white); }
p { margin: 0 0 16px; }
.lead { font-size: 19px; color: var(--muted); }
.accent { color: var(--green); }
.hand { font-family: var(--hand); font-weight: 700; font-size: clamp(26px, 6vw, 34px); line-height: 1.3; color: var(--purple-deep); }
.bg-purple-deep .hand, .bg-purple .hand { color: var(--white); }
.eyebrow { font-size: 13px; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; color: var(--purple); margin-bottom: 10px; }
.center { text-align: center; }
.small { font-size: 14px; color: var(--muted); }
.note { font-size: 13px; color: var(--muted); font-style: italic; }

/* Buttons */
.btn {
  display: inline-block;
  background: var(--purple);
  color: var(--white);
  font-family: var(--sans);
  font-weight: 700;
  font-size: 18px;
  line-height: 1.3;
  text-decoration: none;
  text-align: center;
  padding: 17px 32px;
  border-radius: 999px;
  box-shadow: 0 10px 24px -10px rgba(106, 63, 160, 0.7);
  transition: transform 0.15s ease, background 0.15s ease;
}
.btn:hover { background: var(--purple-deep); transform: translateY(-1px); }
.btn:focus-visible { outline: 3px solid var(--purple-deep); outline-offset: 3px; }
.btn-block { display: block; width: 100%; }
.bg-purple .btn, .bg-purple-deep .btn { background: var(--white); color: var(--purple-deep); }
.cta-meta { margin-top: 10px; font-size: 14px; color: var(--muted); text-align: center; }
.bg-purple-deep .cta-meta { color: #e9ddf8; }

/* Hero */
.hero { padding-top: 32px; }
.hero-grid { display: grid; gap: 28px; align-items: center; }
.ticks { list-style: none; padding: 0; margin: 0 0 24px; }
.ticks li { position: relative; padding-left: 30px; margin-bottom: 10px; }
.ticks li::before { content: '✓'; position: absolute; left: 0; top: 0; color: var(--green); font-weight: 700; }
/* Grid items may shrink below their image's natural width (otherwise text overflows on phones). */
.hero-grid > *, .two-col > *, .rose > *, .guarantee > * { min-width: 0; }
.hero-img, .two-col > img { width: 100%; }
.hero-img { border-radius: var(--radius); box-shadow: 0 20px 40px -24px rgba(78, 42, 130, 0.45); }
/* Soft, blended edges so photos melt into the section background instead of sitting in a hard box. */
.fade-edges { border-radius: 0; box-shadow: none;
  -webkit-mask-image: linear-gradient(to right, transparent, #000 9%, #000 91%, transparent), linear-gradient(to bottom, transparent, #000 9%, #000 91%, transparent);
  -webkit-mask-composite: source-in;
  mask-image: linear-gradient(to right, transparent, #000 9%, #000 91%, transparent), linear-gradient(to bottom, transparent, #000 9%, #000 91%, transparent);
  mask-composite: intersect; }
/* Lighter version for the regular photos */
.fade-soft { border-radius: 0;
  -webkit-mask-image: linear-gradient(to right, transparent, #000 6%, #000 94%, transparent), linear-gradient(to bottom, transparent, #000 6%, #000 94%, transparent);
  -webkit-mask-composite: source-in;
  mask-image: linear-gradient(to right, transparent, #000 6%, #000 94%, transparent), linear-gradient(to bottom, transparent, #000 6%, #000 94%, transparent);
  mask-composite: intersect; }
.seals img { filter: drop-shadow(0 8px 10px rgba(78, 42, 130, 0.18)); }
.inside-img { width: 100%; max-width: 640px; margin: 20px auto 4px; }

/* Trust strip */
.strip { padding: 18px 0; }
.strip ul { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px; text-align: center; }
.strip li { font-size: 13px; font-weight: 700; letter-spacing: 0.08em; }

/* Lists and cards */
.pain { list-style: none; padding: 0; margin: 0 0 24px; }
.pain li { background: var(--white); border-radius: 16px; padding: 14px 18px; margin-bottom: 10px; box-shadow: 0 6px 18px -14px rgba(0, 0, 0, 0.35); }
.two-col { display: grid; gap: 28px; align-items: center; }
.rounded { border-radius: var(--radius); }
.sources { font-size: 13px; color: var(--muted); margin-top: 18px; }

.steps { list-style: none; counter-reset: step; padding: 0; margin: 0; display: grid; gap: 16px; }
.steps li { counter-increment: step; background: var(--white); border-radius: var(--radius); padding: 22px 22px 22px 74px; position: relative; }
.steps li::before {
  content: counter(step);
  position: absolute; left: 20px; top: 20px;
  width: 38px; height: 38px; border-radius: 50%;
  background: var(--purple); color: var(--white);
  font-weight: 700; display: grid; place-items: center;
}
.steps strong { display: block; font-size: 18px; margin-bottom: 4px; }

.features { list-style: none; padding: 0; margin: 20px 0 28px; display: grid; gap: 12px; }
.features li { background: var(--white); border-radius: 16px; padding: 16px 18px; }
.features strong { color: var(--purple-deep); }

/* Bonuses */
.bonus-grid { list-style: none; padding: 0; margin: 28px 0 24px; display: grid; gap: 16px; }
.bonus-card { display: grid; grid-template-columns: 136px 1fr; gap: 16px; align-items: center; background: var(--white); border-radius: var(--radius); padding: 14px 18px 14px 14px; box-shadow: 0 14px 30px -22px rgba(78, 42, 130, 0.45); border: 1px solid #f1e4ee; }
.bonus-card img { border-radius: 14px; width: 136px; }
.bonus-card h3 { font-size: 19px; margin-bottom: 6px; }
.bonus-card p { margin: 0; font-size: 15px; color: var(--muted); line-height: 1.5; }
.bonus-card .bonus-tag { font-size: 12px; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; color: #2e6e52; margin-bottom: 4px; }

/* Rose */
.rose { display: grid; gap: 24px; align-items: center; }
.rose img { width: 100%; max-width: 300px; height: auto; margin: 0 auto; }

/* Offer */
.offer { background: var(--white); border-radius: 28px; padding: 28px 22px; box-shadow: 0 24px 50px -30px rgba(78, 42, 130, 0.5); }
.offer-list { list-style: none; padding: 0; margin: 0 0 24px; }
.offer-list li { display: flex; gap: 12px; align-items: center; padding: 12px 0; border-bottom: 1px solid #efe6f6; }
.offer-list img { width: 64px; height: 64px; object-fit: cover; border-radius: 14px; flex: 0 0 64px; }
.price { font-family: var(--serif); font-size: 52px; font-weight: 700; color: var(--purple-deep); line-height: 1; margin: 8px 0 4px; }
.price-meta { color: var(--muted); margin-bottom: 20px; }

/* Guarantee */
.guarantee { display: grid; gap: 20px; align-items: center; text-align: center; }
.seals { display: flex; justify-content: center; gap: 4px; }
.seals img { width: 118px; }

/* FAQ */
details { background: var(--white); border-radius: 16px; padding: 4px 18px; margin-bottom: 10px; }
summary { cursor: pointer; font-weight: 700; padding: 14px 0; list-style: none; position: relative; padding-right: 28px; }
summary::-webkit-details-marker { display: none; }
summary::after { content: '+'; position: absolute; right: 0; top: 12px; font-size: 22px; color: var(--purple); }
details[open] summary::after { content: '−'; }
details p { padding-bottom: 8px; }
.doctor { border-left: 4px solid var(--purple); background: var(--white); border-radius: 12px; padding: 16px 18px; margin-top: 24px; font-size: 15px; }

/* Footer */
footer { background: var(--purple-deep); color: #efe6fa; padding: 36px 0 28px; font-size: 14px; }
footer a { color: var(--white); }
.legal { display: flex; flex-wrap: wrap; gap: 8px 16px; margin: 0 0 16px; padding: 0; list-style: none; }

/* Sticky button on phones */
.sticky {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 50;
  background: rgba(253, 240, 240, 0.96);
  padding: 10px 16px calc(10px + env(safe-area-inset-bottom));
  box-shadow: 0 -8px 24px -16px rgba(0, 0, 0, 0.4);
}
.sticky .btn { display: block; padding: 14px 20px; font-size: 17px; }

@media (min-width: 760px) {
  body { padding-bottom: 0; }
  .sticky { display: none; }
  .hero-grid, .two-col { grid-template-columns: 1.05fr 1fr; gap: 48px; }
  .hero-grid { grid-template-columns: 0.9fr 1.1fr; gap: 40px; }
  .strip ul { grid-template-columns: repeat(6, 1fr); }
  .steps { grid-template-columns: repeat(3, 1fr); }
  .features { grid-template-columns: repeat(2, 1fr); }
  .bonus-grid { grid-template-columns: repeat(3, 1fr); gap: 22px; }
  .bonus-card { grid-template-columns: 1fr; padding: 16px 16px 22px; align-items: start; align-content: start; }
  .bonus-card img { width: 100%; }
  .rose { grid-template-columns: 340px 1fr; gap: 44px; }
  .rose img { max-width: 340px; }
  .two-col.wide-img { grid-template-columns: 0.85fr 1.25fr; }
  .offer { padding: 40px; }
  .seals img { width: 170px; }
  section { padding: 80px 0; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .btn { transition: none; }
}
