/* ============================================================
   Archie Health — product landing pages (/products/*)
   Builds on css/home.css tokens (Fraunces + Outfit, forest palette).
   Generated pages: see build-product-pages.cjs
   ============================================================ */

:root {
  --pd-forest: #143d2c;
  --pd-forest-2: #1f5a41;
  --pd-line: rgba(255, 255, 255, 0.14);
  --pd-gold-soft: #f0c9a8;
}

.pd-container {
  max-width: calc(var(--container) + var(--pad) * 2);
  margin: 0 auto;
  padding: 0 var(--pad);
}

.pd-eyebrow {
  font-family: var(--font-text);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 1.4px;
  text-transform: uppercase;
  color: var(--gold);
  margin: 0 0 12px;
}

.pd-h2 {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 38px;
  line-height: 1.12;
  letter-spacing: -0.8px;
  margin: 0;
}

.pd-lead {
  font-size: 16px;
  line-height: 1.65;
  color: var(--ink-mute);
  margin: 14px 0 0;
  max-width: 620px;
}

.pd-nav-links {
  display: flex;
  gap: 26px;
  margin-right: 8px;
}

.pd-nav-links a {
  font-size: 14px;
  font-weight: 500;
  color: #fff;
  opacity: 0.85;
}

.site-nav.is-fixed .pd-nav-links a {
  color: var(--ink);
}

.pd-nav-links a:hover {
  opacity: 1;
}

/* ---------- Hero ---------- */
.pd-hero {
  background: radial-gradient(
      1100px 520px at 85% 10%,
      rgba(255, 255, 255, 0.08),
      transparent 60%
    ),
    linear-gradient(165deg, var(--pd-forest) 0%, #0f2e22 100%);
  color: #fff;
  padding: 158px 0 72px;
  position: relative;
  overflow: hidden;
}

.pd-hero__inner {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 40px;
  align-items: center;
}

.pd-crumbs {
  display: flex;
  gap: 8px;
  font-size: 13px;
  color: rgba(255, 255, 255, 0.6);
  margin: 0 0 22px;
  list-style: none;
  padding: 0;
}

.pd-crumbs a {
  color: rgba(255, 255, 255, 0.75);
}

.pd-crumbs li + li::before {
  content: "/";
  margin-right: 8px;
  color: rgba(255, 255, 255, 0.35);
}

.pd-hero__badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(240, 201, 168, 0.12);
  border: 1px solid rgba(240, 201, 168, 0.4);
  color: var(--pd-gold-soft);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 1.2px;
  text-transform: uppercase;
  border-radius: 999px;
  padding: 7px 14px;
  margin: 0 0 20px;
}

.pd-hero h1 {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 58px;
  line-height: 1.02;
  letter-spacing: -1.4px;
  margin: 0 0 16px;
}

.pd-hero h1 em {
  font-style: italic;
  color: var(--pd-gold-soft);
}

.pd-hero__sub {
  font-size: 18px;
  line-height: 1.55;
  color: rgba(255, 255, 255, 0.82);
  margin: 0 0 26px;
  max-width: 560px;
}

.pd-price {
  display: flex;
  align-items: baseline;
  gap: 12px;
  flex-wrap: wrap;
  margin: 0 0 26px;
}

.pd-price__main {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 44px;
  letter-spacing: -1px;
  line-height: 1;
  font-variant-numeric: tabular-nums;
}

.pd-price__main small {
  font-family: var(--font-text);
  font-size: 18px;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.7);
  letter-spacing: 0;
}

.pd-price__note {
  font-size: 15px;
  color: var(--pd-gold-soft);
  font-weight: 600;
}

.pd-price__fine {
  flex-basis: 100%;
  font-size: 13px;
  color: rgba(255, 255, 255, 0.6);
}

.pd-hero__actions {
  display: flex;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
}

.pd-hero__actions .btn--outline {
  border-color: rgba(255, 255, 255, 0.35);
  color: #fff;
}

.pd-hero__trust {
  list-style: none;
  padding: 0;
  margin: 30px 0 0;
  display: flex;
  gap: 22px;
  flex-wrap: wrap;
}

.pd-hero__trust li {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13.5px;
  color: rgba(255, 255, 255, 0.8);
}

.pd-hero__trust .check-ico {
  width: 18px;
  height: 18px;
}

.pd-hero__trust .check-ico::after {
  left: 5px;
  top: 4.5px;
  width: 6px;
  height: 3.5px;
}

.pd-hero__media {
  position: relative;
  display: grid;
  place-items: center;
  min-height: 460px;
}

.pd-hero__media::before {
  content: "";
  position: absolute;
  inset: 8% 6%;
  border-radius: 32px;
  background: linear-gradient(
    160deg,
    rgba(255, 255, 255, 0.1),
    rgba(255, 255, 255, 0.03)
  );
  border: 1px solid rgba(255, 255, 255, 0.12);
}

