/* ==========================================================================
   Optiv Health — TRT landing page
   Light edition. Scoped to .trt-lp.
   ========================================================================== */

.trt-lp {
  /* Neutrals — warm, light */
  --paper:      #fbfbf9;
  --paper-2:    #f3f4f0;
  --paper-3:    #eaece5;
  --card:       #ffffff;

  /* Brand */
  --charcoal:   #2e2e2e;
  --ink:        #1c1f1c;
  --accent:     #7bfb8e;
  --accent-soft:#e6fced;
  --accent-mid: #b6f7c4;
  --accent-deep:#14742d;
  --sky:        #d2e4fc;
  --sky-soft:   #eef4fd;

  --muted:      #6a706a;
  --hairline:   rgba(28, 31, 28, 0.10);
  --hairline-2: rgba(28, 31, 28, 0.06);

  /* Rhythm — one spacing scale for the whole page */
  --s-1: 8px;
  --s-2: 14px;
  --s-3: 20px;
  --s-4: 28px;
  --s-5: 40px;
  --s-6: 56px;
  --s-7: 80px;
  --section-y: clamp(64px, 7.5vw, 112px);
  --radius:   22px;
  --radius-lg:30px;

  font-family: "Inter", "Helvetica Neue", Arial, sans-serif;
  color: var(--charcoal);
  background: var(--paper);
  overflow-x: clip;
}

.trt-lp *,
.trt-lp *::before,
.trt-lp *::after { box-sizing: border-box; }

.trt-wrap {
  width: 100%;
  max-width: 1160px;
  margin-inline: auto;
  padding-inline: clamp(20px, 4vw, 32px);
}

/* The parent theme resets heading size/weight to inherit — restate everything. */
/* The parent theme resets heading size/weight to inherit — restate everything.
   These base rules use :where() so they carry ZERO specificity. Without it,
   `.trt-lp h2` (0,1,1) silently beats every single-class component rule like
   `.trt-nosub-head` (0,1,0) — which is what painted the no-subscription
   headline in --ink on an --ink background and killed the auto-centring on
   every class-only paragraph. */
:where(.trt-lp) :where(h1, h2, h3, h4) {
  font-family: "Satoshi", "Inter", sans-serif;
  font-weight: 700;
  letter-spacing: -0.026em;
  line-height: 1.14;
  margin: 0;
  color: var(--ink);
}
:where(.trt-lp) :where(p)  { margin: 0; line-height: 1.65; }
:where(.trt-lp) :where(ul) { margin: 0; padding: 0; list-style: none; }
:where(.trt-lp) :where(a)  { text-decoration: none; }
:where(.trt-lp) :where(img) { max-width: 100%; }

/* Any heading immediately followed by body copy gets real breathing room. */
:where(.trt-lp) :where(h2 + p, h3 + p) { margin-top: var(--s-2); }

.trt-h1 { font-size: clamp(2.35rem, 5.6vw, 4.1rem); line-height: 1.08; }
.trt-h2 { font-size: clamp(1.8rem, 3.6vw, 2.85rem); line-height: 1.14; }
.trt-h3 { font-size: clamp(1.1rem, 1.6vw, 1.32rem); line-height: 1.32; letter-spacing: -0.015em; }

.trt-lead {
  font-size: clamp(1rem, 1.2vw, 1.13rem);
  line-height: 1.72;
  color: var(--muted);
}
.trt-micro { font-size: 13px; line-height: 1.65; color: var(--muted); }
.trt-fine  { font-size: 11.5px; line-height: 1.7; color: var(--muted); }

/* ---------- Eyebrow ---------- */
.trt-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: var(--s-1);
  font-size: 11.5px;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  padding: 8px 15px;
  border-radius: 999px;
  color: var(--accent-deep);
  background: var(--accent-soft);
  border: 1px solid var(--accent-mid);
}
.trt-dot {
  width: 7px; height: 7px; border-radius: 50%;
  background: var(--accent-deep);
  animation: trt-pulse 2.4s ease-out infinite;
}
@keyframes trt-pulse {
  0%   { box-shadow: 0 0 0 0 rgba(20, 116, 45, 0.45); }
  70%  { box-shadow: 0 0 0 9px rgba(20, 116, 45, 0); }
  100% { box-shadow: 0 0 0 0 rgba(20, 116, 45, 0); }
}

