/* ═══════════════════════════════════════════════════════
   RESOURCE-GUIDE.CSS — /resource-guide/ Client Resource Guide

   The .ob- class prefix is historical: the page lived at
   /onboarding/ before it was renamed. The classes were left as
   they are rather than churn several hundred selectors across
   this file, resource-guide.js and build_web_guide.py.

   The content of this page is carried over verbatim from the
   print guide (client-resource-guide.html, form 1309R01-1126),
   which means it arrives wearing the print component vocabulary:
   .sh .ov .intro .t .cols .cards .steps .note .call .fine
   .pill .qr .doc .swim .dir .promise .lt

   This sheet re-homes that vocabulary on the web: point sizes
   become fluid px, fixed inch grids become responsive ones, and
   the print fonts (Gotham Rounded / Newsreader) give way to the
   site's DM Sans / Playfair Display. Nothing here is loaded from
   the print file — guide-css.css is deliberately NOT shipped.
   ═══════════════════════════════════════════════════════ */

.ob {
  /* Tones the print guide uses that the site tokens don't carry */
  --tint:   #e2dfff;
  --pale:   #f6f9ff;
  --mist:   #fdf2f8;
  --rose:   #e4bdc2;
  --mauve:  #5b3f44;
  --mauve2: #8f6f73;
  --hair:   1px solid #e4bdc2;

  --ob-measure: 920px;
  --ob-stick:   180px; /* utility + global + local nav, for scroll offsets */
  --ob-toc-w:   272px; /* sticky table-of-contents rail */
  --ob-toc-gap: clamp(32px, 4vw, 56px);
  --ob-toc-top: 104px; /* 78px collapsed nav + breathing room */

  background: var(--color-bg);
  /* The section washes bleed past the container; clip (unlike hidden)
     trims that overflow without breaking position: sticky. */
  overflow-x: clip;
  color: var(--mauve);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.65;
  letter-spacing: -0.005em;
}

/* ───────────────────────────────────────────────────────
   HERO
   ─────────────────────────────────────────────────────── */

/* The page already clears the fixed nav stack (194px of offset above
   <main>), so the hero only needs its own breathing room on top. */
.ob .ob-hero {
  padding: clamp(40px, 5vw, 64px) 0 clamp(44px, 5.5vw, 68px);
  color: #fff;
  background: #39378f; /* fallback */
  background:
    radial-gradient(ellipse 55% 80% at 92% 10%, rgba(232, 32, 101, 0.32), transparent 70%),
    radial-gradient(ellipse 50% 70% at 78% 100%, rgba(143, 202, 235, 0.22), transparent 70%),
    linear-gradient(125deg, #24225f 0%, #39378f 46%, #5554ad 100%);
}

.ob .ob-hero__inner {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 300px;
  gap: clamp(28px, 4vw, 56px);
  align-items: center;
}

.ob .ob-hero__overline {
  font-size: var(--text-overline);
  font-weight: 700;
  letter-spacing: var(--tracking-widest);
  text-transform: uppercase;
  color: #ff9ec0;
  margin-bottom: 14px;
}

.ob .ob-hero__title {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(38px, 5.6vw, 68px);
  line-height: 1.0;
  letter-spacing: var(--tracking-tight);
  color: #fff;
  margin: 0;
}

.ob .ob-hero__title em {
  font-style: italic;
  display: block;
  color: #ffc2d6;
}

.ob .ob-hero__lede {
  font-family: var(--font-display);
  font-style: italic;
  font-size: clamp(18px, 2vw, 23px);
  line-height: 1.4;
  color: rgba(255, 255, 255, 0.92);
  max-width: 34ch;
  margin: 22px 0 0;
}

.ob .ob-hero__sub {
  font-size: var(--text-sm);
  color: rgba(255, 255, 255, 0.74);
  margin: 12px 0 0;
}

.ob .ob-hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 28px;
}

/* .btn-purple ships with roomier padding (20/48) than .btn-secondary
   (16/40) beside it. Match them so the pair sits on one baseline. */
.ob .ob-hero__actions .btn-purple,
.ob-foot .btn-purple {
  padding: 16px 40px;
}

