/* ===========================================================================
   Choice One Rx — Page compositions
   Larger blocks assembled from components: hero panel, pipeline, teasers,
   bands. Consumes css/tokens.css. No literal colors.
   =========================================================================== */

/* ===========================================================================
   EDITORIAL HOMEPAGE
   Paper ground, asymmetric grid, serif display, hairline structure. The dark
   gradient hero it replaces is the most-copied composition on the web.
   =========================================================================== */

.hero-ed {
  position: relative;
  background: var(--c1-bg);
  padding-block: clamp(56px, 8vw, 128px) clamp(48px, 6vw, 96px);
  overflow: hidden;
}
/* One quiet tonal wash, top-right. Not a two-radial gradient soup. */
.hero-ed::before {
  content: '';
  position: absolute; inset: -30% -10% auto 40%; height: 120%;
  background: radial-gradient(46% 42% at 70% 30%,
    color-mix(in srgb, var(--c1-teal-500) 11%, transparent), transparent 70%);
  pointer-events: none;
  z-index: 0;
}
.hero-ed > * { position: relative; z-index: 1; }

.hero-ed-grid {
  display: grid;
  grid-template-columns: minmax(0, 7fr) minmax(0, 5fr);
  gap: clamp(32px, 5vw, 80px);
  align-items: center;
}
@media (max-width: 980px) { .hero-ed-grid { grid-template-columns: 1fr; } }

.hero-ed-copy h1 {
  font-size: var(--c1-fs-3xl);
  margin-top: var(--sp-5);
  max-width: 16ch;
}
.hero-ed-copy .lede { margin-top: var(--sp-5); max-width: 50ch; }

/* ---- Hero product panel ------------------------------------------------ */
.hero-ed-panel {
  background: var(--c1-surface);
  border: 1px solid var(--c1-border-strong);
  border-radius: var(--c1-r);
  overflow: hidden;
}
.hp2-head {
  display: flex; align-items: center; justify-content: space-between; gap: var(--sp-3);
  padding: var(--sp-4) var(--sp-5);
  border-bottom: 1px solid var(--c1-border);
  background: var(--c1-bg-subtle);
}
.hp2-live {
  display: inline-flex; align-items: center; gap: 6px;
  font-size: var(--c1-fs-xs); color: var(--c1-text-subtle);
}
.hp2-live i {
  width: 6px; height: 6px; border-radius: 50%;
  background: var(--c1-teal-500);
  box-shadow: 0 0 0 3px color-mix(in srgb, var(--c1-teal-500) 20%, transparent);
}

.hp2-rows { list-style: none; margin: 0; padding: 0; }
.hp2-rows li {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  grid-template-areas: 'name status' 'med status';
  gap: 2px var(--sp-4);
  align-items: center;
  padding: 14px var(--sp-5);
  margin: 0;
  border-bottom: 1px solid var(--c1-border);
  transition: background var(--c1-dur-2) var(--c1-ease);
}
.hp2-rows li:hover { background: var(--c1-bg-subtle); }
.hp2-rows li.is-flag { background: color-mix(in srgb, var(--c1-warn) 7%, transparent); }
.hp2-name { grid-area: name; font-size: var(--c1-fs-sm); font-weight: 600; }
.hp2-med  { grid-area: med; font-size: var(--c1-fs-xs); color: var(--c1-text-muted); }
.hp2-rows .status { grid-area: status; font-size: var(--c1-fs-xs); text-align: right; }

.hp2-foot {
  display: flex; align-items: center; justify-content: space-between; gap: var(--sp-3);
  padding: var(--sp-4) var(--sp-5);
  font-size: var(--c1-fs-xs); color: var(--c1-text-muted);
}
.hp2-foot b { color: var(--c1-warn); font-weight: 700; }

/* ---- Figure stack ------------------------------------------------------ */
.figure-stack { display: grid; gap: var(--sp-5); }

/* ---- Ordering rows ----------------------------------------------------- */
.order-rows .link-rule { margin-left: 6px; }

