:root {
  --paper: #fbfaf6;
  --white: #ffffff;
  --mist: #edf9ff;
  --blue: #c6eafa;
  --logo-blue: #00aeef;
  --logo-blue-dark: #008fca;
  --blue-deep: #237eb3;
  --ink: #1b2c35;
  --muted: #657781;
  --line: #d9edf7;
  --gold: #ee8a2a;
  --shadow: 0 24px 80px rgba(36, 126, 179, 0.14);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: "Inter", Arial, sans-serif;
  line-height: 1.6;
}

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

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 18px clamp(20px, 5vw, 72px);
  border-bottom: 1px solid rgba(217, 237, 247, 0.86);
  background: rgba(251, 250, 246, 0.88);
  backdrop-filter: blur(18px);
}

.brand {
  display: inline-flex;
  align-items: center;
  flex: 0 0 auto;
}

.brand img {
  width: clamp(138px, 16vw, 218px);
  height: auto;
}

nav {
  display: flex;
  gap: clamp(14px, 3vw, 34px);
  color: var(--muted);
  font-size: 0.92rem;
}

nav a:hover,
.site-footer a:hover {
  color: var(--blue-deep);
}

.header-action,
.button,
.signup-form button {
  min-height: 46px;
  border-radius: 999px;
  font-weight: 700;
  transition: transform 180ms ease, box-shadow 180ms ease, background 180ms ease;
}

.header-action {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 88px;
  padding: 0 22px;
  background: var(--ink);
  color: var(--white);
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(320px, 1.05fr);
  align-items: center;
  gap: clamp(32px, 6vw, 80px);
  min-height: calc(100vh - 83px);
  padding: clamp(52px, 8vw, 108px) clamp(20px, 5vw, 72px) 48px;
}

.hero-copy {
  max-width: 650px;
}

.eyebrow {
  margin: 0 0 14px;
  color: var(--blue-deep);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1,
h2 {
  font-family: "Cormorant Garamond", Georgia, serif;
  font-weight: 600;
  line-height: 1;
  letter-spacing: 0;
}

h1 {
  max-width: 760px;
  margin-bottom: 22px;
  font-size: clamp(3.1rem, 6.8vw, 7.6rem);
}

h2 {
  margin-bottom: 18px;
  font-size: clamp(2.25rem, 4vw, 4.5rem);
}

h3 {
  margin-bottom: 12px;
  font-size: 1.18rem;
  line-height: 1.25;
}

.subheadline {
  max-width: 590px;
  margin-bottom: 34px;
  color: var(--muted);
  font-size: clamp(1.05rem, 2vw, 1.28rem);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 26px;
  text-align: center;
}

.primary {
  background: var(--logo-blue);
  color: var(--white);
  box-shadow: 0 16px 36px rgba(0, 174, 239, 0.24);
}

.secondary {
  border: 1px solid rgba(0, 174, 239, 0.36);
  background: rgba(237, 249, 255, 0.76);
  color: var(--logo-blue-dark);
}

.text-button {
  border: 1px solid transparent;
  background: transparent;
  color: var(--blue-deep);
}

.header-action:hover,
.button:hover,
.signup-form button:hover {
  transform: translateY(-2px);
  box-shadow: 0 16px 34px rgba(29, 43, 44, 0.12);
}

.hero-visual {
  position: relative;
  min-height: 560px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.72);
  border-radius: 8px;
  background: var(--blue);
  box-shadow: var(--shadow);
}

.hero-visual img {
  width: 100%;
  height: 100%;
  min-height: 560px;
  object-fit: cover;
  object-position: center;
}

.product-card {
  position: absolute;
  right: clamp(18px, 4vw, 42px);
  top: clamp(18px, 4vw, 42px);
  width: min(280px, calc(100% - 36px));
  padding: 24px;
  border: 1px solid rgba(223, 233, 230, 0.72);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.86);
  box-shadow: 0 20px 54px rgba(28, 88, 128, 0.16);
  backdrop-filter: blur(18px);
}

.card-kicker {
  display: block;
  margin-bottom: 4px;
  color: var(--gold);
  font-size: 0.74rem;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.product-card strong {
  display: block;
  margin-bottom: 10px;
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: 2rem;
  line-height: 1;
}

.product-card p,
.section-heading p,
.spec-copy p,
.signup-section p,
.site-footer {
  color: var(--muted);
}

.trust-strip {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  padding: 0 clamp(20px, 5vw, 72px) 54px;
}

.trust-strip span {
  display: flex;
  min-height: 76px;
  align-items: center;
  justify-content: center;
  padding: 18px;
  border: 1px solid var(--line);
  background: rgba(198, 234, 250, 0.32);
  color: var(--muted);
  font-size: 0.92rem;
  font-weight: 700;
  text-align: center;
}

.section,
.ingredient-section,
.spec-section,
.testimonial-section,
.signup-section {
  padding: clamp(68px, 8vw, 118px) clamp(20px, 5vw, 72px);
}

.section-heading {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: clamp(28px, 6vw, 78px);
  align-items: end;
  margin-bottom: 38px;
}

.section-heading p {
  max-width: 520px;
}

.section-heading.compact {
  margin-bottom: 30px;
}

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

.feature-grid article {
  min-height: 260px;
  padding: 30px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: linear-gradient(180deg, var(--white), rgba(198, 234, 250, 0.22));
}

.feature-grid span {
  display: inline-flex;
  width: 42px;
  height: 42px;
  align-items: center;
  justify-content: center;
  margin-bottom: 38px;
  border: 1px solid var(--line);
  border-radius: 50%;
  color: var(--blue-deep);
  font-size: 0.8rem;
  font-weight: 800;
}

.feature-grid p {
  color: var(--muted);
}

.ingredient-section {
  background: var(--white);
}

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

.ingredient-grid article {
  min-height: 220px;
  padding: 30px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--paper);
}

