:root {
  --ink: #201715;
  --muted: #665753;
  --paper: #fbf4ea;
  --paper-deep: #ead7c2;
  --red: #7f231c;
  --red-deep: #54130f;
  --sage: #6f7d54;
  --leaf: #9aa66b;
  --gold: #c99447;
  --white: #fffaf3;
  --shadow: 0 24px 80px rgba(69, 28, 19, 0.18);
  --radius: 8px;
  --max: 1180px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--ink);
  background:
    radial-gradient(circle at 10% 5%, rgba(201, 148, 71, 0.16), transparent 28rem),
    linear-gradient(180deg, var(--paper) 0%, #fffaf4 40%, #f6eadc 100%);
  line-height: 1.6;
}

img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }

.skip-link,
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
}

.skip-link:focus {
  z-index: 100;
  width: auto;
  height: auto;
  clip: auto;
  padding: 0.75rem 1rem;
  background: var(--red);
  color: var(--white);
}

.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 50;
  padding: 0.75rem;
  transition: background 240ms ease, box-shadow 240ms ease;
}

.site-header.is-scrolled {
  background: rgba(251, 244, 234, 0.86);
  box-shadow: 0 12px 40px rgba(32, 23, 21, 0.08);
  backdrop-filter: blur(16px);
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: var(--max);
  margin: 0 auto;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  font-weight: 900;
  color: var(--red-deep);
}

.brand-mark {
  display: grid;
  width: 2.35rem;
  height: 2.35rem;
  place-items: center;
  border-radius: 50%;
  background: var(--red);
  color: var(--white);
  box-shadow: 0 10px 24px rgba(127, 35, 28, 0.28);
}

.nav-toggle {
  display: grid;
  gap: 0.28rem;
  width: 2.75rem;
  height: 2.75rem;
  place-content: center;
  border: 1px solid rgba(127, 35, 28, 0.18);
  border-radius: var(--radius);
  background: rgba(255, 250, 243, 0.74);
  cursor: pointer;
}

.nav-toggle span:not(.sr-only) {
  display: block;
  width: 1.15rem;
  height: 2px;
  background: var(--red-deep);
}

.nav-menu {
  position: absolute;
  top: 4.4rem;
  right: 0.75rem;
  left: 0.75rem;
  display: grid;
  gap: 0.35rem;
  padding: 0.75rem;
  border: 1px solid rgba(127, 35, 28, 0.14);
  border-radius: var(--radius);
  background: rgba(255, 250, 243, 0.96);
  box-shadow: var(--shadow);
  transform: translateY(-0.5rem);
  opacity: 0;
  pointer-events: none;
  transition: opacity 220ms ease, transform 220ms ease;
}

.nav-menu.is-open {
  transform: translateY(0);
  opacity: 1;
  pointer-events: auto;
}

.nav-menu a {
  padding: 0.75rem;
  border-radius: 6px;
  color: var(--muted);
  font-weight: 750;
}

.nav-menu a:hover {
  background: rgba(127, 35, 28, 0.08);
  color: var(--red);
}

.hero {
  position: relative;
  display: grid;
  min-height: 100svh;
  padding: 7rem 1.15rem 4.5rem;
  overflow: hidden;
}

.hero::before {
  position: absolute;
  inset: 0;
  z-index: -2;
  content: "";
  background:
    linear-gradient(145deg, rgba(127, 35, 28, 0.14), transparent 48%),
    url("../assets/botanical-pattern.svg") center/780px auto;
  opacity: 0.82;
}

.hero::after {
  position: absolute;
  right: -10rem;
  bottom: -12rem;
  z-index: -1;
  width: 28rem;
  height: 28rem;
  content: "";
  background: conic-gradient(from 180deg, rgba(127, 35, 28, 0.2), rgba(154, 166, 107, 0.18), rgba(201, 148, 71, 0.22), rgba(127, 35, 28, 0.2));
  filter: blur(26px);
  opacity: 0.7;
  animation: slow-spin 16s linear infinite;
}

