:root {
  --ink: #17231e;
  --muted: #66756d;
  --cream: #f8f5ed;
  --paper: #fffdf8;
  --leaf: #174d36;
  --leaf-soft: #dfeee4;
  --mint: #a8d6b6;
  --amber: #c98028;
  --berry: #8b2738;
  --line: rgba(23, 35, 30, 0.14);
  --shadow: 0 20px 60px rgba(23, 35, 30, 0.16);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

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

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

.site-header {
  position: fixed;
  z-index: 20;
  top: 0;
  left: 0;
  right: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 18px clamp(18px, 5vw, 64px);
  color: #fff;
  background: linear-gradient(180deg, rgba(8, 15, 12, 0.62), rgba(8, 15, 12, 0));
}

.brand-mark {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 800;
  letter-spacing: 0;
}

.brand-cup {
  width: 31px;
  height: 31px;
  border: 2px solid currentColor;
  border-radius: 50%;
  position: relative;
}

.brand-cup::after {
  content: "";
  position: absolute;
  top: 8px;
  right: -8px;
  width: 9px;
  height: 11px;
  border: 2px solid currentColor;
  border-left: 0;
  border-radius: 0 12px 12px 0;
}

.brand-cup::before {
  content: "";
  position: absolute;
  inset: 9px 6px 7px;
  border-radius: 999px;
  background: var(--berry);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: clamp(14px, 3vw, 34px);
  font-size: 0.92rem;
  font-weight: 700;
}

.nav-links a {
  opacity: 0.86;
}

.nav-links a:hover {
  opacity: 1;
}

.hero {
  min-height: 88svh;
  position: relative;
  display: grid;
  align-items: end;
  overflow: hidden;
  padding: 132px clamp(18px, 5vw, 64px) 0;
  color: #fff;
  background:
    linear-gradient(90deg, rgba(7, 17, 12, 0.82) 0%, rgba(7, 17, 12, 0.55) 42%, rgba(7, 17, 12, 0.1) 100%),
    url("assets/digestg-hero.jpeg") center / cover no-repeat;
}

.hero-shade {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 72% 46%, rgba(168, 214, 182, 0.22), transparent 32%),
    linear-gradient(0deg, rgba(8, 15, 12, 0.72), transparent 42%);
  pointer-events: none;
}

.hero-content {
  position: relative;
  z-index: 1;
  width: min(720px, 100%);
  padding-bottom: clamp(46px, 8vh, 88px);
}

.eyebrow {
  margin: 0 0 14px;
  color: var(--mint);
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.eyebrow.dark {
  color: var(--leaf);
}

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

h1,
h2,
h3 {
  letter-spacing: 0;
}

h1 {
  max-width: 780px;
  margin-bottom: 18px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(4rem, 12vw, 9.7rem);
  line-height: 0.86;
  font-weight: 700;
  text-shadow: 0 8px 34px rgba(0, 0, 0, 0.42);
}

h2 {
  margin-bottom: 18px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(2rem, 4.8vw, 4.25rem);
  line-height: 0.98;
}

h3 {
  margin-bottom: 10px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(1.35rem, 2vw, 1.9rem);
  line-height: 1.05;
}

.hero-copy {
  max-width: 620px;
  margin-bottom: 30px;
  color: rgba(255, 255, 255, 0.88);
  font-size: clamp(1.05rem, 2.1vw, 1.35rem);
  line-height: 1.55;
  text-shadow: 0 3px 18px rgba(0, 0, 0, 0.42);
}

.hero-actions,
.cta-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 13px 20px;
  border: 1px solid rgba(255, 255, 255, 0.45);
  border-radius: 999px;
  font-size: 0.95rem;
  font-weight: 900;
  line-height: 1.2;
  transition: transform 180ms ease, background 180ms ease, color 180ms ease, border-color 180ms ease;
}

.btn:hover {
  transform: translateY(-2px);
}

