/* ============================================================
   Focus Genius Lab — shared stylesheet
   Design system: cream/warm-yellow, Lora + Open Sans, mobile-first
   ============================================================ */

:root {
  --cream: #fffeec;
  --yellow: #ffebc3;
  --white: #ffffff;
  --gray-section: #f1f5f9;
  --navy: #0f172a;
  --purple: #8d5cc7;
  --blue: #5590d8;
  --teal: #26afbd;
  --headline: #0f172a;
  --body: #1e293b;
  --secondary: #475569;
  --muted: #64748b;
  --link: #5590d8;
  --card-border: #e7e4b1;
  --divider: #e2e8f0;
}

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

html { scroll-behavior: smooth; }

body {
  font-family: 'Lora', Georgia, serif;
  font-size: 1.0625rem; /* 17px — comfortable for older readers */
  line-height: 1.7;
  color: var(--body);
  background: var(--cream);
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; height: auto; display: block; }

h1, h2, h3, h4 {
  font-family: 'Lora', Georgia, serif;
  font-weight: 700;
  color: var(--headline);
  line-height: 1.3;
}

h1 { font-size: 1.85rem; }
h2 { font-size: 1.5rem; margin-bottom: 0.75em; }
h3 { font-size: 1.15rem; margin-bottom: 0.4em; }

p { margin-bottom: 1em; color: var(--body); }

a { color: var(--link); }

ul, ol { margin: 0 0 1em 1.4em; }
li { margin-bottom: 0.5em; }

.container {
  width: 100%;
  max-width: 800px;
  margin: 0 auto;
  padding: 0 20px;
}

section { padding: 44px 0; }

.section-white { background: var(--white); }
.section-gray  { background: var(--gray-section); }
.section-cream { background: var(--cream); }
.section-navy  { background: var(--navy); }

.text-center { text-align: center; }
.small-note {
  font-family: 'Open Sans', Arial, sans-serif;
  font-size: 0.82rem;
  color: var(--muted);
}

/* ---------- Header ---------- */

.site-header {
  background: var(--navy);
  border-bottom: 1px solid var(--divider);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  padding-top: 12px;
  padding-bottom: 12px;
}

.logo-link {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
}

.logo-link img { max-height: 46px; width: auto; border-radius: 10px; }

.logo-text {
  display: none;
  font-family: 'Lora', Georgia, serif;
  font-weight: 700;
  font-size: 1.2rem;
  color: var(--white);
}

.logo-fallback .logo-text { display: inline; }

.nav-toggle { display: none; }

.nav-toggle-label {
  display: none;
  color: var(--yellow);
  font-family: 'Lora', Georgia, serif;
  font-weight: 700;
  font-size: 1rem;
  cursor: pointer;
  padding: 8px 12px;
  border: 1px solid var(--yellow);
  border-radius: 8px;
  user-select: none;
}

.site-nav {
  display: flex;
  gap: 22px;
  align-items: center;
}

.site-nav a {
  color: var(--white);
  text-decoration: none;
  font-family: 'Lora', Georgia, serif;
  font-size: 0.95rem;
}

.site-nav a:hover { color: var(--yellow); text-decoration: underline; }

@media (max-width: 760px) {
  .nav-toggle-label { display: inline-block; }
  .site-nav {
    display: none;
    width: 100%;
    flex-direction: column;
    align-items: flex-start;
    gap: 0;
    padding: 10px 0 6px;
    border-top: 1px solid var(--secondary);
    margin-top: 12px;
  }
  .site-nav a {
    display: block;
    width: 100%;
    padding: 12px 4px;
    font-size: 1.05rem;
    border-bottom: 1px solid rgba(226, 232, 240, 0.15);
  }
  .nav-toggle:checked ~ .site-nav { display: flex; }
}

/* ---------- Hero ---------- */

.hero {
  background: var(--navy);
  color: var(--white);
  text-align: center;
  padding: 52px 0;
}

.hero h1 { color: var(--white); margin-bottom: 0.6em; }

.hero p {
  color: var(--divider);
  font-size: 1.1rem;
  max-width: 640px;
  margin: 0 auto 1em;
}