/* ---------- Buttons ---------- */
.trt-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  border: 0;
  cursor: pointer;
  border-radius: 999px;
  padding: 17px 32px;
  min-height: 52px;
  font-family: "Inter", sans-serif;
  font-size: 16px;
  font-weight: 600;
  line-height: 1;
  letter-spacing: -0.01em;
  transition: transform .2s cubic-bezier(.2,.7,.2,1), box-shadow .2s ease, background .2s ease;
}
.trt-btn--primary {
  background: var(--accent);
  color: #10210f;
  box-shadow: 0 8px 22px -12px rgba(20, 116, 45, 0.55);
}
.trt-btn--primary:hover {
  background: #6cf581;
  color: #10210f;
  transform: translateY(-2px);
  box-shadow: 0 16px 30px -14px rgba(20, 116, 45, 0.6);
}
.trt-btn--dark { background: var(--ink); color: #fff; }
.trt-btn--dark:hover { background: #333733; color: #fff; transform: translateY(-2px); }
.trt-btn--outline { background: transparent; color: var(--ink); border: 1.5px solid var(--ink); }
.trt-btn--outline:hover { background: var(--ink); color: #fff; transform: translateY(-2px); }
.trt-btn--block { width: 100%; }
.trt-btn svg { width: 18px; height: 18px; }

/* ---------- Section shells ---------- */
.trt-section { padding-block: var(--section-y); }
.trt-section--paper { background: var(--paper); }
.trt-section--stone { background: var(--paper-2); }
.trt-section--white { background: var(--card); }
.trt-section--mint  { background: var(--accent-soft); }
.trt-section--sky   { background: var(--sky-soft); }
.trt-section--tight { padding-top: 0; }

.trt-head { max-width: 60ch; margin-bottom: clamp(40px, 5vw, 64px); }
.trt-head .trt-eyebrow + h2 { margin-top: var(--s-4); }
.trt-head h2 + p { margin-top: var(--s-4); }
.trt-head--center { margin-inline: auto; text-align: center; }
.trt-head--center > p { margin-inline: auto; }
.trt-actions-center { text-align: center; margin-top: var(--s-7); }
.trt-cost-card .trt-btn { margin-top: var(--s-5); }
.trt-offer-body .trt-btn { margin-top: var(--s-5); margin-bottom: var(--s-4); }
.trt-final .trt-btn { margin-top: var(--s-2); }

/* ---------- Hero ---------- */
.trt-hero {
  position: relative;
  padding-block: clamp(48px, 6vw, 88px) clamp(56px, 7vw, 100px);
  background:
    radial-gradient(50% 50% at 92% 6%, rgba(210, 228, 252, 0.42) 0%, transparent 62%),
    linear-gradient(180deg, #ffffff 0%, var(--paper) 70%);
  overflow: hidden;
  isolation: isolate;
}
.trt-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(28,31,28,0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(28,31,28,0.035) 1px, transparent 1px);
  background-size: 72px 72px;
  mask-image: radial-gradient(70% 60% at 50% 20%, #000 0%, transparent 75%);
  z-index: -1;
}

.trt-hero-grid {
  display: grid;
  grid-template-columns: 1.02fr 0.98fr;
  gap: clamp(32px, 4.5vw, 64px);
  align-items: center;
}
.trt-hero-copy > * + * { margin-top: var(--s-4); }
.trt-hero-copy h1 em { font-style: normal; color: var(--accent-deep); }
.trt-hero-sub { max-width: 44ch; }

.trt-hero-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: var(--s-3) var(--s-4);
  margin-top: var(--s-6) !important;
  margin-bottom: var(--s-2);
}

.trt-trust {
  display: flex;
  flex-wrap: wrap;
  gap: var(--s-2) var(--s-5);
  margin-top: var(--s-5);
  padding-top: var(--s-4);
  border-top: 1px solid var(--hairline);
}
.trt-trust li {
  display: flex;
  align-items: center;
  gap: 9px;
  font-size: 14px;
  font-weight: 500;
  color: var(--charcoal);
}
.trt-trust svg { width: 17px; height: 17px; color: var(--accent-deep); flex: none; }

/* ---------- Offer card ---------- */
.trt-offer {
  background: var(--card);
  border: 1px solid var(--hairline);
  border-radius: var(--radius-lg);
  box-shadow: 0 30px 60px -40px rgba(28, 31, 28, 0.32);
  overflow: hidden;
}
.trt-offer-head {
  background: linear-gradient(120deg, var(--accent-soft), var(--sky-soft));
  border-bottom: 1px solid var(--hairline-2);
  padding: var(--s-3) var(--s-4);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--s-3);
}
.trt-offer-head h3 { font-size: 1.1rem; }
.trt-offer-head p  { font-size: 13px; line-height: 1.5; color: var(--muted); margin-top: 8px; }
.trt-offer-flag {
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  background: var(--ink);
  color: #fff;
  padding: 7px 12px;
  border-radius: 999px;
  white-space: nowrap;
}
.trt-offer-body { padding: var(--s-4); }

.trt-price {
  display: flex;
  align-items: baseline;
  flex-wrap: wrap;
  gap: var(--s-2);
  padding-bottom: var(--s-3);
  border-bottom: 1px solid var(--hairline);
}
.trt-price-now {
  font-family: "Satoshi", "Inter", sans-serif;
  font-size: clamp(2.9rem, 4.6vw, 3.6rem);
  font-weight: 700;
  letter-spacing: -0.05em;
  line-height: 1;
  color: var(--ink);
}
.trt-price-was { font-size: 1.05rem; color: var(--muted); text-decoration: line-through; }
.trt-price-save {
  margin-left: auto;
  font-size: 11.5px;
  font-weight: 700;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  color: var(--accent-deep);
  background: var(--accent-soft);
  border: 1px solid var(--accent-mid);
  padding: 6px 12px;
  border-radius: 999px;
}

.trt-ticks { margin-block: var(--s-4) var(--s-5); display: grid; gap: var(--s-2); }
.trt-ticks li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-size: 14.5px;
  line-height: 1.6;
}
.trt-ticks svg { width: 19px; height: 19px; flex: none; margin-top: 3px; color: var(--accent-deep); }
.trt-offer-fine { margin-top: 0; }

/* ---------- Symptom chips ---------- */
.trt-chips {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(212px, 1fr));
  gap: 12px;
}
.trt-chip {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 17px 19px;
  border-radius: 15px;
  background: var(--card);
  border: 1px solid var(--hairline);
  font-size: 14.5px;
  font-weight: 500;
  transition: transform .25s cubic-bezier(.2,.7,.2,1), border-color .25s ease, box-shadow .25s ease;
}
.trt-chip:hover {
  transform: translateY(-4px);
  border-color: var(--accent-mid);
  box-shadow: 0 14px 26px -20px rgba(28,31,28,0.5);
}
.trt-chip svg { width: 20px; height: 20px; flex: none; color: var(--accent-deep); }