/* On the purple hero the buttons invert: solid white, then outline */
.ob .ob-hero__actions .btn-purple {
  background: #fff;
  color: var(--color-purple);
  font-weight: 600;
}
.ob .ob-hero__actions .btn-purple:hover { background: #ffe3ec; color: var(--color-purple); }

.ob .ob-hero__actions .btn-secondary {
  color: #fff;
  border-color: rgba(255, 255, 255, 0.7);
}
.ob .ob-hero__actions .btn-secondary:hover { background: rgba(255, 255, 255, 0.12); border-color: #fff; }

.ob .ob-hero a:focus-visible { outline: 2px solid #fff; outline-offset: 3px; }

/* Contact card, lifted from the print cover's contact strip */
.ob .ob-hero__card {
  padding: 22px 24px;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.2);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.12);
}

.ob .ob-hero__card-k {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: var(--tracking-widest);
  text-transform: uppercase;
  color: #ff9ec0;
  margin-bottom: 6px;
}

.ob .ob-hero__card-k--2 {
  margin-top: 18px;
  padding-top: 16px;
  border-top: 1px solid rgba(255, 255, 255, 0.18);
}

.ob .ob-hero__card-num {
  display: block;
  font-size: 23px;
  font-weight: 500;
  line-height: 1.25;
  color: #fff;
  text-decoration: none;
}

.ob .ob-hero__card-num:hover { color: #ffc2d6; }
.ob .ob-hero__card-num--sm { font-size: 19px; }

.ob .ob-hero__card-mail {
  display: block;
  font-size: 13px;
  color: #bfe2f5;
  text-decoration: none;
  margin-top: 3px;
  overflow-wrap: anywhere;
}

.ob .ob-hero__card-mail:hover { color: #fff; }

.ob .ob-hero__card-v2 {
  display: block;
  font-size: 13px;
  color: #bfe2f5;
  text-decoration: none;
  margin-top: 2px;
}
.ob a.ob-hero__card-v2:hover { color: #fff; }

/* ───────────────────────────────────────────────────────
   TIER 3 SECTION NAV — eight tabs, scrollable on small screens
   ─────────────────────────────────────────────────────── */

.local-nav--ob .local-nav__items { gap: 2px; }
.local-nav--ob .local-nav__items a { padding: 0 13px; }

/* nav.css hides .local-nav below 1024px. For a 22-section reference
   document that would leave phones with no way to jump between
   sections, so this page — and only this page, via the --ob
   modifier — keeps it as a scrollable tab strip. */
@media (max-width: 1023px) {
  .local-nav--ob {
    display: block;
    height: 52px;
    background: rgba(255, 255, 255, 0.94);
    backdrop-filter: var(--glass-blur-sm);
    -webkit-backdrop-filter: var(--glass-blur-sm);
    border-top: 1px solid rgba(57, 55, 143, 0.08);
  }
  .nav-system.is-scrolled .local-nav--ob {
    height: 52px;
    background: rgba(27, 42, 74, 0.94);
    border-top-color: rgba(255, 255, 255, 0.12);
  }
  .local-nav--ob .local-nav__inner {
    justify-content: flex-start;
    overflow-x: auto;
    scrollbar-width: none;
    -webkit-overflow-scrolling: touch;
    padding: 0 16px;
  }
  .local-nav--ob .local-nav__inner::-webkit-scrollbar { display: none; }
  .local-nav--ob .local-nav__items { flex: none; gap: 0; }
  .local-nav--ob .local-nav__items a { padding: 0 12px; font-size: 14px; }
  .local-nav--ob .local-nav__logo,
  .local-nav--ob .local-nav__cta { display: none; }
  .local-nav--ob .local-nav__progress { display: block; }
}

/* ───────────────────────────────────────────────────────
   BODY SHELL
   ─────────────────────────────────────────────────────── */

.ob-body {
  max-width: calc(var(--ob-toc-w) + var(--ob-toc-gap) + var(--ob-measure) + var(--section-padding-x) * 2);
  padding-bottom: 0;
}

/* ───────────────────────────────────────────────────────
   TWO-COLUMN LAYOUT + STICKY TABLE OF CONTENTS
   Left rail is the TOC; it sticks under the collapsed nav
   (78px once scrolled) and scrolls on its own if the list
   is taller than the viewport. Below 1024px the rail is
   dropped: the scrollable tab strip in the local nav already
   does the jumping there.
   ─────────────────────────────────────────────────────── */

.ob-layout {
  display: grid;
  grid-template-columns: var(--ob-toc-w) minmax(0, 1fr);
  column-gap: var(--ob-toc-gap);
  align-items: start;
}

.ob-content { min-width: 0; }

.ob-toc {
  position: sticky;
  z-index: 2; /* above the section washes, which are positioned too */
  top: var(--ob-toc-top);
  max-height: calc(100vh - var(--ob-toc-top) - 24px);
  overflow-y: auto;
  overscroll-behavior: contain;
  scrollbar-width: thin;
  scrollbar-color: var(--rose) transparent;
  margin-top: clamp(32px, 4vw, 52px);
  padding: 22px 14px 18px;
  background: #fff;
  border: 1px solid rgba(57, 55, 143, 0.10);
  border-radius: 18px;
  box-shadow: 0 18px 40px -26px rgba(57, 55, 143, 0.45);
  font-size: 15px;
  line-height: 1.4;
}

.ob-toc__k {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--mauve2);
  margin: 0 0 14px 12px;
}

.ob-toc__list,
.ob-toc__sub { list-style: none; margin: 0; padding: 0; }

.ob-toc__list { display: grid; gap: 4px; }

.ob .ob-toc a {
  display: block;
  text-decoration: none;
  color: var(--mauve);
  border-bottom: none;
  transition: background-color 0.18s ease, color 0.18s ease, transform 0.18s ease;
}

.ob .ob-toc a:focus-visible {
  outline: 2px solid var(--color-coral);
  outline-offset: 2px;
}

/* Top-level entry: colour dot + label */
.ob .ob-toc .ob-toc__top {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 12px;
  border-radius: 12px;
  font-weight: 600;
  font-size: 15.5px;
  color: var(--on-surface);
}

.ob .ob-toc .ob-toc__top::before {
  content: "";
  flex: none;
  width: 11px;
  height: 11px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--g1), var(--g2));
  box-shadow: 0 0 0 3px var(--tint);
  transition: transform 0.18s ease;
}

.ob .ob-toc .ob-toc__top:hover { background: var(--tint); color: var(--ink); }
.ob .ob-toc .ob-toc__top:hover::before { transform: scale(1.2); }

/* Section being read: filled with its own gradient */
.ob .ob-toc .ob-toc__group.is-open > .ob-toc__top {
  background: linear-gradient(115deg, var(--g1), var(--g2));
  color: #fff;
  box-shadow: 0 8px 18px -12px var(--g1);
}

.ob .ob-toc .ob-toc__group.is-open > .ob-toc__top::before {
  background: #fff;
  box-shadow: 0 0 0 3px rgba(255, 255, 255, 0.30);
}

.ob-toc__sub {
  display: grid;
  gap: 2px;
  margin: 8px 0 10px 17px;
  padding-left: 12px;
  border-left: 2px solid var(--tint);
}

.ob .ob-toc .ob-toc__sub a {
  padding: 7px 12px;
  border-radius: 9px;
  font-size: 14px;
  line-height: 1.35;
  color: var(--mauve);
}

.ob .ob-toc .ob-toc__sub a:hover {
  background: var(--tint);
  color: var(--ink);
  transform: translateX(2px);
}

.ob .ob-toc .ob-toc__sub a.is-active {
  background: var(--tint);
  color: var(--ink);
  font-weight: 600;
  box-shadow: inset 3px 0 0 var(--g2);
}

/* With JS, only the section being read stays open; without JS
   every group is listed, so the TOC still works as plain anchors. */
.ob-toc.is-enhanced .ob-toc__group:not(.is-open) > .ob-toc__sub { display: none; }

.ob-toc__quick {
  margin-top: 12px;
  padding-top: 14px;
  border-top: 1px solid rgba(57, 55, 143, 0.10);
  display: grid;
  gap: 6px;
}

.ob .ob-toc .ob-toc__quick a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 9px 14px;
  border-radius: 11px;
  border: 1px solid rgba(57, 55, 143, 0.18);
  font-size: 14px;
  font-weight: 600;
  color: var(--color-purple);
}

