/* Wholesome Girlies — warm & nurturing design system (v1) */

:root {
  /* THEME: Olive & Cream (Option 4). Warm olive primary + rust accent on a cream base.
     Earthy, organic, grounded. Type: DM Serif Display headings + Nunito Sans body. */
  --cream: #FBF8EF;          /* warm cream background */
  --cream-2: #F1EFDF;        /* warm alt sections */
  --sand: #DFDCC0;           /* warm borders/fills */
  --blush: #EAE9D2;          /* soft olive-cream tint for chips + hero glow */
  --terracotta: #6E7A3F;     /* PRIMARY ACCENT = warm olive (var name kept for compatibility) */
  --terracotta-dark: #55602F;/* olive hover / link text */
  --sage: #C0763F;           /* SECONDARY = rust pop (badges, reviewer, checks) */
  --plum: #33322A;           /* warm olive-charcoal ink: text, headings, footer */
  --plum-soft: #66645A;      /* warm muted text */
  --line: #E4E1CE;           /* warm hairline */
  --white: #FFFFFF;

  --maxw: 1120px;
  --radius: 18px;
  --radius-sm: 12px;
  --shadow: 0 10px 30px rgba(59, 42, 51, 0.08);
  --shadow-sm: 0 4px 14px rgba(59, 42, 51, 0.06);

  --serif: "DM Serif Display", Georgia, "Times New Roman", serif;
  --sans: "Nunito Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--sans);
  color: var(--plum);
  background: var(--cream);
  line-height: 1.65;
  font-size: 17px;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4 { font-family: var(--serif); font-weight: 600; font-synthesis: none; line-height: 1.15; color: var(--plum); margin: 0 0 .5em; letter-spacing: -0.01em; }
h1 { font-size: clamp(2.1rem, 5vw, 3.4rem); }
h2 { font-size: clamp(1.6rem, 3.5vw, 2.4rem); }
h3 { font-size: 1.3rem; }
p { margin: 0 0 1rem; }
a { color: var(--terracotta-dark); text-decoration: none; }
a:hover { text-decoration: underline; }
img { max-width: 100%; display: block; }

.wrap { max-width: var(--maxw); margin: 0 auto; padding: 0 24px; }
.narrow { max-width: 760px; }
.eyebrow { font-size: .8rem; text-transform: uppercase; letter-spacing: .14em; font-weight: 700; color: var(--terracotta-dark); }
.muted { color: var(--plum-soft); }
.center { text-align: center; }

/* Buttons */
.btn { display: inline-block; padding: 14px 26px; border-radius: 999px; font-weight: 800; font-family: var(--sans); cursor: pointer; border: 2px solid transparent; transition: .18s ease; font-size: 1rem; }
.btn-primary { background: var(--terracotta); color: var(--white); }
.btn-primary:hover { background: var(--terracotta-dark); text-decoration: none; transform: translateY(-1px); }
.btn-ghost { background: transparent; color: var(--plum); border-color: var(--sand); }
.btn-ghost:hover { background: var(--cream-2); text-decoration: none; }
.btn-lg { padding: 17px 34px; font-size: 1.08rem; }

/* Header / nav */
.site-header { position: sticky; top: 0; z-index: 50; background: rgba(251, 247, 240, .9); backdrop-filter: blur(10px); border-bottom: 1px solid var(--line); }
.nav { display: flex; align-items: center; justify-content: space-between; height: 70px; }
.brand { font-family: var(--serif); font-weight: 600; font-size: 1.35rem; color: var(--plum); display: flex; align-items: center; gap: 10px; }
.brand:hover { text-decoration: none; }
.brand .dot { width: 24px; height: 24px; border-radius: 0; display: inline-block; background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 56 56'%3E%3Cg fill='none' stroke='%236E7A3F' stroke-width='3.2' stroke-linecap='round'%3E%3Cpath d='M28 50V16'/%3E%3Cpath d='M28 38c-9-1-14-7-15-15 9 1 14 7 15 15'/%3E%3Cpath d='M28 28c9-1 14-7 15-15-9 1-14 7-15 15'/%3E%3Cpath d='M28 20c-7-1-11-6-12-12 7 1 11 6 12 12'/%3E%3C/g%3E%3C/svg%3E") no-repeat center / contain; }
.site-footer .brand .dot { background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 56 56'%3E%3Cg fill='none' stroke='%23C0763F' stroke-width='3.2' stroke-linecap='round'%3E%3Cpath d='M28 50V16'/%3E%3Cpath d='M28 38c-9-1-14-7-15-15 9 1 14 7 15 15'/%3E%3Cpath d='M28 28c9-1 14-7 15-15-9 1-14 7-15 15'/%3E%3Cpath d='M28 20c-7-1-11-6-12-12 7 1 11 6 12 12'/%3E%3C/g%3E%3C/svg%3E") no-repeat center / contain; }
.nav-links { display: flex; gap: 26px; align-items: center; list-style: none; margin: 0; padding: 0; }
.nav-links a { color: var(--plum); font-weight: 700; font-size: .96rem; }
.nav-links a:hover { color: var(--terracotta-dark); text-decoration: none; }
.nav-cta { background: var(--plum); color: var(--white) !important; padding: 9px 18px; border-radius: 999px; }
.nav-cta:hover { background: #23302A; }
.nav-toggle { display: none; background: none; border: 0; font-size: 1.5rem; cursor: pointer; color: var(--plum); }
@media (max-width: 860px) {
  .nav-links { display: none; }
  .nav-toggle { display: block; }
  .nav-links.open { display: flex; position: absolute; top: 70px; left: 0; right: 0; flex-direction: column; background: var(--cream); padding: 18px 24px; gap: 16px; border-bottom: 1px solid var(--line); }
}

/* Hero */
.hero { padding: 72px 0 56px; background: radial-gradient(1000px 500px at 80% -10%, var(--blush), transparent), var(--cream); }
.hero h1 { max-width: 14ch; }
.hero .lead { font-size: 1.2rem; color: var(--plum-soft); max-width: 52ch; margin: 0 0 1.6rem; }
.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; }
.reviewed-strip { margin-top: 22px; font-size: .9rem; color: var(--plum-soft); display: flex; align-items: center; gap: 8px; }
.reviewed-strip .badge { background: var(--sage); color: #fff; border-radius: 999px; padding: 3px 10px; font-weight: 800; font-size: .75rem; }
.hero-grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: 48px; align-items: center; }
.hero-grid h1 { max-width: 16ch; }
@media (max-width: 880px) { .hero-grid { grid-template-columns: 1fr; gap: 34px; } .hero-grid h1 { max-width: 14ch; } }
.hero-preview { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow); padding: 22px; }
.hero-preview .win { display: flex; gap: 6px; margin-bottom: 16px; }
.hero-preview .win i { width: 10px; height: 10px; border-radius: 50%; background: var(--sand); display: inline-block; }
.hero-preview .pv-tag { font-size: .72rem; font-weight: 800; text-transform: uppercase; letter-spacing: .08em; color: var(--terracotta-dark); background: var(--blush); padding: 4px 10px; border-radius: 999px; display: inline-block; }
.hero-preview h3 { margin: 12px 0 14px; font-size: 1.2rem; }
.hero-preview .pv-row { display: flex; justify-content: space-between; align-items: center; padding: 11px 13px; border: 2px solid var(--sand); border-radius: 12px; font-size: .9rem; margin-bottom: 12px; }
.hero-preview .pv-row span { color: var(--plum-soft); }
.hero-preview .pv-row b { color: var(--plum); }
.hero-preview .pv-result { background: var(--blush); border-radius: 12px; padding: 15px; }
.hero-preview .pv-here { display: inline-block; background: var(--terracotta); color: #fff; font-size: .66rem; font-weight: 800; text-transform: uppercase; letter-spacing: .06em; padding: 3px 9px; border-radius: 999px; margin-bottom: 8px; }
.hero-preview .pv-week { font-family: var(--serif); font-size: 1.15rem; color: var(--plum); }
/* Centered hero (safe default) */
.hero-centered h1 { max-width: 20ch; margin-left: auto; margin-right: auto; }
.hero-centered .lead { margin-left: auto; margin-right: auto; }
.hero-centered .hero-actions { justify-content: center; }
.hero-centered .reviewed-strip { justify-content: center; }

/* Sections */
section { padding: 56px 0; }
.section-head { max-width: 60ch; margin-bottom: 30px; }

/* Tool search */
.toolsearch { display: flex; gap: 10px; max-width: 520px; margin-top: 20px; }
.toolsearch input { flex: 1; padding: 14px 18px; border-radius: 999px; border: 2px solid var(--sand); background: var(--white); font-family: var(--sans); font-size: 1rem; color: var(--plum); }
.toolsearch input:focus { outline: none; border-color: var(--terracotta); }

/* Cards / grid */
.grid { display: grid; gap: 20px; }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
@media (max-width: 860px) { .grid-3, .grid-2 { grid-template-columns: 1fr; } }

.card { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 26px; box-shadow: var(--shadow-sm); transition: .18s ease; display: block; color: var(--plum); }
a.card:hover { transform: translateY(-3px); box-shadow: var(--shadow); text-decoration: none; }
.card .tag { font-size: .74rem; font-weight: 800; text-transform: uppercase; letter-spacing: .08em; color: var(--terracotta-dark); background: var(--blush); padding: 4px 10px; border-radius: 999px; display: inline-block; margin-bottom: 12px; }
.card h3 { margin-bottom: 6px; }
.card p { color: var(--plum-soft); font-size: .96rem; margin: 0; }
.card .arrow { color: var(--terracotta-dark); font-weight: 800; margin-top: 14px; display: inline-block; }

/* Stage band */
.stage-band { background: var(--cream-2); }
.stage-card { text-align: center; padding: 34px 26px; }
.stage-card .emoji { font-size: 2rem; }
.stage-card.soon { opacity: .62; }
.stage-card.soon .arrow { color: var(--plum-soft); }

/* Tool page layout */
.tool-hero { background: var(--cream-2); padding: 40px 0 28px; border-bottom: 1px solid var(--line); }
.tool-hero .wrap:not(.narrow) h1 { max-width: 22ch; }  /* hubs (wide container): cap so the headline doesn't stretch past the lead */
.tool-hero .narrow h1 { font-size: clamp(1.7rem, 2.8vw, 2.4rem); }  /* tool & guide pages: smaller headline so long titles wrap cleanly */
h1, h2, h3, h4 { overflow-wrap: break-word; }
.breadcrumb { font-size: .85rem; color: var(--plum-soft); margin-bottom: 14px; }
.breadcrumb a { color: var(--plum-soft); }
.tool-app { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 28px; box-shadow: var(--shadow); margin: 0; }
.tool-hero + section { padding-top: 34px !important; }  /* clean gap between the heading section and the tool/content below (overrides inline padding-top:0) */
.field { margin-bottom: 16px; }
.field label { display: block; font-weight: 800; margin-bottom: 6px; font-size: .95rem; }
.field input, .field select { width: 100%; padding: 13px 15px; border-radius: var(--radius-sm); border: 2px solid var(--sand); font-family: var(--sans); font-size: 1rem; background: var(--white); color: var(--plum); }
.field input:focus, .field select:focus { outline: none; border-color: var(--terracotta); }
.result { margin-top: 20px; padding: 20px; background: var(--blush); border-radius: var(--radius-sm); display: none; }
.result.show { display: block; }
.result h3 { color: var(--terracotta-dark); }
.result .big { font-size: 1.5rem; font-family: var(--serif); font-weight: 600; }

/* Checklist */
.checklist { list-style: none; padding: 0; margin: 0; }
.checklist li { display: flex; align-items: flex-start; gap: 12px; padding: 12px 0; border-bottom: 1px solid var(--line); }
.checklist li:last-child { border-bottom: 0; }
.checklist input { width: 20px; height: 20px; margin-top: 3px; accent-color: var(--terracotta); flex: none; }
.checklist label { cursor: pointer; }
.checklist .done label { text-decoration: line-through; color: var(--plum-soft); }
.progress-bar { height: 10px; background: var(--sand); border-radius: 999px; overflow: hidden; margin: 10px 0 22px; }
.progress-bar > span { display: block; height: 100%; background: var(--terracotta); width: 0; transition: width .3s ease; }

/* Disclaimer + byline (compliance components) */
.disclaimer { border-left: 4px solid var(--terracotta); background: #F1F6EE; border-radius: 0 var(--radius-sm) var(--radius-sm) 0; padding: 16px 18px; margin: 26px 0; font-size: .93rem; color: var(--plum-soft); }
.disclaimer strong { color: var(--plum); }
.doctor-box { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius-sm); padding: 18px 20px; margin: 22px 0; }
.doctor-box h4 { margin: 0 0 8px; color: var(--terracotta-dark); }
.byline { display: flex; align-items: flex-start; gap: 10px; font-size: .9rem; color: var(--plum-soft); margin: 16px 0; }
.byline .av { flex: none; width: 34px; height: 34px; border-radius: 50%; background: var(--sage); color: #fff; display: grid; place-items: center; font-weight: 800; font-size: .8rem; }
/* Sticky bottom CTA (sales pages) */
/* Sticky CTA — hidden by default; slides up after the hero, hides over the pricing block + page end */
.sticky-cta { position: fixed; left: 0; right: 0; bottom: 0; z-index: 90; background: var(--plum); border-top: 1px solid rgba(255,255,255,.10); box-shadow: 0 -8px 26px rgba(51,50,42,.22); transform: translateY(100%); transition: transform .3s ease; }
.sticky-cta.is-visible { transform: translateY(0); }
.sticky-cta .sc-inner { display: flex; align-items: center; justify-content: space-between; gap: 22px; padding: 12px 0; }
.sticky-cta .sc-label { font-family: var(--sans); font-size: 1rem; font-weight: 700; color: rgba(251,248,239,.82); }
.sticky-cta .sc-label .sc-name { color: #fff; }
.sticky-cta .sc-label .sc-price { color: #fff; font-weight: 800; white-space: nowrap; }
.sticky-cta .btn { margin: 0; flex: none; white-space: nowrap; }
@media (max-width: 620px) { .sticky-cta .sc-inner { gap: 12px; padding: 10px 0; } .sticky-cta .sc-label { font-size: .84rem; } .sticky-cta .btn { padding: 12px 20px; font-size: .95rem; } }
@media (max-width: 400px) { .sticky-cta .sc-label { display: none; } .sticky-cta .sc-inner { justify-content: center; } }
/* Testimonial card system (4–6 per page, responsive, equal-height) */
.tgrid { display: grid; grid-template-columns: repeat(auto-fit, minmax(270px, 1fr)); gap: 18px; margin-top: 20px; }
.tcard { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow-sm); padding: 24px; display: flex; flex-direction: column; }
.tcard .quote { font-style: italic; color: var(--plum); font-size: .95rem; line-height: 1.6; margin: 0 0 16px; }
.tcard .byline { margin: auto 0 0; }
.tcard .byline .av { background: var(--terracotta); }

/* Email capture */
.capture { background: var(--plum); color: var(--cream); border-radius: var(--radius); padding: 34px; margin: 30px 0; text-align: center; }
.capture h3 { color: var(--cream); }
.capture p { max-width: 52ch; margin-left: auto; margin-right: auto; }
.capture form { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 14px; justify-content: center; }
.capture input { flex: 1; min-width: 220px; padding: 14px 16px; border-radius: 999px; border: 0; font-family: var(--sans); font-size: 1rem; }

/* Related grid */
.related { border-top: 1px solid var(--line); margin-top: 40px; padding-top: 30px; }

/* Program CTA (the "Go further" card on tools/guides) — tight, intentional spacing */
.program-cta { border: 2px solid var(--terracotta); text-align: center !important; margin: 26px 0; }
.program-cta > * { text-align: center !important; margin-left: auto; margin-right: auto; }
.program-cta .eyebrow { margin: 0 auto 6px; }
.program-cta h3 { margin: 0 auto 8px; }
.program-cta p { margin: 0 auto 16px; max-width: 46ch; }
.program-cta .btn { margin: 2px auto 0; display: inline-block; }

/* FAQ accordion (native <details>, crawlable) */
.faq-item { border: 1px solid var(--line); border-radius: 12px; background: var(--white); margin-bottom: 12px; overflow: hidden; }
.faq-item > summary { cursor: pointer; list-style: none; padding: 18px 22px; font-family: var(--sans); font-weight: 800; color: var(--plum); font-size: 1.02rem; display: flex; justify-content: space-between; align-items: center; gap: 14px; }
.faq-item > summary::-webkit-details-marker { display: none; }
.faq-item > summary::after { content: "+"; font-size: 1.5rem; color: var(--terracotta); line-height: 1; flex: 0 0 auto; }
.faq-item[open] > summary::after { content: "\2212"; }
.faq-item > summary:hover { background: var(--blush); }
.faq-a { padding: 0 22px 18px; color: var(--plum-soft); }

/* Sales page */
.sales-hero { background: radial-gradient(900px 400px at 20% 0%, var(--blush), transparent), var(--cream-2); padding: 60px 0; }
.price-card { background: var(--white); border: 2px solid var(--terracotta); border-radius: var(--radius); padding: 30px; box-shadow: var(--shadow); text-align: center; }
.price-card .price { font-family: var(--serif); font-size: 2.6rem; color: var(--plum); }
.stack { list-style: none; padding: 0; margin: 0 0 20px; }
.stack li { padding: 10px 0; border-bottom: 1px dashed var(--line); display: flex; justify-content: space-between; gap: 16px; }
.stack.iconed li { justify-content: flex-start; align-items: flex-start; gap: 16px; }
.stack.iconed .ico { flex: none; width: 46px; height: 46px; border-radius: 13px; background: var(--blush); display: flex; align-items: center; justify-content: center; color: var(--terracotta); }
.stack.iconed .ico svg { width: 25px; height: 25px; }
.check { list-style: none; padding: 0; margin: 0; }
.check li { padding: 8px 0 8px 30px; position: relative; }
.check li::before { content: "✓"; position: absolute; left: 0; color: var(--sage); font-weight: 900; }

/* Bridge page */
.bridge { min-height: 80vh; display: grid; place-items: center; text-align: center; }
.bridge .wrap { max-width: 640px; }

/* Footer */
.site-footer { background: var(--plum); color: #C4CDBE; padding: 50px 0 30px; margin-top: 40px; }
.site-footer a { color: var(--blush); }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 30px; }
@media (max-width: 860px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
.site-footer h4 { color: #fff; font-family: var(--sans); font-size: .8rem; text-transform: uppercase; letter-spacing: .1em; margin-bottom: 14px; }
.site-footer ul { list-style: none; padding: 0; margin: 0; }
.site-footer li { margin-bottom: 9px; font-size: .93rem; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.12); margin-top: 34px; padding-top: 20px; font-size: .82rem; color: #A9B3A3; display: flex; justify-content: space-between; flex-wrap: wrap; gap: 10px; }

.tag-soon { font-size: .7rem; background: var(--sand); color: var(--plum-soft); padding: 2px 8px; border-radius: 999px; font-weight: 800; }

/* ---- Visual layer v1: on-brand botanical motifs + icons (no photography needed) ---- */
.hero, .tool-hero, .sales-hero { position: relative; overflow: hidden; }
.tool-hero::after, .sales-hero::after {
  content: ""; position: absolute; top: -14px; right: 26px; width: 132px; height: 132px; pointer-events: none; opacity: .16;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='140' height='140' viewBox='0 0 120 120'%3E%3Cg fill='none' stroke='%236E7A3F' stroke-width='2.5' stroke-linecap='round'%3E%3Cpath d='M60 112V22'/%3E%3Cpath d='M60 82C42 80 32 68 30 52c18 2 28 14 30 30'/%3E%3Cpath d='M60 62c18-2 28-14 30-30-18 2-28 14-30 30'/%3E%3Cpath d='M60 44C46 42 38 32 36 20c14 2 22 12 24 24'/%3E%3C/g%3E%3C/svg%3E") no-repeat center / contain;
}
.hero::after {
  content: ""; position: absolute; bottom: -30px; right: -10px; width: 200px; height: 200px; pointer-events: none; opacity: .10;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='200' height='200' viewBox='0 0 120 120'%3E%3Cg fill='none' stroke='%236E7A3F' stroke-width='2.5' stroke-linecap='round'%3E%3Cpath d='M60 112V22'/%3E%3Cpath d='M60 82C42 80 32 68 30 52c18 2 28 14 30 30'/%3E%3Cpath d='M60 62c18-2 28-14 30-30-18 2-28 14-30 30'/%3E%3Cpath d='M60 44C46 42 38 32 36 20c14 2 22 12 24 24'/%3E%3C/g%3E%3C/svg%3E") no-repeat center / contain;
}
@media (max-width: 720px){ .tool-hero::after, .sales-hero::after, .hero::after { display: none; } }

.doctor-box h4::before {
  content: ""; display: inline-block; width: 18px; height: 18px; margin-right: 8px; vertical-align: -3px;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%23C0763F'%3E%3Cpath d='M12 21s-7-4.6-9.3-9C1 8.5 2.6 5 6 5c2 0 3.2 1.2 4 2.3C10.8 6.2 12 5 14 5c3.4 0 5 3.5 3.3 7C19 16.4 12 21 12 21z'/%3E%3C/svg%3E") no-repeat center / contain;
}
.eyebrow::before { content: "\2698  "; opacity: .7; }
