/* [PPS-V7-LOOK] home: the front page (templates/v7/home.html). Every rule starts with #pv5 so it outranks the site's
   older page rules without !important. Tokens = the approved mockup's. */

/* ---------------------------------------------------------------- tokens + page frame */
#pv5 {
  --navy: var(--v7-navy, #0B1D4A); --blue: var(--v7-blue, #2A82D4); --ink: var(--v7-ink, #0E1626); --mute: var(--v7-mute, #5D6B82);
  --line: var(--v7-line, #E3E9F2); --bg: var(--v7-bg, #F5F8FC); --soft: var(--v7-soft, #EAF2FB);   /* = base.css's shared tokens */
  --h: var(--v7-head, Manrope, Inter, system-ui, sans-serif);
  --b: var(--v7-body, Inter, system-ui, sans-serif);
  background: #FFFFFF; color: var(--ink); font-family: var(--b); -webkit-font-smoothing: antialiased; overflow-x: clip;
}
#pv5 *, #pv5 *::before, #pv5 *::after { box-sizing: border-box; }
#pv5 h1, #pv5 h2, #pv5 h3 { font-family: var(--h); color: var(--navy); letter-spacing: -.02em; text-transform: none; margin: 0; }
#pv5 p { margin: 0; }
#pv5 ul, #pv5 ol { list-style: none; margin: 0; padding: 0; }
#pv5 a { color: inherit; text-decoration: none; }
#pv5 .h7-wrap { width: min(1200px, calc(100% - 2 * var(--gutter, 16px))); max-width: none; margin: 0 auto; padding: 0; }   /* = the menu bar's width (base.css) */
#pv5 .h7-nowrap { white-space: nowrap; }
#pv5 .h7-preview { background: var(--navy); color: #FFFFFF; text-align: center; font: 600 12px/1.4 var(--b); padding: 8px 16px; }

/* small blue label above headings */
#pv5 .h7-eyebrow { font: 600 11px/1.3 var(--b); letter-spacing: .18em; text-transform: uppercase; color: var(--blue); }
#pv5 .h7-eyebrow--navy { color: #8FC4F3; }

/* ---------------------------------------------------------------- buttons */
#pv5 .h7-btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px; height: 48px; padding: 0 22px;
  border-radius: 12px; border: 1.5px solid transparent; font: 700 15px/1 var(--h); letter-spacing: -.005em;
  white-space: nowrap; cursor: pointer; transition: background-color .15s ease, border-color .15s ease, color .15s ease;
}
#pv5 .h7-btn--dark { background: var(--navy); border-color: var(--navy); color: #FFFFFF; }
#pv5 .h7-btn--dark:hover { background: #13296A; border-color: #13296A; }
#pv5 .h7-btn--line { background: #FFFFFF; border-color: #CBD5E3; color: var(--navy); }
#pv5 .h7-btn--line:hover { border-color: var(--navy); }
#pv5 .h7-btn--blue { background: var(--blue); border-color: var(--blue); color: #FFFFFF; }
#pv5 .h7-btn--blue:hover { background: #2374C0; border-color: #2374C0; }
#pv5 .h7-btn--ghost { background: transparent; border-color: rgba(255,255,255,.3); color: #FFFFFF; }
#pv5 .h7-btn--ghost:hover { border-color: #FFFFFF; }
#pv5 .h7-btn:focus-visible, #pv5 a:focus-visible, #pv5 button:focus-visible { outline: 2px solid var(--blue); outline-offset: 2px; }

/* ---------------------------------------------------------------- 1. hero */
#pv5 .h7-hero { position: relative; background: var(--bg); padding: 26px 0 70px; overflow: hidden; }
#pv5 .h7-hero-in { position: relative; z-index: 1; display: grid; grid-template-columns: 1.15fr 1fr; align-items: center; gap: 40px; min-height: 500px; }
#pv5 .h7-hero-in--solo { grid-template-columns: 1fr; min-height: 0; padding: 40px 0 10px; }
#pv5 .h7-pill {
  display: inline-flex; align-items: center; gap: 8px; border: 1px solid #D4DEEC; background: #FFFFFF; border-radius: 99px;
  padding: 7px 14px; font: 600 11px/1.2 var(--b); letter-spacing: .14em; text-transform: uppercase; color: var(--navy);
}
#pv5 .h7-pill-dot { width: 7px; height: 7px; border-radius: 50%; background: var(--blue); flex: none; }
#pv5 .h7-hero h1 { font-size: 58px; line-height: 1.02; font-weight: 800; margin: 22px 0 18px; }
#pv5 .h7-h1-a, #pv5 .h7-h1-b { display: block; }
#pv5 .h7-h1-b { color: var(--blue); }
#pv5 .h7-lead { font-size: 17px; line-height: 1.6; color: var(--mute); max-width: 500px; }
#pv5 .h7-cta { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 30px; }

/* the running deal(s): a navy card under the intro. On top the tag and the countdown in small tiles, then the offer in
   large white type and its note, then the limit and a white button (same rows, countdowns and link as v5) */
