:root {
  --product-ink: #263a3a;
  --product-accent: #264f50;
  --product-muted: #52605f;
  --product-border: #ced3cd;
  --product-mono: var(--font-mono);
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-padding-top: 6rem; }
body { margin: 0; background: var(--bone); color: var(--product-ink); font: 400 1rem/1.55 var(--font-sans); }
a { color: inherit; text-decoration: underline; text-underline-offset: .18em; }
img { max-width: 100%; height: auto; }
button, input { font: inherit; }
[hidden] { display: none !important; }
:focus-visible { outline: 3px solid #327377; outline-offset: 4px; }
footer :focus-visible { outline-color: #b9e8e4; }
.wrap, .nav-in { width: min(100%, 76rem); margin-inline: auto; padding-inline: clamp(1rem, 4vw, 3rem); }
.eyebrow, .card-cat, .nav-link, .nav-cta, .mono, .size, .price { font-family: var(--product-mono); }
.eyebrow, .card-cat, .size { color: var(--product-muted); font-size: .78rem; line-height: 1.55; letter-spacing: .07em; text-transform: uppercase; }
.eyebrow { margin: 0 0 .7rem; }
.eyebrow a { text-underline-offset: .24em; }
h1, h2, .card-title, .buybar strong { color: var(--product-ink); font-family: var(--font-display); font-weight: 400; line-height: 1.05; }
h1 { font-size: clamp(2.65rem, 6vw, 5.2rem); letter-spacing: -.045em; margin: 0; }
h2 { font-size: clamp(2rem, 3.6vw, 3.15rem); letter-spacing: -.035em; margin: 0 0 1.1rem; }
h3, dt { font-weight: 550; }
.btn, .nav-cta { min-height: 2.75rem; display: inline-flex; align-items: center; justify-content: center; padding: .68rem 1.15rem; border: 1px solid var(--product-accent); background: var(--product-accent); color: white; cursor: pointer; font-size: .875rem; line-height: 1.25; text-decoration: none; }
.btn:hover, .nav-cta:hover { background: #183c3e; color: white; }
.btn[data-in], .btn-ghost, .nav-cta { background: transparent; color: var(--product-accent); }
.btn[data-in]:hover, .btn-ghost:hover { background: #e1e9e5; color: var(--product-accent); }
button:disabled { cursor: wait; opacity: .7; }
.nav { position: sticky; top: 0; z-index: 3; background: var(--bone-1); border-bottom: 1px solid var(--product-border); }
.nav-in { min-height: 4.5rem; display: flex; align-items: center; justify-content: space-between; gap: 1rem; }
.nav-links { display: flex; align-items: center; gap: clamp(.8rem, 3vw, 2rem); }
.nav-link, .nav-cta { text-decoration: none; font-size: .82rem; }
.nav-link:hover, .card-link:hover .card-title { text-decoration: underline; text-underline-offset: .2em; }
.skip:where(:not(:focus)), .sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.skip:focus { position: fixed; top: .5rem; left: .5rem; padding: .8rem; z-index: 10; background: white; }
.crumbs { margin: 0 0 1.4rem; font-size: .83rem; color: var(--product-muted); }
.crumbs ol { list-style: none; display: flex; flex-wrap: wrap; gap: .25rem .6rem; margin: 0; padding: 0; }
.crumbs li + li::before { content: '/'; margin-right: .6rem; color: #768582; }
.crumbs a { text-underline-offset: .18em; }
.product-main, .collection-main { padding-top: clamp(1rem, 3vw, 2.4rem); }
.detail { display: grid; grid-template-columns: 1fr 1fr; background: var(--bone-1); border: 1px solid var(--product-border); }
.detail-media { position: relative; min-width: 0; display: grid; place-items: center; background: radial-gradient(ellipse at 40% 30%, #fff 18%, #e7ede8 78%, #d5dfd8 100%); padding: clamp(1.5rem, 4vw, 4.5rem); }
.detail-media img { display: block; width: 80%; height: clamp(12rem, 32vw, 27rem); object-fit: contain; mix-blend-mode: multiply; }
.detail-body { align-self: center; min-width: 0; padding: clamp(1.4rem, 4vw, 3.4rem); }
.tag { margin: .75rem 0; font-family: var(--font-display); font-style: italic; font-size: clamp(1.3rem, 2.2vw, 1.8rem); line-height: 1.15; }
.size { margin: 1.05rem 0; }
.catalog-status { margin: .85rem 0; color: var(--product-muted); font-size: .92rem; }
.description { margin: 1.25rem 0 1.4rem; }
.offer-ready, .restricted { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: .75rem; }
.price { font-size: 1rem; color: var(--product-ink); }
.purchase-main, .detail-body .restricted { border-top: 1px solid var(--product-border); padding-top: 1.25rem; }
.purchase-main .price { font-size: 1.3rem; }
.purchase-main .btn { padding-inline: clamp(1.2rem, 3vw, 2.4rem); }
.offer-off > span, .restricted > span { font-size: .9rem; color: var(--product-muted); }
.assure-line { display: flex; align-items: baseline; flex-wrap: wrap; gap: .3rem .5rem; margin: 1rem 0 0; color: var(--product-muted); font-size: .8rem; }
.assure-line a, .routine-facts a, .section-head a, .more-collections a, .comparison a { text-decoration-thickness: 1px; text-underline-offset: .22em; }
.formula-info { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(2rem, 7vw, 6rem); padding: clamp(2.5rem, 6vw, 5rem) 0; }
.facts, .ingredients { margin: 0; }
.facts > div, .ingredients > div { display: grid; grid-template-columns: minmax(5.3rem, .7fr) minmax(0, 1.5fr); gap: 1.1rem; padding: .66rem 0; }
dd { margin: 0; color: var(--product-muted); }
.facts > div + div, .formula-notes details, .ingredients > div + div { border-top: 1px solid var(--product-border); }
.routine-facts h3 { margin: 1.45rem 0 .4rem; font-size: 1.05rem; }
.routine-facts p { margin: 0; }
summary { cursor: pointer; padding: .8rem 0; font-weight: 550; }
summary::marker { color: var(--product-accent); }
.ingredients, .formula-notes ul { padding: 0 0 .75rem 1rem; }
.ingredients { font-size: .94rem; }
.formula-notes ul { margin: 0; padding-left: 1.4rem; }
.related { background: #fff; border-top: 1px solid var(--product-border); padding: clamp(2.25rem, 5vw, 4rem) 0; }
.section-head { display: flex; align-items: baseline; justify-content: space-between; flex-wrap: wrap; gap: .75rem; margin-bottom: 1.6rem; }
.section-head h2 { margin: 0; }
.grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(15rem, 100%), 1fr)); gap: clamp(.75rem, 1.8vw, 1.5rem); }
.card { min-width: 0; border: 1px solid var(--product-border); background: var(--bone-1); display: flex; flex-direction: column; }
.card-link { display: block; flex: 1; text-decoration: none; }
.card-img { height: 12.75rem; padding: 1rem; display: grid; place-items: center; background: #fff; }
.card-img img { display: block; height: 100%; width: 100%; object-fit: contain; min-height: 0; max-height: 10.75rem; }
.card-titles { padding: 1.1rem 1.1rem .7rem; }
.card-title { font-size: clamp(1.6rem, 3vw, 2.05rem); margin: .4rem 0 0; }
.card-cat { margin: 0; font-size: .72rem; }
.card-foot { padding: .55rem 1.1rem 1.1rem; }
.card-foot .btn { padding-inline: .8rem; }
.collection-main { padding-bottom: clamp(3rem, 6vw, 5rem); }
.collection-intro { max-width: 51rem; padding: clamp(.9rem, 4vw, 2.4rem) 0 1.4rem; }
.collection-intro > p:last-child { max-width: 63ch; font-size: 1.06rem; }
.comparison { border-block: 1px solid var(--product-border); margin-bottom: 1.8rem; }
.comparison summary { padding: 1rem .15rem; }
.comparison summary span { font-size: .85rem; font-weight: 400; color: var(--product-muted); margin-left: .6rem; }
.comparison table { width: 100%; table-layout: fixed; border-collapse: collapse; margin-bottom: 1rem; font-size: .95rem; }
.comparison th, .comparison td { padding: .75rem clamp(.35rem, 2vw, 1.2rem); border-bottom: 1px solid var(--product-border); text-align: left; vertical-align: top; overflow-wrap: anywhere; }
.comparison thead { background: #e5ebe6; }
.comparison th { font-weight: 550; }
.more-collections { border-top: 1px solid var(--product-border); margin-top: 3rem; padding-top: 2rem; }
.more-collections div, .foot-links { display: flex; flex-wrap: wrap; gap: .7rem 1.4rem; }
.more-collections a { padding-block: .3rem; }
.waitlist { margin: .65rem 0; }
.waitlist label { display: block; margin-bottom: .4rem; }
.waitlist > div { display: flex; flex-wrap: wrap; gap: .45rem; }
.waitlist input[type=email] { flex: 1 1 10rem; min-width: 0; padding: .6rem; border: 1px solid var(--product-muted); font-size: 1rem; }
.form-status:empty { margin: 0; }
.buybar { display: none; }
.toast:not(:empty) { position: fixed; z-index: 5; left: 50%; bottom: 1.5rem; transform: translateX(-50%); padding: .8rem 1.2rem; background: var(--product-ink); color: white; max-width: calc(100% - 1rem); font-size: .95rem; }
footer { padding: 3.5rem 0 2.75rem; background: #193837; color: #eef3ef; }
.wordmark img { display: block; width: 5.875rem; height: auto; }
.nav-link, .nav-cta { font-family: var(--font-sans); font-size: .95rem; }
.nav-cta { background: var(--product-accent); color: white; }
.footer-signup, .footer-base { display: flex; align-items: center; justify-content: space-between; gap: 1.5rem; flex-wrap: wrap; }
.footer-signup h2 { color: white; font-size: clamp(2rem, 4vw, 3rem); margin-bottom: .5rem; }
.footer-signup p { margin: .5rem 0; }
.footer-signup form { min-width: 0; }
.footer-fields { display: flex; flex-wrap: wrap; gap: .5rem; }
.footer-fields input { min-width: 0; max-width: 100%; flex: 1 1 12rem; border: 1px solid #a2bdb3; padding: .6rem; }
.footer-fields button { background: #c6ded8; color: #173737; }
.footer-base { border-top: 1px solid #627c74; margin-top: 2rem; padding-top: 1.4rem; font-size: .9rem; }
.foot-note { font-size: .8rem; color: #d8e0dc; margin: 1.4rem 0 0; }
@media (max-width: 45rem) {
  .nav-in { min-height: 3.7rem; }
  .nav-link:not(.shop-link) { display: none; }
  .nav-cta { padding: .55rem .7rem; }
  .detail, .formula-info { grid-template-columns: minmax(0, 1fr); }
  .detail-media { padding: 1.15rem; }
  .detail-media img { height: clamp(10.5rem, 42vw, 17rem); }
  .detail-body { padding: 1.15rem; }
  .formula-info { gap: 2.25rem; }
  .grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .card-img { height: clamp(8rem, 38vw, 12rem); padding: .65rem; }
  .card-img img { max-height: clamp(6.75rem, 32vw, 10.75rem); }
  .card-titles, .card-foot { padding-inline: .7rem; }
  .card-foot .offer-ready { align-items: stretch; flex-direction: column; }
  .buybar:not([hidden]) { display: flex; position: fixed; bottom: 0; inset-inline: 0; z-index: 4; min-height: 4.4rem; align-items: center; justify-content: space-between; gap: .65rem; padding: .6rem 1rem calc(.6rem + env(safe-area-inset-bottom)); border-top: 1px solid var(--product-border); background: var(--bone-1); }
  .buybar strong { display: block; font-size: 1.2rem; }
  .buybar [data-price] { font-size: .85rem; }
  body:has(.buybar:not([hidden])) { padding-bottom: calc(4.4rem + env(safe-area-inset-bottom)); }
  body:has(.buybar:not([hidden])) .toast:not(:empty) { bottom: calc(5rem + env(safe-area-inset-bottom)); }
  .toast:not(:empty) { width: max-content; }
  .comparison summary span { display: none; }
}
@media (max-width: 22rem) {
  .grid { grid-template-columns: minmax(0, 1fr); }
  .nav-links { gap: .45rem; }
  .nav-in img { max-width: 6rem; object-fit: contain; }
}