/* ---- Editorial CTA ----------------------------------------------------- */
.cta-ed {
  background: var(--c1-ink-950);
  padding-block: clamp(56px, 7vw, 104px);
}
.cta-ed-inner {
  display: grid;
  grid-template-columns: minmax(0, 7fr) minmax(0, 5fr);
  gap: var(--sp-7);
  align-items: end;
}
@media (max-width: 900px) { .cta-ed-inner { grid-template-columns: 1fr; align-items: start; } }
.cta-ed h2 { color: #fff; font-size: var(--c1-fs-2xl); max-width: 14ch; }
.cta-ed .lede { color: rgba(255, 255, 255, .72); }
.cta-ed .cluster { justify-content: flex-start; }
@media (min-width: 901px) { .cta-ed .cluster { justify-content: flex-end; } }

/* ---- Hero facts strip -------------------------------------------------- */
.hero-facts {
  display: grid;
  grid-template-columns: repeat(3, auto);
  gap: var(--sp-6);
  justify-content: start;
  padding-top: var(--sp-6);
  border-top: 1px solid rgba(255, 255, 255, .14);
}
.hero-facts > div { display: grid; gap: 2px; }
.hero-facts strong {
  font-family: var(--c1-font-display);
  font-size: var(--c1-fs-xl);
  font-weight: 700;
  color: var(--c1-teal-300);
  line-height: 1;
  font-variant-numeric: tabular-nums;
}
.hero-facts span { font-size: var(--c1-fs-xs); color: rgba(255, 255, 255, .6); max-width: 18ch; line-height: 1.4; }
@media (max-width: 560px) { .hero-facts { grid-template-columns: 1fr 1fr; gap: var(--sp-4) var(--sp-5); } }

/* ---- Hero product panel ------------------------------------------------
   A stylized portal view. It is decorative (aria-label describes it) but it
   must still read as the real product, so it uses the same status tokens.   */
.hero-panel {
  background: color-mix(in srgb, var(--c1-surface) 97%, transparent);
  border: 1px solid rgba(255, 255, 255, .18);
  border-radius: var(--c1-r-lg);
  box-shadow: var(--c1-shadow-4);
  overflow: hidden;
  transform: perspective(1400px) rotateY(-7deg) rotateX(2deg);
  transition: transform var(--c1-dur-4) var(--c1-ease-out);
}
.hero-panel:hover { transform: perspective(1400px) rotateY(-3deg) rotateX(1deg) translateY(-4px); }
@media (max-width: 900px) { .hero-panel, .hero-panel:hover { transform: none; } }
@media (prefers-reduced-motion: reduce) { .hero-panel, .hero-panel:hover { transform: none; } }

.hero-panel-bar {
  display: flex; align-items: center; gap: 6px;
  padding: 12px var(--sp-4);
  background: var(--c1-bg-subtle);
  border-bottom: 1px solid var(--c1-border);
}
.hero-panel-bar .dot { width: 9px; height: 9px; border-radius: 50%; background: var(--c1-border-strong); }
.hero-panel-title {
  margin-left: auto;
  font-size: var(--c1-fs-xs); font-weight: 650;
  letter-spacing: var(--c1-tracking-wide); text-transform: uppercase;
  color: var(--c1-text-muted);
}
.hero-panel-body { padding: var(--sp-2); }

.hp-row {
  display: flex; align-items: center; justify-content: space-between; gap: var(--sp-3);
  padding: 12px var(--sp-3);
  border-radius: var(--c1-r-sm);
  transition: background var(--c1-dur-2) var(--c1-ease);
}
.hp-row + .hp-row { border-top: 1px solid var(--c1-border); }
.hp-row.is-flag { background: var(--c1-warn-bg); }
.hp-who { display: flex; align-items: center; gap: var(--sp-3); min-width: 0; }
.hp-who b { display: block; font-size: var(--c1-fs-sm); font-weight: 600; }
.hp-who small { display: block; font-size: var(--c1-fs-xs); color: var(--c1-text-muted); }
.hp-avatar {
  display: grid; place-items: center; flex: none;
  width: 36px; height: 36px; border-radius: 50%;
  background: linear-gradient(140deg, var(--c1-teal-100), var(--c1-teal-200));
  color: var(--c1-teal-900);
  font-size: var(--c1-fs-xs); font-weight: 700; letter-spacing: .02em;
}
.hp-row .status { font-size: var(--c1-fs-xs); text-align: right; }
.hp-foot {
  display: flex; align-items: center; justify-content: space-between; gap: var(--sp-3);
  padding: var(--sp-3);
  margin-top: var(--sp-2);
  border-top: 1px solid var(--c1-border);
  font-size: var(--c1-fs-xs);
}

/* ---- Trust row --------------------------------------------------------- */
.trust-row {
  display: grid; grid-template-columns: auto 1fr; gap: var(--sp-7);
  align-items: center;
}
@media (max-width: 820px) { .trust-row { grid-template-columns: 1fr; gap: var(--sp-5); } }
.trust-points {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(210px, 1fr));
  gap: var(--sp-4);
  font-size: var(--c1-fs-sm); font-weight: 550;
}
.trust-points > div { display: flex; align-items: center; gap: var(--sp-3); color: var(--c1-text); }
.trust-points .ico { color: var(--c1-teal-600); flex: none; }

