/* CPI Longevity theme: dark, neon green, sport. Layers on top of the shared site.css. */
:root {
  --black: #000;
  --ink: #f4f7f1;
  --body: #b8c2b3;
  --muted: #8b9587;
  --gold: #7bd13a;          /* accent (kept as --gold so the shared stylesheet picks it up) */
  --gold-hi: #a6f06a;
  --gold-lo: #5aa823;
  --gold-text: #8be33f;     /* accent text on dark */
  --gold-deep: #9be85a;
  --cream: #0d130c;         /* raised panel */
  --cream-2: #111a10;
  --line: #1f2b1c;
  --white: #050705;         /* page background */
  --shadow: 0 1px 2px rgba(0, 0, 0, .5), 0 10px 30px rgba(0, 0, 0, .45);
  --display: "Saira", system-ui, sans-serif;
  color-scheme: dark;
}
body { background: var(--white); color: var(--body); }
h1, h2, h3, h4 { color: var(--ink); }
h1, h2 { font-family: var(--display); font-weight: 800; text-transform: uppercase; letter-spacing: -.005em; line-height: 1.02; }
h3, h4 { font-family: var(--display); font-weight: 700; }
a { color: var(--gold-text); }

/* accent second line of big headings: italic neon green */
.hub-hero h1 span, .home-hero h1 span {
  font-style: italic; color: var(--gold-text);
  background: linear-gradient(180deg, #b3f57a, #6cc52b); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent;
}
.eyebrow { color: var(--gold-text); }

/* buttons */
.btn-gold { color: #0a0f08; background: linear-gradient(180deg, var(--gold-hi) 0%, var(--gold) 55%, var(--gold-lo) 100%); box-shadow: 0 0 0 1px rgba(139, 227, 63, .25), 0 8px 26px rgba(123, 209, 58, .28); }
.header-cta { box-shadow: 0 0 18px rgba(123, 209, 58, .3); }
.btn-ghost { color: var(--ink); background: transparent; border: 1.5px solid var(--gold); }
.btn-ghost:hover { background: rgba(123, 209, 58, .08); }

/* header, category bar, mobile nav */
.site-header { background: #000; border-bottom: 1px solid #142012; }
.nav > a, .nav-drop { border-bottom-color: #142012; }
.cat-bar { background: #070a06; border-top: 1px solid #142012; }
.cat-bar a { border-color: #263a20; color: #e3ebdd; font-family: var(--display); letter-spacing: .02em; text-transform: uppercase; font-size: .78rem; }
.cat-bar a[aria-current="page"] { background: linear-gradient(180deg, var(--gold-hi), var(--gold)); color: #0a0f08; }
@media (min-width: 900px) { .cat-bar a { font-size: .82rem; } }

/* product containers: photographed on black, blended into the dark page */
.vial img { mix-blend-mode: lighten; }
.vial-label { color: #0a1206; }
.vial-vial .vial-label { left: 24.6%; width: 50.7%; top: 33.0%; height: 36.9%; }
.vial-bottle .vial-label { left: 21.0%; width: 57.8%; top: 29.6%; height: 41.7%; }
.vial-jar .vial-label { left: 17.2%; width: 65.6%; top: 56.9%; height: 18.3%; }
.vial-jar .vial-label i { margin-top: 3%; }

/* text that the base stylesheet sets dark */
.hero-intro, .plan-save, .simple .lead, .legal, .hero-points, .checks li, .elig-note { color: var(--body); }
.hero-points li, .checks li { color: #dbe3d5; }

/* panels and cards */
.notice, .pricing, .price-table, .card, .placeholder { background: var(--cream); border-color: var(--line); }
.pricing-strengths { background: var(--line); }
.pricing-strengths .plan { background: var(--cream); }
.price-table th, .price-table td { border-top-color: var(--line); }
.prod-card, .tile, .formula { background: linear-gradient(160deg, #0f160e, #080c07); border-color: #1c2919; }
.prod-card:hover, .tile:hover { border-color: #2f4a26; }
.why-card { background: linear-gradient(120deg, #0d130c 0%, #070a06 100%); border-color: var(--line); }
.faq { background: #0a0f09; border-color: #1a2517; }
.faq summary { color: var(--ink); }
.cat-jump a { background: #0a0f09; border-color: #22331d; color: var(--ink); }
.cat-jump span { color: #0a0f08; }
.cat-head { border-bottom-color: var(--gold); }
.step-num { color: #0a0f08; }

/* safety information */
.isi-card { background: #0a0f09; border-color: var(--line); }
.isi-body, .isi-tray-body { color: #c9d2c4; }
.boxed { background: #050705; border-color: #c9d2c4; }
.isi-tray { background: #080c07; border-top-color: var(--gold); box-shadow: 0 -8px 24px rgba(0, 0, 0, .6); }
.isi-tray-toggle { color: var(--ink); }
.isi-tray-toggle em { color: var(--body); }

/* closing banner: green light waves */
.cta-band { background: radial-gradient(ellipse at 50% 120%, #0f2a06 0%, #000 60%); }
.waves { filter: hue-rotate(52deg) saturate(1.3); }

/* footer */
.site-footer { background: #000; border-top: 1px solid #142012; color: #a9b3a4; }
.site-footer a { color: #d3dccd; }
.footer-legal { border-top-color: #142012; color: #87917f; }

/* home hero photo glow */
.home-hero-img img { box-shadow: 0 0 0 1px #1c2919, 0 20px 60px rgba(123, 209, 58, .12); }
.notice { color: var(--body); }
/* Nasal spray: a slim bottle, so the label is narrower and sits low on the body. */
.vial-nasal .vial-label { left: 34%; width: 32%; top: 58%; height: 31%; }
.vial-nasal .vial-label b { font-size: 6cqw; }
.vial-nasal .vial-label span { font-size: 4.5cqw; }
.vial-nasal .vial-label i { font-size: 3.4cqw; margin-top: 8%; }
/* Troche tub: a wide label across the front. */
.vial-troche .vial-label { left: 21%; width: 58%; top: 43.5%; height: 23%; }
.vial-troche .vial-label i { margin-top: 4%; }
/* Patch carton: text sits in the clear top band of the label, above the pouch. */
.vial-patch .vial-label { left: 30.5%; width: 34.4%; top: 33%; height: 13.6%; }
.vial-patch .vial-label b { font-size: 6cqw; }
.vial-patch .vial-label span { font-size: 4.6cqw; }
.vial-patch .vial-label i { font-size: 3.4cqw; margin-top: 3%; }
/* Pen: a narrow band on the barrel, so the name runs along the pen. */
.vial-pen .vial-label { left: 44.2%; width: 11.5%; top: 46.5%; height: 25%; writing-mode: vertical-rl; transform: rotate(180deg); }
.vial-pen .vial-label b { font-size: 4.4cqw; }
.vial-pen .vial-label span { font-size: 3.6cqw; }
.vial-pen .vial-label i { display: none; }
/* Homepage story: CPI Stem Cells founders. */
.story { padding-top: 8px; }
.story-card { display: grid; gap: 28px; padding: 28px 20px; background: linear-gradient(120deg, #0d130c 0%, #070a06 100%); border: 1px solid var(--line); border-radius: var(--radius); }
.story-copy h2 { font-size: clamp(1.6rem, 1.2rem + 1.6vw, 2.3rem); margin-bottom: 14px; }
.story-copy p:not(.eyebrow) { color: #c9d1c4; margin: 0 0 12px; max-width: 58ch; }
.story-side .checks { padding: 0; margin: 0; }
.story-logo { margin: 22px 0 0; padding-top: 20px; border-top: 1px solid var(--line); }
.story-logo img { width: min(240px, 70%); height: auto; display: block; }
.story-logo figcaption { margin-top: 10px; font-size: .82rem; color: #8f9a8a; }
@media (min-width: 860px) {
  .story-card { grid-template-columns: 1.1fr 1fr; align-items: center; gap: 48px; padding: 48px; }
}
/* Free shipping: bar above the header and a line under each product price. */
.announce { display: flex; align-items: center; justify-content: center; gap: 8px; padding: 7px 16px; background: #8be33f; color: #050705; font-size: .86rem; text-align: center; }
.announce .ico { width: 17px; height: 17px; flex: none; }
.announce strong { font-weight: 700; }
.ship-note { display: flex; align-items: center; gap: 7px; margin: 8px 0 0; font-weight: 700; color: #8be33f; font-size: .92rem; }
.ship-note .ico { width: 18px; height: 18px; flex: none; }

/* Per-formula intake button (links straight to the product in the Bask flow) */
.formula .formula-cta { margin-top: 14px; align-self: flex-start; }
/* Linked contents list on HTML policies; section ids clear the sticky header. */
.legal .toc-item { margin: 0 0 6px; }
.legal .toc-item a { color: #8be33f; text-decoration: none; }
.legal .toc-item a:hover { text-decoration: underline; }
.legal [id] { scroll-margin-top: 150px; }
/* Get Started: search box and one card per category. */
.start-search { position: relative; margin: 22px 0 28px; }
.start-search input { width: 100%; padding: 15px 18px; font: inherit; font-size: 1.02rem; color: #eef3ea; background: #0d130c; border: 1px solid #2c3a28; border-radius: 12px; outline: none; }
.start-search input:focus { border-color: #8be33f; box-shadow: 0 0 0 3px rgba(139, 227, 63, .18); }
.start-search input::placeholder { color: #7d8a78; }
.start-results { list-style: none; margin: 8px 0 0; padding: 6px; background: #0d130c; border: 1px solid #2c3a28; border-radius: 12px; }
.start-results li { display: flex; align-items: center; justify-content: space-between; gap: 14px; padding: 10px 12px; border-radius: 8px; }
.start-results li + li { border-top: 1px solid #1c2619; }
.start-results li div:first-child { display: flex; flex-direction: column; }
.start-results li span { font-size: .84rem; color: #8f9a8a; }
.start-results .start-links { display: flex; align-items: center; gap: 14px; flex: none; }
.start-results .start-links a:not(.btn) { color: #8be33f; font-size: .9rem; }
.start-results li.none { color: #c9d1c4; }
.start-grid { list-style: none; margin: 0 0 28px; padding: 0; display: grid; gap: 16px; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); }
.start-card { display: flex; flex-direction: column; background: #0d130c; border: 1px solid #1f2a1c; border-radius: 14px; overflow: hidden; transition: border-color .2s; }
.start-card:hover { border-color: #8be33f; }
.start-media img { display: block; width: 100%; height: 130px; object-fit: cover; }
.start-copy { display: flex; flex-direction: column; align-items: flex-start; gap: 8px; padding: 14px 16px 18px; flex: 1; }
.simple .start-copy h2 { margin: 0; font-size: 1.15rem; }
.start-copy p { margin: 0; font-size: .9rem; color: #8f9a8a; }
.start-copy p a { color: #8be33f; }
.start-copy .btn { margin-top: auto; }
.simple .start-copy .btn-gold, .simple .start-results .btn-gold { color: #050705; }
.start-copy .start-soon { font-size: .8rem; color: #7d8a78; }
@media (max-width: 560px) { .start-results li { flex-direction: column; align-items: flex-start; } }
@media (max-width: 560px) {
  .start-grid { gap: 10px; }
  .start-card { flex-direction: row; }
  .start-media { flex: 0 0 96px; }
  .start-media img { width: 96px; height: 100%; min-height: 112px; }
  .start-copy { padding: 12px 14px; gap: 6px; }
  .simple .start-copy h2 { font-size: 1rem; }
  .start-copy .btn { padding: 8px 14px; font-size: .85rem; }
}
/* Header site search: icon button and the panel that opens under the category bar. */
.search-btn { display: inline-flex; align-items: center; justify-content: center; width: 42px; height: 42px; margin-left: auto; background: none; border: 1px solid #2c3a28; border-radius: 50%; color: #eef3ea; cursor: pointer; padding: 0; flex: none; }
.search-btn:hover, .search-btn[aria-expanded="true"] { border-color: #8be33f; color: #8be33f; }
.search-btn .ico { width: 20px; height: 20px; }
.search-btn + .header-cta { margin-left: 0; }
.site-search { background: #070a06; border-top: 1px solid #1c2619; border-bottom: 1px solid #1c2619; padding: 14px 0 16px; }
.site-search .wrap { max-width: 860px; }
.site-search input { width: 100%; padding: 13px 16px; font: inherit; font-size: 1rem; color: #eef3ea; background: #0d130c; border: 1px solid #2c3a28; border-radius: 12px; outline: none; }
.site-search input:focus { border-color: #8be33f; box-shadow: 0 0 0 3px rgba(139, 227, 63, .18); }
.site-search input::placeholder { color: #7d8a78; }
.site-search-results { list-style: none; margin: 8px 0 0; padding: 0; max-height: 60vh; overflow-y: auto; }
.site-search-results li { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 8px 10px; border-radius: 8px; }
.site-search-results li + li { border-top: 1px solid #1c2619; }
.site-search-results li > a:first-child { display: flex; flex-direction: column; color: #eef3ea; text-decoration: none; flex: 1; }
.site-search-results li > a:first-child:hover strong { color: #8be33f; }
.site-search-results span { font-size: .82rem; color: #8f9a8a; }
.site-search-results .btn-gold { color: #050705; flex: none; }
.site-search-results li.none { color: #c9d1c4; }
@media (max-width: 560px) { .site-search-results li { flex-direction: column; align-items: flex-start; } }

/* State availability: amber box next to the Start button and on limited formulas */
.state-alert { display: flex; gap: 10px; align-items: flex-start; margin: 14px 0 16px; padding: 11px 14px; border: 1px solid #c98a1a; border-left-width: 4px; border-radius: 8px; background: rgba(240, 170, 40, .09); color: #f6dca6; font-size: .92rem; line-height: 1.45; font-style: normal; }
.state-alert .ico { width: 18px; height: 18px; flex: none; margin-top: 2px; color: #f0aa28; }
.state-alert strong { color: #ffd37a; }
.formula .state-alert { margin: 10px 0 12px; font-size: .88rem; }
