:root {
  --navy-950: #07162f;
  --navy-900: #0d2348;
  --navy-800: #11315f;
  --blue-700: #1454a3;
  --blue-600: #1674cf;
  --blue-500: #2695e8;
  --blue-100: #e9f4ff;
  --ice: #f4f9fd;
  --surface: #ffffff;
  --ink: #101b2d;
  --muted: #5e6c7e;
  --line: #dce5ef;
  --charcoal: #263241;
  --success: #1e7e6f;
  --warning: #a86414;
  --shadow: 0 24px 70px rgba(7, 22, 47, 0.14);
  --shadow-soft: 0 14px 36px rgba(13, 35, 72, 0.1);
  --radius: 8px;
  --container: 1180px;
  --font-heading: "Manrope", "Plus Jakarta Sans", "Inter", system-ui, sans-serif;
  --font-body: "Inter", "Source Sans 3", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 96px;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--surface);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.65;
  text-rendering: optimizeLegibility;
}

body.modal-open {
  overflow: hidden;
}

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

a {
  color: inherit;
  text-decoration: none;
}

button,
input {
  font: inherit;
}

button {
  cursor: pointer;
}

:focus-visible {
  outline: 3px solid rgba(38, 149, 232, 0.78);
  outline-offset: 3px;
}

.container {
  width: min(100% - 40px, var(--container));
  margin-inline: auto;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.skip-link {
  position: fixed;
  inset: 14px auto auto 14px;
  z-index: 1000;
  transform: translateY(-140%);
  padding: 10px 14px;
  color: var(--surface);
  background: var(--navy-950);
  border-radius: 6px;
}

.skip-link:focus {
  transform: translateY(0);
}

.notice-strip {
  color: #d7ebff;
  background: linear-gradient(90deg, var(--navy-950), var(--navy-900));
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
}

.notice-strip p {
  width: min(100% - 40px, var(--container));
  margin: 0 auto;
  padding: 9px 0;
  font-size: 0.86rem;
  text-align: center;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0.91);
  border-bottom: 1px solid rgba(220, 229, 239, 0.85);
  backdrop-filter: blur(18px);
  transition: box-shadow 180ms ease, background 180ms ease;
}

.site-header.is-scrolled {
  background: rgba(255, 255, 255, 0.96);
  box-shadow: 0 10px 32px rgba(7, 22, 47, 0.08);
}

.header-inner {
  min-height: 74px;
  display: flex;
  align-items: center;
  gap: 28px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-width: max-content;
  color: var(--navy-950);
}

.brand-mark {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border-radius: 8px;
  color: var(--surface);
  background: linear-gradient(135deg, var(--navy-950), var(--blue-600));
  font-family: var(--font-heading);
  font-weight: 800;
  letter-spacing: 0;
}

.brand strong,
.brand small {
  display: block;
}

.brand strong {
  font-family: var(--font-heading);
  font-size: 1rem;
  line-height: 1.15;
}

.brand small {
  color: var(--muted);
  font-size: 0.74rem;
  line-height: 1.25;
}

.primary-nav {
  display: flex;
  align-items: center;
  gap: 22px;
  margin-left: auto;
  color: var(--charcoal);
  font-weight: 700;
  font-size: 0.91rem;
}

.primary-nav a {
  position: relative;
  padding: 24px 0;
}

.primary-nav a::after {
  content: "";
  position: absolute;
  inset: auto 0 18px;
  height: 2px;
  transform: scaleX(0);
  background: var(--blue-600);
  transform-origin: center;
  transition: transform 170ms ease;
}

.primary-nav a:hover::after,
.primary-nav a:focus-visible::after {
  transform: scaleX(1);
}

.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  margin-left: auto;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface);
}

.nav-toggle-bars,
.nav-toggle-bars::before,
.nav-toggle-bars::after {
  display: block;
  width: 20px;
  height: 2px;
  margin-inline: auto;
  background: var(--navy-950);
  border-radius: 999px;
  transition: transform 170ms ease, opacity 170ms ease;
}

.nav-toggle-bars::before,
.nav-toggle-bars::after {
  content: "";
}

.nav-toggle-bars::before {
  transform: translateY(-7px);
}

.nav-toggle-bars::after {
  transform: translateY(5px);
}