/* ---- Service cards ----------------------------------------------------- */
.service-card {
  display: grid; gap: var(--sp-4); align-content: start;
  text-decoration: none; color: inherit;
  position: relative; overflow: hidden;
}
.service-card::before {
  content: ''; position: absolute; inset: 0 0 auto 0; height: 3px;
  background: linear-gradient(90deg, var(--c1-teal-500), var(--c1-teal-700));
  transform: scaleX(0); transform-origin: left;
  transition: transform var(--c1-dur-3) var(--c1-ease-out);
}
.service-card:hover::before { transform: scaleX(1); }
.service-card h3 { font-size: var(--c1-fs-xl); }
.service-card > p { color: var(--c1-text-muted); }

.ico-wrap { display: grid; place-items: center; }

.tick-list { list-style: none; padding: 0; display: grid; gap: var(--sp-3); font-size: var(--c1-fs-sm); }
.tick-list li { display: grid; grid-template-columns: auto 1fr; gap: var(--sp-3); align-items: start; margin: 0; color: var(--c1-text-muted); }
.tick-list li::before {
  content: ''; width: 18px; height: 18px; margin-top: 2px; flex: none;
  background: var(--c1-teal-600);
  -webkit-mask: url(/brand/icons/icon-check.svg) center / 13px no-repeat;
  mask: url(/brand/icons/icon-check.svg) center / 13px no-repeat;
  border-radius: 50%;
  background-color: var(--c1-teal-600);
}

.link-arrow {
  display: inline-flex; align-items: center; gap: var(--sp-2);
  font-size: var(--c1-fs-sm); font-weight: 650;
  color: var(--c1-teal-700); text-decoration: none;
}
.link-arrow .ico { transition: transform var(--c1-dur-2) var(--c1-ease); width: 1em; height: 1em; }
.card:hover .link-arrow .ico, .link-arrow:hover .ico { transform: translateX(4px); }

/* ---- Pipeline ---------------------------------------------------------- */
.pipeline {
  list-style: none; padding: 0; margin: 0 0 var(--sp-8);
  display: grid; grid-template-columns: repeat(6, 1fr); gap: 0;
  counter-reset: pl;
}
.pipeline li {
  position: relative;
  display: grid; gap: 4px; align-content: start;
  padding: var(--sp-6) var(--sp-3) 0;
  margin: 0;
  text-align: center;
}
/* the connecting rail */
.pipeline li::before {
  content: ''; position: absolute; top: 15px; left: 0; right: 0; height: 2px;
  background: var(--c1-border-strong);
}
.pipeline li:first-child::before { left: 50%; border-radius: 2px 0 0 2px; }
.pipeline li:last-child::before  { right: 50%; border-radius: 0 2px 2px 0; }
.pipeline .pl-dot {
  position: absolute; top: 8px; left: 50%; transform: translateX(-50%);
  width: 16px; height: 16px; border-radius: 50%;
  background: var(--dot);
  box-shadow: 0 0 0 4px var(--c1-bg-subtle), 0 0 0 6px color-mix(in srgb, var(--dot) 30%, transparent);
}
.pipeline b { font-size: var(--c1-fs-sm); font-weight: 650; }
.pipeline span:not(.pl-dot) { font-size: var(--c1-fs-xs); color: var(--c1-text-muted); line-height: 1.45; }

@media (max-width: 960px) {
  .pipeline { grid-template-columns: 1fr; }
  .pipeline li { text-align: left; padding: 0 0 var(--sp-5) var(--sp-6); }
  .pipeline li::before { top: 0; bottom: 0; left: 7px; right: auto; width: 2px; height: auto; }
  .pipeline li:first-child::before { top: 8px; left: 7px; }
  .pipeline li:last-child::before { bottom: auto; height: 8px; }
  .pipeline .pl-dot { top: 1px; left: 0; transform: none; }
}

