:root {
  color-scheme: light;
  --paper: #f7f6ef;
  --card: #fffef9;
  --ink: #202b21;
  --muted: #525d4d;
  --green: #233e2d;
  --green-hover: #345640;
  --sage: #e9eddc;
  --lime: #e6f297;
  --line: #d9ded0;
  --radius: 1.35rem;
  --sans: "Segoe UI Variable Text", "Segoe UI", Arial, sans-serif;
  --display: "Segoe UI Variable Display", "Segoe UI", Arial, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-padding-top: 1.15rem; }
body { margin: 0; background: var(--paper); color: var(--ink); font: 1rem/1.57 var(--sans); }
img { display: block; width: 100%; }
a { color: inherit; }
button, input, textarea, select { font: inherit; }
button { cursor: pointer; }
button:disabled, select:disabled { cursor: default; }
:focus-visible { outline: 2px solid #557041; outline-offset: 4px; }
h1, h2, h3, h4, p, ul, ol, figure, dl, dd { margin: 0; }
h1, h2, h3, h4 { font-family: var(--display); }
h2 { font-size: clamp(2.35rem, 5.2vw, 4.5rem); font-weight: 730; line-height: .99; letter-spacing: -.061em; }
h3 { font-size: clamp(1.22rem, 2.05vw, 1.65rem); font-weight: 700; line-height: 1.16; letter-spacing: -.035em; }
h4 { font-size: 1.12rem; font-weight: 700; line-height: 1.25; letter-spacing: -.018em; }
p { max-width: 65ch; }

.wrap { width: min(100% - 5rem, 76rem); margin-inline: auto; }
.section { padding-block: clamp(3.9rem, 7vw, 7.25rem); }
.section-heading { display: flex; align-items: end; justify-content: space-between; flex-wrap: wrap; gap: .7rem 2rem; margin-bottom: 1.5rem; }
.section-heading > p { max-width: 35ch; color: var(--muted); font-size: 1.07rem; }
.section-label { margin-bottom: .55rem; color: #49663d; font-size: .875rem; font-weight: 700; }
.visually-hidden { position: absolute; width: 1px; height: 1px; padding: 0; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }

.site-header { background: var(--paper); }
.header-inner { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 1.25rem; min-height: 5rem; }
.brand { width: fit-content; display: inline-flex; align-items: center; gap: .6rem; font: 700 1.02rem/1.15 var(--display); letter-spacing: -.027em; text-decoration: none; white-space: nowrap; }
.brand-mark { display: grid; place-items: center; width: 2rem; height: 2rem; border-radius: .62rem; background: var(--green); color: var(--lime); font: 1.08rem/1 var(--sans); }
.header-inner nav { display: flex; gap: clamp(1rem, 3vw, 2.25rem); }
.header-inner nav a { color: var(--muted); font-size: .9375rem; font-weight: 650; text-decoration: none; }
.header-inner nav a:hover { color: var(--ink); text-decoration: underline; text-underline-offset: .22em; }
.header-inner > .button { justify-self: end; }

.button { display: inline-flex; align-items: center; justify-content: center; width: fit-content; min-height: 3.25rem; padding: .72rem 1.2rem; border: 1px solid transparent; border-radius: .7rem; background: var(--green); color: white; text-align: center; text-decoration: none; font-size: .9375rem; font-weight: 700; line-height: 1.25; }
.button:hover { background: var(--green-hover); }
.button-small { min-height: 2.75rem; padding: .48rem .9rem; }
.button-secondary { min-height: 2.75rem; padding: .55rem .8rem; border-color: #789077; background: transparent; color: var(--green); }
.button-secondary:hover { background: var(--sage); }
.button-accent { background: var(--lime); color: #263722; }
.button-accent:hover { background: #f0f8b9; }
.text-link { width: fit-content; font-weight: 650; text-decoration: underline; text-underline-offset: .22em; }

.hero-inner { display: grid; grid-template-columns: minmax(0, 1.02fr) minmax(0, .98fr); gap: .7rem; min-height: clamp(28rem, 42vw, 39rem); }
.hero-copy { display: flex; flex-direction: column; justify-content: center; align-items: start; min-width: 0; padding: clamp(1.6rem, 5.2vw, 4.55rem); border-radius: 2rem .85rem .85rem 2rem; background: var(--sage); }
.eyebrow { display: inline-flex; align-items: center; gap: .48rem; padding: .32rem .64rem; border: 1px solid #a6b39a; border-radius: 99rem; color: #3c5437; font-size: .875rem; font-weight: 700; }
.stock-dot { width: .47rem; height: .47rem; flex: 0 0 .47rem; border-radius: 50%; background: #557d3e; }
.hero h1 { margin: .8rem 0 1rem; font-size: clamp(3.6rem, 7.35vw, 7.1rem); font-weight: 740; line-height: .88; letter-spacing: -.078em; }
.hero h1 em { display: block; margin-top: .08em; color: #4c6841; font: italic 400 1.08em/.94 Georgia, "Times New Roman", serif; letter-spacing: -.087em; }
.hero-description { max-width: 36ch; color: var(--muted); font-size: clamp(1rem, 1.45vw, 1.16rem); }
.hero-actions { display: flex; align-items: center; flex-wrap: wrap; gap: .8rem 1.25rem; margin-top: 1.55rem; }
.hero-price { display: grid; line-height: 1.15; }
.hero-price strong { font: 730 1.55rem/1.05 var(--display); letter-spacing: -.055em; white-space: nowrap; }
.hero-price span { margin-top: .2rem; color: var(--muted); font-size: .875rem; }
.hero-scene { position: relative; min-width: 0; overflow: hidden; border-radius: .85rem 2rem 2rem .85rem; background: #39241d; }
.hero-scene img { position: absolute; inset: 0; height: 100%; object-fit: cover; object-position: 85% 52%; }

.product-facts { margin-top: .95rem; }
.facts-list { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 0; padding: .85rem 0; border-block: 1px solid var(--line); list-style: none; }
.facts-list li { min-width: 0; display: grid; align-content: start; gap: .14rem; padding: .34rem clamp(.7rem, 2.2vw, 1.7rem); }
.facts-list li + li { border-left: 1px solid var(--line); }
.facts-list strong { font-size: 1.08rem; line-height: 1.25; letter-spacing: -.025em; }
.facts-list span, .facts-list a { color: var(--muted); font-size: .875rem; line-height: 1.38; }
.facts-list a { width: fit-content; font-weight: 650; text-underline-offset: .19em; }

.packs-section { padding-bottom: 0; }
.packs-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: .8rem; }
.pack-card { min-width: 0; display: flex; flex-direction: column; align-items: start; padding: clamp(1rem, 2.6vw, 1.65rem); border: 1px solid var(--line); border-radius: var(--radius); background: var(--card); }
.pack-card h3 { font-size: clamp(2.8rem, 6vw, 4.85rem); line-height: 1; letter-spacing: -.08em; }
.pack-card h3 span { color: #557041; font-size: .42em; letter-spacing: 0; }
.pack-card p { margin-block: .4rem 1.05rem; color: var(--muted); }
.pack-bottom { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: .55rem; width: 100%; margin-top: auto; padding-top: .85rem; border-top: 1px solid var(--line); }
.pack-bottom > strong { font: 720 1.24rem/1.2 var(--display); letter-spacing: -.035em; white-space: nowrap; }

.about-grid { display: grid; grid-template-columns: minmax(0, .87fr) minmax(0, 1.13fr); align-items: center; gap: clamp(2rem, 6.6vw, 6.5rem); }
.ingredient-photo { min-width: 0; }
.ingredient-photo img { aspect-ratio: 1.23; object-fit: cover; object-position: 50% 58%; border-radius: var(--radius); }
.ingredient-photo figcaption { margin-top: .45rem; color: var(--muted); font-size: .8125rem; }
.about-copy h2 { max-width: 13ch; }
.about-copy > h2 + p { margin-top: .95rem; color: var(--muted); font-size: 1.08rem; }
.specs { margin-top: 1.15rem; }
.specs div, .nutrition-table dl div { display: flex; justify-content: space-between; gap: .65rem; padding-block: .55rem; border-top: 1px solid var(--line); }
.specs div:last-child, .nutrition-table dl div:last-child { border-bottom: 1px solid var(--line); }
.specs dt, .nutrition-table dt { color: var(--muted); }
.specs dd, .nutrition-table dd { text-align: end; font-weight: 700; }

.uses-section { background: #eeeee2; }
.uses-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: .95rem; margin-top: 1.45rem; }
.uses-grid article { padding: .85rem .2rem .3rem; border-top: 2px solid #829773; }
.uses-grid article p, .research-grid article p { margin-top: .52rem; color: var(--muted); }
.cooking-note { display: flex; align-items: center; gap: .5rem 1.2rem; margin-top: 1.15rem; padding: .77rem 1.05rem; border-radius: .8rem; background: #e3ebc7; color: #394c31; }
.cooking-note strong { flex-shrink: 0; font: 700 1rem/1.25 var(--display); }
.cooking-note p { max-width: none; }

.nutrition-intro { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr); align-items: end; gap: .7rem 2rem; margin-bottom: 1.5rem; }
.nutrition-intro p, .research-intro p { color: var(--muted); font-size: 1.04rem; }
.nutrition-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, .78fr) minmax(0, 1.04fr); gap: .8rem; }
.nutrition-card { min-width: 0; padding: clamp(1rem, 2.1vw, 1.55rem); border: 1px solid var(--line); border-radius: var(--radius); background: var(--card); }
.nutrition-card p { margin-top: .65rem; color: var(--muted); }
.nutrition-portion { background: #e6edcb; border-color: #dbe5bd; }
.nutrition-card .portion-value { display: flex; align-items: baseline; flex-wrap: wrap; gap: .12rem .38rem; color: #354c2c; }
.portion-value strong { font: 720 clamp(2.45rem, 5vw, 4rem)/.95 var(--display); letter-spacing: -.08em; }
.nutrition-table dl { margin-top: .6rem; font-size: .9375rem; }
.nutrition-table dd { white-space: nowrap; }
.nutrition-card .nutrition-source { font-size: .8125rem; }
.research { margin-top: 2.35rem; padding-top: 1.5rem; border-top: 1px solid var(--line); }
.research-intro { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1fr); gap: .65rem 2rem; align-items: start; }
.research-intro h3 { max-width: 21ch; font-size: clamp(1.5rem, 3vw, 2.35rem); }
.research-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .75rem; margin-top: 1rem; }
.research-grid article { padding: .95rem 1.05rem; border: 1px solid var(--line); border-radius: .85rem; background: #f0f1e7; }

.delivery-section { background: var(--green); color: #f5faed; }
.delivery-heading { display: flex; align-items: end; justify-content: space-between; flex-wrap: wrap; gap: 1rem 2rem; }
.delivery-heading .section-label { color: #cbdcad; }
.delivery-section :focus-visible, .wholesale-card :focus-visible, .site-footer :focus-visible { outline-color: var(--lime); }
.delivery-steps { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1.2rem; margin-top: 1.45rem; padding: 0; list-style: none; counter-reset: delivery-step; }
.delivery-steps li { padding: .95rem 1rem 1rem; border: 1px solid #657969; border-radius: 1rem; counter-increment: delivery-step; }
.delivery-steps li::before { content: counter(delivery-step); display: grid; place-items: center; width: 1.75rem; height: 1.75rem; margin-bottom: .58rem; border-radius: .45rem; background: var(--lime); color: var(--green); font-weight: 720; }
.delivery-steps p { margin-top: .45rem; color: #dbe9d9; }

.faq-grid { display: grid; grid-template-columns: minmax(0, .82fr) minmax(0, 1.18fr); gap: 1rem 3rem; }
.faq-grid h2 { max-width: 12ch; }
.faq-list { border-top: 1px solid var(--line); }
.faq-list details { border-bottom: 1px solid var(--line); }
.faq-list summary { display: flex; align-items: center; justify-content: space-between; gap: 1rem; min-height: 3.2rem; padding-block: .65rem; list-style: none; font-weight: 700; cursor: pointer; }
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary::after { content: '+'; color: #496746; font-size: 1.4rem; line-height: 1; }
.faq-list details[open] summary::after { content: '−'; }
.faq-list p { padding-block: .1rem .9rem; color: var(--muted); }
.faq-list .text-link { display: inline-block; color: var(--green); }

.order-section { background: #ebeee0; }
.order-grid { display: grid; grid-template-columns: minmax(0, 1.26fr) minmax(0, .74fr); align-items: start; gap: .95rem; }
.order-card { min-width: 0; padding: clamp(1rem, 3.2vw, 2.1rem); border: 1px solid var(--line); border-radius: var(--radius); background: var(--card); }
.order-card > h3 { margin-bottom: .9rem; font-size: clamp(1.55rem, 2.5vw, 2rem); }
fieldset { min-width: 0; margin: 0; padding: 0; border: 0; }
legend, .field-label { padding: 0; font-size: .9rem; font-weight: 700; }
.weight-options { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: .55rem; margin-top: .45rem; }
.weight-option { position: relative; min-width: 0; }
.weight-option input { position: absolute; width: 1px; height: 1px; padding: 0; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.weight-option-body { display: grid; gap: .12rem; padding: .63rem .7rem; border: 1px solid var(--line); border-radius: .65rem; color: var(--muted); font-size: .875rem; white-space: nowrap; cursor: pointer; }
.weight-option-body strong { color: var(--ink); font: 700 clamp(1.08rem, 2.25vw, 1.48rem)/1.15 var(--display); letter-spacing: -.035em; }
.weight-option-body:hover { border-color: #789077; }
.weight-option input:checked + .weight-option-body { border-color: #527451; box-shadow: inset 0 0 0 1px #527451; background: #eaf0df; }
.weight-option input:focus-visible + .weight-option-body { outline: 2px solid var(--green); outline-offset: 3px; }
.order-options { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: end; gap: .75rem; margin-top: .95rem; }
.field-label { display: block; margin-bottom: .3rem; }
.packaging { position: relative; min-width: 0; }
.packaging select, .contact-fields input, .contact-fields textarea { display: block; width: 100%; min-width: 0; min-height: 2.75rem; border: 1px solid var(--line); border-radius: .6rem; background: #fafaf4; color: var(--ink); opacity: 1; }
.packaging select { appearance: none; padding: .43rem 1.55rem .43rem .66rem; background: #eef0e6; color: var(--muted); font-size: .875rem; -webkit-text-fill-color: var(--muted); }
.packaging::after { content: ''; position: absolute; right: .75rem; bottom: 1.12rem; width: .44rem; height: .44rem; border-right: 1px solid var(--muted); border-bottom: 1px solid var(--muted); transform: rotate(45deg); pointer-events: none; }
.stepper { display: flex; align-items: center; overflow: hidden; border: 1px solid var(--line); border-radius: .6rem; }
.stepper button { display: grid; place-items: center; min-width: 2.75rem; min-height: 2.625rem; padding: 0; border: 0; background: transparent; color: var(--green); font-size: 1.4rem; line-height: 1; }
.stepper button:hover:enabled { background: #eaf0df; }
.stepper button:focus-visible { outline-offset: -4px; }
.stepper button:disabled { color: #889181; }
.stepper span { min-width: 1.4rem; text-align: center; font-variant-numeric: tabular-nums; }
.order-total { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: .35rem .8rem; margin-block: .9rem .7rem; padding: .7rem .85rem; border-radius: .72rem; background: #e8efda; }
.order-total div { display: grid; }
.order-total div span { color: var(--muted); font-size: .875rem; }
.order-total output { color: var(--green); font: 730 clamp(1.8rem, 4vw, 2.6rem)/1.05 var(--display); letter-spacing: -.065em; overflow-wrap: anywhere; }
.order-contact legend:not(.visually-hidden) { width: 100%; border-top: 1px solid var(--line); padding-top: .75rem; color: var(--green); font-size: 1rem; }
.contact-fields { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .6rem .75rem; margin-block: .56rem .75rem; }
.contact-fields label { min-width: 0; font-size: .875rem; font-weight: 650; }
.contact-fields label span { color: var(--muted); font-weight: 400; }
.contact-fields input, .contact-fields textarea { padding: .4rem .65rem; margin-top: .22rem; font-size: 1rem; font-weight: 400; }
.contact-fields textarea { min-height: 4.15rem; resize: vertical; }
.contact-fields input::placeholder, .contact-fields textarea::placeholder { color: var(--muted); }
.contact-fields .full-field { grid-column: 1 / -1; }
.submit-button:disabled { background: #e3e7d8; color: #596452; }
.order-status { margin-top: .65rem; color: var(--muted); font-size: .875rem; }
.order-status[data-error] { color: #862b30; font-weight: 700; }
.wholesale-card { border-color: var(--green); background: var(--green); color: #f5faed; }
.wholesale-card > h3 { margin-bottom: .45rem; }
.wholesale-card > p { color: #dbe9d9; }
.wholesale-card .contact-fields { grid-template-columns: 1fr; margin-top: .85rem; }
.wholesale-card .contact-fields label span { color: #dbe9d9; }
.wholesale-card .order-status[data-error] { color: #ffdbba; }

.site-footer { padding-top: 2.7rem; background: #1c2e23; color: #f1f6e9; }
.contacts-grid { display: grid; grid-template-columns: minmax(0, .65fr) minmax(0, 1.35fr); gap: 1.25rem 3rem; padding-bottom: 2rem; }
.contacts-grid h2 { font-size: clamp(2rem, 4vw, 3.4rem); }
.contacts-grid dl { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, .95fr) minmax(0, 1.7fr) minmax(0, 1fr); gap: .8rem; }
.contacts-grid dl div { border-top: 1px solid #697b70; padding-top: .55rem; }
.contacts-grid dt { font-weight: 700; }
.contacts-grid dd { color: #c7d5c7; font-size: .9rem; }
.contact-phone { color: #f1f6e9; text-underline-offset: .2em; white-space: nowrap; }
.contact-phone:hover { color: var(--lime); }
.footer-inner { display: flex; align-items: center; justify-content: space-between; gap: .65rem; padding-block: .92rem; border-top: 1px solid #697b70; }
.footer-inner .text-link { color: #e1eadb; }
.footer-inner .brand-mark { background: #374f3e; }

.result-page { min-height: 100svh; display: grid; place-items: center; padding-block: 2rem; }
.result-card { width: min(100%, 39rem); }
.result-card h1 { font-size: clamp(2.35rem, 7vw, 4.4rem); line-height: 1; letter-spacing: -.065em; }
.result-card > p { margin-block: .8rem; color: var(--muted); }
.result-card .brand { margin-bottom: 1.35rem; }

@media (max-width: 960px) {
  .wrap { width: calc(100% - 3rem); }
  .hero-copy { padding: clamp(1.5rem, 3.8vw, 2.65rem); }
  .about-grid { gap: 2rem; }
  .uses-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .nutrition-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .nutrition-table { grid-column: 1 / -1; }
  .order-grid { grid-template-columns: minmax(0, 1.16fr) minmax(0, .84fr); }
  .contacts-grid dl { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 740px) {
  .wrap { width: calc(100% - 1.5rem); }
  .section { padding-block: 3.35rem; }
  .packs-section { padding-bottom: 0; }
  .header-inner { grid-template-columns: 1fr auto; gap: .2rem .5rem; padding-block: .55rem .28rem; }
  .header-inner > .button { grid-column: 2; grid-row: 1; }
  .header-inner nav { grid-column: 1 / -1; grid-row: 2; justify-content: space-between; gap: .2rem; }
  .header-inner nav a { display: inline-flex; align-items: center; min-height: 2.65rem; font-size: .875rem; }
  .hero-inner { grid-template-columns: 1fr; min-height: auto; gap: .38rem; }
  .hero-copy { padding: 1.4rem 1.15rem 1.55rem; border-radius: 1.15rem 1.15rem .55rem .55rem; }
  .hero h1 { margin-block: .65rem .8rem; font-size: clamp(3.3rem, 13vw, 5.45rem); }
  .hero-actions { margin-top: .95rem; }
  .hero-scene { min-height: clamp(12rem, 61vw, 21rem); border-radius: .55rem .55rem 1.15rem 1.15rem; }
  .facts-list { grid-template-columns: repeat(2, minmax(0, 1fr)); padding: .3rem 0; }
  .facts-list li { padding: .5rem .57rem; }
  .facts-list li:nth-child(3) { border-left: 0; }
  .facts-list li:nth-child(n + 3) { border-top: 1px solid var(--line); }
  .facts-list strong { font-size: .94rem; }
  .section-heading { margin-bottom: 1.15rem; }
  .packs-grid { grid-template-columns: 1fr; gap: .55rem; }
  .pack-card { display: grid; grid-template-columns: auto minmax(0, 1fr); align-items: center; gap: .3rem .85rem; }
  .pack-card p { margin: 0; }
  .pack-bottom { grid-column: 1 / -1; margin-top: .2rem; padding-top: .53rem; }
  .about-grid, .nutrition-intro, .research-intro, .faq-grid, .order-grid, .contacts-grid { grid-template-columns: 1fr; }
  .about-grid { gap: 1.25rem; }
  .about-copy { grid-row: 1; }
  .about-copy > h2 + p { margin-top: .6rem; }
  .nutrition-intro { align-items: start; margin-bottom: 1.05rem; }
  .nutrition-grid { grid-template-columns: 1fr; gap: .55rem; }
  .nutrition-table { grid-column: auto; }
  .research { margin-top: 1.7rem; padding-top: 1.15rem; }
  .research-grid, .delivery-steps { grid-template-columns: 1fr; gap: .55rem; }
  .delivery-steps { margin-top: 1rem; }
  .research-grid article { padding: .8rem .9rem; }
  .faq-grid h2 { max-width: none; }
  .order-grid { gap: .65rem; }
}

@media (max-width: 430px) {
  .uses-grid { gap: .65rem .85rem; }
  .uses-grid article p { font-size: .9375rem; }
  .cooking-note { align-items: start; flex-direction: column; gap: .16rem; padding: .68rem .78rem; }
  .contact-fields { grid-template-columns: 1fr; }
  .contact-address { grid-column: 1 / -1; }
}

@media (max-width: 365px) {
  .header-inner .brand { gap: .4rem; font-size: .94rem; }
  .header-inner > .button { padding-inline: .52rem; font-size: .855rem; }
  .order-options { grid-template-columns: 1fr; }
  .stepper { width: fit-content; }
  .weight-options { gap: .33rem; }
  .weight-option-body { padding-inline: .43rem; }
  .hero-actions .button { padding-inline: .76rem; }
}
