:root {
  color-scheme: light;
  --page: #f4f3ef;
  --surface: #ffffff;
  --surface-subtle: #ebe9e2;
  --text: #1d2420;
  --muted: #5b665f;
  --accent: #3d5a45;
  --border: #d9d6cc;
  --font-heading: "Cormorant Garamond", Georgia, serif;
  --font-body: "IBM Plex Sans", Arial, sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--page);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.55;
}
button, input, textarea { font: inherit; }
button, a, summary { -webkit-tap-highlight-color: transparent; }
a { color: inherit; text-decoration-thickness: 1px; text-underline-offset: 3px; }
button { color: inherit; }
a:focus-visible, button:focus-visible, summary:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }
input:focus-visible, textarea:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }
img { display: block; max-width: 100%; }
h1, h2, h3, p { margin-top: 0; }
h1, h2, h3 { font-family: var(--font-heading); font-weight: 500; line-height: 1.05; }
h1 { margin-bottom: 20px; font-size: clamp(46px, 6vw, 78px); }
h2 { margin-bottom: 16px; font-size: clamp(36px, 4vw, 54px); }
h3 { margin-bottom: 8px; font-size: 25px; }
.page-width { width: min(1240px, calc(100% - 64px)); margin-inline: auto; }
.announcement { min-height: 34px; padding: 6px 16px; background: var(--text); color: var(--surface); text-align: center; font-size: 13px; letter-spacing: .02em; }
.site-header { position: sticky; z-index: 5; top: 0; display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; min-height: 72px; padding: 0 32px; border-bottom: 1px solid var(--border); background: var(--page); }
.bag-trigger { display: inline-flex; min-height: 44px; align-items: center; justify-self: end; padding: 0 4px; border: 0; background: transparent; cursor: pointer; font-size: 14px; text-decoration: none; }
#products, #routine, #ingredients, #faq { scroll-margin-top: 84px; }
.wordmark { display: inline-flex; width: fit-content; min-height: 44px; align-items: center; font-size: 14px; font-weight: 600; letter-spacing: .12em; text-decoration: none; white-space: nowrap; }
.main-nav { display: flex; gap: clamp(18px, 3vw, 42px); align-items: center; }
.main-nav a, .footer-links a { display: inline-flex; min-height: 44px; align-items: center; font-size: 14px; text-decoration: none; }
.main-nav a:hover, .footer-links a:hover, .text-button:hover { color: var(--accent); }
.hero { display: grid; grid-template-columns: 1fr .83fr; gap: clamp(40px, 9vw, 132px); align-items: center; padding-top: 82px; padding-bottom: 96px; }
.hero-copy { max-width: 530px; }
.eyebrow { margin-bottom: 16px; color: var(--muted); font-size: 13px; font-weight: 500; letter-spacing: .08em; text-transform: uppercase; }
.hero-copy > p:not(.eyebrow), .ingredients-copy > p:not(.eyebrow), .routine-intro > p:not(.eyebrow) { max-width: 470px; color: var(--muted); }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 30px; }
.button { display: inline-flex; min-height: 48px; align-items: center; justify-content: center; padding: 11px 18px; border: 1px solid transparent; border-radius: 0; cursor: pointer; font-size: 14px; font-weight: 500; line-height: 1.3; text-align: center; text-decoration: none; transition: background-color 120ms, color 120ms, border-color 120ms; }
.button:disabled { border-color: var(--border); background: var(--surface-subtle); color: var(--muted); cursor: not-allowed; transition: none; }
.button:disabled:hover { border-color: var(--border); background: var(--surface-subtle); color: var(--muted); }
.button-primary { border-color: var(--accent); background: var(--accent); color: var(--surface); }
.button-primary:hover { border-color: var(--text); background: var(--text); }
.button-outline { border-color: var(--border); background: transparent; }
.button-outline:hover { border-color: var(--text); background: var(--surface); }
.image-frame { position: relative; overflow: hidden; aspect-ratio: 4 / 5; background: var(--surface-subtle); }
.image-frame img { width: 100%; height: 100%; object-fit: cover; }
.image-fallback { position: absolute; inset: 0; display: none; align-items: center; justify-content: center; color: var(--muted); font-size: 13px; }
.image-frame.is-missing .image-fallback { display: flex; }
.image-frame.is-missing img { display: none; }
.hero-image { max-height: 650px; }
.product-section { padding-top: 44px; padding-bottom: 110px; }
.section-heading { display: flex; align-items: end; justify-content: space-between; gap: 32px; margin-bottom: 28px; }
.section-heading h2 { margin-bottom: 0; }
.section-heading > p { max-width: 300px; margin-bottom: 4px; color: var(--muted); }
.product-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); align-items: start; gap: 16px; }
.product-card { display: flex; min-width: 0; flex-direction: column; padding: 18px; border: 1px solid var(--border); background: var(--surface); }
.product-number { display: block; margin-bottom: 12px; font-size: 14px; font-variant-numeric: tabular-nums; }
.product-card .image-frame { margin-bottom: 18px; }
.product-card h3 { min-height: 2.15em; margin-bottom: 4px; font-size: 25px; }
.product-volume { margin-bottom: 8px; color: var(--muted); font-size: 15px; }
.product-benefit { min-height: 3.1em; margin-bottom: 16px; color: var(--muted); font-size: 15px; }
.ingredient-disclosure { margin-bottom: 12px; border-top: 1px solid var(--border); }
.disclosure-trigger { display: flex; width: 100%; min-height: 44px; align-items: center; justify-content: space-between; gap: 12px; padding: 0; border: 0; background: transparent; cursor: pointer; font-size: 14px; text-align: left; }
.faq-item .disclosure-trigger { min-height: 64px; font-size: 16px; font-weight: 500; }
.faq-item .disclosure-question { flex: 1; }
.faq-indicator { flex: 0 0 auto; font-size: 22px; font-weight: 400; }
.ingredient-disclosure .faq-indicator { font-size: 16px; }
.disclosure-panel { display: grid; grid-template-rows: 0fr; transition: grid-template-rows 200ms ease; }
.ingredient-disclosure.is-open .disclosure-panel, .faq-item.is-open .disclosure-panel { grid-template-rows: 1fr; }
.disclosure-inner { min-height: 0; overflow: hidden; }
.disclosure-inner p { margin: 0; padding: 0 0 12px; color: var(--muted); font-size: 15px; }
.faq-item .disclosure-inner p { max-width: 760px; padding: 0 32px 18px 0; }
.product-card-bottom { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin: auto 0 12px; font-size: 15px; }
.price, .total-row > span:last-child { font-variant-numeric: tabular-nums; }
.product-quantity { display: grid; width: 140px; grid-template-columns: 44px minmax(0, 1fr) 44px; align-items: center; margin-bottom: 12px; border: 1px solid var(--border); }
.product-quantity .quantity-button { border: 0; }
.product-quantity .quantity-button:first-child { border-right: 1px solid var(--border); }
.product-quantity .quantity-button:last-child { border-left: 1px solid var(--border); }
.product-quantity-value { width: 100%; min-width: 0; height: 44px; padding: 0 2px; border: 0; background: transparent; color: var(--text); font-size: 16px; font-variant-numeric: tabular-nums; text-align: center; appearance: textfield; }
.product-quantity :focus-visible { position: relative; z-index: 1; outline-offset: -2px; }
.product-quantity-value::-webkit-inner-spin-button, .product-quantity-value::-webkit-outer-spin-button { margin: 0; appearance: none; }
.product-card .button { width: 100%; }
.routine-section { padding: 90px 0; border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); background: var(--surface-subtle); }
.routine-layout { display: grid; grid-template-columns: .8fr 1.2fr; gap: clamp(36px, 8vw, 110px); align-items: start; }
.routine-intro .button { margin-top: 12px; }
.routine-table { border-top: 1px solid var(--border); }
.routine-row { display: grid; grid-template-columns: 72px minmax(0, 1fr) 64px 64px; min-height: 58px; align-items: center; gap: 12px; border-bottom: 1px solid var(--border); font-size: 14px; }
.routine-header { color: var(--muted); font-size: 12px; font-weight: 500; letter-spacing: .06em; text-transform: uppercase; }
.step-number { font-variant-numeric: tabular-nums; }
.ingredients-section { padding-top: 110px; padding-bottom: 110px; }
.ingredients-copy { max-width: 590px; margin-bottom: 48px; }
.standards-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }
.standard { min-height: 142px; padding: 22px 18px 16px 0; }
.standard + .standard { padding-left: 18px; border-left: 1px solid var(--border); }
.standard h3 { font-size: 22px; }
.standard p { margin-bottom: 0; color: var(--muted); font-size: 15px; }
.faq-section { padding-top: 24px; padding-bottom: 110px; }
.faq-list { border-top: 1px solid var(--border); }
.faq-item { border-bottom: 1px solid var(--border); }
.site-footer { border-top: 1px solid var(--border); }
.footer-inner { display: grid; grid-template-columns: 1fr 1.4fr 1.3fr auto; gap: 24px; align-items: center; min-height: 104px; }
.footer-inner p, .footer-inner small { margin: 0; color: var(--muted); font-size: 13px; }
.footer-links { display: flex; gap: 20px; }
.drawer-scrim { position: fixed; z-index: 9; inset: 0; visibility: hidden; background: rgba(29, 36, 32, 0.45); pointer-events: none; }
.drawer-scrim.is-open { visibility: visible; pointer-events: auto; }
.drawer { position: fixed; z-index: 10; top: 0; right: 0; display: flex; visibility: hidden; width: min(520px, 100%); height: 100dvh; flex-direction: column; transform: translateX(100%); border-left: 1px solid var(--border); background: var(--surface); transition: transform 240ms cubic-bezier(0.22, 1, 0.36, 1), visibility 0s linear 240ms; }
.drawer.is-open { visibility: visible; transform: translateX(0); transition: transform 240ms cubic-bezier(0.22, 1, 0.36, 1), visibility 0s; }
.drawer:focus, .confirmation-view:focus { outline: none; }
body.drawer-open { overflow: hidden; }
[hidden] { display: none !important; }
.drawer-header { display: flex; min-height: 76px; align-items: center; justify-content: space-between; padding: 0 28px; border-bottom: 1px solid var(--border); }
.drawer-header h2 { margin: 0; font-size: 34px; }
.text-button { min-height: 44px; padding: 0 4px; border: 0; background: transparent; cursor: pointer; font-size: 14px; text-decoration: underline; text-underline-offset: 3px; }
.drawer-content { overflow-y: auto; padding: 24px 28px 30px; }
.bag-items { display: grid; gap: 0; }
.bag-item { display: grid; grid-template-columns: 70px minmax(0, 1fr) auto; gap: 14px; padding: 16px 0; border-bottom: 1px solid var(--border); }
.bag-item .image-frame { width: 70px; }
.bag-item h3 { margin: 0 0 3px; font-size: 21px; }
.bag-item p { margin: 0; color: var(--muted); font-size: 14px; font-variant-numeric: tabular-nums; }
.bag-item-price { white-space: nowrap; font-size: 14px; font-variant-numeric: tabular-nums; }
.bag-controls { display: flex; min-height: 44px; align-items: center; gap: 10px; }
.quantity-button { min-width: 44px; min-height: 44px; border: 1px solid var(--border); background: var(--surface); cursor: pointer; }
.quantity-button:disabled { background: var(--surface-subtle); color: var(--muted); cursor: not-allowed; }
.quantity-button:disabled:hover { border-color: var(--border); background: var(--surface-subtle); color: var(--muted); }
.quantity-button:hover { border-color: var(--text); }
.product-quantity .quantity-button:not(:disabled):hover { background: var(--surface-subtle); }
.quantity-value { min-width: 18px; text-align: center; font-size: 14px; font-variant-numeric: tabular-nums; }
.remove-button { min-height: 44px; padding: 0 4px; border: 0; background: transparent; color: var(--muted); cursor: pointer; font-size: 13px; text-decoration: underline; text-underline-offset: 3px; }
.empty-bag { margin: 12px 0 24px; color: var(--muted); }
.order-totals { margin-top: 20px; padding-top: 12px; border-top: 1px solid var(--border); }
.checkout-back { margin: 0 0 14px; }
.checkout-summary { margin-bottom: 24px; padding: 8px 0; border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }
.checkout-summary .total-final { margin-top: 4px; }
.total-row { display: flex; justify-content: space-between; gap: 16px; padding: 7px 0; font-size: 14px; }
.total-final { margin-top: 8px; padding-top: 14px; border-top: 1px solid var(--border); font-size: 17px; font-weight: 600; }
.checkout-start, .submit-order { width: 100%; margin-top: 20px; }
.checkout-form { display: grid; gap: 16px; }
.checkout-form > label { display: grid; gap: 6px; font-size: 14px; font-weight: 500; }
.checkout-form input:not([type="checkbox"]):not([type="radio"]), .checkout-form textarea { width: 100%; min-height: 46px; padding: 10px 12px; border: 1px solid var(--border); border-radius: 0; background: var(--surface); color: var(--text); font-size: 16px; }
.checkout-form textarea { min-height: 88px; resize: vertical; }
.required-mark { color: var(--accent); }
.optional-mark { color: var(--muted); font-weight: 400; }
.payment-options { display: grid; gap: 10px; padding: 12px; border: 1px solid var(--border); }
.payment-options legend { padding: 0 4px; font-size: 14px; font-weight: 500; }
.radio-label, .consent-label { display: flex; min-height: 44px; align-items: center; gap: 10px; font-size: 14px; font-weight: 400; }
.radio-label input, .consent-label input { width: 18px; height: 18px; margin: 2px 0 0; accent-color: var(--accent); }
.consent-label a { color: var(--accent); }
.botcheck { position: absolute; left: -10000px; width: 1px; height: 1px; }
.form-message { margin: 0; color: var(--muted); font-size: 14px; }
.form-message.is-error { color: var(--text); font-weight: 500; }
.confirmation-view h3 { font-size: 30px; }
.confirmation-view p { color: var(--muted); }
.confirmation-receipt { padding: 14px 0; border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }
.confirmation-receipt p { display: flex; justify-content: space-between; gap: 12px; margin: 0; padding: 5px 0; font-size: 14px; }
.confirmation-receipt p span:last-child { color: var(--text); font-variant-numeric: tabular-nums; text-align: right; }
.privacy-main { max-width: 820px; padding-top: 82px; padding-bottom: 100px; }
.privacy-main h1 { font-size: clamp(44px, 6vw, 68px); }
.privacy-main h2 { margin-top: 44px; font-size: 34px; }
.privacy-main p, .privacy-main li { color: var(--muted); }
.privacy-main ul { padding-left: 22px; }
.visually-hidden { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; clip-path: inset(50%); }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .disclosure-panel { transition: none; }
  .drawer, .drawer.is-open { transition: none; }
}

