
/* Native hidden state must override component display rules. */
[hidden] { display: none !important; }
:root {
  --ink: #10201f;
  --ink-2: #263735;
  --muted: #6f7d78;
  --paper: #f5f3ec;
  --paper-2: #ebe9e0;
  --white: #fffefa;
  --line: rgba(16, 32, 31, .14);
  --deep: #0b1718;
  --deep-2: #102627;
  --teal: #1f716c;
  --teal-light: #9ed4c7;
  --acid: #d8f36b;
  --orange: #dc7752;
  --blue: #7b9fc8;
  --violet: #a994bd;
  --shadow: 0 24px 70px rgba(15, 31, 29, .12);
  --radius: 22px;
  --shell: min(1240px, calc(100vw - 48px));
  color-scheme: light;
  font-family: Inter, Aptos, "Segoe UI", Helvetica, Arial, sans-serif;
  font-synthesis: none;
  background: var(--paper);
  color: var(--ink);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 110px;
}

body {
  margin: 0;
  min-width: 320px;
  background: var(--paper);
  color: var(--ink);
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}

body.drawer-open,
body:has(dialog[open]) {
  overflow: hidden;
}

button,
input,
select,
textarea {
  font: inherit;
}

button,
a {
  -webkit-tap-highlight-color: transparent;
}

button {
  color: inherit;
}

a {
  color: inherit;
  text-decoration: none;
}

img,
svg {
  display: block;
}

button:focus-visible,
a:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible {
  outline: 3px solid var(--orange);
  outline-offset: 3px;
}

.shell {
  width: var(--shell);
  margin-inline: auto;
}

.visually-hidden {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  padding: 0 !important;
  margin: -1px !important;
  overflow: hidden !important;
  clip: rect(0, 0, 0, 0) !important;
  white-space: nowrap !important;
  border: 0 !important;
}

.skip-link {
  position: fixed;
  left: 1rem;
  top: -5rem;
  z-index: 500;
  padding: .8rem 1rem;
  border-radius: 10px;
  background: var(--white);
  box-shadow: var(--shadow);
}

.skip-link:focus {
  top: 1rem;
}

.announcement {
  min-height: 34px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: .55rem .7rem;
  padding: .45rem 1rem;
  background: var(--acid);
  color: var(--deep);
  font-size: .73rem;
  letter-spacing: .055em;
  text-transform: uppercase;
}

.uk-flag {
  width: 22px;
  height: 11px;
  flex: 0 0 auto;
  overflow: hidden;
  border-radius: 1px;
  box-shadow: 0 0 0 1px rgba(11, 23, 24, .2);
}

.uk-flag svg {
  width: 100%;
  height: 100%;
}

.announcement strong {
  font-weight: 800;
}

.announcement-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--teal);
  box-shadow: 0 0 0 4px rgba(31, 113, 108, .14);
}

.announcement-divider {
  width: 1px;
  height: 12px;
  background: rgba(11, 23, 24, .28);
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  border-bottom: 1px solid var(--line);
  background: rgba(245, 243, 236, .9);
  backdrop-filter: blur(18px);
}

.header-inner {
  min-height: 78px;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 2rem;
}

.brand {
  width: max-content;
  display: inline-flex;
  align-items: center;
  gap: .75rem;
}

.brand-mark {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--deep);
  color: var(--acid);
  font-size: .82rem;
  font-weight: 800;
  letter-spacing: -.03em;
}

.brand-name {
  font-size: .78rem;
  font-weight: 800;
  line-height: .95;
  letter-spacing: .075em;
  text-transform: uppercase;
}

.desktop-nav {
  display: flex;
  align-items: center;
  gap: 2rem;
  color: var(--ink-2);
  font-size: .84rem;
  font-weight: 650;
}

.desktop-nav a {
  position: relative;
  padding-block: .8rem;
}

.desktop-nav a::after {
  content: "";
  position: absolute;
  left: 0;
  right: 100%;
  bottom: .45rem;
  height: 1px;
  background: var(--ink);
  transition: right .22s ease;
}

.desktop-nav a:hover::after {
  right: 0;
}

.header-actions {
  justify-self: end;
  display: flex;
  align-items: center;
  gap: .5rem;
}

.icon-button,
.account-button,
.basket-button {
  min-height: 42px;
  border: 1px solid var(--line);
  background: transparent;
  cursor: pointer;
}

.icon-button {
  width: 42px;
  display: grid;
  place-items: center;
  border-radius: 50%;
}

.icon-button svg,
.search-field svg {
  width: 18px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
}

.account-button,
.basket-button {
  display: inline-flex;
  align-items: center;
  gap: .6rem;
  padding: 0 .9rem;
  border-radius: 999px;
  font-size: .8rem;
  font-weight: 700;
}

.account-dot {
  width: 8px;
  height: 8px;
  border: 1.5px solid currentColor;
  border-radius: 50%;
}

.account-button.authenticated .account-dot {
  border-color: var(--teal);
  background: var(--teal);
  box-shadow: 0 0 0 4px rgba(31, 113, 108, .12);
}

.basket-button {
  border-color: var(--deep);
  background: var(--deep);
  color: var(--white);
}

.basket-count {
  min-width: 23px;
  height: 23px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--acid);
  color: var(--deep);
  font-size: .7rem;
}

.hero {
  position: relative;
  overflow: hidden;
  background: var(--deep);
  color: var(--white);
}

.hero::before {
  content: "";
  position: absolute;
  width: 660px;
  height: 660px;
  left: -330px;
  bottom: -420px;
  border: 1px solid rgba(216, 243, 107, .15);
  border-radius: 50%;
  box-shadow: 0 0 0 100px rgba(216, 243, 107, .025), 0 0 0 200px rgba(216, 243, 107, .018);
}

.hero-grid {
  min-height: 720px;
  display: grid;
  grid-template-columns: 1.03fr .97fr;
  align-items: center;
  gap: clamp(2rem, 7vw, 7rem);
  padding-block: clamp(5rem, 9vw, 8rem);
}

.eyebrow {
  margin: 0 0 1.1rem;
  color: var(--teal);
  font-size: .7rem;
  font-weight: 800;
  letter-spacing: .16em;
  text-transform: uppercase;
}

.eyebrow.light {
  color: var(--acid);
}

.hero h1,
.section-heading h2,
.standards-copy h2,
.tracker-intro h2,
.account-cta h2,
.modal h2 {
  margin: 0;
  font-family: Georgia, "Times New Roman", serif;
  font-weight: 400;
  letter-spacing: -.055em;
}

.hero h1 {
  max-width: 720px;
  font-size: clamp(4.1rem, 7.2vw, 7.2rem);
  line-height: .83;
}

.hero h1 em,
.account-cta h2 em {
  color: var(--teal-light);
  font-weight: 400;
}

.hero-lede {
  max-width: 590px;
  margin: 2rem 0 0;
  color: rgba(255, 254, 250, .68);
  font-size: clamp(1rem, 1.6vw, 1.22rem);
  line-height: 1.7;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: .75rem;
  margin-top: 2.3rem;
}

.button {
  min-height: 50px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .6rem;
  padding: .8rem 1.25rem;
  border: 1px solid transparent;
  border-radius: 999px;
  cursor: pointer;
  font-size: .82rem;
  font-weight: 800;
  letter-spacing: .01em;
  transition: transform .18s ease, background .18s ease, color .18s ease;
}

