:root {
  color-scheme: light;
  --paper: #f7f6f2;
  --white: #fff;
  --ink: #1c201c;
  --muted: #5d625a;
  --line: #dedfd6;
  --lime: #e1f277;
  --forest: #252d23;
  font: 16px/1.5 system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  background: var(--paper);
  color: var(--ink);
}

*, *::before, *::after { box-sizing: border-box; }
body { margin: 0; }
body:has(dialog[open]) { overflow: hidden; }
button, input, select { font: inherit; }
button { cursor: pointer; }
button:disabled { opacity: .48; cursor: default; }
a { color: inherit; }
:focus-visible { outline: 3px solid #677a15; outline-offset: 3px; }
.wrap { width: min(1200px, calc(100% - 64px)); margin-inline: auto; }
.icon { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; flex: none; }
.sr-only, .symbols { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.skip { position: fixed; z-index: 5; top: 8px; left: 8px; transform: translateY(-160%); padding: 10px 14px; background: var(--white); }
.skip:focus { transform: none; }

.preview-strip { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 3px 12px; padding: 7px 14px; background: var(--lime); font-size: .76rem; text-align: center; }
.preview-strip span { font-weight: 850; letter-spacing: .09em; text-transform: uppercase; }
.masthead { border-bottom: 1px solid var(--line); background: var(--paper); }
.header-content { display: grid; grid-template-columns: 1fr minmax(210px, 535px) 1fr; align-items: center; gap: 30px; min-height: 76px; }
.brand { display: inline-flex; align-items: center; gap: 9px; width: fit-content; text-decoration: none; font-size: 1.58rem; font-weight: 680; letter-spacing: -.06em; }
.brand img { display: block; border-radius: 50%; background: #171917; }
.search { display: flex; align-items: center; gap: 10px; padding-inline: 13px; min-height: 43px; border: 1px solid var(--line); border-radius: 9px; color: var(--muted); background: var(--white); }
.search:focus-within { outline: 2px solid #677a15; outline-offset: 1px; }
.search input { width: 100%; min-width: 0; min-height: 41px; border: 0; outline: 0; background: transparent; color: var(--ink); }
.header-link { justify-self: end; display: inline-flex; align-items: center; gap: 9px; min-height: 44px; padding: 7px 12px; border: 1px solid var(--line); border-radius: 9px; background: var(--white); color: var(--ink); font-size: .85rem; font-weight: 650; text-decoration: none; }
.header-link:hover { background: #f2f3e9; }

.hero { isolation: isolate; display: grid; grid-template-columns: 1fr .85fr; margin-top: 24px; min-height: 355px; overflow: hidden; border-radius: 18px; background: var(--forest); color: var(--white); }
.hero-copy { align-self: center; padding: clamp(27px, 5vw, 64px); z-index: 1; }
.eyebrow { margin: 0; font-size: .7rem; line-height: 1.4; font-weight: 820; letter-spacing: .14em; text-transform: uppercase; }
.hero-eyebrow { display: flex; align-items: center; gap: 9px; color: #dfe4d8; }
.hero-eyebrow span { width: 7px; height: 7px; border-radius: 50%; background: var(--lime); }
.hero h1 { margin: 14px 0 13px; font-size: clamp(2.5rem, 5.25vw, 4.6rem); line-height: .99; letter-spacing: -.07em; font-weight: 720; }
.hero h1 em { color: var(--lime); font-style: normal; }
.hero-copy > p:not(.eyebrow) { margin: 0 0 22px; max-width: 350px; color: #dfe4d8; font-size: clamp(.94rem, 1.8vw, 1.08rem); }
.button { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 45px; padding: 10px 17px; border: 1px solid transparent; border-radius: 8px; text-decoration: none; font-weight: 750; }
.primary { background: var(--lime); color: #222916; }
.primary:hover { background: #edf8a8; }
.secondary { background: var(--white); border-color: var(--line); color: var(--ink); }
.secondary:hover { background: #f2f3e9; }
.hero-art { position: relative; display: grid; place-items: center; overflow: hidden; min-width: 0; background: radial-gradient(ellipse at 62% 54%, #586348, transparent 73%); }
.hero-rings { position: absolute; top: 50%; left: 48%; width: min(70%, 370px); aspect-ratio: 1; transform: translate(-50%, -50%); border: 1px solid #ecf5da44; border-radius: 50%; box-shadow: 0 0 0 28px #ecf5da10, 0 0 0 56px #ecf5da0d; }
.hero-products { position: relative; width: 90%; max-width: 488px; height: 285px; }
.hero-product { position: absolute; display: grid; place-items: center; padding: 11px; overflow: hidden; border-radius: 17px; background: var(--white); box-shadow: 0 16px 30px #13181380; }
.hero-product img { width: 100%; height: 100%; object-fit: contain; }
.hero-product:nth-child(1) { inset: 10% auto auto 4%; width: 52%; height: 78%; transform: rotate(-9deg); z-index: 2; }
.hero-product:nth-child(2) { inset: 4% 8% auto auto; width: 44%; height: 62%; transform: rotate(12deg); }
.hero-product:nth-child(3) { inset: auto 10% 2% auto; width: 35%; height: 49%; transform: rotate(5deg); z-index: 3; }
.hero-tag { position: absolute; bottom: 13px; right: 19px; z-index: 4; font-size: .6rem; letter-spacing: .14em; font-weight: 800; background: #252d23e8; border: 1px solid #f2f5e259; color: #f2f5e2; padding: 5px 8px; border-radius: 3px; }

.promises { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); padding-block: 14px; border-bottom: 1px solid var(--line); color: var(--muted); }
.promises span { display: flex; align-items: center; justify-content: center; gap: 9px; min-height: 38px; padding-inline: 9px; text-align: center; font-size: .83rem; font-weight: 650; }
.promises span + span { border-left: 1px solid var(--line); }
.promises .icon { color: #526124; }
.catalog { padding-block: 39px 58px; scroll-margin-top: 16px; }
.section-top { display: flex; justify-content: space-between; align-items: end; gap: 12px 20px; margin-bottom: 18px; }
.catalog .eyebrow { color: #526124; }
.section-top h2 { margin: 5px 0 0; font-size: clamp(1.9rem, 4vw, 3rem); line-height: 1.08; letter-spacing: -.055em; }
.sort { display: inline-flex; align-items: center; gap: 8px; font-size: .79rem; color: var(--muted); }
.sort select { min-height: 41px; padding: 5px 10px; border: 1px solid var(--line); border-radius: 8px; background: var(--white); color: var(--ink); }
.categories { display: flex; flex-wrap: wrap; gap: 7px; }
.categories button { min-height: 40px; padding: 6px 13px; border: 1px solid var(--line); border-radius: 100px; background: var(--white); color: var(--ink); font-size: .83rem; font-weight: 670; }
.categories button[aria-pressed='true'] { border-color: var(--forest); background: var(--forest); color: var(--white); }
.results { margin: 14px 0 10px; color: var(--muted); font-size: .8rem; }
.product-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; }
.product-card { display: flex; flex-direction: column; overflow: hidden; min-width: 0; border: 1px solid var(--line); border-radius: 12px; background: var(--white); }
.product-photo { position: relative; display: grid; place-items: center; width: 100%; min-width: 0; padding: 13px; aspect-ratio: 1.15; border: 0; border-bottom: 1px solid #eeefe9; background: var(--white); color: var(--muted); }
.product-photo:focus-visible { outline-offset: -4px; }
.product-photo img { position: absolute; inset: 13px; display: block; width: calc(100% - 26px); height: calc(100% - 26px); object-fit: contain; }
.product-photo:hover img { transform: scale(1.035); }
.product-body { display: flex; flex: 1; flex-direction: column; padding: 13px; }
.product-title { margin: 5px 0 3px; font-size: 1rem; line-height: 1.28; overflow-wrap: anywhere; }
.product-sku { color: var(--muted); font-size: .7rem; overflow-wrap: anywhere; }
.product-sku { margin: 0 0 13px; }
.product-actions { margin-top: auto; }
.market-link { display: flex; align-items: center; justify-content: space-between; gap: 6px; min-height: 43px; padding: 7px 10px; border: 1px solid #e0e8b6; border-radius: 7px; background: #f3f6d9; color: #293617; font-weight: 780; font-size: .78rem; text-decoration: none; }
.market-link:hover { background: var(--lime); }
.market-link .icon { width: 16px; height: 16px; }
.market-status { display: block; padding: 9px 8px; border: 1px dashed var(--line); border-radius: 7px; color: var(--muted); font-size: .76rem; }
.affiliate-label { display: block; margin-top: 5px; color: var(--muted); font-size: .72rem; }
.empty { grid-column: 1/-1; padding: 26px 18px; border: 1px dashed var(--line); border-radius: 10px; text-align: center; color: var(--muted); }
.purchase-note { display: flex; align-items: flex-start; gap: 15px; margin-bottom: 36px; padding: 21px; border: 1px solid var(--line); border-radius: 11px; background: var(--white); }
.purchase-note > .icon { margin-top: 3px; color: #526124; }
.purchase-note h2 { margin: 3px 0; font-size: 1.28rem; letter-spacing: -.035em; }
.purchase-note p:not(.eyebrow) { margin: 4px 0 0; color: var(--muted); font-size: .89rem; }
.footer { border-top: 1px solid var(--line); }
.footer-content { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 8px 16px; padding-block: 20px; }
.footer p { margin: 0; font-size: .83rem; color: var(--muted); }

dialog { border: 1px solid var(--line); background: var(--white); color: var(--ink); }
dialog::backdrop { background: #171c15a6; }
.dialog-head { display: flex; align-items: center; justify-content: space-between; gap: 8px; padding: 14px 20px; border-bottom: 1px solid var(--line); }
.dialog-head h2 { margin: 0; font-size: 1.35rem; letter-spacing: -.025em; }
.icon-button { display: grid; place-items: center; width: 42px; height: 42px; padding: 0; border: 1px solid var(--line); border-radius: 8px; background: var(--white); color: var(--ink); }
.icon-button:hover { background: var(--paper); }
.detail-dialog { width: min(670px, calc(100% - 24px)); max-height: calc(100% - 24px); padding: 0; border-radius: 14px; }
.detail-body { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); align-items: center; gap: 20px; padding: 20px; }
.detail-body img { width: 100%; max-height: 280px; object-fit: contain; }
.detail-body h3 { margin: 3px 0 5px; line-height: 1.25; }
.detail-body p { margin: 7px 0; }
.detail-body ul { padding-left: 18px; font-size: .82rem; }

@media (max-width: 920px) {
  .wrap { width: min(1200px, calc(100% - 40px)); }
  .product-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .hero { min-height: 310px; }
  .hero-products { height: 245px; }
}
@media (max-width: 650px) {
  .wrap { width: calc(100% - 28px); }
  .header-content { grid-template-columns: 1fr auto; gap: 9px 12px; padding-block: 10px; }
  .search { grid-area: 2 / 1 / 3 / 3; }
  .hero { grid-template-columns: 1fr; margin-top: 14px; }
  .hero-copy { padding: 23px 19px 7px; }
  .hero h1 { font-size: clamp(2.3rem, 8.7vw, 3.5rem); }
  .hero-copy > p:not(.eyebrow) { margin-bottom: 15px; }
  .hero-products { width: min(87%, 345px); height: 170px; margin-block: 8px 11px; }
  .hero-product { padding: 7px; border-radius: 10px; }
  .hero-tag { bottom: 7px; right: 10px; }
  .promises { padding-block: 8px; }
  .promises span { flex-direction: column; justify-content: start; gap: 3px; min-height: 56px; padding-inline: 4px; font-size: .69rem; line-height: 1.25; }
  .promises .icon { width: 17px; height: 17px; }
  .catalog { padding-block: 25px 36px; }
  .section-top { align-items: start; flex-direction: column; }
  .product-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 9px; }
  .product-body { padding: 10px; }
  .product-title { font-size: .92rem; }
  .product-photo { padding: 8px; }
  .product-photo img { inset: 8px; width: calc(100% - 16px); height: calc(100% - 16px); }
  .detail-body { grid-template-columns: 1fr; gap: 10px; }
  .detail-body img { max-height: 170px; }
}
@media (prefers-reduced-motion: no-preference) {
  html { scroll-behavior: smooth; }
  .product-photo img { transition: transform 150ms ease; }
}
