:root {
  --background: #f7fbf8;
  --foreground: #14241d;
  --muted: #5a6b61;
  --green: #1f6848;
  --green-dark: #123f2f;
  --plum: #9e1f3c;
  --plum-dark: #651226;
  --line: rgba(20, 36, 29, 0.14);
  --soft: #e9f4ed;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--background);
  color: var(--foreground);
  font-family: Arial, Helvetica, sans-serif;
}

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

.site-header {
  align-items: center;
  backdrop-filter: blur(18px);
  background: rgba(247, 251, 248, 0.9);
  border-bottom: 1px solid var(--line);
  display: flex;
  gap: 24px;
  justify-content: space-between;
  padding: 16px clamp(18px, 4vw, 56px);
  position: sticky;
  top: 0;
  z-index: 20;
}

.brand {
  align-items: center;
  display: inline-flex;
  font-size: 17px;
  font-weight: 800;
  gap: 10px;
  line-height: 1;
}

.brand-logo {
  display: block;
  flex: 0 0 auto;
  height: 34px;
  object-fit: contain;
  width: 34px;
}

nav {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  justify-content: flex-end;
}

nav a {
  border-radius: 999px;
  color: var(--muted);
  font-size: 14px;
  font-weight: 700;
  padding: 9px 12px;
}

nav a:hover {
  background: var(--soft);
  color: var(--green-dark);
}

.hero {
  align-items: center;
  display: grid;
  min-height: min(820px, calc(100svh - 66px));
  overflow: hidden;
  padding: clamp(56px, 8vw, 92px) clamp(18px, 5vw, 80px);
  position: relative;
}

.hero-bg {
  height: 100%;
  inset: 0;
  object-fit: contain;
  object-position: center right;
  position: absolute;
  width: 100%;
  z-index: 0;
}

.hero-shade {
  background:
    linear-gradient(90deg, rgba(247, 251, 248, 0.96) 0%, rgba(247, 251, 248, 0.84) 36%, rgba(247, 251, 248, 0.12) 61%, rgba(247, 251, 248, 0) 100%),
    linear-gradient(180deg, rgba(247, 251, 248, 0.08) 0%, rgba(247, 251, 248, 0.26) 100%);
  inset: 0;
  position: absolute;
  z-index: 1;
}

.hero-copy {
  max-width: 720px;
  position: relative;
  z-index: 2;
}

.eyebrow,
.section-kicker {
  color: var(--plum);
  font-size: 13px;
  font-weight: 900;
  letter-spacing: 0.11em;
  margin: 0 0 14px;
  text-transform: uppercase;
}

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

h1 {
  font-size: clamp(40px, 5.4vw, 76px);
  line-height: 0.98;
  margin-bottom: 22px;
  max-width: 700px;
}

h2 {
  font-size: clamp(32px, 4vw, 56px);
  line-height: 1.02;
  margin-bottom: 22px;
}

h3 {
  font-size: 20px;
  line-height: 1.2;
  margin-bottom: 12px;
}

p {
  color: var(--muted);
  font-size: 17px;
  line-height: 1.75;
}

.hero-text {
  color: #283a31;
  font-size: clamp(18px, 2vw, 22px);
  line-height: 1.6;
  max-width: 620px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 34px;
}

.button {
  align-items: center;
  border-radius: 999px;
  display: inline-flex;
  font-weight: 900;
  justify-content: center;
  min-height: 48px;
  padding: 0 22px;
}

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

.button.secondary {
  background: white;
  border: 1px solid var(--line);
  color: var(--green-dark);
}

.section {
  margin: 0 auto;
  max-width: 1180px;
  padding: clamp(68px, 9vw, 118px) clamp(18px, 4vw, 36px);
}

.intro-grid,
.recipe-section,
.buy-section {
  align-items: start;
  display: grid;
  gap: clamp(28px, 5vw, 64px);
  grid-template-columns: minmax(0, 1.05fr) minmax(280px, 0.95fr);
}

.pillar-grid,
.use-grid {
  display: grid;
  gap: 16px;
}