/* ---- Portal pitch ------------------------------------------------------ */
.portal-pitch {
  display: grid; grid-template-columns: 1fr 1fr; gap: var(--sp-7);
  align-items: center;
  padding: var(--sp-7);
  background: var(--c1-surface);
  border: 1px solid var(--c1-border);
  border-radius: var(--c1-r-lg);
  box-shadow: var(--c1-shadow-2);
}
@media (max-width: 880px) { .portal-pitch { grid-template-columns: 1fr; padding: var(--sp-5); gap: var(--sp-5); } }
.portal-pitch p { color: var(--c1-text-muted); }
.portal-points { list-style: none; padding: 0; display: grid; gap: var(--sp-4); }
.portal-points li { display: grid; grid-template-columns: auto 1fr; gap: var(--sp-4); align-items: start; margin: 0; }
.portal-points .ico {
  width: 40px; height: 40px; flex: none; padding: 9px;
  box-sizing: border-box;
  background: var(--c1-teal-600);
  border-radius: var(--c1-r-sm);
}
.portal-points li > div { display: grid; gap: 2px; }
.portal-points b { font-size: var(--c1-fs-sm); font-weight: 650; }
.portal-points span { font-size: var(--c1-fs-xs); color: var(--c1-text-muted); }

/* the icon plate: tinted square, masked glyph inside */
.portal-points li > .ico {
  background: color-mix(in srgb, var(--c1-teal-500) 14%, var(--c1-surface));
  border: 1px solid color-mix(in srgb, var(--c1-teal-500) 24%, transparent);
  color: var(--c1-teal-700);
  -webkit-mask: none; mask: none;
  position: relative;
}
.portal-points li > .ico::after {
  content: ''; position: absolute; inset: 9px;
  background: currentColor;
  -webkit-mask: var(--ico) center / contain no-repeat;
  mask: var(--ico) center / contain no-repeat;
}

/* ---- Formulary teaser -------------------------------------------------- */
.formulary-teaser {
  display: grid; grid-template-columns: 1fr 1fr; gap: var(--sp-7); align-items: center;
}
@media (max-width: 880px) { .formulary-teaser { grid-template-columns: 1fr; } }
.cat-cloud { display: flex; flex-wrap: wrap; gap: var(--sp-2); }
.cat-cloud span {
  padding: 8px 14px;
  border-radius: var(--c1-r-pill);
  background: var(--c1-surface);
  border: 1px solid var(--c1-border);
  font-size: var(--c1-fs-sm);
  color: var(--c1-text-muted);
  box-shadow: var(--c1-shadow-0);
  transition: transform var(--c1-dur-2) var(--c1-ease), border-color var(--c1-dur-2) var(--c1-ease), color var(--c1-dur-2) var(--c1-ease);
}
.cat-cloud span:hover { transform: translateY(-2px); border-color: var(--c1-teal-400); color: var(--c1-teal-800); }
.cat-cloud span:nth-child(3n)   { background: var(--c1-teal-50); border-color: color-mix(in srgb, var(--c1-teal-500) 22%, transparent); color: var(--c1-teal-800); }

/* ---- Order cards ------------------------------------------------------- */
.order-card { display: grid; gap: var(--sp-3); align-content: start; }
.order-card h3 { font-size: var(--c1-fs-lg); }
.order-card p { font-size: var(--c1-fs-sm); color: var(--c1-text-muted); }
.order-card.is-primary {
  border-color: color-mix(in srgb, var(--c1-teal-500) 45%, transparent);
  background: linear-gradient(170deg, var(--c1-teal-50), var(--c1-surface) 60%);
}

/* ---- Patients band ----------------------------------------------------- */
.patients-band {
  display: grid; grid-template-columns: 1.1fr .9fr; gap: var(--sp-7); align-items: center;
}
@media (max-width: 880px) { .patients-band { grid-template-columns: 1fr; } }
.patient-points { list-style: none; padding: 0; display: grid; gap: var(--sp-3); }
.patient-points li {
  display: grid; grid-template-columns: auto 1fr; gap: var(--sp-4); align-items: center;
  margin: 0; padding: var(--sp-4) var(--sp-5);
  background: var(--c1-surface);
  border: 1px solid var(--c1-border);
  border-radius: var(--c1-r);
  box-shadow: var(--c1-shadow-0);
  font-size: var(--c1-fs-sm);
  transition: transform var(--c1-dur-2) var(--c1-ease), box-shadow var(--c1-dur-2) var(--c1-ease);
}
.patient-points li:hover { transform: translateX(4px); box-shadow: var(--c1-shadow-2); }
.patient-points .ico { color: var(--c1-teal-600); }