.hero img {
  margin: 24px auto 0;
  max-width: 340px;
  border-radius: 12px;
}

/* ---------- Top banner (review pages) ---------- */

.top-banner {
  background: var(--purple);
  color: var(--white);
  text-align: center;
  font-family: 'Open Sans', Arial, sans-serif;
  font-size: 0.85rem;
  font-weight: 600;
  padding: 8px 14px;
}

.disclosure-line {
  background: var(--gray-section);
  text-align: center;
  font-family: 'Open Sans', Arial, sans-serif;
  font-size: 0.78rem;
  color: var(--muted);
  padding: 8px 14px;
  border-bottom: 1px solid var(--divider);
}

/* ---------- Buttons & CTAs ---------- */

.btn {
  display: inline-block;
  background: var(--yellow);
  color: #1e293b;
  font-family: 'Lora', Georgia, serif;
  font-weight: 700;
  font-size: 1.02rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  text-decoration: none;
  text-align: center;
  border: 1px solid var(--card-border);
  border-radius: 8px;
  min-height: 48px;
  padding: 14px 30px;
  cursor: pointer;
  transition: box-shadow 0.15s ease, transform 0.15s ease;
}

.btn:hover {
  box-shadow: 0 4px 14px rgba(15, 23, 42, 0.18);
  transform: translateY(-1px);
}

.btn-large { font-size: 1.12rem; padding: 17px 36px; }

.cta-row {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0;
  flex-wrap: wrap;
  margin: 18px 0 10px;
}

.guarantee-circle {
  width: 86px;
  height: 86px;
  border-radius: 50%;
  background: var(--navy);
  color: var(--yellow);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  font-family: 'Lora', Georgia, serif;
  font-weight: 700;
  font-size: 0.62rem;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  line-height: 1.25;
  margin-left: -12px;
  border: 2px solid var(--yellow);
  flex-shrink: 0;
}

.guarantee-circle strong { font-size: 1.05rem; display: block; }

.trust-line {
  text-align: center;
  font-family: 'Open Sans', Arial, sans-serif;
  font-size: 0.85rem;
  color: var(--secondary);
  margin-top: 10px;
}

/* ---------- Product cards ---------- */

.cards-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
  margin-top: 24px;
}

@media (min-width: 700px) {
  .cards-grid { grid-template-columns: 1fr 1fr; }
}

.product-card {
  background: var(--white);
  border: 1px solid var(--card-border);
  border-radius: 12px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  box-shadow: 0 2px 10px rgba(15, 23, 42, 0.06);
}

.product-card .card-strip {
  background: var(--yellow);
  padding: 18px;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 190px;
}

.product-card .card-strip img { max-height: 200px; width: auto; mix-blend-mode: multiply; }

