:root {
  --ink: #1f2a24;
  --muted: #657268;
  --line: #d9dfd7;
  --paper: #fbfbf7;
  --white: #ffffff;
  --sage: #339d19;
  --sage-dark: #20720f;
  --leaf: #60704c;
  --sun: #d6bc65;
  --clay: #a45f46;
  --shadow: 0 18px 55px rgba(31, 42, 36, 0.12);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

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

body.cart-open {
  overflow: hidden;
}

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

a {
  color: inherit;
}

button,
input,
textarea,
select {
  font: inherit;
}

.skip-link {
  position: absolute;
  left: 1rem;
  top: -4rem;
  z-index: 10;
  background: var(--ink);
  color: var(--white);
  padding: 0.6rem 0.9rem;
}

.skip-link:focus {
  top: 1rem;
}

.notice {
  background: linear-gradient(90deg, #20720f, #339d19, #417586);
  color: var(--white);
  font-size: 0.86rem;
  letter-spacing: 0.01em;
  padding: 0.55rem 1rem;
  text-align: center;
}

.nav {
  position: sticky;
  top: 0;
  z-index: 5;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  border-bottom: 1px solid var(--line);
  background: rgba(251, 251, 247, 0.96);
  padding: 0.75rem clamp(1rem, 4vw, 3rem);
  backdrop-filter: blur(14px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  text-decoration: none;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.brand img {
  width: 44px;
  height: 44px;
  border-radius: 999px;
  object-fit: contain;
  opacity: 0.88;
}

.brand span {
  display: grid;
  line-height: 1.05;
}

.brand small {
  color: var(--muted);
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.06em;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 1.1rem;
}

.nav-links a,
.cart-link {
  border: 0;
  background: transparent;
  color: var(--ink);
  cursor: pointer;
  font-weight: 700;
  text-decoration: none;
}

.cart-link {
  border: 1px solid var(--sage);
  border-radius: 999px;
  padding: 0.55rem 0.9rem;
}

.cart-link span {
  display: inline-grid;
  min-width: 1.45rem;
  height: 1.45rem;
  place-items: center;
  border-radius: 999px;
  background: var(--sage);
  color: var(--white);
  font-size: 0.78rem;
}

.nav-toggle {
  display: none;
  border: 1px solid var(--line);
  border-radius: 0.35rem;
  background: var(--white);
  padding: 0.45rem 0.7rem;
}

.hero {
  display: grid;
  min-height: 720px;
  grid-template-columns: minmax(0, 1fr);
  isolation: isolate;
  overflow: hidden;
}

.hero-media,
.hero-content,
.hero-side {
  grid-area: 1 / 1;
}

.hero-media::after {
  position: absolute;
  inset: 0;
  content: "";
  background:
    radial-gradient(circle at 78% 58%, rgba(51, 157, 25, 0.32), transparent 30%),
    linear-gradient(90deg, rgba(251, 251, 247, 0.98), rgba(251, 251, 247, 0.86) 48%, rgba(251, 251, 247, 0.38));
}

.hero-media {
  position: relative;
  min-height: 720px;
}

.hero-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-content {
  z-index: 1;
  align-self: center;
  width: min(760px, calc(100% - 2rem));
  margin-left: clamp(1rem, 7vw, 6rem);
  padding: 4rem 0;
}

.hero-logo {
  width: 54px;
  height: 54px;
  border-radius: 999px;
  box-shadow: 0 10px 26px rgba(32, 114, 15, 0.12);
  opacity: 0.86;
}

.hero-brand {
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
  border: 1px solid rgba(51, 157, 25, 0.18);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.72);
  color: var(--sage-dark);
  font-weight: 700;
  margin-bottom: 1.15rem;
  padding: 0.35rem 0.9rem 0.35rem 0.35rem;
}

.eyebrow {
  color: var(--sage-dark);
  font-size: 0.84rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  margin: 0 0 0.7rem;
  text-transform: uppercase;
}

h1,
h2,
h3 {
  line-height: 1.08;
  margin: 0;
}

h1 {
  font-size: clamp(2.55rem, 5.1vw, 5.7rem);
  max-width: 720px;
}

h2 {
  font-size: clamp(2rem, 3.5vw, 3.8rem);
}

h3 {
  font-size: 1.35rem;
}

.hero-content > p:not(.eyebrow) {
  max-width: 570px;
  color: var(--muted);
  font-size: 1.15rem;
}

.hero-actions,
.trust-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 1.4rem;
}

.button {
  display: inline-flex;
  min-height: 3rem;
  align-items: center;
  justify-content: center;
  border: 1px solid transparent;
  border-radius: 0.35rem;
  cursor: pointer;
  font-weight: 700;
  padding: 0.85rem 1.15rem;
  text-decoration: none;
}

.button.primary {
  background: var(--sage);
  color: var(--white);
}

.button.primary:hover {
  background: var(--sage-dark);
}

.button.secondary {
  border-color: var(--sage);
  background: rgba(255, 255, 255, 0.72);
  color: var(--sage-dark);
}

.button.full {
  width: 100%;
}

.trust-row {
  list-style: none;
  padding: 0;
}

.trust-row li {
  border-left: 3px solid var(--sun);
  background: rgba(255, 255, 255, 0.65);
  padding: 0.35rem 0.7rem;
}

.review-strip {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 0 0.8rem;
  align-items: center;
  width: min(560px, 100%);
  border: 1px solid rgba(51, 157, 25, 0.22);
  border-radius: 0.55rem;
  background: rgba(255, 255, 255, 0.82);
  box-shadow: 0 12px 36px rgba(31, 42, 36, 0.1);
  margin-top: 1.25rem;
  padding: 0.85rem 1rem;
}

.review-strip span {
  color: var(--sun);
  font-weight: 700;
  letter-spacing: 0.04em;
}

.review-strip p {
  grid-column: 1 / -1;
  color: var(--muted);
  font-size: 0.92rem;
  margin: 0.25rem 0 0;
}

.hero-side {
  z-index: 1;
  justify-self: end;
  align-self: center;
  display: grid;
  gap: 1rem;
  width: min(410px, 31vw);
  margin: 5rem clamp(1rem, 5vw, 5rem) 1rem 1rem;
}

.hero-product {
  display: grid;
  grid-template-columns: 106px minmax(0, 1fr);
  gap: 0.9rem;
  border: 1px solid rgba(255, 255, 255, 0.72);
  border-radius: 0.7rem;
  background: rgba(255, 255, 255, 0.88);
  box-shadow: var(--shadow);
  padding: 0.75rem;
  backdrop-filter: blur(12px);
}

.hero-product img {
  width: 106px;
  height: 106px;
  border-radius: 0.5rem;
  object-fit: cover;
}

.hero-product span {
  color: var(--clay);
  display: block;
  font-size: 0.82rem;
  font-weight: 700;
  text-transform: uppercase;
}

.hero-product strong {
  display: block;
  font-size: 1.25rem;
  line-height: 1.12;
  margin: 0.2rem 0;
}

.hero-product p {
  color: var(--muted);
  margin: 0;
}

.trust-panel {
  display: grid;
  grid-template-columns: minmax(260px, 0.8fr) minmax(0, 1.35fr);
  gap: clamp(1rem, 3vw, 2rem);
  border-block: 1px solid var(--line);
  background:
    linear-gradient(135deg, rgba(51, 157, 25, 0.1), rgba(255, 255, 255, 0.92) 38%),
    var(--white);
  padding: clamp(2rem, 5vw, 4rem) clamp(1rem, 5vw, 4rem);
}

.trust-summary {
  align-self: center;
}

.trust-summary p:not(.eyebrow) {
  color: var(--muted);
  max-width: 440px;
}

.trust-summary h2 {
  font-size: clamp(1.7rem, 3vw, 3rem);
}

.trust-cards {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.9rem;
}

.trust-card {
  display: grid;
  gap: 0.45rem;
  border: 1px solid var(--line);
  border-radius: 0.55rem;
  background: rgba(255, 255, 255, 0.9);
  box-shadow: 0 12px 34px rgba(31, 42, 36, 0.08);
  padding: 1rem;
}

.trust-card.featured {
  border-color: rgba(51, 157, 25, 0.34);
  box-shadow: 0 18px 46px rgba(32, 114, 15, 0.14);
}

.stars {
  color: var(--sun);
  font-size: 1.1rem;
  font-weight: 700;
  letter-spacing: 0.04em;
}

.trust-card strong {
  font-size: 1.05rem;
}

.trust-card p {
  color: var(--muted);
  margin: 0;
}

.trust-note {
  align-self: end;
  color: var(--sage-dark);
  font-size: 0.82rem;
  font-weight: 700;
  margin-top: 0.45rem;
}

.trust-bar {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 0.55rem;
  background: var(--line);
}

.trust-bar div {
  display: grid;
  gap: 0.15rem;
  background: var(--paper);
  padding: 0.95rem 1rem;
}

.trust-bar span {
  color: var(--muted);
  font-size: 0.9rem;
}

.section {
  padding: clamp(4rem, 8vw, 7rem) clamp(1rem, 5vw, 4rem);
}

.section.muted {
  background: #eef1e7;
}

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

.shipping-section {
  background: #f3f5ee;
}

.split {
  display: grid;
  align-items: center;
  grid-template-columns: minmax(0, 1fr) minmax(340px, 520px);
  gap: clamp(2rem, 5vw, 5rem);
}

.split.reverse {
  grid-template-columns: minmax(340px, 500px) minmax(0, 1fr);
}

.split.reverse > :first-child {
  order: 2;
}

.benefit-grid {
  display: grid;
  gap: 1rem;
  margin-top: 1.5rem;
}

.benefit-grid div,
.copy-box,
.payment-panel,
.featured-product,
.product-card,
details {
  border: 1px solid var(--line);
  border-radius: 0.5rem;
  background: var(--white);
}

.benefit-grid div {
  display: grid;
  gap: 0.15rem;
  padding: 1rem;
}

.benefit-grid span,
.product-card p,
.featured-product p,
.copy-box p,
.payment-panel p,
details p {
  color: var(--muted);
}

.featured-product {
  box-shadow: var(--shadow);
  overflow: hidden;
}

.featured-product img {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  background: #eef1e7;
}

.featured-product > div {
  padding: 1.35rem;
}

.tag {
  color: var(--clay);
  font-weight: 700;
  margin: 0 0 0.45rem;
}

.price {
  font-size: 1.35rem;
  font-weight: 700;
  margin: 1rem 0;
}

.section-head {
  max-width: 760px;
  margin-bottom: 2rem;
}

.section-head p:not(.eyebrow) {
  color: var(--muted);
}

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

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

.shipping-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1rem;
}

.shipping-grid article {
  border: 1px solid var(--line);
  border-radius: 0.5rem;
  background: var(--white);
  padding: 1.1rem;
}

.shipping-grid strong,
.shipping-grid span {
  display: block;
}

.shipping-grid strong {
  font-size: 1.15rem;
}

.shipping-grid span {
  color: var(--sage-dark);
  font-weight: 700;
  margin: 0.25rem 0 0.55rem;
}

.shipping-grid p {
  color: var(--muted);
  margin: 0;
}

.merchant-note {
  display: flex;
  gap: 0.55rem;
  align-items: flex-start;
  border: 1px solid rgba(51, 157, 25, 0.25);
  border-radius: 0.5rem;
  background: rgba(255, 255, 255, 0.82);
  color: var(--muted);
  margin-top: 1rem;
  padding: 1rem;
}

.merchant-note strong {
  color: var(--ink);
  white-space: nowrap;
}

.seo-grid article {
  border: 1px solid var(--line);
  border-radius: 0.5rem;
  background: var(--paper);
  padding: 1.2rem;
}

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

.product-card {
  display: grid;
  grid-template-rows: auto 1fr;
  min-width: 0;
  overflow: hidden;
}

.product-card img {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  background: #dde5d2;
}

.product-card-body {
  display: grid;
  align-content: start;
  gap: 0.65rem;
  padding: 1rem;
}

.product-meta {
  color: var(--leaf);
  font-size: 0.86rem;
  font-weight: 700;
}

.payment-panel,
.copy-box,
.application-panel,
.dosage-box {
  padding: clamp(1.2rem, 3vw, 2rem);
}

.application-panel,
.dosage-box {
  border: 1px solid var(--line);
  border-radius: 0.5rem;
  background: var(--white);
}

.application-panel {
  background:
    linear-gradient(135deg, rgba(51, 157, 25, 0.12), rgba(255, 255, 255, 0.92)),
    var(--white);
}

.use-cases {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
  margin-top: 1.4rem;
}

.use-cases span {
  border: 1px solid rgba(51, 157, 25, 0.24);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.75);
  color: var(--sage-dark);
  font-weight: 700;
  padding: 0.45rem 0.8rem;
}

