/* ============================================================
   Balanced Living Blueprint — styles
   ============================================================ */
:root {
  --green-900: #1f4a36;
  --green-700: #2f6b4f;
  --green-500: #3f8a66;
  --green-100: #e4f1ea;
  --green-50:  #f3f8f5;
  --amber-500: #d98b2b;
  --amber-100: #fbeedb;
  --ink-900: #16201b;
  --ink-700: #3b4a42;
  --ink-500: #67756e;
  --ink-300: #c6d0ca;
  --ink-100: #eef1ef;
  --paper: #ffffff;
  --paper-tint: #f7f9f8;
  --radius: 14px;
  --radius-lg: 22px;
  --shadow-sm: 0 1px 2px rgba(22,32,27,.06), 0 2px 8px rgba(22,32,27,.05);
  --shadow-md: 0 8px 28px rgba(22,32,27,.10);
  --font-body: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --font-display: "Fraunces", Georgia, "Times New Roman", serif;
  --container: 1120px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.6;
  color: var(--ink-900);
  background: var(--paper);
}
img, svg { display: block; max-width: 100%; }
a { color: var(--green-700); }
h1, h2, h3, h4 { font-family: var(--font-display); font-weight: 700; line-height: 1.12; margin: 0 0 .5em; letter-spacing: -.01em; }
h1 { font-size: clamp(2.2rem, 5vw, 3.6rem); }
h2 { font-size: clamp(1.7rem, 3.4vw, 2.5rem); }
h3 { font-size: 1.25rem; font-family: var(--font-body); font-weight: 600; letter-spacing: 0; }
h4 { font-family: var(--font-body); font-size: .95rem; font-weight: 600; text-transform: uppercase; letter-spacing: .06em; color: var(--ink-700); }
p { margin: 0 0 1em; }
ul, ol { margin: 0; padding: 0; list-style: none; }

.container { width: min(100% - 32px, var(--container)); margin-inline: auto; }
.container.narrow { max-width: 760px; }
.center { text-align: center; }
.small { font-size: .9rem; }
.muted { color: var(--ink-500); }
.eyebrow { font-size: .8rem; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--green-700); margin-bottom: .75rem; }
.lead { font-size: 1.15rem; color: var(--ink-700); }
.sub { color: var(--ink-500); margin-top: -.25rem; }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .4em;
  font-weight: 600; text-decoration: none; border-radius: 999px;
  padding: .85em 1.5em; font-size: 1rem; line-height: 1;
  border: 1.5px solid transparent; transition: transform .12s ease, box-shadow .12s ease, background .12s ease;
  cursor: pointer; white-space: nowrap;
}
.btn:active { transform: translateY(1px); }
.btn-primary { background: var(--green-700); color: #fff; box-shadow: 0 6px 18px rgba(47,107,79,.28); }
.btn-primary:hover { background: var(--green-900); }
.btn-ghost { background: transparent; color: var(--green-900); border-color: var(--ink-300); }
.btn-ghost:hover { border-color: var(--green-700); background: var(--green-50); }
.btn-lg { padding: 1em 1.8em; font-size: 1.05rem; }
.btn-sm { padding: .6em 1.1em; font-size: .9rem; }
.btn-block { width: 100%; }

/* Header */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255,255,255,.88); backdrop-filter: saturate(160%) blur(10px);
  border-bottom: 1px solid transparent; transition: border-color .2s, box-shadow .2s;
}
.site-header.scrolled { border-color: var(--ink-100); box-shadow: var(--shadow-sm); }
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 1.5rem; height: 68px; }
.brand { display: inline-flex; align-items: center; gap: .6rem; text-decoration: none; color: var(--ink-900); }
.brand-mark { width: 30px; height: 30px; border-radius: 50%; background: var(--green-700); position: relative; flex: none; }
.brand-mark::after { content: ""; position: absolute; left: 8px; top: 8px; width: 10px; height: 6px; border-left: 3px solid #fff; border-bottom: 3px solid #fff; transform: rotate(-45deg); }
.brand-name { font-family: var(--font-display); font-weight: 700; font-size: 1.1rem; white-space: nowrap; }
.brand-name em { font-style: italic; color: var(--green-700); }
.site-nav { display: flex; gap: 1.5rem; }
.site-nav a { color: var(--ink-700); text-decoration: none; font-weight: 500; font-size: .95rem; }
.site-nav a:hover { color: var(--green-900); }

/* Hero */
.hero { padding: clamp(3rem, 7vw, 6rem) 0 clamp(3rem, 6vw, 5rem); background: linear-gradient(180deg, var(--green-50) 0%, #fff 100%); }
.hero-grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: clamp(2rem, 5vw, 4rem); align-items: center; }
.hero-actions { display: flex; flex-wrap: wrap; gap: .75rem; margin: 1.75rem 0 1.5rem; }
.trust-row { display: flex; flex-wrap: wrap; gap: .5rem 1.25rem; font-size: .9rem; color: var(--ink-700); }
.trust-row li { display: flex; align-items: center; gap: .4rem; }
.trust-row li::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--green-500); }