/* ---- CTA band ---------------------------------------------------------- */
.cta-band {
  position: relative;
  background: var(--c1-ink-900);
  padding-block: clamp(48px, 6vw, 80px);
  overflow: hidden;
  isolation: isolate;
}
.cta-band::before {
  content: ''; position: absolute; inset: 0; z-index: -1;
  background:
    radial-gradient(60% 120% at 88% 20%, color-mix(in srgb, var(--c1-teal-500) 34%, transparent), transparent 66%),
    radial-gradient(40% 100% at 5% 90%, color-mix(in srgb, var(--c1-teal-700) 40%, transparent), transparent 70%);
}
.cta-inner {
  display: flex; flex-wrap: wrap; gap: var(--sp-5);
  align-items: center; justify-content: space-between;
}
.cta-inner h2 { font-size: var(--c1-fs-2xl); }
.cta-inner p { margin-top: var(--sp-3); max-width: 46ch; }

/* ---- Page hero (interior pages) ----------------------------------------
   Paper, not a dark gradient slab. Structure comes from a hairline and the
   type scale. Matches the homepage register so interior pages don't feel
   like a different site.                                                    */
.page-hero {
  position: relative;
  background: var(--c1-bg);
  color: var(--c1-text);
  padding-block: clamp(36px, 5vw, 64px) clamp(40px, 6vw, 76px);
  border-bottom: 1px solid var(--c1-border);
  overflow: hidden;
}
.page-hero::before {
  content: '';
  position: absolute; inset: -40% -10% auto 45%; height: 150%;
  background: radial-gradient(42% 40% at 70% 30%,
    color-mix(in srgb, var(--c1-teal-500) 9%, transparent), transparent 72%);
  pointer-events: none;
}
.page-hero > * { position: relative; }
.page-hero h1 { max-width: 17ch; margin-top: var(--sp-4); font-size: var(--c1-fs-2xl); }
.page-hero .lede { margin-top: var(--sp-5); }
.page-hero p { max-width: 60ch; }
.page-hero .eyebrow { color: var(--c1-teal-800); margin-bottom: 0; }

/* Breadcrumb */
.crumbs {
  display: flex; flex-wrap: wrap; gap: var(--sp-2); align-items: center;
  font-size: var(--c1-fs-xs); margin-bottom: var(--sp-5);
  color: var(--c1-text-subtle);
}
.crumbs a { color: var(--c1-text-muted); text-decoration: none; }
.crumbs a:hover { color: var(--c1-teal-800); }
.crumbs span { color: var(--c1-ink-300); }

/* ---- Two-column article layout ----------------------------------------- */
.doc-layout { display: grid; grid-template-columns: 250px 1fr; gap: var(--sp-8); align-items: start; }
@media (max-width: 900px) { .doc-layout { grid-template-columns: 1fr; gap: var(--sp-5); } }
.doc-toc { position: sticky; top: 104px; display: grid; gap: var(--sp-2); font-size: var(--c1-fs-sm); }
@media (max-width: 900px) { .doc-toc { position: static; } }
.doc-toc strong {
  font-size: var(--c1-fs-xs); letter-spacing: var(--c1-tracking-wide);
  text-transform: uppercase; color: var(--c1-text-subtle); margin-bottom: var(--sp-2);
}
.doc-toc a {
  padding: 7px var(--sp-3); border-left: 2px solid var(--c1-border);
  color: var(--c1-text-muted); text-decoration: none;
  transition: border-color var(--c1-dur-1) var(--c1-ease), color var(--c1-dur-1) var(--c1-ease);
}
.doc-toc a:hover { border-left-color: var(--c1-teal-500); color: var(--c1-teal-700); }

/* ---- Formulary browser -------------------------------------------------
   Two panes: category rail + results. Search is the primary entry; the rail
   is for browsing when you don't yet know the drug name.                    */

.fx-bar {
  position: sticky; top: 76px; z-index: 20;
  display: grid; gap: var(--sp-3);
  padding-block: var(--sp-4);
  margin-bottom: var(--sp-6);
  background: color-mix(in srgb, var(--c1-bg) 92%, transparent);
  backdrop-filter: saturate(180%) blur(12px);
  -webkit-backdrop-filter: saturate(180%) blur(12px);
  border-bottom: 1px solid var(--c1-border);
}