.pd-hero__media img {
  position: relative;
  max-height: 440px;
  width: auto;
  max-width: 78%;
  filter: drop-shadow(0 30px 44px rgba(0, 0, 0, 0.45));
}

.pd-hero__chip {
  position: absolute;
  right: 4%;
  bottom: 10%;
  background: #fff;
  color: var(--ink);
  border-radius: 16px;
  padding: 12px 16px;
  box-shadow: 0 14px 34px rgba(0, 0, 0, 0.3);
  font-size: 12px;
  line-height: 1.3;
}

.pd-hero__chip strong {
  display: block;
  font-family: var(--font-display);
  font-size: 22px;
  color: var(--green);
  font-variant-numeric: tabular-nums;
}

.pd-hero__chip--fda {
  left: 4%;
  right: auto;
  top: 10%;
  bottom: auto;
}

/* ---------- Facts strip ---------- */
.pd-facts {
  background: var(--sand);
  padding: 44px 0;
}

.pd-facts__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}

.pd-fact {
  background: #fff;
  border: 1px solid var(--hairline);
  border-radius: 18px;
  padding: 20px 22px;
}

.pd-fact em {
  display: block;
  font-style: normal;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: var(--ink-mute);
  margin-bottom: 8px;
}

.pd-fact strong {
  display: block;
  font-family: var(--font-display);
  font-size: 19px;
  font-weight: 600;
  line-height: 1.25;
  margin-bottom: 4px;
}

.pd-fact p {
  font-size: 13.5px;
  color: var(--ink-soft);
  line-height: 1.5;
}

/* ---------- How it works ---------- */
.pd-how {
  padding: 90px 0 70px;
  background: #fff;
}

.pd-how__head {
  max-width: 680px;
  margin-bottom: 44px;
}

.pd-how__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.pd-how-card {
  background: var(--card-sand);
  border: 1px solid var(--hairline);
  border-radius: 22px;
  padding: 28px 26px;
}

.pd-how-card span {
  display: inline-grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: var(--mint);
  color: var(--green);
  font-family: var(--font-display);
  font-size: 18px;
  font-weight: 600;
  margin-bottom: 18px;
}

.pd-how-card h3 {
  font-family: var(--font-display);
  font-size: 22px;
  font-weight: 600;
  margin: 0 0 10px;
}

.pd-how-card p {
  font-size: 14.5px;
  line-height: 1.6;
  color: var(--ink-soft);
}

/* ---------- Plans ---------- */
.pd-plans {
  padding: 80px 0;
  background: var(--cream);
}

.pd-plans__head {
  text-align: center;
  max-width: 640px;
  margin: 0 auto 44px;
}

.pd-plans__head .pd-lead {
  margin-left: auto;
  margin-right: auto;
}

.pd-plans__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  max-width: 1000px;
  margin: 0 auto;
}

.pd-plan {
  position: relative;
  background: #fff;
  border: 1px solid var(--hairline);
  border-radius: 24px;
  padding: 30px 28px 28px;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.pd-plan--featured {
  border: 2px solid var(--green);
  box-shadow: 0 18px 44px rgba(20, 61, 44, 0.12);
}

.pd-plan__tag {
  position: absolute;
  top: -13px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--green);
  color: #fff;
  font-size: 11.5px;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
  border-radius: 999px;
  padding: 6px 14px;
  white-space: nowrap;
}

.pd-plan__tag--gold {
  background: var(--gold);
}

.pd-plan__name {
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: var(--ink-mute);
}

.pd-plan__rate {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 44px;
  letter-spacing: -1px;
  line-height: 1.05;
  font-variant-numeric: tabular-nums;
}

.pd-plan__rate small {
  font-family: var(--font-text);
  font-size: 16px;
  font-weight: 500;
  color: var(--ink-mute);
  letter-spacing: 0;
}

.pd-plan__intro {
  font-size: 14px;
  color: var(--green);
  font-weight: 600;
}

.pd-plan__billing {
  font-size: 13.5px;
  color: var(--ink-mute);
  min-height: 20px;
}

.pd-plan__save {
  display: inline-block;
  align-self: flex-start;
  margin-top: 6px;
  background: var(--mint);
  color: var(--green);
  font-size: 12.5px;
  font-weight: 700;
  border-radius: 999px;
  padding: 4px 10px;
}

.pd-plan ul {
  list-style: none;
  margin: 18px 0 22px;
  padding: 18px 0 0;
  border-top: 1px solid var(--hairline);
  display: grid;
  gap: 10px;
}

.pd-plan li {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  font-size: 14px;
  line-height: 1.45;
  color: var(--ink-soft);
}

.pd-plan li .check-ico {
  width: 18px;
  height: 18px;
  margin-top: 2px;
}