.ingredient-grid h3 {
  color: var(--blue-deep);
}

.ingredient-grid p {
  color: var(--muted);
}

.spec-section {
  display: grid;
  grid-template-columns: minmax(0, 0.72fr) minmax(320px, 1fr);
  gap: clamp(30px, 7vw, 92px);
  background: linear-gradient(180deg, rgba(198, 234, 250, 0.46), rgba(255, 255, 255, 0.86));
}

.spec-copy {
  max-width: 520px;
}

.spec-list {
  display: grid;
  gap: 0;
  border-top: 1px solid var(--line);
}

.spec-list div {
  display: grid;
  grid-template-columns: minmax(130px, 0.33fr) 1fr;
  gap: 22px;
  padding: 22px 0;
  border-bottom: 1px solid var(--line);
}

dt {
  color: var(--blue-deep);
  font-weight: 800;
}

dd {
  margin: 0;
  color: var(--ink);
}

.testimonial-section {
  background: var(--paper);
}

.testimonial-heading {
  max-width: 760px;
  margin-bottom: 30px;
}

.testimonial-slider {
  position: relative;
  max-width: 980px;
  margin: 0 auto;
}

.testimonial-track {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--blue);
  box-shadow: 0 18px 52px rgba(36, 126, 179, 0.1);
}

.testimonial-slide {
  display: none;
  margin: 0;
}

.testimonial-slide.is-active {
  display: block;
}

.testimonial-slide img {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
}

.slider-button {
  position: absolute;
  top: 50%;
  z-index: 2;
  width: 46px;
  height: 46px;
  border: 1px solid var(--line);
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.9);
  color: var(--blue-deep);
  cursor: pointer;
  font-size: 2rem;
  line-height: 1;
  transform: translateY(-50%);
  box-shadow: 0 12px 32px rgba(29, 43, 44, 0.12);
}

.slider-button:hover {
  background: var(--white);
}

.slider-button.previous {
  left: -23px;
}

.slider-button.next {
  right: -23px;
}

.slider-dots {
  display: flex;
  justify-content: center;
  gap: 10px;
  margin-top: 18px;
}

.slider-dot {
  width: 9px;
  height: 9px;
  border: 0;
  border-radius: 50%;
  background: #a8d9ee;
  cursor: pointer;
  padding: 0;
}

.slider-dot.is-active {
  background: var(--blue-deep);
}

.testimonial-note {
  max-width: 780px;
  margin: 20px 0 0;
  color: var(--muted);
  font-size: 0.9rem;
}

.signup-section {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(320px, 0.8fr);
  gap: clamp(28px, 6vw, 80px);
  align-items: center;
  background: var(--white);
}

.signup-section > div {
  max-width: 650px;
}

.signup-form {
  padding: clamp(24px, 4vw, 38px);
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--paper);
}

.signup-form label {
  display: block;
  margin-bottom: 10px;
  font-size: 0.9rem;
  font-weight: 800;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 10px;
}

.signup-form input {
  width: 100%;
  min-height: 52px;
  padding: 0 18px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--white);
  color: var(--ink);
  font: inherit;
}

.signup-form input:focus {
  border-color: var(--blue-deep);
  outline: 3px solid rgba(145, 207, 200, 0.32);
}

.signup-form button {
  border: 0;
  padding: 0 24px;
  background: var(--ink);
  color: var(--white);
  cursor: pointer;
  font: inherit;
}

.form-note {
  min-height: 24px;
  margin: 12px 0 0;
  font-size: 0.9rem;
}

.site-footer {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding: 28px clamp(20px, 5vw, 72px);
  border-top: 1px solid var(--line);
  font-size: 0.92rem;
}

.site-footer p {
  margin: 0;
}

@media (max-width: 980px) {
  nav {
    display: none;
  }

  .hero,
  .section-heading,
  .spec-section,
  .signup-section {
    grid-template-columns: 1fr;
  }

  .hero {
    min-height: auto;
  }

  .hero-visual,
  .hero-visual img {
    min-height: 430px;
  }

  .trust-strip,
  .feature-grid,
  .ingredient-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 640px) {
  .site-header {
    gap: 14px;
    padding: 14px 18px;
  }

  .brand {
    max-width: 138px;
  }

  .header-action {
    min-width: 74px;
  }

  .hero {
    padding-top: 42px;
  }

  h1 {
    font-size: clamp(3rem, 15vw, 4.4rem);
  }

  .hero-actions,
  .form-row,
  .site-footer {
    flex-direction: column;
  }

  .button,
  .signup-form button {
    width: 100%;
  }

  .form-row,
  .trust-strip,
  .feature-grid,
  .ingredient-grid,
  .spec-list div {
    grid-template-columns: 1fr;
  }

  .slider-button {
    width: 40px;
    height: 40px;
    font-size: 1.6rem;
  }

  .slider-button.previous {
    left: 10px;
  }

  .slider-button.next {
    right: 10px;
  }

  .trust-strip {
    padding-bottom: 28px;
  }

  .feature-grid article,
  .ingredient-grid article {
    min-height: auto;
  }

  .product-card {
    padding: 20px;
  }

  .site-footer {
    display: flex;
  }
}