.button:hover {
  transform: translateY(-2px);
}

.button:disabled {
  cursor: wait;
  opacity: .6;
  transform: none;
}

.button-accent {
  background: var(--acid);
  color: var(--deep);
}

.button-accent:hover {
  background: #e7ff86;
}

.button-dark {
  background: var(--deep);
  color: var(--white);
}

.button-dark:hover {
  background: var(--teal);
}

.button-ghost-light {
  border-color: rgba(255, 255, 255, .24);
  color: var(--white);
}

.button-ghost-light:hover {
  border-color: rgba(255, 255, 255, .5);
  background: rgba(255, 255, 255, .08);
}

.full-width {
  width: 100%;
}

.hero-meta {
  max-width: 630px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  margin-top: 4rem;
  padding-top: 1.3rem;
  border-top: 1px solid rgba(255, 255, 255, .13);
}

.hero-meta div {
  display: grid;
  gap: .18rem;
}

.hero-meta strong {
  font-family: Georgia, serif;
  color: var(--acid);
  font-size: 1.5rem;
  font-weight: 400;
}

.hero-meta span {
  color: rgba(255, 255, 255, .48);
  font-size: .65rem;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.hero-visual {
  position: relative;
  height: 570px;
  display: grid;
  place-items: center;
}

.hero-visual::before,
.hero-visual::after {
  content: "";
  position: absolute;
  border-radius: 50%;
}

.hero-visual::before {
  width: min(42vw, 510px);
  height: min(42vw, 510px);
  border: 1px solid rgba(158, 212, 199, .24);
  box-shadow: inset 0 0 100px rgba(31, 113, 108, .18);
}

.hero-visual::after {
  width: min(31vw, 375px);
  height: min(31vw, 375px);
  border: 1px dashed rgba(216, 243, 107, .2);
  animation: slow-spin 30s linear infinite;
}

@keyframes slow-spin {
  to { transform: rotate(360deg); }
}

.hero-card {
  position: absolute;
  z-index: 2;
  border: 1px solid rgba(255, 255, 255, .16);
  background: rgba(17, 40, 40, .86);
  box-shadow: 0 36px 100px rgba(0, 0, 0, .28);
  backdrop-filter: blur(14px);
}

.hero-card-main {
  width: min(340px, 73vw);
  min-height: 420px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 2rem;
  border-radius: 28px;
  transform: rotate(3deg);
}

.specimen-kicker {
  position: absolute;
  top: 1.2rem;
  left: 1.2rem;
  color: rgba(255, 255, 255, .46);
  font-size: .57rem;
  letter-spacing: .15em;
  text-transform: uppercase;
}

.vial-illustration {
  position: relative;
  width: 125px;
  height: 210px;
  filter: drop-shadow(0 26px 28px rgba(0, 0, 0, .26));
}

.vial-cap,
.vial-body {
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
}

.vial-cap {
  top: 0;
  width: 88px;
  height: 43px;
  border: 1px solid rgba(255, 255, 255, .35);
  border-radius: 12px 12px 7px 7px;
  background: repeating-linear-gradient(90deg, #dfe4dd 0 5px, #bdc5bd 5px 7px);
}

.vial-body {
  bottom: 0;
  width: 118px;
  height: 174px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(255, 255, 255, .42);
  border-radius: 15px 15px 28px 28px;
  background: linear-gradient(90deg, rgba(255, 255, 255, .25), rgba(255, 255, 255, .08) 22%, rgba(255, 255, 255, .16) 70%, rgba(255, 255, 255, .3));
  color: var(--deep);
  overflow: hidden;
}

.vial-body::before {
  content: "";
  position: absolute;
  inset: 65px 0 20px;
  background: var(--acid);
}

.vial-body b,
.vial-body small {
  position: relative;
  z-index: 1;
}

.vial-body b {
  font-family: Georgia, serif;
  font-size: 2.2rem;
  font-weight: 400;
}

.vial-body small {
  font-size: .48rem;
  font-weight: 800;
  letter-spacing: .14em;
}

.hero-card-copy {
  width: 100%;
  display: grid;
  gap: .25rem;
  margin-top: 1.3rem;
  color: rgba(255, 255, 255, .5);
  font-size: .6rem;
  letter-spacing: .1em;
  text-transform: uppercase;
}

.hero-card-copy strong {
  color: var(--white);
  font-size: .72rem;
}

.mini-card {
  width: 96px;
  height: 96px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
}

.mini-card span {
  font-size: .52rem;
  letter-spacing: .15em;
}

.mini-card b {
  color: var(--acid);
  font-family: Georgia, serif;
  font-size: 1.6rem;
  font-weight: 400;
}

.mini-card-a {
  top: 65px;
  right: 8px;
}

.mini-card-b {
  bottom: 58px;
  left: 0;
}

.orbit-label {
  position: absolute;
  z-index: 3;
  right: -60px;
  bottom: 160px;
  color: rgba(255, 255, 255, .35);
  font-size: .55rem;
  letter-spacing: .2em;
  transform: rotate(90deg);
}

.molecule {
  position: absolute;
  z-index: 1;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--acid);
  box-shadow: 32px 17px 0 -3px var(--teal-light), 67px -8px 0 -1px var(--orange);
}

.molecule::before,
.molecule::after {
  content: "";
  position: absolute;
  top: 7px;
  left: 8px;
  width: 30px;
  height: 1px;
  background: rgba(255, 255, 255, .32);
  transform: rotate(28deg);
  transform-origin: left;
}

.molecule::after {
  width: 59px;
  transform: rotate(-8deg);
}

.molecule-one {
  top: 34px;
  left: 35px;
}

.molecule-two {
  right: 100px;
  bottom: 50px;
  transform: rotate(125deg) scale(.8);
}

.category-section,
.catalogue-section,
.tracker-section {
  padding-block: clamp(5.5rem, 10vw, 9rem);
}

.section-heading {
  margin-bottom: 3rem;
}

.section-heading h2,
.tracker-intro h2 {
  font-size: clamp(3.1rem, 5vw, 5.4rem);
  line-height: .95;
}

.split-heading {
  display: grid;
  grid-template-columns: 1fr minmax(260px, 430px);
  align-items: end;
  gap: 4rem;
}

.split-heading > p {
  margin: 0 0 .45rem;
  color: var(--muted);
  line-height: 1.75;
}

.category-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  border-top: 1px solid var(--line);
  border-left: 1px solid var(--line);
}

.category-card {
  position: relative;
  min-height: 285px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: flex-end;
  padding: 1.25rem;
  border: 0;
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: transparent;
  text-align: left;
  cursor: pointer;
  overflow: hidden;
  transition: background .2s ease;
}

.category-card:hover {
  background: var(--white);
}

.category-index {
  position: absolute;
  top: 1.1rem;
  left: 1.2rem;
  color: var(--muted);
  font-size: .63rem;
  letter-spacing: .12em;
}

.category-orb {
  position: absolute;
  top: 42px;
  left: 50%;
  width: 115px;
  height: 115px;
  border-radius: 50%;
  transform: translateX(-50%);
  transition: transform .3s ease;
}

.category-card:hover .category-orb {
  transform: translateX(-50%) scale(1.07);
}

