/* OT Health V3 treatment pages: the homepage's STYLE LAYER only (Jacob 2026-11-14: same layouts as before,
   with the homepage's characteristics, design elements and style choices). Loaded ONLY by treatment pages (body.tp),
   after shared ot.css + v3.css. The frozen homepage never loads this file. Spec: projects/02-treatments/STYLE-SPEC.md */

/* ---------- Type: homepage scale ---------- */
body.tp .phero h1 { font:200 clamp(44px,5.2vw,76px)/1.02 var(--g-sans)!important;letter-spacing:-.035em!important }
body.tp .phero h1 em,body.tp h2 em { font-family:var(--g-serif)!important;font-style:italic;font-weight:300!important;color:var(--olive)!important;letter-spacing:-.01em }
body.tp .phero__lede { font-size:clamp(16px,1.3vw,18.5px)!important;line-height:1.55!important;color:var(--mute)!important }
body.tp main h2:not(.dsec__h):not(.dcard h2) { font:500 clamp(36px,4.6vw,64px)/1.02 var(--g-sans)!important;letter-spacing:-.035em!important }
body.tp .final h2 { font-size:clamp(40px,5.4vw,76px)!important }
body.tp #sf-h,body.tp .dsafe h2,body.tp .dsec__h { font:500 clamp(28px,3vw,40px)/1.05 var(--g-sans)!important;letter-spacing:-.03em!important }
body.tp .dcard h2 { font:500 clamp(22px,1.9vw,26px)/1.15 var(--g-sans)!important;letter-spacing:-.02em!important }
body.tp .offer h3,body.tp .tile__body h3,body.tp .g__col h3,body.tp .step h3,body.tp .cats h3,body.tp .feature h3,body.tp .more h3,body.tp .krow h3 { font-family:var(--g-sans)!important;font-weight:500!important;letter-spacing:-.02em }
body.tp .offer h3,body.tp .tile__body h3 { font-size:clamp(19px,1.6vw,23px)!important }
body.tp .costs b,body.tp .o__p b,body.tp .dprice b { font-family:var(--g-sans)!important;font-weight:500!important;letter-spacing:-.02em }
body.tp .dprice b { font-size:40px!important;letter-spacing:-.03em }
body.tp .tstat b,body.tp .krow__stat b { font-family:var(--g-sans)!important;font-weight:200!important;letter-spacing:-.04em }

body.tp .glance h2,body.tp .results h2 { max-width:none!important }
body.tp .trust li { display:inline-flex;align-items:center }

body.tp .dgrid--2>.dcard:only-child { grid-column:1/-1 }

body.tp main h1,body.tp main h2 { text-wrap:balance }
body.tp .dprice,body.tp .costs,body.tp .o__p,body.tp .tstat b { font-variant-numeric:tabular-nums }
body.tp img[width] { height:auto }
body.tp .thero__img img,body.tp .tile__img img,body.tp .dlive img { height:100% }
body.tp .reviews:focus-visible { outline:2px solid var(--ink);outline-offset:4px;border-radius:12px }