.hero-copy {
  align-self: end;
  max-width: 46rem;
}

.eyebrow {
  margin: 0 0 0.85rem;
  color: var(--red);
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

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

h1,
h2 {
  font-family: Georgia, "Times New Roman", serif;
  line-height: 0.98;
}

h1 {
  max-width: 12ch;
  margin-bottom: 1.25rem;
  color: var(--red-deep);
  font-size: clamp(3.4rem, 16vw, 7.5rem);
}

h2 {
  margin-bottom: 1rem;
  font-size: clamp(2.25rem, 11vw, 5.3rem);
}

h3 {
  margin-bottom: 0.75rem;
  font-size: 1.15rem;
}

.hero-text,
.intro-text,
.ingredient-copy p,
.community-copy p {
  color: var(--muted);
  font-size: 1.05rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 1.8rem;
}

.button {
  display: inline-flex;
  min-height: 3rem;
  align-items: center;
  justify-content: center;
  padding: 0.82rem 1.1rem;
  border: 1px solid transparent;
  border-radius: var(--radius);
  font-weight: 850;
  transition: transform 180ms ease, box-shadow 180ms ease, background 180ms ease;
}

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

.button.primary {
  background: var(--red);
  color: var(--white);
  box-shadow: 0 16px 34px rgba(127, 35, 28, 0.28);
}

.button.ghost {
  border-color: rgba(127, 35, 28, 0.24);
  background: rgba(255, 250, 243, 0.54);
  color: var(--red-deep);
}

.hero-visual {
  align-self: center;
  justify-self: center;
  width: min(76vw, 26rem);
  margin-top: 2rem;
  filter: drop-shadow(0 34px 46px rgba(72, 28, 16, 0.24));
  animation: float 5s ease-in-out infinite;
}

.scroll-cue {
  position: absolute;
  right: 1rem;
  bottom: 1.25rem;
  color: rgba(84, 19, 15, 0.6);
  font-size: 0.75rem;
  font-weight: 850;
  text-transform: uppercase;
  writing-mode: vertical-rl;
}

.section {
  max-width: var(--max);
  margin: 0 auto;
  padding: 5rem 1.15rem;
}

.section-heading {
  max-width: 52rem;
  margin-bottom: 2rem;
}

.intro {
  display: grid;
  gap: 1.5rem;
}

.intro-text {
  max-width: 47rem;
  font-size: 1.16rem;
}

.benefit-grid,
.comparison-grid {
  display: grid;
  gap: 1rem;
}

.benefit-card,
.compare-panel {
  position: relative;
  overflow: hidden;
  min-height: 15rem;
  padding: 1.2rem;
  border: 1px solid rgba(127, 35, 28, 0.12);
  border-radius: var(--radius);
  background: rgba(255, 250, 243, 0.76);
  box-shadow: 0 18px 48px rgba(84, 19, 15, 0.08);
}

.benefit-card::after {
  position: absolute;
  right: -2.5rem;
  bottom: -3rem;
  width: 8rem;
  height: 8rem;
  border: 1.5rem solid rgba(154, 166, 107, 0.18);
  border-radius: 50%;
  content: "";
}

.card-index {
  display: inline-block;
  margin-bottom: 3.5rem;
  color: var(--gold);
  font-weight: 900;
}

.benefit-card p,
.compare-panel li {
  color: var(--muted);
}

.ingredients {
  display: grid;
  gap: 2rem;
  border-block: 1px solid rgba(127, 35, 28, 0.12);
}

.ingredient-list {
  display: grid;
  gap: 0.75rem;
}

.ingredient-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1rem;
  border-radius: var(--radius);
  background: var(--ink);
  color: var(--white);
}

.ingredient-item span {
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.35rem;
}

.ingredient-item strong {
  color: #f1cf8d;
  font-size: 0.78rem;
  text-align: right;
  text-transform: uppercase;
}