/* ---------- Stats ---------- */
.trt-stats {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  gap: 1px;
  background: var(--hairline);
  border: 1px solid var(--hairline);
  border-radius: var(--radius);
  overflow: hidden;
}
.trt-stat { background: var(--card); padding: clamp(28px, 3.2vw, 42px); }
.trt-stat-num {
  font-family: "Satoshi", "Inter", sans-serif;
  font-size: clamp(2.6rem, 4.4vw, 3.5rem);
  font-weight: 700;
  letter-spacing: -0.05em;
  line-height: 1;
  color: var(--ink);
}
.trt-stat-num::after {
  content: "";
  display: block;
  width: 46px;
  height: 4px;
  margin-top: 14px;
  border-radius: 4px;
  background: var(--accent);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .8s cubic-bezier(.2,.7,.2,1) .25s;
}
.is-in .trt-stat-num::after { transform: scaleX(1); }
.trt-stat p { margin-top: var(--s-3); font-size: 14.5px; line-height: 1.72; color: var(--muted); }
.trt-cite { margin-top: var(--s-5); max-width: 90ch; }

/* ---------- Steps ---------- */
.trt-steps {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(232px, 1fr));
  gap: var(--s-3);
}
.trt-step {
  position: relative;
  background: var(--card);
  border: 1px solid var(--hairline);
  border-radius: 20px;
  padding: var(--s-4) var(--s-4) var(--s-5);
  transition: transform .28s cubic-bezier(.2,.7,.2,1), box-shadow .28s ease;
}
.trt-step:hover {
  transform: translateY(-6px);
  box-shadow: 0 26px 44px -34px rgba(28,31,28,0.55);
}
.trt-step-num {
  width: 40px; height: 40px;
  display: grid; place-items: center;
  border-radius: 50%;
  background: var(--accent);
  color: #10210f;
  font-family: "Satoshi", sans-serif;
  font-weight: 700;
  font-size: 16px;
  margin-bottom: var(--s-3);
}
.trt-step h3 { margin-bottom: var(--s-2); }
.trt-step p  { font-size: 14.5px; line-height: 1.72; color: var(--muted); }
.trt-step-tag {
  display: inline-block;
  margin-top: var(--s-3);
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--accent-deep);
  background: var(--accent-soft);
  padding: 5px 11px;
  border-radius: 999px;
}

/* ---------- Split ---------- */
.trt-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(28px, 4vw, 64px);
  align-items: stretch;
}
.trt-split-copy > * + * { margin-top: var(--s-4); }
.trt-split-media {
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: var(--paper-3);
  /* Fills the height of the copy column instead of floating as a short block. */
  min-height: 100%;
  align-self: stretch;
  position: sticky;
  top: 24px;
  max-height: 84vh;
}
.trt-split-media img,
.trt-split-media video {
  width: 100%;
  height: 100%;
  min-height: 420px;
  object-fit: cover;
  object-position: center 34%;
  display: block;
}

.trt-benefit-list { display: grid; gap: var(--s-4); margin-top: var(--s-5); }
.trt-benefit {
  display: flex;
  gap: var(--s-3);
  padding-top: var(--s-4);
  border-top: 1px solid var(--hairline);
}
.trt-benefit svg { width: 22px; height: 22px; flex: none; color: var(--accent-deep); margin-top: 3px; }
.trt-benefit h3 { font-size: 1.02rem; margin-bottom: 10px; }
.trt-benefit p  { font-size: 14.5px; line-height: 1.7; color: var(--muted); }

/* ---------- Delivery / box ---------- */
.trt-box {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: clamp(28px, 4vw, 64px);
  align-items: center;
}
.trt-box-media {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: linear-gradient(140deg, var(--paper-3), var(--paper-2));
  aspect-ratio: 4 / 3;           /* the frame is fixed; the media fills it */
}
.trt-box-media img,
.trt-box-media video {
  position: absolute;
  inset: 0;
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  will-change: transform;
}
.trt-box-copy > * + * { margin-top: var(--s-4); }
.trt-box-points { display: grid; gap: var(--s-3); margin-top: var(--s-5); }
.trt-box-points li {
  display: flex; align-items: flex-start; gap: 12px;
  font-size: 15px; line-height: 1.6;
}
.trt-box-points svg { width: 19px; height: 19px; flex: none; margin-top: 3px; color: var(--accent-deep); }

