/* =========================================================
   Regenix 2026 – home page styles
   Everything is scoped under .rgx (the <main> element on the
   home page), so it can't affect the rest of the current site.
   ========================================================= */
#main-canvas #mc_embed_signup .mc-field-group {
	width:34.5% !important;
}
.rgx {
  --rgx-azure: #02425c;      /* main buttons, links, dark sections */
  --rgx-ivory: #fffbec;      /* main background */
  --rgx-ocean: #e7f2f5;      /* occasional section backgrounds */
  --rgx-soft: #8fc0d9;       /* eyebrows, dividers, accents */
  --rgx-blue: #006eb2;       /* sparing highlights */
  --rgx-ink: #1f2a30;        /* body text */
  --rgx-muted: #5b6b73;      /* secondary text */
  --rgx-line: rgba(2, 66, 92, 0.14);

  --rgx-serif: "Droid Serif", "Noto Serif", Georgia, "Times New Roman", serif;
  --rgx-sans: "Nunito Sans", "Helvetica Neue", Arial, sans-serif;

  --rgx-wrap: 90vw;
  --rgx-gutter: clamp(20px, 4vw, 40px);
  --rgx-section: clamp(64px, 8vw, 112px);
  --rgx-header-space: 120px; /* room for the site's navigation over the hero */

  background: var(--rgx-ivory);
  color: var(--rgx-ink);
  font-family: var(--rgx-sans);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

.rgx *, .rgx *::before, .rgx *::after { box-sizing: border-box; }
.rgx img { max-width: 100%; height: auto; display: block; }
.rgx a { color: inherit; }
.rgx p { margin: 0 0 1em; }
.rgx ul { margin: 0; padding: 0; }
.rgx button { font: inherit; }

/* ---------- Guard against the site's older global styles ---------- */
.rgx section { margin: 0; }
.rgx .rgx-hero, .rgx .rgx-approach { padding: 0; }
.rgx p, .rgx li { font-family: inherit; font-size: inherit; line-height: inherit; color: inherit; }
.rgx h1, .rgx h2, .rgx h3 { text-transform: none; }

/* ---------- Type ---------- */
.rgx h1, .rgx h2, .rgx h3, .rgx .rgx-serif {
  font-family: var(--rgx-serif);
  font-weight: 400;
  line-height: 1.15;
  letter-spacing: -0.01em;
  margin: 0;
  color: inherit;
}
.rgx h1, .rgx-hero .rgx-hero__text h2 { font-size: clamp(46px, 5.2vw, 64px); }
.rgx h2 { font-size: clamp(36px, 5vw, 54px); }
.rgx h3 { font-size: clamp(20px, 1.8vw, 24px); }
.rgx em, .rgx .rgx-accent { font-style: italic; color: var(--rgx-azure); }
.rgx .rgx-on-dark em { color: var(--rgx-soft); }

.rgx .rgx-eyebrow {
  display: block;
  text-transform: uppercase;
  font-family: var(--rgx-sans);
  font-size: 13px !important;
  font-weight: 400 !important;
  letter-spacing: 0.1em !important;
  margin: 0 0 14px;
}
.rgx .rgx-lead { font-size: 16px; color: var(--rgx-muted); }
.rgx .rgx-on-dark .rgx-lead { color: rgba(255, 251, 236, 0.85); }
.rgx .rgx-fine { font-size: 12px; color: var(--rgx-muted); max-width:80%; }
.rgx .rgx-center { text-align: center; }
.rgx .rgx-center .rgx-lead { max-width: 900px; margin-left: auto; margin-right: auto; text-wrap: pretty; }

/* ---------- Layout ---------- */
.rgx-wrap { max-width: var(--rgx-wrap); margin: 0 auto; padding: 0 var(--rgx-gutter); }
.rgx-section { padding: var(--rgx-section) 0; }
.rgx-section--ocean { background: var(--rgx-ocean); }
.rgx-divider { border: 0; border-top: 1px solid var(--rgx-line); margin: 0; }

/* ---------- Buttons ---------- */
.rgx-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 13px 28px;
  border-radius: 999px;
  border: 1px solid var(--rgx-azure);
  background: var(--rgx-azure);
  color: var(--rgx-ivory) !important;
  font-family: var(--rgx-sans);
  font-size: 16px;
  line-height: 1.2;
  text-decoration: none !important;
  cursor: pointer;
  transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}
