/* =========================================================
   main.css — The Carnosine Edge
   Matches reference SPA design exactly
   ========================================================= */

@import url('https://fonts.googleapis.com/css2?family=Bebas+Neue&family=DM+Sans:ital,wght@0,300;0,400;0,500;0,600;1,400&family=DM+Serif+Display:ital@0;1&display=swap');

/* =========================================================
   Design Tokens
   ========================================================= */
:root {
  --ink:        #0D2218;
  --deep:       #1A5C34;
  --forest:     #237A48;
  --mid:        #2E9E5E;
  --bright:     #27AE60;
  --sage:       #52BE80;
  --mint:       #A9DFBF;
  --wash:       #EAF6EF;
  --cream:      #F9FBF7;
  --gold:       #D4AC0D;
  --gold-light: #F9E79F;
  --amber:      #CA6F1E;
  --rust:       #C0392B;
  --white:      #FFFFFF;
  --text:       #1A2E1F;
  --muted:      #3F5C47;   /* darkened from #5D7A65 → 5.8:1 on white, 5.2:1 on --wash */
  --border:     #C8E6C9;
  --nav-h:      72px;
}

/* =========================================================
   Reset
   ========================================================= */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: 'DM Sans', sans-serif;
  color: var(--text);
  background: var(--cream);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
ul, ol { list-style: none; }

/* =========================================================
   Section Commons
   ========================================================= */
section { padding: 90px 5%; }
.section-inner { max-width: 1200px; margin: 0 auto; }
.section-tag {
  font-size: 11px; letter-spacing: 3px; text-transform: uppercase;
  color: var(--forest); font-weight: 700; margin-bottom: 12px;
  /* --forest #145A32 = 8.2:1 on white, 7.4:1 on --wash — passes AAA */
}
.section-title {
  font-family: 'DM Serif Display', serif;
  font-size: clamp(28px, 4vw, 46px);
  color: var(--deep); line-height: 1.15; margin-bottom: 16px;
}
.section-title em { font-style: italic; color: var(--mid); }
.section-body {
  font-size: 16px; color: var(--muted); line-height: 1.75; max-width: 680px;
}
.divider {
  width: 60px; height: 3px;
  background: linear-gradient(90deg, var(--mid), var(--mint));
  border-radius: 2px; margin: 20px 0 32px;
}

/* =========================================================
   Hero
   ========================================================= */