/* ---------- Video ---------- */
.trt-video-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: var(--s-3);
}
.trt-video-card {
  background: var(--card);
  border: 1px solid var(--hairline);
  border-radius: var(--radius);
  overflow: hidden;
  transition: transform .28s cubic-bezier(.2,.7,.2,1), box-shadow .28s ease;
}
.trt-video-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 26px 44px -34px rgba(28,31,28,0.5);
}
.trt-video-frame {
  position: relative;
  aspect-ratio: 16 / 9;
  background: var(--paper-3);
  overflow: hidden;
}
.trt-video-frame video,
.trt-video-frame img,
.trt-video-frame iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  border: 0;
  display: block;
}
.trt-video-body { padding: var(--s-3) var(--s-3) var(--s-4); }
.trt-video-body h3 { margin-bottom: 8px; }
.trt-video-body p  { font-size: 14px; line-height: 1.6; color: var(--muted); }

/* ---------- Cost ---------- */
.trt-cost { display: grid; grid-template-columns: 1fr 1fr; gap: var(--s-3); align-items: stretch; }
.trt-cost-card {
  background: var(--card);
  border: 1px solid var(--hairline);
  border-radius: var(--radius);
  padding: clamp(26px, 3vw, 38px);
  display: flex;
  flex-direction: column;
  min-width: 0;              /* grid items default to min-width:auto and overflow */
}
.trt-cost-card--feature {
  background: linear-gradient(150deg, var(--accent-soft), var(--card) 65%);
  border-color: var(--accent-mid);
}
.trt-cost-rows { margin-top: var(--s-4); }
.trt-cost-row {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: var(--s-3);
  padding-block: var(--s-3);
  border-bottom: 1px solid var(--hairline);
  font-size: 15px;
  line-height: 1.5;
}
.trt-cost-row:last-child { border-bottom: 0; }
.trt-cost-row span:first-child { min-width: 0; }
.trt-cost-row span:last-child { font-weight: 600; white-space: nowrap; flex: none; }
.trt-free { color: var(--accent-deep); }
.trt-cost-card .trt-btn { margin-top: var(--s-4); }
.trt-cost-card .trt-micro { margin-top: auto; padding-top: var(--s-4); }

/* ---------- FAQ ---------- */
.trt-faq { border-top: 1px solid var(--hairline); }
.trt-faq-item { border-bottom: 1px solid var(--hairline); }
.trt-faq-q {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--s-3);
  background: none;
  border: 0;
  padding-block: var(--s-4);
  min-height: 56px;
  text-align: left;
  cursor: pointer;
  font-family: "Satoshi", "Inter", sans-serif;
  font-size: clamp(1rem, 1.4vw, 1.16rem);
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--ink);
  transition: color .2s ease;
}
.trt-faq-q:hover { color: var(--accent-deep); }
.trt-faq-sign {
  flex: none;
  width: 32px; height: 32px;
  display: grid; place-items: center;
  border-radius: 50%;
  border: 1px solid var(--hairline);
  font-size: 18px;
  font-weight: 400;
  transition: transform .3s cubic-bezier(.2,.7,.2,1), background .3s ease, border-color .3s ease;
}
.trt-faq-q[aria-expanded="true"] .trt-faq-sign {
  transform: rotate(135deg);
  background: var(--accent);
  border-color: transparent;
}
.trt-faq-a {
  padding-bottom: var(--s-4);
  max-width: 70ch;
  font-size: 15px;
  line-height: 1.7;
  color: var(--muted);
  animation: trt-faq-open .35s cubic-bezier(.2,.7,.2,1);
}
@keyframes trt-faq-open {
  from { opacity: 0; transform: translateY(-6px); }
  to   { opacity: 1; transform: none; }
}

/* ---------- Final CTA ---------- */
.trt-final {
  position: relative;
  border-radius: var(--radius-lg);
  padding: clamp(40px, 5.5vw, 76px) clamp(24px, 4vw, 56px);
  text-align: center;
  overflow: hidden;
  background:
    radial-gradient(60% 80% at 50% 110%, rgba(123, 251, 142, 0.45) 0%, transparent 65%),
    linear-gradient(160deg, var(--sky-soft), var(--card));
  border: 1px solid var(--hairline);
}
.trt-final h2 { max-width: 18ch; margin-inline: auto; margin-top: var(--s-4); }
.trt-final > p { margin: var(--s-4) auto var(--s-6); max-width: 50ch; }
.trt-final .trt-fine { margin-top: var(--s-4); }

