/* ============================================================
   VibePLR sales pages — styles.css
   Shared by index.html (front end) and oto.html (one-time offer)
   Warm, friendly, no libraries. Edit colours in :root below.
   ============================================================ */

:root {
  --cream: #FFF9F1;
  --ink: #33302B;
  --ink-soft: #5A554C;
  --green: #2F5D50;
  --green-dark: #244A40;
  --terra: #D96F4E;
  --terra-dark: #C05A3B;
  --sage: #DCE8DF;
  --peach: #F7E3D3;
  --card: #FFFFFF;
  --line: #EADFD2;
  --radius: 16px;
  --shadow: 0 10px 30px rgba(51, 48, 43, 0.10);
  --shadow-small: 0 4px 14px rgba(51, 48, 43, 0.08);
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--cream);
  color: var(--ink);
  font-family: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
  font-size: 17px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

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

h1, h2, h3 {
  font-family: "Fraunces", Georgia, serif;
  font-weight: 600;
  line-height: 1.2;
  color: var(--ink);
  margin: 0 0 0.5em;
}

h2 { font-size: 1.9rem; }
h3 { font-size: 1.3rem; }
p { margin: 0 0 1em; }
a { color: var(--green); }

/* ---------- Layout ---------- */
.wrap {
  max-width: 1060px;
  margin: 0 auto;
  padding: 0 20px;
}

section { padding: 56px 0; }
section.tint-sage { background: var(--sage); }
section.tint-peach { background: var(--peach); }
section.tint-white { background: #fff; }

.section-head { max-width: 720px; margin-bottom: 28px; }
.section-head p { color: var(--ink-soft); }

/* ---------- Top bar ---------- */
.topbar {
  background: var(--green);
  color: #fff;
  padding: 12px 0;
}
.topbar .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}
.wordmark {
  font-family: "Fraunces", Georgia, serif;
  font-size: 1.45rem;
  font-weight: 700;
  color: #fff;
  text-decoration: none;
  letter-spacing: 0.2px;
}
.wordmark span { color: #F2B48F; }
.topbar-note { font-size: 0.9rem; opacity: 0.92; }

/* ---------- OTO banner ---------- */
.oto-banner {
  background: var(--terra);
  color: #fff;
  text-align: center;
  padding: 14px 20px;
  font-weight: 600;
  font-size: 1.02rem;
}
.oto-banner small { display: block; font-weight: 400; opacity: 0.95; }

/* ---------- Hero ---------- */
.hero { padding: 48px 0 60px; }
.hero-grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 40px;
  align-items: start;
}
.eyebrow {
  display: inline-block;
  background: var(--peach);
  color: var(--terra-dark);
  font-weight: 700;
  font-size: 0.82rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 6px 14px;
  border-radius: 999px;
  margin-bottom: 18px;
}
.hero h1 { font-size: 2.55rem; }
.hero h1 .accent { color: var(--green); }
.hero .lede { font-size: 1.12rem; color: var(--ink-soft); }
.hero-img {
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  width: 100%;
  height: auto;
}

