/* JointGel® listicle landing — implemented from "Listicle Landing.dc.html"
   Breakpoint: 760px (matches the design's narrow-mode matchMedia query). */

:root {
  --green: #17603c;
  --green-dark: #124d30;
  --ink: #14201f;
  --ink-soft: #253331;
  --body-color: #3a4a48;
  --muted: #4a5957;
  --faint: #6d7c7a;
  --band: #F6F7F6;
  --band-faq: #eef0ee;
  --line: #e3e6e3;
  --tint: #f0f5f1;
  --gold: #c8891a;
  --font-display: 'Archivo', Helvetica, sans-serif;
  --font-body: 'Source Sans 3', Helvetica, Arial, sans-serif;

  /* wide-viewport values (narrow overrides at the bottom) */
  --h1-size: 54px;
  --section-size: 42px;
  --reason-size: 36px;
  --intro-size: 21px;
  --body-size: 21px;
  --btn-size: 27px;
  --btn-pad: 28px 30px;
  --band-pad: 52px 1000px;
  --section-pad: 60px 1000px;
  --faq-q-size: 23px;
}

body {
  margin: 0;
  background: #ffffff;
  -webkit-font-smoothing: antialiased;
  font-family: var(--font-body);
  color: var(--ink);
}

a { color: var(--green); }
a:hover { color: var(--green-dark); }

strong { font-weight: 700; }
strong.dark { color: var(--ink); }

.page { background: #fff; overflow-x: hidden; }

/* ---------- Promo banner + countdown ---------- */

.promo-banner {
  background: var(--green);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 28px;
  padding: 12px 20px;
  flex-wrap: wrap;
}

.promo-banner__copy { text-align: center; line-height: 1.25; }

.promo-banner__headline {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 19px;
  letter-spacing: 0.02em;
}

.promo-banner__subline {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 17px;
  letter-spacing: 0.01em;
}

.countdown {
  background: #fff;
  border-radius: 6px;
  padding: 8px 16px 6px;
  display: flex;
  gap: 10px;
  color: #1b2a20;
}

.countdown__unit { text-align: center; min-width: 34px; }

.countdown__value,
.countdown__sep {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 24px;
  line-height: 1;
}

.countdown__label {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.06em;
  color: #7a8a7c;
  margin-top: 3px;
}

/* ---------- Reading progress ---------- */

.progress-track {
  position: sticky;
  top: 0;
  z-index: 10;
  height: 4px;
  background: #e9edee;
}

.progress-fill {
  height: 100%;
  width: 2%;
  background: var(--green);
}

/* ---------- Article shell ---------- */

.article {
  max-width: 940px;
  margin: 0 auto;
  padding: 44px 24px 0;
}

.headline {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: var(--h1-size);
  line-height: 1.08;
  letter-spacing: -0.02em;
  margin: 0 0 26px;
  text-align: center;
  text-wrap: pretty;
}

.intro {
  display: flex;
  flex-direction: column;
  gap: 22px;
  font-size: var(--intro-size);
  line-height: 1.62;
  color: var(--ink-soft);
  margin-bottom: 26px;
}

.intro p, .reason__body p, .closer__body p { margin: 0; text-wrap: pretty; }

.note-callout {
  border-left: 5px solid var(--green);
  background: var(--tint);
  padding: 14px 18px;
  font-size: 17px;
  font-weight: 700;
  color: var(--ink);
}

/* ---------- Reason sections ---------- */

.reasons {
  display: flex;
  flex-direction: column;
  gap: 64px;
  margin-top: 56px;
}

.reason {
  display: grid;
  grid-template-columns: minmax(0, 500px) minmax(0, 1fr);
  grid-template-areas: "img title" "img body";
  grid-template-rows: min-content min-content;
  gap: 0 48px;
  align-content: center;
}

/* Full-bleed gray band: bleeds past the 940px column, clipped by .page */
.reason--band {
  margin: 0 -1000px;
  padding: var(--band-pad);
  background: var(--band);
}

.reason__title {
  grid-area: title;
  align-self: end;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: var(--reason-size);
  line-height: 1.12;
  letter-spacing: -0.022em;
  color: var(--ink);
  margin: 0 0 16px;
  text-align: left;
  text-wrap: pretty;
}

.reason__img {
  grid-area: img;
  aspect-ratio: 1 / 1;
  align-self: start;
}

.reason__body {
  grid-area: body;
  align-self: start;
  display: flex;
  flex-direction: column;
  gap: 18px;
  font-size: var(--body-size);
  line-height: 1.6;
  color: var(--body-color);
}

/* ---------- Image placeholders (swap for <img> when assets land) ---------- */

.img-placeholder {
  width: 100%;
  height: 100%;
  box-sizing: border-box;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 12px;
  background: #f2f1ef;
  color: #6e6c66;
  border: 1.5px dashed rgba(110, 108, 102, 0.35);
  font-size: 14px;
  line-height: 1.45;
  user-select: none;
}

.img-placeholder--rounded { border-radius: 10px; }
.img-placeholder--portrait { border-radius: 4px; }

.slot-img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 10px;
}

