:root {
  --red: #b11226;
  --red-dark: #7d0c1a;
  --red-soft: #fff0f2;
  --ink: #111827;
  --muted: #5f6b7a;
  --paper: #ffffff;
  --surface: #f7f8fb;
  --line: #e7e9ef;
  --navy: #111a2e;
  --navy-2: #17223a;
  --gold: #f4b640;
  --shadow: 0 24px 80px rgba(17, 24, 39, .12);
  --radius: 22px;
  --max: 1180px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--ink);
  background: var(--paper);
  line-height: 1.6;
}
a { color: inherit; text-decoration: none; }
img { max-width: 100%; height: auto; }
.container { width: min(var(--max), calc(100% - 40px)); margin-inline: auto; }
.narrow { max-width: 790px; }
.section { padding: 88px 0; }
.skip-link { position: absolute; left: -999px; top: 12px; background: var(--ink); color: #fff; padding: 10px 14px; border-radius: 8px; z-index: 10; }
.skip-link:focus { left: 12px; }

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(255,255,255,.88);
  border-bottom: 1px solid rgba(231,233,239,.86);
  backdrop-filter: blur(16px);
}
.header-inner { min-height: 78px; display: flex; align-items: center; justify-content: space-between; gap: 18px; }
.site-logo { display: inline-flex; align-items: center; gap: 14px; min-width: 0; }
.site-logo img {
  display: block;
  height: 48px;
  width: auto;
  max-width: min(260px, 44vw);
  object-fit: contain;
}
.site-logo-tagline {
  color: var(--muted);
  font-size: .78rem;
  font-weight: 800;
  letter-spacing: .08em;
  line-height: 1.1;
  text-transform: uppercase;
  white-space: nowrap;
}
.brand { display: inline-flex; align-items: center; gap: 12px; font-weight: 800; }
.brand-mark {
  width: 42px; height: 42px; display: grid; place-items: center;
  border-radius: 12px; background: linear-gradient(135deg, var(--red), var(--red-dark));
  color: #fff; letter-spacing: -.06em; box-shadow: 0 14px 30px rgba(177,18,38,.24);
}
.brand-text { display: grid; line-height: 1.1; }
.brand-name { font-size: 1.2rem; letter-spacing: -.03em; }
.brand-tagline { font-size: .74rem; color: var(--muted); font-weight: 650; }
.site-nav { display: flex; align-items: center; gap: 12px; flex: 0 0 auto; }
.site-nav ul { list-style: none; display: flex; align-items: center; gap: 12px; padding: 0; margin: 0; }
.site-nav li { white-space: nowrap; }
.site-nav a:not(.button) { display: inline-flex; align-items: center; min-height: 38px; font-size: .86rem; line-height: 1; color: #2b3444; font-weight: 750; white-space: nowrap; }
.site-nav a:hover { color: var(--red); }
.nav-toggle { display: none; background: none; border: 0; padding: 8px; }
.nav-toggle span { display: block; width: 24px; height: 2px; background: var(--ink); margin: 5px 0; }

.button {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  border: 0; border-radius: 999px; padding: 14px 21px;
  background: var(--red); color: #fff; font-weight: 800; white-space: nowrap; line-height: 1;
  box-shadow: 0 16px 34px rgba(177,18,38,.22);
  cursor: pointer;
}
.button:hover { background: var(--red-dark); transform: translateY(-1px); }
.button-secondary { background: #fff; color: var(--ink); box-shadow: inset 0 0 0 1px var(--line); }
.button-secondary:hover { background: var(--red-soft); color: var(--red); }
.button-small { padding: 10px 15px; font-size: .88rem; min-height: 38px; }

.hero {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(circle at top right, rgba(177,18,38,.13), transparent 34%),
    linear-gradient(180deg, #fff 0%, #fbfbfd 72%, var(--surface) 100%);
}
.hero:before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  opacity: .072;
  pointer-events: none;
  background-image:
    linear-gradient(90deg, #111 1px, transparent 1px),
    linear-gradient(#111 1px, transparent 1px);
  background-size: 44px 44px;
  -webkit-mask-image: linear-gradient(180deg, transparent 0%, #000 12%, #000 52%, rgba(0,0,0,.48) 68%, transparent 92%);
  mask-image: linear-gradient(180deg, transparent 0%, #000 12%, #000 52%, rgba(0,0,0,.48) 68%, transparent 92%);
}
.hero:after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: min(34%, 260px);
  z-index: 1;
  pointer-events: none;
  background: linear-gradient(180deg, rgba(247,248,251,0), var(--surface));
}
.hero-grid { position: relative; z-index: 2; display: grid; grid-template-columns: 1.05fr .95fr; align-items: center; gap: 56px; }
.eyebrow { margin: 0 0 12px; color: var(--red); font-size: .78rem; text-transform: uppercase; letter-spacing: .14em; font-weight: 900; }
h1, h2, h3 { line-height: 1.05; margin: 0; letter-spacing: -.045em; }
h1 { font-size: clamp(2.8rem, 7vw, 5.75rem); max-width: 850px; }
h2 { font-size: clamp(2rem, 4vw, 3.2rem); }
h3 { font-size: 1.18rem; }
.hero-lede, .section-lede { font-size: 1.14rem; color: var(--muted); max-width: 660px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 30px; }
.hero-panel { background: var(--navy); border-radius: 34px; padding: 32px; box-shadow: var(--shadow); position: relative; overflow: hidden; }
.hero-panel:before { content: ""; position: absolute; inset: -30%; background: radial-gradient(circle, rgba(177,18,38,.55), transparent 36%); transform: translate(25%, -15%); }
.label-stack { position: relative; display: grid; gap: 15px; }
.rx-label, .barcode-card {
  background: #fff; border-radius: 18px; padding: 20px; border-left: 10px solid var(--red);
  box-shadow: 0 18px 48px rgba(0,0,0,.18);
}
.rx-label-primary { border-left-color: var(--gold); }
.rx-label-blue { border-left-color: #4b6fae; }
.rx-label-green { border-left-color: #4b8b6f; }
.barcode-card-red { border-left-color: var(--red); }
.rx-label span, .barcode-card span { display: block; font-size: .78rem; color: var(--muted); font-weight: 900; text-transform: uppercase; letter-spacing: .1em; }
.rx-label strong { display: block; margin-top: 7px; font-size: clamp(1.3rem, 3vw, 2.2rem); line-height: 1; text-transform: none; letter-spacing: -.03em; }
.barcode { height: 52px; margin-top: 12px; background: repeating-linear-gradient(90deg, #111 0 3px, transparent 3px 7px, #111 7px 12px, transparent 12px 18px); }

.split-layout { display: grid; grid-template-columns: .9fr 1.1fr; gap: 52px; align-items: start; }
.split-layout.reverse { grid-template-columns: 1fr 1fr; align-items: center; }
.feature-list { display: grid; gap: 16px; }
.feature-item, .solution-card, .contact-card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; box-shadow: 0 14px 40px rgba(17,24,39,.05);
}
.feature-item h3, .solution-card h3 { margin-bottom: 8px; }
.feature-item p, .solution-card p { margin: 0; color: var(--muted); }
.pharmacy-section, .solutions-section, .about-section { background: var(--surface); }
.proof-section { background: var(--navy); color: #fff; }
.proof-section .eyebrow { color: var(--gold); }
.stats-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-top: 32px; }
.stats-grid div { padding: 26px; border: 1px solid rgba(255,255,255,.14); border-radius: var(--radius); background: rgba(255,255,255,.05); }
.stats-grid strong { display: block; font-size: 1.35rem; margin-bottom: 8px; }
.stats-grid span { color: rgba(255,255,255,.72); }
.section-heading { margin-bottom: 30px; }
.card-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.card-icon { display: inline-grid; place-items: center; width: 46px; height: 46px; border-radius: 14px; background: var(--red-soft); color: var(--red); font-weight: 900; margin-bottom: 22px; }
.terminal-card { background: #0b1020; color: #c7f9d4; border-radius: 24px; overflow: hidden; box-shadow: var(--shadow); }
.terminal-top { display: flex; gap: 7px; padding: 15px 18px; border-bottom: 1px solid rgba(255,255,255,.08); }
.terminal-top span { width: 11px; height: 11px; border-radius: 50%; background: rgba(255,255,255,.35); }
.terminal-card pre { margin: 0; padding: 24px; font: 700 .95rem/1.9 ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace; white-space: pre-wrap; }
.text-link { color: var(--red); font-weight: 900; }
.about-section p { font-size: 1.14rem; color: var(--muted); }

.contact-section { background: linear-gradient(180deg, #fff, #f7f8fb); border-top: 1px solid var(--line); }
.contact-grid { display: grid; grid-template-columns: .8fr 1.2fr; gap: 46px; align-items: start; }
.contact-card { margin-top: 14px; display: grid; gap: 3px; }
.contact-card a { color: var(--red); font-weight: 850; }
.inquiry-form { background: #fff; border: 1px solid var(--line); border-radius: 28px; padding: 28px; box-shadow: var(--shadow); display: grid; gap: 16px; }
.inquiry-form label { display: grid; gap: 7px; font-weight: 800; }
input, select, textarea { width: 100%; border: 1px solid #d8dce5; border-radius: 14px; padding: 13px 14px; font: inherit; background: #fff; }
input:focus, select:focus, textarea:focus { outline: 3px solid rgba(177,18,38,.15); border-color: var(--red); }
.form-note { font-size: .85rem; color: var(--muted); margin: 0; }
code { background: var(--surface); padding: 2px 5px; border-radius: 5px; }

.site-footer { background: #0d1424; color: #fff; padding: 56px 0 26px; }
.footer-grid { display: grid; grid-template-columns: 1.4fr .8fr .8fr; gap: 36px; }
.footer-copy, .footer-bottom, .site-footer p, .footer-links a { color: rgba(255,255,255,.68); }
.footer-copy { max-width: 480px; }
.footer-heading { font-size: .9rem; text-transform: uppercase; letter-spacing: .12em; color: #fff; margin-bottom: 14px; }
.footer-links { list-style: none; padding: 0; margin: 0; display: grid; gap: 8px; }
.site-footer a:hover { color: #fff; }
.footer-bottom {
  margin-top: 36px;
  padding-top: 20px;
  border-top: 1px solid rgba(255,255,255,.1);
  font-size: .9rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
}

.footer-top-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 38px;
  padding: 8px 14px;
  border: 1px solid rgba(255,255,255,.16);
  border-radius: 999px;
  color: rgba(255,255,255,.78);
  font-weight: 850;
  white-space: nowrap;
}

.footer-top-link:hover {
  color: #fff;
  border-color: rgba(255,255,255,.32);
  background: rgba(255,255,255,.06);
}
.thank-you, .page-intro { min-height: 50vh; }


@media (max-width: 1180px) {
  .site-logo-tagline { display: none; }
  .site-logo img { max-width: min(245px, 42vw); }
  .site-nav ul { gap: 11px; }
  .site-nav a:not(.button) { font-size: .84rem; }
  .button-small { padding-inline: 13px; font-size: .84rem; }
}

@media (max-width: 980px) {
  .nav-toggle { display: block; }
  .site-nav { position: absolute; left: 20px; right: 20px; top: 72px; display: none; flex-direction: column; align-items: stretch; background: #fff; padding: 18px; border: 1px solid var(--line); border-radius: 18px; box-shadow: var(--shadow); }
  .site-nav.is-open { display: flex; }
  .site-nav ul { flex-direction: column; align-items: stretch; gap: 12px; }
  .site-nav li { white-space: normal; }
  .site-nav a:not(.button) { min-height: 0; line-height: 1.2; font-size: .96rem; }
  .site-nav .button { width: 100%; }
  .hero-grid, .split-layout, .split-layout.reverse, .contact-grid { grid-template-columns: 1fr; }
  .card-grid, .stats-grid, .footer-grid { grid-template-columns: 1fr; }
  .footer-bottom { align-items: flex-start; flex-direction: column; }
  .section { padding: 68px 0; }
}

@media (max-width: 560px) {
  .container { width: min(100% - 28px, var(--max)); }
  .site-logo img { height: 42px; max-width: min(235px, 66vw); }
  .site-logo-tagline { display: none; }
  .brand-tagline { display: none; }
  h1 { font-size: 2.55rem; }
  .hero-panel { padding: 20px; border-radius: 24px; }
  .hero-actions .button { width: 100%; }
}

.no-form-contact { grid-template-columns: 1fr .85fr; align-items: center; }
.contact-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }
.contact-direct { margin-top: 0; padding: 30px; }
.contact-direct h3 { margin-bottom: 18px; }
.contact-direct p { margin: 0 0 16px; color: var(--muted); }
.contact-direct strong { color: var(--ink); }
.contact-direct .form-note { margin-top: 20px; padding-top: 18px; border-top: 1px solid var(--line); }

@media (max-width: 980px) {
  .no-form-contact { grid-template-columns: 1fr; }
}

/* PrescriptionSet showcase */
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.prescription-heading {
  max-width: 900px;
  margin: 0 auto 34px;
  text-align: center;
}
#prescriptionset,
#prescriptionset-showcase {
  scroll-margin-top: 105px;
}
.prescriptionset-showcase {
  position: relative;
  margin: 0;
  min-height: clamp(470px, 54vw, 690px);
  border: 1px solid rgba(17,24,39,.08);
  border-radius: 34px;
  overflow: hidden;
  background: #fff;
  box-shadow: var(--shadow);
  isolation: isolate;
}

.prescriptionset-showcase::before {
  display: none;
}

.prescriptionset-showcase img {
  position: absolute;
  inset: 0;
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center top;
}

.showcase-callout {
  position: absolute;
  z-index: 3;
  width: clamp(210px, 22vw, 285px);
  padding: 22px 24px;
  border: 1px solid rgba(255,255,255,.86);
  border-radius: 24px;
  background: rgba(255,255,255,.88);
  box-shadow: 0 22px 60px rgba(17,24,39,.20);
  backdrop-filter: blur(14px);
}

.callout-kicker {
  display: block;
  margin-bottom: 9px;
  color: var(--muted);
  font-size: .72rem;
  font-weight: 950;
  letter-spacing: .14em;
  line-height: 1.1;
  text-transform: uppercase;
}

.showcase-callout strong {
  display: block;
  color: var(--red);
 font-size: clamp(1.35rem, 2.1vw, 2.15rem);
  line-height: .95;
  letter-spacing: -.055em;
}

.showcase-callout span:not(.callout-kicker) {
  display: block;
  margin-top: 10px;
  color: #2b3444;
  font-size: .98rem;
  font-weight: 850;
  line-height: 1.28;
}

.showcase-callout-left {
  left: clamp(26px, 5vw, 70px);
  top: 44%;
  transform: translateY(-50%);
}

.showcase-callout-right {
  right: clamp(26px, 5vw, 70px);
  top: 44%;
  transform: translateY(-50%);
}

.showcase-caption {
  position: absolute;
  left: clamp(26px, 5vw, 70px);
  right: clamp(26px, 5vw, 70px);
  bottom: clamp(22px, 3vw, 38px);
  z-index: 3;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 18px 22px;
  border: 1px solid rgba(255,255,255,.48);
  border-radius: 22px;
  background: rgba(13,20,36,.76);
  color: #fff;
  box-shadow: 0 18px 54px rgba(13,20,36,.18);
  backdrop-filter: blur(14px);
}

.showcase-caption span {
    color: var(--gold);
  font-size: .76rem;
  font-weight: 950;
  letter-spacing: .14em;
  text-transform: uppercase;
  white-space: nowrap;
}

.showcase-caption strong {
  font-size: clamp(1rem, 1.7vw, 1.24rem);
  line-height: 1.25;
  letter-spacing: -.02em;
  text-align: right;
}

.showcase-caption {
  text-align: center;
}

.showcase-caption strong {
  text-align: center;
}

.prescription-benefits {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin-top: 22px;
}



@media (max-width: 760px) {
  .prescriptionset-showcase img.prescriptionset-logo-overlay {
    top: 12px;
    width: min(360px, 68%);
  }
}

/* Printer and hardware support */
.printer-section {
  position: relative;
  overflow: hidden;
  background: #f7f8fb;
  border-top: 1px solid rgba(231,233,239,.72);
  border-bottom: 1px solid rgba(231,233,239,.72);
}

.printer-section::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background-image: url("../img/printer-hardware-support-section.jpg");
  background-size: cover;
  background-position: center right;
  background-repeat: no-repeat;
  opacity: .74;
  filter: saturate(.86) contrast(.98);
  transform: scale(1.01);
}

.printer-section::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background:
    linear-gradient(90deg, rgba(255,255,255,.96) 0%, rgba(255,255,255,.88) 43%, rgba(255,255,255,.66) 72%, rgba(255,255,255,.82) 100%),
    radial-gradient(circle at 86% 38%, rgba(177,18,38,.10), transparent 30%);
}

.printer-grid {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 1.08fr .92fr;
  gap: 42px;
  align-items: center;
}

.printer-copy {
  max-width: 690px;
  padding: clamp(24px, 4vw, 36px);
  border: 1px solid rgba(231,233,239,.9);
  border-radius: 30px;
  background: rgba(255,255,255,.78);
  box-shadow: 0 18px 52px rgba(17,24,39,.07);
  backdrop-filter: blur(12px);
}

.printer-card {
  position: relative;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  padding: 24px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 30px;
  background: rgba(255,255,255,.72);
  box-shadow: 0 22px 64px rgba(17,24,39,.08);
  backdrop-filter: blur(14px);
}

.printer-card::before {
  content: "";
  position: absolute;
  inset: auto -20% -35% 25%;
  height: 130px;
  pointer-events: none;
  background: radial-gradient(circle, rgba(177,18,38,.13), transparent 65%);
}

.printer-chip {
  position: relative;
  z-index: 1;
  min-height: 68px;
  display: flex;
  align-items: center;
  padding: 14px 16px;
  border: 1px solid rgba(17,24,39,.08);
  border-radius: 18px;
  background: #fff;
  color: var(--ink);
  font-weight: 850;
  line-height: 1.18;
  box-shadow: 0 12px 30px rgba(17,24,39,.045);
}

@media (max-width: 980px) {
  .printer-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 560px) {
  .printer-card {
    grid-template-columns: 1fr;
    padding: 16px;
    border-radius: 24px;
  }
}

@media (max-width: 1050px) {
  .prescriptionset-showcase {
    min-height: 560px;
  }

  .showcase-callout {
    width: 220px;
    padding: 18px 20px;
  }

  .showcase-caption {
    align-items: flex-start;
    flex-direction: column;
    gap: 6px;
  }

  .showcase-caption strong {
    text-align: left;
  }
}

@media (max-width: 760px) {
  .prescription-heading {
    text-align: left;
  }

  .prescriptionset-showcase {
    min-height: 0;
    padding-bottom: 14px;
    background: #eef4fb;
  }

  .prescriptionset-showcase::before {
    display: none;
  }

  .prescriptionset-showcase img {
    position: static;
    height: auto;
    object-fit: initial;
  }

  .showcase-callout,
  .showcase-caption {
    position: relative;
    inset: auto;
    transform: none;
    width: auto;
    margin: 14px;
  }

  .showcase-caption {
    margin-bottom: 0;
  }

  .prescription-benefits {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 560px) {
  .prescriptionset-showcase {
    border-radius: 24px;
  }

  .showcase-callout,
  .showcase-caption {
    border-radius: 18px;
  }
}


/* Expanded library / barcode / specialty sections */
.card-grid-detailed {
  grid-template-columns: repeat(4, 1fr);
}

.card-grid-detailed .solution-card p {
  font-size: .96rem;
}

.library-section {
  background:
    radial-gradient(circle at 15% 20%, rgba(177,18,38,.08), transparent 30%),
    #fff;
}

.library-layout {
  align-items: center;
}

.library-card {
  display: grid;
  gap: 12px;
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: 30px;
  background: linear-gradient(180deg, #fff, #fafbfe);
  box-shadow: var(--shadow);
}

.sample-row {
  display: grid;
  gap: 6px;
  padding: 18px 20px;
  border: 1px solid rgba(17,24,39,.08);
  border-radius: 18px;
  background: #fff;
}

.sample-row span {
  color: var(--red);
  font-size: .72rem;
  font-weight: 950;
  letter-spacing: .14em;
  text-transform: uppercase;
}

.sample-row strong {
  color: var(--ink);
  font-size: clamp(1.05rem, 2vw, 1.45rem);
  line-height: 1.1;
}

.sample-serif strong {
  font-family: Georgia, "Times New Roman", serif;
}

.sample-sans strong {
  font-family: Inter, ui-sans-serif, system-ui, sans-serif;
}

.sample-mono strong,
.sample-display strong {
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
  letter-spacing: -.02em;
}

.barcode-section {
  position: relative;
  overflow: hidden;
  background: #121825;
  color: #fff;
}

.barcode-section::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: url("../img/barcode-section-bg.jpg");
  background-size: cover;
  background-position: center right;
  background-repeat: no-repeat;
  opacity: .82;
  filter: saturate(.9) contrast(.96);
  transform: scale(1.01);
  pointer-events: none;
  z-index: 0;
}

.barcode-section::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(18, 24, 37, .88) 0%, rgba(18, 24, 37, .68) 40%, rgba(18, 24, 37, .22) 72%, rgba(18, 24, 37, .10) 100%),
    radial-gradient(circle at 82% 55%, rgba(177, 18, 38, .12), transparent 24%);
  pointer-events: none;
  z-index: 1;
}

.barcode-grid {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: .95fr 1.05fr;
  gap: 42px;
  align-items: center;
}

.barcode-copy {
  max-width: 650px;
  padding: 30px;
  border: 1px solid rgba(255,255,255,.12);
  border-radius: 30px;
  background: rgba(10, 16, 30, .52);
  box-shadow: 0 24px 80px rgba(0,0,0,.22);
  backdrop-filter: blur(12px);
}

.barcode-section .eyebrow {
  color: var(--gold);
}

.barcode-section .section-lede {
  color: rgba(255,255,255,.76);
}

.barcode-section .text-link {
  color: #ffd77d;
}

.barcode-list {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: flex-start;
}

.barcode-list span {
  display: inline-flex;
  align-items: center;
  min-height: 46px;
  padding: 11px 15px;
  border: 1px solid rgba(255,255,255,.14);
  border-radius: 999px;
  background: rgba(10,16,30,.38);
  backdrop-filter: blur(10px);
  color: #fff;
  font-weight: 850;
  box-shadow: 0 18px 42px rgba(0,0,0,.18);
}

.specialty-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

.specialty-grid article {
  padding: 26px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: 0 14px 40px rgba(17,24,39,.05);
}

.specialty-grid h3 {
  margin-bottom: 10px;
}

.specialty-grid p {
  margin: 0;
  color: var(--muted);
}



@media (max-width: 1050px) {
  .card-grid-detailed {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 980px) {
  .barcode-grid,
  .specialty-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 640px) {
  .card-grid-detailed {
    grid-template-columns: 1fr;
  }

  .library-card {
    padding: 14px;
    border-radius: 24px;
  }
}


/* Footer logo + protected contact links */
.footer-logo-link {
  display: inline-flex;
  align-items: center;
  width: fit-content;
  max-width: 280px;
  padding: 10px 12px;
  border-radius: 16px;
  background: #fff;
  box-shadow: 0 18px 46px rgba(0,0,0,.18);
}

.footer-logo {
  display: block;
  width: min(250px, 68vw);
  height: auto;
}

.anti-spam-note {
  max-width: 620px;
  margin: 16px 0 0;
  color: var(--muted);
  font-size: .9rem;
}

[data-email-link] {
  overflow-wrap: anywhere;
}

.site-footer [data-email-link] {
  color: rgba(255,255,255,.78);
  font-weight: 850;
}

.site-footer [data-email-link]:hover {
  color: #fff;
}

/* QwikTips legacy barcode guide page */

.qwiktips-paper-page {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(circle at 88% 8%, rgba(177,18,38,.12), transparent 30%),
    linear-gradient(180deg, #fff 0%, #f7f8fb 58%, #fff 100%);
}

.qwiktips-paper-page::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  opacity: .075;
  background-image:
    linear-gradient(90deg, #111 1px, transparent 1px),
    linear-gradient(#111 1px, transparent 1px);
  background-size: 44px 44px;
  -webkit-mask-image: radial-gradient(ellipse at 50% 42%, #000 0 48%, rgba(0,0,0,.68) 68%, transparent 100%);
  mask-image: radial-gradient(ellipse at 50% 42%, #000 0 48%, rgba(0,0,0,.68) 68%, transparent 100%);
}

.qwiktips-paper-page::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    linear-gradient(180deg, rgba(255,255,255,.78) 0%, rgba(255,255,255,0) 12%, rgba(255,255,255,0) 82%, rgba(255,255,255,.86) 100%),
    radial-gradient(ellipse at 50% 44%, rgba(255,255,255,0) 0 48%, rgba(255,255,255,.45) 100%);
}

.qwiktips-hero,
.qwiktips-section {
  position: relative;
  z-index: 1;
  background: transparent;
}

.qwiktips-section {
  padding-top: 34px;
}

.qwiktips-hero .container,
.qwiktips-section .container {
  position: relative;
  z-index: 2;
}

.page-hero {
  background:
    radial-gradient(circle at 85% 15%, rgba(177,18,38,.12), transparent 34%),
    linear-gradient(180deg, #fff, #f7f8fb);
}


.page-hero.qwiktips-hero {
  background: transparent;
}
.page-hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 360px;
  gap: 42px;
  align-items: center;
}

.page-hero h1 {
  max-width: 820px;
  margin-bottom: 18px;
}

.page-hero .lead {
  max-width: 760px;
}

.page-hero-card {
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: 28px;
  background: rgba(255,255,255,.82);
  box-shadow: var(--shadow);
  backdrop-filter: blur(14px);
}

.page-hero-card strong {
  display: block;
  margin-bottom: 10px;
  font-size: 1.08rem;
}

.page-hero-card p {
  margin: 0 0 20px;
  color: var(--muted);
}


.narrow-heading {
  max-width: 760px;
}

.qwiktips-groups {
  display: grid;
  gap: 26px;
}

.qwiktip-group {
  display: grid;
  grid-template-columns: 270px minmax(0, 1fr);
  gap: 24px;
  padding: 26px;
  border: 1px solid var(--line);
  border-radius: 30px;
  background: linear-gradient(135deg, #fff, #fafbfe);
  box-shadow: 0 16px 48px rgba(17,24,39,.06);
}

.qwiktip-group-intro h3 {
  margin: 0 0 10px;
  font-size: 1.42rem;
}

.qwiktip-group-intro p {
  margin: 0;
  color: var(--muted);
}

.qwiktip-card-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.qwiktip-card {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 22px;
  min-height: 190px;
  padding: 20px;
  border: 1px solid rgba(231,233,239,.9);
  border-radius: 22px;
  background: #fff;
  box-shadow: 0 12px 34px rgba(17,24,39,.045);
}

.qwiktip-card h4 {
  margin: 12px 0 8px;
  font-size: 1.08rem;
}

.qwiktip-card p {
  margin: 0;
  color: var(--muted);
  font-size: .96rem;
}

.file-pill {
  display: inline-flex;
  align-items: center;
  width: fit-content;
  padding: 6px 10px;
  border-radius: 999px;
  background: var(--red-soft);
  color: var(--red);
  font-size: .74rem;
  font-weight: 900;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.qwiktip-actions {
  display: flex;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
}

@media (max-width: 1080px) {
  .page-hero-grid,
  .qwiktip-group {
    grid-template-columns: 1fr;
  }

  .page-hero-card {
    max-width: 680px;
  }
}

@media (max-width: 720px) {
  .qwiktip-card-grid {
    grid-template-columns: 1fr;
  }

  .qwiktip-group {
    padding: 18px;
    border-radius: 24px;
  }
}

/* About page and since-1986 additions */
.stats-grid-four {
  grid-template-columns: repeat(4, 1fr);
}

.about-hero {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(circle at top right, rgba(177,18,38,.10), transparent 34%),
    linear-gradient(180deg, #fff 0%, #fbfbfd 70%, var(--surface) 100%);
}

.about-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  opacity: .06;
  pointer-events: none;
  background-image:
    linear-gradient(90deg, #111 1px, transparent 1px),
    linear-gradient(#111 1px, transparent 1px);
  background-size: 44px 44px;
  -webkit-mask-image: linear-gradient(180deg, transparent 0%, #000 14%, #000 55%, transparent 96%);
  mask-image: linear-gradient(180deg, transparent 0%, #000 14%, #000 55%, transparent 96%);
}

.about-hero .container {
  position: relative;
  z-index: 1;
}

.about-since-card strong {
  color: var(--red);
  font-size: clamp(2rem, 5vw, 3.4rem);
  letter-spacing: -.06em;
}
.about-section .eyebrow {
  color: var(--red);
}
.about-page-section {
  background: var(--surface);
}

.about-page-layout {
  align-items: stretch;
}

.about-story-card,
.about-timeline {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 30px;
  padding: clamp(24px, 4vw, 40px);
  box-shadow: 0 18px 52px rgba(17,24,39,.06);
}

.about-story-card p:not(.eyebrow) {
  color: var(--muted);
  font-size: 1.08rem;
}

.about-timeline {
  display: grid;
  gap: 24px;
}

.timeline-item {
  display: grid;
  grid-template-columns: 90px 1fr;
  gap: 18px;
  align-items: start;
}

.timeline-item span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  border-radius: 999px;
  background: var(--red-soft);
  color: var(--red);
  font-weight: 900;
  font-size: .86rem;
  letter-spacing: .04em;
}

.timeline-item h3 {
  margin-bottom: 8px;
}

.timeline-item p {
  margin: 0;
  color: var(--muted);
}

.about-values-section {
  background: #fff;
}

.about-card-grid {
  grid-template-columns: repeat(4, 1fr);
}

@media (max-width: 1080px) {
  .stats-grid-four,
  .about-card-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 980px) {
  .site-nav {
    top: 72px;
  }
}

@media (max-width: 700px) {
  .stats-grid-four,
  .about-card-grid {
    grid-template-columns: 1fr;
  }

  .timeline-item {
    grid-template-columns: 1fr;
  }

  .timeline-item span {
    justify-content: flex-start;
    width: max-content;
    padding-inline: 16px;
  }
}

@media (max-width: 1080px) and (min-width: 981px) {
  .nav-toggle { display: block; }
  .site-nav { position: absolute; left: 20px; right: 20px; top: 72px; display: none; flex-direction: column; align-items: stretch; background: #fff; padding: 18px; border: 1px solid var(--line); border-radius: 18px; box-shadow: var(--shadow); }
  .site-nav.is-open { display: flex; }
  .site-nav ul { flex-direction: column; align-items: stretch; gap: 12px; }
  .site-nav li { white-space: normal; }
  .site-nav a:not(.button) { min-height: 0; line-height: 1.2; font-size: .96rem; }
  .site-nav .button { width: 100%; }
}

/* v26: simplified About page treatment with shared graph-paper background */
.about-paper-page {
  background:
    radial-gradient(circle at 88% 8%, rgba(177,18,38,.10), transparent 30%),
    linear-gradient(180deg, #fff 0%, #f7f8fb 62%, #fff 100%);
}

.about-simple-hero {
  position: relative;
  z-index: 1;
  background: transparent;
}

.narrow-page-intro {
  max-width: 920px;
}

.about-simple-section {
  position: relative;
  z-index: 1;
  background: transparent;
  padding-top: clamp(24px, 5vw, 64px);
}

.about-simple-card {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: minmax(0, 1.45fr) minmax(300px, .75fr);
  gap: clamp(28px, 5vw, 58px);
  align-items: start;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 30px;
  padding: clamp(28px, 5vw, 54px);
  box-shadow: 0 18px 48px rgba(17,24,39,.055);
}

.about-simple-main {
  max-width: 780px;
}

.about-simple-main h2,
.about-simple-aside h2 {
  margin-bottom: 18px;
}

.about-simple-main p {
  color: var(--muted);
  font-size: 1.08rem;
}

.about-simple-main p:last-child {
  margin-bottom: 0;
}

.about-simple-aside {
  background: linear-gradient(180deg, rgba(251,251,253,.92), rgba(255,255,255,.94));
  border: 1px solid var(--line);
  border-radius: 24px;
  padding: clamp(22px, 3vw, 30px);
  backdrop-filter: blur(6px);
}

.compact-check-list {
  margin-top: 12px;
}

.compact-check-list li {
  padding: 10px 0 10px 30px;
}

@media (max-width: 920px) {
  .about-simple-card {
    grid-template-columns: 1fr;
  }

  .about-simple-main {
    max-width: none;
  }
}


/* v27: integrated section artwork */
.about-hero-copy {
  max-width: 700px;
}

.about-simple-hero {
  position: relative;
  z-index: 1;
  background: transparent;
}

.about-hero-layout {
  display: grid;
  grid-template-columns: minmax(0, .95fr) minmax(300px, .9fr);
  gap: clamp(28px, 5vw, 60px);
  align-items: center;
}

.about-hero-copy-panel {
  padding: clamp(26px, 4vw, 40px);
  border: 1px solid rgba(231,233,239,.92);
  border-radius: 30px;
  background: rgba(255,255,255,.78);
  box-shadow: 0 20px 60px rgba(17,24,39,.08);
  backdrop-filter: blur(12px);
}

.about-hero-figure {
  margin: 0;
  border: 1px solid rgba(231,233,239,.92);
  border-radius: 30px;
  overflow: hidden;
  background: rgba(255,255,255,.82);
  box-shadow: 0 20px 60px rgba(17,24,39,.08);
}

.about-hero-figure img {
  display: block;
  width: 100%;
  height: auto;
}

.about-simple-card-artwork {
  overflow: hidden;
}

.about-simple-card-artwork::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: url("../img/about-section-bg.jpg");
  background-size: 40% auto;
  background-position: 18% center;
  background-repeat: no-repeat;
  opacity: .28;
  filter: saturate(.94) contrast(.99);
  pointer-events: none;
  z-index: 0;
}

.about-simple-card-artwork::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(255,255,255,.92) 0%, rgba(255,255,255,.88) 38%, rgba(255,255,255,.82) 64%, rgba(255,255,255,.92) 100%);
  pointer-events: none;
  z-index: 1;
}

.about-simple-card-artwork > * {
  position: relative;
  z-index: 2;
}

@media (max-width: 920px) {
  .printer-grid,
  .about-hero-layout {
    grid-template-columns: 1fr;
  }

  .about-hero-figure {
    max-width: 760px;
  }

  .about-simple-card-artwork::before {
    background-size: 70% auto;
    background-position: center 24px;
    opacity: .18;
  }

  .about-simple-card-artwork::after {
    background: linear-gradient(180deg, rgba(255,255,255,.94) 0%, rgba(255,255,255,.90) 100%);
  }

  .printer-section::after {
    background: rgba(255,255,255,.88);
  }
}


/* v33: wide About page photographic hero */
.about-photo-hero {
  position: relative;
  overflow: hidden;
  min-height: clamp(430px, 48vw, 640px);
  display: flex;
  align-items: center;
  background: #f7f5ef;
}

.about-photo-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: url("../img/about-section-hero-bg.jpg");
  background-size: cover;
  background-position: center center;
  background-repeat: no-repeat;
  opacity: 1;
  filter: saturate(.94) contrast(.98);
  pointer-events: none;
  z-index: 0;
}

.about-photo-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(247,245,239,.04) 0%, rgba(247,245,239,.08) 38%, rgba(247,245,239,.46) 58%, rgba(247,245,239,.84) 82%, rgba(247,245,239,.92) 100%),
    linear-gradient(180deg, rgba(255,255,255,.10) 0%, rgba(255,255,255,.16) 52%, rgba(255,255,255,.58) 78%, rgba(247,248,251,.98) 100%);
  pointer-events: none;
  z-index: 1;
}

.about-photo-hero-inner {
  position: relative;
  z-index: 2;
  display: flex;
  justify-content: flex-end;
}

.about-photo-hero .about-hero-copy-panel {
  width: min(560px, 48%);
  margin-left: auto;
  background: rgba(255,255,255,.76);
  border-color: rgba(231,233,239,.78);
  box-shadow: 0 24px 72px rgba(17,24,39,.10);
  backdrop-filter: blur(10px);
}

.about-photo-hero .lead {
  color: #4b5563;
}

.about-photo-hero-inner::after {
  content: "";
  position: absolute;
  left: 50%;
  right: 0;
  bottom: calc(clamp(430px, 48vw, 640px) * -0.02);
  height: clamp(90px, 12vw, 170px);
  transform: translateX(-50%);
  width: 100vw;
  background: linear-gradient(180deg, rgba(247,248,251,0), rgba(247,248,251,.96) 78%, rgba(247,248,251,1));
  pointer-events: none;
  z-index: -1;
}

@media (max-width: 920px) {
  .about-photo-hero {
    min-height: 0;
    padding-top: 260px;
    background-position: center top;
  }

  .about-photo-hero::before {
    background-size: auto 310px;
    background-position: center top;
  }

  .about-photo-hero::after {
    background:
      linear-gradient(180deg, rgba(247,245,239,.14) 0%, rgba(247,245,239,.46) 225px, rgba(247,248,251,.98) 330px, rgba(247,248,251,1) 100%);
  }

  .about-photo-hero-inner::after {
    display: none;
  }

  .about-photo-hero-inner {
    display: block;
  }

  .about-photo-hero .about-hero-copy-panel {
    width: 100%;
  }
}

@media (max-width: 560px) {
  .about-photo-hero {
    padding-top: 220px;
  }

  .about-photo-hero::before {
    background-size: auto 260px;
  }
}

/* v35: tighter PrescriptionSet intro and full-width AGL copy */
.pharmacy-section {
  padding-top: 46px;
}

.prescription-heading {
  max-width: none;
  margin: 0 0 34px;
}

.prescription-heading h2 {
  max-width: 900px;
  margin-inline: auto;
  text-align: center;
}

.prescription-heading .section-lede {
  max-width: none;
  margin: 22px 0 0;
  text-align: left;
}

@media (max-width: 760px) {
  .pharmacy-section {
    padding-top: 42px;
  }

  .prescription-heading h2 {
    margin-inline: 0;
    text-align: left;
  }
}
.rx-label-primary .label-count {
  display: inline !important;
  color: var(--red);
  font: inherit;
  font-size: 1em;
  font-weight: inherit;
  line-height: inherit;
  letter-spacing: inherit;
  text-transform: none !important;
  white-space: nowrap;
}

/* Specialized Solutions signature background */
.specialty-section {
  position: relative;
  overflow: hidden;
  background: #fff;
}

.specialty-section::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background-image: url("../img/signature-specialty-bg.jpg");
  background-repeat: no-repeat;
  background-position: center 54%;
  background-size: min(1120px, 94%) auto;
  opacity: .14;
  filter: saturate(1.04) contrast(1.08);
}

.specialty-section::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background: rgba(255, 255, 255, .35);
}

.specialty-section > .container {
  position: relative;
  z-index: 1;
}

.specialty-grid article {
  background: rgba(255, 255, 255, .56);
  backdrop-filter: blur(3px);
}
/* Subtle hero-card motion */
@keyframes hero-card-float {
  0%, 100% {
    transform: translateY(0) rotate(0deg);
  }

  50% {
    transform: translateY(-5px) rotate(-.35deg);
  }
}

.hero-panel .rx-label,
.hero-panel .barcode-card {
  animation: hero-card-float 7.5s ease-in-out infinite;
  will-change: transform;
}

.hero-panel .rx-label-primary {
  animation-delay: 0s;
}

.hero-panel .rx-label-blue {
  animation-delay: -1.8s;
}

.hero-panel .rx-label-green {
  animation-delay: -3.6s;
}

.hero-panel .barcode-card-red {
  animation-delay: -5.4s;
}

/* Slight lift when hovering the whole hero panel */
.hero-panel {
  transition: transform .22s ease, box-shadow .22s ease;
}

.hero-panel:hover {
  transform: translateY(-3px);
  box-shadow:
    0 34px 96px rgba(17, 24, 39, .22),
    0 0 0 1px rgba(244, 182, 64, .34),
    0 0 44px rgba(244, 182, 64, .32);
}

/* Respect reduced-motion settings */
@media (prefers-reduced-motion: reduce) {
  .hero-panel,
  .hero-panel:hover,
  .hero-panel .rx-label,
  .hero-panel .barcode-card {
    animation: none;
    transform: none;
    transition: none;
  }
}

.hero-panel-link {
  display: block;
  color: inherit;
  text-decoration: none;
  cursor: pointer;
}

.hero-panel-link:focus-visible {
  outline: 3px solid rgba(244, 182, 64, .75);
  outline-offset: 5px;
}