:root {
  color-scheme: light;
  --ink: #1a1412;
  --muted: #6b625e;
  --paper: #fcf9f5;
  --cream: #f4efe7;
  --cacao: #4a270f;
  --leaf: #4a5d3f;
  --stone: #e8e1d7;
  --line: rgba(26, 20, 18, 0.11);
  --shadow: 0 20px 60px rgba(26, 20, 18, 0.12);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, sans-serif;
  line-height: 1.55;
  overflow-x: hidden;
}

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

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

:focus-visible {
  outline: 2px solid var(--cacao);
  outline-offset: 2px;
  border-radius: 2px;
}

button:focus-visible,
.button:focus-visible {
  outline: 2px solid var(--cacao);
  outline-offset: 3px;
}

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 24px;
  padding: 14px 32px;
  background: rgba(252, 249, 245, 0.92);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--line);
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 700;
  font-size: 1.05rem;
  color: var(--ink);
  letter-spacing: -0.01em;
}

.brand-mark {
  width: 24px;
  height: 24px;
}

nav {
  display: flex;
  gap: 28px;
  justify-content: center;
  font-size: 0.88rem;
  font-weight: 500;
  color: var(--muted);
}

.header-cta {
  padding: 8px 20px;
  background: var(--cacao);
  color: #fff;
  border-radius: 6px;
  font-weight: 600;
  font-size: 0.85rem;
  white-space: nowrap;
}

.attribution {
  font-size: 0.72rem;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

/* Hero */
.hero {
  max-width: 860px;
  margin: 0 auto;
  padding: 80px 32px 60px;
  text-align: center;
}

.hero .eyebrow {
  display: inline-block;
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--cacao);
  margin-bottom: 16px;
  padding: 4px 12px;
  background: var(--cream);
  border-radius: 4px;
}

.hero h1 {
  font-size: clamp(2.2rem, 5vw, 3.2rem);
  font-weight: 900;
  line-height: 1.07;
  letter-spacing: -0.03em;
  margin: 0 0 16px;
}

.hero .lede {
  font-size: 1.1rem;
  line-height: 1.55;
  color: var(--muted);
  max-width: 580px;
  margin: 0 auto 28px;
}

.hero-actions {
  display: flex;
  gap: 12px;
  justify-content: center;
  flex-wrap: wrap;
}

.button {
  display: inline-block;
  padding: 13px 28px;
  border-radius: 6px;
  font-weight: 700;
  font-size: 0.92rem;
  cursor: pointer;
  border: 0;
  font-family: inherit;
}

.button.primary {
  background: var(--cacao);
  color: #fff;
}

.button.secondary {
  background: transparent;
  color: var(--cacao);
  border: 1.5px solid var(--cacao);
}

.trust-pills {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
  margin-top: 28px;
  font-size: 0.82rem;
  color: var(--muted);
  font-weight: 500;
}

.trust-pills span {
  display: flex;
  align-items: center;
  gap: 6px;
}

.trust-pills span::before {
  content: "";
  display: inline-block;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--leaf);
}

/* Section */
.section {
  max-width: 980px;
  margin: 0 auto;
  padding: 64px 32px;
}

.section-label {
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--cacao);
  margin-bottom: 8px;
}

.section h2 {
  font-size: clamp(1.6rem, 3vw, 2rem);
  font-weight: 900;
  line-height: 1.12;
  margin: 0 0 12px;
  letter-spacing: -0.02em;
}

.section .subhead {
  font-size: 1rem;
  color: var(--muted);
  max-width: 620px;
  margin: 0 0 32px;
}

/* Cards */
.card-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-top: 32px;
}

.card {
  background: var(--cream);
  border-radius: 8px;
  padding: 28px 22px;
  border: 1px solid var(--line);
}

.card .card-num {
  font-size: 0.7rem;
  font-weight: 800;
  color: var(--cacao);
  letter-spacing: 0.06em;
  margin-bottom: 8px;
}

.card h3 {
  font-size: 1.05rem;
  font-weight: 800;
  margin: 0 0 8px;
}

.card p {
  font-size: 0.9rem;
  color: var(--muted);
  line-height: 1.5;
  margin: 0;
}

/* Comparison */
.comparison {
  background: var(--cream);
  border: 1px solid var(--line);
  border-radius: 10px;
  overflow: hidden;
  margin-top: 32px;
}

.comparison-row {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  padding: 18px 22px;
  font-size: 0.9rem;
  align-items: center;
}

.comparison-row.header {
  background: var(--cacao);
  color: #fff;
  font-weight: 800;
  font-size: 0.82rem;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.comparison-row:not(.header) {
  border-bottom: 1px solid var(--line);
}

.comparison-row:last-child {
  border-bottom: 0;
}

.comparison-row .highlight {
  color: var(--leaf);
  font-weight: 700;
}

/* Product */
.product-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 28px;
}