.btn-primary {
  border-color: var(--amber);
  background: var(--amber);
  color: #fff;
  box-shadow: 0 16px 38px rgba(201, 128, 40, 0.28);
}

.btn-ghost {
  background: rgba(255, 255, 255, 0.12);
  color: #fff;
  backdrop-filter: blur(12px);
}

.btn-ghost.light {
  background: transparent;
}

.quality-strip {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  width: min(1120px, 100%);
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-bottom: 0;
  background: rgba(12, 33, 23, 0.76);
  backdrop-filter: blur(14px);
}

.quality-strip span {
  min-height: 66px;
  display: grid;
  place-items: center;
  padding: 14px;
  color: rgba(255, 255, 255, 0.9);
  font-size: 0.88rem;
  font-weight: 800;
  text-align: center;
  border-right: 1px solid rgba(255, 255, 255, 0.14);
}

.quality-strip span:last-child {
  border-right: 0;
}

.section-inner {
  width: min(1180px, calc(100% - 36px));
  margin: 0 auto;
}

.intro-band {
  padding: clamp(54px, 8vw, 94px) 0;
  background: var(--cream);
}

.intro-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(280px, 0.8fr);
  gap: clamp(28px, 6vw, 90px);
  align-items: start;
}

.intro-grid p:last-child {
  color: var(--muted);
  font-size: 1.08rem;
  line-height: 1.8;
}

.collection-section {
  padding: clamp(58px, 8vw, 108px) 0;
  background:
    linear-gradient(180deg, #fffdf8, #f5f9f0);
}

.section-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 26px;
}

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

.product-card {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 10px 32px rgba(23, 35, 30, 0.08);
}

.product-card img {
  aspect-ratio: 4 / 3.25;
  object-fit: cover;
  background: var(--leaf-soft);
}

.featured-product {
  grid-column: span 2;
}

.featured-product img {
  aspect-ratio: 8 / 4.05;
}

.product-copy {
  padding: 20px;
}

.product-copy p {
  color: var(--muted);
  line-height: 1.58;
}

.product-kicker {
  margin-bottom: 8px;
  color: var(--berry) !important;
  font-size: 0.76rem;
  font-weight: 900;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.content-section {
  padding: clamp(58px, 8vw, 104px) 0;
  background: var(--paper);
}

.content-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 380px);
  gap: clamp(28px, 6vw, 78px);
  align-items: start;
}

.content-main p:not(.eyebrow) {
  max-width: 760px;
  color: var(--muted);
  font-size: 1.05rem;
  line-height: 1.82;
}

.content-panel {
  position: sticky;
  top: 96px;
  border: 1px solid rgba(23, 77, 54, 0.16);
  border-radius: 8px;
  padding: 26px;
  background: #eef5ef;
  box-shadow: 0 12px 38px rgba(23, 35, 30, 0.08);
}

.content-panel h3 {
  margin-bottom: 18px;
}

.content-panel ul {
  display: grid;
  gap: 13px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.content-panel li {
  position: relative;
  padding-left: 24px;
  color: var(--muted);
  line-height: 1.55;
}

.content-panel li::before {
  content: "";
  position: absolute;
  top: 0.66em;
  left: 0;
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--amber);
}

.preference-section {
  padding: clamp(58px, 8vw, 96px) 0;
  background:
    linear-gradient(180deg, #f5f9f0, #eef5ef);
}

.preference-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1px;
  overflow: hidden;
  border: 1px solid rgba(23, 77, 54, 0.16);
  border-radius: 8px;
  background: rgba(23, 77, 54, 0.16);
}

.preference-grid article {
  min-height: 290px;
  padding: clamp(22px, 3vw, 34px);
  background: #fffdf8;
}

.preference-number {
  margin-bottom: 22px;
  color: var(--amber);
  font-weight: 900;
  letter-spacing: 0.08em;
}

.preference-grid p:not(.preference-number) {
  color: var(--muted);
  line-height: 1.65;
}