.fx-search { position: relative; }
.fx-search .ico {
  position: absolute; left: 16px; top: 50%; transform: translateY(-50%);
  color: var(--c1-text-subtle); pointer-events: none;
}
.fx-search .input {
  padding-left: 48px; padding-right: 44px;
  height: 56px;
  font-size: var(--c1-fs-md);
}
.fx-clear {
  position: absolute; right: 10px; top: 50%; transform: translateY(-50%);
  width: 32px; height: 32px;
  display: grid; place-items: center;
  border: 0; border-radius: var(--c1-r-sm);
  background: var(--c1-bg-sunken);
  color: var(--c1-text-muted);
  font-size: 20px; line-height: 1; cursor: pointer;
}
.fx-clear:hover { background: var(--c1-ink-200); color: var(--c1-text); }

.fx-meta { font-size: var(--c1-fs-sm); color: var(--c1-text-muted); }

/* Chips retained — the portal roster filters still use them. */
.fx-chips { display: flex; flex-wrap: wrap; gap: var(--sp-2); }
.fx-chip {
  padding: 7px 14px; border-radius: var(--c1-r);
  border: 1px solid var(--c1-border-strong); background: var(--c1-surface);
  font-size: var(--c1-fs-xs); font-weight: 600; color: var(--c1-text-muted);
  cursor: pointer; white-space: nowrap;
  transition: background var(--c1-dur-1) var(--c1-ease), border-color var(--c1-dur-1) var(--c1-ease), color var(--c1-dur-1) var(--c1-ease);
}
.fx-chip:hover { border-color: var(--c1-ink-400); color: var(--c1-text); }
.fx-chip[aria-pressed="true"] {
  background: var(--c1-ink-900); border-color: var(--c1-ink-900); color: #fff;
}

/* Rail entries with no hits for the current query dim rather than vanish, so
   the taxonomy stays stable while you type. */
.fx-browser .tab[data-empty="true"] { opacity: .38; }

.fx-pane { min-height: 50vh; }

.fx-group-head {
  display: flex; align-items: baseline; justify-content: space-between;
  gap: var(--sp-4);
  padding-bottom: var(--sp-4);
  margin-bottom: var(--sp-5);
  border-bottom: 1px solid var(--c1-ink-900);
}
.fx-cat-title { font-size: var(--c1-fs-xl); }

.fx-group + .fx-group { margin-top: var(--sp-7); }
.fx-group-h {
  display: flex; align-items: baseline; justify-content: space-between; gap: var(--sp-4);
  font-size: var(--c1-fs-lg);
  padding-bottom: var(--sp-3); margin-bottom: var(--sp-4);
  border-bottom: 1px solid var(--c1-border);
}
.fx-group-h .tab-count { font-family: var(--c1-font-body); font-size: var(--c1-fs-xs); color: var(--c1-text-subtle); font-variant-numeric: tabular-nums; }

/* Drug list — a dense index, not a field of little boxes. */
.fx-drugs {
  list-style: none; padding: 0; margin: 0;
  columns: 3; column-gap: var(--sp-6);
}
@media (max-width: 1080px) { .fx-drugs { columns: 2; } }
@media (max-width: 620px)  { .fx-drugs { columns: 1; } }
.fx-drug {
  break-inside: avoid;
  padding: 8px 0;
  margin: 0;
  border-bottom: 1px solid var(--c1-border);
  font-size: var(--c1-fs-sm);
  transition: color var(--c1-dur-1) var(--c1-ease), padding-left var(--c1-dur-2) var(--c1-ease);
}
.fx-drug:hover { color: var(--c1-teal-800); padding-left: 5px; }
.fx-drug mark {
  background: color-mix(in srgb, var(--c1-teal-500) 24%, transparent);
  color: inherit; padding: 0 2px; border-radius: 2px;
}

/* ---- Payer table ------------------------------------------------------- */
.payer-name { display: flex; align-items: center; gap: var(--sp-3); font-weight: 650; }
.payer-plans { display: flex; flex-wrap: wrap; gap: var(--sp-2); }
.bin-pill {
  display: inline-flex; gap: var(--sp-2); align-items: center;
  padding: 5px 11px; border-radius: var(--c1-r-sm);
  background: var(--c1-bg-sunken); border: 1px solid var(--c1-border);
  font-family: var(--c1-font-mono); font-size: var(--c1-fs-xs);
}
.bin-pill b { color: var(--c1-text-subtle); font-weight: 600; }

