:root {
  --navy: #082b45;
  --deep-blue: #0a3c5c;
  --blue: #1876a5;
  --cyan: #87dce5;
  --light-cyan: #e6f8f8;
  --mint: #dff5ef;
  --cream: #f7f8f4;
  --white: #ffffff;
  --text: #183447;
  --muted: #6f818c;
  --border: #dce8e9;
  --orange: #ec9360;
  --purple: #8f8bd0;

  --container: 1180px;
  --radius-lg: 28px;
  --radius-md: 18px;
  --shadow: 0 22px 60px rgba(8, 43, 69, 0.1);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--text);
  background: var(--cream);
  font-family: "DM Sans", sans-serif;
  line-height: 1.6;
}

a {
  color: inherit;
  text-decoration: none;
}

button {
  font: inherit;
}

.container {
  width: min(var(--container), calc(100% - 48px));
  margin: 0 auto;
}

/* Header */

.site-header {
  position: absolute;
  z-index: 20;
  top: 0;
  left: 0;
  width: 100%;
  color: var(--navy);
}

.nav-wrapper {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 88px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--blue);
  font-family: "Manrope", sans-serif;
  font-size: 30px;
  font-weight: 800;
  letter-spacing: -0.04em;
}

.brand-mark {
  display: grid;
  width: 31px;
  height: 31px;
  place-items: center;
  border-radius: 50%;
  color: var(--white);
  background: var(--navy);
  font-size: 25px;
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 34px;
  margin-left: auto;
  margin-right: 38px;
  color: #55707d;
  font-size: 14px;
  font-weight: 600;
}

.main-nav a {
  transition: color 0.2s ease;
}

.main-nav a:hover {
  color: var(--blue);
}

.nav-button,
.primary-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  min-height: 48px;
  padding: 0 22px;
  border-radius: 999px;
  color: var(--white);
  background: var(--navy);
  font-size: 13px;
  font-weight: 700;
  transition: transform 0.2s ease, background 0.2s ease;
}

.nav-button:hover,
.primary-button:hover {
  background: var(--blue);
  transform: translateY(-2px);
}

.menu-toggle {
  display: none;
  border: 0;
  background: transparent;
  cursor: pointer;
}

.menu-toggle span {
  display: block;
  width: 25px;
  height: 2px;
  margin: 5px 0;
  background: var(--navy);
}

/* Hero */

.hero {
  position: relative;
  min-height: 760px;
  overflow: hidden;
  background:
    linear-gradient(100deg, #effaf8 0%, #f5fbf8 52%, #d9f2f1 100%);
}

.hero-grid {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 0.94fr 1.06fr;
  align-items: center;
  min-height: 760px;
  padding-top: 72px;
}

.hero-content {
  position: relative;
  z-index: 3;
  max-width: 560px;
}

.eyebrow,
.section-kicker {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  color: var(--blue);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

.eyebrow-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--orange);
}

.hero h1 {
  max-width: 600px;
  margin: 23px 0 24px;
  color: var(--navy);
  font-family: "Manrope", sans-serif;
  font-size: clamp(46px, 6vw, 77px);
  font-weight: 800;
  letter-spacing: -0.075em;
  line-height: 0.99;
}

.hero h1 span {
  display: block;
  color: var(--blue);
}

.hero-text {
  max-width: 470px;
  margin: 0;
  color: #58727d;
  font-size: 17px;
  line-height: 1.75;
}

.hero-actions {
  display: flex;
  align-items: center;
  gap: 26px;
  margin-top: 35px;
}

.text-button {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--navy);
  font-size: 13px;
  font-weight: 700;
}

.text-button span {
  color: var(--blue);
  font-size: 17px;
}

.hero-note {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: 30px;
  color: #78909a;
  font-size: 12px;
}

.note-icon {
  display: grid;
  width: 20px;
  height: 20px;
  place-items: center;
  border-radius: 50%;
  color: var(--white);
  background: #76c4ad;
  font-size: 11px;
  font-weight: 700;
}

/* Hero illustration */