.compare-panel h3 {
  color: var(--red-deep);
  font-size: 1.35rem;
}

.compare-panel ul {
  display: grid;
  gap: 0.8rem;
  margin: 1.25rem 0 0;
  padding: 0;
  list-style: none;
}

.compare-panel li {
  display: grid;
  grid-template-columns: 1.4rem 1fr;
  gap: 0.6rem;
}

.compare-panel li::before {
  width: 0.75rem;
  height: 0.75rem;
  margin-top: 0.45rem;
  border-radius: 50%;
  content: "";
  background: var(--red);
}

.compare-panel.featured {
  background: linear-gradient(145deg, var(--red), var(--red-deep));
}

.compare-panel.featured h3,
.compare-panel.featured li {
  color: var(--white);
}

.compare-panel.featured li::before {
  background: var(--leaf);
}

.community {
  display: grid;
  gap: 2rem;
}

.community-rail {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
}

.community-rail span {
  padding: 0.75rem 0.9rem;
  border: 1px solid rgba(111, 125, 84, 0.28);
  border-radius: 999px;
  background: rgba(255, 250, 243, 0.72);
  color: var(--red-deep);
  font-weight: 850;
}

.final-cta {
  padding: 5.5rem 1.15rem;
  background:
    linear-gradient(rgba(32, 23, 21, 0.84), rgba(32, 23, 21, 0.78)),
    url("../assets/botanical-pattern.svg") center/620px auto,
    var(--ink);
  color: var(--white);
}

.final-inner {
  max-width: var(--max);
  margin: 0 auto;
}

.final-inner h2 { max-width: 13ch; }

.footer {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  align-items: center;
  justify-content: space-between;
  padding: 1.25rem;
  color: var(--muted);
}

.footer p { margin: 0; }

.footer a {
  color: var(--red);
  font-weight: 850;
}

.reveal {
  transform: translateY(1rem);
  opacity: 0;
  transition: opacity 700ms ease, transform 700ms ease;
}

.reveal.is-visible {
  transform: translateY(0);
  opacity: 1;
}

@keyframes float {
  0%, 100% { transform: translateY(0) rotate(-1deg); }
  50% { transform: translateY(-1rem) rotate(1deg); }
}

@keyframes slow-spin {
  to { transform: rotate(360deg); }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
  }
}

@media (min-width: 760px) {
  .site-header { padding: 1rem 1.5rem; }
  .nav-toggle { display: none; }

  .nav-menu {
    position: static;
    display: flex;
    align-items: center;
    gap: 0.2rem;
    padding: 0.25rem;
    border-radius: 999px;
    transform: none;
    opacity: 1;
    pointer-events: auto;
    box-shadow: none;
  }

  .nav-menu a {
    padding: 0.68rem 0.9rem;
    border-radius: 999px;
    font-size: 0.9rem;
  }

  .hero {
    grid-template-columns: minmax(0, 1.08fr) minmax(18rem, 0.72fr);
    gap: 2rem;
    align-items: center;
    padding: 8rem 1.5rem 5rem;
  }

  .hero-copy {
    justify-self: end;
    width: min(100%, 39rem);
  }

  .hero-visual {
    width: min(42vw, 30rem);
    margin-top: 0;
    justify-self: start;
  }

  .section { padding: 7rem 1.5rem; }

  .intro,
  .ingredients,
  .community {
    grid-template-columns: 0.9fr 1.1fr;
    align-items: start;
  }

  .benefit-grid { grid-template-columns: repeat(3, 1fr); }
  .comparison-grid { grid-template-columns: repeat(2, 1fr); }

  .benefit-card,
  .compare-panel {
    padding: 1.4rem;
  }
}

@media (min-width: 1120px) {
  .hero {
    padding-inline: max(2rem, calc((100vw - var(--max)) / 2));
  }

  .hero-copy { justify-self: start; }
}