/* ---------- Sticky mobile CTA ---------- */
.trt-sticky {
  position: fixed;
  left: 0; right: 0; bottom: 0;
  z-index: 1100;
  display: none;
  align-items: center;
  justify-content: space-between;
  gap: var(--s-2);
  padding: 12px 16px calc(12px + env(safe-area-inset-bottom));
  background: rgba(255, 255, 255, 0.93);
  backdrop-filter: blur(14px);
  border-top: 1px solid var(--hairline);
  box-shadow: 0 -8px 24px -18px rgba(28,31,28,0.5);
  transition: transform .35s cubic-bezier(.2,.7,.2,1);
}
.trt-sticky-label { font-size: 12.5px; line-height: 1.3; color: var(--muted); }
.trt-sticky-label strong { display: block; color: var(--ink); font-size: 15px; font-weight: 600; }
.trt-sticky .trt-btn { padding: 13px 22px; font-size: 15px; }

/* ---------- Scroll progress ---------- */
.trt-progress {
  position: fixed;
  top: 0; left: 0;
  height: 3px;
  width: 100%;
  transform: scaleX(0);
  transform-origin: left;
  background: linear-gradient(90deg, var(--accent), var(--accent-deep));
  z-index: 1060;
  pointer-events: none;
}

/* ==========================================================================
   Motion
   ========================================================================== */

.trt-reveal {
  opacity: 0;
  transition:
    opacity .8s cubic-bezier(.2,.7,.2,1),
    transform .8s cubic-bezier(.2,.7,.2,1),
    filter .8s ease;
}

.trt-reveal[data-trt-anim="up"],
.trt-reveal:not([data-trt-anim]) { transform: translateY(16px); }
/* "left"/"right" name where the element ENTERS FROM. */
.trt-reveal[data-trt-anim="left"]  { transform: translateX(-24px); }
.trt-reveal[data-trt-anim="right"] { transform: translateX(24px); }
.trt-reveal[data-trt-anim="scale"] { transform: scale(.96) translateY(10px); }
.trt-reveal[data-trt-anim="blur"]  { transform: translateY(12px); filter: blur(8px); }

/* The revealed state MUST come after the attribute rules and out-rank them.
   At equal specificity, whichever rule is later wins — and if that's the
   attribute rule, the element stays permanently offset after it reveals.
   That is what shoved every "left" block 24px off the left edge of the phone. */
.trt-reveal.is-in,
.trt-reveal.is-in[data-trt-anim] { opacity: 1; transform: none; filter: none; }

/* Auto-staggered children — no per-item delay attributes needed */
.trt-stagger > * {
  opacity: 0;
  transform: translateY(14px);
  transition: opacity .7s cubic-bezier(.2,.7,.2,1), transform .7s cubic-bezier(.2,.7,.2,1);
}
.trt-stagger.is-in > * { opacity: 1; transform: none; }
.trt-stagger.is-in > *:nth-child(1)  { transition-delay: .02s; }
.trt-stagger.is-in > *:nth-child(2)  { transition-delay: .07s; }
.trt-stagger.is-in > *:nth-child(3)  { transition-delay: .12s; }
.trt-stagger.is-in > *:nth-child(4)  { transition-delay: .17s; }
.trt-stagger.is-in > *:nth-child(5)  { transition-delay: .22s; }
.trt-stagger.is-in > *:nth-child(6)  { transition-delay: .27s; }
.trt-stagger.is-in > *:nth-child(7)  { transition-delay: .32s; }
.trt-stagger.is-in > *:nth-child(8)  { transition-delay: .37s; }
.trt-stagger.is-in > *:nth-child(9)  { transition-delay: .42s; }
.trt-stagger.is-in > *:nth-child(10) { transition-delay: .47s; }

/* Hero entrance — runs on load, not on scroll */
.trt-hero-copy > *,
.trt-hero-card {
  opacity: 0;
  animation: trt-rise .9s cubic-bezier(.2,.7,.2,1) forwards;
}
.trt-hero-copy > *:nth-child(1) { animation-delay: .05s; }
.trt-hero-copy > *:nth-child(2) { animation-delay: .13s; }
.trt-hero-copy > *:nth-child(3) { animation-delay: .21s; }
.trt-hero-copy > *:nth-child(4) { animation-delay: .29s; }
.trt-hero-copy > *:nth-child(5) { animation-delay: .37s; }
.trt-hero-card { animation-delay: .22s; }
@keyframes trt-rise {
  from { opacity: 0; transform: translateY(26px); }
  to   { opacity: 1; transform: none; }
}

@media (prefers-reduced-motion: reduce) {
  .trt-lp *,
  .trt-lp *::before,
  .trt-lp *::after {
    animation: none !important;
    transition: none !important;
  }
  .trt-reveal,
  .trt-stagger > *,
  .trt-hero-copy > *,
  .trt-nosub-points li,
  .trt-hero-card { opacity: 1 !important; transform: none !important; filter: none !important; }
  .trt-nosub-line > span { transform: none !important; }
  .trt-progress { display: none; }
}