.steps {
  display: grid;
  gap: 0.8rem;
  margin: 1.5rem 0 0;
  padding-left: 1.3rem;
}

.faq-list {
  display: grid;
  gap: 0.85rem;
  max-width: 950px;
}

details {
  padding: 1rem 1.2rem;
}

summary {
  cursor: pointer;
  font-weight: 700;
}

.footer {
  display: flex;
  justify-content: space-between;
  gap: 2rem;
  border-top: 1px solid var(--line);
  background: var(--ink);
  color: var(--white);
  padding: 2rem clamp(1rem, 5vw, 4rem);
}

.footer img {
  width: 52px;
  margin-bottom: 0.7rem;
}

.footer p {
  max-width: 460px;
  color: rgba(255, 255, 255, 0.78);
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  align-content: start;
  justify-content: flex-end;
  gap: 0.85rem;
}

.cart-drawer {
  position: fixed;
  inset: 0;
  z-index: 20;
  display: none;
}

.cart-drawer[aria-hidden="false"] {
  display: block;
}

.cart-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(31, 42, 36, 0.52);
}

.cart-panel {
  position: absolute;
  top: 0;
  right: 0;
  display: grid;
  width: min(480px, 100%);
  max-height: 100%;
  gap: 1rem;
  overflow: auto;
  background: var(--paper);
  padding: 1rem;
  box-shadow: var(--shadow);
}