.ob .ob-toc .ob-toc__quick a:hover { background: var(--pale); border-color: var(--color-purple); }

.ob .ob-toc .ob-toc__quick a.is-primary {
  background: var(--color-purple);
  border-color: var(--color-purple);
  color: #fff;
}

.ob .ob-toc .ob-toc__quick a.is-primary:hover { background: var(--color-coral); border-color: var(--color-coral); }

.ob .ob-toc .ob-toc__quick a.is-quiet {
  border-color: transparent;
  color: var(--mauve2);
  font-weight: 500;
  padding: 6px 14px;
}

.ob .ob-toc .ob-toc__quick a.is-quiet:hover { background: transparent; color: var(--color-coral); }

@media (max-width: 1023px) {
  .ob-layout { display: block; }
  .ob-toc { display: none; }
}

.ob-group + .ob-group { margin-top: 0; }

.ob .sec,
.ob .sub {
  scroll-margin-top: var(--ob-stick);
  padding: clamp(40px, 5.5vw, 72px) 0 0;
}

.ob .sec:first-child { padding-top: clamp(32px, 4vw, 52px); }

/* A new tab group gets a visible seam; continuation sections don't */
.ob .sec { border-top: 1px solid rgba(57, 55, 143, 0.10); }
.ob .sub { border-top: none; }
.ob .ob-group > .sec:first-child { border-top-width: 2px; border-top-color: var(--color-purple); }
.ob .ob-group:first-child > .sec:first-child { border-top: none; }

/* ───────────────────────────────────────────────────────
   SECTION HEADER
   ─────────────────────────────────────────────────────── */

/* Each of the eight tabs owns a colour family so a reader always
   knows where they are: --g1/--g2 are the banner gradient (dark
   enough for white type), --tint a pale wash of the same hue, and
   --ink a text-safe version for small labels on white. The same
   variables drive the TOC rail, so banner and rail always agree. */