/* ---- FAQ --------------------------------------------------------------- */
.faq { display: grid; gap: var(--sp-3); }

/* ---- Legal doc --------------------------------------------------------- */
.legal-meta {
  display: flex; flex-wrap: wrap; gap: var(--sp-4);
  padding: var(--sp-4) var(--sp-5);
  background: var(--c1-bg-subtle);
  border: 1px solid var(--c1-border);
  border-radius: var(--c1-r);
  font-size: var(--c1-fs-sm);
  margin-bottom: var(--sp-6);
}
.legal-meta div { display: grid; gap: 2px; }
.legal-meta dt, .legal-meta b {
  font-size: var(--c1-fs-xs); text-transform: uppercase;
  letter-spacing: var(--c1-tracking-wide); color: var(--c1-text-subtle); font-weight: 650;
}
.legal-index { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: var(--sp-4); }
.legal-index a {
  display: grid; gap: var(--sp-2); align-content: start;
  padding: var(--sp-5);
  background: var(--c1-surface); border: 1px solid var(--c1-border);
  border-radius: var(--c1-r-md); box-shadow: var(--c1-shadow-0);
  text-decoration: none; color: inherit;
  transition: transform var(--c1-dur-2) var(--c1-ease), box-shadow var(--c1-dur-2) var(--c1-ease), border-color var(--c1-dur-2) var(--c1-ease);
}
.legal-index a:hover { transform: var(--c1-lift); box-shadow: var(--c1-shadow-3); border-color: var(--c1-teal-400); }
.legal-index b { font-family: var(--c1-font-display); font-size: var(--c1-fs-md); }
.legal-index span { font-size: var(--c1-fs-sm); color: var(--c1-text-muted); }

/* ---- Steps ------------------------------------------------------------- */
.steps { list-style: none; padding: 0; counter-reset: st; display: grid; gap: var(--sp-5); }
.steps li {
  display: grid; grid-template-columns: auto 1fr; gap: var(--sp-4);
  align-items: start; margin: 0;
}
.steps li::before {
  counter-increment: st; content: counter(st);
  display: grid; place-items: center;
  width: 40px; height: 40px; border-radius: 50%;
  background: var(--c1-teal-700); color: #fff;
  font-family: var(--c1-font-display); font-weight: 700; font-size: var(--c1-fs-sm);
  box-shadow: var(--c1-shadow-teal);
}
.steps b { display: block; font-size: var(--c1-fs-md); font-family: var(--c1-font-display); }
.steps p { color: var(--c1-text-muted); font-size: var(--c1-fs-sm); margin-top: 2px; }

/* ===========================================================================
   LEGACY HARMONIZATION
   The first build leaned on centered section headers, icon-plate card grids,
   pill CTAs and a gradient CTA band. Rather than hand-editing twenty files,
   those patterns are re-pointed at the editorial language here, so every page
   inherits it. New pages should use .label-rule / .ed-list / .spec-rows / .tabs
   directly.
   =========================================================================== */

/* Section headers: stop centering everything. A centered eyebrow + h2 + lede,
   repeated five times down a page, is the single most template-looking
   rhythm there is. */
.section-head { max-width: 62ch; margin-bottom: var(--sp-7); }
.section-head.center { margin-inline: 0; text-align: left; }
.section-head p { font-size: var(--c1-fs-lg); color: var(--c1-text-muted); line-height: 1.55; }
.section-head .eyebrow {
  padding-top: var(--sp-3);
  border-top: 1px solid var(--c1-ink-900);
  margin-bottom: var(--sp-4);
}

/* Steps → editorial numerals on a rule, not teal circles. */
.steps { gap: 0; border-top: 1px solid var(--c1-ink-900); }
.steps li {
  grid-template-columns: 4.5rem 1fr;
  gap: var(--sp-5);
  padding: var(--sp-5) 0;
  border-bottom: 1px solid var(--c1-border);
  align-items: baseline;
  transition: background var(--c1-dur-2) var(--c1-ease);
}
.steps li:hover { background: var(--c1-bg-subtle); }
.steps li::before {
  width: auto; height: auto; border-radius: 0;
  background: none; box-shadow: none;
  color: var(--c1-teal-700);
  font-family: var(--c1-font-body);
  font-size: var(--c1-fs-xs); font-weight: 600;
  letter-spacing: var(--c1-tracking-wide);
  font-variant-numeric: tabular-nums;
  content: '0' counter(st);
  place-items: start;
}
.steps b {
  font-family: var(--c1-font-display);
  font-size: var(--c1-fs-lg);
  font-weight: 400;
  letter-spacing: var(--c1-tracking-display);
}