.cart-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.icon-button {
  width: 2.4rem;
  height: 2.4rem;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--white);
  cursor: pointer;
  font-size: 1.5rem;
}

.cart-items {
  display: grid;
  gap: 0.8rem;
}

.cart-empty {
  border: 1px dashed var(--line);
  border-radius: 0.5rem;
  color: var(--muted);
  padding: 1rem;
  text-align: center;
}

.cart-item {
  display: grid;
  grid-template-columns: 68px 1fr auto;
  gap: 0.8rem;
  align-items: center;
  border: 1px solid var(--line);
  border-radius: 0.5rem;
  background: var(--white);
  padding: 0.65rem;
}

.cart-item img {
  width: 68px;
  height: 68px;
  border-radius: 0.35rem;
  object-fit: cover;
}

.cart-item h3 {
  font-size: 0.98rem;
}

.quantity {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  margin-top: 0.45rem;
}

.quantity button {
  width: 1.9rem;
  height: 1.9rem;
  border: 1px solid var(--line);
  border-radius: 0.3rem;
  background: var(--paper);
  cursor: pointer;
}

.cart-total {
  display: flex;
  justify-content: space-between;
  border-top: 1px solid var(--line);
  padding-top: 1rem;
  font-size: 1.2rem;
}

.checkout-form {
  display: grid;
  gap: 0.8rem;
  border-top: 1px solid var(--line);
  padding-top: 1rem;
}

