/* Lumora demo store: a Shopify Dawn-style storefront + Shopify-style one-page checkout */
:root {
  --ink: #1c1c1a;
  --ink-2: #3d3d38;
  --muted: #6e6e66;
  --line: #e6e2da;
  --cream: #f6f1ea;
  --sand: #ebe3d6;
  --sage: #5f7356;
  --sage-2: #e6ece2;
  --mint: #2ba484;
  --mint-ink: #12614c;
  --co-bg: #f5f5f5;
  --co-line: #dedede;
  --co-text: #303030;
  --serif: "Instrument Serif", Georgia, serif;
  --sans: "Assistant", -apple-system, "Segoe UI", sans-serif;
  --sys: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; font-family: var(--sans); font-size: 16px; color: var(--ink); background: #fff; -webkit-font-smoothing: antialiased; }
body.no-scroll { overflow: hidden; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; cursor: pointer; }
img { display: block; max-width: 100%; }
.muted { color: var(--muted); }
.small { font-size: 13px; }
.link { background: none; border: 0; padding: 0; text-decoration: underline; text-underline-offset: 3px; font-size: 14px; }

/* demo chrome */
.demo-bar { display: flex; align-items: center; gap: 14px; padding: 8px 16px; background: #121d19; color: rgba(238, 244, 241, .78); font: 500 12.5px/1.3 var(--sys); }
.demo-bar b { color: #fff; }
.demo-back { color: #2ba484; font-weight: 700; white-space: nowrap; }
.demo-ctl {
  position: fixed; left: 16px; bottom: 16px; z-index: 40; width: 330px; padding: 12px; border-radius: 16px;
  background: rgba(18, 29, 25, .96); color: #eef4f1; font-family: var(--sys); box-shadow: 0 20px 50px -20px rgba(0, 0, 0, .6);
  backdrop-filter: blur(8px);
}
.dc-label { display: block; font-size: 11px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: #2ba484; margin: 0 0 8px 2px; }
.dc-seg { display: grid; grid-template-columns: repeat(4, 1fr); gap: 3px; padding: 3px; border-radius: 10px; background: rgba(255, 255, 255, .07); }
.dc-seg button { border: 0; border-radius: 8px; padding: 8px 4px; font-size: 12.5px; font-weight: 600; background: none; color: rgba(238, 244, 241, .75); }
.dc-seg button[aria-selected="true"] { background: #2ba484; color: #0d1613; }
.dc-hint { margin: 9px 2px 0; font-size: 12px; line-height: 1.4; color: rgba(238, 244, 241, .7); }

/* ---------- Storefront ---------- */
.s-wrap { max-width: 1200px; margin: 0 auto; padding: 0 32px; }
.announce { padding: 10px 16px; text-align: center; font-size: 13.5px; letter-spacing: .02em; background: var(--ink); color: #f3efe8; }
.announce b { color: #fff; }
body[data-mode="referred"] .announce, body[data-mode="enroll"] .announce { background: var(--sage); }
body[data-mode="member"] .announce { background: var(--mint-ink); }
.s-head { position: sticky; top: 0; z-index: 20; background: #fff; border-bottom: 1px solid var(--line); }
.s-head-row { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; height: 76px; }
.s-nav { display: flex; gap: 22px; font-size: 15px; color: var(--ink-2); }
.s-nav a:hover { text-decoration: underline; text-underline-offset: 4px; }
.wordmark { font-family: var(--serif); font-size: 34px; letter-spacing: .01em; line-height: 1; }
.wordmark.small { font-size: 24px; }
.s-tools { display: flex; justify-content: flex-end; align-items: center; gap: 8px; }
.icon-btn { position: relative; display: grid; place-items: center; width: 42px; height: 42px; border: 0; border-radius: 50%; background: none; }
.icon-btn:hover { background: var(--cream); }
.icon-btn svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.cart-count { position: absolute; right: 3px; bottom: 4px; min-width: 18px; height: 18px; padding: 0 5px; border-radius: 999px; background: var(--ink); color: #fff; font-size: 11px; font-weight: 700; line-height: 18px; text-align: center; }
.acct-chip { display: inline-flex; align-items: center; gap: 8px; padding: 5px 12px 5px 5px; border-radius: 999px; background: var(--sage-2); font-size: 13.5px; font-weight: 600; white-space: nowrap; }
.acct-chip i, .ref-av { display: grid; place-items: center; width: 28px; height: 28px; border-radius: 50%; background: var(--sage); color: #fff; font-style: normal; font-size: 11px; font-weight: 700; flex: none; }
.ref-strip { display: flex; justify-content: center; align-items: center; gap: 10px; padding: 8px 16px; background: var(--sage-2); font-size: 14px; border-top: 1px solid var(--line); }
.ref-strip a { text-decoration: underline; text-underline-offset: 3px; color: var(--sage); font-weight: 600; }

.s-hero { position: relative; height: min(560px, 62vh); min-height: 380px; overflow: hidden; background: var(--sand); }
.s-hero img { width: 100%; height: 100%; object-fit: cover; }
.s-hero::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(28, 28, 26, .55), rgba(28, 28, 26, .05) 60%); }
.s-hero-copy { position: absolute; left: max(32px, calc((100% - 1200px) / 2 + 32px)); top: 50%; transform: translateY(-50%); z-index: 1; max-width: 520px; color: #fff; }
.kicker { margin: 0 0 10px; font-size: 13px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; }
.s-hero h1 { margin: 0 0 26px; font-family: var(--serif); font-weight: 400; font-size: clamp(44px, 6vw, 76px); line-height: 1; }
.btn-solid, .btn-outline { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 48px; padding: 0 28px; font-size: 15px; font-weight: 600; letter-spacing: .03em; border-radius: 0; transition: box-shadow .15s, background .15s; }
.btn-solid { background: var(--ink); color: #fff; border: 0; }
.s-hero .btn-solid { background: #fff; color: var(--ink); }
.btn-solid:hover { box-shadow: 0 0 0 2px var(--ink); }
.btn-outline { background: #fff; border: 1px solid var(--ink); }
.btn-outline:hover { box-shadow: inset 0 0 0 1px var(--ink); }
.wide { width: 100%; }

.s-sec { padding: 64px 32px; }
.s-sec-head { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin-bottom: 26px; }
.s-sec h2, .s-band h2 { margin: 0; font-family: var(--serif); font-weight: 400; font-size: 40px; line-height: 1.05; }
.tier-chip { display: inline-flex; padding: 5px 12px; border-radius: 999px; background: var(--sage-2); color: var(--sage); font-size: 13px; font-weight: 700; }
.grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 32px 24px; }
.p-card { display: flex; flex-direction: column; gap: 12px; }
.p-img { position: relative; aspect-ratio: 1; background: var(--cream); overflow: hidden; }
.p-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; }
.p-card:hover .p-img img { transform: scale(1.04); }
.pv-badge { position: absolute; left: 12px; top: 12px; padding: 4px 9px; border-radius: 999px; background: #fff; font-size: 12px; font-weight: 700; color: var(--mint-ink); box-shadow: 0 2px 8px rgba(0, 0, 0, .08); }
.p-meta { display: flex; flex-direction: column; gap: 4px; }
.p-name { font-size: 17px; font-weight: 600; }
.p-name:hover { text-decoration: underline; text-underline-offset: 3px; }
.p-rate { display: flex; align-items: center; gap: 6px; font-size: 13px; color: var(--muted); }
.stars { color: #c29a4b; letter-spacing: 1px; font-size: 13px; }
.price { display: inline-flex; align-items: baseline; gap: 8px; font-size: 16px; }
.price s { color: var(--muted); font-size: .9em; }
.price.big { font-size: 26px; }
.price.big b { font-weight: 600; }
.p-sub { font-size: 13px; color: var(--sage); font-weight: 600; }
.pv { display: inline-flex; padding: 2px 8px; border-radius: 999px; background: #e3f3ed; color: var(--mint-ink); font-size: 12.5px; font-weight: 700; white-space: nowrap; }
.p-card .btn-outline { margin-top: auto; min-height: 44px; }

.s-band { background: var(--cream); padding: 52px 0; }
.s-band-row { display: grid; grid-template-columns: 1.2fr 1fr; gap: 32px; align-items: center; }
.s-band p { margin: 10px 0 0; color: var(--ink-2); max-width: 520px; line-height: 1.55; }
.s-band ul { margin: 0; padding: 0; list-style: none; display: grid; gap: 10px; font-weight: 600; }
.s-band li::before { content: "✓"; display: inline-grid; place-items: center; width: 22px; height: 22px; margin-right: 10px; border-radius: 50%; background: var(--sage); color: #fff; font-size: 12px; }
.join { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: center; }
.join img { aspect-ratio: 1; object-fit: cover; background: var(--cream); }
.join h2 { margin-bottom: 14px; }
.join p { color: var(--ink-2); line-height: 1.6; margin: 0 0 18px; }
.join .kicker { color: var(--sage); }
.join-row { display: flex; align-items: center; gap: 12px; margin-bottom: 20px; }
.s-foot { border-top: 1px solid var(--line); padding: 28px 0 120px; font-size: 13px; color: var(--muted); }
.s-foot-row { display: flex; justify-content: space-between; align-items: center; gap: 16px; }

/* product page */
.pdp { display: grid; grid-template-columns: 1.1fr 1fr; gap: 56px; padding-top: 40px; padding-bottom: 24px; }
.pdp-media { background: var(--cream); aspect-ratio: 1; }
.pdp-media img { width: 100%; height: 100%; object-fit: cover; }
.crumb { font-size: 14px; color: var(--muted); }
.pdp h1 { margin: 10px 0 8px; font-family: var(--serif); font-weight: 400; font-size: 52px; line-height: 1; }
.pdp-price { display: flex; align-items: center; gap: 12px; margin: 18px 0 6px; }
.pdp-pv { display: flex; align-items: center; gap: 8px; margin: 6px 0 0; font-size: 14px; color: var(--muted); }
.pdp-blurb { color: var(--ink-2); line-height: 1.6; margin: 18px 0 22px; }
.opts { border: 0; padding: 0; margin: 0 0 20px; display: grid; gap: 10px; }
.opts legend { font-size: 14px; font-weight: 600; margin-bottom: 8px; }
.opt { display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 12px; padding: 14px 16px; border: 1px solid var(--line); cursor: pointer; }
.opt.on { border-color: var(--ink); box-shadow: inset 0 0 0 1px var(--ink); background: #fcfbf8; }
.opt input { accent-color: var(--ink); width: 18px; height: 18px; margin: 0; }
.opt span { font-weight: 600; }
.opt small { display: block; font-weight: 400; color: var(--muted); font-size: 13px; margin-top: 2px; }
.kit-note { padding: 12px 14px; background: var(--sage-2); color: var(--sage); font-weight: 600; font-size: 14px; }
.pdp-buy { display: flex; gap: 12px; }
.qty { display: inline-flex; align-items: center; border: 1px solid var(--ink-2); height: 48px; }
.qty button { width: 42px; height: 100%; border: 0; background: none; font-size: 18px; }
.qty span { min-width: 26px; text-align: center; font-weight: 600; }
.qty.sm { height: 34px; }
.qty.sm button { width: 30px; font-size: 15px; }
.pdp-facts { display: flex; flex-wrap: wrap; gap: 8px 20px; margin: 22px 0 0; padding: 0; list-style: none; font-size: 14px; color: var(--muted); }
.pdp-facts li::before { content: "·"; margin-right: 8px; }

/* cart drawer */
.drawer { position: fixed; inset: 0; z-index: 60; pointer-events: none; }
.dr-scrim { position: absolute; inset: 0; background: rgba(28, 28, 26, .45); opacity: 0; transition: opacity .3s; }
.dr-panel { position: absolute; right: 0; top: 0; bottom: 0; width: min(440px, 100%); background: #fff; display: flex; flex-direction: column; transform: translateX(100%); transition: transform .35s cubic-bezier(.2, .8, .2, 1); }
.drawer.open { pointer-events: auto; }
.drawer.open .dr-scrim { opacity: 1; }
.drawer.open .dr-panel { transform: none; }
.dr-head { display: flex; align-items: center; justify-content: space-between; padding: 18px 24px; border-bottom: 1px solid var(--line); }
.dr-head h2 { margin: 0; font-family: var(--serif); font-weight: 400; font-size: 30px; }
.dr-head h2 span { font-family: var(--sans); font-size: 14px; color: var(--muted); vertical-align: middle; }
.dr-lines { list-style: none; margin: 0; padding: 8px 24px; overflow-y: auto; flex: 1; }
.dr-lines li { display: grid; grid-template-columns: 76px 1fr auto; gap: 14px; padding: 16px 0; border-bottom: 1px solid var(--line); }
.dr-lines img { width: 76px; height: 76px; object-fit: cover; background: var(--cream); }
.dr-info { display: flex; flex-direction: column; gap: 4px; min-width: 0; font-size: 14px; }
.dr-info b { font-size: 15px; }
.dr-info .link { align-self: flex-start; font-size: 13px; color: var(--sage); font-weight: 600; }
.dr-row { display: flex; align-items: center; gap: 10px; margin-top: 6px; }
.dr-price { display: flex; flex-direction: column; align-items: flex-end; gap: 2px; font-size: 14px; }
.dr-price s { color: var(--muted); font-size: 13px; }
.dr-price .link { margin-top: auto; font-size: 12.5px; }
.dr-foot { padding: 18px 24px 24px; border-top: 1px solid var(--line); display: grid; gap: 8px; }
.dr-foot p { margin: 0; }
.dr-save { padding: 8px 12px; background: var(--sage-2); color: var(--sage); font-weight: 700; font-size: 14px; }
.dr-pv, .dr-total { display: flex; justify-content: space-between; font-size: 15px; }
.dr-total { font-size: 17px; font-weight: 700; margin-top: 4px !important; }
.dr-credit { font-size: 13px; color: var(--mint-ink); }
.dr-empty { padding: 40px 24px; text-align: center; }

/* ---------- Checkout (Shopify one-page style) ---------- */
body.is-checkout { font-family: var(--sys); color: var(--co-text); background: #fff; }
body.is-checkout .demo-ctl { bottom: 16px; }
.co { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); min-height: calc(100vh - 34px); }
.co-main { justify-self: end; width: 100%; max-width: 620px; padding: 32px 42px 140px 32px; }
.co-sum { background: var(--co-bg); border-left: 1px solid var(--co-line); padding: 38px 32px 40px 42px; }
.co-sum > * { max-width: 460px; }
.co-head { margin-bottom: 26px; }
.co-head .wordmark { color: var(--ink); }
.co-sumtoggle, .co-sum-mobile { display: none; }
.co-express { text-align: center; }
.co-express p { margin: 0 0 10px; font-size: 14px; color: #707070; }
.xp { display: flex; align-items: center; justify-content: center; gap: 6px; width: 100%; height: 48px; border: 0; border-radius: 6px; background: #121d19; color: #fff; font-weight: 700; font-size: 17px; }
.xp img { height: 28px; width: auto; }
.xp span { color: #4ecdff; }
.co-or { display: flex; align-items: center; gap: 14px; margin: 22px 0 6px; color: #707070; font-size: 13px; }
.co-or::before, .co-or::after { content: ""; flex: 1; height: 1px; background: var(--co-line); }
.co-sec { margin-top: 26px; }
.co-sec h2, .co-card h2 { margin: 0 0 12px; font-size: 21px; font-weight: 600; color: #1a1a1a; display: flex; align-items: center; gap: 10px; }
.co-sec-head { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; }
.co-sec-head .link { font-size: 14px; color: #1773b0; }
.tag { display: inline-flex; padding: 3px 9px; border-radius: 6px; background: #e3f3ed; color: var(--mint-ink); font-size: 12px; font-weight: 700; }
.fld { position: relative; display: block; margin-bottom: 12px; border: 1px solid var(--co-line); border-radius: 6px; background: #fff; transition: border-color .15s, box-shadow .15s; }
.fld:focus-within { border-color: #1773b0; box-shadow: 0 0 0 1px #1773b0; }
.fld span { position: absolute; left: 12px; top: 7px; font-size: 12px; color: #707070; pointer-events: none; }
.fld input, .fld select { width: 100%; border: 0; background: none; padding: 24px 12px 8px; font: 15px var(--sys); color: #1a1a1a; outline: none; appearance: none; -webkit-appearance: none; }
.fld.sel::after { content: "⌄"; position: absolute; right: 14px; top: 16px; color: #707070; pointer-events: none; }
.fld.ro input { color: #1a1a1a; }
.row2, .row3 { display: grid; gap: 12px; }
.row2 { grid-template-columns: 1fr 1fr; }
.row3 { grid-template-columns: 1.4fr 1fr 1fr; }
.chk { display: flex; align-items: center; gap: 10px; font-size: 14px; margin: 4px 0 2px; }
.chk input, .radios input, .obo input, .spendback input { accent-color: #1a1a1a; width: 18px; height: 18px; margin: 0; flex: none; }
.radios { border: 1px solid var(--co-line); border-radius: 6px; overflow: hidden; }
.radios label { display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 12px; padding: 15px 14px; font-size: 14.5px; cursor: pointer; }
.radios label + label { border-top: 1px solid var(--co-line); }
.radios label.on { background: #f0f5fa; box-shadow: inset 0 0 0 1px #1773b0; }
.obo, .spendback { display: grid; grid-template-columns: auto auto 1fr; align-items: center; gap: 12px; margin-top: 22px; padding: 14px; border: 1px solid var(--co-line); border-radius: 8px; cursor: pointer; background: #fff; }
.obo { grid-template-columns: auto 1fr; }
.obo.on { border-color: #1a1a1a; background: #fafafa; }
.obo b, .spendback b { display: block; font-size: 15px; color: #1a1a1a; }
.obo small, .spendback small { display: block; font-size: 13px; color: #707070; margin-top: 2px; line-height: 1.4; }
.spendback { margin: 4px 0 14px; }
.spendback.on { border-color: var(--mint); background: #f2faf7; box-shadow: inset 0 0 0 1px var(--mint); }
.sb-mark { padding: 6px 9px; border-radius: 6px; background: #121d19; color: #2ba484; font-weight: 800; font-size: 12px; letter-spacing: .04em; }
.enroll .sponsor { display: flex; align-items: center; gap: 12px; margin-bottom: 12px; padding: 12px 14px; border: 1px solid var(--co-line); border-radius: 6px; }
.sponsor small { display: block; font-size: 12px; color: #707070; }
.sponsor b { font-size: 15px; color: #1a1a1a; }
.sponsor .ok { margin-left: auto; color: var(--mint-ink); font-weight: 700; font-size: 13px; }
.pay-box { border: 1px solid var(--co-line); border-radius: 6px; overflow: hidden; }
.pay-head { display: flex; justify-content: space-between; align-items: center; padding: 14px; background: #f0f5fa; border-bottom: 1px solid var(--co-line); box-shadow: inset 0 0 0 1px #1773b0; font-weight: 600; font-size: 14.5px; }
.brands { display: flex; gap: 5px; }
.brands i { font-style: normal; font-size: 10px; font-weight: 800; padding: 3px 5px; border: 1px solid var(--co-line); border-radius: 4px; background: #fff; color: #1a1a1a; }
.pay-body { padding: 14px; background: #f5f5f5; }
.pay-by { margin: 0; padding: 10px 14px; font-size: 12.5px; color: #707070; border-top: 1px solid var(--co-line); }
.pay-by b { color: #121d19; }
.paid-full { padding: 14px; border-radius: 6px; background: #f2faf7; color: var(--mint-ink); font-weight: 600; font-size: 14px; }
.co-pay { width: 100%; height: 56px; margin-top: 24px; border: 0; border-radius: 6px; background: #1a1a1a; color: #fff; font-size: 17px; font-weight: 600; }
.co-pay:hover { background: #000; }
.co-demo { margin: 12px 0 0; font-size: 12.5px; color: #707070; text-align: center; }
.co-foot { display: flex; flex-wrap: wrap; gap: 6px 18px; margin-top: 28px; padding-top: 18px; border-top: 1px solid var(--co-line); font-size: 13px; color: #1773b0; }

/* order summary */
.co-lines { list-style: none; margin: 0 0 18px; padding: 0; display: grid; gap: 14px; }
.co-lines li { display: grid; grid-template-columns: 64px 1fr auto; align-items: center; gap: 14px; }
.co-thumb { position: relative; width: 64px; height: 64px; border-radius: 8px; border: 1px solid var(--co-line); background: #fff; }
.co-thumb img { width: 100%; height: 100%; object-fit: cover; border-radius: 7px; }
.co-thumb i { position: absolute; right: -8px; top: -8px; min-width: 21px; height: 21px; padding: 0 6px; border-radius: 999px; background: #666; color: #fff; font: 600 12px/21px var(--sys); text-align: center; }
.co-li b { display: block; font-size: 14.5px; font-weight: 600; color: #1a1a1a; }
.co-li small { font-size: 12.5px; color: #707070; }
.co-amt { font-size: 14.5px; }
.co-disc { display: flex; gap: 10px; margin-bottom: 18px; }
.co-disc input { flex: 1; min-width: 0; height: 48px; padding: 0 12px; border: 1px solid var(--co-line); border-radius: 6px; font: 14px var(--sys); background: #fff; }
.co-disc button { padding: 0 18px; border: 1px solid var(--co-line); border-radius: 6px; background: #ececec; color: #888; font-weight: 600; }
.co-tot { margin: 0; display: grid; gap: 9px; font-size: 14.5px; }
.co-tot div { display: flex; justify-content: space-between; gap: 12px; }
.co-tot dt, .co-tot dd { margin: 0; }
.co-tot .save dd, .co-tot .save dt { color: var(--mint-ink); font-weight: 600; }
.co-tot .spend { color: var(--mint-ink); font-weight: 600; }
.co-tot .grand { margin-top: 6px; font-size: 19px; font-weight: 700; color: #1a1a1a; }
.co-tot .grand small { font-size: 12px; font-weight: 400; color: #707070; margin-right: 6px; }
.co-ds { margin-top: 22px; padding: 14px 16px; border-radius: 10px; background: #fff; border: 1px solid var(--co-line); display: grid; gap: 8px; font-size: 14px; }
.co-ds p { margin: 0; display: flex; justify-content: space-between; gap: 12px; }
.co-ds span { color: #707070; }
.co-ds b { color: #1a1a1a; text-align: right; }
.co-ds p:first-child b { color: var(--mint-ink); font-size: 16px; }
.co-ds-note { justify-content: flex-start !important; align-items: center; gap: 8px !important; padding-top: 8px; border-top: 1px solid var(--co-line); font-size: 12.5px; color: #707070; }
.co-ds-note img { width: 16px; height: 16px; }
.co-empty { padding: 120px 24px; text-align: center; }

/* thank you */
.ty-head { display: flex; align-items: center; gap: 14px; margin-bottom: 20px; }
.ty-check { display: grid; place-items: center; width: 46px; height: 46px; border-radius: 50%; border: 2px solid var(--mint); color: var(--mint); font-size: 22px; font-weight: 700; flex: none; }
.ty-head small { font-size: 13px; color: #707070; }
.ty-head h1 { margin: 2px 0 0; font-size: 26px; font-weight: 600; color: #1a1a1a; }
.co-card { margin-top: 14px; padding: 18px; border: 1px solid var(--co-line); border-radius: 8px; }
.co-card h2 { font-size: 17px; margin-bottom: 6px; }
.co-card p { margin: 0; font-size: 14px; line-height: 1.55; }
.co-card.sync { background: #121d19; border-color: #121d19; color: #eef4f1; }
.sync-head { display: flex; align-items: center; gap: 10px; margin-bottom: 12px; }
.sync-head img { width: 22px; height: 22px; }
.co-card.sync h2 { color: #fff; margin: 0; }
.sync ol { list-style: none; margin: 0; padding: 0; display: grid; gap: 2px; }
.sync li { display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 12px; padding: 10px 0; border-top: 1px solid rgba(255, 255, 255, .08); font-size: 14px; animation: syncIn .45s ease calc(.25s + var(--i) * .35s) both; }
.sync li b { color: #2ba484; font-weight: 600; font-size: 13px; white-space: nowrap; }
.tick { display: grid; place-items: center; width: 22px; height: 22px; border-radius: 50%; background: #2ba484; color: #0d1613; font-size: 12px; font-weight: 800; }
@keyframes syncIn { from { opacity: 0; transform: translateX(-8px); } }
.ty-actions { display: flex; align-items: center; gap: 20px; }
.ty-actions .co-pay { width: auto; padding: 0 28px; }
.ty-actions .link { color: #1773b0; }

/* ---------- Responsive ---------- */
@media (max-width: 1000px) {
  .s-nav { display: none; }
  .s-head-row { grid-template-columns: auto 1fr; }
  .wordmark { justify-self: start; }
  .grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .pdp, .join { grid-template-columns: 1fr; gap: 28px; }
  .s-band-row { grid-template-columns: 1fr; }
  .co { grid-template-columns: 1fr; }
  .co-main { justify-self: center; max-width: 640px; padding: 20px 20px 170px; }
  .co-sum { display: none; }
  .co-sumtoggle { display: flex; justify-content: space-between; align-items: center; width: calc(100% + 40px); margin: 0 -20px 18px; padding: 14px 20px; border: 0; border-top: 1px solid var(--co-line); border-bottom: 1px solid var(--co-line); background: var(--co-bg); color: #1773b0; font-size: 14px; }
  .co-sumtoggle b { color: #1a1a1a; font-size: 17px; }
  .co-sum-mobile.open { display: block; margin: -18px -20px 18px; padding: 18px 20px; background: var(--co-bg); border-bottom: 1px solid var(--co-line); }
}
@media (max-width: 640px) {
  .s-wrap, .s-sec { padding-left: 16px; padding-right: 16px; }
  .s-sec { padding-top: 44px; padding-bottom: 44px; }
  .s-sec h2, .s-band h2 { font-size: 32px; }
  .grid { gap: 22px 12px; }
  .p-name { font-size: 15px; }
  .p-card .btn-outline { padding: 0 10px; font-size: 13px; }
  .acct-chip { font-size: 0; padding: 4px; gap: 0; }
  .s-hero h1 { font-size: 42px; }
  .s-hero-copy { left: 16px; right: 16px; }
  .pdp { padding-top: 0; gap: 20px; }
  .pdp-media { margin: 0 -16px; }
  .pdp h1 { font-size: 38px; }
  .ref-strip { font-size: 13px; }
  .ref-strip a { display: none; }
  .demo-bar span { font-size: 11.5px; }
  .s-foot { padding-bottom: calc(32px + env(safe-area-inset-bottom)); }
  .co-main { padding-bottom: 40px; }
  .row3 { grid-template-columns: 1fr 1fr; }
  .row3 .fld:first-child { grid-column: 1 / -1; }
  .ty-actions { flex-direction: column; align-items: stretch; }
}
@media (prefers-reduced-motion: reduce) {
  .sync li { animation: none; }
  .dr-panel, .dr-scrim, .p-img img { transition: none; }
}
.co-sum-in { position: sticky; top: 28px; max-width: 460px; }
@media (min-width: 1001px) { body.is-checkout .demo-ctl { left: auto; right: 24px; } }
.ty .co-disc { display: none; }

/* ---------- Volume tags ---------- */
.qv { display: inline-flex; padding: 2px 8px; border-radius: 999px; background: #eef0f8; color: #36407a; font-size: 12.5px; font-weight: 700; white-space: nowrap; }
.pk-vol, .pack-vol, .pdp-pv, .dr-row { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; }

/* ---------- Enrollment ---------- */
.jn { padding-top: 34px; padding-bottom: 40px; }
.jn-top { text-align: center; margin-bottom: 30px; }
.jn-top .kicker { color: var(--sage); }
.jn-top h1 { margin: 0 0 22px; font-family: var(--serif); font-weight: 400; font-size: clamp(40px, 5vw, 58px); line-height: 1; }
.jn-steps { display: flex; justify-content: center; gap: 6px; margin: 0; padding: 0; list-style: none; counter-reset: s; }
.jn-steps li { display: flex; align-items: center; }
.jn-steps li + li::before { content: ""; width: 34px; height: 1px; margin-right: 6px; background: var(--line); }
.jn-steps a { display: flex; align-items: center; gap: 8px; padding: 6px 12px 6px 6px; border-radius: 999px; font-size: 14px; color: var(--muted); font-weight: 600; }
.jn-steps i { display: grid; place-items: center; width: 26px; height: 26px; border-radius: 50%; border: 1px solid var(--line); font-style: normal; font-size: 12.5px; }
.jn-steps li.on a { background: var(--ink); color: #fff; }
.jn-steps li.on i { border-color: transparent; background: #fff; color: var(--ink); }
.jn-steps li.done a { color: var(--sage); }
.jn-steps li.done i { background: var(--sage); border-color: var(--sage); color: #fff; }
.jn-mini { display: none; }
.jn-grid { display: grid; grid-template-columns: minmax(0, 1fr) 340px; gap: 36px; align-items: start; }
.jn-h3 { display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 12px; margin: 30px 0 12px; font-size: 18px; font-weight: 700; }
.jn-h3 .muted { font-size: 14px; font-weight: 500; }
.jn-fine { margin: 16px 0 0; font-size: 14px; color: var(--muted); line-height: 1.5; }
.jn-fine .link { margin-left: 4px; color: var(--ink-2); font-size: 14px; }
.jn-nav { display: flex; justify-content: space-between; align-items: center; gap: 12px; margin-top: 34px; padding-top: 22px; border-top: 1px solid var(--line); }
.jn-nav .link { color: var(--muted); }

/* step 1: packs */
.packs { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.pack { position: relative; display: flex; flex-direction: column; border: 1px solid var(--line); background: #fff; cursor: pointer; transition: border-color .15s, box-shadow .15s, transform .15s; }
.pack:hover { transform: translateY(-2px); box-shadow: 0 14px 30px -18px rgba(0, 0, 0, .35); }
.pack.on { border-color: var(--ink); box-shadow: inset 0 0 0 1px var(--ink), 0 14px 30px -18px rgba(0, 0, 0, .35); }
.pack input, .pack-lite input { position: absolute; opacity: 0; pointer-events: none; }
.pack:has(input:focus-visible), .pack-lite:has(input:focus-visible) { outline: 2px solid var(--mint); outline-offset: 2px; }
.pack-img { position: relative; display: block; aspect-ratio: 1; background: var(--cream); overflow: hidden; }
.pack-img img { width: 100%; height: 100%; object-fit: cover; }
.pack-img em { position: absolute; left: 10px; top: 10px; padding: 4px 10px; border-radius: 999px; background: var(--ink); color: #fff; font-style: normal; font-size: 12px; font-weight: 700; letter-spacing: .02em; }
.pack-body { display: flex; flex-direction: column; gap: 8px; padding: 14px 14px 4px; flex: 1; }
.pack-name { font-size: 18px; }
.pack-body .price b { font-size: 20px; font-weight: 700; }
.pack-body ul { margin: 4px 0 0; padding: 0; list-style: none; display: grid; gap: 5px; font-size: 13.5px; color: var(--ink-2); }
.pack-body li::before { content: "✓"; margin-right: 7px; color: var(--sage); font-weight: 700; }
.pack-pick { margin: 12px 14px 14px; padding: 10px; text-align: center; border: 1px solid var(--ink); font-size: 14px; font-weight: 700; }
.pack.on .pack-pick { background: var(--ink); color: #fff; }
.pack-lite { position: relative; display: block; margin-top: 14px; padding: 14px 16px; border: 1px dashed #cfc8bb; cursor: pointer; }
.pack-lite.on { border-style: solid; border-color: var(--ink); box-shadow: inset 0 0 0 1px var(--ink); }
.pack-lite b { display: block; font-size: 15px; }
.pack-lite small { display: block; margin-top: 2px; color: var(--muted); font-size: 13.5px; }

/* QV meters + nudges */
.meter { padding: 16px 18px; border-radius: 12px; background: var(--cream); }
.mt-top { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; font-size: 15px; }
.mt-top span { font-weight: 700; font-variant-numeric: tabular-nums; color: var(--ink-2); }
.mt-bar { position: relative; height: 10px; margin-top: 10px; border-radius: 999px; background: #fff; overflow: hidden; }
.mt-bar i { position: absolute; inset: 0 auto 0 0; border-radius: inherit; background: linear-gradient(90deg, #c29a4b, #e0b764); transition: width .5s cubic-bezier(.2, .8, .2, 1); }
.meter.done { background: #e9f5ef; }
.meter.done .mt-bar i { background: linear-gradient(90deg, var(--mint-ink), var(--mint)); }
.mt-note { margin: 10px 0 0; font-size: 14px; font-weight: 600; color: var(--mint-ink); }
.nudge { display: grid; grid-template-columns: 64px 1fr auto; align-items: center; gap: 14px; margin-top: 12px; padding: 12px 14px; border: 2px solid #e0b764; border-radius: 12px; background: #fffaf0; animation: nudgeIn .4s ease both; }
.nudge img { width: 64px; height: 64px; object-fit: cover; border-radius: 8px; }
.nudge em { display: inline-block; margin-bottom: 3px; padding: 2px 8px; border-radius: 999px; background: #c29a4b; color: #fff; font-style: normal; font-size: 11.5px; font-weight: 700; letter-spacing: .03em; text-transform: uppercase; }
.nudge b { display: block; font-size: 15.5px; }
.nudge small { display: block; margin-top: 2px; font-size: 13.5px; color: var(--ink-2); line-height: 1.4; }
.nudge .btn-solid { min-height: 42px; padding: 0 18px; white-space: nowrap; }
@keyframes nudgeIn { from { opacity: 0; transform: translateY(6px); } }

/* product pick lists (autoship + one-time) */
.pk-list { margin: 0; padding: 0; list-style: none; border: 1px solid var(--line); }
.pk-row { display: grid; grid-template-columns: 56px minmax(0, 1fr) auto 104px; align-items: center; gap: 14px; padding: 10px 14px; }
.pk-row + .pk-row { border-top: 1px solid var(--line); }
.pk-row.on { background: #fcfbf8; }
.pk-row img { width: 56px; height: 56px; object-fit: cover; background: var(--cream); }
.pk-info { display: flex; flex-direction: column; gap: 5px; min-width: 0; }
.pk-info b { font-size: 15px; }
.pk-price { display: flex; flex-direction: column; align-items: flex-end; font-size: 15px; }
.pk-price small { font-size: 12px; font-weight: 500; color: var(--muted); }
.pk-price s { font-size: 12.5px; color: var(--muted); }
.pk-row .qty, .pk-add { justify-self: end; }
.pk-add { height: 34px; padding: 0 20px; border: 1px solid var(--ink); background: #fff; font-size: 14px; font-weight: 700; }
.pk-add:hover { background: var(--ink); color: #fff; }
.days { display: flex; flex-wrap: wrap; gap: 8px; }
.days button { min-width: 58px; height: 40px; padding: 0 12px; border: 1px solid var(--line); background: #fff; font-size: 14px; font-weight: 600; }
.days button.on { border-color: var(--ink); background: var(--ink); color: #fff; }

/* enrollment offers */
.offers { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.offer { display: grid; grid-template-columns: 96px 1fr; gap: 14px; padding: 12px; border: 2px solid #e0b764; background: linear-gradient(180deg, #fffaf0, #fff); }
.offer.on { border-color: var(--mint); background: #f2faf7; }
.offer-img { display: block; }
.offer-img img { width: 96px; height: 96px; object-fit: cover; }
.offer-body em { align-self: flex-start; padding: 2px 8px; background: #c29a4b; color: #fff; font-style: normal; font-size: 11px; font-weight: 800; letter-spacing: .03em; text-transform: uppercase; white-space: nowrap; }
.offer.on .offer-body em { background: var(--mint-ink); }
.offer-body { display: flex; flex-direction: column; gap: 4px; }
.offer-body b { font-size: 15.5px; }
.offer-body small { font-size: 13px; color: var(--muted); }
.offer-body .price b { font-size: 18px; }
.offer > button { grid-column: 1 / -1; min-height: 40px; }

/* enrollment summary */
.jn-side { position: sticky; top: 96px; }
.es { padding: 20px; background: var(--cream); }
.es h3 { margin: 0 0 14px; font-family: var(--serif); font-weight: 400; font-size: 28px; }
.es-sponsor { display: flex; align-items: center; gap: 10px; padding: 10px 12px; background: #fff; }
.es-sponsor small { display: block; font-size: 11.5px; color: var(--muted); }
.es-sponsor b { font-size: 14px; }
.es-sponsor .ok { margin-left: auto; color: var(--mint-ink); font-weight: 800; }
.es-lbl { margin: 18px 0 8px; font-size: 12px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--sage); }
.es-lines, .es-auto { margin: 0 0 8px; padding: 0; list-style: none; display: grid; gap: 8px; }
.es-lines li { display: grid; grid-template-columns: 40px 1fr auto; align-items: center; gap: 10px; font-size: 14px; }
.es-lines img { width: 40px; height: 40px; object-fit: cover; background: #fff; }
.es-lines small { display: block; font-size: 12px; color: var(--muted); }
.es-auto li { display: flex; justify-content: space-between; gap: 10px; font-size: 14px; }
.es-row { display: flex; justify-content: space-between; gap: 10px; margin: 6px 0 0; font-size: 14px; }
.es-row.vol b { color: var(--mint-ink); }
.es-row.ok b, .es-row.ok span { color: var(--mint-ink); }
.es-row.warn b { color: #9a7428; }

/* drawer additions */
.dr-auto { display: flex; justify-content: space-between; gap: 10px; padding: 8px 12px; background: #eef0f8; color: #36407a; font-size: 13.5px; font-weight: 600; }

/* ---------- Checkout additions ---------- */
.co-crumbs { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin: -12px 0 20px; font-size: 13px; }
.co-crumbs a { color: #1773b0; }
.co-crumbs i { font-style: normal; color: #999; }
.co-crumbs b { color: #1a1a1a; }
.prot { display: grid; grid-template-columns: auto auto 1fr auto; align-items: center; gap: 12px; margin-top: 12px; padding: 14px; border: 1px solid var(--co-line); border-radius: 8px; cursor: pointer; }
.prot.on { border-color: var(--mint); background: #f2faf7; box-shadow: inset 0 0 0 1px var(--mint); }
.prot input, .bump input { accent-color: #1a1a1a; width: 18px; height: 18px; margin: 0; }
.prot-ic { display: grid; place-items: center; width: 36px; height: 36px; border-radius: 8px; background: #121d19; }
.prot-ic svg { width: 20px; height: 20px; fill: none; stroke: #2ba484; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.prot b { display: block; font-size: 15px; color: #1a1a1a; }
.prot small { display: block; margin-top: 2px; font-size: 13px; color: #707070; line-height: 1.4; }
.prot-amt { font-size: 14.5px !important; }
.bump { display: grid; grid-template-columns: auto 64px 1fr; align-items: center; gap: 14px; margin-top: 26px; padding: 14px; border: 2px dashed #c29a4b; border-radius: 10px; background: #fffaf0; cursor: pointer; }
.bump.on { border-style: solid; border-color: var(--mint); background: #f2faf7; }
.bump img { width: 64px; height: 64px; object-fit: cover; border-radius: 8px; }
.bump em { display: block; font-style: normal; font-size: 11.5px; font-weight: 800; letter-spacing: .05em; text-transform: uppercase; color: #9a7428; }
.bump.on em { color: var(--mint-ink); }
.bump b { display: block; margin-top: 2px; font-size: 16px; color: #1a1a1a; }
.bump small { display: block; margin-top: 2px; font-size: 13px; color: #707070; }
.co-auto { margin-top: 18px; padding: 14px 16px; border-radius: 10px; background: #eef0f8; font-size: 14px; }
.co-auto p { margin: 0; display: flex; justify-content: space-between; gap: 12px; }
.co-auto-head { flex-wrap: wrap; margin-bottom: 8px !important; }
.co-auto-head b { color: #36407a; }
.co-auto-head span { font-size: 12.5px; color: #707070; }
.co-auto ul { margin: 0; padding: 0; list-style: none; display: grid; gap: 6px; }
.co-auto li { display: flex; justify-content: space-between; gap: 12px; }
.co-auto li small { margin-left: 6px; font-size: 12px; color: #707070; }
.co-auto .fs { margin-top: 8px; color: var(--mint-ink); font-weight: 600; }
.co-auto .tot { margin-top: 10px; padding-top: 10px; border-top: 1px solid rgba(54, 64, 122, .15); }
.co-auto .tot span { color: #36407a; font-weight: 600; }
.co-ds b.ok { color: var(--mint-ink); }
.co-ds b a { color: #9a7428; text-decoration: underline; text-underline-offset: 3px; }

@media (max-width: 1000px) {
  .jn { padding-top: 24px; }
  .jn-grid { grid-template-columns: minmax(0, 1fr); }
  /* the totals bar opens the full enrollment summary */
  .jn-side { position: static; display: none; order: -1; }
  .jn.sum-open .jn-side { display: block; }
  .jn-mini { position: sticky; top: 76px; z-index: 15; display: flex; align-items: center; justify-content: space-between; gap: 10px; width: calc(100% + 64px); margin: 0 -32px 18px; padding: 10px 32px; border: 0; background: var(--ink); color: #e8e4dc; font-size: 13.5px; text-align: left; }
  .jn-mini b { color: #fff; }
  .jn-mini svg { flex: none; width: 18px; height: 18px; fill: none; stroke: #2ba484; stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; transition: transform .2s; }
  .jn-mini[aria-expanded="true"] svg { transform: rotate(180deg); }
}
@media (max-width: 640px) {
  .jn-top h1 { font-size: 40px; margin-bottom: 16px; }
  .jn-steps { gap: 2px; }
  .jn-steps li + li::before { width: 8px; margin-right: 2px; }
  .jn-steps a { padding: 4px; }
  .jn-steps span { display: none; }
  .jn-steps li.on span { display: inline; padding-right: 6px; }
  .jn-mini { top: 104px; width: calc(100% + 32px); margin: 0 -16px 16px; padding: 10px 16px; gap: 8px; font-size: 12.5px; }
  .jn-mini span { white-space: nowrap; }
  /* packs swipe sideways; the next card peeks in */
  .packs { display: flex; gap: 12px; overflow-x: auto; scroll-snap-type: x mandatory; margin: 0 -16px; padding: 4px 16px 14px; scrollbar-width: none; }
  .packs::-webkit-scrollbar { display: none; }
  .pack { flex: 0 0 80%; scroll-snap-align: center; }
  .pack:hover { transform: none; }
  .pack-img { aspect-ratio: 16 / 10; }
  .nudge { grid-template-columns: 52px 1fr; }
  .nudge img { width: 52px; height: 52px; }
  .nudge .btn-solid { grid-column: 1 / -1; width: 100%; }
  .pk-row { grid-template-columns: 48px minmax(0, 1fr) auto; gap: 10px; padding: 10px; }
  .pk-row img { width: 48px; height: 48px; }
  .pk-row .qty, .pk-row .pk-add { grid-column: 2 / -1; justify-self: start; }
  .offers { grid-template-columns: 1fr; }
  .jn { padding-top: 18px; }
  .jn-top { margin-bottom: 18px; }
  .jn-top .kicker { margin-bottom: 6px; }
  /* the step's main action stays in the thumb zone */
  .jn-nav { position: sticky; bottom: 0; z-index: 6; margin: 24px -16px 0; padding: 10px 16px calc(10px + env(safe-area-inset-bottom)); gap: 10px; background: rgba(255, 255, 255, .96); backdrop-filter: blur(8px); box-shadow: 0 -8px 20px -14px rgba(0, 0, 0, .35); }
  .jn-nav .btn-solid { flex: 1; padding: 0 14px; }
  .jn-nav .btn-outline { flex: none; padding: 0 16px; }
  .jn-nav .link { flex: none; font-size: 13.5px; }
  .prot { grid-template-columns: auto 1fr auto; }
  .prot-ic { display: none; }
  .bump { grid-template-columns: auto 52px 1fr; gap: 10px; }
  .bump img { width: 52px; height: 52px; }
  body.is-join .s-foot { padding-bottom: calc(32px + env(safe-area-inset-bottom)); }
}
@media (prefers-reduced-motion: reduce) {
  .nudge { animation: none; }
  .mt-bar i, .pack { transition: none; }
}

/* embed: store without the demo chrome, for the landing page capture */
body.embed .demo-bar, body.embed .demo-ctl { display: none; }
body.embed .s-hero { height: 176px; min-height: 0; }
body.embed .s-hero h1 { font-size: 46px; margin-bottom: 14px; }
body.embed .s-hero .kicker { margin-bottom: 6px; }
body.embed .s-hero .btn-solid { min-height: 40px; }
body.embed .p-img { aspect-ratio: 16 / 9; }
body.embed .p-card { gap: 8px; }
body.embed .p-card .btn-outline { display: none; }
body.embed .s-sec { padding-top: 20px; }
body.embed .s-sec-head { margin-bottom: 16px; }
body.embed .s-sec h2 { font-size: 32px; }
body.embed .grid { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; }

/* NetFi: payments, subscriptions, payouts and SpendBack */
.nf-by { display: inline-flex; align-items: center; gap: 8px; font-size: 12.5px; color: #707070; text-decoration: none; white-space: nowrap; }
.nf-by:hover { color: #1a1a1a; }
.nf-logo { display: block; width: auto; flex: none; }
.nf-i { display: inline-block; height: 1.05em; width: auto; margin: 0 .3em 0 .05em; vertical-align: -0.16em; }
.s-band-row .nf-by { grid-column: 1 / -1; justify-self: start; }
.sb-mark { padding: 5px; background: #fff; border: 1px solid var(--co-line); display: grid; place-items: center; }
.sb-mark img { display: block; height: 22px; width: auto; }
.pay-by { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 6px 14px; }
.pay-by span { font-size: 12px; }
.co-auto .co-auto-nf { display: block; margin: -2px 0 10px; font-size: 12.5px; color: #707070; }
@media (max-width: 640px) {
  .s-foot-row { flex-wrap: wrap; }
}

/* ---------- Phone-first shopping ---------- */
/* Desktop keeps the floating switcher card; these pieces only show on phones. */
.db-mode, .dc-ic, .dc-txt small, .dc-grab, .dc-title, .dc-foot, .dc-scrim, .an-short, .m-cats, .toast { display: none; }
.dc-txt b { font-weight: inherit; }

@media (max-width: 640px) {
  /* one slim sticky bar: back to PayHouse + who you're shopping as */
  .demo-bar { position: sticky; top: 0; z-index: 30; height: 48px; padding: 0 8px 0 14px; justify-content: space-between; }
  .db-text { display: none; }
  .db-mode { display: inline-flex; align-items: center; gap: 8px; height: 34px; padding: 0 10px 0 9px; border: 1px solid rgba(43, 164, 132, .55); border-radius: 999px; background: rgba(43, 164, 132, .12); color: rgba(238, 244, 241, .8); font: 500 13px/1 var(--sys); animation: dbPulse 1.8s ease-out .8s 3; }
  .db-mode b { color: #fff; font-weight: 700; }
  .db-mode > i { width: 8px; height: 8px; border-radius: 50%; background: var(--dot, #e8e4dc); box-shadow: 0 0 0 3px rgba(255, 255, 255, .08); }
  .db-mode svg { width: 16px; height: 16px; fill: none; stroke: #2ba484; stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; }
  body[data-mode="referred"] { --dot: #9cc595; }
  body[data-mode="member"] { --dot: #2ba484; }
  body[data-mode="enroll"] { --dot: #f2c14e; }

  .announce { padding: 8px 12px; font-size: 12.5px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
  .an-long { display: none; }
  .an-short { display: inline; }
  .s-head { top: 48px; }
  .s-head-row { height: 56px; }
  .wordmark { font-size: 29px; }
  .icon-btn { width: 44px; height: 44px; }

  /* switcher becomes a bottom sheet */
  .dc-scrim { display: block; position: fixed; inset: 0; z-index: 69; background: rgba(12, 18, 16, .5); opacity: 0; pointer-events: none; transition: opacity .3s; }
  body.sheet-open .dc-scrim { opacity: 1; pointer-events: auto; }
  .demo-ctl { left: 0; right: 0; bottom: 0; z-index: 70; width: auto; max-height: 88vh; overflow-y: auto; padding: 8px 16px calc(18px + env(safe-area-inset-bottom)); border-radius: 22px 22px 0 0; transform: translateY(105%); visibility: hidden; transition: transform .35s cubic-bezier(.2, .8, .2, 1), visibility 0s .35s; }
  body.sheet-open .demo-ctl { transform: none; visibility: visible; transition: transform .35s cubic-bezier(.2, .8, .2, 1); }
  body.is-checkout .demo-ctl { bottom: 0; }
  .dc-grab { display: block; width: 40px; height: 4px; margin: 2px auto 14px; border-radius: 2px; background: rgba(255, 255, 255, .25); }
  .dc-title { display: block; margin: 0 2px 14px; font-size: 21px; font-weight: 700; letter-spacing: -.01em; }
  .dc-label, .dc-hint { display: none; }
  .dc-seg { grid-template-columns: 1fr; gap: 8px; padding: 0; background: none; }
  .dc-seg button { display: grid; grid-template-columns: 44px 1fr 22px; align-items: center; gap: 12px; min-height: 68px; padding: 12px; border: 1px solid rgba(255, 255, 255, .08); border-radius: 16px; background: rgba(255, 255, 255, .05); color: #fff; text-align: left; font-size: 16px; font-weight: 700; }
  .dc-seg button::after { content: ""; width: 22px; height: 22px; border-radius: 50%; border: 1.5px solid rgba(255, 255, 255, .25); }
  .dc-seg button[aria-selected="true"] { background: rgba(43, 164, 132, .16); border-color: #2ba484; color: #fff; }
  .dc-seg button[aria-selected="true"]::after { content: "✓"; display: grid; place-items: center; border: 0; background: #2ba484; color: #0d1613; font-size: 13px; font-weight: 800; }
  .dc-ic { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 12px; background: rgba(255, 255, 255, .08); }
  .dc-ic svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
  .dc-seg button[aria-selected="true"] .dc-ic { background: #2ba484; color: #0d1613; }
  .dc-txt small { display: block; margin-top: 3px; font-size: 13px; font-weight: 400; line-height: 1.35; color: rgba(238, 244, 241, .66); }
  .dc-foot { display: block; margin: 16px 0 0; text-align: center; font-size: 12px; color: rgba(238, 244, 241, .5); }

  /* confirms a switch and says what changed */
  .toast { display: block; position: fixed; left: 12px; right: 12px; top: 58px; z-index: 55; padding: 12px 14px; border-radius: 14px; background: #121d19; color: rgba(238, 244, 241, .78); font: 13px/1.4 var(--sys); box-shadow: 0 16px 36px -14px rgba(0, 0, 0, .55); opacity: 0; transform: translateY(-10px); pointer-events: none; transition: opacity .25s, transform .3s cubic-bezier(.2, .8, .2, 1); }
  .toast.show { opacity: 1; transform: none; }
  .toast b { display: block; margin-bottom: 2px; color: #2ba484; font-size: 14px; }

  /* shop chips stand in for the desktop nav */
  .m-cats { display: flex; gap: 8px; overflow-x: auto; padding: 12px 16px; scrollbar-width: none; border-bottom: 1px solid var(--line); }
  .m-cats::-webkit-scrollbar { display: none; }
  .m-cats a { flex: none; padding: 8px 14px; border: 1px solid var(--line); border-radius: 999px; font-size: 14px; font-weight: 600; white-space: nowrap; }
  .m-cats a.on { background: var(--ink); border-color: var(--ink); color: #fff; }
  .m-cats .m-join { border-color: var(--sage); color: var(--sage); }

  .s-hero { height: 430px; min-height: 0; }
  .s-hero::after { background: linear-gradient(0deg, rgba(28, 28, 26, .7), rgba(28, 28, 26, 0) 65%); }
  .s-hero-copy { top: auto; bottom: 26px; transform: none; }
  .s-hero h1 { font-size: 40px; margin-bottom: 18px; }
  .s-hero .btn-solid { width: 100%; }
  .p-card { gap: 8px; }
  .p-card .btn-outline { min-height: 42px; }
  .pv-badge { left: 8px; top: 8px; font-size: 11px; padding: 3px 7px; }

  /* price and add-to-cart ride along at the bottom of the product page */
  .pdp-buy { position: sticky; bottom: 0; z-index: 6; margin: 0 -16px; padding: 10px 16px calc(10px + env(safe-area-inset-bottom)); gap: 10px; background: rgba(255, 255, 255, .96); backdrop-filter: blur(8px); box-shadow: 0 -8px 20px -14px rgba(0, 0, 0, .35); }
  .pdp-buy .qty { flex: none; }
  .pdp-buy .btn-solid { flex: 1; padding: 0 12px; }

  .grid.rail { display: flex; gap: 12px; overflow-x: auto; scroll-snap-type: x mandatory; scroll-padding: 0 16px; margin: 0 -16px; padding: 0 16px 6px; scrollbar-width: none; }
  .grid.rail::-webkit-scrollbar { display: none; }
  .grid.rail .p-card { flex: 0 0 62%; scroll-snap-align: start; }

  .dr-foot { padding-bottom: calc(20px + env(safe-area-inset-bottom)); }
  .dr-lines li { grid-template-columns: 64px 1fr auto; gap: 12px; }
  .dr-lines img { width: 64px; height: 64px; }

  /* checkout: the pay button stays reachable */
  .co-main > .co-pay { position: sticky; bottom: calc(10px + env(safe-area-inset-bottom)); z-index: 6; box-shadow: 0 12px 28px -10px rgba(0, 0, 0, .55); }
}
@keyframes dbPulse { 0% { box-shadow: 0 0 0 0 rgba(43, 164, 132, .55); } 100% { box-shadow: 0 0 0 10px rgba(43, 164, 132, 0); } }
@media (prefers-reduced-motion: reduce) {
  .db-mode { animation: none; }
  .demo-ctl, .dc-scrim, .toast { transition: none; }
}