/* ---------- Big scroll-lit symptom type ---------- */
.trt-symptoms {
  background: var(--card);
  padding-block: clamp(72px, 10vw, 150px);
}
.trt-symptom-list {
  display: grid;
  gap: clamp(12px, 2vw, 26px);
  margin-top: clamp(28px, 5vw, 64px);
}
.trt-symptom {
  font-family: "Satoshi", "Inter", sans-serif;
  font-weight: 700;
  font-size: clamp(2.05rem, 7.6vw, 5.8rem);
  line-height: 1.1;
  letter-spacing: -0.032em;
  color: rgba(28, 31, 28, 0.14);
  opacity: 0.55;
  transform: translateY(20px);
  transition:
    color .55s cubic-bezier(.2,.7,.2,1),
    opacity .55s cubic-bezier(.2,.7,.2,1),
    transform .55s cubic-bezier(.2,.7,.2,1),
    -webkit-text-stroke-color .55s cubic-bezier(.2,.7,.2,1);
}
@supports (-webkit-text-stroke: 1px black) {
  .trt-symptom {
    color: transparent;
    -webkit-text-stroke: 1.4px rgba(28, 31, 28, 0.26);
  }
}
.trt-symptom:nth-child(even) { text-align: right; }

.trt-symptom.is-lit {
  color: var(--ink);
  opacity: 1;
  transform: none;
  -webkit-text-stroke-color: transparent;
}
.trt-symptom.is-lit::after {
  content: "";
  display: inline-block;
  width: clamp(10px, 1.4vw, 18px);
  height: clamp(10px, 1.4vw, 18px);
  margin-left: 0.25em;
  border-radius: 50%;
  background: var(--accent);
  vertical-align: baseline;
  animation: trt-pop .45s cubic-bezier(.2,.7,.2,1);
}
@keyframes trt-pop {
  from { transform: scale(0); opacity: 0; }
  to   { transform: scale(1); opacity: 1; }
}

@media (max-width: 767px) {
  .trt-symptom:nth-child(even) { text-align: left; }
  .trt-symptom { letter-spacing: -0.028em; }
}

/* ---------- No-subscription band ---------- */
.trt-nosub {
  position: relative;
  padding-block: clamp(56px, 7vw, 104px);
  background: var(--ink);
  color: #fff;
  text-align: center;
  overflow: hidden;
  isolation: isolate;
}
.trt-nosub::before {
  content: "";
  position: absolute;
  inset: -40% -10% auto -10%;
  height: 140%;
  background: radial-gradient(45% 55% at 50% 0%, rgba(123, 251, 142, 0.30) 0%, transparent 65%);
  z-index: -1;
  animation: trt-aurora 14s ease-in-out infinite alternate;
}
@keyframes trt-aurora {
  from { transform: translate3d(-4%, 0, 0) scale(1);    opacity: .75; }
  to   { transform: translate3d(4%, 3%, 0) scale(1.12); opacity: 1; }
}

.trt-nosub-inner { text-align: center; }
.trt-nosub-kicker {
  font-size: 11.5px;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.55);
}

/* Headline reveals line by line from behind a mask */
.trt-nosub-line {
  display: block;
  overflow: hidden;
  padding-bottom: 0.08em;
  margin-bottom: -0.08em;
}
.trt-nosub-line > span {
  display: block;
  transform: translateY(108%);
  transition: transform .95s cubic-bezier(.16,.84,.24,1);
}
.trt-nosub-inner.is-in .trt-nosub-line:nth-child(1) > span { transform: none; transition-delay: .06s; }
.trt-nosub-inner.is-in .trt-nosub-line:nth-child(2) > span { transform: none; transition-delay: .18s; }
.trt-nosub-head {
  font-family: "Satoshi", "Inter", sans-serif;
  font-weight: 700;
  font-size: clamp(2.3rem, 8.4vw, 5.6rem);
  line-height: 1.04;
  letter-spacing: -0.032em;
  color: var(--accent);
  margin-top: var(--s-4);
}
.trt-nosub-sub {
  margin: var(--s-5) auto 0;
  max-width: 54ch;
  font-size: clamp(0.98rem, 1.2vw, 1.12rem);
  line-height: 1.72;
  color: rgba(255, 255, 255, 0.72);
  text-align: center;
  text-wrap: balance;
}
.trt-nosub-points {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: var(--s-2) var(--s-3);
  margin-top: var(--s-6);
}
/* Pills stagger off the parent's reveal so they can never outrun the copy above. */
.trt-nosub-points li {
  opacity: 0;
  transform: translateY(14px);
  transition: opacity .6s cubic-bezier(.2,.7,.2,1), transform .6s cubic-bezier(.2,.7,.2,1);
}
.trt-nosub-inner.is-in .trt-nosub-points li { opacity: 1; transform: none; }
.trt-nosub-inner.is-in .trt-nosub-points li:nth-child(1) { transition-delay: .18s; }
.trt-nosub-inner.is-in .trt-nosub-points li:nth-child(2) { transition-delay: .26s; }
.trt-nosub-inner.is-in .trt-nosub-points li:nth-child(3) { transition-delay: .34s; }
.trt-nosub-inner.is-in .trt-nosub-points li:nth-child(4) { transition-delay: .42s; }
.trt-nosub-points li {
  display: flex;
  align-items: center;
  gap: 9px;
  font-size: 14.5px;
  font-weight: 500;
  line-height: 1.4;
  color: rgba(255, 255, 255, 0.9);
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 999px;
  padding: 11px 18px;
}
.trt-nosub-points svg { width: 18px; height: 18px; flex: none; color: var(--accent); }