#pv5 .h7-deal {
  position: relative; isolation: isolate; overflow: hidden; display: grid; gap: 16px; margin-top: 26px; max-width: 560px; padding: 18px 18px 18px 20px;
  background: radial-gradient(120% 140% at 100% 0%, rgba(42,130,212,.38) 0%, rgba(42,130,212,0) 55%), linear-gradient(135deg, #0B1D4A 0%, #13296A 100%);
  border: 1px solid #0B1D4A; border-radius: 20px; color: #FFFFFF; box-shadow: 0 22px 40px -26px rgba(11,29,74,.75);
}
#pv5 .h7-deal[hidden] { display: none; }
#pv5 .h7-deal-list { min-width: 0; display: grid; gap: 16px; }
#pv5 .h7-deal-row { display: grid; gap: 10px; min-width: 0; }
#pv5 .h7-deal-row + .h7-deal-row { padding-top: 16px; border-top: 1px dashed rgba(255,255,255,.18); }
#pv5 .h7-deal-row[hidden] { display: none; }
#pv5 .h7-deal-top { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 8px 12px; }
#pv5 .h7-deal-tag {
  display: inline-flex; align-items: center; gap: 7px; padding: 6px 10px 6px 9px; border-radius: 99px; background: rgba(255,255,255,.1);
  border: 1px solid rgba(255,255,255,.14); color: #DCEBFB; font: 700 11px/1 var(--b); letter-spacing: .08em; text-transform: uppercase; white-space: nowrap;
}
#pv5 .h7-deal-dot { width: 7px; height: 7px; border-radius: 50%; background: #5DB2FF; box-shadow: 0 0 0 0 rgba(93,178,255,.6); animation: h7DealDot 2.2s ease-out infinite; }
@keyframes h7DealDot { 0% { box-shadow: 0 0 0 0 rgba(93,178,255,.6); } 70%, 100% { box-shadow: 0 0 0 7px rgba(93,178,255,0); } }
#pv5 .h7-deal-clock { display: inline-flex; align-items: center; gap: 8px; font: 500 12px/1 var(--b); color: #B9C8E2; white-space: nowrap; }
#pv5 .h7-deal-clock .h7-cd-run { display: inline-flex; gap: 4px; }
#pv5 .h7-deal-clock .cd-u {
  display: inline-flex; align-items: baseline; justify-content: center; gap: 1px; min-width: 38px; padding: 6px 6px 5px; border-radius: 8px;
  background: rgba(255,255,255,.1); border: 1px solid rgba(255,255,255,.14); font: 600 11px/1 var(--b); color: #B9C8E2; }
#pv5 .h7-deal-clock [data-unit] { font: 800 15px/1 var(--h); color: #FFFFFF; font-variant-numeric: tabular-nums; }
#pv5 .h7-deal-txt { min-width: 0; display: grid; gap: 6px; }
#pv5 .h7-deal-txt b { font: 800 23px/1.15 var(--h); color: #FFFFFF; letter-spacing: -.02em; }
#pv5 .h7-deal-note { font-size: 14px; line-height: 1.5; color: #C6D3EA; }
#pv5 .h7-deal-limit { font: 600 12.5px/1.35 var(--b); color: #DCEBFB; }
#pv5 .h7-deal-foot { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px 16px; padding-top: 14px; border-top: 1px dashed rgba(255,255,255,.18); }
#pv5 .h7-deal-foot .h7-deal-limit { display: inline-flex; align-items: center; gap: 7px; }
#pv5 .h7-deal-foot .h7-deal-limit::before { content: ""; width: 14px; height: 14px; flex: none; background: #5DB2FF;
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2.2' stroke-linecap='round'%3E%3Ccircle cx='12' cy='12' r='9'/%3E%3Cpath d='M12 8v5M12 16.5v.5'/%3E%3C/svg%3E") center / contain no-repeat;
          mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2.2' stroke-linecap='round'%3E%3Ccircle cx='12' cy='12' r='9'/%3E%3Cpath d='M12 8v5M12 16.5v.5'/%3E%3C/svg%3E") center / contain no-repeat; }
#pv5 .h7-deal-cta {
  flex: none; display: inline-flex; align-items: center; justify-content: center; gap: 8px; height: 46px; margin-left: auto; padding: 0 20px; border-radius: 12px;
  background: #FFFFFF; color: var(--navy); font: 700 14.5px/1 var(--h); white-space: nowrap; transition: background-color .15s ease, transform .15s ease;
}
#pv5 .h7-deal-cta:hover { background: #E6F0FB; color: var(--navy); }
#pv5 .h7-deal-cta:focus-visible { outline: 2px solid #FFFFFF; outline-offset: 3px; }
#pv5 .h7-deal-cta span { transition: transform .15s ease; }
#pv5 .h7-deal-cta:hover span { transform: translateX(3px); }

/* the stage: three vial cut-outs on a soft blue glow and a light disc */
#pv5 .h7-stage { position: relative; height: 500px; }
#pv5 .h7-glow { position: absolute; inset: 40px 30px 60px; background: radial-gradient(closest-side, rgba(42,130,212,.20), transparent 75%); filter: blur(10px); pointer-events: none; }
#pv5 .h7-disc {
  position: absolute; left: 50%; bottom: 40px; transform: translateX(-50%); width: 440px; max-width: 96%; height: 96px; border-radius: 50%;
  background: radial-gradient(closest-side, #FFFFFF, #E4EDF8 70%, transparent 72%); pointer-events: none;
}
#pv5 .h7-fv { position: absolute; bottom: 78px; display: block; height: 290px; z-index: 2; transition: transform .25s ease; }
#pv5 .h7-fv-bob { position: relative; display: block; height: 100%; }
#pv5 .h7-fv img { display: block; height: 100%; width: auto; max-width: none; filter: drop-shadow(0 22px 26px rgba(11,29,74,.18)); }
#pv5 .h7-fv--1 { left: 50%; height: 370px; z-index: 3; transform: translateX(-50%); }
#pv5 .h7-fv--2 { left: 12%; }
#pv5 .h7-fv--3 { right: 12%; }
@media (hover: hover) {
  #pv5 .h7-fv:hover { transform: translateY(-6px); }
  #pv5 .h7-fv--1:hover { transform: translateX(-50%) translateY(-6px); }
}

