/* P05.1: bounded visual refinement. Agency artwork and all campaign copy retained. */
/* Client hero alignment: share the copy margin and center the seals above the formula.
   The formula scales to .88 on small desktops and .73 on tablets in site.css. */
@media (min-width:641px) {
  .hero .cta {
    left:7.44%;
    width:var(--hero-cta-width,272px);
    transform:translateX(var(--hero-copy-offset,0px));
  }
  .hero-badges {
    right:auto;
    left:calc(77.2% + 80.5px);
    transform:translateX(-50%);
  }
}
@media (min-width:641px) and (max-width:1250px) {
  .hero-badges { left:calc(77.2% + 70.84px); }
}
@media (min-width:641px) and (max-width:1023px) {
  .hero .cta { width:var(--hero-cta-width,225px); }
  /* Keep the aligned column clear of the wider tablet product. */
  .hero-formula { left:80.5%; }
  .hero-badges { left:calc(80.5% + 58.765px); width:8%; }
}
:root {
  --readable-green: #2f710d;
  --green-surface: #367a18;
  --readable-rose: #80515a;
}
/* P06/P07: tablet contrast and focus visibility, preserving approved layout. */
.health-intro, .phase-label { color:#62594f; }
@media(max-width:1023px) { .values-copy > p { color:#62594f; } }
@media(min-width:641px) and (max-width:1023px) {
  .formula-leaves { width:18%; }
  .formula-leaves.left { left:-9%; }
  .formula-leaves.right { right:-9%; }
}
button:focus-visible, a:focus-visible, [tabindex]:focus-visible, summary:focus-visible {
  outline:3px solid #17489d;
  outline-offset:5px;
  box-shadow:0 0 0 4px #fff;
}
h2 span, h2 em, .hero-slogan em, .green { color: var(--readable-green); }
.brand-green { color: #3e751e; }
#primary-navigation .button { background: #3e7a1d; }
.phase-panel { background: #367a18f5; }
.ingredients h4 em { color: #3e7018; }
.faq-list details > div { color: #236d19; }
.nutrition-card, .formula-intro { color: var(--readable-rose); }
.benefit-photo figcaption {
  /* P07.3: original centered white Medium labels; glyph outline replaces the pill. */
  inset: 0;
  min-height: 0;
  background: transparent;
  border-radius: 0;
  font-size: 32px;
  text-align: center;
  -webkit-text-stroke: 1.5px #40352e;
  paint-order: stroke fill;
}
.closing-points {
  /* Keep the agency's white Heavy Italic and peach artwork, without a panel. */
  background: transparent;
  border-radius: 0;
  padding: 0;
  margin: 0;
  -webkit-text-stroke: 1.5px #5a4033;
  paint-order: stroke fill;
}
.closing-points li::before { -webkit-text-stroke: 0; }
.formula-toggle {
  border: 0;
  background: transparent;
  color: inherit;
  font: inherit;
  text-align: left;
  width: 100%;
  min-height: 44px;
  padding: 0 28px 0 0;
  position: relative;
}
.formula-toggle::after {
  content: '';
  position: absolute;
  right: 4px;
  top: 18px;
  width: 10px;
  height: 10px;
  border-bottom: 2px solid currentColor;
  border-right: 2px solid currentColor;
  transform: rotate(45deg);
}
.formula-toggle[aria-expanded=true]::after { transform: rotate(225deg); top: 23px; }

@media (min-width:1251px) {
  .phase-diagram { margin-top: 39px; }
  .phase-tabs { grid-template-columns: repeat(4,minmax(0,1fr)); gap: 65px; padding-left: 30px; }
  .phase-tabs img { height: 520px; }
  .phase-tabs > button { min-height: 591px; }
  .phase-panel { left: 5px; width: calc((100% - 225px)/4 + 73px); height: 626px; }
  .phase-panel p { padding-top: 72px; line-height: 28.4px; }
  .steps > li { grid-template-columns: 157px 210px; }
  .steps > li > div { max-width: 210px; }
  .steps h3 { font-weight: 900; }
  .steps p { line-height: 29px; }
  .benefit > ul { font-weight: 600; }
  .health-intro { max-width: 1130px; margin-inline: auto; }
  .formula-category h3 { width: 470px; letter-spacing: .3px; }
  .formula-intro { width: 650px; left: calc(50% - 325px); }
  .ingredients p { line-height: 29px; letter-spacing: .55px; }
  .formula-row:first-child .ingredients p { max-width: 540px; }
  .formula-row:nth-child(2) .ingredients p { max-width: 550px; }
  .faq-list summary { line-height: 30px; }
  .faq-list details:nth-child(2) > summary,
  .faq-list details:nth-child(3) > summary { min-height: 30px; }
}

@media (max-width:1023px) {
  .benefit-photo figcaption { font-size: 25px; }
}

@media (max-width:640px) {
  :root { --ink: #62594f; }
  body { font-size: 18px; }
  .site-header { min-height: 64px; }
  .header-inner { padding: 10px 20px; gap: 8px; }
  .brand-link, .brand-link img { width: 162px; flex-basis: 162px; }
  .menu-toggle { font-size: 16px; }
  .hero > .section-inner {
    display: grid;
    grid-template-columns: minmax(0,1.12fr) minmax(0,1fr);
    gap: 15px 12px;
    align-items: center;
    padding: 0 20px 24px;
  }
  .hero-strapline {
    grid-column: 1/-1; grid-row: 1;
    font-size: 12px; line-height: 17px;
    padding: 13px 0 12px; min-height: 0;
  }
  .hero-wordmark {
    grid-column: 1; grid-row: 2;
    width: 100%; max-width: 185px;
    margin: 7px 0 0;
  }
  .hero-slogan {
    grid-column: 1; grid-row: 3;
    text-align: left; font-size: clamp(24px,6.4vw,28px); line-height: 1.13;
    margin: 0; padding: 0;
  }
  .hero-slogan br { display: none; }
  .hero-slogan em::before { content:' '; }
  .hero-product {
    grid-column: 2; grid-row: 2/4;
    width: 100%; max-width: 188px;
    margin: 0; align-self: center; justify-self: center;
  }
  .hero-spoon {
    grid-column: 2; grid-row: 2/4;
    align-self: end; justify-self: end;
    width: 88%; max-width: 165px;
    margin: 0 -8px -9px 0;
  }
  .hero .cta {
    /* P08.4: center under the copy column; compact padding keeps 320px in bounds. */
    grid-column: 1; grid-row: 4;
    width: var(--hero-cta-width,max-content); max-width: none; justify-self: center;
    padding-inline: 12px;
    transform: translateX(var(--hero-copy-offset,0px));
    height: 54px; min-height: 54px;
    margin: 8px 0 0; font-size: 18px;
  }
  .hero-badges {
    grid-column: 1; grid-row: 5;
    width: 100%; gap: 8px; margin: 0;
    align-items: center; justify-content: flex-start;
  }
  .hero-badges > li { width: calc((100% - 16px)/3); max-width: 54px; }
  .hero-formula {
    grid-column: 2; grid-row: 5; justify-self: end;
    width: 108px; height: 92px; margin: 0; padding: 8px 12px;
    border-radius: 0 14px 14px 0;
  }
  .hero-formula > span:first-child { font-size: 12px; margin-bottom: 2px; }
  .hero-formula strong { font-size: 28px; }
  .hero-formula > span:last-child { font-size: 14px; line-height: 1.1; }
  .hero-formula > span:last-child br { display: none; }
  .hero-formula::after { display: none; }
  .values > .section-inner { padding-top: 30px; }
  .values h2 { font-size: 30px; line-height: 35px; margin-bottom: 22px; }
  .values-copy > p { font-size: 19px; line-height: 27px; }
  .values-photo { width: min(70%,300px); margin-top: 24px; }
  .health > .section-inner { padding: 35px 20px; }
  .health h2 { font-size: 28px; line-height: 33px; }
  .health-intro { font-size: 18px; line-height: 26px; }
  .health-intro > p:first-child { margin-top: 24px; }
  .health-intro > p:last-child { margin-top: 20px; }
  .benefits { margin-top: 30px; gap: 20px; }
  .benefit {
    display: grid; grid-template-columns: 96px minmax(0,1fr);
    gap: 16px; padding: 20px 16px; border-radius: 20px;
  }
  .benefit::before { display: none; }
  .benefit > ul {
    grid-column: 2; grid-row: 1;
    padding: 0 0 0 18px; font-size: 18px; line-height: 25px;
  }
  .benefit li { margin-bottom: 12px; }
  .benefit li:last-child { margin-bottom: 0; }
  .leaf-bullet { width: 16px; height: 18px; left: -23px; top: 3px; }
  .benefit-photo {
    grid-column: 1; grid-row: 1;
    width: 96px; height: 96px;
    border-width: 3px; padding: 3px;
    margin: 5px 0 30px;
  }
  .benefit-photo figcaption {
    inset: 0; min-height: 0; font-size: 16px;
  }
  .routine h2 { font-size: 26px; line-height: 31px; padding: 20px; min-height: 0; }
  .routine-body {
    display: grid; grid-template-columns: 118px minmax(0,1fr);
    gap: 26px 12px; padding: 28px 20px;
  }
  .daily-badge { top: 22px; width: 112px; height: 48px; border-radius: 0 15px 15px 0; }
  .daily-badge strong { font-size: 41px; }
  .daily-badge span { font-size: 17px; }
  .routine-product {
    position: relative; grid-column: 1; grid-row: 1;
    left: -20px; width: calc(100% + 20px); max-width: none;
    align-self: center; margin: 40px 0 0;
  }
  .routine-burst { width: 95px; left: 14px; top: 140px; }
  .steps { grid-column: 2; grid-row: 1; gap: 20px; }
  .steps > li { grid-template-columns: 44px minmax(0,1fr); gap: 9px; min-height: 0; align-items: start; }
  .step-icon { width: 44px; margin-top: 3px; }
  .steps h3 { font-size: 16px; line-height: 22px; }
  .steps p { font-size: 18px; line-height: 25px; }
  .routine-message {
    grid-column: 1/-1; grid-row: 2;
    grid-template-columns: 76px minmax(0,1fr); gap: 10px 16px; margin: 0;
  }
  .month-badge { width: 76px; }
  .routine-message .constancy { font-size: 23px; line-height: 27px; }
  .routine-message .duration { font-size: 18px; line-height: 25px; margin-top: 4px; }
  .routine-message .duration br { display: none; }
  .phases > .section-inner { padding: 35px 20px; }
  .phases h2 { font-size: 28px; line-height: 33px; }
  .phases-intro { font-size: 18px; line-height: 26px; margin-top: 22px; }
  .phase-tabs { grid-template-columns: repeat(4,minmax(0,1fr)); gap: 9px; }
  .phase-tabs img { height: 145px; }
  .phase-label { font-size: 14px; line-height: 19px; letter-spacing: 0; min-height: 58px; margin-top: 8px; }
  .phase-panels { margin-top: 20px; }
  .phase-panel h3 { font-size: 18px; padding: 15px; }
  .phase-panel p { font-size: 18px; line-height: 26px; padding: 20px 22px 24px; }
  .nutrition > .section-inner { padding: 15px 20px 35px; }
  .nutrition-card { padding: 62px 24px 28px; font-size: 20px; line-height: 28px; gap: 20px; }
  .formula > .section-inner { padding: 35px 20px 28px; }
  .formula h2 { font-size: 30px; line-height: 37px; }
  .formula-intro { margin: 22px auto 28px; padding: 0; font-size: 18px; line-height: 26px; }
  .formula-category { grid-template-columns: minmax(0,1fr) 56px; gap: 3px 12px; padding: 20px; }
  .formula-category h3 { font-size: 23px; line-height: 28px; overflow-wrap: normal; }
  .formula-category > p { font-size: 17px; line-height: 23px; }
  .formula-category figure { grid-column: 2; grid-row: 1/3; width: 56px; margin: 0; }
  .ingredients { padding: 4px 20px 24px 44px; }
  .ingredients h4 { font-size: 21px; line-height: 27px; }
  .ingredients p { font-size: 18px; line-height: 25px; }
  .ingredients li { padding-bottom: 20px; }
  .ingredients li::before { width: 14px; height: 14px; left: -22px; top: 6px; }
  .ingredients li::after { left: -16px; top: 13px; }
  .faq > .section-inner { padding: 35px 20px; }
  .faq h2 { font-size: 28px; margin-bottom: 22px; }
  .faq-list summary { font-size: 18px; line-height: 26px; }
  .faq-list details > div { font-size: 18px; line-height: 26px; padding-bottom: 20px; }
  .closing::before { height: 260px; background-size: auto 260px; }
  .closing > .section-inner { min-height: 0; padding: 280px 20px 28px; }
  .closing-points { width: 100%; margin: 0; padding: 0 0 0 20px; font-size: 22px; line-height: 31px; }
  .closing-actions { margin-top: 20px; display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 12px; }
  .closing .button { min-height: 60px; font-size: 16px; padding: 12px; white-space: normal; line-height: 21px; }
  .site-footer > .section-inner { padding: 26px 20px; }
  .legal { font-size: 16px; line-height: 24px; }
  .review-notes { margin-top: 25px; }
}
@media (max-width:360px) {
  .benefit { grid-template-columns: 78px minmax(0,1fr); gap: 12px; padding-inline: 12px; }
  .benefit-photo { width: 78px; height: 78px; }
  .benefit-photo figcaption { font-size: 14px; }
  .routine-body { grid-template-columns: 87px minmax(0,1fr); gap: 22px 9px; }
  .formula-category { grid-template-columns: minmax(0,1fr) 44px; padding: 18px 15px; gap: 10px; }
  .formula-category figure { width: 44px; }
  .formula-category h3 { font-size: 22px; line-height: 27px; }
}

.formula-category > p{color:#b70c58}
.hero-strapline { color:#8d0b43; }
.steps p, .steps h3, .routine-message .duration, .review-notes { color:#62594f; }
@media(min-width:1251px){.phase-panel p{letter-spacing:.35px}.formula-intro{letter-spacing:.15px}}
.desktop-copy-break { display:none; }
@media(min-width:1251px) {
  .desktop-copy-break { display:initial; }
  .phase-panel p { padding-inline:28px; }
  .formula-intro { width:700px; left:calc(50% - 350px); }
  .formula-intro .reference-line { display:block; white-space:nowrap; }
  .formula-row:last-child .formula-category h3 { width:450px; }
}
@media(max-width:360px) {
  .formula-category h3 { grid-column:1/-1; }
  .formula-category figure { grid-row:2; }
}

@media(min-width:1251px) and (max-width:1365px){.phase-panel p{font-size:18px;line-height:26px;padding-inline:20px}}
@media(min-width:1024px) and (max-width:1250px){#primary-navigation{gap:10px}#primary-navigation>a{font-size:12px;letter-spacing:0}}

/* P05.3: source typography metrics, only when the verified Adobe kit is enabled. */
@media(max-width:1023px) {
  .header-enhanced #primary-navigation:not([data-menu-ready]) { display:none; }
}
@media(min-width:641px) and (max-width:700px) {
  .formula-category { padding-inline:16px; }
}
@media(min-width:1251px) and (max-width:1365px) {
  .header-inner { padding-inline:56px; gap:32px; }
}
html[data-font-source^="adobe"] .daily-badge strong,
html[data-font-source^="adobe"] .daily-badge span { font-family:inherit; font-weight:inherit; font-style:inherit; }
@media(min-width:1251px) {
  html[data-font-source^="adobe"] #primary-navigation > a { letter-spacing:.6px; }
  html[data-font-source^="adobe"] #primary-navigation .button { font-size:16.4988px; letter-spacing:-.0165px; }
  html[data-font-source^="adobe"] .hero-strapline { letter-spacing:1.08px; }
  html[data-font-source^="adobe"] .hero-slogan { line-height:52.854px; }
  html[data-font-source^="adobe"] .hero .cta { font-size:19.4672px; }
  html[data-font-source^="adobe"] .values h2 { line-height:52.854px; }
  html[data-font-source^="adobe"] .values-copy > p,
  html[data-font-source^="adobe"] .health-intro,
  html[data-font-source^="adobe"] .phases-intro,
  html[data-font-source^="adobe"] .nutrition-card,
  html[data-font-source^="adobe"] .formula-intro { line-height:34.0078px; letter-spacing:0; }
  html[data-font-source^="adobe"] .phases-intro { max-width:850px; }
  html[data-font-source^="adobe"] .phase-label,
  html[data-font-source^="adobe"] .phase-panel h3 { font-size:19.606px; letter-spacing:4.31332px; }
  html[data-font-source^="adobe"] .phase-panel p { font-size:19.606px; line-height:28.4287px; letter-spacing:.39212px; padding-inline:30px; padding-top:78px; }
  html[data-font-source^="adobe"] .formula h2 { letter-spacing:-.46px; line-height:59.15625px; }
  html[data-font-source^="adobe"] .formula-row .formula-category h3 { width:505px; letter-spacing:0; }
  html[data-font-source^="adobe"] .formula-row:last-child .formula-category h3 { width:480px; }
  html[data-font-source^="adobe"] .formula-row .ingredients p { letter-spacing:0; line-height:29px; max-width:500px; }
  html[data-font-source^="adobe"] .steps > li { grid-template-columns:157px 230px; }
  html[data-font-source^="adobe"] .steps > li > div { max-width:230px; }
  html[data-font-source^="adobe"] .steps > li:first-child > div { max-width:210px; }
  html[data-font-source^="adobe"] .steps > li:last-child p { max-width:120px; }
  html[data-font-source^="adobe"] .routine-message .constancy { font-size:33.3724px; line-height:35.8px; margin-top:45px; margin-bottom:25px; }
  html[data-font-source^="adobe"] .closing-points { font-size:29.2045px; line-height:43.0767px; }
}

/* P06/P07: real-background contrast, after the earlier palette overrides. */
.hero-slogan { color:#51483f; }
.hero-slogan em { color:#28620b; }
.brand-pink { color:#a5094b; }
.brand-green { color:#2b5e12; }
.formula h2 strong { color:#ca0058; }
.formula-intro { color:#70424b; }
.reference-mark { color:#8d0b43; }
.phase-tabs > button[aria-selected=true] { outline-color:var(--readable-green); }
@media (max-width:360px) {
  .hero .cta { padding-inline:4px; }
}