.hero {
  min-height: calc(100vh - var(--nav-h));
  background: var(--deep); position: relative;
  display: flex; align-items: center; overflow: hidden;
}
.hero-bg {
  position: absolute; inset: 0;
  background: url('../images/hero-banner.jpg') center/cover no-repeat;
  opacity: 0.32;
}
.hero-pattern {
  position: absolute; inset: 0;
  background-image:
    radial-gradient(circle at 20% 50%, rgba(39,174,96,0.08) 0%, transparent 60%),
    radial-gradient(circle at 80% 20%, rgba(212,172,13,0.06) 0%, transparent 50%);
}
.hero-content {
  position: relative; z-index: 2;
  max-width: 900px; padding: 80px 5%;
}
.hero-eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 12px; letter-spacing: 3px; text-transform: uppercase;
  color: var(--gold); font-weight: 600; margin-bottom: 20px;
}
.hero-eyebrow::before {
  content: ''; display: block; width: 32px; height: 2px; background: var(--gold);
}
.hero h1 {
  font-family: 'Bebas Neue', sans-serif;
  font-size: clamp(52px, 8vw, 96px);
  line-height: 0.95; color: var(--white);
  margin-bottom: 24px; letter-spacing: 2px;
}
.hero h1 em { font-style: normal; color: var(--gold); }
.hero-sub {
  font-size: clamp(16px, 2vw, 20px);
  color: rgba(255,255,255,0.75); line-height: 1.6;
  max-width: 580px; margin-bottom: 40px;
}
.hero-stats {
  display: flex; gap: 40px; flex-wrap: wrap; margin-bottom: 44px;
}
.hero-stat-num {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 44px; color: var(--gold); line-height: 1;
}
.hero-stat-label {
  font-size: 12px; color: rgba(255,255,255,0.6);
  letter-spacing: 1px; text-transform: uppercase; margin-top: 4px;
}
.hero-btns { display: flex; gap: 14px; flex-wrap: wrap; }
.btn-primary {
  display: inline-block; background: var(--gold);
  color: var(--ink); font-weight: 700; font-size: 14px;
  padding: 14px 30px; border-radius: 8px; text-decoration: none;
  transition: all .2s; letter-spacing: 0.5px; border: none; cursor: pointer;
}
.btn-primary:hover { background: #F0C20A; transform: translateY(-2px); }
.btn-outline {
  display: inline-block;
  border: 2px solid rgba(255,255,255,0.4);
  color: var(--white); font-weight: 500; font-size: 14px;
  padding: 12px 28px; border-radius: 8px; text-decoration: none;
  transition: all .2s;
}
.btn-outline:hover { border-color: var(--white); background: rgba(255,255,255,0.08); }
.scroll-indicator {
  position: absolute; bottom: 30px; left: 50%; transform: translateX(-50%);
  color: rgba(255,255,255,0.3); font-size: 12px; letter-spacing: 2px;
  text-align: center;
}
.scroll-indicator::after {
  content: ''; display: block; width: 1px; height: 40px;
  background: rgba(255,255,255,0.2); margin: 10px auto 0;
}

/* =========================================================
   Science Strip
   ========================================================= */
.science-strip { background: var(--deep); padding: 24px 5%; }
.science-strip-inner {
  max-width: 1200px; margin: 0 auto;
  display: flex; align-items: center; justify-content: space-between;
  flex-wrap: wrap; gap: 20px;
}
.science-strip-item { display: flex; align-items: center; gap: 12px; }
.science-strip-num {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 36px; color: var(--gold); line-height: 1;
}
.science-strip-label {
  font-size: 12px; color: rgba(255,255,255,0.65);
  letter-spacing: 0.5px; line-height: 1.4; max-width: 120px;
}

/* =========================================================
   What-is / Molecule section
   ========================================================= */
.what-grid {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 60px; align-items: center;
}
.molecule-visual { position: relative; }
.molecule-img {
  width: 100%; border-radius: 16px; background: var(--deep);
  aspect-ratio: 4/3; overflow: hidden;
  display: flex; align-items: center; justify-content: center;
}
.molecule-img img { width: 100%; height: 100%; object-fit: cover; opacity: 0.85; }
.molecule-badge {
  position: absolute; bottom: -20px; right: -20px;
  background: var(--gold); color: var(--ink);
  font-family: 'Bebas Neue', sans-serif;
  font-size: 18px; letter-spacing: 1px;
  padding: 16px 20px; border-radius: 12px;
  line-height: 1.2; text-align: center;
}
.benefit-pills { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 24px; }
.benefit-pill {
  font-size: 12px; font-weight: 600;
  padding: 6px 14px; border-radius: 99px;
  background: var(--wash); color: var(--forest);
  border: 1px solid var(--border);
}

/* =========================================================
   Benefit Cards
   ========================================================= */
.benefit-grid {
  display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 20px; margin-top: 48px;
}
.benefit-card {
  background: var(--white); border: 1px solid var(--border);
  border-radius: 16px; padding: 28px;
  box-shadow: 0 2px 12px rgba(11,61,31,0.07);
  transition: all .25s; position: relative; overflow: hidden;
}
.benefit-card::before {
  content: ''; position: absolute; top: 0; left: 0; right: 0; height: 3px;
  background: linear-gradient(90deg, var(--mid), var(--mint));
  opacity: 0; transition: opacity .25s;
}
.benefit-card:hover { transform: translateY(-4px); box-shadow: 0 12px 40px rgba(11,61,31,0.1); }
.benefit-card:hover::before { opacity: 1; }
.benefit-icon {
  width: 48px; height: 48px; border-radius: 12px;
  background: var(--wash); display: flex; align-items: center;
  justify-content: center; margin-bottom: 16px; font-size: 22px;
}
.benefit-title {
  font-family: 'DM Serif Display', serif;
  font-size: 19px; color: var(--deep); margin-bottom: 10px;
}
.benefit-body { font-size: 14px; color: var(--muted); line-height: 1.65; }

/* =========================================================
   Problem Section
   ========================================================= */
.problem-section { background: var(--deep); color: white; }
.problem-grid {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 60px; align-items: center;
}
.problem-title {
  font-family: 'Bebas Neue', sans-serif;
  font-size: clamp(36px, 5vw, 64px);
  color: var(--white); letter-spacing: 2px;
  line-height: 1; margin-bottom: 20px;
}
.problem-title em { color: var(--gold); font-style: normal; }
.problem-body {
  font-size: 15px; color: rgba(255,255,255,0.7);
  line-height: 1.75; margin-bottom: 24px;
}
.problem-steps { display: flex; flex-direction: column; gap: 16px; }
.problem-step {
  display: flex; gap: 16px; align-items: flex-start;
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 12px; padding: 16px 20px;
}
.step-icon {
  width: 36px; height: 36px; border-radius: 50%;
  background: rgba(192,57,43,0.25);
  border: 1px solid rgba(192,57,43,0.4);
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0; font-size: 16px; color: #E74C3C;
}
.step-text { font-size: 14px; color: rgba(255,255,255,0.8); line-height: 1.6; }
.step-title { font-weight: 600; color: white; margin-bottom: 4px; }
.solution-box {
  background: rgba(39,174,96,0.12);
  border: 2px solid rgba(39,174,96,0.3);
  border-radius: 16px; padding: 28px; margin-top: 20px;
}
.solution-box-title {
  font-family: 'DM Serif Display', serif;
  font-size: 22px; color: var(--sage); margin-bottom: 12px;
}
.solution-box-body {
  font-size: 14px; color: rgba(255,255,255,0.75);
  line-height: 1.7; margin-bottom: 20px;
}

/* =========================================================
   Study Cards
   ========================================================= */
.study-grid {
  display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 20px; margin-top: 48px;
}
.study-card {
  border-radius: 16px; padding: 28px;
  background: var(--white); border: 1px solid var(--border);
  box-shadow: 0 2px 12px rgba(11,61,31,0.07);
  transition: all .25s;
}
.study-card:hover { transform: translateY(-3px); box-shadow: 0 8px 30px rgba(11,61,31,0.08); }
.study-flag {
  display: inline-block;
  font-size: 10px; font-weight: 700; letter-spacing: 2px; text-transform: uppercase;
  padding: 4px 12px; border-radius: 99px;
  background: var(--wash); color: var(--forest); margin-bottom: 16px;
}
.study-title {
  font-family: 'DM Serif Display', serif;
  font-size: 20px; color: var(--deep);
  margin-bottom: 10px; line-height: 1.25;
}
.study-body { font-size: 13px; color: var(--muted); line-height: 1.65; margin-bottom: 16px; }
.study-result {
  background: var(--wash); border-left: 3px solid var(--mid);
  padding: 10px 14px; border-radius: 0 8px 8px 0;
  font-size: 13px; font-weight: 600; color: var(--forest);
}
.study-link {
  display: inline-block; margin-top: 14px;
  font-size: 12px; color: var(--mid);
  text-decoration: none; font-weight: 600; letter-spacing: 0.5px;
}
.study-link:hover { text-decoration: underline; }
.study-citation {
  margin-top: 10px; font-size: 11px; color: rgba(255,255,255,0.45);
  line-height: 1.5;
}
.study-citation a {
  color: rgba(255,255,255,0.55); text-decoration: underline;
}
.study-citation a:hover { color: var(--gold); }

/* =========================================================
   How it works (steps)
   ========================================================= */
.how-bg { background: var(--wash); }
.steps-row {
  display: grid; grid-template-columns: repeat(4, 1fr);
  gap: 0; margin-top: 48px; position: relative;
}
.steps-row::before {
  content: ''; position: absolute;
  top: 36px; left: 12%; right: 12%; height: 2px;
  background: linear-gradient(90deg, var(--mid), var(--mint)); z-index: 0;
}
.step-box { text-align: center; padding: 0 16px; position: relative; z-index: 1; }
.step-num {
  width: 72px; height: 72px; border-radius: 50%;
  background: var(--deep); color: var(--gold);
  font-family: 'Bebas Neue', sans-serif; font-size: 28px;
  display: flex; align-items: center; justify-content: center;
  margin: 0 auto 20px; border: 3px solid var(--mint);
}
.step-box-title { font-size: 15px; font-weight: 600; color: var(--deep); margin-bottom: 8px; }
.step-box-body { font-size: 13px; color: var(--muted); line-height: 1.6; }

/* =========================================================
   About Debra
   ========================================================= */
.about-grid {
  display: grid; grid-template-columns: 400px 1fr;
  gap: 70px; align-items: start;
}
.about-img-wrap { position: relative; }
.about-img { width: 100%; aspect-ratio: 3/4; border-radius: 20px; overflow: hidden; }
.about-img img { width: 100%; height: 100%; object-fit: cover; }
.about-badge {
  position: absolute; top: 24px; right: -18px;
  background: var(--gold); border-radius: 12px;
  padding: 14px 18px; font-size: 13px; font-weight: 700;
  color: var(--ink); text-align: center; line-height: 1.4;
}
.about-creds { display: flex; flex-direction: column; gap: 8px; margin: 24px 0; }
.about-cred {
  display: flex; align-items: center; gap: 10px;
  font-size: 14px; color: var(--text);
}
.about-cred::before {
  content: '✓'; width: 22px; height: 22px; border-radius: 50%;
  background: var(--wash); color: var(--mid);
  display: flex; align-items: center; justify-content: center;
  font-size: 12px; font-weight: 700; flex-shrink: 0;
}
.about-services {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 12px; margin-top: 28px;
}
.about-service {
  background: var(--wash); border: 1px solid var(--border);
  border-radius: 12px; padding: 16px 18px;
}
.about-service-title { font-size: 14px; font-weight: 600; color: var(--deep); margin-bottom: 4px; }
.about-service-body { font-size: 12px; color: var(--muted); line-height: 1.5; }

/* =========================================================
   Practitioner Program
   ========================================================= */
.pro-section { background: var(--deep); }
.pro-grid {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 60px; align-items: center;
}
.pro-title {
  font-family: 'Bebas Neue', sans-serif;
  font-size: clamp(36px, 5vw, 60px);
  color: white; letter-spacing: 2px; line-height: 1; margin-bottom: 16px;
}
.pro-title em { color: var(--gold); font-style: normal; }
.pro-body { font-size: 15px; color: rgba(255,255,255,0.72); line-height: 1.75; margin-bottom: 28px; }
.pro-benefits { display: flex; flex-direction: column; gap: 12px; margin-bottom: 32px; }
.pro-benefit { display: flex; align-items: flex-start; gap: 12px; }
.pro-benefit-check {
  width: 24px; height: 24px; border-radius: 50%;
  background: rgba(39,174,96,0.2); border: 1px solid var(--bright);
  display: flex; align-items: center; justify-content: center;
  color: var(--bright); font-size: 13px; font-weight: 700; flex-shrink: 0;
}
.pro-benefit-text { font-size: 14px; color: rgba(255,255,255,0.78); line-height: 1.55; }
.pro-card {
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: 20px; padding: 36px;
}
.pro-card-title {
  font-family: 'DM Serif Display', serif;
  font-size: 22px; color: var(--sage); margin-bottom: 20px;
}
.pro-card-item {
  display: flex; align-items: center; gap: 12px;
  padding: 12px 0; border-bottom: 1px solid rgba(255,255,255,0.08);
  font-size: 14px; color: rgba(255,255,255,0.75);
}
.pro-card-item:last-child { border-bottom: none; }
.pro-card-item strong { color: white; }

/* =========================================================
   Testimonials
   ========================================================= */
.testimonial-bg { background: var(--wash); }
.testimonial-grid {
  display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 20px; margin-top: 48px;
}
.testimonial-card {
  background: white; border: 1px solid var(--border);
  border-radius: 16px; padding: 28px;
}
.stars { color: var(--gold); font-size: 16px; margin-bottom: 14px; }
.testimonial-quote {
  font-family: 'DM Serif Display', serif;
  font-size: 17px; color: var(--deep);
  line-height: 1.55; margin-bottom: 16px; font-style: italic;
}
.testimonial-author {
  font-size: 13px; font-weight: 600; color: var(--mid);
  border-top: 1px solid var(--border); padding-top: 14px;
}
.testimonial-role { font-size: 12px; color: var(--muted); margin-top: 2px; }

/* =========================================================
   CTA Banner
   ========================================================= */
.cta-banner { background: var(--forest); text-align: center; padding: 80px 5%; }
.cta-banner-eyebrow {
  font-size: 12px; letter-spacing: 3px; text-transform: uppercase;
  color: var(--mint); font-weight: 600; margin-bottom: 16px;
}
.cta-banner-title {
  font-family: 'Bebas Neue', sans-serif;
  font-size: clamp(36px, 6vw, 72px);
  color: white; letter-spacing: 2px; margin-bottom: 20px; line-height: 1;
}
.cta-banner-title em { color: var(--gold); font-style: normal; }
.cta-banner-sub {
  font-size: 16px; color: rgba(255,255,255,0.7);
  max-width: 560px; margin: 0 auto 36px; line-height: 1.6;
}
.cta-banner-btns { display: flex; justify-content: center; gap: 14px; flex-wrap: wrap; }

/* =========================================================
   Contact Form
   ========================================================= */
.contact-grid {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 60px; align-items: start;
}
.contact-form {
  background: white; border: 1px solid var(--border);
  border-radius: 20px; padding: 36px;
  box-shadow: 0 4px 24px rgba(11,61,31,0.08);
}
.form-group { margin-bottom: 20px; }
.form-label {
  font-size: 13px; font-weight: 600; color: var(--text);
  margin-bottom: 6px; display: block;
}
.form-input {
  width: 100%; padding: 12px 16px;
  border: 1px solid var(--border); border-radius: 8px;
  font-family: 'DM Sans', sans-serif; font-size: 14px; color: var(--text);
  background: var(--cream); transition: border-color .2s; outline: none;
}
.form-input:focus { border-color: var(--mid); }
textarea.form-input { height: 120px; resize: vertical; }
.form-select {
  width: 100%; padding: 12px 16px;
  border: 1px solid var(--border); border-radius: 8px;
  font-family: 'DM Sans', sans-serif; font-size: 14px; color: var(--text);
  background: var(--cream); outline: none; appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%235D7A65' stroke-width='1.5' fill='none'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 14px center;
}
.btn-submit {
  width: 100%; padding: 14px;
  background: var(--deep); color: white;
  font-family: 'DM Sans', sans-serif; font-size: 15px; font-weight: 600;
  border: none; border-radius: 8px; cursor: pointer; transition: background .2s;
}
.btn-submit:hover { background: var(--forest); }
.contact-info { display: flex; flex-direction: column; gap: 24px; }
.contact-info-block {
  background: white; border: 1px solid var(--border);
  border-radius: 14px; padding: 22px;
  box-shadow: 0 2px 12px rgba(11,61,31,0.06);
}
.contact-info-title {
  font-size: 13px; font-weight: 700; color: var(--muted);
  text-transform: uppercase; letter-spacing: 1px; margin-bottom: 8px;
}
.contact-info-value { font-size: 15px; color: var(--deep); font-weight: 500; }
.contact-info-sub { font-size: 13px; color: var(--muted); margin-top: 3px; }

/* =========================================================
   Compliance / Comparison Table
   ========================================================= */
.compliance-table {
  width: 100%; border-collapse: collapse;
  background: white; border-radius: 14px; overflow: hidden;
  border: 1px solid var(--border);
}
.compliance-table th {
  background: var(--deep); color: white;
  padding: 14px 18px; text-align: left;
  font-size: 13px; font-weight: 500;
}
.compliance-table td {
  padding: 12px 18px; border-bottom: 1px solid var(--border);
  font-size: 13px; color: var(--text);
}
.compliance-table tr:last-child td { border-bottom: none; }
.compliance-table tr:nth-child(even) td { background: var(--wash); }
.check-yes { color: var(--mid); font-weight: 700; }
.check-no { color: var(--rust); font-weight: 700; }

/* =========================================================
   FAQ Accordion
   ========================================================= */
.faq-list {
  display: flex; flex-direction: column; gap: 12px;
  max-width: 840px; margin: 32px auto 0;
}
.faq-item {
  background: var(--white); border: 1px solid var(--border);
  border-radius: 12px; overflow: hidden; transition: box-shadow 0.2s;
  box-shadow: 0 2px 10px rgba(11,61,31,0.06);
}
.faq-item:hover { box-shadow: 0 4px 16px rgba(0,0,0,0.07); }
.faq-item.open { border-color: var(--bright); box-shadow: 0 4px 20px rgba(39,174,96,0.12); }
.faq-question {
  display: flex; align-items: center; justify-content: space-between;
  padding: 20px 24px; cursor: pointer;
  font-weight: 600; font-size: 15px; gap: 16px; user-select: none;
}
.faq-question .faq-icon {
  flex-shrink: 0; width: 28px; height: 28px; border-radius: 50%;
  background: var(--wash); display: flex; align-items: center;
  justify-content: center; font-size: 16px;
  transition: transform 0.3s, background 0.2s; color: var(--forest);
}
.faq-item.open .faq-question .faq-icon {
  transform: rotate(45deg); background: var(--bright); color: var(--white);
}
.faq-answer {
  max-height: 0; overflow: hidden;
  transition: max-height 0.35s ease, padding 0.35s ease; padding: 0 24px;
}
.faq-answer-inner { padding-bottom: 20px; font-size: 15px; line-height: 1.7; color: var(--muted); }
.faq-item.open .faq-answer { max-height: 400px; }

/* =========================================================
   Page Hero (inner pages)
   ========================================================= */
.page-hero {
  background: var(--deep); min-height: 50vh;
  display: flex; align-items: center;
  padding: calc(var(--nav-h) + 60px) 5% 72px;
  position: relative; overflow: hidden;
}
.page-hero::before {
  content: ''; position: absolute; inset: 0;
  background: radial-gradient(ellipse 60% 80% at 20% 50%, rgba(39,174,96,0.1) 0%, transparent 70%);
  pointer-events: none;
}
.page-hero-inner { max-width: 1200px; margin: 0 auto; position: relative; z-index: 1; width: 100%; }
.page-hero h1 {
  font-family: 'Bebas Neue', sans-serif;
  font-size: clamp(48px, 8vw, 88px);
  color: white; letter-spacing: 2px; line-height: 0.95; margin-bottom: 20px;
}
.page-hero .hero-subtitle {
  font-size: 16px; color: rgba(255,255,255,0.7);
  max-width: 600px; line-height: 1.6; margin-bottom: 32px;
}
.breadcrumb {
  display: flex; align-items: center; gap: 8px;
  font-size: 12px; font-weight: 500;
  color: rgba(255,255,255,0.55); margin-bottom: 24px; flex-wrap: wrap;
}
.breadcrumb a { color: rgba(255,255,255,0.55); text-decoration: none; transition: color 0.2s; }
.breadcrumb a:hover { color: var(--gold); }
.breadcrumb .sep { color: rgba(255,255,255,0.3); }
.breadcrumb .current { color: var(--gold); }

/* =========================================================
   Tip / Debra quote box
   ========================================================= */
.tip-box {
  background: var(--deep); border-left: 4px solid var(--gold);
  border-radius: 0 16px 16px 0; padding: 32px 36px;
  margin: 40px 0; position: relative; overflow: hidden;
}
.tip-box::before {
  content: '"'; position: absolute; top: -10px; left: 20px;
  font-family: 'DM Serif Display', serif; font-size: 120px;
  color: rgba(212,172,13,0.15); line-height: 1; pointer-events: none;
}
.tip-box blockquote {
  font-family: 'DM Serif Display', serif;
  font-size: clamp(16px, 2vw, 20px); line-height: 1.65;
  color: rgba(255,255,255,0.9); font-style: italic;
  margin-bottom: 16px; position: relative; z-index: 1;
}
.tip-box cite { display: block; font-style: normal; font-size: 13px; font-weight: 600; color: var(--gold); letter-spacing: 0.05em; }
.tip-box cite span { display: block; color: rgba(255,255,255,0.5); font-weight: 400; margin-top: 2px; }

/* =========================================================
   Animations
   ========================================================= */
.fade-in {
  opacity: 0; transform: translateY(24px);
  transition: opacity .6s ease, transform .6s ease;
}
.fade-in.visible { opacity: 1; transform: translateY(0); }

/* =========================================================
   Legal Pages
   ========================================================= */
.legal-meta {
  font-size: 12px; font-weight: 600; letter-spacing: 0.08em;
  text-transform: uppercase; color: var(--muted);
  margin-bottom: 40px; padding-bottom: 16px;
  border-bottom: 1px solid var(--border);
}
.legal-block {
  margin-bottom: 40px; padding-bottom: 40px;
  border-bottom: 1px solid var(--border);
}
.legal-block:last-child { border-bottom: none; margin-bottom: 0; padding-bottom: 0; }
.legal-block h2 {
  font-family: 'DM Serif Display', serif;
  font-size: clamp(18px, 2.5vw, 24px);
  color: var(--deep); margin-bottom: 14px; line-height: 1.3;
}
.legal-block p {
  font-size: 15px; color: var(--text); line-height: 1.8; margin-bottom: 12px;
}
.legal-block p:last-child { margin-bottom: 0; }
.legal-block ul, .legal-block ol {
  padding-left: 22px; margin-bottom: 12px;
}
.legal-block ul { list-style: disc; }
.legal-block ol { list-style: decimal; }
.legal-block li {
  font-size: 15px; color: var(--text); line-height: 1.8; margin-bottom: 6px;
}
.legal-block a { color: var(--forest); font-weight: 500; text-decoration: underline; }
.legal-block a:hover { color: var(--mid); }
.legal-highlight {
  background: var(--wash); border-radius: 14px;
  padding: 24px 28px; border: 1px solid var(--border);
  border-bottom: 1px solid var(--border) !important;
}
.legal-highlight h2 { color: var(--forest); }

/* =========================================================
   Utility Grid Classes (responsive-friendly)
   ========================================================= */
.decline-grid {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 48px; align-items: start;
}
.form-row-grid {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 16px;
}
.steps-row-3 { grid-template-columns: repeat(3, 1fr); }
.team-member-grid { grid-template-columns: 300px 1fr; gap: 56px; }
.profiles-grid {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 48px; align-items: start;
}

/* =========================================================
   Pre-Launch Modal
   ========================================================= */
.prelaunch-overlay {
  position: fixed; inset: 0; z-index: 9999;
  background: rgba(10,26,16,0.75); backdrop-filter: blur(4px);
  display: flex; align-items: center; justify-content: center;
  padding: 20px; opacity: 0; pointer-events: none;
  transition: opacity 0.25s ease;
}
.prelaunch-overlay.active { opacity: 1; pointer-events: all; }
.prelaunch-panel {
  background: var(--white); border-radius: 20px;
  padding: 40px 36px; max-width: 520px; width: 100%;
  box-shadow: 0 24px 80px rgba(0,0,0,0.3);
  transform: scale(0.95) translateY(12px);
  transition: transform 0.25s ease;
  text-align: center;
}
.prelaunch-overlay.active .prelaunch-panel { transform: scale(1) translateY(0); }
.prelaunch-icon { font-size: 48px; margin-bottom: 12px; line-height: 1; }
.prelaunch-title {
  font-family: 'DM Serif Display', serif;
  font-size: clamp(24px, 4vw, 32px);
  color: var(--deep); margin-bottom: 4px;
}
.prelaunch-divider {
  width: 50px; height: 3px; margin: 14px auto 20px;
  background: linear-gradient(90deg, var(--mid), var(--mint));
  border-radius: 2px;
}
.prelaunch-body {
  font-size: 15px; color: var(--text); line-height: 1.7; margin-bottom: 14px;
}
.prelaunch-list {
  list-style: disc; text-align: left;
  padding-left: 24px; margin-bottom: 16px;
}
.prelaunch-list li {
  font-size: 15px; color: var(--text); line-height: 1.7; margin-bottom: 6px;
}
.prelaunch-list a {
  color: var(--forest); font-weight: 600; text-decoration: underline;
}
.prelaunch-coming {
  font-size: 15px; color: var(--muted); line-height: 1.7;
  background: var(--wash); border-radius: 10px; padding: 12px 16px;
  margin-bottom: 24px;
}
.prelaunch-actions {
  display: flex; flex-direction: column; gap: 10px; align-items: center;
}
.prelaunch-actions .btn-primary { width: 100%; justify-content: center; }
.prelaunch-actions .btn-outline { width: 100%; justify-content: center; cursor: pointer; background: transparent; font-family: 'DM Sans', sans-serif; font-size: 14px; font-weight: 600; padding: 13px 28px; border-radius: 8px; border: 2px solid var(--border); color: var(--muted); text-decoration: none; transition: all 0.2s ease; }
.prelaunch-actions .btn-outline:hover { border-color: var(--forest); color: var(--forest); }

/* =========================================================
   Responsive
   ========================================================= */
@media(max-width:1024px) {
  .what-grid, .problem-grid, .pro-grid, .about-grid, .contact-grid { grid-template-columns: 1fr; }
  .profiles-grid { grid-template-columns: 1fr; gap: 60px; }
  .steps-row { grid-template-columns: 1fr 1fr; gap: 30px; }
  .steps-row::before { display: none; }
}
@media(max-width:768px) {
  section { padding: 60px 5%; }
  .about-services { grid-template-columns: 1fr; }
  .testimonial-grid { grid-template-columns: 1fr; }
  .about-badge { display: none; }
  .hero h1 { font-size: 52px; }
  .hero-stats { gap: 24px; }
  /* Hero — reduce large top padding on mobile */
  .hero-content { padding: 56px 5% 40px; }
  /* Science strip — centre items when they wrap */
  .science-strip-inner { justify-content: center; gap: 16px 28px; }
  /* Inner page heroes — reduce bottom padding */
  .page-hero { padding-bottom: 48px; }
  /* CTA banner — tighter vertical rhythm */
  .cta-banner { padding: 60px 5%; }
  /* Contact form — less generous padding */
  .contact-form { padding: 24px; }
  /* Decline grid in What is Carnosine */
  .decline-grid { grid-template-columns: 1fr; gap: 32px; }
  /* Tip box */
  .tip-box { padding: 24px; }
}
@media(max-width:600px) {
  .vicki-card { grid-template-columns: 1fr !important; }
  .vicki-img { max-width: 160px; margin: 0 auto; }
}
@media(max-width:480px) {
  section { padding: 48px 5%; }
  .steps-row { grid-template-columns: 1fr; }
  /* Hero */
  .hero-content { padding: 40px 5% 32px; }
  .hero-stats { flex-direction: column; gap: 14px; }
  .hero-stat-num { font-size: 36px; }
  /* CTA banner — full-width stacked buttons */
  .cta-banner { padding: 48px 5%; }
  .cta-banner-btns { flex-direction: column; align-items: stretch; }
  .cta-banner-btns .btn-primary,
  .cta-banner-btns .btn-outline { text-align: center; }
  /* Form row — name + email stack vertically */
  .form-row-grid { grid-template-columns: 1fr; }
  .contact-form { padding: 20px; }
  /* Pre-launch modal — tighter on small phones */
  .prelaunch-panel { padding: 28px 20px; }
  /* Pro card */
  .pro-card { padding: 24px; }
  /* FAQ */
  .faq-question { padding: 16px 18px; font-size: 14px; }
  /* Solution box */
  .solution-box { padding: 20px; }
  /* Page hero — less bottom space */
  .page-hero { padding-bottom: 36px; }
  /* Tip box */
  .tip-box { padding: 20px; }
  /* Comparison table — tighter cells */
  .compliance-table th, .compliance-table td { padding: 10px 12px; font-size: 12px; }
}