.hero-visual {
  position: relative;
  display: flex;
  width: 100%;
  min-height: 570px;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.products-hero-image {
  position: relative;
  z-index: 3;
  display: block;
  width: min(100%, 650px);
  height: auto;
  object-fit: contain;
  filter: drop-shadow(0 24px 25px rgba(8, 43, 69, 0.18));
  transition: transform 0.35s ease, filter 0.35s ease;
}

.products-hero-image:hover {
  filter: drop-shadow(0 30px 30px rgba(8, 43, 69, 0.24));
  transform: translateY(-8px) scale(1.02);
}

.hero-glow {
  position: absolute;
  z-index: 1;
  border-radius: 50%;
  pointer-events: none;
}

.hero-glow-one {
  top: 48px;
  right: 20px;
  width: 460px;
  height: 460px;
  background: rgba(161, 228, 226, 0.62);
}

.hero-glow-two {
  right: 35px;
  bottom: 20px;
  width: 190px;
  height: 190px;
  background: rgba(255, 255, 255, 0.62);
}



.orb {
  position: absolute;
  border-radius: 50%;
}

.orb-large {
  top: 75px;
  right: 20px;
  width: 455px;
  height: 455px;
  background: rgba(161, 228, 226, 0.66);
}

.orb-small {
  right: 30px;
  bottom: 15px;
  width: 180px;
  height: 180px;
  background: rgba(255, 255, 255, 0.62);
}

.hero-card {
  position: absolute;
  top: 78px;
  right: 107px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  width: 270px;
  height: 365px;
  padding-left: 45px;
  border-radius: 28px;
  color: var(--white);
  background: linear-gradient(145deg, #155d78, #113d5a);
  box-shadow: var(--shadow);
  transform: rotate(8deg);
}

.hero-card span {
  margin-bottom: 4px;
  color: #8ce1e4;
  font-family: "Manrope", sans-serif;
  font-size: 64px;
  font-weight: 800;
  line-height: 1;
}

.hero-card strong {
  font-family: "Manrope", sans-serif;
  font-size: 26px;
}

.hero-bottle {
  position: absolute;
  z-index: 4;
  bottom: 49px;
  width: 115px;
  transform-origin: bottom center;
}

.hero-bottle-left {
  left: 110px;
  transform: rotate(-8deg);
}

.hero-bottle-center {
  z-index: 6;
  left: 225px;
  bottom: 29px;
}

.hero-bottle-right {
  right: 90px;
  transform: rotate(9deg);
}

.bottle-cap {
  width: 92px;
  height: 38px;
  margin: 0 auto -3px;
  border-radius: 9px 9px 5px 5px;
  background: #e8f2eb;
  box-shadow: inset 0 -5px 0 rgba(0, 0, 0, 0.06);
}

.bottle-body {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 115px;
  height: 285px;
  padding: 15px;
  border-radius: 15px 15px 28px 28px;
  background: linear-gradient(100deg, #f9ffff, #cae8e6);
  box-shadow: 12px 20px 30px rgba(18, 81, 94, 0.18);
}

.hero-bottle-center .bottle-body {
  background: linear-gradient(100deg, #ffffff, #dcecf0);
}

.hero-bottle-right .bottle-body {
  background: linear-gradient(100deg, #f7ffff, #d2e0f4);
}

.bottle-label {
  display: flex;
  width: 100%;
  height: 195px;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(8, 43, 69, 0.12);
  color: var(--navy);
  background: rgba(255, 255, 255, 0.75);
  text-align: center;
}

.bottle-label small {
  margin-bottom: 14px;
  font-size: 6px;
  font-weight: 800;
  letter-spacing: 0.16em;
}

.bottle-label strong {
  font-family: "Manrope", sans-serif;
  font-size: 18px;
  line-height: 1.05;
  letter-spacing: -0.06em;
}

.bottle-label em {
  margin-top: 17px;
  color: var(--blue);
  font-size: 8px;
  font-style: normal;
  font-weight: 800;
  letter-spacing: 0.1em;
}

.floating-label {
  position: absolute;
  z-index: 8;
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--navy);
  font-size: 11px;
  font-weight: 700;
  line-height: 1.3;
}

.label-top {
  top: 66px;
  right: 7px;
}

.label-bottom {
  bottom: 82px;
  left: 36px;
}

.label-line {
  display: block;
  width: 45px;
  height: 1px;
  background: var(--blue);
}

/* Intro strip */

.intro-strip {
  padding: 82px 0;
  background: var(--white);
}

.intro-grid {
  display: grid;
  grid-template-columns: 1fr 0.8fr;
  gap: 80px;
  align-items: end;
}

.intro-strip h2,
.section-heading h2,
.science-content h2,
.support-box h2 {
  margin: 16px 0 0;
  color: var(--navy);
  font-family: "Manrope", sans-serif;
  font-size: clamp(34px, 4vw, 54px);
  font-weight: 800;
  letter-spacing: -0.065em;
  line-height: 1.06;
}

.intro-grid p {
  max-width: 425px;
  margin: 0;
  color: var(--muted);
  font-size: 16px;
  line-height: 1.75;
}

/* Products */

.products-section {
  padding: 112px 0 125px;
  background: var(--cream);
}

.section-heading {
  display: flex;
  justify-content: space-between;
  gap: 50px;
  align-items: end;
  margin-bottom: 50px;
}

.section-heading > p {
  max-width: 365px;
  margin: 0;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.7;
}

.product-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.product-card {
  overflow: hidden;
  min-height: 605px;
  border-radius: var(--radius-lg);
  background: var(--white);
  box-shadow: 0 10px 34px rgba(8, 43, 69, 0.05);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  margin: 0 10px;
}

.product-card-content
{
    margin-left: 10px;
    margin-right: 10px;
}



.product-card:hover {
  box-shadow: var(--shadow);
  transform: translateY(-8px);
}

.product-card-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 27px 29px 0;
  color: var(--muted);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.product-number {
  color: var(--blue);
}

.product-direction {
  display: inline-flex;
  align-items: center;
  gap: 7px;
}

.product-direction::before {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: currentColor;
  content: "";
}

.product-illustration {
  position: relative;
  display: flex;
  height: 255px;
  align-items: center;
  justify-content: center;
  margin: 23px 20px 0;
  border-radius: 20px;
  background: var(--light-cyan);
}

.product-down .product-illustration {
  background: #eaf0fa;
}

.product-balance .product-illustration {
  background: #f0ede9;
}

.mini-bottle {
  position: relative;
  z-index: 2;
  width: 93px;
  transition: transform 0.3s ease;
  background: url("assets/down.png");
}

.product-card:hover .mini-bottle {
  transform: translateY(-8px) rotate(-3deg);
}

.mini-cap {
  width: 73px;
  height: 29px;
  margin: 0 auto -2px;
  border-radius: 7px 7px 3px 3px;
  background: #eef6f1;
  box-shadow: inset 0 -4px 0 rgba(0, 0, 0, 0.05);
}

.mini-body {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 93px;
  height: 190px;
  padding: 11px;
  border-radius: 11px 11px 21px 21px;
  background: linear-gradient(90deg, #ffffff, #cae6e5);
  box-shadow: 8px 12px 20px rgba(8, 43, 69, 0.15);
}

.product-down .mini-body {
  background: linear-gradient(90deg, #ffffff, #d0dff0);
}

.product-balance .mini-body {
  background: linear-gradient(90deg, #ffffff, #e9ded0);
}

.mini-label {
  display: flex;
  width: 100%;
  height: 133px;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(8, 43, 69, 0.12);
  color: var(--navy);
  background: rgba(255, 255, 255, 0.8);
  text-align: center;
}

.mini-label small {
  margin-bottom: 11px;
  font-size: 5px;
  font-weight: 800;
  letter-spacing: 0.14em;
}

.mini-
/* =========================================================
   Mobile Optimization Overrides
   ========================================================= */

html {
  overflow-x: hidden;
  scroll-padding-top: 72px;
}

body {
  min-width: 320px;
  overflow-x: hidden;
}

img {
  max-width: 100%;
  height: auto;
}

button,
a {
  -webkit-tap-highlight-color: transparent;
}

:focus-visible {
  outline: 3px solid rgba(24, 118, 165, 0.4);
  outline-offset: 3px;
}

/* Prevent long text from causing horizontal scrolling */
h1,
h2,
h3,
p,
a,
span {
  overflow-wrap: break-word;
}

/* Tablet and smaller screens
--------------------------------------------------------- */

@media (max-width: 900px) {
  .container {
    width: min(var(--container), calc(100% - 40px));
  }

  .nav-wrapper {
    min-height: 76px;
  }

  .brand {
    font-size: 26px;
  }

  .main-nav {
    gap: 20px;
    margin-right: 20px;
  }

  .hero {
    min-height: auto;
  }

  .hero-grid {
    grid-template-columns: 1fr;
    min-height: auto;
    padding-top: 145px;
    padding-bottom: 70px;
  }

  .hero-content {
    max-width: 680px;
    text-align: center;
    margin: 0 auto;
  }

  .hero h1 {
    max-width: 680px;
    margin-right: auto;
    margin-left: auto;
    font-size: clamp(42px, 8vw, 68px);
  }

  .hero-text {
    margin-right: auto;
    margin-left: auto;
  }

  .hero-actions {
    justify-content: center;
  }

  .hero-note {
    justify-content: center;
  }

  .hero-visual {
    min-height: 510px;
    margin-top: 10px;
  }

  .products-hero-image {
    width: min(100%, 600px);
  }

  .hero-glow-one,
  .orb-large {
    right: 50%;
    transform: translateX(50%);
  }

  .hero-card {
    right: 50%;
    transform: translateX(50%) rotate(8deg);
  }

  .hero-bottle-left {
    left: 20%;
  }

  .hero-bottle-center {
    left: 50%;
    transform: translateX(-50%);
  }

  .hero-bottle-right {
    right: 20%;
  }

  .floating-label.label-top {
    right: 8%;
  }

  .floating-label.label-bottom {
    left: 8%;
  }

  .intro-strip {
    padding: 65px 0;
  }

  .intro-grid {
    grid-template-columns: 1fr;
    gap: 28px;
    align-items: start;
  }

  .intro-grid p {
    max-width: 620px;
  }

  .products-section {
    padding: 80px 0;
  }

  .section-heading {
    align-items: start;
    flex-direction: column;
    gap: 20px;
    margin-bottom: 35px;
  }

  .section-heading > p {
    max-width: 600px;
  }

  .product-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .product-card {
    min-height: 570px;
    margin: 0;
  }
}

/* Mobile navigation
--------------------------------------------------------- */

@media (max-width: 700px) {
  .nav-wrapper {
    position: relative;
  }

  .menu-toggle {
    display: block;
    width: 44px;
    height: 44px;
    padding: 8px;
    border-radius: 8px;
  }

  .menu-toggle:hover,
  .menu-toggle:focus-visible {
    background: rgba(24, 118, 165, 0.08);
  }

  .main-nav {
    position: absolute;
    top: calc(100% - 1px);
    right: 0;
    left: 0;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    margin: 0;
    padding: 10px;
    border: 1px solid var(--border);
    border-radius: 0 0 18px 18px;
    background: rgba(255, 255, 255, 0.98);
    box-shadow: var(--shadow);
  }

  /*
    Add aria-expanded="true" to the menu button
    when the mobile menu is open.
  */
  .menu-toggle[aria-expanded="true"] + .main-nav,
  .main-nav.is-open {
    display: flex;
  }

  .main-nav a {
    display: block;
    padding: 13px 15px;
    border-radius: 10px;
    font-size: 15px;
  }

  .main-nav a:hover,
  .main-nav a:focus-visible {
    background: var(--light-cyan);
  }

  .nav-button {
    display: none;
  }
}

/* Small mobile screens
--------------------------------------------------------- */

@media (max-width: 600px) {
  .container {
    width: min(var(--container), calc(100% - 32px));
  }

  .nav-wrapper {
    min-height: 68px;
  }

  .brand {
    gap: 8px;
    font-size: 23px;
  }

  .brand-mark {
    width: 28px;
    height: 28px;
    font-size: 22px;
  }

  .hero-grid {
    padding-top: 115px;
    padding-bottom: 48px;
  }

  .eyebrow,
  .section-kicker {
    font-size: 10px;
    letter-spacing: 0.1em;
  }

  .hero h1 {
    margin-top: 18px;
    margin-bottom: 18px;
    font-size: clamp(37px, 12vw, 54px);
    letter-spacing: -0.065em;
    line-height: 1.02;
  }

  .hero-text {
    font-size: 15px;
    line-height: 1.65;
  }

  .hero-actions {
    align-items: stretch;
    flex-direction: column;
    gap: 12px;
    margin-top: 26px;
  }

  .primary-button,
  .hero-actions .primary-button,
  .hero-actions .text-button {
    width: 100%;
    min-height: 48px;
    justify-content: center;
  }

  .hero-note {
    align-items: flex-start;
    justify-content: flex-start;
    margin-top: 24px;
    text-align: left;
  }

  .hero-visual {
    min-height: 315px;
    margin-top: 10px;
  }

  .products-hero-image {
    width: min(100%, 390px);
  }

  .hero-glow-one,
  .orb-large {
    top: 30px;
    width: min(88vw, 360px);
    height: min(88vw, 360px);
  }

  .hero-glow-two,
  .orb-small {
    right: 4%;
    bottom: 5px;
    width: 110px;
    height: 110px;
  }

  /*
    Hide decorative CSS bottles and cards when the
    real product image is being used.
  */
  .hero-card,
  .hero-bottle,
  .floating-label {
    display: none;
  }

  .intro-strip {
    padding: 52px 0;
  }

  .intro-strip h2,
  .section-heading h2,
  .science-content h2,
  .support-box h2 {
    font-size: clamp(30px, 9vw, 44px);
    line-height: 1.08;
  }

  .intro-grid p {
    font-size: 15px;
    line-height: 1.65;
  }

  .products-section {
    padding: 62px 0 70px;
  }

  .section-heading {
    margin-bottom: 28px;
  }

  .section-heading > p {
    font-size: 14px;
    line-height: 1.65;
  }

  .product-grid {
    grid-template-columns: 1fr;
    gap: 18px;
  }

  .product-card {
    min-height: auto;
    border-radius: 22px;
  }

  .product-card-top {
    padding: 22px 22px 0;
  }

  .product-illustration {
    height: 225px;
    margin: 18px 16px 0;
  }

  .product-card-content {
    margin-right: 16px;
    margin-left: 16px;
  }

  .mini-body {
    height: 175px;
  }

  .mini-label {
    height: 122px;
  }
}

/* Extra-small mobile screens
--------------------------------------------------------- */

@media (max-width: 380px) {
  .container {
    width: calc(100% - 24px);
  }

  .brand {
    font-size: 21px;
  }

  .hero-grid {
    padding-top: 105px;
  }

  .hero h1 {
    font-size: 35px;
  }

  .hero-visual {
    min-height: 260px;
  }

  .products-hero-image {
    width: 100%;
  }

  .intro-strip h2,
  .section-heading h2,
  .science-content h2,
  .support-box h2 {
    font-size: 29px;
  }

  .product-card-top {
    padding-right: 17px;
    padding-left: 17px;
    font-size: 10px;
  }

  .product-illustration {
    margin-right: 12px;
    margin-left: 12px;
  }
}

/* Touch devices: remove hover movement that can feel awkward
--------------------------------------------------------- */

@media (hover: none) {
  .products-hero-image:hover,
  .product-card:hover,
  .product-card:hover .mini-bottle,
  .nav-button:hover,
  .primary-button:hover {
    transform: none;
  }

  .product-card:hover {
    box-shadow: 0 10px 34px rgba(8, 43, 69, 0.05);
  }
}

/* Accessibility: reduced motion
--------------------------------------------------------- */

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
  }
}