.pd-plan li .check-ico::after {
  left: 5px;
  top: 4.5px;
  width: 6px;
  height: 3.5px;
}

.pd-plan .btn {
  margin-top: auto;
  width: 100%;
}

.pd-plans__fine {
  text-align: center;
  font-size: 13px;
  color: var(--ink-mute);
  max-width: 720px;
  margin: 26px auto 0;
  line-height: 1.6;
}

/* brand membership layout */
.pd-membership {
  max-width: 1000px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
}

.pd-membership .pd-plan__rate {
  font-size: 40px;
}

.pd-membership__meds {
  background: var(--mint);
  border-radius: 24px;
  padding: 30px 28px;
}

.pd-membership__meds h3 {
  font-family: var(--font-display);
  font-size: 22px;
  font-weight: 600;
  margin: 0 0 10px;
}

.pd-membership__meds p {
  font-size: 14.5px;
  line-height: 1.6;
  color: var(--ink-soft);
  margin-bottom: 12px;
}

.pd-membership__meds ul {
  margin: 0;
  padding-left: 18px;
  font-size: 14px;
  line-height: 1.6;
  color: var(--ink-soft);
}

/* ---------- Included panel ---------- */
.pd-included {
  padding: 30px 0 90px;
  background: var(--cream);
}

.pd-included__panel {
  border-radius: 28px;
  background: linear-gradient(160deg, #0c1615 20%, var(--pd-forest-2) 100%);
  color: #fff;
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 30px;
  padding: 54px;
  align-items: center;
  overflow: hidden;
}

.pd-included__panel h2 {
  color: #fff;
  font-size: 34px;
}

.pd-included__list {
  list-style: none;
  margin: 26px 0 30px;
  padding: 0;
  display: grid;
  gap: 4px;
}

.pd-included__list li {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  padding: 10px 0;
  border-top: 1px solid var(--pd-line);
  font-size: 15px;
  color: rgba(255, 255, 255, 0.88);
}

.pd-included__list li:first-child {
  border-top: 0;
}

.pd-included__list strong {
  display: block;
  color: #fff;
}

.pd-included__list small {
  display: block;
  font-size: 13.5px;
  color: rgba(255, 255, 255, 0.65);
  margin-top: 2px;
}

.pd-included__photo {
  display: flex;
  justify-content: center;
}

.pd-included__photo img {
  width: min(400px, 100%);
  mix-blend-mode: lighten;
}

/* ---------- Expect timeline ---------- */
.pd-expect {
  padding: 90px 0;
  background: #fff;
}

.pd-expect__grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 50px;
  align-items: start;
}

.pd-timeline {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0;
}

.pd-timeline li {
  display: grid;
  grid-template-columns: 110px 1fr;
  gap: 20px;
  padding: 22px 0;
  border-top: 1px solid var(--hairline);
}

.pd-timeline li:last-child {
  border-bottom: 1px solid var(--hairline);
}

.pd-timeline em {
  font-style: normal;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 18px;
  color: var(--green);
}

.pd-timeline strong {
  display: block;
  font-size: 16px;
  font-weight: 600;
  margin-bottom: 4px;
}

.pd-timeline p {
  font-size: 14.5px;
  line-height: 1.6;
  color: var(--ink-soft);
}

.pd-expect__fine {
  margin-top: 18px;
  font-size: 13px;
  color: var(--ink-mute);
  line-height: 1.6;
}

/* ---------- Safety ---------- */
.pd-safety {
  padding: 80px 0;
  background: var(--sand);
}

.pd-safety__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  margin-top: 40px;
}

.pd-safety-card {
  background: #fff;
  border: 1px solid var(--hairline);
  border-radius: 22px;
  padding: 28px;
}

.pd-safety-card h3 {
  font-family: var(--font-display);
  font-size: 22px;
  font-weight: 600;
  margin: 0 0 12px;
}

.pd-safety-card ul {
  margin: 0;
  padding-left: 18px;
  display: grid;
  gap: 8px;
  font-size: 14.5px;
  line-height: 1.55;
  color: var(--ink-soft);
}

.pd-safety-card--warn {
  background: #fbf3ea;
  border-color: #efd9c2;
}

.pd-safety__link {
  margin-top: 24px;
  font-size: 14px;
  color: var(--ink-soft);
}

.pd-safety__link a {
  color: var(--green);
  font-weight: 600;
  text-decoration: underline;
}

/* ---------- Compare / other products ---------- */
.pd-compare {
  padding: 90px 0 70px;
  background: #fff;
}

