/* GreysProtocol — design tokens and components, ported from the Claude Design prototype. */

@import url('https://fonts.googleapis.com/css2?family=Montserrat:ital,wght@0,400;0,500;0,600;0,700;0,800;0,900;1,400;1,500;1,600;1,700&family=IBM+Plex+Mono:wght@400;500;600&display=swap');

:root {
  --navy: #2A50A8;
  --blue: #4A8CE3;
  --ink: #1B2C63;
  --muted: #5F76A6;
  --muted-2: #5D719F;
  --line: #E1EDFB;
  --line-2: #F2F7FF;
  --bg: #FAFCFF;
  --edge: #CBDFF7;
  --edge-soft: #B0CDF0;
  --sky: #8DBDFB;
  --mist: #A9C4F2;
  --foam: #BDD2F5;
  --green: #2E9E6B;
  --red: #C0492F;
  --mono: 'IBM Plex Mono', ui-monospace, Menlo, monospace;
  --shadow-card: 0 8px 24px rgba(42, 80, 168, .05);
  --shadow-panel: 0 16px 44px rgba(42, 80, 168, .09);
  --shadow-cta: 0 8px 20px rgba(74, 140, 227, .25);
}

* { box-sizing: border-box; }

html, body { margin: 0; padding: 0; background: var(--bg); }

body {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  color: var(--ink);
  font-family: Montserrat, system-ui, sans-serif;
  font-size: 14.5px;
  line-height: 1.6;
  letter-spacing: .01em;
}

a { color: var(--blue); text-decoration: none; }
a:hover { color: var(--navy); }
button, input, textarea, select { font-family: inherit; }
input::placeholder, textarea::placeholder { color: var(--muted-2); }
input[type=number]::-webkit-outer-spin-button,
input[type=number]::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }
input[type=number] { -moz-appearance: textfield; }

:focus-visible { outline: 2px solid var(--blue); outline-offset: 2px; }

.wrap { max-width: 1220px; margin: 0 auto; padding-inline: 22px; }
main { flex: 1; }