@media (max-width: 900px) {
  #products, #routine, #ingredients, #faq { scroll-margin-top: 132px; }
  .page-width { width: min(100% - 40px, 720px); }
  .site-header { grid-template-columns: 1fr auto; padding-inline: 20px; }
  .main-nav { grid-column: 1 / -1; grid-row: 2; justify-content: center; padding: 0 0 12px; gap: clamp(14px, 4vw, 32px); }
  .hero { grid-template-columns: 1fr .8fr; gap: 32px; padding-top: 58px; padding-bottom: 72px; }
  .product-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .routine-layout { grid-template-columns: 1fr; gap: 36px; }
  .standards-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .standard:nth-child(3) { border-left: 0; padding-left: 0; border-top: 1px solid var(--border); }
  .standard:nth-child(4) { border-top: 1px solid var(--border); }
  .footer-inner { grid-template-columns: 1fr 1fr; padding-block: 22px; }
  .footer-links { flex-wrap: wrap; }
}
@media (max-width: 600px) {
  body { font-size: 15px; }
  .page-width { width: calc(100% - 36px); }
  .announcement { font-size: 12px; }
  .site-header { min-height: 62px; padding-inline: 18px; }
  .main-nav { justify-content: space-between; gap: 8px; padding-bottom: 10px; }
  .main-nav a { font-size: 12px; }
  .wordmark { font-size: 12px; }
  .hero { grid-template-columns: 1fr; gap: 28px; padding-top: 50px; padding-bottom: 66px; }
  .hero-copy > p:not(.eyebrow) { font-size: 15px; }
  .hero-actions { display: grid; }
  .hero-actions .button { width: 100%; }
  .hero-image { width: min(100%, 430px); justify-self: center; }
  .product-section { padding-top: 22px; padding-bottom: 76px; }
  .section-heading { display: block; }
  .section-heading > p { margin-top: 14px; }
  .product-grid { grid-template-columns: 1fr; gap: 12px; }
  .product-card { padding: 16px; }
  .product-card h3, .product-benefit { min-height: 0; }
  .routine-section { padding: 66px 0; }
  .routine-row { grid-template-columns: 38px minmax(0, 1fr) 40px 40px; gap: 7px; font-size: 12px; }
  .routine-header { font-size: 12px; }
  .ingredients-section { padding-top: 76px; padding-bottom: 76px; }
  .standards-grid { grid-template-columns: 1fr; }
  .standard { min-height: 0; padding: 16px 0; }
  .standard + .standard { padding-left: 0; border-top: 1px solid var(--border); border-left: 0; }
  .standard h3 { font-size: 20px; }
  .faq-section { padding-bottom: 76px; }
  .footer-inner { grid-template-columns: 1fr; gap: 12px; padding-block: 24px; }
  .footer-links { gap: 18px; }
  .drawer-header { min-height: 66px; padding-inline: 20px; }
  .drawer-content { padding: 18px 20px 24px; }
  .bag-item { grid-template-columns: 58px minmax(0, 1fr) auto; gap: 10px; }
  .bag-item .image-frame { width: 58px; }
  .bag-item h3 { font-size: 18px; }
}