.product-card {
  background: var(--cream);
  border-radius: 10px;
  overflow: hidden;
  border: 1px solid var(--line);
  text-align: center;
  padding-bottom: 24px;
}

.product-card img {
  width: 100%;
  height: 240px;
  object-fit: cover;
  background: var(--stone);
}

.product-card .card-body {
  padding: 18px 16px 0;
}

.product-card .tag {
  display: inline-block;
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--cacao);
  margin-bottom: 6px;
}

.product-card h3 {
  font-size: 1rem;
  font-weight: 800;
  margin: 0 0 4px;
}

.product-card p {
  font-size: 0.83rem;
  color: var(--muted);
  margin: 0;
}

.product-card .price {
  font-weight: 700;
  font-size: 0.9rem;
  margin-top: 10px;
  color: var(--cacao);
}

.product-card .cart-item-add {
  margin-top: 12px;
  display: inline-block;
  padding: 9px 22px;
  background: var(--cacao);
  color: #fff;
  border: 0;
  border-radius: 6px;
  font-weight: 700;
  font-size: 0.82rem;
  cursor: pointer;
  font-family: inherit;
}

/* Instagram Section */
.instagram-section {
  background: var(--cream);
  margin-top: 64px;
  padding: 64px 32px;
}

.instagram-inner {
  max-width: 980px;
  margin: 0 auto;
}

.ig-card-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-top: 28px;
}

.ig-card {
  background: var(--paper);
  border-radius: 8px;
  padding: 24px 18px;
  border: 1px solid var(--line);
}

.ig-card .ig-card-visual {
  width: 100%;
  height: 140px;
  background: var(--stone);
  border-radius: 6px;
  margin-bottom: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.78rem;
  color: var(--muted);
  font-weight: 500;
}

.ig-card h3 {
  font-size: 0.95rem;
  font-weight: 800;
  margin: 0 0 6px;
}

.ig-card p {
  font-size: 0.82rem;
  color: var(--muted);
  margin: 0;
  line-height: 1.45;
}

/* Final CTA */
.final-cta {
  text-align: center;
  padding: 72px 32px 80px;
}

.final-cta h2 {
  font-size: clamp(1.5rem, 3vw, 1.9rem);
  font-weight: 900;
  margin: 0 0 12px;
}

.final-cta p {
  font-size: 1rem;
  color: var(--muted);
  max-width: 500px;
  margin: 0 auto 24px;
}

/* Footer */
footer {
  max-width: 980px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 32px;
  border-top: 1px solid var(--line);
  font-size: 0.82rem;
  color: var(--muted);
}

.powered-by {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.78rem;
}

.powered-by img {
  height: 18px;
  width: auto;
}

/* Cart */
.nutri-cart {
  position: fixed;
  right: 16px;
  bottom: 16px;
  width: min(320px, calc(100vw - 32px));
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 10px;
  box-shadow: var(--shadow);
  padding: 18px;
  z-index: 50;
  transform: translateY(calc(100% + 16px));
  transition: transform 0.25s;
}

.nutri-cart.is-open {
  transform: translateY(0);
}

/* Hamburger */
.hamburger {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 32px;
  height: 32px;
  padding: 4px;
  background: none;
  border: none;
  cursor: pointer;
  z-index: 30;
}

.hamburger span {
  display: block;
  width: 100%;
  height: 2px;
  background: var(--ink);
  border-radius: 1px;
  transition: transform 0.2s, opacity 0.2s;
}

.hamburger.active span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.hamburger.active span:nth-child(2) {
  opacity: 0;
}

.hamburger.active span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

@media (max-width: 980px) {
  .site-header {
    grid-template-columns: 1fr auto auto;
  }

  .hamburger {
    display: flex;
  }

  nav {
    display: none;
  }

  nav.open {
    display: flex;
    flex-direction: column;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--paper);
    padding: 80px 24px 24px;
    z-index: 25;
    gap: 16px;
    font-size: 1.25rem;
  }

  nav.open a {
    padding: 12px 0;
    border-bottom: 1px solid var(--line);
  }

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

@media (max-width: 760px) {
  .site-header {
    grid-template-columns: 1fr auto;
    padding: 12px 16px;
  }

  .header-cta {
    display: none;
  }

  .hero {
    padding: 52px 20px 48px;
  }

  .hero h1 {
    font-size: 2rem;
  }

  .section {
    padding: 48px 20px;
  }

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

  .comparison-row {
    grid-template-columns: 1fr;
    padding: 14px 16px;
    font-size: 0.85rem;
  }

  .comparison-row.header {
    display: none;
  }

  .comparison-row::before {
    display: none;
  }

  .nutri-cart {
    right: 8px;
    bottom: 8px;
  }

  .attribution {
    display: none;
  }

  .final-cta {
    padding: 48px 20px;
  }

  footer {
    flex-direction: column;
    gap: 12px;
  }
}