.nav-toggle[aria-expanded="true"] .nav-toggle-bars {
  transform: rotate(45deg);
}

.nav-toggle[aria-expanded="true"] .nav-toggle-bars::before {
  transform: translateY(0) rotate(90deg);
}

.nav-toggle[aria-expanded="true"] .nav-toggle-bars::after {
  opacity: 0;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 13px 20px;
  border: 1px solid transparent;
  border-radius: 8px;
  font-weight: 800;
  line-height: 1.15;
  text-align: center;
  transition: transform 170ms ease, box-shadow 170ms ease, background 170ms ease, border-color 170ms ease;
}

.button:hover {
  transform: translateY(-1px);
}

.button-primary {
  color: var(--surface);
  background: linear-gradient(135deg, var(--blue-700), var(--blue-500));
  box-shadow: 0 16px 32px rgba(20, 84, 163, 0.22);
}

.button-primary:hover {
  box-shadow: 0 18px 38px rgba(20, 84, 163, 0.28);
}

.button-secondary {
  color: var(--navy-950);
  background: rgba(255, 255, 255, 0.88);
  border-color: rgba(20, 84, 163, 0.24);
}

.button-light {
  color: var(--navy-950);
  background: var(--surface);
  box-shadow: 0 16px 36px rgba(2, 9, 22, 0.24);
}

.button-small {
  min-height: 42px;
  padding: 11px 15px;
  font-size: 0.9rem;
}

.hero {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  padding: 84px 0 58px;
  color: var(--surface);
  background: linear-gradient(135deg, var(--navy-950) 0%, var(--navy-900) 48%, #0f437c 100%);
}

.hero-bg {
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    radial-gradient(circle at 75% 24%, rgba(38, 149, 232, 0.22), transparent 28%),
    linear-gradient(120deg, rgba(255, 255, 255, 0.06) 0 1px, transparent 1px 100%);
  background-size: auto, 48px 48px;
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(340px, 1.05fr);
  align-items: center;
  gap: 56px;
}

.eyebrow {
  margin: 0 0 12px;
  color: var(--blue-500);
  font-weight: 900;
  font-size: 0.78rem;
  letter-spacing: 0;
  text-transform: uppercase;
}

.hero .eyebrow,
.final-cta .eyebrow {
  color: #9ed9ff;
}

h1,
h2,
h3 {
  margin: 0;
  color: var(--navy-950);
  font-family: var(--font-heading);
  line-height: 1.08;
  letter-spacing: 0;
}

.hero h1,
.final-cta h2 {
  color: var(--surface);
}

h1 {
  max-width: 760px;
  font-size: clamp(2.55rem, 6vw, 5.35rem);
  line-height: 0.98;
}

h2 {
  font-size: clamp(2rem, 4vw, 3.35rem);
}

h3 {
  font-size: 1.18rem;
  line-height: 1.2;
}

p {
  margin: 0;
}

.hero-lede {
  max-width: 650px;
  margin-top: 24px;
  color: #d9ebfb;
  font-size: 1.12rem;
}

.hero-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 28px;
}

.hero-chips span {
  padding: 9px 12px;
  color: #dff2ff;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 999px;
  font-size: 0.9rem;
  font-weight: 800;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 13px;
  margin-top: 32px;
}

.affiliate-note {
  max-width: 620px;
  margin-top: 18px;
  color: #bad4e9;
  font-size: 0.88rem;
}

.hero-product {
  position: relative;
  min-height: 480px;
  display: grid;
  place-items: center;
}

.hero-product picture {
  position: relative;
  z-index: 2;
  width: min(100%, 620px);
  filter: drop-shadow(0 28px 50px rgba(2, 9, 22, 0.4));
}

.molecule-field {
  position: absolute;
  inset: 7% 0 10% 10%;
  z-index: 1;
  border: 1px solid rgba(158, 217, 255, 0.18);
  border-radius: 8px;
  background:
    linear-gradient(120deg, transparent 0 47%, rgba(158, 217, 255, 0.3) 48% 49%, transparent 50%),
    linear-gradient(48deg, transparent 0 44%, rgba(38, 149, 232, 0.18) 45% 46%, transparent 47%);
  opacity: 0.7;
}