/* ---------------------------------------------------------------- 2. trust row */
#pv5 .h7-trust { background: var(--bg); border-top: 1px solid var(--line); }
#pv5 .h7-trust-in { display: grid; grid-template-columns: repeat(3, 1fr); }
#pv5 .h7-trust-in > li { display: flex; gap: 14px; align-items: center; justify-content: center; padding: 28px 10px; }
#pv5 .h7-trust-in > li + li { border-left: 1px solid var(--line); }
#pv5 .h7-ib { flex: none; width: 42px; height: 42px; border-radius: 12px; background: #FFFFFF; border: 1px solid var(--line); display: grid; place-items: center; }
#pv5 .h7-ib svg, #pv5 .h7-dot svg { width: 20px; height: 20px; fill: none; stroke: var(--blue); stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
#pv5 .h7-trust b { display: block; font: 700 15px/1.3 var(--h); color: var(--navy); }
#pv5 .h7-trust b + span { display: block; font-size: 13.5px; line-height: 1.4; color: var(--mute); }

/* the multi-buy terms section (bxgy/_home.html): bxgy.js hides it while the deal box shows; hidden from the start so it
   never flashes during loading */
#pv5:has(.h7-deal:not([hidden])) .bx-home { display: none; }

/* ---------------------------------------------------------------- section frame + headings */
#pv5 .h7-sec { padding: 84px 0; }
#pv5 .h7-head { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 4px 20px; margin-bottom: 34px; }
#pv5 .h7-head h2 { font-size: 42px; line-height: 1.1; font-weight: 800; margin-top: 10px; }
#pv5 .h7-head--center { justify-content: center; text-align: center; }
#pv5 .h7-more { display: inline-flex; align-items: center; gap: 6px; min-height: 40px; font: 700 14.5px/1 var(--h); color: var(--blue); white-space: nowrap; }
#pv5 .h7-more:hover { color: var(--navy); }
/* research areas: one row of pills linking to every category page (as on the old front page; same pills as the shop) */
#pv5 .h7-cats { display: flex; flex-wrap: wrap; gap: 8px; margin: -14px 0 28px; }
#pv5 .h7-cat { display: inline-flex; align-items: center; gap: 6px; min-height: 40px; padding: 0 16px; border: 1px solid var(--line); border-radius: 999px; background: #FFFFFF; color: var(--navy); font: 600 13.5px/1 var(--b); text-decoration: none; }
#pv5 .h7-cat span { color: #5D6B82; font-weight: 500; }   /* muted token: readable count (was 2.9:1) */
#pv5 .h7-cat:hover { border-color: var(--navy); }
#pv5 .h7-cat:focus-visible { outline: 2px solid var(--blue); outline-offset: 2px; }

/* ---------------------------------------------------------------- 3. best sellers (v5 card markup, mockup card look) */
#pv5 .h7-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; }
#pv5 .pv5-card {
  position: relative; display: flex; flex-direction: column; min-width: 0; background: #FFFFFF; border: 1px solid var(--line);
  border-radius: 20px; padding: 0; margin: 0; overflow: hidden; transition: box-shadow .2s ease, transform .2s ease;
}
@media (hover: hover) { #pv5 .pv5-card:hover { box-shadow: 0 14px 34px rgba(11,29,74,.10); transform: translateY(-2px); } }
#pv5 .pv5-card-pic { position: relative; display: block; margin: 0; border-radius: 0; aspect-ratio: 1 / 1; background: linear-gradient(180deg, #F2F6FB, #E6EEF8); overflow: hidden; }
#pv5 .pv5-card-cut { position: absolute; left: 50%; top: 9%; height: 82%; width: auto; max-width: none; transform: translateX(-50%); filter: drop-shadow(0 14px 14px rgba(11,29,74,.16)); }
#pv5 .pv5-card-photo { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
/* a full photo (no cut-out, e.g. coming soon): lift its grey studio backdrop onto the soft blue stage, as the shop cards do */
#pv5 .pv5-card-pic:has(.pv5-card-photo) { isolation: isolate; }
#pv5 .pv5-card-photo { mix-blend-mode: multiply; filter: brightness(1.16); }
#pv5 .pv5-card-shadow { display: none; }
#pv5 .pv5-tag {
  position: absolute; z-index: 2; top: 12px; left: 12px; padding: 5px 10px; border-radius: 99px; background: var(--navy); color: #FFFFFF;
  font: 700 10.5px/1.2 var(--b); letter-spacing: .06em;
}
#pv5 .pv5-tag--soon, #pv5 .pv5-tag--out { background: #FFFFFF; color: var(--navy); border: 1px solid var(--line); }
#pv5 .pv5-card-body { display: flex; flex-direction: column; flex: 1; padding: 16px 16px 18px; }
#pv5 .pv5-card-meta { display: none; }
#pv5 .pv5-card-name { font: 700 16.5px/1.25 var(--h); color: var(--navy); letter-spacing: -.01em; }
#pv5 .pv5-card-name a:hover { color: var(--blue); }
#pv5 .h7-card-sub { font-size: 12.5px; line-height: 1.3; color: var(--mute); margin-top: 3px; min-height: 16px; }
#pv5 .h7-chips { display: flex; flex-wrap: wrap; gap: 6px; margin: 12px 0 14px; }
#pv5 .h7-chip { font: 600 11px/1.2 var(--b); border: 1px solid #D3DCE9; border-radius: 99px; padding: 5px 10px; color: #33415A; text-transform: lowercase; }
#pv5 .h7-chip.is-on { background: var(--navy); border-color: var(--navy); color: #FFFFFF; }
#pv5 .h7-chip.is-out { color: #9AA6B8; text-decoration: line-through; }
/* sizes: buttons on the card; the one picked (navy) sets the price and what Add adds (the script in v7/home.html) */
#pv5 .pv5-sizes { display: flex; flex-wrap: wrap; gap: 6px; margin: 12px 0 14px; }
#pv5 .pv5-size {
  position: relative; min-height: 32px; min-width: 46px; padding: 0 11px; border: 1px solid #D3DCE9; border-radius: 99px; background: #FFFFFF;
  color: #33415A; font: 600 12px/1 var(--b); text-transform: lowercase; cursor: pointer; transition: border-color .15s, background-color .15s, color .15s; }