.ob-group[data-ob-group="start"],     .ob-toc__group[data-toc-group="directory"]  { --g1:#39378F; --g2:#5E5CB8; --tint:#ecebfa; --ink:#39378F; --wash:#f7f7fd; }
.ob-group[data-ob-group="req"],       .ob-toc__group[data-toc-group="req"]        { --g1:#B8004B; --g2:#E82065; --tint:#fdebf1; --ink:#B8004B; --wash:#fff7fa; }
.ob-group[data-ob-group="uti"],       .ob-toc__group[data-toc-group="uti"]        { --g1:#00694D; --g2:#00946F; --tint:#e4f5ef; --ink:#00694D; --wash:#f3fbf7; }
.ob-group[data-ob-group="ship"],      .ob-toc__group[data-toc-group="ship"]       { --g1:#1A5F8F; --g2:#3290C4; --tint:#e6f2fa; --ink:#1A5F8F; --wash:#f3f8fc; }
.ob-group[data-ob-group="supplies"],  .ob-toc__group[data-toc-group="supplies"]   { --g1:#586708; --g2:#7F9115; --tint:#f1f5dd; --ink:#586708; --wash:#f9fbef; }
.ob-group[data-ob-group="results"],   .ob-toc__group[data-toc-group="results"]    { --g1:#6A2A8C; --g2:#A63E9E; --tint:#f5e9f6; --ink:#6A2A8C; --wash:#faf3fb; }
.ob-group[data-ob-group="billing"],   .ob-toc__group[data-toc-group="billing"]    { --g1:#1B2A4A; --g2:#3E5384; --tint:#e8ecf5; --ink:#1B2A4A; --wash:#f4f6fa; }
.ob-group[data-ob-group="prostatitis"], .ob-toc__group[data-toc-group="prostatitis"] { --g1:#0B6B75; --g2:#1B9AA6; --tint:#e0f3f5; --ink:#0B6B75; --wash:#f1f9fa; }

/* Banner: the first-level header of every section */
.ob .sec > .sh {
  display: flex;
  align-items: center;
  gap: 18px;
  margin: 0 0 28px;
  padding: 22px 28px;
  border-radius: 16px;
  background:
    radial-gradient(ellipse 55% 140% at 100% 0%, rgba(255, 255, 255, 0.20), transparent 62%),
    linear-gradient(115deg, var(--g1, #39378F) 0%, var(--g2, #5E5CB8) 100%);
  /* a touch deeper than the TOC gradient so it holds against the wash */
  background:
    radial-gradient(ellipse 55% 140% at 100% 0%, rgba(255, 255, 255, 0.16), transparent 62%),
    linear-gradient(115deg, color-mix(in srgb, var(--g1, #39378F) 88%, #000) 0%, color-mix(in srgb, var(--g2, #5E5CB8) 84%, #000) 100%);
  box-shadow: 0 12px 26px -14px var(--g1, #39378F);
  color: #fff;
}

/* Sub-sections: a quieter version — tinted card, colour bar on the left */
.ob .sub > .sh {
  display: flex;
  align-items: center;
  gap: 16px;
  margin: 0 0 24px;
  padding: 16px 22px;
  border-radius: 12px;
  border-left: 6px solid var(--g1, #39378F);
  background: var(--tint, #ecebfa);
  background: color-mix(in srgb, var(--g2, #5E5CB8) 18%, #fff);
  box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--g2, #5E5CB8) 22%, transparent);
}

.ob .sh.sm { margin-top: 36px; }

.ob .well {
  flex: none;
  width: 48px;
  height: 48px;
  border-radius: 13px;
  background: var(--tint);
  display: flex;
  align-items: center;
  justify-content: center;
}

.ob .sec > .sh .well { background: rgba(255, 255, 255, 0.18); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.28); }
.ob .sub > .sh .well { background: #fff; }

.ob .well svg {
  width: 24px;
  height: 24px;
  color: var(--color-purple);
  stroke-width: 1.6;
}

.ob .sec > .sh .well svg { color: #fff; }
.ob .sub > .sh .well svg { color: var(--ink, var(--color-purple)); }

.ob .ov {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: var(--tracking-widest);
  text-transform: uppercase;
  color: var(--color-coral-dark);
  margin-bottom: 6px;
}

.ob .sec > .sh .ov { color: rgba(255, 255, 255, 0.82); }
.ob .sub > .sh .ov { color: var(--ink, var(--color-coral-dark)); }
.ob .sec > .sh h1 { color: #fff; }
.ob .sub > .sh h1 { color: var(--ink, var(--color-purple)); font-size: clamp(23px, 2.6vw, 30px); }

/* Each tab group sits on its own full-bleed wash of the section hue.
   The band is painted with an oversized box-shadow and clipped to the
   group's own height, so it runs edge to edge without an extra wrapper
   and without adding horizontal scroll. A thin gradient stripe marks
   the top edge where the colour changes. */
.ob-group {
  position: relative;
  background: var(--wash, transparent);
  box-shadow: 0 0 0 100vmax var(--wash, transparent);
  clip-path: inset(0 -100vmax);
  padding-bottom: clamp(48px, 6vw, 88px);
}

.ob-group::before {
  content: "";
  position: absolute;
  top: 0;
  left: -100vmax;
  right: -100vmax;
  height: 4px;
  background: linear-gradient(90deg, var(--g1), var(--g2));
}

.ob .ob-group > .sec:first-child {
  border-top: none;
  padding-top: clamp(44px, 5.5vw, 72px);
}

/* ───────────────────────────────────────────────────────
   TYPE
   ─────────────────────────────────────────────────────── */

.ob h1 {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(27px, 3.4vw, 40px);
  line-height: 1.1;
  letter-spacing: -0.015em;
  color: var(--color-purple);
  margin: 0;
}

.ob h2 {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: clamp(19px, 2vw, 24px);
  line-height: 1.25;
  color: var(--on-surface);
  margin: 32px 0 10px;
}

.ob h2.first { margin-top: 8px; }

.ob p { margin: 0 0 14px; }

.ob strong,
.ob b { font-weight: 600; color: var(--on-surface); }

.ob em { font-style: italic; }

.ob a {
  color: var(--color-purple-mid);
  text-decoration: underline;
  text-decoration-color: rgba(85, 84, 173, 0.32);
  text-underline-offset: 2px;
  overflow-wrap: break-word;
}

.ob a:hover {
  color: var(--color-coral);
  text-decoration-color: currentColor;
}

/* The rule above is for prose links, but `.ob a` (0,1,1) outranks the
   site's button classes (0,1,0), so without this it repaints button
   labels purple and underlines them -- which is what made the hero CTA
   unreadable. Buttons keep their own colour and no underline. */
.ob a.btn-primary,
.ob a.btn-purple,
.ob a.btn-secondary,
.ob a.btn-white {
  text-decoration: none;
}

.ob a.btn-primary,
.ob a.btn-primary:hover,
.ob a.btn-purple,
.ob a.btn-purple:hover {
  color: #ffffff;
}

.ob a.btn-secondary,
.ob a.btn-secondary:hover {
  color: var(--color-purple-mid);
}

.ob a.btn-white,
.ob a.btn-white:hover {
  color: var(--color-primary);
}

.ob .intro {
  font-family: var(--font-display);
  font-style: italic;
  font-size: clamp(18px, 1.8vw, 21px);
  line-height: 1.45;
  color: var(--color-purple);
  margin: 0 0 24px;
  max-width: 62ch;
}

.ob .small { font-size: var(--text-sm); }

.ob .cap,
.ob .fine {
  font-style: italic;
  font-size: 13px;
  color: var(--mauve2);
}

.ob .cap { margin: 10px 0 0; }

.ob ul.b {
  list-style: none;
  padding: 0;
  margin: 0 0 16px;
}

.ob ul.b li {
  position: relative;
  padding-left: 20px;
  margin: 0 0 9px;
}

.ob ul.b li::before {
  content: "";
  position: absolute;
  left: 2px;
  top: 0.62em;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--color-coral);
}

/* ───────────────────────────────────────────────────────
   WELCOME LETTER
   ─────────────────────────────────────────────────────── */


/* ───────────────────────────────────────────────────────
   CONTACT DIRECTORY
   ─────────────────────────────────────────────────────── */

.ob .dir {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 0 44px;
}

.ob .dir .e {
  display: grid;
  grid-template-columns: 44px 1fr;
  gap: 16px;
  border-top: var(--hair);
  padding: 24px 0 26px;
}

.ob .dir .e .well { width: 44px; height: 44px; margin-top: 0; }

.ob .dir .k,
.ob .labs .k {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: var(--tracking-widest);
  text-transform: uppercase;
  margin-bottom: 5px;
}

.ob .dir .k { color: var(--color-coral-dark); }
.ob .labs .k { color: var(--color-purple); }

.ob .dir .num {
  font-weight: 500;
  font-size: 26px;
  color: var(--color-purple);
  line-height: 1.2;
}

.ob .dir .num span { font-weight: 400; font-size: 15px; color: var(--color-purple-mid); }
.ob .dir .mail { font-size: 15px; margin: 3px 0 7px; }
.ob .dir .d { font-size: 15px; line-height: 1.55; }

.ob .labs {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 28px 44px;
  margin-top: 8px;
}

.ob .hours {
  font-size: 14px;
  line-height: 1.55;
  color: var(--mauve);
  border-top: var(--hair);
  border-bottom: var(--hair);
  padding: 16px 0;
  margin: 8px 0 26px;
}

/* ───────────────────────────────────────────────────────
   TABLES — scroll horizontally rather than squash
   ─────────────────────────────────────────────────────── */

.ob-tablewrap {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  margin: 4px 0 14px;
}

.ob table.t {
  width: 100%;
  min-width: 480px;
  border-collapse: collapse;
  font-size: 15px;
  line-height: 1.5;
}

.ob table.t th {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: var(--tracking-wide);
  text-transform: uppercase;
  color: var(--color-purple-mid);
  text-align: left;
  padding: 0 18px 9px 0;
  border-bottom: 1.5px solid var(--color-purple);
  vertical-align: bottom;
}

.ob table.t td {
  padding: 11px 18px 11px 0;
  border-bottom: var(--hair);
  vertical-align: top;
}

.ob table.t td:first-child { font-weight: 600; color: var(--on-surface); }
.ob table.t td:last-child,
.ob table.t th:last-child { padding-right: 0; }

.ob .pill {
  display: inline-block;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: var(--tracking-wide);
  text-transform: uppercase;
  color: var(--color-purple);
  background: var(--tint);
  border-radius: var(--radius-full);
  padding: 3px 10px;
  white-space: nowrap;
  text-decoration: none;
}

a.pill:hover { background: var(--color-purple); color: #fff; }

/* ───────────────────────────────────────────────────────
   "WHEN TO CALL" PANEL
   ─────────────────────────────────────────────────────── */

/* One callout language for the whole guide (.call, .note, .promise):
   white card, soft edge, and a gradient bar across the top in the
   colours of whichever section it sits in. */
.ob .call,
.ob .note,
.ob .promise {
  position: relative;
  overflow: hidden;
  background: #fff;
  border: 1px solid rgba(57, 55, 143, 0.12);
  border-radius: 16px;
  box-shadow: 0 16px 32px -24px rgba(57, 55, 143, 0.55);
}

.ob .call::before,
.ob .note::before,
.ob .promise::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 5px;
  background: linear-gradient(90deg, var(--g1, #39378F), var(--g2, #5E5CB8));
}

.ob .call {
  padding: 28px 26px 12px;
  margin: 26px 0 0;
}

.ob .call .hd {
  display: flex;
  align-items: center;
  gap: 9px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: var(--tracking-widest);
  text-transform: uppercase;
  color: var(--ink, var(--color-purple));
  margin-bottom: 10px;
}

.ob .call .hd svg { width: 17px; height: 17px; stroke-width: 1.8; }

.ob .call .r {
  display: grid;
  grid-template-columns: minmax(170px, 230px) 1fr;
  gap: 6px 20px;
  padding: 12px 0;
  border-top: 1px solid rgba(57, 55, 143, 0.12);
  font-size: 15px;
  line-height: 1.5;
}

.ob .call .r b { font-weight: 600; color: var(--on-surface); }
.ob .call .r span.o { display: block; font-size: 13px; color: var(--color-purple-mid); }

@media (max-width: 599px) {
  .ob .call { padding: 26px 18px 10px; }
  .ob .call .r { grid-template-columns: 1fr; gap: 2px; }
}

/* ───────────────────────────────────────────────────────
   NOTE
   ─────────────────────────────────────────────────────── */

.ob .note {
  padding: 26px 26px 20px;
  margin: 26px 0 0;
  font-size: 16px;
}

.ob .note > :last-child { margin-bottom: 0; }

/* ───────────────────────────────────────────────────────
   NUMBERED STEPS
   ─────────────────────────────────────────────────────── */

.ob .steps { margin: 0; }

.ob .step {
  display: grid;
  grid-template-columns: 52px 1fr;
  gap: 0 8px;
  border-top: var(--hair);
  padding: 14px 0 13px;
}

.ob .step:last-child { border-bottom: var(--hair); }

.ob .step .n {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: 30px;
  line-height: 1;
  color: var(--color-coral-dark);
}

.ob .step .tt {
  font-weight: 600;
  color: var(--on-surface);
  font-size: 17px;
  margin-bottom: 2px;
}

.ob .step p { margin: 0; font-size: 15.5px; line-height: 1.55; }

.ob .steps.two {
  display: grid;
  grid-template-columns: 1fr 1fr;
  column-gap: 40px;
}

.ob .steps.two .step:nth-last-child(2) { border-bottom: var(--hair); }

@media (max-width: 767px) {
  .ob .steps.two { grid-template-columns: 1fr; }
  .ob .steps.two .step:nth-last-child(2) { border-bottom: none; }
  .ob .steps.two .step:last-child { border-bottom: var(--hair); }
}

/* ───────────────────────────────────────────────────────
   CARDS
   ─────────────────────────────────────────────────────── */

.ob .cards {
  display: grid;
  gap: 30px 32px;
}

.ob .c3 { grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); }
.ob .c4 { grid-template-columns: repeat(auto-fit, minmax(195px, 1fr)); gap: 26px; }

.ob .card {
  border-top: 2px solid var(--color-purple);
  padding-top: 14px;
  display: flex;
  flex-direction: column;
}

.ob .card .top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 10px;
}

.ob .card .n {
  font-family: var(--font-display);
  font-size: 34px;
  line-height: 1;
  color: var(--color-coral-dark);
}

.ob .card .top svg {
  width: 26px;
  height: 26px;
  color: var(--color-purple-mid);
  stroke-width: 1.5;
}

.ob .card .tt {
  font-weight: 600;
  color: var(--on-surface);
  font-size: 18px;
  line-height: 1.3;
  margin-bottom: 6px;
}

.ob .card p { font-size: 15px; line-height: 1.58; margin: 0 0 10px; }

.ob .card .ref {
  margin-top: auto;
  font-style: italic;
  font-size: 13px;
  color: var(--mauve2);
}

.ob .cards.lg { gap: 40px 36px; }
.ob .cards.lg .card { padding-top: 16px; }
.ob .cards.lg .n { font-size: 44px; }
.ob .cards.lg .top svg { width: 32px; height: 32px; }
.ob .cards.lg .tt { font-size: 21px; }
.ob .cards.lg p { font-size: 16.5px; line-height: 1.6; margin-bottom: 14px; }
.ob .cards.lg .ref { font-size: 14px; }

/* ───────────────────────────────────────────────────────
   COLUMNS
   ─────────────────────────────────────────────────────── */

.ob .cols { display: grid; gap: 34px; }
.ob .col2 { grid-template-columns: repeat(auto-fit, minmax(290px, 1fr)); }

/* ───────────────────────────────────────────────────────
   DOCUMENT SCANS — framed, and openable full size
   ─────────────────────────────────────────────────────── */

.ob figure { margin: 0; }

.ob .doc {
  display: block;
  border: 1px solid var(--rose);
  border-radius: var(--radius-md);
  padding: 10px;
  background: #fff;
  box-sizing: border-box;
  width: 100%;
}

.ob .doc img { display: block; width: 100%; height: auto; }

button.doc--zoom {
  position: relative;
  font: inherit;
  color: inherit;
  text-align: left;
  cursor: zoom-in;
  appearance: none;
  -webkit-appearance: none;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

button.doc--zoom:hover,
button.doc--zoom:focus-visible {
  border-color: var(--color-purple-mid);
  box-shadow: var(--shadow-cinematic-sm);
}

button.doc--zoom:focus-visible { outline: 2px solid var(--color-purple); outline-offset: 3px; }

.ob .doc__zoom {
  position: absolute;
  right: 18px;
  bottom: 18px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: var(--tracking-wide);
  text-transform: uppercase;
  color: #fff;
  background: rgba(57, 55, 143, 0.92);
  border-radius: var(--radius-full);
  padding: 7px 13px;
  opacity: 0;
  transform: translateY(4px);
  transition: opacity 0.2s ease, transform 0.2s ease;
  pointer-events: none;
}

.ob .doc__zoom svg { width: 14px; height: 14px; }

button.doc--zoom:hover .doc__zoom,
button.doc--zoom:focus-visible .doc__zoom { opacity: 1; transform: translateY(0); }

@media (hover: none) {
  .ob .doc__zoom { opacity: 1; transform: none; }
}

/* ───────────────────────────────────────────────────────
   QR CODES — sized for scanning off a screen
   ─────────────────────────────────────────────────────── */

/* Square is non-negotiable — a stretched QR stops scanning. Height
   follows the aspect ratio so a narrow column shrinks both sides. */
.ob .qr {
  width: 108px;
  height: auto;
  max-width: 100%;
  aspect-ratio: 1 / 1;
  flex: none;
  display: block;
  image-rendering: crisp-edges;
}

.ob .qrbox {
  display: flex;
  gap: 16px;
  align-items: center;
  flex-wrap: wrap;
}

.ob .qrbox .ql { font-style: italic; font-size: 13px; color: var(--mauve2); }

/* ───────────────────────────────────────────────────────
   THE PATHNOSTICS PROMISE
   ─────────────────────────────────────────────────────── */

.ob .promise {
  padding: 34px 30px 26px;
  margin: 10px 0 22px;
  display: grid;
  grid-template-columns: 1fr minmax(220px, 300px);
  gap: 28px;
  align-items: center;
}

.ob .promise .big {
  font-family: var(--font-display);
  font-size: clamp(28px, 3.6vw, 44px);
  white-space: nowrap;
  line-height: 1;
  color: var(--ink, var(--color-coral-dark));
}

.ob .promise .bl {
  font-size: 15px;
  color: var(--on-surface);
  font-weight: 600;
  margin-top: 8px;
}

@media (max-width: 767px) {
  .ob .promise { grid-template-columns: 1fr; padding: 30px 22px 22px; }
  .ob .promise .big { white-space: normal; }
}

/* ───────────────────────────────────────────────────────
   HOME-KIT SWIMLANE — scales, but never below legibility
   ─────────────────────────────────────────────────────── */

.ob .swim {
  margin: 0 0 8px;
  border: 1px solid var(--rose);
  border-radius: var(--radius-md);
  overflow: hidden;
  background: #fff;
}

.ob .swim svg { display: block; width: 100%; height: auto; }
.ob .swim svg text { font-family: var(--font-body); }

/* Below 720px the three-lane diagram is too small to read, so the
   same seven steps are shown as a stacked list instead. */
.ob .swim-list { display: none; }

@media (max-width: 719px) {
  .ob .swim { border: 0; border-radius: 0; background: none; overflow: visible; }
  .ob .swim svg { display: none; }
  .ob .swim-list {
    display: grid;
    gap: 10px;
    list-style: none;
    margin: 0;
    padding: 0;
  }
  .ob .swim-list__step {
    --lane: #39378f;
    position: relative;
    display: grid;
    grid-template-columns: 34px 1fr;
    gap: 12px;
    padding: 14px 16px 14px 14px;
    background: #fff;
    border: 1px solid rgba(57, 55, 143, 0.14);
    border-left: 4px solid var(--lane);
    border-radius: 12px;
  }
  .ob .swim-list__step--lab { --lane: #5e5cb8; }
  .ob .swim-list__step--patient { --lane: #b8004b; }
  .ob .swim-list__step + .swim-list__step::before {
    content: "";
    position: absolute;
    left: 30px;
    top: -11px;
    width: 2px;
    height: 10px;
    background: rgba(57, 55, 143, 0.3);
  }
  .ob .swim-list__n {
    font-family: var(--font-display);
    font-size: 26px;
    line-height: 1;
    color: var(--color-coral-dark);
  }
  .ob .swim-list__lane {
    display: block;
    font-size: 10.5px;
    font-weight: 700;
    letter-spacing: var(--tracking-widest);
    text-transform: uppercase;
    color: var(--lane);
    margin-bottom: 2px;
  }
  .ob .swim-list strong { display: block; color: var(--on-surface); font-weight: 600; }
  .ob .swim-list p { margin: 4px 0 0; font-size: 14.5px; line-height: 1.5; }
}

/* ───────────────────────────────────────────────────────
   VIDEO LINKS beside QR codes, and the shipping-log PDF link
   ─────────────────────────────────────────────────────── */

.ob .ob-vid {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: 6px;
  padding: 5px 11px 5px 6px;
  border-radius: 999px;
  background: rgba(232, 32, 101, 0.08);
  color: var(--color-coral-dark);
  font-size: 12.5px;
  font-weight: 600;
  line-height: 1.2;
  white-space: nowrap;
  text-decoration: none;
  transition: background 0.2s ease, color 0.2s ease;
}
.ob .ob-vid svg { width: 18px; height: 18px; flex: none; color: var(--color-coral); }
.ob .ob-vid:hover { background: var(--color-coral); color: #fff; }
.ob .ob-vid:hover svg { color: #fff; }
.ob .ob-vid:hover svg path { fill: var(--color-coral); }

.ob .ob-dl {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin: 4px 0 14px;
  padding: 8px 16px 8px 12px;
  border-radius: 999px;
  background: var(--g1, var(--color-purple));
  color: #fff;
  font-size: 14px;
  font-weight: 600;
  line-height: 1.2;
  text-decoration: none;
  transition: background 0.2s ease;
}
.ob .ob-dl:hover { background: var(--g2, var(--color-purple-mid)); color: #fff; }
.ob .ob-dl svg { width: 17px; height: 17px; flex: none; }
.ob .visually-hidden {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}

/* Phone numbers in running text and panels: tappable, but they keep
   the look of the text around them. */
.ob a.ob-tel {
  color: var(--color-coral-dark);
  font-weight: 600;
  text-decoration: underline;
  text-decoration-color: rgba(184, 0, 75, 0.4);
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
  white-space: nowrap;
}
.ob a.ob-tel:hover { color: var(--color-coral); text-decoration-color: currentColor; }

/* ───────────────────────────────────────────────────────
   SHIPPING LOG — sample entry table (the blank log is a PDF)
   ─────────────────────────────────────────────────────── */

.ob table.lt {
  width: 100%;
  min-width: 620px;
  border-collapse: collapse;
  margin-top: 10px;
}

.ob table.lt th {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: var(--tracking-wide);
  text-transform: uppercase;
  color: #fff;
  background: var(--color-purple);
  padding: 11px 12px;
  text-align: left;
  border: 1px solid var(--color-purple);
}

.ob table.lt td {
  border: 1px solid #8c8bc4;
  height: 44px;
  padding: 0 12px;
  font-size: 15px;
}

.ob table.lt.sample td {
  height: auto;
  padding: 10px 12px;
  color: var(--color-coral-dark);
  font-size: 14.5px;
}

.ob table.lt.sample th { font-size: 10.5px; padding: 9px 12px; }
.ob table.lt.sample td.e { height: 30px; }

/* ───────────────────────────────────────────────────────
   PAGE FOOT
   ─────────────────────────────────────────────────────── */

.ob-foot {
  border-top: 2px solid var(--color-purple);
  background: linear-gradient(180deg, #ffffff 0%, var(--pale) 100%);
  padding: clamp(32px, 4.5vw, 56px) 0 clamp(24px, 3vw, 36px);
}

.ob-foot__inner {
  display: flex;
  flex-wrap: wrap;
  gap: 20px 32px;
  align-items: center;
  justify-content: space-between;
}

.ob-foot__k {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: var(--tracking-widest);
  text-transform: uppercase;
  color: var(--color-coral-dark);
  margin-bottom: 7px;
}

.ob-foot__v { font-size: 19px; font-weight: 500; color: var(--on-surface); margin: 0; }
.ob-foot__v a { color: var(--color-purple); text-decoration: none; }
.ob-foot__v a:hover { color: var(--color-coral); }

.ob-foot__code {
  font-size: 12px;
  letter-spacing: var(--tracking-wide);
  color: var(--mauve2);
  margin-top: 26px;
}

/* ───────────────────────────────────────────────────────
   NARROW SCREENS
   ─────────────────────────────────────────────────────── */

@media (max-width: 1023px) {
  /* global nav collapses to 68px, local strip is 52px */
  .ob { --ob-stick: 120px; }
}

@media (max-width: 899px) {
  .ob .ob-hero__inner { grid-template-columns: 1fr; align-items: start; }
  .ob .ob-hero__card { max-width: 420px; }
}

@media (max-width: 599px) {
  .ob { font-size: 15.5px; }
  .ob .sh { gap: 12px; }
  .ob .well { width: 36px; height: 36px; border-radius: 9px; }
  .ob .well svg { width: 19px; height: 19px; }
  .ob .dir .e { grid-template-columns: 36px 1fr; gap: 12px; }
  .ob .dir .e .well { width: 36px; height: 36px; }
  .ob .step { grid-template-columns: 40px 1fr; }
  .ob .step .n { font-size: 25px; }
}

/* ───────────────────────────────────────────────────────
   PRINT — the PDF is the real print artifact, but keep
   the page sane if someone prints the web version
   ─────────────────────────────────────────────────────── */

@media print {
  .nav-system,
  .mobile-drawer,
  .ob-hero__actions,
  .ob-foot .btn-primary,
  .doc__zoom,
  .footer { display: none !important; }

  .ob { font-size: 10pt; }
  .ob .ob-hero { padding-top: 0; background: none; color: inherit; }
  .ob .ob-hero__title, .ob .ob-hero__lede, .ob .ob-hero__card-num { color: #39378f; }
  .ob .sec,
  .ob .sub { break-before: page; }
  .ob .sec:first-child { break-before: avoid; }
  .ob .step,
  .ob .card,
  .ob .call .r,
  .ob .note,
  .ob table.t tr { break-inside: avoid; }
  .ob-tablewrap,
  .ob .swim { overflow: visible; }
  .ob table.t,
  .ob table.lt,
  .ob .swim svg { display: block !important; }
  .ob .swim-list { display: none !important; }
}