.trt-steps-note {
  margin-top: var(--s-5);
  max-width: 72ch;
  font-size: 14.5px;
  line-height: 1.65;
  color: var(--muted);
}

/* ---------- Blood panel ---------- */
.trt-panel {
  display: grid;
  grid-template-columns: 1fr 1.05fr;
  gap: clamp(32px, 5vw, 80px);
  align-items: start;
}
.trt-panel-copy > * + * { margin-top: var(--s-4); }
/* ---------- Bring-your-own-bloods callout ---------- */
.trt-panel-callout {
  border-left: 3px solid var(--accent);
  background: var(--accent-soft);
  border-radius: 0 16px 16px 0;
  padding: var(--s-3) var(--s-4);
}
.trt-panel-callout h3 {
  font-size: 1.08rem;
  line-height: 1.35;
  margin-bottom: var(--s-2);
}
.trt-panel-callout p {
  font-size: 14.5px;
  line-height: 1.7;
  color: var(--muted);
}

.trt-panel-price {
  display: flex; align-items: center; gap: var(--s-3);
  padding: var(--s-3) var(--s-4);
  border: 1px solid var(--hairline); border-radius: 18px;
  background: var(--paper-2);
}
.trt-panel-price-num {
  font-family: "Satoshi", "Inter", sans-serif; font-weight: 700;
  font-size: clamp(2.1rem, 3.2vw, 2.7rem); letter-spacing: -0.045em; line-height: 1;
  color: var(--ink);
}
.trt-panel-price-note { font-size: 13.5px; line-height: 1.5; color: var(--muted); }
.trt-panel-actions { display: flex; flex-wrap: wrap; gap: var(--s-2); margin-top: var(--s-5) !important; }
.trt-panel-copy .trt-micro { margin-top: var(--s-3); }

.trt-panel-list {
  display: grid; grid-template-columns: 1fr 1fr; gap: var(--s-3);
}
.trt-panel-group {
  background: var(--card); border: 1px solid var(--hairline); border-radius: 18px;
  padding: var(--s-4);
  transition: transform .3s cubic-bezier(.2,.7,.2,1), border-color .3s ease, box-shadow .3s ease;
}
.trt-panel-group:hover { transform: translateY(-4px); border-color: var(--accent-mid); box-shadow: 0 22px 40px -32px rgba(28,31,28,.5); }
.trt-panel-group h3 {
  font-size: 11.5px; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--accent-deep); margin-bottom: var(--s-3);
}
.trt-panel-markers { display: grid; gap: 10px; }
.trt-panel-markers li {
  display: flex; align-items: center; gap: 9px;
  font-size: 14.5px; line-height: 1.4; color: var(--charcoal);
}
.trt-panel-markers svg { width: 15px; height: 15px; flex: none; color: var(--accent-deep); }

@media (max-width: 991px) {
  .trt-panel { grid-template-columns: 1fr; }
}
@media (max-width: 767px) {
  .trt-panel { gap: var(--s-5); }
  .trt-panel-list { grid-template-columns: 1fr; gap: var(--s-2); }
  .trt-panel-group { padding: var(--s-3) var(--s-3) var(--s-4); }
  .trt-panel-group h3 { margin-bottom: var(--s-2); }
  .trt-panel-markers { gap: 9px; }
  .trt-panel-markers li { font-size: 14px; }
  .trt-panel-price { flex-wrap: wrap; gap: var(--s-2); padding: var(--s-3); }
  .trt-panel-price-num { font-size: 2.2rem; }
  .trt-panel-actions .trt-btn { width: 100%; }
  .trt-panel-copy .trt-micro { text-align: left; }
}

/* ---------- Us vs them ---------- */
.trt-compare { margin-top: var(--s-4); }
.trt-compare-head,
.trt-compare-row {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr;
  gap: var(--s-3);
  align-items: center;
  padding-block: var(--s-3);
  border-bottom: 1px solid var(--hairline);
  font-size: 14.5px;
  line-height: 1.5;
}
.trt-compare-row:last-child { border-bottom: 0; }
.trt-compare-head {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
}
.trt-compare-us,
.trt-compare-them { text-align: center; }
.trt-compare-row .trt-compare-us {
  font-weight: 700;
  color: var(--accent-deep);
}
.trt-compare-row .trt-compare-them {
  color: var(--muted);
  text-decoration: line-through;
  text-decoration-color: rgba(28, 31, 28, 0.28);
}
.trt-compare-head .trt-compare-us { color: var(--accent-deep); }

@media (max-width: 480px) {
  .trt-compare-head,
  .trt-compare-row { grid-template-columns: 1.25fr 0.9fr 0.9fr; font-size: 13px; gap: 8px; }
  .trt-compare-head { font-size: 10px; letter-spacing: 0.08em; }
}