#pv5 .pv5-size::after { content: ""; position: absolute; inset: -5px -2px; }   /* a bigger tap area, same look */
#pv5 .pv5-size:hover { border-color: var(--navy); color: var(--navy); }
#pv5 .pv5-size[aria-checked="true"] { background: var(--navy); border-color: var(--navy); color: #FFFFFF; }
#pv5 .pv5-size:focus-visible { outline: 2px solid var(--blue); outline-offset: 2px; }
#pv5 .pv5-size[data-out] { color: #9AA6B8; text-decoration: line-through; }
#pv5 .pv5-size[data-out][aria-checked="true"] { background: #EEF2F7; border-color: #C3CEDD; color: #7B889D; }

/* Subscribe & Save on the card */
#pv5 .pv5-sns { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 10px; margin: -4px 0 12px; }
#pv5 .pv5-sns label { display: inline-flex; align-items: center; gap: 7px; min-height: 32px; font: 500 12.5px/1.2 var(--b); color: #33415A; cursor: pointer; }
#pv5 .pv5-sns input[type="checkbox"] { width: 16px; height: 16px; margin: 0; accent-color: var(--navy); flex: none; }
#pv5 .pv5-sns-iv[hidden] { display: none; }
#pv5 .pv5-sns select { height: 32px; padding: 0 26px 0 10px; border: 1px solid #D6DEEA; border-radius: 10px; background-color: #FFFFFF; font: 500 12.5px var(--b); color: var(--ink); }

/* price + Add */
#pv5 .h7-card-row { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-top: auto; padding-top: 12px; border-top: 1px solid var(--line); }
#pv5 .pv5-card-price { display: flex; flex-wrap: wrap; align-items: baseline; gap: 2px 5px; min-width: 0; font: 800 18px/1.2 var(--h); color: var(--navy); }
#pv5 .pv5-card-price b { font-weight: 800; }
#pv5 .pv5-card-price s { font: 500 13px/1.2 var(--b); color: var(--mute); }
#pv5 .pv5-card-price small { flex-basis: 100%; font: 500 11.5px/1.2 var(--b); color: var(--mute); }
#pv5 .pv5-add {
  flex: none; display: inline-flex; align-items: center; justify-content: center; gap: 6px; height: 40px; padding: 0 15px;
  border: 0; border-radius: 10px; background: var(--navy); color: #FFFFFF; font: 600 13.5px/1 var(--b); white-space: nowrap; cursor: pointer;
  transition: background-color .15s ease;
}
#pv5 .pv5-add:hover { background: #13296A; }
#pv5 .pv5-add:disabled { background: #EEF2F7; color: #8090A8; cursor: default; }
#pv5 .pv5-add.is-added, #pv5 .pv5-add.is-added:disabled { background: var(--blue); color: #FFFFFF; }
#pv5 .pv5-add[data-pv5-add]:disabled::before { display: none; }
#pv5 .pv5-add--line { background: #EEF2F7; color: #6B7A93; }
#pv5 .pv5-add--line:hover { background: #E3E9F2; }
#pv5 .pv5-add--line[href$="#notify"] { background: #FFFFFF; color: var(--navy); box-shadow: inset 0 0 0 1.5px #CBD5E3; }
/* the Add icon: a bag */
#pv5 .pv5-card .pv5-add[data-pv5-add]::before {
  content: ""; width: 15px; height: 15px; background: currentColor;
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linejoin='round'%3E%3Cpath d='M5 8h14l-1.3 11H6.3z'/%3E%3Cpath d='M9 8V6a3 3 0 0 1 6 0v2'/%3E%3C/svg%3E") center / contain no-repeat;
          mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linejoin='round'%3E%3Cpath d='M5 8h14l-1.3 11H6.3z'/%3E%3Cpath d='M9 8V6a3 3 0 0 1 6 0v2'/%3E%3C/svg%3E") center / contain no-repeat;
}
#pv5 .h7-fine { margin-top: 18px; font-size: 12.5px; line-height: 1.55; color: var(--mute); max-width: 760px; }
#pv5 .h7-fine a { color: var(--navy); text-decoration: underline; text-underline-offset: 2px; }