.orb-glp { background: radial-gradient(circle at 33% 28%, #d5f4ed, #3e8b84 66%, #1d5350); box-shadow: inset -18px -18px 35px rgba(0,0,0,.12); }
.orb-growth { background: conic-gradient(from 120deg, #d8f36b, #7a9d49, #d8f36b); clip-path: polygon(50% 0, 95% 28%, 82% 82%, 30% 100%, 0 54%); }
.orb-recovery { border-radius: 30% 70% 62% 38% / 44% 35% 65% 56%; background: linear-gradient(135deg, #e4a88e, #b54e39); box-shadow: inset 20px 10px 30px rgba(255,255,255,.22); }
.orb-performance { background: radial-gradient(circle at 70% 25%, #cadbed, #6280a3 60%, #31475f); box-shadow: 18px 8px 0 -7px var(--paper), 24px 10px 0 -7px #668aa5; }
.orb-cognitive { background: repeating-radial-gradient(circle at 35% 35%, #cdbdde 0 8px, #927ca7 9px 15px); box-shadow: inset 0 0 40px rgba(60, 38, 70, .25); }

.category-card strong {
  position: relative;
  z-index: 1;
  font-family: Georgia, serif;
  font-size: 1.22rem;
  font-weight: 400;
}

.category-card > span:last-of-type {
  position: relative;
  z-index: 1;
  margin-top: .15rem;
  color: var(--muted);
  font-size: .7rem;
}

.category-card i {
  position: absolute;
  right: 1.1rem;
  bottom: 1.15rem;
  font-style: normal;
}

.catalogue-section {
  background: var(--white);
}

.catalogue-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 2rem;
}

.catalogue-tools {
  display: flex;
  gap: .6rem;
}

.search-field {
  min-width: 285px;
  display: flex;
  align-items: center;
  gap: .7rem;
  padding-inline: 1rem;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--paper);
}

.search-field input,
.sort-field select {
  min-height: 46px;
  border: 0;
  outline: 0;
  background: transparent;
  color: var(--ink);
}

.search-field input {
  width: 100%;
}

.search-field:focus-within,
.sort-field:focus-within {
  border-color: var(--teal);
  box-shadow: 0 0 0 3px rgba(31, 113, 108, .1);
}

.sort-field {
  display: flex;
  align-items: center;
  padding-inline: .7rem;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--paper);
}

.filter-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: .5rem;
  margin-bottom: 2rem;
}

.filter-chip {
  min-height: 40px;
  padding: .55rem 1rem;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: transparent;
  cursor: pointer;
  color: var(--muted);
  font-size: .75rem;
  font-weight: 700;
}

.filter-chip:hover,
.filter-chip.active {
  border-color: var(--deep);
  background: var(--deep);
  color: var(--white);
}

.result-count {
  margin-left: auto;
  color: var(--muted);
  font-size: .72rem;
}

.product-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
}

.product-card {
  min-width: 0;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: var(--white);
  overflow: hidden;
  transition: transform .2s ease, box-shadow .2s ease;
}

.product-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow);
}

.product-art {
  position: relative;
  height: 255px;
  display: grid;
  place-items: center;
  background: var(--paper-2);
  overflow: hidden;
}

.product-art::before {
  content: "";
  position: absolute;
  width: 190px;
  height: 190px;
  border-radius: 50%;
  opacity: .9;
  filter: blur(.1px);
}

.product-art.cat-glp::before { background: radial-gradient(circle at 30% 25%, #d3f2e7, #5b9a90 66%, #2d6661); }
.product-art.cat-growth::before { background: radial-gradient(circle at 30% 25%, #eff9bd, #a3bd50 67%, #6d8039); }
.product-art.cat-recovery::before { background: radial-gradient(circle at 30% 25%, #f6c6b3, #d87855 67%, #994834); }
.product-art.cat-performance::before { background: radial-gradient(circle at 30% 25%, #d6e2ef, #819eba 67%, #4b6682); }
.product-art.cat-cognitive::before { background: radial-gradient(circle at 30% 25%, #e0d3eb, #ab91ba 67%, #765c87); }

.product-index {
  position: absolute;
  top: .9rem;
  left: 1rem;
  z-index: 2;
  color: rgba(16, 32, 31, .58);
  font-size: .6rem;
  letter-spacing: .12em;
}

.quick-add {
  position: absolute;
  top: .8rem;
  right: .8rem;
  z-index: 3;
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(16, 32, 31, .2);
  border-radius: 50%;
  background: rgba(255, 254, 250, .78);
  cursor: pointer;
  font-size: 1.25rem;
  transition: background .18s ease, color .18s ease, transform .18s ease;
}

.quick-add:hover {
  background: var(--deep);
  color: var(--white);
  transform: rotate(90deg);
}

.micro-vial {
  position: relative;
  z-index: 2;
  width: 86px;
  height: 145px;
  margin-top: 12px;
  filter: drop-shadow(0 20px 18px rgba(20, 40, 38, .2));
}

.micro-vial::before {
  content: "";
  position: absolute;
  top: 0;
  left: 12px;
  right: 12px;
  height: 32px;
  border: 1px solid rgba(16, 32, 31, .25);
  border-radius: 7px 7px 4px 4px;
  background: repeating-linear-gradient(90deg, #edf0e9 0 4px, #bfc7be 4px 6px);
}

.micro-vial::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 119px;
  border: 1px solid rgba(16, 32, 31, .25);
  border-radius: 10px 10px 20px 20px;
  background: linear-gradient(90deg, rgba(255,255,255,.55), rgba(255,255,255,.2), rgba(255,255,255,.47));
}

.micro-label {
  position: absolute;
  z-index: 3;
  left: 0;
  right: 0;
  top: 67px;
  display: grid;
  place-items: center;
  height: 48px;
  background: var(--white);
  font-family: Georgia, serif;
  font-size: 1rem;
}

.product-content {
  padding: 1.15rem;
}

.product-tag {
  display: inline-flex;
  margin-bottom: .7rem;
  color: var(--teal);
  font-size: .58rem;
  font-weight: 800;
  letter-spacing: .12em;
  text-transform: uppercase;
}

.product-content h3 {
  min-height: 2.5em;
  margin: 0;
  font-family: Georgia, serif;
  font-size: 1.25rem;
  font-weight: 400;
  line-height: 1.12;
}

.product-presentation {
  margin: .45rem 0 .9rem;
  color: var(--muted);
  font-size: .72rem;
}

.product-status {
  display: flex;
  align-items: center;
  gap: .4rem;
  padding-block: .7rem;
  border-block: 1px solid var(--line);
  color: var(--muted);
  font-size: .65rem;
}

.product-status::before {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--teal);
}

.product-footer {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 1rem;
  padding-top: .9rem;
}

.product-price {
  display: grid;
  color: var(--muted);
  font-size: .6rem;
}

.product-price strong {
  color: var(--ink);
  font-family: Georgia, serif;
  font-size: 1.35rem;
  font-weight: 400;
}

.view-product {
  border: 0;
  border-bottom: 1px solid var(--ink);
  background: transparent;
  cursor: pointer;
  padding: .2rem 0;
  font-size: .68rem;
  font-weight: 750;
}

.skeleton-card {
  height: 470px;
  border-radius: 18px;
  background: linear-gradient(100deg, #efede7 20%, #f9f8f4 45%, #efede7 70%);
  background-size: 250% 100%;
  animation: skeleton 1.2s ease-in-out infinite;
}

@keyframes skeleton {
  to { background-position-x: -250%; }
}

.empty-state {
  padding: 4rem 1rem;
  border: 1px dashed var(--line);
  border-radius: var(--radius);
  text-align: center;
}

.empty-state strong {
  font-family: Georgia, serif;
  font-size: 1.5rem;
  font-weight: 400;
}

.empty-state p {
  margin: .4rem 0 1rem;
  color: var(--muted);
}

.empty-state.compact {
  padding: 2.5rem 1rem;
}

.text-button {
  border: 0;
  border-bottom: 1px solid currentColor;
  background: transparent;
  cursor: pointer;
  padding: .25rem 0;
  color: var(--teal);
  font-size: .78rem;
  font-weight: 800;
}

.text-button.danger {
  color: #aa3e35;
}

.reconstitute-section {
  padding-block: clamp(5rem, 9vw, 8rem);
  background: var(--paper-2);
  border-top: 1px solid var(--line);
}

.reconstitute-grid {
  display: grid;
  grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr);
  gap: clamp(2.4rem, 6vw, 5.5rem);
  align-items: center;
}

.reconstitute-copy h2 {
  font-size: clamp(3.2rem, 5vw, 5.2rem);
  line-height: .95;
}

.reconstitute-copy > p:not(.eyebrow) {
  max-width: 520px;
  margin: 1.2rem 0 0;
  color: var(--muted);
  line-height: 1.8;
}

.arrow-link.dark {
  border-bottom-color: var(--ink);
  color: var(--ink);
}

.arrow-link.dark span {
  color: var(--teal);
}

.reconstitute-video {
  margin: 0;
}

.video-frame {
  position: relative;
  overflow: hidden;
  aspect-ratio: 16 / 9;
  border-radius: calc(var(--radius) - 4px);
  background: var(--deep);
  box-shadow: var(--shadow);
}

.video-frame iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

.reconstitute-video figcaption {
  margin-top: .85rem;
  color: var(--muted);
  font-size: .78rem;
}

.standards-section {
  padding-block: clamp(5.5rem, 10vw, 9rem);
  background: var(--deep);
  color: var(--white);
}

.standards-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(4rem, 10vw, 10rem);
  align-items: center;
}

.standards-copy h2 {
  font-size: clamp(3.2rem, 5vw, 5.2rem);
  line-height: .95;
}

.standards-copy > p:not(.eyebrow) {
  max-width: 520px;
  margin: 1.8rem 0 0;
  color: rgba(255, 255, 255, .57);
  line-height: 1.8;
}

.arrow-link {
  display: inline-flex;
  align-items: center;
  gap: .8rem;
  margin-top: 2rem;
  padding-bottom: .35rem;
  border-bottom: 1px solid rgba(255,255,255,.4);
  font-size: .8rem;
  font-weight: 800;
}

.arrow-link span {
  color: var(--acid);
}

.standard-list {
  border-top: 1px solid rgba(255, 255, 255, .16);
}

.standard-list article {
  display: grid;
  grid-template-columns: 44px 1fr;
  gap: 1rem;
  padding: 1.65rem 0;
  border-bottom: 1px solid rgba(255, 255, 255, .16);
}

.standard-list article > span {
  color: var(--acid);
  font-family: Georgia, serif;
  font-size: 1.2rem;
}

.standard-list h3 {
  margin: 0 0 .3rem;
  font-family: Georgia, serif;
  font-size: 1.3rem;
  font-weight: 400;
}

.standard-list p {
  margin: 0;
  color: rgba(255, 255, 255, .5);
  font-size: .82rem;
  line-height: 1.7;
}

.tracker-intro {
  display: grid;
  grid-template-columns: 1fr minmax(300px, 520px);
  align-items: end;
  gap: 3rem;
  margin-bottom: 3rem;
}

.tracker-intro > p {
  margin: 0 0 .45rem;
  color: var(--muted);
  line-height: 1.8;
}

.tracker-guest {
  display: grid;
  grid-template-columns: 1.1fr .9fr;
  min-height: 440px;
  border: 1px solid var(--line);
  border-radius: 28px;
  background: var(--white);
  overflow: hidden;
}

.tracker-preview-card {
  align-self: center;
  width: min(520px, calc(100% - 4rem));
  margin: 2rem auto;
  padding: 1.8rem;
  border-radius: 22px;
  background: var(--deep);
  box-shadow: 0 25px 80px rgba(12, 28, 28, .22);
  color: var(--white);
}

.preview-topline {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 1.5rem;
  color: var(--acid);
  font-size: .72rem;
  font-weight: 800;
  letter-spacing: .1em;
  text-transform: uppercase;
}

.preview-entry {
  display: grid;
  grid-template-columns: 50px 1fr 36px;
  align-items: center;
  gap: 1rem;
  padding: 1.1rem 0;
  border-top: 1px solid rgba(255,255,255,.12);
}

.preview-entry.muted {
  opacity: .52;
}

.entry-time {
  color: var(--teal-light);
  font-family: Georgia, serif;
}

.preview-entry div {
  display: grid;
  gap: .2rem;
}

.preview-entry strong {
  font-family: Georgia, serif;
  font-size: 1.05rem;
  font-weight: 400;
}

.preview-entry div span {
  color: rgba(255,255,255,.48);
  font-size: .68rem;
}

.preview-check {
  width: 32px;
  height: 32px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(255,255,255,.22);
  border-radius: 50%;
  color: var(--acid);
}

.tracker-guest-copy {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  padding: clamp(2rem, 6vw, 5rem);
  background: var(--paper-2);
}

.privacy-pill {
  display: inline-flex;
  padding: .4rem .7rem;
  border: 1px solid rgba(31, 113, 108, .25);
  border-radius: 999px;
  color: var(--teal);
  font-size: .62rem;
  font-weight: 800;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.tracker-guest-copy h3 {
  margin: 1.2rem 0 .7rem;
  font-family: Georgia, serif;
  font-size: clamp(2.3rem, 4vw, 3.7rem);
  font-weight: 400;
  letter-spacing: -.045em;
  line-height: 1;
}

.tracker-guest-copy p {
  margin: 0 0 1.6rem;
  color: var(--muted);
  line-height: 1.8;
}

.tracker-dashboard {
  padding: clamp(1.2rem, 3vw, 2rem);
  border: 1px solid var(--line);
  border-radius: 24px;
  background: var(--white);
}

.tracker-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 1.5rem;
}

.tracker-tabs {
  display: flex;
  gap: .35rem;
  padding: .3rem;
  border-radius: 999px;
  background: var(--paper);
}

.tracker-tab {
  min-height: 40px;
  padding: .5rem 1rem;
  border: 0;
  border-radius: 999px;
  background: transparent;
  cursor: pointer;
  color: var(--muted);
  font-size: .75rem;
  font-weight: 800;
}

.tracker-tab.active {
  background: var(--deep);
  color: var(--white);
}

.tracker-summary {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: .8rem;
  margin-bottom: 1rem;
}

.summary-card {
  padding: 1.1rem;
  border-radius: 14px;
  background: var(--paper);
}

.summary-card span {
  display: block;
  color: var(--muted);
  font-size: .63rem;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.summary-card strong {
  font-family: Georgia, serif;
  font-size: 1.5rem;
  font-weight: 400;
}

.schedule-list,
.history-list {
  display: grid;
  gap: .65rem;
}

.schedule-row {
  display: grid;
  grid-template-columns: minmax(190px, 1.2fr) minmax(150px, 1fr) minmax(110px, .6fr) auto;
  align-items: center;
  gap: 1rem;
  padding: 1.05rem;
  border: 1px solid var(--line);
  border-radius: 14px;
}

.schedule-row.inactive {
  opacity: .52;
}

.schedule-identity {
  display: grid;
  gap: .12rem;
}

.schedule-identity strong {
  font-family: Georgia, serif;
  font-size: 1.08rem;
  font-weight: 400;
}

.schedule-identity span,
.schedule-detail span,
.schedule-inventory span {
  color: var(--muted);
  font-size: .68rem;
}

.schedule-detail,
.schedule-inventory {
  display: grid;
  gap: .12rem;
}

.schedule-detail strong,
.schedule-inventory strong {
  font-size: .78rem;
}

.schedule-actions {
  display: flex;
  align-items: center;
  gap: .4rem;
}

.small-button {
  min-height: 38px;
  padding: .45rem .8rem;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: transparent;
  cursor: pointer;
  font-size: .67rem;
  font-weight: 800;
}

.small-button.complete {
  border-color: var(--teal);
  background: var(--teal);
  color: var(--white);
}

.small-button:hover {
  border-color: var(--deep);
}

.menu-button {
  width: 38px;
  height: 38px;
  border: 1px solid var(--line);
  border-radius: 50%;
  background: transparent;
  cursor: pointer;
}

.history-row {
  display: grid;
  grid-template-columns: 110px 1fr auto;
  align-items: center;
  gap: 1rem;
  padding: 1rem;
  border-bottom: 1px solid var(--line);
}

.history-row time {
  color: var(--muted);
  font-size: .7rem;
}

.history-row div {
  display: grid;
  gap: .1rem;
}

.history-row strong {
  font-family: Georgia, serif;
  font-size: 1rem;
  font-weight: 400;
}

.history-row span {
  color: var(--muted);
  font-size: .68rem;
}

.status-badge {
  padding: .35rem .55rem;
  border-radius: 999px;
  background: rgba(31, 113, 108, .11);
  color: var(--teal);
  font-size: .6rem;
  font-weight: 800;
  text-transform: uppercase;
}

.status-badge.skipped {
  background: rgba(220, 119, 82, .12);
  color: #a24f34;
}

.account-cta {
  padding-block: clamp(4rem, 8vw, 7rem);
  background: var(--teal);
  color: var(--white);
}

.account-cta-inner {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 2rem;
}

.account-cta h2 {
  font-size: clamp(3rem, 5vw, 5rem);
  line-height: .94;
}

.account-cta h2 em {
  color: var(--acid);
}

.site-footer {
  padding: 4rem 0 5.5rem;
  background: var(--deep);
  color: var(--white);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.6fr repeat(3, 1fr);
  gap: 3rem;
}

.footer-logo .brand-mark {
  background: var(--acid);
  color: var(--deep);
}

.footer-brand p {
  max-width: 250px;
  margin: 1rem 0 0;
  color: rgba(255,255,255,.45);
  font-size: .78rem;
}

.footer-grid > div:not(.footer-brand) {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: .65rem;
}

.footer-grid > div > strong {
  margin-bottom: .35rem;
  color: var(--acid);
  font-size: .66rem;
  letter-spacing: .12em;
  text-transform: uppercase;
}

.footer-grid a,
.footer-link {
  border: 0;
  background: transparent;
  color: rgba(255,255,255,.62);
  cursor: pointer;
  padding: 0;
  font-size: .78rem;
}

.footer-grid a:hover,
.footer-link:hover {
  color: var(--white);
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  margin-top: 3.5rem;
  padding-top: 1.2rem;
  border-top: 1px solid rgba(255,255,255,.12);
  color: rgba(255,255,255,.35);
  font-size: .62rem;
}

.mobile-nav {
  display: none;
}

.drawer-layer {
  position: fixed;
  inset: 0;
  z-index: 300;
}

.drawer-backdrop {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
  background: rgba(5, 14, 14, .58);
  backdrop-filter: blur(3px);
  cursor: default;
}

.cart-drawer {
  position: absolute;
  top: 0;
  right: 0;
  width: min(460px, 100vw);
  height: 100%;
  display: flex;
  flex-direction: column;
  padding: 1.5rem;
  background: var(--white);
  box-shadow: -30px 0 80px rgba(0,0,0,.18);
  animation: drawer-in .25s ease-out;
}

@keyframes drawer-in {
  from { transform: translateX(100%); }
}

.drawer-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  padding-bottom: 1rem;
  border-bottom: 1px solid var(--line);
}

.drawer-header .eyebrow {
  margin-bottom: .3rem;
}

.drawer-header h2 {
  margin: 0;
  font-family: Georgia, serif;
  font-size: 2.4rem;
  font-weight: 400;
}

.close-button {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: 50%;
  background: transparent;
  cursor: pointer;
  font-size: 1.5rem;
  line-height: 1;
}

.cart-items {
  flex: 1;
  overflow-y: auto;
}

.cart-item {
  display: grid;
  grid-template-columns: 70px 1fr auto;
  gap: .8rem;
  padding-block: 1rem;
  border-bottom: 1px solid var(--line);
}

.cart-item-art {
  width: 70px;
  height: 78px;
  display: grid;
  place-items: center;
  border-radius: 12px;
  background: var(--paper-2);
  color: var(--teal);
  font-family: Georgia, serif;
  font-size: 1.2rem;
}

.cart-item-copy {
  display: grid;
  align-content: center;
  gap: .2rem;
}

.cart-item-copy strong {
  font-family: Georgia, serif;
  font-size: 1rem;
  font-weight: 400;
}

.cart-item-copy > span {
  color: var(--muted);
  font-size: .65rem;
}

.quantity-control {
  width: max-content;
  display: flex;
  align-items: center;
  margin-top: .4rem;
  border: 1px solid var(--line);
  border-radius: 999px;
}

.quantity-control button {
  width: 29px;
  height: 29px;
  border: 0;
  background: transparent;
  cursor: pointer;
}

.quantity-control span {
  min-width: 24px;
  text-align: center;
  font-size: .7rem;
}

.cart-item-side {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  justify-content: space-between;
  font-size: .74rem;
}

.remove-item {
  border: 0;
  background: transparent;
  color: var(--muted);
  cursor: pointer;
  font-size: .66rem;
}

.cart-empty {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 3rem 1rem;
  text-align: center;
}

.cart-empty > span {
  width: 70px;
  height: 70px;
  display: grid;
  place-items: center;
  margin-bottom: 1rem;
  border-radius: 50%;
  background: var(--paper-2);
  color: var(--teal);
  font-family: Georgia, serif;
  font-size: 1.5rem;
}

.cart-empty strong {
  font-family: Georgia, serif;
  font-size: 1.4rem;
  font-weight: 400;
}

.cart-empty p {
  margin: .4rem 0 1.2rem;
  color: var(--muted);
  font-size: .8rem;
}

.cart-footer {
  padding-top: 1rem;
  border-top: 1px solid var(--line);
}

.cart-total-row {
  display: flex;
  justify-content: space-between;
  font-size: .85rem;
}

.cart-total-row strong {
  font-family: Georgia, serif;
  font-size: 1.35rem;
  font-weight: 400;
}

.cart-footer p {
  color: var(--muted);
  font-size: .66rem;
}

.modal {
  width: min(580px, calc(100vw - 32px));
  max-height: min(880px, calc(100vh - 32px));
  padding: clamp(1.5rem, 4vw, 2.5rem);
  border: 0;
  border-radius: 24px;
  background: var(--white);
  color: var(--ink);
  box-shadow: 0 40px 120px rgba(0,0,0,.32);
  overflow-y: auto;
}

.modal::backdrop {
  background: rgba(5, 14, 14, .66);
  backdrop-filter: blur(4px);
}

.modal-close {
  position: absolute;
  top: 1rem;
  right: 1rem;
  z-index: 2;
}

.modal-brand {
  margin-bottom: 1.4rem;
}

.auth-tabs {
  display: grid;
  grid-template-columns: 1fr 1fr;
  margin-bottom: 1.8rem;
  border-bottom: 1px solid var(--line);
}

.auth-tab {
  min-height: 46px;
  border: 0;
  border-bottom: 2px solid transparent;
  background: transparent;
  cursor: pointer;
  color: var(--muted);
  font-size: .78rem;
  font-weight: 800;
}

.auth-tab.active {
  border-bottom-color: var(--teal);
  color: var(--ink);
}

.form-heading {
  margin-bottom: .4rem;
}

.form-heading h2,
.modal > h2,
.checkout-grid h2 {
  font-size: clamp(2.5rem, 6vw, 4rem);
  line-height: .95;
}

.form-heading p,
.modal-lede {
  margin: .7rem 0 0;
  color: var(--muted);
  font-size: .82rem;
  line-height: 1.7;
}

.stack-form {
  display: grid;
  gap: 1rem;
}

.stack-form label {
  display: grid;
  gap: .4rem;
  color: var(--ink-2);
  font-size: .7rem;
  font-weight: 750;
}

.stack-form label > span {
  color: var(--muted);
  font-weight: 500;
}

.stack-form input,
.stack-form select,
.stack-form textarea {
  width: 100%;
  min-height: 48px;
  padding: .75rem .85rem;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: var(--paper);
  color: var(--ink);
  outline: 0;
}

.stack-form textarea {
  min-height: 90px;
  resize: vertical;
}

.stack-form input:focus,
.stack-form select:focus,
.stack-form textarea:focus {
  border-color: var(--teal);
  box-shadow: 0 0 0 3px rgba(31, 113, 108, .1);
}

.stack-form small {
  color: var(--muted);
  font-weight: 500;
}

.stack-form .check-label {
  grid-template-columns: 20px 1fr;
  align-items: start;
  gap: .6rem;
  font-weight: 500;
  line-height: 1.6;
}

.stack-form .check-label input {
  width: 18px;
  min-height: 18px;
  margin: 2px 0 0;
  accent-color: var(--teal);
}

.form-error {
  min-height: 1.2em;
  margin: 0;
  color: #a33d34;
  font-size: .7rem;
}

.compact-form {
  margin-top: 1.5rem;
}

.checkout-account-note {
  margin: 1rem 0 0;
  padding: .75rem .85rem;
  border: 1px solid rgba(31, 113, 108, .2);
  border-radius: 10px;
  background: rgba(31, 113, 108, .06);
  color: var(--ink-2);
  font-size: .68rem;
  font-weight: 650;
  line-height: 1.55;
}

.field-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: .8rem;
}

.field-row.three {
  grid-template-columns: repeat(3, 1fr);
}

.checkout-modal {
  width: min(980px, calc(100vw - 32px));
}

.checkout-grid {
  display: grid;
  grid-template-columns: 1.1fr .9fr;
  gap: 3rem;
}

.checkout-summary {
  align-self: start;
  margin-top: 2.6rem;
  padding: 1.4rem;
  border-radius: 16px;
  background: var(--paper);
}

.checkout-summary h3 {
  margin: 0 0 1rem;
  font-family: Georgia, serif;
  font-size: 1.35rem;
  font-weight: 400;
}

.checkout-item {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  padding: .65rem 0;
  border-bottom: 1px solid var(--line);
  font-size: .7rem;
}

.checkout-item span {
  color: var(--muted);
}

.summary-line {
  display: flex;
  justify-content: space-between;
  padding-top: .8rem;
  font-size: .75rem;
}

.summary-line.total {
  margin-top: .8rem;
  padding-top: 1rem;
  border-top: 1px solid var(--line);
  font-size: 1rem;
}

.summary-line.total strong {
  font-family: Georgia, serif;
  font-size: 1.4rem;
  font-weight: 400;
}

.order-success-modal {
  width: min(520px, calc(100vw - 32px));
  text-align: center;
}

.order-success-modal h2 {
  font-size: clamp(2.5rem, 7vw, 4rem);
  line-height: .95;
}

.success-mark {
  width: 58px;
  height: 58px;
  display: grid;
  place-items: center;
  margin: 0 auto 1.15rem;
  border-radius: 50%;
  background: var(--teal);
  color: var(--white);
  font-size: 1.45rem;
  font-weight: 800;
}

.order-success-modal .eyebrow {
  justify-content: center;
}

.order-success-total {
  margin: 1.5rem 0 0;
  text-align: left;
}

.order-success-note {
  margin: 1.2rem 0 1.5rem;
  color: var(--muted);
  font-size: .72rem;
  line-height: 1.65;
}

.schedule-modal {
  width: min(780px, calc(100vw - 32px));
}

.consent-check {
  padding: .85rem;
  border: 1px solid rgba(31,113,108,.22);
  border-radius: 10px;
  background: rgba(31,113,108,.055);
}

.product-modal {
  width: min(860px, calc(100vw - 32px));
}

.product-detail-grid {
  display: grid;
  grid-template-columns: .85fr 1.15fr;
  gap: 2rem;
}

.product-detail-art {
  min-height: 430px;
  display: grid;
  place-items: center;
  border-radius: 18px;
  background: var(--paper-2);
}

.product-detail-art .micro-vial {
  transform: scale(1.45);
}

.product-detail-copy {
  align-self: center;
}

.product-detail-copy h2 {
  margin-top: .6rem;
  font-size: clamp(2.7rem, 5vw, 4.5rem);
  line-height: .9;
}

.detail-presentation {
  margin: 1rem 0;
  color: var(--muted);
}

.product-detail-copy .arrow-link {
  margin-top: 0;
}

.detail-specs {
  display: grid;
  margin: 1.5rem 0;
  border-top: 1px solid var(--line);
}

.detail-specs div {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  padding: .75rem 0;
  border-bottom: 1px solid var(--line);
  font-size: .72rem;
}

.detail-specs span {
  color: var(--muted);
}

.detail-price {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.detail-price strong {
  font-family: Georgia, serif;
  font-size: 2rem;
  font-weight: 400;
}

.account-header {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding-right: 3rem;
}

.account-avatar {
  flex: 0 0 auto;
  width: 64px;
  height: 64px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--teal);
  color: var(--white);
  font-family: Georgia, serif;
  font-size: 1.2rem;
}

.account-header .eyebrow {
  margin-bottom: .2rem;
}

.account-header h2 {
  font-size: 2.5rem;
  line-height: 1;
}

.account-header p:last-child {
  margin: .25rem 0 0;
  color: var(--muted);
  font-size: .72rem;
}

.account-stats {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: .7rem;
  margin: 1.5rem 0;
}

.account-stats div {
  display: grid;
  padding: 1rem;
  border-radius: 12px;
  background: var(--paper);
}

.account-stats strong {
  font-family: Georgia, serif;
  font-size: 1.6rem;
  font-weight: 400;
}

.account-stats span {
  color: var(--muted);
  font-size: .65rem;
}

.orders-section {
  margin-bottom: 1.5rem;
}

.orders-section h3 {
  margin: 0 0 .7rem;
  font-family: Georgia, serif;
  font-size: 1.2rem;
  font-weight: 400;
}

.order-row {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: .5rem;
  padding: .8rem 0;
  border-top: 1px solid var(--line);
}

.order-row div {
  display: grid;
  gap: .1rem;
}

.order-row strong {
  font-size: .75rem;
}

.order-row span,
.order-row time {
  color: var(--muted);
  font-size: .64rem;
}

.order-row > strong {
  font-family: Georgia, serif;
  font-size: 1rem;
  font-weight: 400;
}

.info-modal {
  width: min(700px, calc(100vw - 32px));
}

.info-content h2 {
  font-size: 3.4rem;
}

.info-content h3 {
  margin: 1.6rem 0 .3rem;
  font-family: Georgia, serif;
  font-weight: 400;
}

.info-content p,
.info-content li {
  color: var(--muted);
  font-size: .8rem;
  line-height: 1.8;
}

.toast-region {
  position: fixed;
  z-index: 500;
  right: 1rem;
  bottom: 1rem;
  display: grid;
  gap: .5rem;
}

.toast {
  width: min(340px, calc(100vw - 2rem));
  padding: .9rem 1rem;
  border: 1px solid rgba(255,255,255,.15);
  border-radius: 12px;
  background: var(--deep);
  box-shadow: 0 18px 50px rgba(0,0,0,.2);
  color: var(--white);
  font-size: .76rem;
  animation: toast-in .2s ease-out;
}

.toast.error {
  background: #6c2925;
}

@keyframes toast-in {
  from { opacity: 0; transform: translateY(8px); }
}

@media (max-width: 1080px) {
  .desktop-nav { display: none; }
  .header-inner { grid-template-columns: 1fr auto; }
  .hero-grid { grid-template-columns: 1fr 420px; gap: 2rem; }
  .hero h1 { font-size: clamp(4rem, 8vw, 6rem); }
  .hero-visual { height: 510px; }
  .hero-card-main { width: 300px; min-height: 390px; }
  .category-grid { grid-template-columns: repeat(3, 1fr); }
  .category-card { min-height: 270px; }
  .product-grid { grid-template-columns: repeat(3, 1fr); }
  .schedule-row { grid-template-columns: 1fr 1fr auto; }
  .schedule-inventory { display: none; }
}

@media (max-width: 820px) {
  :root { --shell: min(100% - 32px, 680px); }
  .announcement { font-size: .6rem; }
  .header-inner { min-height: 68px; }
  .header-actions .icon-button,
  .header-actions .account-button { display: none; }
  .hero-grid { min-height: auto; grid-template-columns: 1fr; padding-block: 5rem 3rem; }
  .hero-copy { position: relative; z-index: 5; }
  .hero h1 { font-size: clamp(4rem, 15vw, 6.5rem); }
  .hero-visual { height: 430px; }
  .hero-visual::before { width: 390px; height: 390px; }
  .hero-visual::after { width: 300px; height: 300px; }
  .split-heading,
  .tracker-intro { grid-template-columns: 1fr; gap: 1.2rem; }
  .category-grid { grid-template-columns: repeat(2, 1fr); }
  .catalogue-heading { align-items: flex-start; flex-direction: column; }
  .catalogue-tools { width: 100%; }
  .search-field { flex: 1; min-width: 0; }
  .product-grid { grid-template-columns: repeat(2, 1fr); }
  .standards-grid,
  .reconstitute-grid { grid-template-columns: 1fr; gap: 4rem; }
  .tracker-guest { grid-template-columns: 1fr; }
  .tracker-preview-card { width: min(520px, calc(100% - 2rem)); }
  .account-cta-inner { align-items: flex-start; flex-direction: column; }
  .footer-grid { grid-template-columns: 1.5fr 1fr 1fr; }
  .footer-grid > div:last-child { grid-column: 2; }
  .checkout-grid,
  .product-detail-grid { grid-template-columns: 1fr; }
  .checkout-summary { margin-top: 0; }
  .product-detail-art { min-height: 300px; }
  .schedule-row { grid-template-columns: 1fr auto; }
  .schedule-detail { display: none; }
}

@media (max-width: 600px) {
  :root { --shell: calc(100% - 24px); }
  html { scroll-padding-top: 82px; }
  body { padding-bottom: 66px; }
  .announcement { font-size: .58rem; letter-spacing: .04em; gap: .4rem .55rem; }
  .uk-flag { width: 18px; height: 9px; }
  .site-header { top: 0; }
  .header-actions .basket-button { display: none; }
  .brand-mark { width: 38px; height: 38px; }
  .hero-grid { padding-block: 4rem 2.5rem; }
  .hero h1 { font-size: clamp(3.7rem, 19vw, 5.3rem); }
  .hero-lede { font-size: .96rem; }
  .hero-actions { align-items: stretch; flex-direction: column; }
  .hero-actions .button { width: 100%; }
  .hero-meta { margin-top: 2.7rem; gap: .7rem; }
  .hero-meta strong { font-size: 1.25rem; }
  .hero-meta span { font-size: .52rem; }
  .hero-visual { height: 370px; }
  .hero-card-main { min-height: 330px; width: 245px; padding: 1.5rem; }
  .vial-illustration { transform: scale(.82); }
  .mini-card { width: 75px; height: 75px; }
  .mini-card-a { top: 22px; right: 0; }
  .mini-card-b { bottom: 30px; left: 0; }
  .orbit-label { display: none; }
  .category-section,
  .catalogue-section,
  .reconstitute-section,
  .tracker-section { padding-block: 4.7rem; }
  .section-heading h2,
  .tracker-intro h2 { font-size: 3.1rem; }
  .category-grid { grid-template-columns: 1fr; }
  .category-card { min-height: 210px; }
  .category-orb { width: 95px; height: 95px; top: 38px; }
  .catalogue-tools { align-items: stretch; flex-direction: column; }
  .sort-field select { width: 100%; }
  .filter-row { flex-wrap: nowrap; overflow-x: auto; padding-bottom: .5rem; scrollbar-width: none; }
  .filter-row::-webkit-scrollbar { display: none; }
  .filter-chip { flex: 0 0 auto; }
  .result-count { display: none; }
  .product-grid { grid-template-columns: 1fr; }
  .product-art { height: 285px; }
  .standards-copy h2,
  .reconstitute-copy h2 { font-size: 3.2rem; }
  .tracker-intro { margin-bottom: 2rem; }
  .tracker-preview-card { padding: 1.2rem; }
  .tracker-guest-copy { padding: 2rem 1.4rem; }
  .tracker-toolbar { align-items: stretch; flex-direction: column; }
  .tracker-tabs { width: 100%; }
  .tracker-tab { flex: 1; }
  .tracker-summary { grid-template-columns: 1fr 1fr; }
  .tracker-summary .summary-card:last-child { grid-column: 1 / -1; }
  .schedule-row { grid-template-columns: 1fr; }
  .schedule-actions { margin-top: .5rem; }
  .history-row { grid-template-columns: 85px 1fr; }
  .history-row .status-badge { grid-column: 2; width: max-content; }
  .account-cta h2 { font-size: 3.1rem; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 2.2rem 1rem; }
  .footer-brand { grid-column: 1 / -1; }
  .footer-grid > div:last-child { grid-column: auto; }
  .footer-bottom { flex-direction: column; }
  .mobile-nav {
    position: fixed;
    z-index: 200;
    left: 0;
    right: 0;
    bottom: 0;
    height: 66px;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    border-top: 1px solid var(--line);
    background: rgba(255,254,250,.95);
    box-shadow: 0 -12px 35px rgba(0,0,0,.08);
    backdrop-filter: blur(18px);
  }
  .mobile-nav a,
  .mobile-nav button {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: .12rem;
    border: 0;
    background: transparent;
    cursor: pointer;
    font-size: .58rem;
    font-weight: 700;
  }
  .mobile-nav a span,
  .mobile-nav button span { font-size: 1.05rem; }
  .mobile-nav b { position: absolute; margin: -25px 0 0 26px; min-width: 16px; height: 16px; display: grid; place-items: center; border-radius: 50%; background: var(--acid); font-size: .5rem; }
  .cart-drawer { padding: 1rem; }
  .modal { max-height: calc(100vh - 16px); width: calc(100vw - 16px); padding: 1.3rem; border-radius: 18px; }
  .modal-close { top: .7rem; right: .7rem; }
  .field-row,
  .field-row.three { grid-template-columns: 1fr; }
  .checkout-modal,
  .schedule-modal,
  .product-modal { width: calc(100vw - 16px); }
  .product-detail-art { min-height: 240px; }
  .product-detail-art .micro-vial { transform: scale(1.2); }
  .detail-price { align-items: stretch; flex-direction: column; }
  .account-header h2 { font-size: 2rem; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; scroll-behavior: auto !important; transition-duration: .01ms !important; }
}

/* Social sign-in */
.auth-separator {
  display: flex;
  align-items: center;
  gap: .85rem;
  margin: 1.35rem 0 1rem;
  color: var(--muted);
  font-size: .66rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .08em;
}

.auth-separator::before,
.auth-separator::after {
  content: "";
  height: 1px;
  flex: 1;
  background: var(--line);
}

.social-login-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: .7rem;
}

.social-login-button {
  min-height: 58px;
  display: flex;
  align-items: center;
  gap: .7rem;
  padding: .65rem .75rem;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: #fff;
  color: var(--ink);
  text-decoration: none;
  transition: border-color .18s ease, transform .18s ease, box-shadow .18s ease;
}

.social-login-button:not([aria-disabled="true"]):hover {
  border-color: var(--teal);
  transform: translateY(-1px);
  box-shadow: 0 8px 24px rgba(9, 35, 32, .08);
}

.social-login-button[aria-disabled="true"] {
  cursor: not-allowed;
  background: var(--paper);
}

.provider-mark {
  width: 32px;
  height: 32px;
  flex: 0 0 32px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  font-size: .8rem;
  font-weight: 900;
}

.provider-google {
  border: 1px solid #d7ded9;
  background: #fff;
  color: #1f716c;
}

.provider-apple {
  background: var(--ink);
  color: #fff;
}

.provider-copy {
  min-width: 0;
  display: grid;
  gap: .12rem;
}

.provider-copy strong {
  font-size: .73rem;
}

.provider-copy small {
  color: var(--muted);
  font-size: .58rem;
  font-weight: 600;
}

.social-login-button.provider-ready .provider-copy small {
  color: var(--teal);
}

.social-login-note {
  margin: .8rem 0 0;
  color: var(--muted);
  font-size: .61rem;
  line-height: 1.55;
  text-align: center;
}

@media (max-width: 520px) {
  .social-login-grid { grid-template-columns: 1fr; }
}

/* Checkout payment routes */
.payment-methods {
  display: grid;
  gap: .7rem;
  margin: .2rem 0 0;
  padding: 0;
  border: 0;
}

.payment-methods legend {
  margin-bottom: .45rem;
  color: var(--ink-2);
  font-size: .7rem;
  font-weight: 750;
}

.stack-form .payment-option {
  min-height: 66px;
  display: grid;
  grid-template-columns: 18px 36px minmax(0, 1fr) auto;
  align-items: center;
  gap: .7rem;
  padding: .7rem .75rem;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: #fff;
  color: var(--ink);
}

.stack-form .payment-option-selected {
  border-color: var(--teal);
  box-shadow: 0 0 0 3px rgba(31, 113, 108, .08);
}

.stack-form .payment-option-disabled {
  grid-template-columns: 36px minmax(0, 1fr) auto;
  background: var(--paper);
  color: var(--muted);
}

.stack-form .payment-option input[type="radio"] {
  width: 16px;
  height: 16px;
  min-height: 16px;
  margin: 0;
  padding: 0;
  accent-color: var(--teal);
  box-shadow: none;
}

.payment-method-icon {
  width: 36px;
  height: 36px;
  display: grid;
  place-items: center;
  border-radius: 10px;
  background: var(--ink);
  color: var(--acid);
  font-family: Georgia, serif;
  font-size: 1.05rem;
}

.payment-option-disabled .payment-method-icon {
  background: #dfe5e1;
  color: #6e7d78;
}

.payment-method-copy {
  min-width: 0;
  display: grid;
  gap: .15rem;
}

.payment-method-copy strong {
  font-size: .72rem;
}

.payment-method-copy small {
  color: var(--muted);
  font-size: .6rem;
  font-weight: 500;
}

.payment-method-badge {
  padding: .28rem .45rem;
  border-radius: 999px;
  background: rgba(31, 113, 108, .1);
  color: var(--teal);
  font-size: .52rem;
  font-weight: 850;
  letter-spacing: .06em;
  text-transform: uppercase;
}

.payment-method-badge.unavailable {
  background: #e6e9e7;
  color: #68756f;
}

.crypto-connection-status {
  display: grid;
  grid-template-columns: 9px 1fr;
  align-items: start;
  gap: .7rem;
  padding: .85rem;
  border: 1px dashed #b9c7c1;
  border-radius: 12px;
  background: #f2f6f3;
}

.connection-dot {
  width: 8px;
  height: 8px;
  margin-top: .22rem;
  border-radius: 50%;
  background: #b48a22;
  box-shadow: 0 0 0 4px rgba(180, 138, 34, .11);
}

.crypto-connection-status strong {
  display: block;
  font-size: .68rem;
}

.crypto-connection-status p {
  margin: .25rem 0 0;
  color: var(--muted);
  font-size: .61rem;
  line-height: 1.55;
}

@media (max-width: 520px) {
  .stack-form .payment-option,
  .stack-form .payment-option-disabled {
    grid-template-columns: 18px 32px minmax(0, 1fr);
  }
  .stack-form .payment-option-disabled {
    grid-template-columns: 32px minmax(0, 1fr);
  }
  .payment-method-badge {
    grid-column: 2 / -1;
    justify-self: start;
  }
  .payment-option-disabled .payment-method-badge { grid-column: 2; }
}