.mini-card,
.use-card,
.calculator,
.checklist,
details {
  background: rgba(255, 255, 255, 0.86);
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: 0 18px 60px rgba(18, 63, 47, 0.08);
}

.mini-card,
.use-card,
.checklist {
  padding: 24px;
}

.mini-card p,
.use-card p,
.checklist li,
.calc-hint {
  font-size: 15px;
  line-height: 1.65;
}

.section-heading {
  margin: 0 auto 32px;
  max-width: 820px;
  text-align: center;
}

.panel {
  max-width: none;
  padding-left: clamp(18px, 5vw, 80px);
  padding-right: clamp(18px, 5vw, 80px);
}

.table-wrap {
  background: white;
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: 0 18px 60px rgba(18, 63, 47, 0.08);
  overflow-x: auto;
}

table {
  border-collapse: collapse;
  min-width: 860px;
  width: 100%;
}

th,
td {
  border-bottom: 1px solid var(--line);
  padding: 18px;
  text-align: left;
  vertical-align: top;
}

th {
  background: var(--green-dark);
  color: white;
  font-size: 13px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

td:first-child {
  color: var(--plum-dark);
  font-weight: 900;
}

.steps {
  counter-reset: steps;
  display: grid;
  gap: 14px;
  list-style: none;
  margin: 28px 0 0;
  padding: 0;
}

.steps li {
  align-items: start;
  background: white;
  border: 1px solid var(--line);
  border-radius: 8px;
  display: grid;
  gap: 14px;
  grid-template-columns: 34px 1fr;
  padding: 16px;
}

.steps li::before {
  align-items: center;
  background: var(--plum);
  border-radius: 8px;
  color: white;
  content: counter(steps);
  counter-increment: steps;
  display: inline-flex;
  font-weight: 900;
  height: 34px;
  justify-content: center;
  width: 34px;
}

.calculator {
  padding: 28px;
  position: sticky;
  top: 96px;
}

.calculator label {
  color: var(--foreground);
  display: block;
  font-size: 14px;
  font-weight: 800;
  margin-bottom: 12px;
}

.calculator input[type="range"] {
  accent-color: var(--plum);
  width: 100%;
}

.amount-input {
  border: 1px solid var(--line);
  border-radius: 8px;
  color: var(--foreground);
  font-size: 18px;
  font-weight: 900;
  margin-bottom: 16px;
  padding: 12px 14px;
  width: 100%;
}

.amount-display {
  color: var(--green-dark);
  font-size: 30px;
  font-weight: 950;
  margin: 12px 0 22px;
}

.calc-results {
  display: grid;
  gap: 10px;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  margin: 0;
}

.calc-results div {
  background: var(--soft);
  border-radius: 8px;
  padding: 14px;
}

.calc-results dt {
  color: var(--muted);
  font-size: 12px;
  font-weight: 900;
  margin-bottom: 4px;
  text-transform: uppercase;
}

.calc-results dd {
  color: var(--foreground);
  font-weight: 900;
  margin: 0;
}

.calc-hint {
  margin: 20px 0 0;
}

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

.buy-section {
  background: var(--green-dark);
  border-radius: 8px;
  color: white;
  max-width: 1120px;
  padding: clamp(40px, 6vw, 72px);
}

.buy-section p,
.buy-section .section-kicker {
  color: rgba(255, 255, 255, 0.78);
}

.buy-section .checklist {
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.18);
  box-shadow: none;
}