.molecule-field span {
  position: absolute;
  width: 10px;
  height: 10px;
  background: #86d8ff;
  border-radius: 50%;
  box-shadow: 0 0 28px rgba(134, 216, 255, 0.9);
}

.molecule-field span:nth-child(1) { top: 18%; left: 18%; }
.molecule-field span:nth-child(2) { top: 34%; left: 63%; }
.molecule-field span:nth-child(3) { top: 64%; left: 29%; }
.molecule-field span:nth-child(4) { top: 76%; left: 78%; }
.molecule-field span:nth-child(5) { top: 11%; left: 85%; }

.float-card {
  position: absolute;
  z-index: 3;
  width: 156px;
  padding: 14px;
  color: var(--navy-950);
  background: rgba(255, 255, 255, 0.92);
  border: 1px solid rgba(255, 255, 255, 0.76);
  border-radius: 8px;
  box-shadow: 0 20px 46px rgba(2, 9, 22, 0.22);
}

.float-card strong,
.float-card span {
  display: block;
}

.float-card strong {
  font-family: var(--font-heading);
}

.float-card span {
  margin-top: 3px;
  color: var(--muted);
  font-size: 0.9rem;
  line-height: 1.35;
}

.card-serving {
  top: 11%;
  right: 1%;
}

.card-zinc {
  left: 1%;
  bottom: 14%;
}

.quick-facts {
  position: relative;
  z-index: 2;
  margin-top: -34px;
}

.fact-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
}

.fact-grid article,
.ingredient-card,
.offer-card,
.info-panel,
.checklist article,
.faq-item {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow-soft);
}

.fact-grid article {
  padding: 22px;
}

.fact-number {
  display: inline-flex;
  min-height: 36px;
  align-items: baseline;
  color: var(--blue-600);
  font-family: var(--font-heading);
  font-size: 1.85rem;
  font-weight: 900;
  line-height: 1;
}

.fact-grid h3 {
  margin-top: 10px;
}

.fact-grid p {
  margin-top: 8px;
  color: var(--muted);
  font-size: 0.95rem;
}

.section {
  padding: 92px 0;
}

.section:nth-of-type(even) {
  background: var(--ice);
}

.split-grid,
.guarantee-grid,
.research-grid,
.lifestyle-grid,
.checklist-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 56px;
  align-items: center;
}

.split-grid p:not(.eyebrow),
.guarantee-grid p,
.research-grid p,
.lifestyle-grid p,
.checklist-grid p,
.section-heading p {
  color: var(--muted);
  font-size: 1.02rem;
}

.split-grid p + p,
.guarantee-grid p + .button,
.guarantee-grid p + p,
.research-grid p + p,
.checklist-grid p + p {
  margin-top: 16px;
}

.notice-box,
.science-note,
.safety-box {
  margin-top: 24px;
  padding: 22px;
  background: #f8fbff;
  border: 1px solid #cfe2f5;
  border-left: 4px solid var(--blue-600);
  border-radius: var(--radius);
}

.notice-box strong {
  display: block;
  margin-bottom: 6px;
  color: var(--navy-950);
  font-family: var(--font-heading);
}

.image-panel {
  overflow: hidden;
  background: linear-gradient(135deg, #eef5fb, #d8e3ed);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.image-panel img {
  width: 100%;
}

.image-panel.compact {
  padding: 20px;
}

.reverse .image-panel {
  order: -1;
}

.section-heading {
  max-width: 760px;
  margin: 0 auto 42px;
  text-align: center;
}

.section-heading.align-left {
  margin-inline: 0;
  text-align: left;
}

.section-heading p:last-child {
  margin-top: 16px;
}

.ingredient-card-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.ingredient-card {
  min-height: 204px;
  padding: 24px;
}

.ingredient-card span {
  display: inline-flex;
  margin-bottom: 18px;
  padding: 6px 10px;
  color: var(--blue-700);
  background: var(--blue-100);
  border-radius: 999px;
  font-size: 0.78rem;
  font-weight: 900;
}

.ingredient-card p {
  margin-top: 12px;
  color: var(--muted);
}

.ingredient-card-feature {
  grid-column: span 3;
  min-height: auto;
  color: var(--surface);
  background: linear-gradient(135deg, var(--navy-950), var(--blue-700));
  border-color: rgba(255, 255, 255, 0.12);
}

.ingredient-card-feature h3,
.ingredient-card-feature p {
  color: var(--surface);
}

.ingredient-card-feature span {
  color: var(--navy-950);
  background: #d9f2ff;
}

.tick-list,
.foundation-list {
  display: grid;
  gap: 12px;
  margin: 24px 0 0;
  padding: 0;
  list-style: none;
}

.tick-list li,
.foundation-list li {
  position: relative;
  padding-left: 28px;
  color: var(--charcoal);
}

.tick-list li::before,
.foundation-list li::before {
  content: "";
  position: absolute;
  top: 0.67em;
  left: 0;
  width: 11px;
  height: 11px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--blue-700), var(--blue-500));
  box-shadow: 0 0 0 4px var(--blue-100);
}

