/* ValuePicksHub — shared stylesheet */
:root {
  --brand: #1a6b3a;
  --brand-light: #e8f5ee;
  --brand-dark: #0f4022;
  --text: #1a1a1a;
  --text-muted: #555;
  --bg: #fff;
  --border: #d4d4d4;
  --link: #1a6b3a;
  --link-hover: #0f4022;
  --max-w: 900px;
  --radius: 6px;
  font-size: 16px;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  color: var(--text);
  background: var(--bg);
  line-height: 1.7;
}

a { color: var(--link); }
a:hover { color: var(--link-hover); }
a:focus-visible { outline: 3px solid var(--brand); outline-offset: 2px; border-radius: 2px; }

/* ---- Skip link ---- */
.skip-link {
  position: absolute; left: -999px; top: auto;
  background: var(--brand); color: #fff; padding: .5rem 1rem;
  text-decoration: none; z-index: 9999; border-radius: 0 0 var(--radius) 0;
}
.skip-link:focus { left: 0; }

/* ---- Header / Nav ---- */
header {
  background: var(--brand);
  padding: 0 1.25rem;
}
.header-inner {
  max-width: var(--max-w);
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  min-height: 56px;
  flex-wrap: wrap;
}
.site-logo {
  color: #fff;
  text-decoration: none;
  font-weight: 700;
  font-size: 1.15rem;
  letter-spacing: -0.01em;
  display: inline-flex;
  align-items: center;
  gap: .55rem;
}
.site-logo-img {
  width: 36px;
  height: 36px;
  border-radius: 8px;
  background: #fff;
  object-fit: contain;
}
.hero-logo {
  display: block;
  width: 96px;
  height: 96px;
  border-radius: 18px;
  margin: 0 auto 1rem;
  background: #fff;
  object-fit: contain;
  box-shadow: 0 2px 12px rgba(0,0,0,.08);
}
.site-logo:hover, .site-logo:focus { color: var(--brand-light); }
nav[aria-label="Main"] ul {
  list-style: none;
  display: flex;
  gap: 1.25rem;
  flex-wrap: wrap;
}
nav[aria-label="Main"] a {
  color: rgba(255,255,255,.88);
  text-decoration: none;
  font-size: .93rem;
}
nav[aria-label="Main"] a:hover,
nav[aria-label="Main"] a[aria-current="page"] {
  color: #fff;
  text-decoration: underline;
}

/* ---- Main content ---- */
main {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 2rem 1.25rem 4rem;
}