/* signed out while the catalog is gated */
#pv5 .h7-gate { display: grid; gap: 14px; justify-items: start; max-width: 760px; padding: 28px; background: #FFFFFF; border: 1px solid var(--line); border-radius: 20px; }
#pv5 .h7-gate p { font-size: 16px; line-height: 1.55; color: var(--mute); }
#pv5 .h7-gate-btns { display: flex; flex-wrap: wrap; gap: 10px; }
#pv5 .h7-gate small { font-size: 13px; color: var(--mute); }

/* ---------------------------------------------------------------- 4. lab results card */
#pv5 .h7-lab { background: var(--bg); }
#pv5 .h7-labcard { display: grid; grid-template-columns: 1fr 1.15fr; background: #FFFFFF; border: 1px solid var(--line); border-radius: 24px; overflow: hidden; }
#pv5 .h7-labl { padding: 44px; }
#pv5 .h7-labl h2 { font-size: 38px; line-height: 1.08; font-weight: 800; margin: 12px 0 14px; }
#pv5 .h7-labl > p:not(.h7-eyebrow) { font-size: 15.5px; line-height: 1.65; color: var(--mute); }
#pv5 .h7-inline { color: var(--navy); font-weight: 600; text-decoration: underline; text-underline-offset: 2px; }
#pv5 .h7-tests { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin: 26px 0 30px; }
#pv5 .h7-tests li { border: 1px solid var(--line); border-radius: 14px; padding: 14px 16px; }
#pv5 .h7-tests b { display: block; font: 700 14.5px/1.3 var(--h); color: var(--navy); }
#pv5 .h7-tests span { display: block; margin-top: 2px; font-size: 12.5px; line-height: 1.4; color: var(--mute); }
#pv5 .h7-labr { display: flex; flex-direction: column; padding: 34px; background: linear-gradient(160deg, #0B1D4A, #12306F); color: #FFFFFF; }
#pv5 .h7-coas { display: grid; gap: 12px; margin-top: 16px; }
#pv5 .h7-coas a {
  display: flex; align-items: center; gap: 14px; padding: 16px 18px; border-radius: 14px;
  background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.10); transition: background-color .15s ease, border-color .15s ease;
}
#pv5 .h7-coas a:hover { background: rgba(255,255,255,.11); border-color: rgba(255,255,255,.22); }
#pv5 .h7-coa-l { flex: 1; min-width: 0; }
#pv5 .h7-coa-l b { display: block; font: 700 15.5px/1.3 var(--h); color: #FFFFFF; }
#pv5 .h7-coa-l small { display: block; margin-top: 3px; font: 500 11.5px/1.3 var(--b); letter-spacing: .04em; text-transform: uppercase; color: #9FB3D6; }
#pv5 .h7-pur { flex: none; font: 800 22px/1 var(--h); color: #FFFFFF; white-space: nowrap; }
#pv5 .h7-pur small { font-size: 15px; color: #8FC4F3; margin-left: 1px; }
#pv5 .h7-coa-go { flex: none; font: 700 10.5px/1 var(--b); letter-spacing: .08em; color: #8FC4F3; white-space: nowrap; }
#pv5 .h7-avg { display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 12px; margin-top: auto; padding-top: 24px; }
#pv5 .h7-avg b { font: 800 44px/1 var(--h); color: #FFFFFF; letter-spacing: -.02em; }
#pv5 .h7-avg span { font-size: 14px; color: #B7C6E2; }

/* ---------------------------------------------------------------- 5. how ordering works */
#pv5 .h7-steps { position: relative; display: grid; grid-template-columns: repeat(4, 1fr); margin-top: 10px; }
#pv5 .h7-steps::before { content: ""; position: absolute; left: 12.5%; right: 12.5%; top: 34px; height: 2px; background: linear-gradient(90deg, var(--blue), #B9D6F2); }
#pv5 .h7-step { position: relative; padding: 0 14px; text-align: center; }
#pv5 .h7-dot {
  display: grid; place-items: center; width: 68px; height: 68px; margin: 0 auto 18px; border-radius: 50%;
  background: #FFFFFF; border: 1px solid var(--line); box-shadow: 0 0 0 8px #F1F6FC;
}
#pv5 .h7-dot svg { width: 24px; height: 24px; }
#pv5 .h7-step small { font: 600 11px/1.3 var(--b); letter-spacing: .16em; text-transform: uppercase; color: var(--blue); }
#pv5 .h7-step b { display: block; margin: 8px 0 6px; font: 700 17px/1.3 var(--h); color: var(--navy); }
#pv5 .h7-step p { font-size: 13.5px; line-height: 1.55; color: var(--mute); }
#pv5 .h7-step-link { display: inline-flex; align-items: center; min-height: 36px; margin-top: 4px; font: 600 13px/1 var(--b); color: var(--blue); text-decoration: underline; text-underline-offset: 3px; }
#pv5 .h7-step-link:hover { color: var(--navy); }