.slot-img--portrait { border-radius: 4px; }

/* ---------- CTAs ---------- */

.cta-button {
  background: var(--green);
  color: #fff;
  text-decoration: none;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: var(--btn-size);
  line-height: 1.2;
  letter-spacing: -0.01em;
  padding: var(--btn-pad);
  border-radius: 4px;
  box-shadow: 0 6px 16px rgba(20, 32, 31, 0.22);
}

.cta-button:hover { background: var(--green-dark); color: #fff; }

.cta-button--inline { display: inline-block; }

.cta-button--block {
  display: block;
  width: 100%;
  box-sizing: border-box;
  text-align: center;
}

.mid-cta {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 18px;
  background: var(--band);
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 34px 28px;
  text-align: center;
}

.mid-cta__lead {
  margin: 0;
  font-size: 21px;
  line-height: 1.5;
  color: var(--ink-soft);
  max-width: 620px;
  text-wrap: pretty;
}

.cta-stack {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
}

.cta-stack__note {
  margin: 0;
  font-size: 16px;
  color: var(--body-color);
  text-align: center;
}

/* ---------- Closing sections ---------- */

.closer {
  margin-top: 76px;
  display: flex;
  flex-direction: column;
  gap: 34px;
}

.closer__title {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: var(--section-size);
  line-height: 1.12;
  letter-spacing: -0.022em;
  margin: 0;
  text-align: center;
  text-wrap: pretty;
}

.closer__grid {
  display: grid;
  grid-template-columns: minmax(0, 460px) minmax(0, 1fr);
  gap: 48px;
  align-items: start;
}

.closer__img { aspect-ratio: 4 / 5; }

.closer__body {
  display: flex;
  flex-direction: column;
  gap: 20px;
  font-size: var(--body-size);
  line-height: 1.6;
  color: var(--body-color);
}

/* ---------- Social proof ---------- */

.social-proof {
  margin: 76px -1000px 0;
  padding: var(--section-pad);
  background: var(--band);
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.social-proof__title {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: var(--section-size);
  line-height: 1.12;
  letter-spacing: -0.022em;
  margin: 0;
  text-align: center;
  text-wrap: pretty;
}

.social-proof__sub {
  margin: 0 0 8px;
  font-size: 19px;
  line-height: 1.5;
  color: var(--body-color);
  text-align: center;
}

.social-proof__rating {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 10px 16px;
  margin-bottom: 6px;
}

.stars {
  font-size: 23px;
  color: var(--gold);
  letter-spacing: 2px;
  line-height: 1;
}

.stars--lg { font-size: 26px; }

.social-proof__score {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 20px;
  color: var(--ink);
}

.social-proof__source { font-size: 17px; color: var(--muted); }

.reviews {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 22px;
  max-width: 940px;
  margin: 0 auto;
  width: 100%;
}

.review-card {
  background: #fff;
  border: 2px solid var(--line);
  border-radius: 8px;
  box-shadow: 0 4px 14px rgba(20, 32, 31, 0.08);
  padding: 26px 26px 22px;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.review-card__head { display: flex; align-items: center; gap: 10px; }

.review-card__badge {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 13px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--green);
}

.review-card__quote {
  font-size: 19px;
  line-height: 1.55;
  color: var(--ink-soft);
  text-wrap: pretty;
}

.review-card__author {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: auto;
  padding-top: 14px;
  border-top: 1px solid #eaece9;
}

.review-card__avatar {
  flex: none;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--green);
  color: #fff;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.review-card__name { font-size: 17px; font-weight: 700; color: var(--ink); }

.social-proof__cta { margin-top: 18px; }

/* ---------- FAQ ---------- */

.faq {
  margin: 0 -1000px;
  padding: var(--section-pad);
  background: var(--band-faq);
  display: flex;
  flex-direction: column;
  gap: 22px;
}

.faq__title {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: var(--section-size);
  line-height: 1.12;
  letter-spacing: -0.022em;
  margin: 0;
  text-align: center;
}

.faq__list {
  max-width: 800px;
  margin: 0 auto;
  width: 100%;
  border-bottom: 1px solid var(--line);
}

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

.faq__question {
  width: 100%;
  box-sizing: border-box;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
  background: none;
  border: 0;
  padding: 22px 0;
  text-align: left;
  cursor: pointer;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: var(--faq-q-size);
  line-height: 1.3;
  letter-spacing: -0.01em;
  color: var(--ink);
}

.faq__question span:first-child { text-wrap: pretty; }

.faq__sign {
  flex: none;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: var(--tint);
  color: var(--green);
  font-size: 19px;
  line-height: 30px;
  text-align: center;
  font-family: var(--font-body);
  font-weight: 400;
}

.faq__answer {
  font-size: 18px;
  line-height: 1.6;
  color: var(--body-color);
  padding: 0 44px 24px 0;
  text-wrap: pretty;
}

.faq__cta { margin-top: 8px; }

.faq__guarantee {
  margin: 0;
  font-size: 16px;
  font-weight: 700;
  color: var(--muted);
  text-align: center;
}

/* ---------- Footer ---------- */

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

.footer__inner {
  max-width: 940px;
  margin: 0 auto;
  padding: 40px 24px 52px;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.footer__copyright { font-size: 16px; font-weight: 700; color: var(--ink); }

.footer__nav {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 22px;
  font-size: 15px;
}

.footer__nav a { color: var(--green); text-decoration: none; }
.footer__nav a:hover { text-decoration: underline; }

.footer__disclaimer {
  margin: 0;
  max-width: 760px;
  font-size: 13px;
  line-height: 1.6;
  color: var(--faint);
}

/* ---------- Narrow viewport (matches the design's 760px matchMedia) ---------- */

@media (max-width: 760px) {
  :root {
    --h1-size: 34px;
    --section-size: 29px;
    --reason-size: 26px;
    --intro-size: 19px;
    --body-size: 19px;
    --btn-size: 19px;
    --btn-pad: 20px 18px;
    --band-pad: 34px 1000px;
    --section-pad: 40px 1000px;
    --faq-q-size: 20px;
  }

  .reason {
    grid-template-columns: 1fr;
    grid-template-areas: "title" "img" "body";
    grid-template-rows: min-content min-content min-content;
    gap: 18px 0;
    align-content: start;
  }

  .reason__title {
    margin: 0;
    text-align: center;
    text-wrap: pretty;
    line-height: 1.15;
  }

  /* green accent bar under mobile reason titles */
  .reason__title::after {
    content: "";
    display: block;
    width: 52px;
    height: 4px;
    background: var(--green);
    border-radius: 2px;
    margin: 12px auto 0;
  }

  .closer__grid {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .reviews { grid-template-columns: 1fr; }
}
