/* ==========================================================================
   Joint Genesis Review — Stylesheet
   Mobile-first. Breakpoints: 480px, 768px only.
   ========================================================================== */

:root {
  --ink: #1F2933;
  --paper: #FBFAF7;
  --deep: #14532D;
  --accent: #B45309;
  --accent-dark: #8A3F07;
  --line: #D8D3C8;
  --soft: #EEF2EC;
  --font-display: "Source Serif 4", Georgia, serif;
  --font-body: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

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

html { scroll-behavior: smooth; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; transition-duration: 0.01ms !important; }
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 19px;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}

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

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

.wrap {
  max-width: 720px;
  margin: 0 auto;
  padding: 0 20px;
}

/* ---------- Top disclosure bar ---------- */
.top-disclosure {
  background: var(--soft);
  border-bottom: 1px solid var(--line);
  font-size: 15px;
  padding: 10px 0;
  text-align: center;
}
.top-disclosure a { color: var(--deep); text-decoration: underline; }

/* ---------- Header ---------- */
header.site-header {
  padding: 24px 0;
  border-bottom: 1px solid var(--line);
}
header.site-header .wrap {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
}
.site-logo {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 22px;
  color: var(--deep);
  text-decoration: none;
}
nav.site-nav ul {
  list-style: none;
  display: flex;
  gap: 24px;
  margin: 0;
  padding: 0;
}
nav.site-nav a {
  color: var(--ink);
  text-decoration: none;
  font-weight: 600;
  font-size: 16px;
}
nav.site-nav a:hover,
nav.site-nav a:focus-visible { color: var(--deep); text-decoration: underline; }

@media (max-width: 480px) {
  header.site-header .wrap { flex-direction: column; align-items: flex-start; }
  nav.site-nav ul { flex-direction: column; gap: 8px; }
}

/* ---------- Main content ---------- */
main { display: block; }

section { padding: 44px 0; }
@media (min-width: 768px) {
  section { padding: 64px 0; }
}

section + section { border-top: 1px solid var(--line); }

h1, h2, h3 {
  font-family: var(--font-display);
  color: var(--deep);
  line-height: 1.25;
  font-weight: 600;
}

h1 {
  font-size: clamp(30px, 5vw, 44px);
  margin: 0 0 16px;
}

h2 { font-size: clamp(24px, 4vw, 30px); margin: 0 0 16px; }

.subheadline {
  font-family: var(--font-display);
  font-size: 22px;
  line-height: 1.55;
  color: var(--ink);
  margin: 0 0 16px;
}

.byline {
  font-size: 15px;
  color: #5B6672;
  margin: 0 0 8px;
}

p { margin: 0 0 20px; text-align: left; }

/* ---------- Fluid-line divider ---------- */
.fluid-line {
  height: 3px;
  width: 100%;
  border: 0;
  margin: 24px 0 0;
  background: linear-gradient(to right, var(--deep), var(--accent));
}
.fluid-line--footer { margin: 0 0 40px; }

/* ---------- Hero ---------- */
.hero { padding-top: 40px; }
@media (min-width: 768px) { .hero { padding-top: 56px; } }

/* ---------- CTA buttons ---------- */
.cta-wrap {
  text-align: center;
  margin: 32px 0;
}
.cta-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  min-height: 56px;
  padding: 14px 28px;
  background: var(--accent);
  color: #fff;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 20px;
  text-decoration: none;
  border-radius: 6px;
  transition: background-color 0.15s ease;
}
@media (min-width: 480px) {
  .cta-button { width: auto; }
}
.cta-button:hover { background: var(--accent-dark); }
.cta-button:focus-visible {
  outline: 3px solid var(--deep);
  outline-offset: 3px;
}
.cta-microcopy {
  font-size: 15px;
  color: #5B6672;
  margin: 12px 0 0;
}

/* ---------- Review card ---------- */
.review-card {
  background: var(--soft);
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 28px;
}
.review-card h2 { margin-top: 0; }
.review-card h3 {
  font-family: var(--font-body);
  font-size: 18px;
  color: var(--ink);
  margin: 24px 0 8px;
}
.review-card h3:first-of-type { margin-top: 0; }
.review-card ul { padding-left: 22px; margin: 0 0 20px; }
.review-card li { margin-bottom: 10px; }
.review-card .take {
  font-style: italic;
  border-top: 1px solid var(--line);
  padding-top: 16px;
  margin-top: 8px;
}

/* ---------- Benefits list ---------- */
.benefits-list {
  list-style: none;
  padding: 0;
  margin: 0 0 20px;
}
.benefits-list li {
  position: relative;
  padding-left: 34px;
  margin-bottom: 16px;
}
.benefits-list li::before {
  content: "\2713";
  position: absolute;
  left: 0;
  top: 0;
  color: var(--deep);
  font-weight: 700;
  font-size: 20px;
}
.disclaimer-note {
  font-size: 15px;
  font-style: italic;
  color: #5B6672;
}

/* ---------- FAQ ---------- */
.faq-item {
  background: var(--soft);
  border: 1px solid var(--line);
  border-radius: 8px;
  margin-bottom: 12px;
  padding: 4px 20px;
}
.faq-item summary {
  cursor: pointer;
  font-weight: 600;
  font-size: 18px;
  padding: 16px 0;
  min-height: 48px;
  display: flex;
  align-items: center;
  color: var(--deep);
}
.faq-item summary::-webkit-details-marker { color: var(--accent); }
.faq-item p { padding-bottom: 16px; margin: 0; }

/* ---------- Footer ---------- */
footer.site-footer {
  background: var(--deep);
  color: #F3F1EA;
  padding: 48px 0 32px;
}
footer.site-footer .fluid-line { background: linear-gradient(to right, var(--accent), var(--deep)); }
footer.site-footer p { font-size: 15px; line-height: 1.6; color: #F3F1EA; }
footer.site-footer strong { color: #fff; }
footer.site-footer a { color: #F3F1EA; text-decoration: underline; }
.footer-links ul {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 8px 16px;
  padding: 0;
  margin: 24px 0 12px;
  border-top: 1px solid rgba(243, 241, 234, 0.25);
  padding-top: 24px;
}
.footer-copy { font-size: 14px; color: rgba(243, 241, 234, 0.75); margin: 0; }

/* ---------- Static-page content (privacy/contact/disclosure/terms) ---------- */
.page-content h2 { margin-top: 40px; }
.page-content h2:first-child { margin-top: 0; }
.page-content ul { padding-left: 22px; }

/* ---------- Utility ---------- */
.visually-hidden {
  position: absolute;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden;
  clip: rect(0,0,0,0);
  white-space: nowrap;
  border: 0;
}
