:root {
  color-scheme: light;
  --paper: #f7f5ee;
  --light: #fffcf6;
  --ink: #23261e;
  --muted: #53564b;
  --olive: #373c2e;
  --dark: #282d23;
  --accent: #dcd5ad;
  --line: #d8d6c9;
  --serif: "Instrument Serif", Georgia, serif;
  --sans: "Instrument Sans", system-ui, sans-serif;
}
*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
html { scroll-behavior: smooth; scroll-padding-top: 25px; }
body { margin: 0; background: var(--paper); color: var(--ink); font: 400 16px/1.55 var(--sans); }
h1, h2, h3, p, figure { margin: 0; }
h1, h2 { font-family: var(--serif); font-weight: 400; letter-spacing: -.035em; line-height: .98; }
a { color: inherit; text-underline-offset: .22em; }
button, input { font: inherit; }
button { cursor: pointer; }
button:disabled { cursor: not-allowed; }
img, svg { display: block; }
img { max-width: 100%; }
:focus-visible { outline: 2px solid #8f6c27; outline-offset: 4px; }
.shell { width: min(1304px, calc(100% - 104px)); margin-inline: auto; }
.skip { position: absolute; z-index: 12; padding: 9px 16px; background: var(--light); transform: translateY(-120%); }
.skip:focus { transform: none; }

.announcement { text-align: center; color: #fffdf4; background: var(--olive); font-size: 12px; letter-spacing: .07em; font-weight: 600; padding: 8px 12px; }
.announcement a, .nav a, .footer a { text-decoration: none; }
.announcement a:hover, .nav-links a:hover, .nav-track:hover, .footer nav a:hover { text-decoration: underline; }
.announcement span { margin-left: .45rem; }
.site-header { border-bottom: 1px solid var(--line); }
.nav { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 24px; min-height: 82px; }
.brand { display: inline-flex; width: fit-content; align-items: center; gap: 10px; font: 400 31px/.88 var(--serif); letter-spacing: -.02em; }
.brand-by { display: block; margin-top: 6px; font: 700 8px/1 var(--sans); letter-spacing: .14em; }
.nav-links, .nav-end { display: flex; align-items: center; gap: clamp(14px, 2.2vw, 33px); font-size: 14px; font-weight: 600; white-space: nowrap; }
.nav-end { justify-content: flex-end; }
.bag-link { display: flex; gap: 7px; align-items: center; background: transparent; border: 0; color: var(--ink); padding: 7px 0 7px 5px; font-weight: 600; }
.bag-link svg { width: 21px; height: 21px; }
[data-bag-count] { display: grid; place-items: center; width: 22px; height: 22px; border-radius: 50%; background: #eae7da; font-size: 11px; }

.product { display: grid; grid-template-columns: minmax(0,1.26fr) minmax(0,1fr); column-gap: clamp(36px, 5.5vw, 86px); padding-block: 52px 72px; }
.gallery { min-width: 0; }
.gallery-main { position: relative; aspect-ratio: 1.25; overflow: hidden; background: #e9e4d6; }
.gallery-main > img { width: 100%; height: 100%; object-fit: cover; }
.gallery-main > img.is-reference { object-fit: contain; background: #fff; padding: 12px; }
.gallery-arrows { position: absolute; right: 14px; bottom: 14px; display: flex; gap: 7px; }
.gallery-arrows button, .icon-button { display: grid; place-items: center; border: 1px solid #cfcbbd; border-radius: 50%; padding: 0 0 3px; width: 42px; height: 42px; background: #f9f7f0; color: var(--ink); font-size: 26px; line-height: 1; }
.gallery-arrows button:hover, .icon-button:hover { background: #eae6d8; }
.gallery-under { display: flex; justify-content: space-between; align-items: center; gap: 15px; padding-top: 12px; }
.thumbnails { display: flex; gap: 8px; flex: none; }
.thumb { padding: 3px; border: 1px solid transparent; background: transparent; }
.thumb[aria-pressed="true"] { border-color: #6f705e; }
.thumb:hover { border-color: #8b8d7f; }
.thumb img { width: 66px; height: 53px; object-fit: cover; background: #e9e4d6; }
.gallery-note, figcaption { font-size: 12px; color: var(--muted); }
.gallery-note { text-align: right; }
.product-copy { align-self: center; padding-bottom: 25px; }
.category, .section-kicker { color: var(--muted); font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: .16em; }
.category { text-decoration: none; }
.category:hover { text-decoration: underline; }
.product h1 { margin-top: 15px; font-size: clamp(56px, 5.55vw, 92px); }
.product-intro { color: var(--muted); font-size: clamp(15px,1.25vw,18px); max-width: 45ch; margin-top: 21px; }
.price { display: flex; align-items: baseline; gap: 8px; margin-top: 23px; }
.price strong { font-size: 29px; line-height: 1.15; font-weight: 600; letter-spacing: -.045em; }
.price span { font-size: 11px; color: var(--muted); font-weight: 700; letter-spacing: .11em; }
.button { border: 1px solid transparent; border-radius: 2px; min-height: 50px; padding: 12px 22px; display: inline-flex; gap: 18px; justify-content: center; align-items: center; font-weight: 700; font-size: 14px; text-decoration: none; transition: background-color .18s; }
.primary { background: var(--olive); color: #fffdf4; }
.primary:hover:not(:disabled) { background: #4b513e; }
.primary:disabled { opacity: .62; }
.secondary { background: transparent; color: var(--olive); border-color: #858575; }
.secondary:hover { background: #e9e6da; }
.add-button { width: 100%; justify-content: space-between; }
#purchase-anchor { margin-top: 18px; }
.checkout-note { color: var(--muted); font-size: 12px; margin-top: 8px; }
.purchase-perks { margin-top: 24px; border-top: 1px solid var(--line); padding-top: 20px; display: grid; grid-template-columns: 1fr 1fr; column-gap: 11px; }
.purchase-perks a { display: flex; gap: 9px; align-items: flex-start; text-decoration: none; }
.purchase-perks a:hover strong { text-decoration: underline; }
.purchase-perks svg { margin-top: 2px; width: 23px; flex: 0 0 23px; }
.purchase-perks strong { display: block; font-size: 13px; font-weight: 700; }
.purchase-perks small { display: block; color: var(--muted); font-size: 12px; }

.mechanism { margin-bottom: clamp(60px, 8vw, 116px); }
.mechanism-inner { background: var(--dark); color: var(--light); display: grid; grid-template-columns: .78fr 1.22fr; align-items: center; padding: clamp(30px, 4.5vw, 65px); gap: clamp(25px, 4vw, 64px); }
.mechanism .section-kicker { color: var(--accent); }
.mechanism h2, .kit-copy h2, .help-intro h2, .tracking h2 { font-size: clamp(52px, 5vw, 82px); margin-top: 13px; }
.mechanism h2 em { color: var(--accent); font-weight: 400; }
.mechanism-copy > p:not(.section-kicker) { max-width: 34ch; color: #e5e4d7; margin-top: 20px; }
.text-link { display: inline-flex; align-items: center; gap: 12px; font-weight: 600; font-size: 14px; margin-top: 24px; }
.demo-stage { aspect-ratio: 1.65; overflow: hidden; background: #ddd5bf; }
.demo-stage video, .demo-stage img { display: block; height: 100%; width: 100%; object-fit: contain; background: #181c15; }
.mechanism-media figcaption { margin-top: 8px; color: #dddccf; }
.kit-section { display: grid; grid-template-columns: 1.12fr .88fr; gap: clamp(34px, 7.2vw, 110px); align-items: center; padding-bottom: clamp(60px, 8vw, 116px); }
.kit-figure img { width: 100%; height: auto; aspect-ratio: 1.35; object-fit: contain; background: #fff; padding: 22px; }
.kit-figure figcaption { margin-top: 8px; }
.kit-copy > p:not(.section-kicker) { color: var(--muted); margin-top: 17px; max-width: 49ch; }
.setup-steps { list-style: none; counter-reset: step; margin: 22px 0 0; padding: 0; border-top: 1px solid var(--line); }
.setup-steps li { counter-increment: step; display: block; position: relative; padding: 12px 0 12px 35px; border-bottom: 1px solid var(--line); font-size: 14px; color: var(--muted); }
.setup-steps strong { color: var(--ink); }
.setup-steps li::before { content: counter(step, decimal-leading-zero); position: absolute; inset: 13px auto auto 0; font-weight: 700; font-size: 11px; color: #686b56; }
.small-note { font-size: 12px; color: var(--muted); }

.help-section { background: #eeece1; border-block: 1px solid var(--line); padding-block: clamp(49px, 6.5vw, 93px); }
.help-grid, .tracking { display: grid; grid-template-columns: .86fr 1.14fr; align-items: start; gap: clamp(30px, 6.5vw, 105px); }
.help-intro h2, .tracking h2 { font-size: clamp(48px, 4.5vw, 70px); }
.help-intro > p:not(.section-kicker), .tracking p { color: var(--muted); margin-top: 12px; }
.help-intro .button { margin-top: 20px; }
.faq { border-top: 1px solid #cccabb; }
.faq details { border-bottom: 1px solid #cccabb; }
.faq summary { cursor: pointer; list-style: none; position: relative; padding: 15px 30px 15px 0; font-weight: 700; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { position: absolute; right: 5px; top: 15px; content: "+"; font-size: 19px; line-height: 1; font-weight: 400; }
.faq details[open] summary::after { content: "−"; }
.faq details p { padding: 0 32px 15px 0; color: var(--muted); font-size: 14px; max-width: 65ch; }
.tracking { padding-block: clamp(49px, 6.5vw, 87px); align-items: center; }
.tracking .section-kicker { margin-top: 0; }
.track-form label { display: block; font-size: 14px; font-weight: 700; margin-bottom: 7px; }
.track-fields { display: flex; gap: 9px; }
.track-fields input { flex: 1; min-width: 0; width: 100%; border: 1px solid #8e8d7f; border-radius: 2px; padding: 12px; background: var(--light); color: var(--ink); }
.track-form p { margin-top: 9px; font-size: 12px; }
.footer { border-top: 1px solid var(--line); }
.footer-inner { display: flex; align-items: center; justify-content: space-between; gap: 24px; min-height: 115px; padding-bottom: 16px; }
.footer nav { display: flex; flex-wrap: wrap; gap: 10px 23px; font-size: 13px; font-weight: 600; }

.support-widget { position: fixed; z-index: 6; right: 21px; bottom: 20px; display: grid; justify-items: end; gap: 10px; }
.support-panel { width: min(288px, calc(100vw - 34px)); padding: 14px 16px; border: 1px solid var(--line); box-shadow: 0 10px 38px #292b2322; background: var(--light); border-radius: 5px; }
.support-top, .bag-heading { display: flex; justify-content: space-between; align-items: center; gap: 12px; }
.support-top h2 { font: 700 15px/1.2 var(--sans); letter-spacing: 0; }
.support-top .icon-button { width: 34px; height: 34px; font-size: 22px; background: transparent; border-color: transparent; }
.support-top .icon-button:hover { background: #eae6d8; }
.support-panel p { color: var(--muted); font-size: 13px; margin-bottom: 10px; }
.support-panel [data-chat-state] { margin-top: 8px; margin-bottom: 0; }
.support-actions { display: flex; gap: 14px; align-items: center; font-size: 13px; }
.support-actions .button { min-height: 40px; padding: 7px 13px; font-size: 13px; }
.support-launch { display: inline-flex; align-items: center; gap: 8px; color: var(--light); background: var(--olive); border: 1px solid #f2eedb70; border-radius: 30px; padding: 9px 14px; font-weight: 700; font-size: 12px; min-height: 44px; }
.support-launch:hover { background: #4b513e; }
.support-launch svg { width: 20px; height: 20px; }

.bag-dialog { padding: 25px; width: min(430px, calc(100% - 32px)); border: 1px solid var(--line); border-radius: 4px; background: var(--light); color: var(--ink); }
.bag-dialog::backdrop { background: #171a13a0; }
.bag-heading { margin-bottom: 20px; }
.bag-heading h2 { font-size: 48px; }
[data-bag-empty] > p { margin-bottom: 14px; }
.bag-product { display: flex; align-items: center; gap: 14px; margin-bottom: 19px; }
.bag-product img { width: 73px; height: 68px; object-fit: cover; }
.bag-product p, .bag-shipping { font-size: 13px; color: var(--muted); }
.link-button { border: 0; padding: 0; color: var(--muted); font-size: 12px; background: transparent; text-decoration: underline; }
.bag-total { display: flex; justify-content: space-between; border-top: 1px solid var(--line); padding-top: 12px; }
.bag-shipping { margin: 5px 0 17px; }
.mobile-buy { display: none; }

@media (max-width: 1050px) {
  .shell { width: min(100% - 58px, 1304px); }
  .product { column-gap: 34px; }
  .product h1 { font-size: clamp(49px,6.1vw,76px); }
  .product-copy { padding-bottom: 0; }
}
@media (max-width: 820px) {
  .nav { grid-template-columns: 1fr auto; min-height: 68px; }
  .nav-links { display: none; }
  .product { column-gap: 23px; padding-block: 32px 56px; }
  .product h1 { font-size: clamp(40px,6.7vw,56px); }
  .gallery-under { display: block; }
  .gallery-note { text-align: left; margin-top: 5px; }
  .product-intro { margin-top: 13px; }
  .price { margin-top: 14px; }
  .purchase-perks { margin-top: 16px; padding-top: 13px; }
}
@media (max-width: 650px) {
  .shell { width: calc(100% - 34px); }
  .nav { gap: 8px; }
  .nav-end { gap: 10px; font-size: 12px; }
  .brand { gap: 8px; font-size: 28px; }
  .brand img { width: 33px; height: 33px; }
  .brand-by { font-size: 7px; }
  .product { display: flex; flex-direction: column; gap: 23px; padding-block: 17px 46px; }
  .product-copy { align-self: stretch; }
  .gallery-main { aspect-ratio: 1.21; }
  .gallery-under { display: flex; gap: 8px; }
  .thumb img { width: clamp(36px, 11vw, 47px); height: 42px; }
  .thumbnails { gap: 4px; }
  .gallery-note { margin-top: 0; text-align: right; font-size: 11px; }
  .gallery-arrows { right: 10px; bottom: 10px; }
  .gallery-arrows button { width: 40px; height: 40px; }
  .product h1 { font-size: clamp(49px,10.7vw,67px); margin-top: 7px; }
  .headline-break { display: none; }
  .product-intro { font-size: 16px; }
  .purchase-perks a { gap: 7px; }
  .mechanism { margin-bottom: 49px; }
  .mechanism-inner, .kit-section, .help-grid, .tracking { grid-template-columns: 1fr; }
  .mechanism-inner { padding: 24px 18px 19px; gap: 21px; }
  .mechanism h2, .kit-copy h2 { font-size: 56px; }
  .mechanism-copy > p:not(.section-kicker) { margin-top: 14px; }
  .text-link { margin-top: 15px; }
  .kit-section { gap: 20px; padding-bottom: 50px; }
  .kit-figure { order: 2; }
  .help-section { padding-block: 43px; }
  .tracking { gap: 19px; padding-block: 44px; }
  .footer-inner { display: grid; gap: 16px; padding-block: 22px 93px; }
  .footer nav { gap: 10px 15px; }
  .support-widget { right: 12px; bottom: calc(75px + env(safe-area-inset-bottom)); }
  .support-launch { padding: 10px; }
  .support-launch span { position: absolute; clip-path: inset(50%); }
  .support-panel { width: min(255px, calc(100vw - 28px)); padding: 10px 13px; }
  .mobile-buy { position: fixed; inset: auto 0 0; z-index: 5; display: flex; align-items: center; justify-content: space-between; gap: 13px; padding: 8px 14px calc(8px + env(safe-area-inset-bottom)); border-top: 1px solid var(--line); background: var(--paper); }
  .mobile-buy strong, .mobile-buy small { display: block; }
  .mobile-buy strong { font-size: 20px; line-height: 1.1; }
  .mobile-buy small { font-size: 11px; color: var(--muted); }
  .mobile-buy .button { min-height: 44px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; }
}