.product-card .card-body {
  padding: 20px 22px 24px;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.product-card h3 { font-size: 1.3rem; }

.product-card p { color: var(--secondary); font-size: 0.98rem; flex-grow: 1; }

.product-card .btn { margin-top: 8px; }

.card-official-link {
  display: block;
  text-align: center;
  font-family: 'Open Sans', Arial, sans-serif;
  font-size: 0.85rem;
  margin-top: 12px;
}

.stars {
  color: var(--teal);
  font-size: 1.2rem;
  letter-spacing: 2px;
  margin: 6px 0 10px;
}

.stars .rating-num {
  font-family: 'Lora', Georgia, serif;
  font-weight: 700;
  color: var(--headline);
  font-size: 1rem;
  letter-spacing: 0;
  margin-left: 6px;
}

/* ---------- Verdict box ---------- */

.verdict-box {
  background: var(--cream);
  border: 2px solid var(--card-border);
  border-radius: 12px;
  padding: 26px 24px;
  margin: 26px 0;
}

.verdict-box .stars { font-size: 1.5rem; text-align: center; }
.verdict-box img { mix-blend-mode: multiply; }

.fact-list {
  width: 100%;
  border-collapse: collapse;
  margin: 18px 0;
}

.fact-list th, .fact-list td {
  text-align: left;
  padding: 10px 8px;
  border-bottom: 1px solid var(--divider);
  vertical-align: top;
}

.fact-list th {
  width: 34%;
  color: var(--headline);
  font-family: 'Lora', Georgia, serif;
  white-space: nowrap;
}

.fact-list td { color: var(--secondary); }

/* ---------- Comparison table ---------- */

.table-scroll { overflow-x: auto; }

.compare-table {
  width: 100%;
  min-width: 540px;
  border-collapse: collapse;
  margin: 18px 0;
  font-size: 0.95rem;
}

.compare-table th, .compare-table td {
  text-align: left;
  padding: 12px 10px;
  border-bottom: 1px solid var(--divider);
  vertical-align: top;
}

.compare-table thead th {
  background: var(--navy);
  color: var(--white);
  font-family: 'Lora', Georgia, serif;
}

.compare-table thead th:first-child { border-radius: 8px 0 0 0; }
.compare-table thead th:last-child  { border-radius: 0 8px 0 0; }

.compare-table tbody th {
  width: 26%;
  color: var(--headline);
  font-family: 'Lora', Georgia, serif;
}

.compare-table td { color: var(--secondary); }

.compare-table tbody tr:nth-child(even) th,
.compare-table tbody tr:nth-child(even) td { background: var(--gray-section); }

/* ---------- Badges ---------- */

.badges-row {
  display: flex;
  justify-content: center;
  gap: 12px;
  flex-wrap: wrap;
  padding: 8px 0;
}

.badge {
  display: inline-block;
  color: var(--white);
  font-family: 'Lora', Georgia, serif;
  font-weight: 700;
  font-size: 0.85rem;
  padding: 8px 18px;
  border-radius: 999px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.badge-purple { background: var(--purple); }
.badge-blue   { background: var(--blue); }
.badge-teal   { background: var(--teal); }

/* ---------- Price anchoring ---------- */

.price-anchor { text-align: center; padding: 10px 0; }

.price-anchor .old-prices {
  font-size: 1.3rem;
  color: var(--muted);
  margin-bottom: 4px;
}

.price-anchor .old-prices s { margin: 0 8px; }

.price-anchor .now-price {
  font-family: 'Lora', Georgia, serif;
  font-weight: 700;
  font-size: 3rem;
  color: var(--headline);
}

.price-anchor .arrow {
  color: var(--teal);
  font-size: 2.2rem;
  vertical-align: middle;
  margin: 0 12px;
}

.price-anchor .price-note {
  font-family: 'Open Sans', Arial, sans-serif;
  font-size: 0.85rem;
  color: var(--muted);
}

/* ---------- Checklists ---------- */

.check-list, .cross-list { list-style: none; margin-left: 0; }

.check-list li, .cross-list li {
  position: relative;
  padding-left: 34px;
  margin-bottom: 12px;
}

.check-list li::before {
  content: "✓";
  position: absolute;
  left: 0;
  top: 0;
  color: var(--teal);
  font-weight: 700;
  font-size: 1.2rem;
}

.cross-list li::before {
  content: "✗";
  position: absolute;
  left: 0;
  top: 0;
  color: var(--muted);
  font-weight: 700;
  font-size: 1.1rem;
}

.pros-cons-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
}

@media (min-width: 700px) {
  .pros-cons-grid { grid-template-columns: 1fr 1fr; }
}

.pros-cons-grid > div {
  background: var(--white);
  border: 1px solid var(--card-border);
  border-radius: 12px;
  padding: 22px;
}

/* ---------- Callout box ---------- */

.callout-box {
  background: var(--cream);
  border: 2px solid var(--card-border);
  border-radius: 12px;
  padding: 22px 24px;
  margin: 18px 0;
}

.callout-box p:last-child { margin-bottom: 0; }

/* ---------- Testimonials ---------- */

.testimonial-card {
  background: var(--white);
  border: 1px solid var(--card-border);
  border-radius: 12px;
  padding: 22px;
  margin-bottom: 18px;
}

.testimonial-card blockquote {
  background: var(--yellow);
  border-radius: 8px;
  padding: 16px 18px;
  font-style: italic;
  margin-bottom: 12px;
}

.testimonial-card blockquote p { margin-bottom: 0; }

.testimonial-author {
  display: flex;
  align-items: center;
  gap: 12px;
}

.testimonial-author img {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid var(--card-border);
}

.testimonial-author .author-name {
  font-weight: 700;
  color: var(--headline);
}

.testimonial-author .author-note {
  font-family: 'Open Sans', Arial, sans-serif;
  font-size: 0.8rem;
  color: var(--muted);
  display: block;
}

/* ---------- Numbered steps ---------- */

.steps-list { list-style: none; margin-left: 0; counter-reset: step; }

.steps-list li {
  position: relative;
  padding-left: 52px;
  margin-bottom: 18px;
  counter-increment: step;
}

.steps-list li::before {
  content: counter(step);
  position: absolute;
  left: 0;
  top: 0;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--teal);
  color: var(--white);
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* ---------- FAQ ---------- */

.faq-item {
  background: var(--white);
  border: 1px solid var(--card-border);
  border-radius: 12px;
  padding: 20px 22px;
  margin-bottom: 14px;
}

.faq-item h3 { font-size: 1.08rem; }
.faq-item p:last-child { margin-bottom: 0; }

/* ---------- Opt-in form ---------- */

.optin-box {
  background: var(--white);
  border: 2px solid var(--card-border);
  border-radius: 12px;
  padding: 28px 24px;
  text-align: center;
}

.optin-box input[type="email"],
.optin-box input[type="text"] {
  width: 100%;
  max-width: 420px;
  font-family: 'Lora', Georgia, serif;
  font-size: 1rem;
  padding: 13px 16px;
  border: 1px solid var(--divider);
  border-radius: 8px;
  margin-bottom: 12px;
}

/* ---------- Science / reference images ---------- */

.ref-logos {
  margin: 18px auto;
  max-width: 560px;
}

.guarantee-seal {
  max-width: 160px;
  margin: 16px auto;
}

.inline-figure {
  margin: 20px auto;
  max-width: 480px;
  text-align: center;
}

.inline-figure img { mix-blend-mode: multiply; }

.inline-figure figcaption {
  font-family: 'Open Sans', Arial, sans-serif;
  font-size: 0.8rem;
  color: var(--muted);
  margin-top: 6px;
}

/* ---------- Footer ---------- */

.site-footer {
  background: var(--gray-section);
  border-top: 1px solid var(--divider);
  padding: 36px 0 28px;
  font-family: 'Open Sans', Arial, sans-serif;
  font-size: 0.82rem;
  color: var(--muted);
}

.site-footer img { max-height: 40px; width: auto; margin: 0 auto 8px; }

.footer-tagline {
  text-align: center;
  font-family: 'Lora', Georgia, serif;
  font-style: italic;
  color: var(--secondary);
  margin-bottom: 18px;
}

.footer-links {
  text-align: center;
  margin-bottom: 18px;
}

.footer-links a {
  color: var(--link);
  margin: 0 10px;
  text-decoration: none;
}

.footer-links a:hover { text-decoration: underline; }

.footer-disclaimer {
  max-width: 720px;
  margin: 0 auto 12px;
  text-align: center;
  line-height: 1.6;
}

.footer-copyright { text-align: center; margin-top: 14px; }

/* ---------- Breadcrumb ---------- */

.breadcrumb {
  font-family: 'Open Sans', Arial, sans-serif;
  font-size: 14px;
  color: var(--muted);
  padding-top: 14px;
  margin-bottom: 0;
}

.breadcrumb a { color: var(--link); text-decoration: none; }
.breadcrumb a:hover { text-decoration: underline; }
.breadcrumb .sep { color: var(--muted); margin: 0 8px; }

/* ---------- Last updated line ---------- */

.last-updated {
  font-family: 'Open Sans', Arial, sans-serif;
  font-size: 14px;
  color: var(--muted);
  text-align: center;
  margin-bottom: 12px;
}

/* ---------- Utility ---------- */

.mt-0 { margin-top: 0; }
.mb-0 { margin-bottom: 0; }
.center-block { margin-left: auto; margin-right: auto; }
