/* da liver website styles: shared by the homepage and landing pages. */
:root {
  --bg: #f3f2f2; --surface: #eae9e9; --paper: #ffffff; --text: #201e1d; --muted: #605d5d;
  --accent: #ec3013; --accent-700: #ae1800; --line: color-mix(in srgb, #201e1d 40%, transparent);
  --wrap: 1180px; --gut: clamp(20px, 5vw, 64px);
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--bg); color: var(--text); font: 400 18px/1.5 Archivo, system-ui, sans-serif; -webkit-font-smoothing: antialiased; }
a { color: var(--accent-700); } a:hover { color: var(--text); }
:focus-visible { outline: 3px solid color-mix(in srgb, var(--accent) 60%, transparent); outline-offset: 2px; }
.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gut); }
.skip { position: absolute; left: -999px; top: 8px; background: var(--text); color: var(--bg); padding: 10px 14px; z-index: 50; }
.skip:focus { left: 8px; }

header.site { position: sticky; top: 0; z-index: 20; background: var(--bg); border-bottom: 2px solid var(--text); }
header.site .wrap { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 68px; flex-wrap: wrap; }
.logo { font-weight: 800; font-size: 26px; letter-spacing: -0.03em; text-decoration: none; color: var(--text); display: inline-flex; gap: 9px; align-items: center; }
.logo b { color: var(--accent); }
/* Each category's tag after the logo (da → liver Rx for medical), the same size as the name. */
.logo .tag { font-weight: 800; letter-spacing: -0.03em; line-height: 1.15; color: #fff; background: var(--accent); padding: 0 6px; border-radius: 4px; }
nav.top { display: flex; gap: 22px; align-items: center; flex-wrap: wrap; font-weight: 600; font-size: 16px; }
nav.top a { color: var(--text); text-decoration: none; padding: 10px 0; }
nav.top a:hover { color: var(--accent-700); }
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 52px; padding: 0 22px; font: inherit; font-weight: 800; font-size: 17px;
  text-decoration: none; border: 2px solid var(--text); background: transparent; color: var(--text); cursor: pointer; }