/* Hero visual (CSS product mock) */
.hero-visual { display: flex; justify-content: center; }
.product-stack { position: relative; width: min(100%, 420px); aspect-ratio: 1 / 1.05; }
.card-mock {
  position: absolute; background: #fff; border-radius: var(--radius-lg); box-shadow: var(--shadow-md);
  padding: 1.25rem 1.35rem; border: 1px solid var(--ink-100); font-size: .9rem;
}
.card-mock strong { display: block; font-family: var(--font-display); font-size: 1.25rem; margin: .25rem 0 .1rem; }
.mock-tag { font-size: .72rem; text-transform: uppercase; letter-spacing: .08em; color: var(--green-700); font-weight: 600; }
.mock-sub { color: var(--ink-500); font-size: .85rem; }
.mock-list { margin-top: .75rem; display: grid; gap: .35rem; color: var(--ink-700); }
.mock-list li { padding-left: 1.1rem; position: relative; }
.mock-list li::before { content: ""; position: absolute; left: 0; top: .55em; width: 7px; height: 7px; border: 1.5px solid var(--green-500); border-radius: 2px; }
.card-mock-a { left: 0; top: 0; width: 68%; z-index: 2; }
.card-mock-b { right: 0; top: 28%; width: 58%; z-index: 3; }
.card-mock-c { left: 10%; bottom: 0; width: 60%; z-index: 1; }
.plate { display: flex; height: 54px; border-radius: 10px; overflow: hidden; margin-top: .75rem; font-size: .72rem; font-weight: 600; color: #fff; text-align: center; }
.plate-seg { display: flex; align-items: center; justify-content: center; }
.plate-seg.veg { flex: 2; background: var(--green-500); }
.plate-seg.protein { flex: 1; background: var(--amber-500); }
.plate-seg.carbs { flex: 1; background: var(--green-900); }
.dots { display: flex; gap: 6px; margin: .75rem 0 .5rem; }
.dots i { width: 22px; height: 22px; border-radius: 50%; background: var(--ink-100); display: block; }
.dots i.on { background: var(--green-500); }

/* Sections */
.section { padding: clamp(3rem, 7vw, 5.5rem) 0; }
.section-tint { background: var(--paper-tint); }
.section-head { max-width: 680px; margin-bottom: clamp(2rem, 4vw, 3rem); }

.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; }
.feature { background: #fff; border: 1px solid var(--ink-100); border-radius: var(--radius-lg); padding: 1.75rem; box-shadow: var(--shadow-sm); }
.feature .icon { width: 46px; height: 46px; border-radius: 12px; background: var(--green-100); color: var(--green-700); display: grid; place-items: center; margin-bottom: 1rem; }
.feature .icon svg { width: 24px; height: 24px; }
.feature p { color: var(--ink-700); margin: 0; font-size: .97rem; }

/* Steps */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; counter-reset: step; }
.steps li { background: #fff; border-radius: var(--radius-lg); padding: 1.75rem; border: 1px solid var(--ink-100); }
.step-num { display: inline-grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; background: var(--green-700); color: #fff; font-weight: 700; font-family: var(--font-display); margin-bottom: 1rem; }
.steps p { margin: 0; color: var(--ink-700); font-size: .97rem; }

/* Sample week */
.week-grid { display: grid; gap: .5rem; }
.day { display: grid; grid-template-columns: 64px 260px 1fr; gap: 1rem; align-items: center; background: #fff; border: 1px solid var(--ink-100); border-radius: var(--radius); padding: .85rem 1.1rem; }
.day-name { font-weight: 700; color: var(--ink-900); }
.pill { display: inline-block; font-size: .85rem; font-weight: 600; padding: .35em .85em; border-radius: 999px; }
.pill-move { background: var(--green-100); color: var(--green-900); }
.pill-rest { background: var(--amber-100); color: #7a4b0e; }
.meal { color: var(--ink-700); font-size: .93rem; }

/* Who it's for */
.two-col { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2rem, 5vw, 4rem); }
.check-list li, .cross-list li { position: relative; padding-left: 2rem; margin-bottom: .85rem; color: var(--ink-700); }
.check-list li::before, .cross-list li::before { position: absolute; left: 0; top: .1em; width: 22px; height: 22px; border-radius: 50%; display: grid; place-items: center; font-size: .8rem; font-weight: 700; }
.check-list li::before { content: "✓"; background: var(--green-100); color: var(--green-900); }
.cross-list li::before { content: "✕"; background: var(--ink-100); color: var(--ink-500); }

/* Pricing */
.pricing-card {
  display: grid; grid-template-columns: 1fr 1fr; gap: 0; max-width: 900px; margin: 0 auto;
  background: #fff; border: 1px solid var(--ink-100); border-radius: var(--radius-lg); box-shadow: var(--shadow-md); overflow: hidden;
}
.pricing-main { padding: 2.25rem; border-right: 1px solid var(--ink-100); }
.plan-name { font-weight: 600; color: var(--ink-700); margin-bottom: .25rem; }
.price { font-family: var(--font-display); font-size: 3.4rem; font-weight: 700; line-height: 1; margin: .25rem 0 .5rem; }
.price .currency { font-family: var(--font-body); font-size: 1rem; font-weight: 600; color: var(--ink-500); }
.price-note { font-size: .88rem; color: var(--ink-500); margin-bottom: 1.5rem; }
.secure { display: flex; align-items: flex-start; gap: .5rem; font-size: .83rem; color: var(--ink-500); margin: 1rem 0 0; }
.secure svg { flex: none; margin-top: .15em; }
.pricing-includes { padding: 2.25rem; background: var(--green-50); display: grid; gap: .7rem; align-content: center; }
.pricing-includes li { position: relative; padding-left: 1.75rem; color: var(--ink-700); font-size: .97rem; }
.pricing-includes li::before { content: "✓"; position: absolute; left: 0; color: var(--green-700); font-weight: 700; }

.guarantee { display: flex; gap: 1.25rem; align-items: flex-start; max-width: 900px; margin: 2rem auto 0; padding: 1.5rem 1.75rem; border: 1.5px dashed var(--green-500); border-radius: var(--radius-lg); background: #fff; }
.guarantee-badge { flex: none; width: 64px; height: 64px; border-radius: 50%; background: var(--green-700); color: #fff; display: grid; place-items: center; font-family: var(--font-display); font-weight: 700; font-size: 1.6rem; }
.guarantee h3 { margin-bottom: .25rem; }
.guarantee p { margin: 0; color: var(--ink-700); }

/* FAQ */
.faq details { background: #fff; border: 1px solid var(--ink-100); border-radius: var(--radius); margin-bottom: .6rem; }
.faq summary { cursor: pointer; padding: 1rem 1.25rem; font-weight: 600; list-style: none; display: flex; justify-content: space-between; align-items: center; gap: 1rem; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font-size: 1.4rem; line-height: 1; color: var(--green-700); font-weight: 400; }
.faq details[open] summary::after { content: "–"; }
.faq details p { padding: 0 1.25rem 1.1rem; margin: 0; color: var(--ink-700); }

/* Final CTA */
.cta-final { background: var(--green-900); color: #fff; }
.cta-final .lead { color: rgba(255,255,255,.8); }
.cta-final .muted { color: rgba(255,255,255,.6); margin-top: 1rem; }
.cta-final .btn-primary { background: #fff; color: var(--green-900); box-shadow: none; }
.cta-final .btn-primary:hover { background: var(--green-100); }

/* Footer */
.site-footer { padding: 3.5rem 0 2rem; border-top: 1px solid var(--ink-100); background: #fff; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 2rem; margin-bottom: 2.5rem; }
.footer-links { display: grid; gap: .5rem; font-size: .93rem; color: var(--ink-700); }
.footer-links a { color: var(--ink-700); text-decoration: none; }
.footer-links a:hover { color: var(--green-900); text-decoration: underline; }
.disclaimer { border-top: 1px solid var(--ink-100); padding-top: 1.5rem; font-size: .8rem; color: var(--ink-500); line-height: 1.55; }

/* Legal pages */
.legal { padding: clamp(2.5rem, 6vw, 4.5rem) 0; }
.legal h1 { font-size: clamp(2rem, 4vw, 2.8rem); }
.legal h2 { font-size: 1.35rem; margin-top: 2rem; }
.legal p, .legal li { color: var(--ink-700); }
.legal ul { list-style: disc; padding-left: 1.4rem; }
.legal li { margin-bottom: .4rem; }
.legal .updated { color: var(--ink-500); font-size: .9rem; }

.show-sm { display: none; }

/* Responsive */
@media (max-width: 960px) {
  .hero-grid { grid-template-columns: 1fr; }
  .hero-visual { order: -1; }
  .product-stack { width: min(100%, 360px); }
  .grid-3, .steps { grid-template-columns: 1fr 1fr; }
  .two-col, .pricing-card { grid-template-columns: 1fr; }
  .pricing-main { border-right: 0; border-bottom: 1px solid var(--ink-100); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 640px) {
  body { font-size: 16px; }
  .site-nav { display: none; }
  .header-inner { gap: .75rem; height: 60px; }
  .brand-mark { width: 26px; height: 26px; }
  .brand-mark::after { left: 7px; top: 7px; width: 8px; height: 5px; border-width: 0 0 2.5px 2.5px; }
  .brand-name { font-size: .92rem; }
  .header-inner .btn-sm { padding: .55em .9em; font-size: .82rem; white-space: nowrap; }
  .hide-sm { display: none; }
  .show-sm { display: inline; }
  .grid-3, .steps { grid-template-columns: 1fr; }
  .day { grid-template-columns: 1fr; gap: .4rem; }
  .footer-grid { grid-template-columns: 1fr; }
  .hero-actions .btn { width: 100%; }
  .guarantee { flex-direction: column; }
  .btn { white-space: normal; text-align: center; }
}

/* Thank-you page */
.ty-hero { padding-top: clamp(3rem, 8vw, 6rem); }
.ty-check { width: 72px; height: 72px; border-radius: 50%; background: var(--green-700); color: #fff; display: grid; place-items: center; margin: 0 auto 1.5rem; box-shadow: 0 10px 28px rgba(47,107,79,.3); }
.ty-check svg { width: 36px; height: 36px; }
.ty-notice { display: flex; gap: 1rem; align-items: flex-start; text-align: left; max-width: 560px; margin: 1.75rem auto 1rem; padding: 1.25rem 1.5rem; background: #fff; border: 1.5px solid var(--green-500); border-radius: var(--radius-lg); box-shadow: var(--shadow-sm); }
.ty-notice svg { flex: none; width: 28px; height: 28px; color: var(--green-700); margin-top: .1rem; }
.ty-notice strong { display: block; margin-bottom: .25rem; }
.ty-notice p { margin: 0; color: var(--ink-700); font-size: .95rem; }
.ty-includes { background: #fff; border: 1px solid var(--ink-100); border-radius: var(--radius-lg); padding: 1.75rem 2rem; }