.table-wrap {
  overflow-x: auto;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
  box-shadow: var(--shadow-soft);
}

table {
  width: 100%;
  min-width: 760px;
  border-collapse: collapse;
}

th,
td {
  padding: 18px;
  text-align: left;
  vertical-align: top;
  border-bottom: 1px solid var(--line);
}

thead th {
  color: var(--surface);
  background: var(--navy-900);
  font-family: var(--font-heading);
  font-size: 0.92rem;
}

tbody th {
  color: var(--navy-950);
  font-family: var(--font-heading);
}

tbody td {
  color: var(--muted);
}

tbody tr:last-child th,
tbody tr:last-child td {
  border-bottom: 0;
}

.table-note {
  margin-top: 18px;
  color: var(--muted);
  font-size: 0.95rem;
}

.research-section {
  background: var(--navy-950);
}

.research-section h2,
.research-section p {
  color: var(--surface);
}

.research-section .science-note {
  color: #d7ebff;
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(158, 217, 255, 0.32);
  border-left-color: #9ed9ff;
}

.research-links {
  display: grid;
  gap: 12px;
}

.research-links a {
  padding: 18px 20px;
  color: var(--surface);
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: var(--radius);
  font-weight: 800;
}

.research-links a:hover {
  background: rgba(255, 255, 255, 0.14);
}

.routine-steps {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  counter-reset: steps;
}