/* ---- Hero ---- */
.hero {
  background: var(--brand-light);
  border-bottom: 1px solid #c5e0ce;
  padding: 2.5rem 1.25rem;
  text-align: center;
}
.hero-inner { max-width: var(--max-w); margin: 0 auto; }
.hero h1 { font-size: clamp(1.75rem, 4vw, 2.6rem); color: var(--brand-dark); line-height: 1.2; }
.hero .hero-tagline { margin-top: .5rem; font-size: 1.15rem; color: var(--brand); max-width: 640px; margin-left: auto; margin-right: auto; }
.hero p { margin-top: .75rem; font-size: 1.1rem; color: var(--text-muted); max-width: 640px; margin-left: auto; margin-right: auto; }
.hero-cta {
  display: inline-block;
  margin-top: 1.5rem;
  background: var(--brand);
  color: #fff;
  padding: .7rem 1.75rem;
  border-radius: var(--radius);
  text-decoration: none;
  font-weight: 600;
}
.hero-cta:hover { background: var(--brand-dark); color: #fff; }

/* ---- Sections ---- */
section + section { margin-top: 2.5rem; }
h2 { font-size: 1.45rem; color: var(--brand-dark); margin-bottom: .75rem; }
h3 { font-size: 1.1rem; color: var(--text); margin: 1.25rem 0 .5rem; }
p + p { margin-top: .75rem; }
ul, ol { padding-left: 1.4rem; }
li { margin-top: .4rem; }
strong { font-weight: 600; }

/* ---- Disclosure banner ---- */
.disclosure-banner {
  background: #fffbea;
  border: 1px solid #e5c84a;
  border-radius: var(--radius);
  padding: .75rem 1rem;
  font-size: .88rem;
  color: #5a4a00;
  margin-bottom: 2rem;
}
.disclosure-banner a { color: #3a2e00; }

/* ---- Contact form ---- */
.contact-form { max-width: 560px; }
.form-group { margin-bottom: 1rem; }
label { display: block; font-size: .93rem; font-weight: 500; margin-bottom: .3rem; }
input, textarea, select {
  width: 100%;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: .55rem .8rem;
  font-size: 1rem;
  font-family: inherit;
  color: var(--text);
  background: #fff;
}
input:focus, textarea:focus { outline: 3px solid var(--brand); outline-offset: 0; border-color: var(--brand); }
textarea { min-height: 140px; resize: vertical; }
.btn-submit {
  background: var(--brand);
  color: #fff;
  border: none;
  padding: .65rem 1.75rem;
  border-radius: var(--radius);
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
}
.btn-submit:hover { background: var(--brand-dark); }
.btn-submit:focus-visible { outline: 3px solid var(--brand-dark); outline-offset: 2px; }

/* ---- Consent banner ---- */
#consent-banner {
  position: fixed; bottom: 0; left: 0; right: 0;
  background: #1a1a1a; color: #f0f0f0;
  padding: 1rem 1.25rem;
  z-index: 1000;
  box-shadow: 0 -2px 12px rgba(0,0,0,.3);
  display: none;
}
#consent-banner.visible { display: block; }
.consent-inner {
  max-width: var(--max-w); margin: 0 auto;
  display: flex; flex-wrap: wrap; gap: .75rem;
  align-items: center; justify-content: space-between;
}
.consent-inner p { flex: 1 1 300px; font-size: .88rem; }
.consent-inner a { color: #90d9aa; }
.consent-actions { display: flex; gap: .6rem; flex-wrap: wrap; }
.consent-btn {
  border: none; padding: .5rem 1.1rem; border-radius: var(--radius);
  font-size: .88rem; cursor: pointer; font-weight: 600;
}
.consent-btn-accept { background: var(--brand); color: #fff; }
.consent-btn-accept:hover { background: #1d7d44; }
.consent-btn-decline { background: #333; color: #ddd; }
.consent-btn-decline:hover { background: #444; }

/* ---- Footer ---- */
footer {
  background: #f4f4f4;
  border-top: 1px solid var(--border);
  padding: 1.5rem 1.25rem;
  font-size: .85rem;
  color: var(--text-muted);
}
.footer-inner {
  max-width: var(--max-w); margin: 0 auto;
  display: flex; flex-wrap: wrap; gap: 1rem;
  justify-content: space-between; align-items: flex-start;
}
.footer-legal p + p { margin-top: .35rem; }
.footer-nav ul {
  list-style: none;
  display: flex; flex-wrap: wrap; gap: .5rem 1.1rem;
}
.footer-nav a { color: var(--text-muted); text-decoration: none; }
.footer-nav a:hover { color: var(--brand); text-decoration: underline; }

/* ---- Policy pages ---- */
.policy-body h2 { margin-top: 2rem; }
.policy-body p, .policy-body li { font-size: .97rem; }
.effective-date { color: var(--text-muted); font-size: .88rem; margin-bottom: 1.5rem; }

/* ---- Review / presell template (product-agnostic) ---- */
.template-infra-note {
  font-size: .88rem;
  color: var(--text-muted);
  background: #f7f7f7;
  border: 1px dashed var(--border);
  border-radius: var(--radius);
  padding: .65rem .9rem;
  margin-bottom: 1.5rem;
}
.review-article { margin-top: .5rem; }
.review-hero { margin-bottom: 1.5rem; }
.slot-label {
  font-size: .75rem;
  text-transform: uppercase;
  letter-spacing: .04em;
  color: var(--text-muted);
  margin-bottom: .35rem;
}
.slot-empty {
  min-height: 2.5rem;
  border: 1px dashed #c8c8c8;
  border-radius: var(--radius);
  background: #fafafa;
  color: #999;
  padding: .75rem 1rem;
  margin-bottom: .75rem;
  font-style: italic;
}
.slot-empty:empty::before {
  content: "(copy slot empty — fill from approved copy pack)";
  color: #aaa;
  font-size: .9rem;
}
h1.slot-empty { min-height: 3rem; font-style: normal; font-size: clamp(1.4rem, 3.5vw, 2rem); }
.review-section { margin-top: 2rem; }
.review-cta-wrap { margin: 1.5rem 0 .5rem; text-align: center; }
.review-cta {
  display: inline-block;
  background: var(--brand);
  color: #fff !important;
  padding: .85rem 1.6rem;
  border-radius: var(--radius);
  text-decoration: none;
  font-weight: 700;
  font-size: 1.05rem;
  line-height: 1.3;
  max-width: 100%;
}
.review-cta:hover { background: var(--brand-dark); color: #fff !important; }
.review-cta:focus-visible { outline: 3px solid var(--brand-dark); outline-offset: 3px; }
.review-cta-secondary { background: var(--brand-dark); }
.cta-destination-note {
  text-align: center;
  font-size: .85rem;
  color: var(--text-muted);
  max-width: 36rem;
  margin: 0 auto 1.5rem;
}
.review-publisher {
  margin-top: 3rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--border);
  font-size: .95rem;
}
.review-publisher ul { padding-left: 1.2rem; }

/* ---- Responsive tweaks ---- */
@media (max-width: 600px) {
  .header-inner { flex-direction: column; align-items: flex-start; padding: .6rem 0; }
  .consent-inner { flex-direction: column; }
  .footer-inner { flex-direction: column; }
  .review-cta { width: 100%; text-align: center; box-sizing: border-box; }
}

/* ---- Review FAQ + index (AFF-52) ---- */
.review-faq { margin: 0; }
.review-faq dt {
  font-weight: 700;
  margin-top: 1rem;
}
.review-faq dd {
  margin: .35rem 0 0 0;
  color: var(--text-muted);
}
.reviews-index-list {
  padding-left: 1.2rem;
  display: grid;
  gap: .85rem;
}
.reviews-index-list li { line-height: 1.55; }
.review-section ol { padding-left: 1.25rem; margin: .75rem 0; }
.review-section blockquote {
  border-left: 4px solid var(--brand);
  margin: 1rem 0;
  padding: .5rem 0 .5rem 1rem;
  background: var(--brand-light);
  border-radius: 0 var(--radius) var(--radius) 0;
}

/* ---- Conversion LP (TSL bridge; separate from /reviews institutional shell) ---- */
.lp-body {
  background: #f6f8f6;
  padding-bottom: 5.5rem; /* room for sticky CTA on mobile */
}
.lp-header {
  background: var(--brand-dark);
  padding: .65rem 1rem;
}
.lp-header-inner {
  max-width: 720px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: .75rem;
  flex-wrap: wrap;
}
.lp-header .site-logo { font-size: 1rem; }
.lp-header .site-logo-img { width: 32px; height: 32px; }
.lp-header-tag {
  color: rgba(255,255,255,.82);
  font-size: .78rem;
  margin: 0;
  letter-spacing: .01em;
}
.lp-main {
  max-width: 720px;
  margin: 0 auto;
  padding: 1rem 1rem 2.5rem;
}
.lp-disclosure {
  margin-bottom: 1rem;
  font-size: .82rem;
  line-height: 1.45;
}
.lp-article { margin: 0; }
.lp-hero {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 1.15rem 1.1rem 1.25rem;
  margin-bottom: 1rem;
}
.lp-kicker {
  font-size: .72rem;
  text-transform: uppercase;
  letter-spacing: .05em;
  color: var(--brand);
  font-weight: 700;
  margin: 0 0 .4rem;
}
.lp-hero h1 {
  font-size: clamp(1.55rem, 5vw, 2.05rem);
  line-height: 1.15;
  color: var(--brand-dark);
  margin: 0 0 .55rem;
}
.lp-subhead {
  margin: 0;
  color: var(--text-muted);
  font-size: 1rem;
  line-height: 1.5;
}
.lp-facts {
  display: grid;
  grid-template-columns: 1fr;
  gap: .65rem;
  margin-bottom: 1rem;
}
@media (min-width: 560px) {
  .lp-facts { grid-template-columns: repeat(3, 1fr); }
}
.lp-fact {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: .85rem .9rem;
  text-align: center;
}
.lp-fact-label {
  font-size: .72rem;
  text-transform: uppercase;
  letter-spacing: .04em;
  color: var(--text-muted);
  margin: 0 0 .25rem;
  font-weight: 600;
}
.lp-fact-value {
  font-size: 1.2rem;
  font-weight: 800;
  color: var(--brand-dark);
  margin: 0;
  line-height: 1.25;
}
.lp-fact-note {
  font-size: .78rem;
  color: var(--text-muted);
  margin: .3rem 0 0;
  line-height: 1.35;
}
.lp-cta-block {
  text-align: center;
  margin: 1.1rem 0 1.35rem;
}
.lp-cta {
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
  padding: 1rem 1.25rem;
  border-radius: 10px;
  font-size: 1.08rem;
  box-shadow: 0 2px 0 rgba(15, 64, 34, .25);
}
.lp-cta-block .cta-destination-note {
  margin-top: .55rem;
  margin-bottom: 0;
}
.lp-section {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 1.1rem 1.1rem 1.2rem;
  margin-bottom: 1rem;
}
.lp-section h2,
.lp-card h2 {
  font-size: 1.15rem;
  margin: 0 0 .65rem;
}
.lp-checklist {
  margin: .75rem 0;
  padding-left: 1.15rem;
}
.lp-checklist li { margin-top: .45rem; }
.lp-split {
  display: grid;
  gap: .75rem;
  margin-bottom: 1rem;
}
@media (min-width: 640px) {
  .lp-split { grid-template-columns: 1fr 1fr; }
}
.lp-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 1rem 1.05rem 1.1rem;
}
.lp-card ul { padding-left: 1.15rem; margin: .4rem 0; }
.lp-card-warn {
  background: #fffdf8;
  border-color: #e8d4a8;
}
.lp-muted {
  color: var(--text-muted);
  font-size: .92rem;
  margin-top: .65rem;
}
.lp-guarantee {
  border-left: 4px solid var(--brand);
}
.lp-faq {
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: .55rem .85rem;
  margin-top: .55rem;
  background: #fafafa;
}
.lp-faq summary {
  cursor: pointer;
  font-weight: 700;
  color: var(--brand-dark);
  list-style-position: outside;
}
.lp-faq summary:focus-visible {
  outline: 3px solid var(--brand);
  outline-offset: 2px;
}
.lp-faq p {
  margin: .55rem 0 .25rem;
  color: var(--text-muted);
  font-size: .95rem;
}
.lp-meta {
  background: transparent;
  border: none;
  padding: .5rem 0 0;
  font-size: .92rem;
  color: var(--text-muted);
}
.lp-meta h2 {
  color: var(--text);
  font-size: 1.05rem;
}
.lp-meta ol { padding-left: 1.2rem; margin: .5rem 0; }
.lp-footer {
  background: #fff;
  border-top: 1px solid var(--border);
  padding: 1.25rem 1rem 2rem;
  font-size: .85rem;
  color: var(--text-muted);
}
.lp-footer-inner {
  max-width: 720px;
  margin: 0 auto;
}
.lp-footer nav {
  display: flex;
  flex-wrap: wrap;
  gap: .5rem 1rem;
  margin: .55rem 0;
}
.lp-footer a { color: var(--text-muted); }
.lp-risk { margin-top: .5rem; font-size: .8rem; }
.lp-sticky-cta {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 900;
  padding: .65rem .85rem calc(.65rem + env(safe-area-inset-bottom, 0px));
  background: rgba(255,255,255,.96);
  border-top: 1px solid var(--border);
  box-shadow: 0 -4px 16px rgba(0,0,0,.08);
  display: none;
}
.lp-sticky-cta .lp-cta {
  display: block;
  text-align: center;
  box-shadow: none;
}
/* Show sticky CTA on small screens only */
@media (max-width: 720px) {
  .lp-sticky-cta { display: block; }
}
/* Lift sticky CTA above consent banner when visible */
body:has(#consent-banner.visible) .lp-sticky-cta {
  bottom: auto;
  /* consent is ~variable height; keep CTA just above by padding-bottom on body */
}
body:has(#consent-banner.visible) {
  padding-bottom: 9.5rem;
}
body:has(#consent-banner.visible) .lp-sticky-cta {
  bottom: var(--consent-approx, 5.5rem);
}
/* Prefer placing sticky above consent via flex stacking: hide sticky while consent open to avoid clutter */
body:has(#consent-banner.visible) .lp-sticky-cta {
  display: none;
}
@media (min-width: 721px) {
  .lp-body { padding-bottom: 0; }
  body:has(#consent-banner.visible) { padding-bottom: 0; }
}

/* ---- Design system v2 (AFF-146): denser product-first presell ---- */
:root {
  --space-1: .35rem;
  --space-2: .65rem;
  --space-3: 1rem;
  --space-4: 1.35rem;
  --space-5: 1.85rem;
  --shadow-sm: 0 1px 2px rgba(15, 64, 34, .06);
  --shadow-md: 0 8px 24px rgba(15, 64, 34, .08);
  --surface: #fff;
  --surface-soft: #f3f7f4;
  --warn-bg: #fffaf0;
  --warn-border: #e8d4a8;
  --radius-lg: 14px;
}

.lp-body {
  background:
    radial-gradient(1200px 420px at 10% -10%, rgba(26, 107, 58, .08), transparent 60%),
    radial-gradient(900px 360px at 100% 0%, rgba(26, 107, 58, .05), transparent 55%),
    #f4f7f5;
}

.lp-hero {
  box-shadow: var(--shadow-sm);
  border-radius: var(--radius-lg);
  padding: 1.35rem 1.2rem 1.4rem;
}

.lp-hero h1 {
  letter-spacing: -0.02em;
}

.lp-fact {
  box-shadow: var(--shadow-sm);
  border-radius: 12px;
  transition: border-color .15s ease, box-shadow .15s ease;
}

.lp-fact:hover {
  border-color: #b9d4c3;
  box-shadow: var(--shadow-md);
}

.lp-section,
.lp-card {
  box-shadow: var(--shadow-sm);
  border-radius: var(--radius-lg);
}

.lp-cta {
  border-radius: 12px;
  letter-spacing: -0.01em;
  box-shadow: 0 3px 0 rgba(15, 64, 34, .28), 0 10px 20px rgba(15, 64, 34, .12);
}

.lp-cta:hover {
  transform: translateY(-1px);
}

/* Ingredient chips */
.lp-ing-grid {
  display: flex;
  flex-wrap: wrap;
  gap: .45rem;
  margin: .85rem 0 .35rem;
  list-style: none;
  padding: 0;
}
.lp-ing-grid li {
  background: var(--surface-soft);
  border: 1px solid #d5e6db;
  color: var(--brand-dark);
  border-radius: 999px;
  padding: .35rem .7rem;
  font-size: .86rem;
  font-weight: 600;
  line-height: 1.3;
}

/* Price pack cards */
.lp-packs {
  display: grid;
  gap: .7rem;
  margin: .9rem 0 .35rem;
}
@media (min-width: 640px) {
  .lp-packs { grid-template-columns: repeat(3, 1fr); }
}
.lp-pack {
  background: var(--surface-soft);
  border: 1px solid #d5e6db;
  border-radius: 12px;
  padding: .9rem .85rem 1rem;
  text-align: center;
}
.lp-pack-featured {
  background: #fff;
  border-color: var(--brand);
  box-shadow: var(--shadow-md);
  position: relative;
}
.lp-pack-badge {
  display: inline-block;
  background: var(--brand);
  color: #fff;
  font-size: .68rem;
  font-weight: 700;
  letter-spacing: .04em;
  text-transform: uppercase;
  border-radius: 999px;
  padding: .2rem .55rem;
  margin-bottom: .35rem;
}
.lp-pack-title {
  margin: 0;
  font-size: .92rem;
  font-weight: 700;
  color: var(--text-muted);
}
.lp-pack-price {
  margin: .25rem 0 0;
  font-size: 1.35rem;
  font-weight: 800;
  color: var(--brand-dark);
  letter-spacing: -0.02em;
}
.lp-pack-note {
  margin: .3rem 0 0;
  font-size: .78rem;
  color: var(--text-muted);
  line-height: 1.35;
}

/* Use / dosage strip */
.lp-use-strip {
  display: grid;
  gap: .65rem;
  margin: .85rem 0 .2rem;
}
@media (min-width: 560px) {
  .lp-use-strip { grid-template-columns: repeat(3, 1fr); }
}
.lp-use-item {
  background: var(--surface-soft);
  border-radius: 10px;
  padding: .75rem .8rem;
  border: 1px solid #e0ebe4;
}
.lp-use-item strong {
  display: block;
  font-size: .78rem;
  text-transform: uppercase;
  letter-spacing: .04em;
  color: var(--brand);
  margin-bottom: .25rem;
}
.lp-use-item p {
  margin: 0;
  font-size: .95rem;
  color: var(--text);
  line-height: 1.4;
}

/* Independent takeaway */
.lp-verdict {
  background: linear-gradient(180deg, #fff 0%, var(--brand-light) 100%);
  border: 1px solid #cfe3d6;
  border-left: 4px solid var(--brand);
}

/* Trust row (non-fabricated: product terms only) */
.lp-trust {
  display: flex;
  flex-wrap: wrap;
  gap: .45rem .7rem;
  margin: .85rem 0 0;
  padding: 0;
  list-style: none;
}
.lp-trust li {
  font-size: .82rem;
  color: var(--text-muted);
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 999px;
  padding: .28rem .65rem;
}

/* Review shell density (shared with MenoRescue-style product pages) */
.review-article .lp-ing-grid,
.review-article .lp-packs,
.review-article .lp-use-strip {
  margin-left: 0;
}
.review-hero h1 {
  letter-spacing: -0.02em;
  line-height: 1.15;
}
.review-section h2 {
  letter-spacing: -0.015em;
}