/* ---------- Buy box ---------- */
.buy-box {
  background: var(--card);
  border: 2px solid var(--sage);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 26px;
  margin-top: 26px;
}
.buy-box h3 { margin-bottom: 8px; }
.buy-box .price-line {
  font-family: "Fraunces", Georgia, serif;
  font-size: 1.6rem;
  color: var(--green);
  font-weight: 700;
  margin-bottom: 6px;
}
.buy-box .dimesale-note { font-size: 0.95rem; color: var(--ink-soft); }
.buy-box ul { margin: 12px 0 18px; padding-left: 20px; }
.buy-box ul li { margin-bottom: 6px; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-block;
  text-align: center;
  text-decoration: none;
  font-weight: 700;
  border-radius: 999px;
  padding: 15px 32px;
  font-size: 1.05rem;
  transition: transform 0.15s ease, background 0.15s ease, box-shadow 0.15s ease;
  cursor: pointer;
  border: none;
}
.btn-buy {
  background: var(--terra);
  color: #fff;
  box-shadow: 0 6px 18px rgba(217, 111, 78, 0.35);
  width: 100%;
}
.btn-buy:hover { background: var(--terra-dark); transform: translateY(-2px); }
.btn-green { background: var(--green); color: #fff; box-shadow: 0 6px 18px rgba(47, 93, 80, 0.3); }
.btn-green:hover { background: var(--green-dark); transform: translateY(-2px); }
.btn-outline {
  background: #fff;
  color: var(--green);
  border: 2px solid var(--green);
}
.btn-outline:hover { background: var(--sage); }
.btn-yes {
  font-size: 1.25rem;
  padding: 20px 40px;
  width: 100%;
}
.secure-note { text-align: center; font-size: 0.88rem; color: var(--ink-soft); margin-top: 12px; }

/* ---------- Benefit bullets ---------- */
.benefits {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
  list-style: none;
  margin: 0;
  padding: 0;
}
.benefits li {
  background: #fff;
  border-radius: var(--radius);
  box-shadow: var(--shadow-small);
  padding: 20px 22px 20px 52px;
  position: relative;
}
.benefits li::before {
  content: "✓";
  position: absolute;
  left: 20px;
  top: 20px;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: var(--green);
  color: #fff;
  font-size: 0.8rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
}
.benefits li strong { display: block; margin-bottom: 4px; }
.benefits li span { color: var(--ink-soft); font-size: 0.97rem; }

/* ---------- Accordions (contents + FAQ) ---------- */
.accordion-toggle {
  width: 100%;
  background: var(--green);
  color: #fff;
  border: none;
  border-radius: 999px;
  padding: 15px 28px;
  font-family: inherit;
  font-size: 1.02rem;
  font-weight: 700;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  transition: background 0.15s ease;
}
.accordion-toggle:hover { background: var(--green-dark); }
.accordion-toggle .chev { transition: transform 0.25s ease; font-size: 0.9rem; }
.accordion-toggle[aria-expanded="true"] .chev { transform: rotate(180deg); }

.accordion-panel {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s ease;
}
.accordion-panel.open { /* max-height set by JS to scrollHeight */ }

.contents-list {
  list-style: none;
  margin: 22px 0 0;
  padding: 0;
  background: #fff;
  border-radius: var(--radius);
  box-shadow: var(--shadow-small);
  overflow: hidden;
}
.contents-list li {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 16px;
  padding: 13px 22px;
  border-bottom: 1px solid var(--line);
}
.contents-list li:last-child { border-bottom: none; }
.contents-list .num {
  color: var(--terra-dark);
  font-weight: 700;
  margin-right: 8px;
  white-space: nowrap;
}
.contents-list .title { flex: 1; }
.contents-list .words { color: var(--ink-soft); font-size: 0.9rem; white-space: nowrap; }
.contents-total {
  margin-top: 16px;
  font-weight: 600;
  background: var(--peach);
  border-radius: 12px;
  padding: 14px 20px;
}

.sample-row { margin-top: 22px; display: flex; align-items: center; gap: 16px; flex-wrap: wrap; }
.sample-row p { margin: 0; color: var(--ink-soft); font-size: 0.97rem; }

/* FAQ items */
.faq-item {
  background: #fff;
  border-radius: 14px;
  box-shadow: var(--shadow-small);
  margin-bottom: 12px;
  overflow: hidden;
}
.faq-q {
  width: 100%;
  background: none;
  border: none;
  font-family: inherit;
  font-size: 1.02rem;
  font-weight: 600;
  color: var(--ink);
  text-align: left;
  padding: 18px 22px;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
}
.faq-q .chev { color: var(--green); transition: transform 0.25s ease; }
.faq-q[aria-expanded="true"] .chev { transform: rotate(180deg); }
.faq-a { max-height: 0; overflow: hidden; transition: max-height 0.3s ease; }
.faq-a-inner { padding: 0 22px 18px; color: var(--ink-soft); }

/* ---------- Cards (bumps, heads-up, notes) ---------- */
.card {
  background: #fff;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  overflow: hidden;
}
.card-grid {
  display: grid;
  grid-template-columns: 340px 1fr;
  gap: 0;
}
.card-grid img { width: 100%; height: 100%; object-fit: cover; }
.card-body { padding: 28px 30px; }
.price-tag {
  display: inline-block;
  background: var(--terra);
  color: #fff;
  font-weight: 700;
  border-radius: 999px;
  padding: 4px 16px;
  font-size: 0.95rem;
  margin-bottom: 12px;
}
.tick-note {
  background: var(--sage);
  border-radius: 12px;
  padding: 12px 16px;
  font-size: 0.95rem;
  margin-top: 14px;
}

.heads-up-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}
.mini-card {
  background: #fff;
  border-radius: var(--radius);
  box-shadow: var(--shadow-small);
  padding: 26px;
}
.mini-card img { border-radius: 12px; margin-bottom: 16px; width: 100%; height: auto; }