.routine-steps article {
  position: relative;
  min-height: 214px;
  padding: 28px;
  background: linear-gradient(180deg, #ffffff, #f7fbff);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow-soft);
}

.routine-steps span {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  margin-bottom: 22px;
  color: var(--surface);
  background: var(--navy-950);
  border-radius: 50%;
  font-family: var(--font-heading);
  font-weight: 900;
}

.routine-steps p {
  margin-top: 10px;
  color: var(--muted);
}

.lifestyle-section {
  background: linear-gradient(135deg, #edf6fb, #ffffff);
}

.foundation-list {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  padding: 28px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow-soft);
}

.two-column-cards {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 22px;
}

.info-panel {
  padding: 32px;
}

.info-panel p:not(.eyebrow) {
  margin-top: 16px;
  color: var(--muted);
}

.warning-panel {
  border-left: 4px solid var(--warning);
}

.safety-box {
  max-width: 920px;
  margin: 0 auto;
  padding: 34px;
  background: #fffaf1;
  border-color: #f0d3a6;
  border-left-color: var(--warning);
}

.safety-box p:not(.eyebrow) {
  margin-top: 14px;
  color: #5d4b37;
}

.offer-section {
  background: linear-gradient(180deg, var(--ice), #ffffff);
}

.offer-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
}

.offer-card {
  display: flex;
  flex-direction: column;
  min-height: 100%;
  padding: 22px;
}

.offer-card picture {
  display: grid;
  place-items: center;
  min-height: 190px;
  margin: -4px -4px 22px;
  padding: 10px;
  background: linear-gradient(135deg, #eef5fb, #dbe7ef);
  border-radius: 7px;
}

.offer-card img {
  width: 100%;
  max-height: 210px;
  object-fit: contain;
}

.offer-card p {
  margin-top: 12px;
  color: var(--muted);
}

.offer-card strong {
  display: block;
  margin: 18px 0;
  color: var(--navy-950);
  font-family: var(--font-heading);
}

.offer-card .button {
  margin-top: auto;
  width: 100%;
}

.offer-disclosure {
  max-width: 860px;
  margin: 22px auto 0;
  color: var(--muted);
  text-align: center;
  font-size: 0.95rem;
}

.guarantee-section {
  background: var(--navy-950);
  color: var(--surface);
}

.guarantee-section h2,
.guarantee-section p {
  color: var(--surface);
}

.guarantee-section .button {
  margin-top: 26px;
}

.guarantee-grid picture {
  overflow: hidden;
  border-radius: var(--radius);
  background: #aeb7c0;
  box-shadow: 0 28px 60px rgba(2, 9, 22, 0.38);
}

.checklist {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.checklist article {
  padding: 20px;
}

.checklist p {
  margin-top: 8px;
}

.faq-list {
  max-width: 900px;
  margin-inline: auto;
  display: grid;
  gap: 12px;
}

.faq-item {
  overflow: hidden;
}

.faq-item h3 {
  font-size: 1rem;
}

.faq-item button {
  position: relative;
  width: 100%;
  padding: 22px 58px 22px 22px;
  color: var(--navy-950);
  background: transparent;
  border: 0;
  text-align: left;
  font-weight: 900;
}

.faq-item button::after {
  content: "+";
  position: absolute;
  top: 50%;
  right: 22px;
  transform: translateY(-50%);
  color: var(--blue-600);
  font-size: 1.5rem;
  line-height: 1;
}

.faq-item button[aria-expanded="true"]::after {
  content: "-";
}

.faq-answer {
  padding: 0 22px 22px;
  color: var(--muted);
}

.final-cta {
  overflow: hidden;
  padding: 80px 0;
  color: var(--surface);
  background:
    radial-gradient(circle at 85% 15%, rgba(38, 149, 232, 0.22), transparent 28%),
    linear-gradient(135deg, var(--navy-950), var(--blue-700));
}

.final-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(280px, 0.7fr);
  gap: 46px;
  align-items: center;
}

.final-grid p {
  max-width: 620px;
  margin: 18px 0 28px;
  color: #d7ebff;
}

.final-grid picture {
  justify-self: end;
  width: min(100%, 440px);
  filter: drop-shadow(0 28px 46px rgba(2, 9, 22, 0.35));
}

.site-footer {
  padding: 54px 0 92px;
  color: #d9e8f5;
  background: #061126;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.7fr 0.8fr;
  gap: 36px;
}

.footer-brand {
  color: var(--surface);
}

.site-footer p {
  max-width: 460px;
  margin-top: 14px;
  color: #aebfd2;
  font-size: 0.94rem;
}

.site-footer nav {
  display: grid;
  gap: 10px;
  align-content: start;
}

.site-footer nav a,
.site-footer nav button {
  padding: 0;
  color: #d9e8f5;
  background: transparent;
  border: 0;
  text-align: left;
  font-weight: 700;
}

.site-footer nav a:hover,
.site-footer nav button:hover {
  color: #9ed9ff;
}

.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  justify-content: space-between;
  margin-top: 38px;
  padding-top: 22px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-bottom p {
  max-width: 540px;
  margin: 0;
}

.mobile-sticky-cta {
  position: fixed;
  right: 14px;
  bottom: 14px;
  left: 14px;
  z-index: 90;
  display: none;
  min-height: 50px;
  align-items: center;
  justify-content: center;
  color: var(--surface);
  background: linear-gradient(135deg, var(--blue-700), var(--blue-500));
  border-radius: 8px;
  box-shadow: 0 16px 36px rgba(7, 22, 47, 0.26);
  font-weight: 900;
}

dialog {
  width: min(92vw, 720px);
  padding: 34px;
  border: 0;
  border-radius: 8px;
  color: var(--ink);
  background: var(--surface);
  box-shadow: 0 36px 90px rgba(2, 9, 22, 0.38);
}

dialog::backdrop {
  background: rgba(2, 9, 22, 0.64);
  backdrop-filter: blur(5px);
}

dialog h2 {
  padding-right: 84px;
  font-size: clamp(1.7rem, 4vw, 2.4rem);
}

dialog p {
  margin-top: 16px;
  color: var(--muted);
}

.modal-close {
  position: absolute;
  top: 18px;
  right: 18px;
  min-width: 64px;
  min-height: 40px;
  padding: 8px 11px;
  color: var(--navy-950);
  background: var(--blue-100);
  border: 1px solid #cbe4fa;
  border-radius: 8px;
  font-weight: 800;
}

.exit-modal {
  width: min(94vw, 880px);
}

.exit-grid {
  display: grid;
  grid-template-columns: minmax(180px, 0.72fr) minmax(0, 1fr);
  gap: 26px;
  align-items: center;
}

.exit-grid picture {
  padding: 12px;
  background: linear-gradient(135deg, #edf6fb, #d6e4ee);
  border-radius: 8px;
}

.exit-grid .button {
  margin-top: 24px;
}

@media (max-width: 1020px) {
  .header-inner {
    gap: 16px;
  }

  .primary-nav {
    gap: 14px;
    font-size: 0.84rem;
  }

  .hero-grid,
  .split-grid,
  .guarantee-grid,
  .research-grid,
  .lifestyle-grid,
  .checklist-grid,
  .final-grid {
    grid-template-columns: 1fr;
  }

  .hero {
    padding-top: 62px;
  }

  .hero-product {
    min-height: 420px;
  }

  .fact-grid,
  .offer-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .ingredient-card-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .ingredient-card-feature {
    grid-column: span 2;
  }

  .final-grid picture {
    justify-self: start;
  }
}

@media (max-width: 820px) {
  body {
    padding-bottom: 70px;
  }

  .container {
    width: min(100% - 28px, var(--container));
  }

  .header-inner {
    min-height: 66px;
  }

  .nav-toggle {
    display: grid;
    place-items: center;
  }

  .primary-nav {
    position: absolute;
    top: calc(100% + 1px);
    right: 14px;
    left: 14px;
    display: none;
    grid-template-columns: 1fr;
    gap: 0;
    margin: 0;
    padding: 10px;
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: 8px;
    box-shadow: var(--shadow);
  }

  .primary-nav.is-open {
    display: grid;
  }

  .primary-nav a {
    padding: 14px;
    border-radius: 6px;
  }

  .primary-nav a::after {
    display: none;
  }

  .primary-nav a:hover {
    background: var(--blue-100);
  }

  .header-cta {
    display: none;
  }

  .mobile-sticky-cta {
    display: flex;
  }

  .hero {
    padding: 54px 0 48px;
  }

  .hero-grid {
    gap: 34px;
  }

  h1 {
    font-size: clamp(2.35rem, 14vw, 4rem);
  }

  h2 {
    font-size: clamp(1.85rem, 9vw, 2.8rem);
  }

  .hero-product {
    min-height: 330px;
  }

  .float-card {
    position: static;
    width: auto;
    margin-top: 10px;
  }

  .hero-product {
    align-content: center;
  }

  .molecule-field {
    inset: 4%;
  }

  .fact-grid,
  .ingredient-card-grid,
  .routine-steps,
  .offer-grid,
  .two-column-cards,
  .foundation-list,
  .checklist,
  .footer-grid,
  .exit-grid {
    grid-template-columns: 1fr;
  }

  .ingredient-card-feature {
    grid-column: auto;
  }

  .section {
    padding: 68px 0;
  }

  .quick-facts {
    margin-top: 0;
    padding: 22px 0;
    background: var(--ice);
  }

  .fact-grid article,
  .info-panel,
  .safety-box,
  dialog {
    padding: 24px;
  }

  .exit-grid picture {
    max-width: 260px;
  }
}

@media (max-width: 520px) {
  .notice-strip p {
    font-size: 0.78rem;
  }

  .brand small {
    display: none;
  }

  .hero-actions,
  .hero-actions .button {
    width: 100%;
  }

  .hero-chips {
    display: grid;
    grid-template-columns: 1fr;
  }

  .offer-card picture {
    min-height: 150px;
  }

  .offer-card img {
    max-height: 170px;
  }

  th,
  td {
    padding: 14px;
  }

  .footer-bottom {
    display: grid;
  }

  dialog h2 {
    padding-right: 0;
    margin-top: 38px;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition: none !important;
    animation: none !important;
  }
}