/* ---------------------------------------------------------------- 6. earn band */
#pv5 .h7-earn { padding-top: 0; }
#pv5 .h7-band {
  position: relative; display: flex; align-items: center; justify-content: space-between; gap: 30px; padding: 48px 52px;
  background: var(--navy); border-radius: 26px; color: #FFFFFF; overflow: hidden;
}
#pv5 .h7-band::after { content: ""; position: absolute; right: -120px; top: -120px; width: 420px; height: 420px; border-radius: 50%; background: radial-gradient(closest-side, rgba(42,130,212,.45), transparent); pointer-events: none; }
#pv5 .h7-band-txt { position: relative; z-index: 1; }
#pv5 .h7-band h2 { margin: 10px 0; font-size: 36px; line-height: 1.12; font-weight: 800; color: #FFFFFF; }
#pv5 .h7-band p:not(.h7-eyebrow) { max-width: 600px; font-size: 15.5px; line-height: 1.6; color: #B7C6E2; }
#pv5 .h7-band-btns { position: relative; z-index: 1; display: flex; gap: 12px; flex: none; }

/* ---------------------------------------------------------------- 7. questions + restock emails */
#pv5 .h7-more-sec { padding-top: 0; padding-bottom: 56px; }
#pv5 .h7-duo { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
#pv5 .h7-faq, #pv5 .h7-news { padding: 32px; border-radius: 24px; scroll-margin-top: 110px; }
#pv5 .h7-faq { background: #FFFFFF; border: 1px solid var(--line); }
#pv5 .h7-news { background: var(--soft); }
#pv5 .h7-faq h2, #pv5 .h7-news h2 { font-size: 24px; line-height: 1.2; font-weight: 800; }
#pv5 .h7-faq > p, #pv5 .h7-news > p { margin-top: 8px; font-size: 14.5px; line-height: 1.6; color: var(--mute); }
#pv5 .h7-faq > p a { color: var(--navy); font-weight: 600; text-decoration: underline; text-underline-offset: 2px; overflow-wrap: anywhere; }
#pv5 .h7-tools { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-top: 20px; }
#pv5 .h7-tools a { display: block; min-height: 44px; padding: 12px 14px; border: 1px solid var(--line); border-radius: 14px; transition: border-color .15s ease; }
#pv5 .h7-tools a:hover { border-color: var(--blue); }
#pv5 .h7-tools b { display: block; font: 700 14px/1.3 var(--h); color: var(--navy); }
#pv5 .h7-tools span { display: block; margin-top: 2px; font-size: 12.5px; line-height: 1.35; color: var(--mute); }
#pv5 .h7-news-form { margin-top: 20px; }
#pv5 .h7-news-form label { display: block; margin-bottom: 8px; font: 600 12px/1.3 var(--b); color: var(--navy); }
#pv5 .h7-news-row { display: flex; gap: 10px; }
#pv5 .h7-news-row input {
  flex: 1; min-width: 0; height: 48px; padding: 0 16px; border: 1px solid #D6DEEA; border-radius: 12px; background: #FFFFFF;
  font: 400 15px var(--b); color: var(--ink);
}
#pv5 .h7-news-row input:focus { outline: none; border-color: var(--navy); box-shadow: 0 0 0 3px rgba(11,29,74,.12); }
#pv5 .h7-news-msg { min-height: 20px; margin-top: 8px; font-size: 13px; line-height: 1.45; color: var(--navy); }
#pv5 .h7-news-msg.is-error { color: #B42318; }

/* ---------------------------------------------------------------- 8. research use only */
#pv5 .h7-ruo { padding: 0 0 72px; }
#pv5 .h7-ruo-in { display: grid; grid-template-columns: 200px 1fr; gap: 24px; padding: 24px 28px; background: var(--bg); border: 1px solid var(--line); border-radius: 20px; }
#pv5 .h7-ruo-h { font: 600 11px/1.6 var(--b); }
#pv5 .h7-ruo-h .h7-eyebrow { color: var(--navy); }   /* a span: the site's "no capitals in headings" rule only reaches the h2 */
#pv5 .h7-ruo-in p { font-size: 13px; line-height: 1.6; color: var(--mute); }
#pv5 .h7-ruo-in p + p { margin-top: 6px; }
#pv5 .h7-ruo-line { font-weight: 600; color: var(--ink) !important; }
#pv5 .h7-ruo-links a { color: var(--navy); text-decoration: underline; text-underline-offset: 2px; }

/* ---------------------------------------------------------------- tablet */
@media (max-width: 1080px) {
  #pv5 .h7-hero h1 { font-size: 50px; }
  #pv5 .h7-stage { height: 440px; }
  #pv5 .h7-fv { height: 240px; bottom: 70px; } #pv5 .h7-fv--1 { height: 310px; }
  #pv5 .h7-fv--2 { left: 9%; } #pv5 .h7-fv--3 { right: 9%; }
  #pv5 .h7-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  #pv5 .h7-labcard { grid-template-columns: 1fr; }
  #pv5 .h7-band { flex-direction: column; align-items: flex-start; }
}
@media (max-width: 900px) {
  #pv5 .h7-hero-in { grid-template-columns: 1fr; min-height: 0; gap: 6px; }
  #pv5 .h7-stage { order: -1; height: 380px; max-width: 400px; width: 100%; margin: 0 auto; }
  #pv5 .h7-fv { height: 225px; bottom: 56px; } #pv5 .h7-fv--1 { height: 290px; }
  #pv5 .h7-fv--2 { left: 12%; } #pv5 .h7-fv--3 { right: 12%; }
  #pv5 .h7-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  #pv5 .h7-steps { grid-template-columns: 1fr 1fr; gap: 36px 0; }
  #pv5 .h7-steps::before { display: none; }
  #pv5 .h7-duo { grid-template-columns: 1fr; }
}