.checklist ul {
  display: grid;
  gap: 10px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.checklist li {
  padding-left: 24px;
  position: relative;
}

.checklist li::before {
  color: #8ee0a9;
  content: "•";
  font-size: 22px;
  left: 0;
  line-height: 1;
  position: absolute;
  top: 1px;
}

.faq-list {
  display: grid;
  gap: 12px;
  margin: 0 auto;
  max-width: 880px;
}

details {
  padding: 20px 22px;
}

summary {
  cursor: pointer;
  font-size: 18px;
  font-weight: 900;
}

details p {
  margin: 14px 0 0;
}

.footer {
  border-top: 1px solid var(--line);
  padding: 28px clamp(18px, 4vw, 56px);
  text-align: center;
}

.footer p {
  font-size: 14px;
  margin: 0 auto;
  max-width: 760px;
}

.legal-nav {
  justify-content: center;
  margin-top: 12px;
}

.legal-page {
  margin: 0 auto;
  max-width: 920px;
  padding: clamp(58px, 8vw, 96px) clamp(18px, 4vw, 36px);
}

.legal-page h1 {
  font-size: clamp(42px, 6vw, 72px);
  margin-bottom: 24px;
}

.legal-page section {
  background: white;
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: 0 18px 60px rgba(18, 63, 47, 0.08);
  margin-top: 18px;
  padding: 24px;
}

.legal-page h2 {
  font-size: clamp(24px, 3vw, 34px);
  margin-bottom: 14px;
}

.legal-note {
  background: var(--soft);
  border: 1px solid var(--line);
  border-radius: 8px;
  color: var(--green-dark);
  font-weight: 700;
  padding: 18px;
}

.legal-updated {
  font-size: 14px;
  margin-top: 28px;
}

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

  nav {
    justify-content: flex-start;
    overflow-x: auto;
    padding-bottom: 2px;
    scrollbar-width: none;
    width: 100%;
  }

  nav a {
    flex: 0 0 auto;
  }

  .hero {
    display: flex;
    flex-direction: column;
    min-height: auto;
    padding: 0 18px 48px;
  }

  .hero-shade {
    display: none;
  }

  .hero-bg {
    aspect-ratio: 16 / 9;
    border-bottom: 1px solid var(--line);
    height: auto;
    margin: 0 -18px 28px;
    object-fit: cover;
    object-position: 64% center;
    position: relative;
    width: calc(100% + 36px);
  }

  .hero-copy {
    max-width: none;
    width: 100%;
  }

  .intro-grid,
  .recipe-section,
  .buy-section,
  .use-grid {
    grid-template-columns: 1fr;
  }

  .calculator {
    position: static;
  }
}

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

  .brand {
    font-size: 16px;
  }

  .brand-logo {
    height: 32px;
    width: 32px;
  }

  nav a {
    background: rgba(255, 255, 255, 0.7);
    font-size: 13px;
    padding: 8px 10px;
  }

  .hero {
    padding: 0 16px 38px;
  }

  .hero-bg {
    aspect-ratio: 4 / 3;
    margin: 0 -16px 24px;
    object-position: 68% center;
    width: calc(100% + 32px);
  }

  .eyebrow,
  .section-kicker {
    font-size: 11px;
    letter-spacing: 0.08em;
  }

  h1 {
    font-size: 34px;
    line-height: 1.04;
    margin-bottom: 16px;
  }

  h2 {
    font-size: 29px;
    line-height: 1.08;
  }

  p,
  .hero-text {
    font-size: 16px;
    line-height: 1.65;
  }

  .hero-actions {
    gap: 10px;
    margin-top: 22px;
  }

  .calc-results {
    grid-template-columns: 1fr;
  }

  .button {
    width: 100%;
  }

  .section,
  .legal-page {
    padding: 58px 16px;
  }

  .table-wrap {
    background: transparent;
    border: 0;
    box-shadow: none;
    overflow: visible;
  }

  table,
  tbody,
  tr,
  td {
    display: block;
    min-width: 0;
    width: 100%;
  }

  thead {
    display: none;
  }

  tbody {
    display: grid;
    gap: 12px;
  }

  tr {
    background: white;
    border: 1px solid var(--line);
    border-radius: 8px;
    box-shadow: 0 18px 60px rgba(18, 63, 47, 0.08);
    padding: 12px;
  }

  td {
    border-bottom: 1px solid var(--line);
    display: grid;
    gap: 4px;
    padding: 10px 4px;
  }

  td::before {
    color: var(--muted);
    content: attr(data-label);
    font-size: 11px;
    font-weight: 900;
    letter-spacing: 0.08em;
    text-transform: uppercase;
  }

  td:last-child {
    border-bottom: 0;
  }
}