/* Molecular lattice watermark. */
.lattice {
  position: absolute;
  pointer-events: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='120' height='120'%3E%3Cg fill='none' stroke='%2312266B' stroke-width='2'%3E%3Cpath d='M10 30L60 10L110 30L110 80L60 100L10 80Z'/%3E%3Cpath d='M60 10V-40M10 30L-40 10M110 30L160 10M10 80L-40 100M110 80L160 100M60 100V150'/%3E%3C/g%3E%3Cg fill='%2312266B'%3E%3Ccircle cx='10' cy='30' r='4'/%3E%3Ccircle cx='60' cy='10' r='4'/%3E%3Ccircle cx='110' cy='30' r='4'/%3E%3Ccircle cx='110' cy='80' r='4'/%3E%3Ccircle cx='60' cy='100' r='4'/%3E%3Ccircle cx='10' cy='80' r='4'/%3E%3C/g%3E%3C/svg%3E");
  background-size: 120px 120px;
}
.lattice--hero {
  top: -140px; right: -140px; width: 560px; height: 560px; opacity: .06;
  -webkit-mask-image: radial-gradient(circle at 68% 32%, #000 24%, transparent 70%);
  mask-image: radial-gradient(circle at 68% 32%, #000 24%, transparent 70%);
}
.lattice--footer {
  bottom: -160px; left: -140px; width: 520px; height: 520px; opacity: .09;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='120' height='120'%3E%3Cg fill='none' stroke='%23FFFFFF' stroke-width='2'%3E%3Cpath d='M10 30L60 10L110 30L110 80L60 100L10 80Z'/%3E%3Cpath d='M60 10V-40M10 30L-40 10M110 30L160 10M10 80L-40 100M110 80L160 100M60 100V150'/%3E%3C/g%3E%3Cg fill='%23FFFFFF'%3E%3Ccircle cx='10' cy='30' r='4'/%3E%3Ccircle cx='60' cy='10' r='4'/%3E%3Ccircle cx='110' cy='30' r='4'/%3E%3Ccircle cx='110' cy='80' r='4'/%3E%3Ccircle cx='60' cy='100' r='4'/%3E%3Ccircle cx='10' cy='80' r='4'/%3E%3C/g%3E%3C/svg%3E");
  -webkit-mask-image: radial-gradient(circle at 32% 68%, #000 24%, transparent 70%);
  mask-image: radial-gradient(circle at 32% 68%, #000 24%, transparent 70%);
}

/* ── Header ──────────────────────────────────────────────────────────────── */

.site-header {
  position: sticky; top: 0; z-index: 60;
  background: rgba(255, 255, 255, .92);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--line);
}
.site-header .wrap {
  padding-block: 12px;
  display: flex; align-items: center; gap: 22px; flex-wrap: wrap;
}
.brand { display: flex; align-items: center; gap: 11px; margin-right: auto; }
.brand__name { font-weight: 800; font-size: 16px; letter-spacing: .05em; color: var(--navy); line-height: 1; }
.brand__sub { font-size: 7.5px; font-weight: 500; letter-spacing: .34em; color: var(--muted); }
.site-nav { display: flex; align-items: center; gap: 6px; flex-wrap: wrap; }
.navlink {
  border: none; background: transparent; cursor: pointer;
  padding: 9px 12px; border-radius: 8px;
  font-size: 11.5px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase;
  color: var(--muted);
}
.navlink:hover { background: var(--line-2); color: var(--muted); }
.navlink[aria-current="page"] { color: var(--navy); }
.cartlink {
  cursor: pointer; display: flex; align-items: center; gap: 9px;
  padding: 9px 14px; border-radius: 999px; border: 1px solid var(--line); background: #fff;
  font-size: 11.5px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--navy);
}
.cartlink:hover { border-color: var(--blue); color: var(--navy); }
.cartlink__count {
  min-width: 21px; height: 21px; padding: 0 6px; border-radius: 11px;
  background: var(--blue); color: #fff; font-size: 11.5px; font-weight: 600;
  display: inline-flex; align-items: center; justify-content: center;
  font-family: var(--mono); letter-spacing: 0;
}

/* ── Buttons ─────────────────────────────────────────────────────────────── */

.btn {
  cursor: pointer; border: none; background: var(--blue); color: #fff;
  font-weight: 700; font-size: 12.5px; letter-spacing: .18em; text-transform: uppercase;
  padding: 16px 32px; border-radius: 999px; box-shadow: var(--shadow-cta);
  display: inline-block; text-align: center;
}
.btn:hover { background: var(--navy); color: #fff; }
.btn--ghost {
  border: 1.5px solid var(--edge-soft); background: #fff; color: var(--blue); box-shadow: none;
}
.btn--ghost:hover { border-color: var(--navy); color: var(--navy); background: #fff; }
.btn--block { width: 100%; padding: 18px 20px; }
.btn--sm { padding: 15px 26px; font-size: 11.5px; letter-spacing: .16em; }
.btn--pill {
  border: 1px solid var(--line); background: #fff; color: var(--navy); box-shadow: none;
  padding: 10px 18px; font-size: 10.5px; letter-spacing: .14em;
}
.btn--pill:hover { border-color: var(--navy); background: #fff; color: var(--navy); }
.btn--text {
  border: none; background: transparent; padding: 0; box-shadow: none;
  font-size: 11px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--blue);
}
.btn--text:hover { background: transparent; color: var(--navy); }

/* ── Type ────────────────────────────────────────────────────────────────── */

.eyebrow {
  font-family: var(--mono); font-size: 11px; font-weight: 500;
  letter-spacing: .18em; text-transform: uppercase; color: var(--muted-2);
}
.page-title {
  font-weight: 800; font-size: clamp(24px, 4.6vw, 38px); letter-spacing: .03em;
  text-transform: uppercase; color: var(--navy); margin: 8px 0 0;
}
.lede { font-size: 14.5px; font-weight: 400; color: var(--muted); margin: 10px 0 0; }
.rule { height: 1px; background: var(--line); margin: 24px 0 26px; }
.section-head { display: flex; align-items: center; gap: 14px; margin-bottom: 22px; }
.section-head h2 {
  font-style: italic; font-weight: 600; font-size: clamp(20px, 3vw, 27px);
  letter-spacing: .1em; text-transform: uppercase; color: var(--blue); margin: 0; white-space: nowrap;
}
.section-head .line { flex: 1; height: 1px; background: var(--line); }
.label-sm {
  font-size: 10.5px; font-weight: 700; letter-spacing: .14em;
  text-transform: uppercase; color: var(--muted-2);
}

/* ── Cards ───────────────────────────────────────────────────────────────── */

.card {
  background: #fff; border: 1px solid var(--line); border-radius: 16px;
  box-shadow: var(--shadow-card);
}
.panel {
  background: #fff; border: 1.5px solid var(--edge); border-radius: 18px;
  padding: 26px 24px; box-shadow: var(--shadow-panel);
}
.empty-state {
  background: #fff; border: 1px dashed var(--edge); border-radius: 16px;
  padding: 52px 24px; text-align: center;
}
.empty-state__title {
  font-weight: 800; font-size: 15px; letter-spacing: .08em;
  text-transform: uppercase; color: var(--navy);
}
.empty-state__body { font-size: 13.5px; color: var(--muted); margin-top: 8px; }

/* ── Home ────────────────────────────────────────────────────────────────── */

.hero { position: relative; overflow: hidden; background: #fff; border-bottom: 1px solid var(--line); }
.hero__inner { padding: 64px 22px 56px; position: relative; text-align: center; }
.hero__lockup { display: flex; align-items: center; justify-content: center; gap: clamp(10px, 2vw, 18px); }
.hero h1 {
  font-weight: 800; font-size: clamp(27px, 7vw, 70px); letter-spacing: .03em;
  line-height: 1.05; color: var(--navy); margin: 0;
}
.hero__rule { display: flex; align-items: center; justify-content: center; gap: 14px; margin-top: 14px; }
.hero__rule span.line { flex: 0 1 60px; height: 1px; background: var(--edge-soft); }
.hero__rule span.text {
  font-weight: 500; font-size: clamp(12px, 2.4vw, 23px); letter-spacing: .36em;
  color: var(--blue); white-space: nowrap;
}
.hero p {
  max-width: 620px; margin: 26px auto 0; font-size: 16px;
  color: var(--muted-2); line-height: 1.65; text-wrap: pretty;
}
.hero__cta { display: flex; gap: 12px; flex-wrap: wrap; justify-content: center; margin-top: 30px; }
.trustbar {
  border: 1px solid var(--edge); border-radius: 999px; padding: 13px 20px;
  display: flex; align-items: center; justify-content: center;
  gap: clamp(12px, 4vw, 40px); flex-wrap: wrap; background: #fff;
}
.trustbar span {
  display: flex; align-items: center; gap: 9px; font-size: 11.5px; font-weight: 600;
  letter-spacing: .2em; text-transform: uppercase; color: var(--blue);
}
.factbox {
  background: #fff; border: 1.5px solid var(--edge); border-radius: 18px;
  overflow: hidden; box-shadow: 0 14px 40px rgba(42, 80, 168, .07);
}
.factbox__head { background: var(--navy); padding: 14px 20px; text-align: center; }
.factbox__head span {
  font-weight: 700; font-size: 12.5px; letter-spacing: .3em; text-transform: uppercase; color: #fff;
}
.factbox__grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); }
.factbox__cell { padding: 34px 30px; border-right: 1px solid #E4EDFA; text-align: center; }
.factbox__cell:last-child { border-right: none; }
.factbox__big { font-weight: 800; font-size: 42px; letter-spacing: -.01em; color: var(--navy); line-height: 1; }
.factbox__cap {
  font-size: 12px; font-weight: 600; letter-spacing: .16em;
  text-transform: uppercase; color: var(--muted); margin-top: 12px;
}
/* Plain-language note under the pricing band — deliberately warmer than the
   surrounding copy. It answers "what actually happens if I click submit?" */
.headsup {
  display: flex; gap: 16px; align-items: flex-start;
  background: #fff; border: 1.5px solid var(--edge); border-left: 4px solid var(--blue);
  border-radius: 14px; padding: 20px 24px; box-shadow: var(--shadow-card);
}
.headsup__mark {
  flex: 0 0 auto; width: 38px; height: 38px; border-radius: 19px;
  background: var(--line-2); display: flex; align-items: center; justify-content: center;
}
.headsup__k {
  font-size: 10.5px; font-weight: 700; letter-spacing: .18em;
  text-transform: uppercase; color: var(--blue); margin-bottom: 6px;
}
.headsup__p {
  margin: 0; font-size: 15px; line-height: 1.6; color: var(--ink);
  max-width: 68ch; text-wrap: pretty;
}
.headsup__steps {
  list-style: none; counter-reset: step; margin: 14px 0 0; padding: 0;
  display: flex; flex-direction: column; gap: 10px; max-width: 68ch;
}
.headsup__steps li {
  counter-increment: step; position: relative; padding-left: 34px;
  font-size: 14.5px; line-height: 1.55; color: var(--muted-2); text-wrap: pretty;
}
.headsup__steps li b { color: var(--navy); font-weight: 700; }
.headsup__steps li::before {
  content: counter(step);
  position: absolute; left: 0; top: 1px;
  width: 22px; height: 22px; border-radius: 11px;
  background: var(--blue); color: #fff;
  font-family: var(--mono); font-size: 11px; font-weight: 600;
  display: flex; align-items: center; justify-content: center;
}
@media (max-width: 560px) {
  .headsup { padding: 18px; gap: 13px; }
  .headsup__p { font-size: 14px; }
}

.cat-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(210px, 1fr)); gap: 14px; }
.cat-card {
  cursor: pointer; background: #fff; border: 1px solid var(--line); border-radius: 16px;
  padding: 24px 22px 20px; box-shadow: var(--shadow-card);
  transition: transform .16s ease, border-color .16s ease;
  display: flex; flex-direction: column; min-height: 196px; color: inherit;
}
.cat-card:hover { border-color: var(--blue); transform: translateY(-3px); color: inherit; }
.cat-card__num {
  width: 38px; height: 38px; border-radius: 19px; border: 1.5px solid var(--edge);
  display: flex; align-items: center; justify-content: center;
  font-family: var(--mono); font-size: 12px; font-weight: 600; color: var(--blue);
}
.cat-card__name {
  font-weight: 800; font-size: 15px; letter-spacing: .06em; text-transform: uppercase;
  color: var(--navy); margin-top: 18px; line-height: 1.3;
}
.cat-card__sample { font-size: 13px; color: var(--muted); margin-top: 8px; flex: 1; line-height: 1.5; }
.cat-card__foot {
  display: flex; align-items: center; justify-content: space-between;
  margin-top: 16px; padding-top: 14px; border-top: 1px solid var(--line-2);
}
.step-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 14px; }
.step { background: #fff; border: 1px solid var(--line); border-radius: 16px; padding: 26px 24px; }
.step__num {
  width: 34px; height: 34px; border-radius: 17px; background: var(--line-2); color: var(--blue);
  font-weight: 800; font-size: 14px; display: flex; align-items: center; justify-content: center;
}
.step__title {
  font-weight: 800; font-size: 14px; letter-spacing: .06em;
  text-transform: uppercase; color: var(--navy); margin-top: 16px;
}
.step__body { font-size: 13.5px; color: var(--muted); margin-top: 8px; }
.notice {
  margin-top: 14px; display: flex; align-items: center; gap: 14px; flex-wrap: wrap;
  background: var(--line-2); border: 1px solid var(--edge); border-radius: 14px; padding: 16px 20px;
}
.notice__tag {
  font-weight: 700; font-size: 10.5px; letter-spacing: .2em; text-transform: uppercase;
  color: var(--navy); background: #fff; border: 1px solid var(--edge);
  border-radius: 999px; padding: 6px 13px; white-space: nowrap;
}
.assure {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  background: #fff; border: 1px solid var(--line); border-radius: 16px; overflow: hidden;
}
.assure > div { padding: 22px; border-right: 1px solid var(--line-2); text-align: center; }
.assure > div:last-child { border-right: none; }
.assure__k {
  font-size: 11px; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; color: var(--blue);
}
.assure__v { font-size: 12px; color: var(--muted); margin-top: 5px; }

/* ── Catalog ─────────────────────────────────────────────────────────────── */

.searchbar {
  display: flex; align-items: center; gap: 11px; background: #fff;
  border: 1px solid var(--line); border-radius: 999px; padding: 0 18px;
}
.searchbar input {
  flex: 1; min-width: 0; border: none; outline: none; background: transparent;
  padding: 14px 0; font-size: 14px; font-weight: 500; color: var(--ink);
}
.searchbar__count { font-family: var(--mono); font-size: 11px; color: var(--muted-2); white-space: nowrap; }
.chiprow { display: flex; gap: 8px; overflow-x: auto; padding: 2px 0 12px; scrollbar-width: none; }
.chiprow::-webkit-scrollbar { display: none; }
.chip {
  cursor: pointer; flex: 0 0 auto; padding: 10px 16px; border-radius: 999px;
  font-size: 11px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase;
  white-space: nowrap; display: flex; align-items: center; gap: 9px;
  border: 1px solid var(--line); background: #fff; color: var(--muted-2);
}
.chip[aria-pressed="true"] { border-color: var(--blue); background: var(--blue); color: #fff; }
.chip__count { font-family: var(--mono); font-size: 11px; letter-spacing: 0; opacity: .6; }
.fam-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(238px, 1fr)); gap: 12px; }
.fam-card {
  cursor: pointer; background: #fff; border: 1px solid var(--line); border-radius: 16px;
  padding: 20px; display: flex; flex-direction: column; box-shadow: var(--shadow-card);
  transition: transform .16s ease, border-color .16s ease; color: inherit;
}
.fam-card:hover { border-color: var(--blue); transform: translateY(-3px); color: inherit; }
.fam-card__cat {
  font-size: 9.5px; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; color: var(--blue);
}
.fam-card__name {
  font-weight: 800; font-size: 17px; letter-spacing: .03em; text-transform: uppercase;
  color: var(--navy); margin-top: 10px; line-height: 1.25;
}
.fam-card__line { font-size: 12.5px; color: var(--muted); margin-top: 6px; flex: 1; }
.fam-card__foot {
  display: flex; align-items: center; justify-content: space-between; gap: 10px;
  margin-top: 16px; padding-top: 14px; border-top: 1px solid var(--line-2);
}
.price-lg { font-weight: 800; font-size: 20px; letter-spacing: .01em; color: var(--navy); line-height: 1; }
.per-vial {
  font-size: 10px; font-weight: 700; letter-spacing: .1em;
  text-transform: uppercase; color: var(--muted);
}
.arrow { color: var(--blue); font-weight: 700; font-size: 15px; }

/* ── Product ─────────────────────────────────────────────────────────────── */

.crumbs {
  display: flex; align-items: center; gap: 9px; font-size: 10.5px; font-weight: 700;
  letter-spacing: .14em; text-transform: uppercase; color: var(--muted-2);
  margin-bottom: 24px; flex-wrap: wrap;
}
.crumbs .here { color: var(--navy); }
.product-grid {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(330px, 1fr));
  gap: 34px; align-items: start;
}
.vialbox {
  position: relative; overflow: hidden;
  background: linear-gradient(168deg, #FFF 0%, #F2F7FF 55%, #E6F0FE 100%);
  border: 1px solid var(--line); border-radius: 20px; padding: 36px 20px 32px;
  display: flex; align-items: center; justify-content: center; margin-bottom: 24px;
}
.vial { position: relative; width: 172px; filter: drop-shadow(0 20px 26px rgba(42, 80, 168, .2)); }
.vial__crimp { height: 12px; margin: 0 48px; border-radius: 4px 4px 2px 2px; background: linear-gradient(90deg, #93A9CC, #EDF3FC 32%, #B7C8E0 66%, #8FA6C9); }
.vial__cap { height: 24px; margin: 0 38px; border-radius: 3px; background: linear-gradient(90deg, #2A50A8, #5D8FE0 30%, #2A50A8 70%, #20408C); display: flex; align-items: center; justify-content: center; }
.vial__cap i { width: 62%; height: 5px; border-radius: 3px; background: rgba(255, 255, 255, .26); display: block; }
.vial__neck { height: 11px; margin: 0 44px; background: linear-gradient(90deg, #CFDDEF, #F6FAFF 34%, #D6E3F4); }
.vial__body {
  position: relative; border-radius: 6px 6px 14px 14px; overflow: hidden;
  background: linear-gradient(90deg, rgba(150,180,220,.6), rgba(255,255,255,.95) 26%, rgba(226,238,252,.8) 58%, rgba(158,188,226,.6));
  padding: 16px 0 22px;
}
.vial__label {
  margin: 0 10px; background: #fff; border-top: 1px solid #DCE8F9; border-bottom: 1px solid #DCE8F9;
  padding: 14px 12px 15px; text-align: center;
}
.vial__brand { display: flex; align-items: center; justify-content: center; gap: 6px; }
.vial__brand span { font-weight: 800; font-size: 8px; letter-spacing: .14em; color: var(--navy); }
.vial__hr { height: 1px; background: var(--line); margin: 9px 6px; }
.vial__name { font-weight: 800; font-size: 11px; letter-spacing: .03em; text-transform: uppercase; color: var(--navy); line-height: 1.2; word-break: break-word; }
.vial__strength { font-weight: 800; font-size: 15px; letter-spacing: .02em; color: var(--blue); margin-top: 5px; }
.vial__code { font-family: var(--mono); font-size: 7.5px; letter-spacing: .1em; color: var(--muted); margin-top: 7px; }
.vial__shine { position: absolute; top: 0; left: 14%; width: 12px; bottom: 0; background: linear-gradient(90deg, rgba(255,255,255,.85), rgba(255,255,255,0)); }

.cat-pill {
  font-size: 9.5px; font-weight: 700; letter-spacing: .18em; text-transform: uppercase;
  color: var(--blue); background: var(--line-2); border-radius: 999px; padding: 6px 12px;
}
.product-title {
  font-weight: 800; font-size: clamp(28px, 5.2vw, 46px); letter-spacing: .02em;
  text-transform: uppercase; line-height: 1.08; color: var(--navy); margin: 18px 0 0;
}
.product-blurb {
  font-size: 15px; color: var(--muted-2); margin: 14px 0 0;
  max-width: 54ch; line-height: 1.65; text-wrap: pretty;
}
.subhead {
  font-style: italic; font-weight: 600; font-size: 12px; letter-spacing: .18em;
  text-transform: uppercase; color: var(--blue); white-space: nowrap;
}
.variant-row { display: flex; flex-wrap: wrap; gap: 9px; }
.variant {
  cursor: pointer; padding: 11px 16px; border-radius: 12px; font-size: 13.5px; font-weight: 700;
  letter-spacing: .04em; line-height: 1.3; text-align: left;
  display: flex; flex-direction: column; gap: 3px; min-height: 52px;
  border: 1.5px solid var(--line); background: #fff; color: var(--muted-2);
}
.variant[aria-pressed="true"] {
  border-color: var(--blue); background: var(--line-2); color: var(--navy);
  box-shadow: 0 0 0 3px rgba(74, 140, 227, .15);
}
.variant__code { font-family: var(--mono); font-size: 10.5px; font-weight: 500; letter-spacing: .06em; opacity: .7; }

.specs { margin-top: 32px; background: #fff; border: 1px solid var(--line); border-radius: 16px; overflow: hidden; }
.specs__toggle {
  width: 100%; cursor: pointer; border: none; background: transparent; padding: 18px 20px;
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
}
.specs__glyph { font-size: 15px; color: var(--blue); font-weight: 700; }
.specs__body { padding: 0 20px 4px; }
.spec { display: flex; gap: 16px; padding: 11px 0; border-top: 1px solid var(--line-2); font-size: 13px; }
.spec__k {
  flex: 0 0 148px; font-size: 10.5px; font-weight: 700; letter-spacing: .12em;
  text-transform: uppercase; color: var(--muted-2); padding-top: 2px;
}
.spec__v { flex: 1; font-weight: 500; color: var(--navy); }
.spec__note {
  padding: 14px 0 18px; border-top: 1px solid var(--line-2); margin-top: 4px;
  font-size: 12px; color: var(--muted);
}

.buybox { position: sticky; top: 92px; }
.code-tag {
  font-family: var(--mono); font-size: 12px; font-weight: 600; letter-spacing: .12em;
  color: var(--navy); background: var(--bg); border: 1px solid var(--line);
  border-radius: 6px; padding: 5px 10px;
}
.instock { font-size: 10.5px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--green); }
.price-xl {
  font-weight: 800; font-size: clamp(44px, 7vw, 62px); letter-spacing: .005em;
  line-height: 1; color: var(--navy); margin-top: 22px;
}
.price-unit {
  font-weight: 700; font-size: 13px; letter-spacing: .24em;
  text-transform: uppercase; color: var(--blue); margin-top: 10px;
}
.stepper {
  display: flex; align-items: center; border: 1px solid var(--line);
  border-radius: 999px; overflow: hidden; background: var(--bg);
}
.stepper button {
  cursor: pointer; border: none; background: transparent; width: 44px; height: 44px;
  font-size: 19px; color: var(--navy); font-weight: 600;
}
.stepper button:hover { background: var(--line-2); }
.stepper__val { width: 42px; text-align: center; font-family: var(--mono); font-size: 16px; font-weight: 600; color: var(--navy); }
.microcopy { font-size: 11.5px; color: var(--muted-2); text-align: center; margin-top: 11px; }
.kv { display: flex; justify-content: space-between; gap: 12px; }
.kv span:last-child { font-weight: 700; color: var(--navy); }

/* ── Calculator ──────────────────────────────────────────────────────────── */

.calc-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); gap: 20px; align-items: start; }
.field { display: block; }
.field > label {
  display: block; font-size: 10.5px; font-weight: 700; letter-spacing: .14em;
  text-transform: uppercase; color: var(--muted-2); margin-bottom: 8px;
}
.inputgroup {
  display: flex; align-items: center; border: 1px solid var(--line);
  border-radius: 12px; background: var(--bg); overflow: hidden;
}
.inputgroup input {
  flex: 1; min-width: 0; border: none; outline: none; background: transparent;
  padding: 14px; font-family: var(--mono); font-size: 17px; font-weight: 600; color: var(--navy);
}
.inputgroup__unit {
  padding: 0 16px; font-size: 11px; font-weight: 700; letter-spacing: .12em;
  text-transform: uppercase; color: var(--muted-2);
}
.preset {
  cursor: pointer; padding: 8px 13px; border-radius: 999px; font-size: 11px; font-weight: 700;
  letter-spacing: .08em; border: 1px solid var(--line); background: #fff; color: var(--muted-2);
}
.preset[aria-pressed="true"] { border-color: var(--blue); background: var(--blue); color: #fff; }
.unitswitch { display: flex; border: 1px solid var(--line); border-radius: 12px; overflow: hidden; background: var(--bg); }
.unitswitch button {
  cursor: pointer; border: none; padding: 0 22px; min-height: 50px; font-size: 11px; font-weight: 700;
  letter-spacing: .14em; text-transform: uppercase; background: transparent; color: var(--muted);
}
.unitswitch button[aria-pressed="true"] { background: var(--blue); color: #fff; }
.syringe-pick {
  cursor: pointer; flex: 1 1 120px; min-height: 48px; padding: 12px 10px; border-radius: 12px;
  font-size: 11.5px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase;
  border: 1.5px solid var(--line); background: #fff; color: var(--muted-2);
}
.syringe-pick[aria-pressed="true"] { border-color: var(--blue); background: var(--blue); color: #fff; }

.readout {
  background: var(--navy); border-radius: 18px; padding: 30px 26px;
  box-shadow: 0 16px 40px rgba(42, 80, 168, .2); overflow: hidden;
}
.readout__k { font-weight: 700; font-size: 11px; letter-spacing: .26em; text-transform: uppercase; color: var(--mist); }
.readout__row { display: flex; align-items: baseline; gap: 12px; flex-wrap: wrap; margin-top: 10px; }
.readout__units { font-weight: 800; font-size: clamp(60px, 13vw, 104px); letter-spacing: -.02em; line-height: .9; color: #fff; }
.readout__unitword { font-weight: 700; font-size: clamp(15px, 2.6vw, 22px); letter-spacing: .2em; text-transform: uppercase; color: var(--sky); }
.readout__sub { font-size: 12px; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; color: var(--mist); margin-top: 12px; }
.readout__warn {
  margin-top: 18px; background: rgba(255, 255, 255, .1); border: 1px solid #9DBAEA;
  border-radius: 10px; padding: 12px 14px; font-size: 12.5px; color: #fff;
}
.syringe { display: flex; align-items: center; }
.syringe__flange { width: 24px; height: 14px; border-radius: 3px 0 0 3px; background: var(--foam); flex: 0 0 auto; }
.syringe__plunger { width: 16px; height: 30px; background: var(--mist); border-radius: 2px; flex: 0 0 auto; }
.syringe__barrel {
  flex: 1; min-width: 0; position: relative; height: 50px;
  border: 1.5px solid #7C9BDC; border-radius: 4px; background: rgba(255, 255, 255, .06); overflow: hidden;
}
.syringe__fill {
  position: absolute; top: 0; bottom: 0; left: 0;
  background: linear-gradient(90deg, #4A8CE3, #7DB2F2); border-right: 2px solid #BBD6FF;
  transition: width .18s ease;
}
.syringe__ticks { position: absolute; inset: 0; background-image: repeating-linear-gradient(90deg, rgba(255,255,255,.5) 0 1.5px, transparent 1.5px 10%); }
.syringe__ticks--fine { position: absolute; top: 0; height: 12px; left: 0; right: 0; background-image: repeating-linear-gradient(90deg, rgba(255,255,255,.28) 0 1px, transparent 1px 2%); }
.syringe__tip { width: 9px; height: 18px; background: var(--mist); border-radius: 0 2px 2px 0; flex: 0 0 auto; }
.syringe__needle { width: 30px; height: 3px; background: var(--foam); flex: 0 0 auto; }
.ticklabels { position: relative; height: 18px; margin: 6px 39px 0 40px; }
.ticklabels span {
  position: absolute; top: 0; transform: translateX(-50%);
  font-family: var(--mono); font-size: 10px; color: var(--mist);
}
.stat-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(148px, 1fr)); gap: 12px; }
.stat { background: #fff; border: 1px solid var(--line); border-radius: 14px; padding: 18px; }
.stat__k { font-size: 9.5px; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; color: var(--muted-2); }
.stat__v { font-weight: 800; font-size: 22px; letter-spacing: .01em; color: var(--navy); margin-top: 9px; }
.stat__sub { font-size: 11.5px; color: var(--muted); margin-top: 3px; }

/* ── Cart ────────────────────────────────────────────────────────────────── */

.cart-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(330px, 1fr)); gap: 20px; align-items: start; }
/* Cart line item. Deliberately NOT called ".line" — that name is used by the
   hairline dividers in .hero__rule and .section-head, and this padding would
   inflate them into solid blocks. */
.cart-line {
  padding: 20px; border-bottom: 1px solid var(--line-2);
  display: flex; gap: 16px; align-items: flex-start; flex-wrap: wrap;
}
.line__main { flex: 1 1 210px; min-width: 0; }
.line__code {
  font-family: var(--mono); font-size: 11px; font-weight: 600; color: var(--navy);
  background: var(--bg); border: 1px solid var(--line); border-radius: 5px; padding: 3px 8px;
}
.line__cat { font-size: 9.5px; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; color: var(--blue); }
.line__name { font-weight: 800; font-size: 15px; letter-spacing: .04em; text-transform: uppercase; color: var(--navy); margin-top: 10px; }
.line__meta { font-size: 12.5px; color: var(--muted); margin-top: 4px; }
.line__ctl { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; }
.stepper--sm button { width: 38px; height: 40px; font-size: 17px; }
.stepper--sm .stepper__val { width: 32px; font-size: 14.5px; }
.line__total { text-align: right; min-width: 104px; }
.line__total b { font-weight: 800; font-size: 18px; letter-spacing: .01em; color: var(--navy); display: block; }
.line__total span { font-size: 10px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }
.line__remove {
  cursor: pointer; border: none; background: transparent; padding: 6px;
  font-size: 10px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--muted-2);
}
.line__remove:hover { color: var(--navy); }
.totals { padding: 22px 20px; background: var(--bg); }
.totals__row { display: flex; justify-content: space-between; gap: 14px; font-size: 13.5px; color: var(--muted-2); padding: 7px 0; }
.totals__row b { font-weight: 600; font-family: var(--mono); }
.totals__grand { display: flex; justify-content: space-between; gap: 14px; align-items: baseline; }
.totals__grand .k { font-weight: 800; font-size: 13px; letter-spacing: .14em; text-transform: uppercase; color: var(--navy); }
.totals__grand .sub { font-size: 11.5px; color: var(--muted-2); margin-top: 3px; }
.totals__grand .v { font-weight: 800; font-size: 29px; letter-spacing: .01em; color: var(--navy); }
.forminput {
  width: 100%; border: 1px solid var(--line); border-radius: 12px; background: var(--bg);
  padding: 13px 14px; font-size: 14px; font-weight: 500; color: var(--navy); outline: none;
}
.forminput:focus { border-color: var(--blue); box-shadow: 0 0 0 3px rgba(74, 140, 227, .16); }
.formlabel {
  display: block; font-size: 10px; font-weight: 700; letter-spacing: .16em;
  text-transform: uppercase; color: var(--muted-2); margin-bottom: 7px;
}
.paytag {
  display: inline-flex; align-items: center; gap: 7px; border: 1px solid var(--line);
  background: var(--bg); border-radius: 999px; padding: 8px 14px;
  font-size: 11.5px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--navy);
}
.feenote {
  display: flex; gap: 9px; align-items: flex-start; margin-top: 12px;
  background: var(--line-2); border: 1px solid var(--line); border-radius: 10px; padding: 11px 13px;
}
.success {
  max-width: 620px; margin: 40px auto; background: #fff; border: 1.5px solid var(--edge);
  border-radius: 20px; padding: 50px 40px; text-align: center; box-shadow: 0 20px 50px rgba(42, 80, 168, .1);
}
.success__tick {
  width: 62px; height: 62px; margin: 0 auto; border-radius: 31px; background: var(--line-2);
  border: 1.5px solid var(--edge); color: var(--blue); font-size: 26px; font-weight: 700;
  display: flex; align-items: center; justify-content: center;
}
.success h1 { font-weight: 800; font-size: 28px; letter-spacing: .04em; text-transform: uppercase; color: var(--navy); margin: 24px 0 0; }
.refbox {
  margin-top: 26px; display: inline-flex; align-items: center; gap: 12px;
  background: var(--bg); border: 1px solid var(--line); border-radius: 999px; padding: 10px 18px;
}
.refbox__v { font-family: var(--mono); font-size: 15px; font-weight: 600; color: var(--navy); }
.cart-empty {
  max-width: 560px; margin: 56px auto; background: #fff; border: 1px dashed var(--edge);
  border-radius: 20px; padding: 58px 40px; text-align: center;
}
.honeypot { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

/* ── Admin ───────────────────────────────────────────────────────────────── */

.authcard {
  background: #fff; border: 1.5px solid var(--edge); border-radius: 20px;
  padding: 38px 30px; box-shadow: var(--shadow-panel); text-align: center;
}
.authcard input {
  width: 100%; margin-top: 22px; border: 1px solid var(--line); border-radius: 12px;
  background: var(--bg); padding: 14px; font-size: 15px; font-weight: 600;
  letter-spacing: .1em; text-align: center; color: var(--navy); outline: none;
}
.authcard input:focus { border-color: var(--blue); box-shadow: 0 0 0 3px rgba(74, 140, 227, .16); }
.autherr { font-size: 12px; font-weight: 600; color: var(--red); margin-top: 10px; }
.sub {
  background: #fff; border: 1px solid var(--line); border-radius: 16px;
  overflow: hidden; box-shadow: 0 6px 20px rgba(42, 80, 168, .04);
}
.sub__head { cursor: pointer; padding: 18px 20px; display: flex; gap: 16px; align-items: center; flex-wrap: wrap; }
.sub__status {
  font-size: 9.5px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase;
  border-radius: 999px; padding: 4px 10px;
}
.sub__status--new { background: #EAF3FF; color: var(--navy); }
.sub__status--contacted { background: #EAF7F0; color: var(--green); }
.sub__status--closed { background: #F1F3F8; color: var(--muted); }
.sub__body { border-top: 1px solid var(--line-2); padding: 18px 20px 20px; background: var(--bg); }
.sub__item {
  display: flex; gap: 12px; align-items: center; justify-content: space-between;
  padding: 9px 0; border-top: 1px solid #EDF3FC; flex-wrap: wrap;
}
.warn-flag { font-size: 10px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--red); }

/* ── Footer ──────────────────────────────────────────────────────────────── */

.site-footer { position: relative; overflow: hidden; background: var(--navy); color: #fff; margin-top: auto; }
.site-footer__main {
  padding: 44px 22px 30px; position: relative;
  display: flex; gap: 34px; flex-wrap: wrap; justify-content: space-between;
}
.site-footer__blurb { font-size: 12.5px; color: var(--foam); margin: 16px 0 0; max-width: 38ch; line-height: 1.6; }
.site-footer__k { font-size: 10px; font-weight: 700; letter-spacing: .2em; text-transform: uppercase; color: var(--sky); margin-bottom: 12px; }
.site-footer__phone { display: block; font-weight: 800; font-size: 19px; letter-spacing: .02em; color: #fff; }
.site-footer__phone:hover { color: var(--foam); }
.site-footer__bar { border-top: 1px solid rgba(255, 255, 255, .16); position: relative; }
.site-footer__bar .wrap {
  padding-block: 18px; display: flex; align-items: center; justify-content: center;
  gap: 16px; flex-wrap: wrap;
}
.site-footer__tag {
  font-style: italic; font-weight: 500; font-size: 12.5px; letter-spacing: .3em;
  text-transform: uppercase; color: var(--foam); text-align: center;
}
.site-footer__admin {
  cursor: pointer; border: none; background: transparent; padding: 0 0 0 6px;
  font-size: 10px; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; color: #C3D8F8;
}
.site-footer__admin:hover { color: #fff; }

@media (max-width: 640px) {
  .spec__k { flex-basis: 110px; }
  .buybox { position: static; }
}