/* ---------------------------------------------------------------- phone */
@media (max-width: 760px) {
  #pv5 .h7-hero { padding: 10px 0 30px; }
  #pv5 .h7-hero-in--solo { padding: 24px 0 4px; }
  #pv5 .h7-stage { height: 300px; }
  #pv5 .h7-disc { width: 280px; height: 60px; bottom: 18px; }
  #pv5 .h7-glow { inset: 20px 0 30px; }
  #pv5 .h7-fv { bottom: 40px; height: 175px; }
  #pv5 .h7-fv--1 { height: 230px; }
  #pv5 .h7-fv--2 { left: 6%; } #pv5 .h7-fv--3 { right: 6%; }
  #pv5 .h7-hero h1 { font-size: 40px; margin: 16px 0 12px; }
  #pv5 .h7-lead { font-size: 15.5px; }
  #pv5 .h7-cta { margin-top: 24px; }
  #pv5 .h7-cta .h7-btn { flex: 1 1 140px; padding: 0 12px; }
  #pv5 .h7-deal { gap: 14px; margin-top: 20px; padding: 16px; border-radius: 18px; }
  #pv5 .h7-deal-txt b { font-size: 20px; }
  #pv5 .h7-deal-note { font-size: 13.5px; }
  #pv5 .h7-deal-cta { width: 100%; margin-left: 0; }

  #pv5 .h7-trust-in { grid-template-columns: 1fr; }
  #pv5 .h7-trust-in > li { justify-content: flex-start; padding: 16px 4px; }
  #pv5 .h7-trust-in > li + li { border-left: 0; border-top: 1px solid var(--line); }

  #pv5 .h7-sec { padding: 52px 0; }
  #pv5 .h7-head { margin-bottom: 24px; }
  #pv5 .h7-head h2 { font-size: 30px; }
  #pv5 .h7-more { font-size: 13.5px; }
  #pv5 .h7-cats { flex-wrap: nowrap; overflow-x: auto; margin: -8px calc(-1 * var(--gutter, 16px)) 22px; padding: 0 var(--gutter, 16px) 4px; scrollbar-width: none; }
  #pv5 .h7-cats::-webkit-scrollbar { display: none; }
  #pv5 .h7-cat { flex: 0 0 auto; font-size: 13px; }

  #pv5 .h7-grid { gap: 12px; }
  #pv5 .pv5-card { border-radius: 18px; }
  #pv5 .pv5-tag { top: 8px; left: 8px; padding: 4px 8px; font-size: 10px; }
  #pv5 .pv5-card-body { padding: 12px; }
  #pv5 .pv5-card-name { font-size: 14.5px; }
  #pv5 .h7-card-sub { display: none; }
  #pv5 .h7-chips { gap: 5px; margin: 10px 0 12px; }
  #pv5 .h7-chip { padding: 4px 8px; font-size: 10.5px; }
  #pv5 .pv5-sns { margin: -2px 0 10px; }
  #pv5 .pv5-sns label { font-size: 12px; min-height: 40px; }
  #pv5 .pv5-sns select { height: 40px; }
  #pv5 .h7-card-row { flex-direction: column; align-items: stretch; gap: 10px; }
  #pv5 .pv5-card-price { font-size: 17px; }
  #pv5 .pv5-add { height: 44px; width: 100%; }

  #pv5 .h7-labl { padding: 26px 22px; }
  #pv5 .h7-labl h2 { font-size: 28px; }
  #pv5 .h7-labr { padding: 24px 18px; }
  #pv5 .h7-tests { gap: 10px; margin: 22px 0 24px; }
  #pv5 .h7-tests li { padding: 12px 14px; }
  #pv5 .h7-labl .h7-btn { width: 100%; }
  #pv5 .h7-coas a { padding: 14px; gap: 10px; }
  #pv5 .h7-coa-go { display: none; }
  #pv5 .h7-avg b { font-size: 38px; }

  #pv5 .h7-steps { grid-template-columns: 1fr; gap: 22px; }
  #pv5 .h7-step { display: grid; grid-template-columns: 60px 1fr; gap: 14px; align-items: start; padding: 0; text-align: left; }
  #pv5 .h7-dot { width: 52px; height: 52px; margin: 0; box-shadow: 0 0 0 5px #F1F6FC; }
  #pv5 .h7-dot svg { width: 22px; height: 22px; }
  #pv5 .h7-step-link { min-height: 40px; }

  #pv5 .h7-band { padding: 32px 22px; border-radius: 22px; }
  #pv5 .h7-band h2 { font-size: 28px; }
  #pv5 .h7-band-btns { flex-direction: column; width: 100%; }
  #pv5 .h7-band-btns .h7-btn { width: 100%; }

  #pv5 .h7-more-sec { padding-bottom: 40px; }
  #pv5 .h7-faq, #pv5 .h7-news { padding: 24px 20px; border-radius: 20px; }
  #pv5 .h7-faq h2, #pv5 .h7-news h2 { font-size: 22px; }
  #pv5 .h7-tools { grid-template-columns: 1fr; }
  #pv5 .h7-news-row { flex-direction: column; }
  #pv5 .h7-news-row .h7-btn { width: 100%; }

  #pv5 .h7-ruo { padding-bottom: 48px; }
  #pv5 .h7-ruo-in { grid-template-columns: 1fr; gap: 10px; padding: 20px; }

  /* phones: no text under 12px, and every link at least 40px tall to tap (the extra room is invisible padding) */
  #pv5 .h7-eyebrow, #pv5 .h7-pill, #pv5 .h7-deal-tag, #pv5 .h7-chip, #pv5 .pv5-tag, #pv5 .h7-coa-l small, #pv5 .h7-step small, #pv5 .h7-ruo-h, #pv5 .h7-deal-clock .cd-u { font-size: 12px; }
  #pv5 .h7-eyebrow, #pv5 .h7-pill { letter-spacing: .12em; }
  #pv5 .h7-deal-tag, #pv5 .pv5-tag { letter-spacing: .04em; }
  #pv5 .pv5-card-name a { display: inline-block; padding: 11px 0; margin: -11px 0; }
  #pv5 p a:not(.h7-btn) { display: inline-block; padding: 11px 0; margin: -11px 0; overflow-wrap: anywhere; }
  /* the policy links wrap onto two lines: padded links there overlapped (a tap on "Terms" opened "Refund"), so 44px rows instead */
  #pv5 p.h7-ruo-links { line-height: 44px; }
  #pv5 p.h7-ruo-links a { display: inline-block; padding: 0; margin: 0; line-height: 44px; }
  #pv5 .h7-news-form label { padding: 17px 0 8px; margin: -17px 0 0; }
}
@media (max-width: 380px) {
  #pv5 .h7-hero h1 { font-size: 36px; }
  #pv5 .h7-fv { height: 160px; } #pv5 .h7-fv--1 { height: 215px; }
  #pv5 .h7-fv--2 { left: 3%; } #pv5 .h7-fv--3 { right: 3%; }
  #pv5 .pv5-card-body { padding: 11px; }
  #pv5 .h7-chip { padding: 4px 7px; }
}
@media (prefers-reduced-motion: reduce) {
  #pv5 .pv5-card, #pv5 .h7-fv, #pv5 .h7-deal-cta, #pv5 .h7-deal-cta span { transition: none; }
  #pv5 .h7-deal-dot { animation: none; }
}