/* ---------- Licence / quality ---------- */
.licence-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}
.licence-box {
  border-radius: var(--radius);
  padding: 26px;
}
.licence-box.can { background: #fff; box-shadow: var(--shadow-small); }
.licence-box.cant { background: var(--peach); }
.licence-box ul { margin: 0; padding-left: 20px; }
.licence-box li { margin-bottom: 8px; }

.note-card {
  background: #fff;
  border-left: 6px solid var(--terra);
  border-radius: var(--radius);
  box-shadow: var(--shadow-small);
  padding: 26px 30px;
}

/* ---------- Final CTA ---------- */
.final-cta { text-align: center; }
.final-cta .buy-box { max-width: 560px; margin: 26px auto 0; text-align: left; }

/* ---------- OTO decision area ---------- */
.decision {
  background: #fff;
  border: 2px solid var(--sage);
  border-radius: 18px;
  box-shadow: var(--shadow);
  padding: 34px;
  text-align: center;
  max-width: 640px;
  margin: 0 auto;
}
.no-thanks {
  display: inline-block;
  margin-top: 20px;
  color: var(--ink-soft);
  font-size: 0.98rem;
  text-decoration: underline;
}
.no-thanks:hover { color: var(--ink); }

/* ---------- Footer ---------- */
footer {
  background: var(--green);
  color: #EAF2EC;
  padding: 36px 0;
  font-size: 0.93rem;
}
footer .wrap { display: flex; flex-direction: column; gap: 8px; }
footer .wordmark { font-size: 1.25rem; }
footer a { color: #F2B48F; }
footer .smallprint { opacity: 0.85; font-size: 0.85rem; }

/* ---------- Sticky buy bar (index.html only) ---------- */
.sticky-bar {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  background: #fff;
  border-top: 2px solid var(--sage);
  box-shadow: 0 -6px 24px rgba(51, 48, 43, 0.14);
  padding: 12px 0;
  transform: translateY(110%);
  transition: transform 0.3s ease;
  z-index: 50;
}
.sticky-bar.visible { transform: translateY(0); }
.sticky-bar .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}
.sticky-bar .sb-text strong { display: block; font-size: 0.98rem; }
.sticky-bar .sb-text span { font-size: 0.85rem; color: var(--ink-soft); }
.sticky-bar .btn { width: auto; padding: 12px 26px; white-space: nowrap; }
body.has-sticky-bar { padding-bottom: 84px; }

/* ---------- Responsive ---------- */
@media (max-width: 820px) {
  body { font-size: 16px; }
  section { padding: 40px 0; }
  .hero h1 { font-size: 2rem; }
  h2 { font-size: 1.6rem; }
  .hero-grid, .benefits, .heads-up-grid, .licence-grid, .card-grid {
    grid-template-columns: 1fr;
  }
  .card-grid img { height: 220px; }
  .topbar-note { display: none; }
  .sticky-bar .sb-text span { display: none; }
  .sticky-bar .btn { padding: 11px 18px; font-size: 0.95rem; }
  body.has-sticky-bar { padding-bottom: 76px; }
  .contents-list .words { display: none; }
  .decision { padding: 26px 20px; }
}

/* ---- Legal & contact pages ---- */
.legal { max-width: 800px; }
.legal h1 { font-family: 'Fraunces', serif; font-size: 2.1rem; line-height: 1.2; margin: 0 0 14px; color: #2F5D50; }
.legal h2 { font-family: 'Fraunces', serif; font-size: 1.3rem; margin: 30px 0 8px; color: #33302B; }
.legal p { line-height: 1.65; margin: 0 0 12px; }
.legal a { color: #2F5D50; }
.legal-updated { color: #7a746a; font-size: 0.95rem; }
.contact-email { font-size: 1.35rem; font-weight: 700; color: #2F5D50; }

/* ---- Footer links ---- */
.footer-links { margin: 8px 0 4px; }
.footer-links a { color: inherit; text-decoration: underline; margin-right: 18px; white-space: nowrap; }
.footer-links a:hover { color: #D96F4E; }