/* ---------- Grounds and rhythm: pure white, no seam lines, one even gap ---------- */
body.tp main>section:not(.phero--img) { background:#FFFFFF!important;border-top:0!important }
body.tp .results::before,body.tp .advisor::before,body.tp .d2p::before { display:none!important }
body.tp main>section.glance,body.tp main>section.how,body.tp main>section.offer-s,body.tp main>section.advisor,body.tp main>section.results,
body.tp main>section.know,body.tp main>section.hub,body.tp main>section.dsec,body.tp main>section.dsafe,body.tp main>section.tben { padding-top:72px!important;padding-bottom:72px!important }
body.tp main>section.final { padding-top:88px!important;padding-bottom:96px!important }
body.tp .mq { border:0!important;padding:18px 0!important }

/* ---------- Pills: the homepage marker pills instead of the mono ticker ---------- */
body.tp .mq li { font:400 13.5px/1 var(--g-body)!important;letter-spacing:0!important;text-transform:none!important;color:var(--ink-2)!important;padding:9px 14px!important;border:1px solid var(--line)!important;border-radius:999px!important;background:#FFFFFF }
body.tp .mq li::before,body.tp .mq li::after { display:none!important }
body.tp .mq ul { gap:8px!important }

/* ---------- Cards: homepage shapes. Big cards 28px soft, offer cards 20px white, hairline borders, no shadows ---------- */
body.tp .g__col,body.tp .step,body.tp .dcard:not(.dcard--dark) { background:var(--soft)!important;border:1px solid var(--line)!important;border-radius:var(--r-lg)!important;box-shadow:none!important }
body.tp .tstat,body.tp .dcard--dark { background:#FFFFFF!important;border:1px solid var(--line)!important;border-radius:var(--r-lg)!important;box-shadow:none!important }
body.tp .offer,body.tp .cats li,body.tp .feature,body.tp .krow__stat { background:#FFFFFF!important;border:1px solid var(--line)!important;border-radius:var(--r-md)!important;box-shadow:none!important }
body.tp .more { border:0!important;border-top:1px solid var(--line)!important;border-radius:0!important;background:none!important;padding-left:0!important;padding-right:0!important }
body.tp .o__tags em,body.tp .o__tags--dark em { font:600 11px/1 var(--g-body)!important;letter-spacing:.08em!important;text-transform:uppercase;padding:7px 11px!important;border:1px solid var(--line)!important;border-radius:999px!important;color:var(--ink-2)!important;background:#FFFFFF!important }
body.tp .o__more,body.tp .krow .link { font:500 14px/1.2 var(--g-body)!important;border-bottom:1px solid currentColor }

/* Hub track cards: the homepage What we treat cards (white, square image, Explore + black disc) */
body.tp .tile { background:#FFFFFF!important;border:1px solid var(--line)!important;border-radius:var(--r-md)!important;box-shadow:none!important;overflow:hidden }
body.tp .tile__img { aspect-ratio:1/1!important;border-radius:0!important }
body.tp .tile__img img { width:100%;height:100%;object-fit:cover }
body.tp .tile__body { padding:18px!important;gap:8px }
body.tp .tile__body p { font-size:14.5px!important;color:var(--ink-2)!important }
body.tp .tile__body span { font:600 14px/1 var(--g-body)!important }
body.tp .krow { border-color:var(--line)!important }

/* ---------- Images: 28px radius, no drop shadows (homepage image panels) ---------- */
body.tp .thero__img,body.tp .dlive { border-radius:var(--r-lg)!important;box-shadow:none!important;overflow:hidden }
body.tp .thero__img img,body.tp .dlive img { border-radius:0!important }

/* ---------- Gold, sparingly: checks and bullets go olive/ink, no gold fills ---------- */
body.tp .trust li::before,body.tp .phero:not(.phero--img) .trust li::before { content:"✓"!important;width:auto!important;height:auto!important;background:none!important;border-radius:0!important;color:var(--olive)!important;margin-right:6px }
body.tp .bars i:last-child { background:linear-gradient(180deg,#CFE3D5,#3B7850)!important }
body.tp .ticks li::before { background-color:var(--ink)!important }
body.tp .dsafe__disc { background:#FFFFFF!important;border:1px solid var(--line)!important;border-radius:var(--r-md)!important }

/* ---------- Buttons: homepage black pill, 52px, white arrow disc (secondary stays an underlined link) ---------- */
body.tp main .btn:not(.btn--sm) { min-height:52px!important }
body.tp main .btn--sm { min-height:44px!important }

/* ---------- New product pages: benefits row in the homepage expert-card style ---------- */
.tben__grid { margin-top:clamp(28px,4vh,44px);list-style:none;display:grid;grid-template-columns:repeat(auto-fit,minmax(200px,1fr));gap:14px }
.tben__grid>li { position:relative;overflow:hidden;isolation:isolate;background:#FFFFFF;border:1px solid var(--line);border-radius:var(--r-md);padding:24px 22px;display:flex;flex-direction:column;gap:10px;min-height:180px }
.tben__grid>li::before { content:"";position:absolute;inset:0;z-index:-1;background:radial-gradient(70% 60% at 90% 0%,var(--c,rgba(111,168,232,.35)),transparent 62%) }
.tben__grid>li:nth-child(5n+2) { --c:rgba(95,200,184,.35) }
.tben__grid>li:nth-child(5n+3) { --c:rgba(231,165,91,.35) }
.tben__grid>li:nth-child(5n+4) { --c:rgba(186,150,226,.35) }
.tben__grid>li:nth-child(5n+5) { --c:rgba(232,140,140,.3) }
.tben__grid h3 { margin-top:auto;font:600 19px/1.2 var(--g-sans);letter-spacing:-.01em }
.tben__grid p { font-size:14px;line-height:1.5;color:var(--mute) }
.tben__grid .n { font:500 12px ui-monospace,Menlo,monospace;color:var(--olive) }

/* ---------- Phone: the homepage's 48px rhythm, shorter pages ---------- */
@media (max-width:820px) {
  body.tp main>section.glance,body.tp main>section.how,body.tp main>section.offer-s,body.tp main>section.advisor,body.tp main>section.results,
  body.tp main>section.know,body.tp main>section.hub,body.tp main>section.dsec,body.tp main>section.dsafe,body.tp main>section.tben { padding-top:48px!important;padding-bottom:48px!important }
  body.tp main>section.final { padding-top:56px!important;padding-bottom:64px!important }
  body.tp .phero h1 { font-size:clamp(38px,10.5vw,46px)!important }
  body.tp .final h2 { font-size:36px!important }
  body.tp .g__col,body.tp .step,body.tp .tstat,body.tp .dcard { border-radius:var(--r-md)!important }
  body.tp .glance__grid { grid-template-columns:1fr 1fr!important;gap:8px!important }
  body.tp .glance__grid>* { padding:16px 14px!important }
  body.tp .glance__grid>.tstat,body.tp .glance__grid>.g__cost { grid-column:1/-1 }
  body.tp .glance__grid h3 { font-size:17px!important }
  body.tp .glance__grid p { font-size:13.5px!important }
  body.tp .tstat b { font-size:40px!important }
  body.tp .tiles { grid-template-columns:1fr 1fr!important;gap:8px!important }
  body.tp .tile__body { padding:12px!important }
  body.tp .tile__body h3 { font-size:16px!important }
  body.tp .tile__body p { font-size:12.5px!important }
  body.tp .reviews { display:flex!important;overflow-x:auto!important;scroll-snap-type:x mandatory;gap:10px;margin:0 calc(-1 * var(--edge))!important;padding:4px var(--edge) 10px!important;scrollbar-width:none }
  body.tp .reviews::-webkit-scrollbar { display:none }
  body.tp .reviews>li { flex:0 0 84%!important;scroll-snap-align:center }
  body.tp .offers { grid-template-columns:1fr 1fr!important;gap:8px!important }
  body.tp .offers>li:only-child { grid-column:1/-1 }
  body.tp .offer { padding:14px 12px!important }
  body.tp .offer h3 { font-size:16px!important }
  body.tp .offer p { font-size:12.5px!important }
  body.tp .o__p b { font-size:18px!important }
  body.tp .o__p small { font-size:10.5px!important }
  body.tp .o__act { flex-direction:column;align-items:stretch!important;gap:8px!important }
  body.tp .o__act .btn { width:100%!important;justify-content:space-between;white-space:nowrap!important;font-size:13.5px!important;padding:0 6px 0 14px!important;min-height:42px!important }
  body.tp .o__act .btn::after { width:28px!important;height:28px!important }
  body.tp .offer { display:flex!important;flex-direction:column }
  body.tp .offer .o__p { margin-top:auto }
  body.tp .o__tags em { font-size:9.5px!important;padding:5px 8px!important }
  .tben__grid { grid-template-columns:1fr 1fr;gap:8px }
  .tben__grid>li { min-height:0;padding:16px 14px;gap:6px }
  .tben__grid>li:nth-child(5):last-child { grid-column:1/-1 }
  .tben__grid h3 { font-size:15px }
  .tben__grid p { font-size:12.5px }
}

/* STYLE AUDIT 2026-11-14 (Jacob: pure white, no cream panels; one font system). Scoped to this page group only. */
body.tp{--soft:#FFFFFF}
body.tp .dcard:not(.dcard--dark),body.tp .g__cost,body.tp .how .step{background:#FFFFFF!important;border:1px solid var(--line)}

/* Jacob 2026-11-15 "the site" background is pure white: the root html element too, light scheme only. */
html{background:#FFFFFF!important;color-scheme:light only}body{background:#FFFFFF}

/* Peptides offer grid with one vial per card (Jacob 2026-11-14). Same card shape as the homepage What we treat cards. */
body.tp .cats { border-top:0!important;gap:14px!important }
body.tp .cats li { padding:0 0 18px!important;overflow:hidden;border:1px solid var(--line)!important }
body.tp .cats li>h3,body.tp .cats li>p { padding:0 18px }
body.tp .cats__img { margin:0 0 14px;aspect-ratio:4/3;overflow:hidden }
body.tp .cats__img img { width:100%;height:100%;object-fit:cover;object-position:50% 46%;display:block }
@media (max-width:820px) {
  body.tp .cats { grid-template-columns:1fr 1fr!important;gap:8px!important }
  body.tp .cats li { padding:0 0 12px!important }
  body.tp .cats li>h3,body.tp .cats li>p { padding:0 12px }
  body.tp .cats__img { margin-bottom:10px;aspect-ratio:4/3.4 }
}

/* Treatments hub: one membership button under all the service tiles (Jacob 2026-11-14) */
body.tp .hub__act { display:flex;justify-content:center;margin-top:28px }
@media (max-width:820px) { body.tp .hub__act .btn { width:100%;justify-content:space-between } }

/* Treatments hub: final CTA tile, our primary button as a card (Jacob 2026-11-15). Black fill, white type, white arrow disc. */
body.tp .tile--cta { background:var(--ink)!important;border-color:var(--ink)!important;color:#FFFFFF;display:flex!important;flex-direction:column;justify-content:flex-end;height:100%;min-height:240px }
body.tp .tile--cta .tile__body { padding:28px!important }
body.tp .tile--cta h3 { color:#FFFFFF!important;font:500 clamp(24px,2.4vw,34px)/1.08 var(--g-sans)!important;letter-spacing:-.025em!important }
body.tp .tile--cta .tile__body span { color:#FFFFFF!important }
body.tp .tile--cta .tile__body span::after { filter:invert(1) }
body.tp .tile--cta:focus-visible { outline:2px solid var(--ink);outline-offset:3px }
@media (max-width:820px) { body.tp .tile--cta { min-height:0 } body.tp .tile--cta .tile__body { padding:14px!important } body.tp .tile--cta h3 { font-size:20px!important } }