.checkout-form label {
  display: grid;
  gap: 0.3rem;
  font-weight: 700;
}

.checkout-form input,
.checkout-form textarea,
.checkout-form select {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 0.35rem;
  background: var(--white);
  padding: 0.75rem;
}

.small {
  color: var(--muted);
  font-size: 0.88rem;
  margin: 0;
}

.order-result {
  border: 1px solid var(--sage);
  border-radius: 0.5rem;
  background: var(--white);
  padding: 1rem;
}

.order-result code {
  display: block;
  white-space: pre-wrap;
}

@media (max-width: 920px) {
  .nav-toggle {
    display: inline-flex;
  }

  .nav-links {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    display: none;
    flex-direction: column;
    align-items: stretch;
    border-bottom: 1px solid var(--line);
    background: var(--paper);
    padding: 1rem;
  }

  .nav-links.open {
    display: flex;
  }

  .cart-link {
    width: 100%;
  }

  .hero,
  .hero-media {
    min-height: 720px;
  }

  .hero-media::after {
    background: linear-gradient(180deg, rgba(251, 251, 247, 0.95), rgba(251, 251, 247, 0.85) 55%, rgba(251, 251, 247, 0.45));
  }

  .hero-content {
    align-self: center;
    margin: 0 auto;
    padding: 2rem 0 7.5rem;
  }

  .split,
  .split.reverse,
  .product-grid,
  .seo-grid,
  .shipping-grid,
  .trust-panel,
  .trust-cards,
  .trust-bar {
    grid-template-columns: 1fr;
  }

  .hero-side {
    justify-self: center;
    width: min(520px, calc(100% - 2rem));
    margin: 0 1rem 1rem;
  }

  .split.reverse > :first-child {
    order: 0;
  }

  .footer {
    flex-direction: column;
  }

  .footer-links {
    justify-content: flex-start;
  }
}

@media (max-width: 560px) {
  .notice {
    font-size: 0.78rem;
  }

  .brand span {
    font-size: 0.95rem;
  }

  h1 {
    font-size: 2.35rem;
  }

  .hero-actions,
  .trust-row {
    display: grid;
  }

  .hero-product {
    grid-template-columns: 92px minmax(0, 1fr);
  }

  .hero-product img {
    width: 92px;
    height: 92px;
  }

  .cart-item {
    grid-template-columns: 58px 1fr;
  }

  .cart-item > strong {
    grid-column: 2;
  }
}