/* ---------------------------------------------------------------- store theme (Admin -> Themes; themes.js/themes.css):
   while one is on, its dark, lit top section and accent colour, in this page's layout. Only the top section changes; the fallbacks keep it readable if themes.css is late. */
body.pth.pth-home #pv5 .h7-hero { background: radial-gradient(95% 48% at 50% 22%, var(--pth-deep, #12306F) 0%, var(--pth-mid, #0B1D4A) 45%, var(--pth-dark, #071230) 82%); }
@media (min-width: 900px) {
  body.pth.pth-home #pv5 .h7-hero { background: radial-gradient(62% 82% at 73% 46%, var(--pth-deep, #12306F) 0%, var(--pth-mid, #0B1D4A) 42%, var(--pth-dark, #071230) 78%); }
}
body.pth.pth-home #pv5 .h7-glow, body.pth.pth-home #pv5 .h7-disc { display: none; }
body.pth.pth-home #pv5 .h7-pill { background: rgba(255,255,255,.06); border-color: rgba(255,255,255,.18); color: #E6E7EC; }
body.pth.pth-home #pv5 .h7-pill-dot { background: var(--pth-a2, #8FC4F3); }
body.pth.pth-home #pv5 .h7-hero h1 { color: #FFFFFF; }
body.pth.pth-home #pv5 .h7-h1-b { color: var(--pth-a2, #8FC4F3); }
body.pth.pth-home #pv5 .h7-lead { color: #C9CAD0; }
body.pth.pth-home #pv5 .h7-deal { background: rgba(255,255,255,.07); border-color: rgba(255,255,255,.16); box-shadow: 0 24px 40px -24px rgba(0,0,0,.8); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); }
body.pth.pth-home #pv5 .h7-deal-tag { background: var(--pth-a2, #8FC4F3); color: #0A0A0B; }
body.pth.pth-home #pv5 .h7-deal-txt b, body.pth.pth-home #pv5 .h7-deal-limit { color: #FFFFFF; }
body.pth.pth-home #pv5 .h7-deal-note { color: #C9CAD0; }
body.pth.pth-home #pv5 .h7-deal-dot { background: #0A0A0B; animation: none; }
body.pth.pth-home #pv5 .h7-deal-cta, body.pth.pth-home #pv5 .h7-hero .h7-btn--dark { background: #FFFFFF; border-color: #FFFFFF; color: var(--navy); }
body.pth.pth-home #pv5 .h7-hero .h7-btn--line { background: transparent; border-color: rgba(255,255,255,.4); color: #FFFFFF; }
body.pth.pth-home #pv5 .h7-fv img { filter: drop-shadow(0 28px 30px rgba(0,0,0,.6)) drop-shadow(0 0 26px var(--pth-g, rgba(42,130,212,.35))); }