/* Phone: pills become a tidy 2x2 grid of equal cells instead of a ragged stack */
@media (max-width: 767px) {
  .trt-nosub-points {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
    max-width: 380px;
    margin-inline: auto;
    margin-top: var(--s-5);
  }
  .trt-nosub-points li {
    justify-content: flex-start;
    font-size: 13.5px;
    padding: 12px 14px;
    white-space: nowrap;
  }
}

/* ==========================================================================
   Responsive
   ========================================================================== */

/* Nothing may push the page sideways on a phone. */
.trt-lp { max-width: 100vw; }
.trt-symptom,
.trt-lp h1,
.trt-lp h2,
.trt-lp h3 { overflow-wrap: break-word; }

@media (max-width: 991px) {
  .trt-hero-grid,
  .trt-split,
  .trt-box,
  .trt-cost { grid-template-columns: 1fr; }
  .trt-split-media,
  .trt-box-media { order: -1; }
  .trt-split-media {
    position: static;
    min-height: 0;
    max-height: none;
    aspect-ratio: 4 / 5;
  }
  .trt-split-media img { min-height: 0; }
  .trt-hero-sub { max-width: none; }
  .trt-head { max-width: none; }
}

@media (max-width: 767px) {
  .trt-lp {
    padding-bottom: 84px;               /* clears the sticky bar */
    --section-y: 56px;                  /* tighter vertical rhythm */
    --radius: 18px;
    --radius-lg: 22px;
  }

  .trt-sticky { display: flex; }

  /* Full-width CTAs, but never the little one in the sticky bar */
  .trt-hero-actions .trt-btn,
  .trt-actions-center .trt-btn,
  .trt-final .trt-btn { width: 100%; }
  .trt-sticky .trt-btn { width: auto; }

  .trt-hero { padding-block: 28px 44px; }
  .trt-hero-actions { margin-top: var(--s-5) !important; }
  .trt-hero-actions .trt-micro { width: 100%; text-align: center; }

  /* Trust row reads better as a two-up grid than a wrapped flex line */
  .trt-trust {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px 16px;
    margin-top: var(--s-4);
    padding-top: var(--s-3);
  }
  .trt-trust li { font-size: 13px; }

  .trt-offer-head { flex-direction: column; align-items: flex-start; padding: var(--s-3); }
  .trt-offer-body { padding: var(--s-3); }
  .trt-price-save { margin-left: 0; }
  .trt-ticks li { font-size: 14px; }
  .trt-offer-fine { font-size: 11px; }
  .trt-steps { gap: var(--s-2); }

  /* Big symptom type: still big, but it has to fit the column */
  .trt-symptoms { padding-block: 56px; }
  .trt-symptom-list { gap: 14px; margin-top: var(--s-4); }
  .trt-symptom {
    font-size: clamp(1.95rem, 9.4vw, 3.1rem);
    line-height: 1.14;
    letter-spacing: -0.028em;
    text-align: left;
    hyphens: none;
  }
  .trt-symptom:nth-child(even) { text-align: left; }
  @supports (-webkit-text-stroke: 1px black) {
    .trt-symptom { -webkit-text-stroke-width: 1px; }
  }
  .trt-symptom.is-lit::after { width: 9px; height: 9px; }

  .trt-stat { padding: var(--s-4); }
  .trt-step { padding: var(--s-4); }
  .trt-cost-card { padding: var(--s-4); }
  .trt-final { padding: var(--s-5) var(--s-3); }
  .trt-final h2 { max-width: none; }

  .trt-faq-q { padding-block: var(--s-3); gap: var(--s-2); }
  .trt-faq-a { font-size: 14.5px; }

  /* Bootstrap columns in the "Who it's for" block need their own gutter here */
  .trt-lp .who-we .row > [class*="col-"] { margin-bottom: var(--s-3); }

  /* Media panels get shorter so they don't eat a whole screen */
  .trt-split-media {
    position: static;
    min-height: 0;
    max-height: none;
    aspect-ratio: 4 / 5;
  }
  .trt-split-media img,
  .trt-split-media video { min-height: 0; }
  .trt-box-media { aspect-ratio: 16 / 10; }
  .trt-box-media img,
  .trt-box-media video { transform: none !important; }

  .trt-sticky-label { font-size: 11.5px; }
  .trt-sticky-label strong { font-size: 14px; }
  /* Chat bubble is repositioned above this bar in styles.css, so the bar no
     longer needs to reserve horizontal room for it. */
  .trt-sticky { padding-right: 16px; }
  .trt-sticky .trt-btn { min-height: 44px; }
}

@media (max-width: 400px) {
  .trt-lp { --section-y: 48px; }
  .trt-wrap { padding-inline: 16px; }
  .trt-trust { grid-template-columns: 1fr; }
  .trt-symptom { font-size: clamp(1.8rem, 9vw, 2.4rem); }
  .trt-btn { padding: 16px 24px; font-size: 15px; }
  .trt-price-now { font-size: 2.6rem; }
}

/* Phones and tablets: no parallax, no hover-only effects that stick on tap */
@media (hover: none) {
  .trt-chip:hover,
  .trt-step:hover,
  .trt-cost-card:hover { transform: none; }
}
