/* The Pioneer Apothecary — style.css (v2, modelled on reference layout) */
:root {
  --green: #1F5A2A;
  --green-dark: #14421E;
  --green-brand: #2F4A3A;
  --brass: #B08D57;
  --gold: #F2C94C;
  --amber: #A8612A;
  --cream: #F6EEDC;
  --page: #F4F4F4;
  --ink: #111111;
  --wood-a: #2C1D14;
  --wood-b: #3B281B;
  --maroon: #3E1A17;
  --maxw: 820px;
  --sans: "Poppins", "Helvetica Neue", Arial, sans-serif;
  --serif: "Lora", Georgia, "Times New Roman", serif;
}
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } *, *::before, *::after { transition: none !important; animation: none !important; } }
body { margin: 0; overflow-x: hidden; background: var(--page); color: var(--ink); font-family: var(--sans); font-size: 18px; line-height: 1.5; }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--green); }
a:focus-visible, button:focus-visible, summary:focus-visible { outline: 3px solid var(--gold); outline-offset: 3px; }
p { margin: 0 0 1em; }
strong { font-weight: 600; }
.wrap { width: min(100% - 2rem, var(--maxw)); margin-inline: auto; }
.center { text-align: center; }
.small { font-size: 0.85em; }

/* wood bars */
.wood {
  background-color: var(--wood-a);
  background-image:
    repeating-linear-gradient(90deg, rgba(255,255,255,0.03) 0 2px, transparent 2px 7px),
    repeating-linear-gradient(0deg, rgba(0,0,0,0.18) 0 1px, transparent 1px 6px),
    linear-gradient(90deg, #26170F, #3D2A1C 35%, #2B1C12 60%, #3A271A);
  color: #fff; text-align: center; padding: 0.9rem 1rem;
  border-top: 1px solid rgba(255,255,255,0.08); border-bottom: 1px solid rgba(0,0,0,0.5);
  box-shadow: inset 0 -6px 14px rgba(0,0,0,0.35);
}
.wood h1, .wood h2 { font-family: var(--serif); font-weight: 400; color: #fff; margin: 0; line-height: 1.15; text-shadow: 0 2px 4px rgba(0,0,0,0.6); }
.wood h1 { font-size: clamp(1.5rem, 4.6vw, 2.2rem); }
.wood h1 .desk { display: none; }
@media (min-width: 900px) { .wood h1 .desk { display: inline; } }
.wood h2 { font-size: clamp(1.55rem, 4.6vw, 2.3rem); }
.subhead { font-family: var(--serif); font-weight: 400; color: var(--ink); text-align: center; font-size: clamp(1.5rem, 4.4vw, 2.2rem); line-height: 1.15; margin: 2.5rem auto 1.5rem; width: min(100% - 2rem, var(--maxw)); }

.section { padding: 1.5rem 0 2rem; }

/* two-column image | text rows */
.row { display: grid; gap: 1rem; align-items: center; margin: 1rem 0 1.5rem; }
@media (min-width: 700px) { .row { grid-template-columns: 1fr 1fr; gap: 1.25rem; } }
.row img { width: 100%; border-radius: 4px; }
.row p:last-child { margin-bottom: 0; }

/* hero */
.hero { text-align: center; padding: 0.75rem 0 1rem; }
.hero .sub { font-style: italic; font-weight: 600; font-size: 1rem; margin: 0.75rem auto; }
.hero .brand { width: 220px; margin: 0.5rem auto 0.25rem; }
.vsl { position: relative; width: 100%; max-width: 780px; aspect-ratio: 16 / 9; background: #000; margin: 0.75rem auto 0; }
.vsl iframe, .vsl video, .vsl > div { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.vsl-placeholder { display: flex; align-items: center; justify-content: center; color: #bbb; font-size: 0.9rem; padding: 1rem; text-align: center; }
.ai-note { font-size: 0.78rem; color: #555; margin: 0.4rem 0 0; text-transform: uppercase; letter-spacing: 0.06em; }
.quote { font-family: var(--serif); font-style: italic; font-size: clamp(1.05rem, 2.6vw, 1.3rem); line-height: 1.5; max-width: 760px; margin: 1.5rem auto 1rem; }

/* buttons */
.btn {
  display: inline-block; background: linear-gradient(180deg, #2E8B3A, var(--green)); color: var(--gold);
  font-family: var(--sans); font-weight: 700; font-size: 1.05rem; letter-spacing: 0.02em; text-transform: uppercase; text-decoration: none;
  padding: 0.85rem 1.6rem; border-radius: 999px; min-height: 56px; line-height: 1.2;
  border: 3px solid #333; box-shadow: 0 5px 0 #222, 0 8px 14px rgba(0,0,0,0.3);
  transition: transform 0.1s ease;
}
.btn:hover { transform: translateY(-1px); color: #fff; }
.btn:active { transform: translateY(2px); box-shadow: 0 3px 0 #222; }
.cta { text-align: center; margin: 1.25rem 0; }
.cta .price-line { margin: 0 0 0.6rem; font-weight: 600; }
.cta .price-line s { color: #777; font-weight: 400; }
.cta .price-line .today { color: var(--green); font-size: 1.3em; font-weight: 700; }
.js-cta-gated[hidden] { display: none !important; }
.deliver { display: inline-block; background: #fff; border-radius: 10px; box-shadow: 0 2px 10px rgba(0,0,0,0.12); padding: 0.8rem 1.2rem; font-size: 0.88rem; margin-top: 1rem; }

/* sticky jump-to-offer bars */
#jump-top { position: fixed; top: 0; left: 0; right: 0; z-index: 60; display: flex; align-items: center; justify-content: center; gap: 1rem; background: var(--green-dark); color: #fff; padding: 0.5rem 1rem; font-size: 0.95rem; box-shadow: 0 2px 8px rgba(0,0,0,0.3); }
#jump-top strong, #launch-bar strong { color: var(--gold); }
#launch-clock { font-variant-numeric: tabular-nums; }
.jt-btn { display: inline-block; background: linear-gradient(180deg, #FFE066, #E6B800); color: #2b2000; font-weight: 700; text-transform: uppercase; letter-spacing: 0.03em; text-decoration: none; padding: 0.45rem 1.1rem; border-radius: 999px; border: 2px solid #333; box-shadow: 0 3px 0 #222; font-size: 0.9rem; white-space: nowrap; }
.jt-btn:hover { background: linear-gradient(180deg, #FFEA80, #F2C300); color: #000; }
#jump-bottom { display: none; background: linear-gradient(180deg, #2E8B3A, var(--green)); color: var(--gold); position: fixed; left: 50%; bottom: calc(0.9rem + env(safe-area-inset-bottom, 0px)); transform: translate(-50%, 140%); z-index: 60; padding: 0.9rem 2rem; font-size: 1.05rem; min-height: 56px; box-shadow: 0 4px 0 #222, 0 8px 18px rgba(0,0,0,0.35); transition: transform 0.25s ease; }
#jump-bottom.is-visible { transform: translate(-50%, 0); }
@media (min-width: 700px) { body { padding-top: 48px; } .shelf { scroll-margin-top: 56px; } #price { scroll-margin-top: 56px; } }
@media (max-width: 699px) { #jump-top { display: none; } #jump-bottom { display: inline-flex; align-items: center; } body.jump-visible { padding-bottom: 90px; } }

/* tabs */
.tabs-intro { font-size: 1.1rem; margin: 1.5rem 0 1rem; }
.tabs { list-style: none; padding: 0; margin: 0 0 1.5rem; display: grid; grid-template-columns: repeat(2, 1fr); gap: 0.5rem; }
@media (min-width: 560px) { .tabs { grid-template-columns: repeat(3, 1fr); } }
@media (min-width: 760px) { .tabs { grid-template-columns: repeat(4, 1fr); } }
.shelf-tab {
  display: flex; align-items: center; justify-content: center; text-align: center;
  min-height: 56px; padding: 0.5rem 0.6rem; border-radius: 6px;
  background: linear-gradient(180deg, #3A5B46, var(--green-brand)); color: #fff;
  border: 2px solid var(--brass); box-shadow: 0 3px 0 #1a2a20, 0 4px 8px rgba(0,0,0,0.25);
  font-family: var(--serif); font-weight: 700; font-size: 0.98rem; line-height: 1.2; text-decoration: none;
}
.shelf-tab:hover, .shelf-tab[aria-current="true"] { background: linear-gradient(180deg, #A8612A, #8A4E20); color: #fff; }

/* feature panel (annotated page) */
.panel { background: var(--wood-b); border-radius: 10px; padding: 1rem; margin: 1rem 0 1.5rem; }
.panel img { border-radius: 6px; }

/* shelves */
.shelf { scroll-margin-top: 0.5rem; }
.shelf .row { margin-top: 1rem; }
.remedies { list-style: none; padding: 0; margin: 0; }
.remedies li { position: relative; padding-left: 1.2rem; margin-bottom: 0.75rem; line-height: 1.4; }
.remedies li::before { content: "•"; position: absolute; left: 0; top: 0; font-weight: 700; }
.remedies strong { font-weight: 700; }
.remedies .pg { color: #555; font-size: 0.85em; white-space: nowrap; }
.wall { text-align: center; }
.wall img, .wall-img { width: min(100%, 760px); margin: 0.5rem auto 1rem; }
.more { font-size: clamp(1.3rem, 4vw, 1.9rem); font-weight: 700; text-align: right; margin: 0.5rem 0 1rem; }

/* bonuses */
.bonus { display: grid; gap: 1rem; align-items: center; padding: 1.25rem 0; border-bottom: 2px solid #ccc; }
.bonus:last-child { border-bottom: 0; }
@media (min-width: 700px) { .bonus { grid-template-columns: 300px 1fr; gap: 1.5rem; } }
.bonus img { width: 220px; margin-inline: auto; box-shadow: 0 12px 24px rgba(0,0,0,0.3); border-radius: 3px; }
.bonus em { font-weight: 700; }
.bonus p:last-child { margin-bottom: 0; }

/* price stack */
.stack { max-width: 640px; margin: 1rem auto; box-shadow: 0 6px 24px rgba(0,0,0,0.25); border-radius: 6px; overflow: hidden; }
.stack .top { background: var(--cream); padding: 0.75rem; }
.stack .top img { width: 100%; }
.stack .top .cap { font-size: 0.82rem; color: #555; text-align: center; margin: 0.5rem 0 0; font-style: italic; }
.stack table { width: 100%; border-collapse: collapse; background: var(--wood-b); color: #fff; font-family: var(--serif); }
.stack td { padding: 0.45rem 1rem; border-bottom: 1px solid rgba(255,255,255,0.08); font-size: 1.05rem; }
.stack td small { display: block; font-family: var(--sans); font-size: 0.72rem; color: #cbbfae; }
.stack td:last-child { text-align: right; color: var(--gold); font-weight: 700; font-size: 1.3rem; white-space: nowrap; }
.stack .bottom { background: #000; color: #fff; display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding: 0.9rem 1rem; flex-wrap: wrap; }
.stack .bottom .fmt { font-size: 0.8rem; font-weight: 700; text-transform: uppercase; line-height: 1.25; }
.stack .bottom .just { font-family: var(--serif); font-size: 1.4rem; }
.stack .bottom .just s { color: #e33; text-decoration-color: #e33; margin: 0 0.3rem; }
.stack .bottom .just b { font-size: 2.2rem; color: #fff; }
.stack .bottom .disc { background: var(--gold); color: #5a3a00; font-weight: 700; padding: 0.25rem 0.7rem; border-radius: 3px; font-size: 0.9rem; }

/* marquee strip */
.strip { background: var(--maroon); color: #fff; text-align: center; padding: 0.7rem 1rem; font-weight: 600; font-size: 1rem; }

/* guarantee */
.seal { width: min(240px, 70vw); height: auto; margin: 0 auto; display: block; }

/* why */
.why h3 { text-align: center; font-weight: 700; text-decoration: underline; font-size: 1.15rem; margin: 1.5rem 0 0.75rem; }

/* faq */
.faq details { border-bottom: 1px solid #ccc; }
.faq summary { cursor: pointer; padding: 0.9rem 2rem 0.9rem 0; font-weight: 600; list-style: none; position: relative; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 0.25rem; top: 0.75rem; color: var(--green); font-size: 1.4rem; }
.faq details[open] summary::after { content: "–"; }
.faq .answer { padding: 0 0 1rem; }

/* support */
.support { background: #fff; border: 1px solid #e3e3e3; border-radius: 8px; box-shadow: 0 2px 10px rgba(0,0,0,0.08); text-align: center; padding: 1.25rem 1rem; margin: 1.5rem auto; max-width: 760px; }
.support h3 { margin: 0 0 0.4rem; font-weight: 500; font-size: 1.25rem; }
.support a { font-weight: 600; }

/* references */
.refs-h { text-align: center; font-weight: 400; font-size: 1.3rem; margin: 1.5rem 0 0.75rem; color: #333; }
.refs { font-size: 0.78rem; color: #555; padding-left: 1.2rem; columns: 1; }
@media (min-width: 700px) { .refs { columns: 2; column-gap: 2rem; } }
.refs li { margin-bottom: 0.4rem; break-inside: avoid; }

/* footer */
.site-footer { background: var(--maroon); color: #fff; text-align: center; padding: 1.5rem 1rem 2rem; font-size: 0.95rem; }
.site-footer a { color: #fff; overflow-wrap: anywhere; }
.site-footer .links { font-size: 1.05rem; margin-bottom: 1rem; }
.site-footer p { margin: 0 auto 0.9em; max-width: 900px; }
.site-footer .disc { font-size: 0.82rem; color: #e6d9d7; }

/* legal pages */
.legal { padding: 1.5rem 0 3rem; }
.legal h1 { font-family: var(--serif); font-weight: 400; font-size: 2rem; margin: 0 0 1rem; }
.legal h2 { font-size: 1.2rem; margin: 1.5rem 0 0.5rem; }
.legal .meta { color: #666; font-size: 0.9rem; }
.legal .brand { width: 220px; margin: 1rem auto; }

/* mobile tuning */
@media (max-width: 699px) {
  .wood { padding: 0.75rem 0.75rem; }
  .wood h1 { font-size: 1.35rem; }
  .wood h2 { font-size: 1.45rem; }
  body { font-size: 17px; }
  .row img { max-width: 100%; }
  .bonus img { width: 190px; }
  .stack .bottom { justify-content: center; text-align: center; }
  .stack .bottom .just b { font-size: 2rem; }
  .btn { width: 100%; font-size: 1rem; padding: 0.85rem 1rem; }
  .shelf-tab { font-size: 0.92rem; min-height: 52px; }
  .refs { font-size: 0.8rem; }
}