.rgx-btn:hover { background: transparent; border-color: #fff; transition: all ease .2s;}
.rgx-btn:hover svg {
	transform:rotate(45deg);
	transition: all ease .2s;
}
.rgx-btn svg, .rgx-link svg { flex: 0 0 auto; display: inline-block; vertical-align: middle; transform:rotate(0); transition: all ease .2s; }
.rgx-link svg { margin-left: 3px; }
.rgx-btn--outline { background: transparent; color: var(--rgx-azure) !important; }
.rgx-btn--outline:hover { background: var(--rgx-azure); color: var(--rgx-ivory) !important; }
.rgx-btn--light { background: transparent; border-color: var(--rgx-ivory); color: var(--rgx-ivory) !important; }
.rgx-btn--light:hover { background: var(--rgx-ivory); color: var(--rgx-azure) !important; }
.rgx-btn--soft { background: var(--rgx-soft); border-color: var(--rgx-soft); color: var(--rgx-azure) !important; }
.rgx-btn--soft:hover { background: #a6cfe2; border-color: #a6cfe2; }
.rgx-btn--wide { min-width: min(100%, 420px); }
.rgx-btn-row { display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; margin-top: 36px; }

.rgx-link {
  font-size: 16px;
  text-decoration: none;
  border-bottom: 1px solid currentColor;
  padding-bottom: 1px;
}
.rgx-link:hover {
	text-decoration:none;
	border-color:#8fc0d9;
}
/* ---------- Hero slider ---------- */
.rgx-hero { position: relative; min-height: min(92vh, 860px); overflow: hidden; background: var(--rgx-azure); color: #fff; }
.rgx-hero__slide {
  position: absolute; inset: 0;
  opacity: 0; visibility: hidden;
  transition: opacity 0.8s ease, visibility 0.8s;
}
.rgx-hero__slide.is-active { opacity: 1; visibility: visible; }
.rgx-hero__img { position: absolute; inset: 0; width: 100%; height: 100% !important; object-fit: cover; }
.rgx-hero__slide::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(90deg, rgba(2,30,44,0.82) 0%, rgba(2,40,58,0.55) 38%, rgba(2,40,58,0) 65%);
}
.rgx-hero__content {
  position: relative; z-index: 2;
  height: 100%;
  display: flex; flex-direction: column; justify-content: center;
  padding-top: var(--rgx-header-space); padding-bottom: 80px;
}
.rgx-hero__text { max-width: 600px; }
.rgx-hero h1, .rgx-hero h2 { color: #fff; margin-bottom: 26px; }
.rgx-hero p { font-size: 18px; color: #fff; margin-bottom: 34px; }
.rgx-hero .rgx-btn { width: 100%; max-width: 560px; padding: 13px 28px; font-size: 16px; }
.rgx-hero__dots { position: absolute; z-index: 3; right: var(--rgx-gutter); bottom: 28px; display: flex; gap: 8px; }
.rgx-hero__dot { width: 8px; height: 8px; border-radius: 999px; border: 0; background: rgba(255,255,255,0.5); cursor: pointer; padding: 0; transition: width 0.2s ease; }
.rgx-hero__dot.is-active { width: 26px; background: #fff; }
.rgx-hero { min-height: max(620px, min(92vh, 860px)); }

@media (max-width: 767px) {
  .rgx-hero__slide::after { background: linear-gradient(0deg, rgba(2,30,44,0.9) 0%, rgba(2,40,58,0.6) 55%, rgba(2,40,58,0.15) 100%); }
  .rgx-hero__content { justify-content: center; }
  .rgx-hero p { font-size: 16px; }
  .rgx-hero .rgx-btn { font-size: 16px; }
}

/* ---------- Three stages ---------- */
.rgx-stages { display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px; margin-top: 56px; }
.rgx-stage { border-top: 2px solid var(--rgx-ocean); padding-top: 14px; }
.rgx-stage__img { border-radius: 8px; aspect-ratio: 5 / 4; object-fit: cover; width: 100%; background: var(--rgx-ocean); }
.rgx-stage__num { font-family: var(--rgx-serif); font-size: 44px; color: var(--rgx-blue); margin: 22px 0 4px; line-height: 1; }
.rgx-stage .rgx-eyebrow { margin-bottom: 4px; }
.rgx-stage h3 { color: var(--rgx-azure); margin-bottom: 12px; }
.rgx-stage p { font-size: 15px; color: var(--rgx-muted); }
.rgx-stages-note { margin-top: 48px; }
.rgx-stages-note .rgx-fine {
	margin-left:auto;
	margin-right: auto;
}
.rgx-stages-note p { margin-bottom: 8px; }
@media (max-width: 860px) { .rgx-stages { grid-template-columns: 1fr; } }

/* ---------- Product carousel ---------- */
.rgx-products h2 { color: var(--rgx-azure); }
.rgx-products__label { font-size: 13px; font-weight: 600; margin: 40px 0 16px; }
.rgx-carousel {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: calc((100% - 3 * 20px) / 4.25);
  gap: 20px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
  padding-bottom: 4px;
}
.rgx-carousel::-webkit-scrollbar { display: none; }
@media (max-width: 1000px) { .rgx-carousel { grid-auto-columns: calc((100% - 2 * 16px) / 2.3); gap: 16px; } }
@media (max-width: 600px)  { .rgx-carousel { grid-auto-columns: 78%; } }

.rgx-card { scroll-snap-align: start; display: flex; flex-direction: column; }
.rgx-card__media { position: relative; display: block; border-radius: 6px; overflow: hidden; background: #f1f2f4; aspect-ratio: 1 / 0.86; }
.rgx-card__media img { width: 100%; height: 100% !important; object-fit: cover; transition: transform 0.4s ease; }
.rgx-card__media:hover img { transform: scale(1.03); }
.rgx-badge {
  display: inline-block;
  font-family: var(--rgx-sans);
  background: var(--rgx-azure); color: #fff;
  font-size: 11px; font-weight: 700;
  padding: 3px 10px; border-radius: 999px;
}
.rgx-card__media .rgx-badge { position: absolute; top: 12px; left: 12px; }
.rgx-card h3 { font-size: 17px; margin: 18px 0 8px; }
.rgx-card h3 a { text-decoration: none; }
.rgx-card p { font-size: 13px; color: var(--rgx-muted); margin-bottom: 10px; }
.rgx-price { font-family: var(--rgx-serif); font-size: 18px; margin-bottom: 14px; }
.rgx-price s { color: var(--rgx-muted); margin-left: 6px; }
.rgx-card .rgx-btn { margin-top: auto; width: 100%; padding: 11px 16px; font-size: 13px; }
.rgx-on-dark .rgx-btn:hover {
  background: transparent;
  border-color: #fffbec;
  color: #fffbec !important;
}
.rgx-card .rgx-btn:hover, .rgx-on-lt .rgx-btn:not(.rgx-btn--outline):hover {
	color:var(--rgx-azure) !important;
	border-color:var(--rgx-azure);
}
.rgx-carousel-ui { display: flex; align-items: center; gap: 24px; margin-top: 28px; }
.rgx-progress { flex: 1; height: 2px; background: var(--rgx-line); position: relative; }
.rgx-progress__bar { position: absolute; left: 0; top: 0; height: 100%; width: 25%; background: #8a7f6f; transition: left 0.15s linear; }
.rgx-arrows { display: flex; gap: 8px; }
.rgx-arrow {
  width: 40px; height: 40px; border-radius: 999px;
  border: 1px solid var(--rgx-line); background: #fff; color: var(--rgx-azure);
  display: inline-flex; align-items: center; justify-content: center; cursor: pointer;
}
.rgx-arrow:disabled { opacity: 0.4; cursor: default; }
.rgx-arrow svg { width: 14px; height: 14px; }

/* ---------- Featured in ---------- */
.rgx-press-logos { display: grid; grid-template-columns: repeat(5, 1fr); gap: 16px; margin-top: 36px; }
.rgx-press-logos div {
  background: rgba(255,255,255,0.6);
  border-radius: 6px;
  aspect-ratio: 16 / 10;
  display: flex; align-items: center; justify-content: center;
  padding: 20px;
}
.rgx-press-logos img { max-height: 70px; max-width:170px; width: auto; }
@media (max-width: 767px) { .rgx-press-logos { grid-template-columns: repeat(1, 1fr); } }

/* ---------- Before / after ---------- */
.rgx-ba {
  position: relative;
  max-width: 780px; margin: 40px auto 18px;
  border-radius: 8px; overflow: hidden;
  aspect-ratio: 8 / 5;
  background: var(--rgx-ocean);
  user-select: none;
}
.rgx-ba img { position: absolute; inset: 0; width: 100%; height: 100% !important; object-fit: cover; }
.rgx-ba__after { clip-path: inset(0 0 0 50%); }
.rgx-ba__line { position: absolute; top: 0; bottom: 0; left: 50%; width: 2px; background: #fff; pointer-events: none; }
.rgx-ba__handle {
  position: absolute; top: 50%; left: 50%;
  width: 26px; height: 26px; border-radius: 999px;
  background: #fff; transform: translate(-50%, -50%);
  box-shadow: 0 2px 8px rgba(0,0,0,0.25);
  pointer-events: none;
}
.rgx-ba__handle::before, .rgx-ba__handle::after {
  content: ""; position: absolute; top: 50%; width: 0; height: 0;
  border-top: 4px solid transparent; border-bottom: 4px solid transparent;
  transform: translateY(-50%);
}
.rgx-ba__handle::before { left: 6px; border-right: 5px solid var(--rgx-azure); }
.rgx-ba__handle::after { right: 6px; border-left: 5px solid var(--rgx-azure); }
.rgx-ba input[type="range"] {
  position: absolute; inset: 0; width: 100%; height: 100%;
  opacity: 0; cursor: ew-resize; margin: 0;
}
.rgx-ba__tag {
  position: absolute; top: 14px; z-index: 2;
  background: rgba(2,66,92,0.75); color: #fff;
  font-size: 11px; letter-spacing: 0.1em; text-transform: uppercase;
  padding: 4px 10px; border-radius: 999px; pointer-events: none;
}
.rgx-ba__tag--before { left: 14px; }
.rgx-ba__tag--after { right: 14px; }

/* ---------- Starter Kit feature ---------- */
.rgx-kit { display: grid; grid-template-columns: 64px 1fr 1fr; gap: 28px 40px; align-items: start; }
.rgx-kit__thumbs { display: flex; flex-direction: column; gap: 10px; }
.rgx-kit__thumbs button {
  border: 1px solid transparent; border-radius: 4px; padding: 0; background: none; cursor: pointer; overflow: hidden;
  aspect-ratio: 1;
}
.rgx-kit__thumbs button.is-active { border-color: var(--rgx-azure); }
.rgx-kit__thumbs img { width: 100%; height: 100% !important; object-fit: cover; }
.rgx-kit__main { border-radius: 6px; overflow: hidden; background: #eceef1; aspect-ratio: 4 / 5; }
.rgx-kit__main img { width: 100%; height: 100% !important; object-fit: cover; }
.rgx-kit__info h2 { margin-bottom: 18px; }
.rgx-kit__info > p { font-size: 16px; }
.rgx-kit__price { display: flex; align-items: center; gap: 12px; font-family: var(--rgx-serif); font-size: 22px; color: var(--rgx-azure); padding-bottom: 20px; margin-bottom: 20px; border-bottom: 1px solid var(--rgx-line); }
.rgx-kit__price s { color: var(--rgx-muted); font-size: 20px; }
.rgx-kit__label { font-size: 13px; margin-bottom: 10px; }
.rgx-kit__label strong { font-weight: 600; }
.rgx-pills { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 20px; }
.rgx-pill { border: 1px solid var(--rgx-line); border-radius: 999px; padding: 7px 16px; font-size: 13px; background: #fff; }
.rgx-ticks { list-style: none; margin: 0 0 26px; }
.rgx-ticks li { position: relative; padding-left: 18px; font-size: 14px; margin-bottom: 6px; }
.rgx-ticks li::before { content: ""; position: absolute; left: 2px; top: 0.7em; width: 5px; height: 5px; border-radius: 999px; background: var(--rgx-azure); }
.rgx-kit__ctas { display: flex; flex-wrap: wrap; gap: 12px; margin-bottom: 20px; margin-top:20px; }
@media (max-width: 900px) {
  .rgx-kit { grid-template-columns: 1fr; }
  .rgx-kit__thumbs { flex-direction: row; order: 2; }
  .rgx-kit__thumbs button { width: 64px; }
  .rgx-kit__main { order: 1; }
  .rgx-kit__info { order: 3; }
}

/* ---------- Newsletter band ---------- */
.rgx-news { display: grid; grid-template-columns: 1fr 1fr; gap: 24px 48px; align-items: center; }
.rgx-news h2 { font-size: clamp(24px, 2.4vw, 30px); margin-bottom: 8px; }
.rgx-news p { font-size: 14px; margin: 0; }
.rgx-news__form { display: flex; gap: 14px; flex-wrap: wrap; }
.rgx-news__form input[type="email"] {
  flex: 1 1 220px;
  border: 1px solid var(--rgx-line); border-radius: 999px;
  background: var(--rgx-ivory);
  padding: 12px 20px; font: inherit; font-size: 14px; color: var(--rgx-ink);
}
.rgx-news__form .rgx-btn { flex: 0 0 auto; min-width: 180px; }
.rgx-news__fine { font-size: 11px; margin-top: 8px; opacity: 0.75; }
@media (max-width: 860px) { .rgx-news { grid-template-columns: 1fr; } }
@media screen and (max-width:767px) {
	.rgx-btn.mobile-stretch {
		width:100%;
		margin-bottom:5px;
	}
}

/* ---------- Approach (dark image band) ---------- */
.rgx-approach { position: relative; color: #fff; overflow: hidden; background: var(--rgx-azure); }
.rgx-approach__img { position: absolute; inset: 0; width: 100%; height: 100% !important; object-fit: cover; }
.rgx-approach::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(90deg, rgba(2,66,92,1) 0%, rgba(2,66,92,0.92) 30%, rgba(2,66,92,0.35) 62%, rgba(2,66,92,0.1) 100%);
}
.rgx-approach .rgx-wrap { position: relative; z-index: 2; }
.rgx-approach__text { max-width: 600px; padding: clamp(90px, 12vw, 170px) 0; }
.rgx-approach h2 { color: #fff; margin-bottom: 26px; }
.rgx-approach p { font-size: 16px; color: rgba(255,251,236,0.9); }
.rgx-approach .rgx-btn { margin-top: 12px; }
@media (max-width: 760px) {
  .rgx-approach::after { background: rgba(2,66,92,0.85); }
}

/* ---------- Press cards ---------- */
.rgx-press { display: grid; grid-template-columns: repeat(3, 1fr); gap: 40px; margin-top: 40px; text-align: left; }
.rgx-press__img { border-radius: 8px; aspect-ratio: 16 / 9; object-fit: cover; width: 100%; background: var(--rgx-ocean); }
.rgx-press .rgx-eyebrow { font-size: 11px !important; margin: 18px 0 8px; color: var(--rgx-muted); }
.rgx-press h3 { color: var(--rgx-azure); margin-bottom: 12px; }
@media (max-width: 860px) { .rgx-press { grid-template-columns: 1fr; } }

/* ---------- Mission ---------- */
.rgx-mission p { font-size: 16px; max-width: 800px; margin-left: auto; margin-right: auto; }
.rgx-mission h2 { margin-bottom: 22px; }

/* ---------- FAQ ---------- */
.rgx-faq { display: grid; grid-template-columns: 1fr 2fr; gap: 40px; }
.rgx-faq__list details { border-bottom: 1px solid var(--rgx-line); }
.rgx-faq__list summary {
  list-style: none; cursor: pointer;
  display: flex; justify-content: space-between; align-items: center; gap: 20px;
  padding: 16px 0; font-size: 16px;
}
.rgx-faq__list summary::-webkit-details-marker { display: none; }
.rgx-faq__list summary::after {
  content: ""; flex: 0 0 auto;
  width: 7px; height: 7px;
  border-right: 1.5px solid var(--rgx-azure); border-bottom: 1.5px solid var(--rgx-azure);
  transform: rotate(45deg); transition: transform 0.2s ease;
}
.rgx-faq__list details[open] summary::after { transform: rotate(-135deg); }
.rgx-faq__list details > div { padding: 0 0 18px; font-size: 16px; color: var(--rgx-muted); }
@media (max-width: 860px) { .rgx-faq { grid-template-columns: 1fr; } }

/* ---------- Contact CTA ---------- */
.rgx-cta { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 24px; }
.rgx-cta h2 { font-size: clamp(24px, 2.4vw, 30px); }
.rgx-cta .rgx-btn { min-width: min(100%, 360px); }

/* ---------- Image placeholders (until real images are added) ---------- */
.rgx img[src=""], .rgx img:not([src]) { visibility: hidden; }

/* Live price badges on product cards */
.rgx-card__badges { position: absolute; top: 12px; left: 12px; z-index: 1; display: flex; gap: 6px; flex-wrap: wrap; }
.rgx-card__media .rgx-card__badges .rgx-badge { position: static; }
.rgx-badge--muted { background: #fff; color: var(--rgx-azure); border: 1px solid var(--rgx-line); }
.rgx-price:empty, .rgx-kit__price:empty { display: none; }
.rgx-card a:not(.rgx-btn), .rgx-card a:not(.rgx-btn):hover {
	border-bottom: 0;
}
#footer {
	background-color: #02425c;
}
#footer a {
	color:#fff !important;
}
#footer input[type=email] {
	border-radius:30px;
}
#footer h3 {
	color:#fff;
}
.footer-logo {
	filter:brightness(0) invert(1);
}
#footer #mc_embed_signup .button {
	filter:invert(1);
}