.promise-section {
  padding: clamp(64px, 8vw, 112px) 0;
  background: #eef5ef;
}

.promise-layout {
  display: grid;
  grid-template-columns: minmax(280px, 0.8fr) minmax(0, 1fr);
  gap: clamp(28px, 6vw, 76px);
  align-items: center;
}

.promise-media img {
  border-radius: 8px;
  box-shadow: var(--shadow);
  aspect-ratio: 4 / 3;
  object-fit: cover;
  background: #fff;
}

.promise-copy p {
  color: var(--muted);
  line-height: 1.65;
}

.promise-list {
  display: grid;
  gap: 14px;
  margin-top: 28px;
}

.promise-list div {
  display: grid;
  grid-template-columns: 150px minmax(0, 1fr);
  gap: 20px;
  padding: 18px 0;
  border-top: 1px solid rgba(23, 77, 54, 0.18);
}

.promise-list strong {
  color: var(--leaf);
}

.promise-list span {
  color: var(--muted);
  line-height: 1.55;
}

.cta-section {
  padding: clamp(58px, 8vw, 94px) 0;
  color: #fff;
  background:
    linear-gradient(135deg, rgba(23, 77, 54, 0.97), rgba(39, 67, 48, 0.93)),
    url("assets/slimtox-relax-pack.jpeg") center / cover no-repeat;
}

.cta-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 32px;
  align-items: center;
}

.cta-layout h2 {
  max-width: 760px;
}

.cta-layout p:not(.eyebrow) {
  max-width: 660px;
  margin-bottom: 0;
  color: rgba(255, 255, 255, 0.82);
  font-size: 1.05rem;
  line-height: 1.7;
}

.cta-actions {
  justify-content: flex-end;
}

.site-footer {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding: 24px clamp(18px, 5vw, 64px);
  color: rgba(255, 255, 255, 0.8);
  background: #111a16;
  font-size: 0.92rem;
}

@media (max-width: 900px) {
  .site-header {
    align-items: flex-start;
  }

  .nav-links {
    gap: 12px;
    font-size: 0.84rem;
  }

  .hero {
    min-height: 86svh;
    background-position: 58% center;
  }

  .quality-strip,
  .intro-grid,
  .content-layout,
  .promise-layout,
  .cta-layout {
    grid-template-columns: 1fr;
  }

  .quality-strip {
    width: calc(100% + 36px);
    margin-left: -18px;
  }

  .content-panel {
    position: static;
  }

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

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

  .featured-product {
    grid-column: 1 / -1;
  }

  .cta-actions {
    justify-content: flex-start;
  }
}

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

  .brand-mark span:last-child {
    max-width: 72px;
    line-height: 1.05;
  }

  .nav-links a {
    padding: 7px 0;
  }

  .hero {
    min-height: 92svh;
    padding-top: 112px;
    background:
      linear-gradient(90deg, rgba(7, 17, 12, 0.86) 0%, rgba(7, 17, 12, 0.58) 54%, rgba(7, 17, 12, 0.14) 100%),
      url("assets/digestg-hero.jpeg") 62% center / cover no-repeat;
  }

  h1 {
    font-size: clamp(3.45rem, 21vw, 5.3rem);
  }

  .hero-copy {
    font-size: 1rem;
  }

  .btn {
    width: 100%;
    padding-left: 16px;
    padding-right: 16px;
  }

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

  .quality-strip span {
    min-height: 58px;
    font-size: 0.78rem;
  }

  .product-grid {
    grid-template-columns: 1fr;
  }

  .product-copy {
    padding: 18px;
  }

  .preference-grid {
    grid-template-columns: 1fr;
  }

  .preference-grid article {
    min-height: 0;
  }

  .promise-list div {
    grid-template-columns: 1fr;
    gap: 6px;
  }

  .site-footer {
    flex-direction: column;
  }
}