.pd-compare__grid {
  margin-top: 40px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.pd-alt {
  display: flex;
  gap: 16px;
  align-items: center;
  background: var(--card-sand);
  border: 1px solid var(--hairline);
  border-radius: 20px;
  padding: 18px 20px;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.pd-alt:hover {
  transform: translateY(-3px);
  box-shadow: 0 14px 30px rgba(36, 34, 32, 0.08);
}

.pd-alt__thumb {
  flex: 0 0 64px;
  height: 72px;
  border-radius: 14px;
  background: #fff;
  display: grid;
  place-items: center;
}

.pd-alt__thumb img {
  max-height: 60px;
  max-width: 48px;
}

.pd-alt strong {
  display: block;
  font-family: var(--font-display);
  font-size: 17px;
  font-weight: 600;
}

.pd-alt small {
  display: block;
  font-size: 13px;
  color: var(--ink-mute);
  margin-top: 2px;
}

.pd-alt em {
  display: block;
  font-style: normal;
  font-size: 13px;
  color: var(--green);
  font-weight: 600;
  margin-top: 4px;
}

.pd-alt__arrow {
  margin-left: auto;
  color: var(--gold);
  font-size: 20px;
}

/* ---------- Quotes ---------- */
.pd-quotes {
  background: var(--sand);
  padding: 80px 0;
}

.pd-quotes__grid {
  margin-top: 40px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}

.pd-quote {
  background: #fff;
  border-radius: 18px;
  padding: 24px 22px;
  display: flex;
  flex-direction: column;
  box-shadow: 0 8px 22px rgba(36, 34, 32, 0.05);
}

.pd-quote p {
  font-size: 14.5px;
  line-height: 1.6;
  margin: 0 0 18px;
}

.pd-quote footer {
  margin-top: auto;
}

.pd-quote__stars {
  color: var(--gold-a);
  letter-spacing: 2px;
  font-size: 13px;
  margin-bottom: 6px;
}

.pd-quote strong {
  font-family: var(--font-display);
  font-size: 15px;
}

.pd-quote small {
  display: block;
  color: var(--ink-mute);
  margin-top: 2px;
}

.pd-quotes__fine {
  margin-top: 22px;
  text-align: center;
  font-size: 12.5px;
  color: var(--ink-mute);
}

/* ---------- CTA band ---------- */
.pd-cta {
  padding: 40px 0 90px;
  background: #fff;
}

.pd-cta__inner {
  background: var(--pd-forest);
  color: #fff;
  border-radius: 28px;
  padding: 50px 54px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
}

.pd-cta__inner h2 {
  color: #fff;
  font-size: 32px;
}

.pd-cta__inner p {
  margin-top: 10px;
  color: rgba(255, 255, 255, 0.75);
  font-size: 15px;
}

/* ---------- FAQ tweaks ---------- */
.pd-faq .faq__container > h3 {
  font-family: var(--font-display);
  font-size: 34px;
  font-weight: 600;
  letter-spacing: -0.6px;
}

/* ---------- Sticky mobile CTA ---------- */
.pd-sticky {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 45;
  display: none;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 10px 16px calc(10px + env(safe-area-inset-bottom));
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(8px);
  border-top: 1px solid var(--hairline);
}

.pd-sticky strong {
  font-family: var(--font-display);
  font-size: 20px;
  color: var(--green);
}

.pd-sticky small {
  display: block;
  font-size: 12px;
  color: var(--ink-mute);
}

.pd-sticky .btn {
  height: 44px;
  padding: 0 22px;
}

/* ---------- Responsive ---------- */
@media (max-width: 1000px) {
  .pd-facts__grid,
  .pd-quotes__grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .pd-how__grid,
  .pd-plans__grid,
  .pd-compare__grid {
    grid-template-columns: 1fr;
  }

  .pd-nav-links {
    display: none;
  }
}

@media (max-width: 960px) {
  .pd-hero {
    padding: 132px 0 40px;
  }

  .pd-hero__inner,
  .pd-membership,
  .pd-included__panel,
  .pd-expect__grid,
  .pd-safety__grid {
    grid-template-columns: 1fr;
  }

  .pd-hero h1 {
    font-size: 40px;
  }

  .pd-hero__media {
    min-height: 250px;
    order: -1;
  }

  .pd-hero__media img {
    max-height: 230px;
  }

  .pd-hero__chip {
    padding: 8px 12px;
  }

  .pd-hero__chip strong {
    font-size: 18px;
  }

  .pd-h2 {
    font-size: 30px;
  }

  .pd-included__panel {
    padding: 34px 24px;
  }

  .pd-cta__inner {
    flex-direction: column;
    align-items: flex-start;
    padding: 34px 24px;
  }

  .pd-timeline li {
    grid-template-columns: 90px 1fr;
  }

  .pd-sticky {
    display: flex;
  }

  body {
    padding-bottom: 70px;
  }
}

@media (max-width: 620px) {
  .pd-facts__grid,
  .pd-quotes__grid {
    grid-template-columns: 1fr;
  }

  .pd-price__main {
    font-size: 36px;
  }

  .pd-hero__chip--fda {
    display: none;
  }
}