/* Point lists → hairline rows, unadorned inline icons. */
.patient-points li, .portal-points li {
  padding: var(--sp-4) 0;
  background: none;
  border: 0;
  border-bottom: 1px solid var(--c1-border);
  border-radius: 0;
  box-shadow: none;
}
.patient-points li:first-child, .portal-points li:first-child { border-top: 1px solid var(--c1-border); }
.patient-points li:hover { transform: none; box-shadow: none; background: var(--c1-bg-subtle); }
.portal-points li > .ico {
  width: 20px; height: 20px; padding: 0;
  background: currentColor; border: 0; color: var(--c1-teal-700);
  -webkit-mask: var(--ico) center / contain no-repeat;
  mask: var(--ico) center / contain no-repeat;
}
.portal-points li > .ico::after { content: none; }

/* Portal pitch / bands: hairlines, no floating panel. */
.portal-pitch {
  padding: var(--sp-7) 0 0;
  background: none;
  border: 0;
  border-top: 1px solid var(--c1-ink-900);
  border-radius: 0;
  box-shadow: none;
}

/* Arrow links → ruled links. */
.link-arrow {
  border-bottom: 1px solid var(--c1-ink-900);
  padding-bottom: 3px;
  color: var(--c1-text);
}
.link-arrow:hover { color: var(--c1-teal-800); border-bottom-color: var(--c1-teal-600); }
.link-arrow .ico { display: none; }

/* Accordion → flat, hairline separated. */
.acc {
  border: 0;
  border-top: 1px solid var(--c1-border);
  border-radius: 0;
  background: none;
}
.acc + .acc { margin-top: 0; }
.acc:last-of-type { border-bottom: 1px solid var(--c1-border); }
.acc summary {
  padding: var(--sp-5) 0;
  font-family: var(--c1-font-display);
  font-size: var(--c1-fs-lg);
  font-weight: 400;
  letter-spacing: var(--c1-tracking-display);
}
.acc summary:hover { background: none; color: var(--c1-teal-800); }
.acc .acc-body { padding: 0 0 var(--sp-5); max-width: 68ch; color: var(--c1-text-muted); }

/* Seal rows. */
.seals { gap: var(--sp-6) var(--sp-8); }
.seals img { height: 84px; }
.seal-item .seal-txt { max-width: 24ch; font-size: var(--c1-fs-xs); }
.seal-item .seal-txt b { font-family: var(--c1-font-display); font-size: var(--c1-fs-md); font-weight: 500; }

/* Old gradient CTA band → flat ink, editorial. */
.cta-band { background: var(--c1-ink-950); padding-block: clamp(56px, 7vw, 104px); }
.cta-band::before { content: none; }
.cta-inner { align-items: end; }
.cta-inner h2 { font-size: var(--c1-fs-2xl); max-width: 15ch; color: #fff; }
.cta-inner p { color: rgba(255, 255, 255, .72); font-size: var(--c1-fs-lg); line-height: 1.55; }

/* Doc table of contents. */
.doc-toc a { border-left-width: 1px; }
.doc-toc a:hover { border-left-color: var(--c1-ink-900); color: var(--c1-text); }

/* Table of contents / legal headings pick up the serif automatically via h2.
   Keep legal body text at a comfortable measure. */
.legal-doc h2 { border-bottom-color: var(--c1-border); }

/* Feature grids: remove the tile look that survives on interior pages. */
.grid .card.feature {
  border: 0;
  border-top: 1px solid var(--c1-border);
  border-radius: 0;
  padding: var(--sp-5) 0 0;
  background: none;
}
.grid .card.feature:hover { background: none; border-top-color: var(--c1-ink-900); }
.grid .card.feature h3 { font-size: var(--c1-fs-lg); }
.order-card { border: 0 !important; border-top: 1px solid var(--c1-border) !important; border-radius: 0 !important; padding: var(--sp-5) 0 0 !important; background: none !important; }
.order-card.is-primary { border-top-color: var(--c1-ink-900) !important; }