.btn-primary { background: var(--accent); border-color: var(--accent); color: #fff; }
.btn-primary:hover { background: var(--accent-700); border-color: var(--accent-700); color: #fff; }
.btn-ghost:hover { background: var(--text); color: var(--bg); }
nav.top .btn { min-height: 44px; padding: 0 16px; font-size: 15px; color: #fff; }

.eyebrow { display: inline-block; font-size: 13px; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; border: 2px solid var(--text); padding: 5px 10px; background: var(--paper); }
h1, h2, h3 { font-weight: 800; letter-spacing: -0.02em; margin: 0; }
h1 { font-size: clamp(44px, 8vw, 96px); line-height: .95; margin: 22px 0 22px; max-width: 14ch; }
h1 em { font-style: normal; color: var(--accent); }
h2 { font-size: clamp(32px, 5vw, 56px); line-height: 1; max-width: 18ch; }
h3 { font-size: 21px; line-height: 1.15; }
.lead { font-size: clamp(19px, 2.2vw, 23px); color: var(--muted); max-width: 46ch; margin: 0; }
section { padding: clamp(64px, 9vw, 120px) 0; border-bottom: 2px solid var(--text); }
.hero { padding-top: clamp(48px, 7vw, 96px); }
.hero-grid { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); gap: clamp(32px, 5vw, 72px); align-items: end; }
.cta-row { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 30px; }

/* the chain-of-custody receipt in the hero */
.receipt { background: var(--paper); border: 2px solid var(--text); box-shadow: 10px 10px 0 var(--text); font-size: 15px; }
.receipt .head { display: flex; justify-content: space-between; align-items: center; padding: 14px 18px; border-bottom: 2px solid var(--text); font-weight: 800; }
.receipt .pill { font-size: 12px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; color: #fff; background: var(--accent); padding: 4px 8px; }
.receipt ol { list-style: none; margin: 0; padding: 6px 18px 12px; counter-reset: s; }
.receipt li { display: grid; grid-template-columns: 26px minmax(0, 1fr) auto; gap: 10px; padding: 11px 0; border-bottom: 1.5px dashed var(--line); align-items: start; }
.receipt li:last-child { border-bottom: 0; }
.receipt li::before { counter-increment: s; content: counter(s); width: 24px; height: 24px; border: 2px solid var(--text); display: grid; place-items: center; font-weight: 800; font-size: 13px; }
.receipt li b { display: block; }
.receipt li span { color: var(--muted); }
.receipt time { font-weight: 800; font-variant-numeric: tabular-nums; }
.receipt .foot { padding: 12px 18px; border-top: 2px solid var(--text); background: var(--surface); font-weight: 600; font-size: 14px; }

.grid { display: grid; gap: 0; border: 2px solid var(--text); background: var(--paper); margin-top: 44px; }
.g4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.g3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.cell { padding: 26px 24px 28px; border-right: 2px solid var(--text); }
.cell:last-child { border-right: 0; }
.cell p { color: var(--muted); margin: 10px 0 0; font-size: 16px; }
.icon { width: 44px; height: 44px; border: 2px solid var(--text); display: grid; place-items: center; margin-bottom: 18px; background: var(--bg); }
.icon svg { width: 24px; height: 24px; fill: none; stroke: var(--text); stroke-width: 2; stroke-linecap: square; }
.cell.accent .icon { background: var(--accent); border-color: var(--accent); }
.cell.accent .icon svg { stroke: #fff; }

.split { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.2fr); gap: clamp(32px, 6vw, 96px); align-items: start; }
.checks { list-style: none; margin: 0; padding: 0; border-top: 2px solid var(--text); }
.checks li { display: grid; grid-template-columns: 30px minmax(0, 1fr); gap: 12px; padding: 18px 0; border-bottom: 2px solid var(--text); }
.checks li svg { width: 24px; height: 24px; fill: none; stroke: var(--accent); stroke-width: 3; margin-top: 3px; }
.checks b { display: block; font-size: 19px; }
.checks span { color: var(--muted); font-size: 16px; }

.who { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 28px; padding: 0; list-style: none; }
.who li { border: 2px solid var(--text); background: var(--paper); padding: 10px 16px; font-weight: 600; }

.dark { background: var(--text); color: var(--bg); }
.dark .lead, .dark .checks span { color: color-mix(in srgb, var(--bg) 75%, transparent); }
.dark .checks, .dark .checks li { border-color: color-mix(in srgb, var(--bg) 35%, transparent); }
.dark .eyebrow { background: transparent; border-color: var(--bg); color: var(--bg); }
.dark .btn-ghost { border-color: var(--bg); color: var(--bg); }
.dark .btn-ghost:hover { background: var(--bg); color: var(--text); }

form.panel { background: var(--paper); border: 2px solid var(--text); padding: clamp(20px, 3vw, 32px); }
.dark form.panel { color: var(--text); }
.fields { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px 16px; }
.fields .full { grid-column: 1 / -1; }
label.f { display: block; font-weight: 600; font-size: 15px; margin-bottom: 6px; }
input, select, textarea { width: 100%; min-height: 50px; padding: 11px 13px; font: inherit; font-size: 17px; color: var(--text); background: #fff; border: 2px solid var(--text); border-radius: 0; }
textarea { min-height: 96px; resize: vertical; }
fieldset { border: 0; padding: 0; margin: 0; }
legend { font-weight: 600; font-size: 15px; margin-bottom: 8px; }
.opts { display: flex; flex-wrap: wrap; gap: 8px; }
.opts label { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; padding: 0 12px; border: 2px solid var(--text); cursor: pointer; font-size: 16px; }
.opts input { width: 18px; height: 18px; min-height: 0; accent-color: var(--accent); }
.opts label:has(input:checked) { background: var(--accent); border-color: var(--accent); color: #fff; }
.hp { position: absolute; left: -9999px; }
.fine { font-size: 14px; color: var(--muted); margin: 14px 0 0; }
.dark .fine { color: color-mix(in srgb, var(--bg) 70%, transparent); }

footer.site { padding: 40px 0 56px; font-size: 15px; color: var(--muted); }
footer.site .wrap { display: flex; justify-content: space-between; gap: 24px; flex-wrap: wrap; }
footer.site p { margin: 6px 0 0; max-width: 62ch; }

@media (max-width: 960px) {
  .hero-grid, .split { grid-template-columns: minmax(0, 1fr); }
  .g4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .g4 .cell:nth-child(2) { border-right: 0; }
  .g4 .cell:nth-child(-n+2) { border-bottom: 2px solid var(--text); }
  .g3 { grid-template-columns: minmax(0, 1fr); }
  .g3 .cell { border-right: 0; border-bottom: 2px solid var(--text); }
  .g3 .cell:last-child { border-bottom: 0; }
  .receipt { box-shadow: 6px 6px 0 var(--text); }
}
@media (max-width: 620px) {
  nav.top a:not(.btn) { display: none; }
  .g4 { grid-template-columns: minmax(0, 1fr); }
  .g4 .cell { border-right: 0; border-bottom: 2px solid var(--text); }
  .g4 .cell:last-child { border-bottom: 0; }
  .fields { grid-template-columns: minmax(0, 1fr); }
  .cta-row .btn { width: 100%; }
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
