:root {
  --ink: #142522;
  --muted: #5d6e69;
  --cream: #f7f3ea;
  --paper: #fffdf8;
  --forest: #123f3b;
  --forest-2: #1f5d55;
  --mint: #dceee7;
  --mint-2: #b9ddd0;
  --gold: #d69a3a;
  --gold-soft: #f4dfb4;
  --blue: #4e7ea4;
  --line: #d9ded9;
  --shadow: 0 18px 45px rgba(18, 63, 59, 0.12);
  --radius: 22px;
  --radius-sm: 13px;
  --container: 1180px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
img, svg { max-width: 100%; }
a { color: inherit; }
button, input { font: inherit; }
button { cursor: pointer; }

.container { width: min(var(--container), calc(100% - 40px)); margin-inline: auto; }
.section { padding: 104px 0; }
.section-tint { background: var(--cream); }
.section-dark { background: var(--forest); color: white; }

.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;
}
.skip-link {
  position: fixed;
  top: 12px;
  left: 12px;
  z-index: 999;
  transform: translateY(-150%);
  background: white;
  color: var(--forest);
  padding: 10px 14px;
  border-radius: 8px;
  box-shadow: var(--shadow);
}
.skip-link:focus { transform: translateY(0); }

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 253, 248, 0.93);
  border-bottom: 1px solid rgba(217, 222, 217, 0.8);
  backdrop-filter: blur(14px);
}
.header-inner { min-height: 76px; display: flex; align-items: center; justify-content: space-between; gap: 28px; }
.brand { display: inline-flex; align-items: center; gap: 12px; text-decoration: none; line-height: 1.15; }
.brand-mark {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border-radius: 12px;
  color: white;
  background: var(--forest);
  font-weight: 800;
  letter-spacing: -0.04em;
}
.brand strong { display: block; font-size: 0.98rem; }
.brand small { display: block; margin-top: 4px; color: var(--muted); font-size: 0.76rem; text-transform: uppercase; letter-spacing: 0.13em; }
.primary-nav { display: flex; align-items: center; gap: 25px; }
.primary-nav a { color: #30433f; text-decoration: none; font-size: 0.92rem; font-weight: 650; }
.primary-nav a:hover, .primary-nav a:focus-visible { color: var(--forest-2); }
.primary-nav .nav-cta { padding: 10px 16px; border-radius: 999px; background: var(--forest); color: white; }
.nav-toggle { display: none; background: none; border: 0; font-size: 1.6rem; color: var(--forest); }

.hero {
  overflow: hidden;
  background:
    radial-gradient(circle at 85% 15%, rgba(185, 221, 208, 0.55), transparent 31%),
    linear-gradient(145deg, #fffdf8 0%, #f7f3ea 100%);
}
.hero-grid { min-height: 690px; display: grid; grid-template-columns: 1.02fr 0.98fr; align-items: center; gap: 62px; padding-block: 80px; }
.eyebrow { margin: 0 0 18px; color: var(--forest-2); font-weight: 800; font-size: 0.78rem; text-transform: uppercase; letter-spacing: 0.16em; }
.eyebrow.light { color: var(--mint-2); }
.hero h1 { max-width: 760px; margin: 0; font-size: clamp(3.1rem, 5.7vw, 5.65rem); line-height: 0.98; letter-spacing: -0.055em; }
.hero-lede { max-width: 680px; margin: 30px 0 0; color: #455a55; font-size: clamp(1.05rem, 1.7vw, 1.25rem); line-height: 1.72; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 13px; margin-top: 34px; }
.button { display: inline-flex; align-items: center; justify-content: center; min-height: 49px; padding: 0 21px; border: 1px solid transparent; border-radius: 999px; text-decoration: none; font-weight: 800; }
.button-primary { background: var(--forest); color: white; box-shadow: 0 10px 26px rgba(18, 63, 59, 0.2); }
.button-primary:hover { background: var(--forest-2); }
.button-secondary { border-color: #bdc9c5; background: rgba(255, 255, 255, 0.65); color: var(--forest); }
.button-light { border-color: white; background: white; color: var(--forest); }
.microcopy { margin: 18px 0 0; color: var(--muted); font-size: 0.87rem; }

.hero-visual { position: relative; }
.state-card {
  position: relative;
  padding: 30px 26px 22px;
  border: 1px solid rgba(18, 63, 59, 0.12);
  border-radius: 32px;
  background: rgba(255, 255, 255, 0.73);
  box-shadow: var(--shadow);
  transform: rotate(1.1deg);
}
.state-card::before, .state-card::after { content: ""; position: absolute; border-radius: 50%; filter: blur(1px); }
.state-card::before { width: 90px; height: 90px; right: -25px; top: -30px; background: var(--gold-soft); z-index: -1; }
.state-card::after { width: 105px; height: 105px; left: -37px; bottom: -31px; background: var(--mint-2); z-index: -1; }
.state-label { color: var(--muted); font-size: 0.75rem; font-weight: 900; letter-spacing: 0.2em; }
.nc-shape { fill: var(--mint); stroke: var(--forest-2); stroke-width: 3; }
.route { fill: none; stroke: var(--gold); stroke-width: 7; stroke-linecap: round; stroke-dasharray: 1 15; }
.pin circle:first-child { fill: var(--forest); }
.pin-dot { fill: white; }
.pharmacy-icon rect:first-child { fill: white; stroke: var(--forest); stroke-width: 4; }
.pharmacy-icon .cross { fill: var(--forest-2); }
.mountain { fill: none; stroke: var(--blue); stroke-width: 7; stroke-linecap: round; stroke-linejoin: round; opacity: 0.7; }
.coast { fill: none; stroke: var(--blue); stroke-width: 7; stroke-linecap: round; opacity: 0.7; }
.visual-caption { display: flex; justify-content: space-around; gap: 12px; padding: 8px 18px 0; color: var(--muted); font-size: 0.85rem; }
.visual-caption b { color: var(--forest); }

.snapshot { padding: 78px 0 84px; background: white; border-block: 1px solid var(--line); }
.section-heading { max-width: 760px; margin-bottom: 48px; }
.section-heading.compact { margin-bottom: 30px; }
.section-heading h2 { margin: 0; font-size: clamp(2.1rem, 4vw, 3.8rem); line-height: 1.08; letter-spacing: -0.045em; }
.section-heading p:not(.eyebrow) { margin: 21px 0 0; color: var(--muted); font-size: 1.04rem; }
.section-heading.centered { margin-inline: auto; text-align: center; }
.stat-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 15px; }
.stat-card { min-height: 218px; display: flex; flex-direction: column; padding: 27px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--paper); }
.stat-card strong { color: var(--forest); font-size: 3.2rem; line-height: 1; letter-spacing: -0.055em; }
.stat-card span { margin-top: 22px; color: #475b56; }
.stat-card a { margin-top: auto; padding-top: 18px; color: var(--forest-2); font-weight: 800; font-size: 0.82rem; }
.stat-card.accent { background: var(--forest); border-color: var(--forest); color: white; }
.stat-card.accent strong, .stat-card.accent a { color: var(--gold-soft); }
.stat-card.accent span { color: #dbe8e4; }
.source-note { margin: 18px 0 0; color: var(--muted); font-size: 0.83rem; }

.split-layout { display: grid; grid-template-columns: 0.82fr 1.18fr; gap: 88px; align-items: start; }
.sticky-heading { position: sticky; top: 120px; margin-bottom: 0; }
.stacked-panels { display: grid; gap: 18px; }
.info-panel { display: grid; grid-template-columns: 76px 1fr; gap: 22px; padding: 31px; border: 1px solid var(--line); border-radius: var(--radius); background: white; }
.panel-number { color: var(--gold); font-weight: 900; font-size: 1rem; letter-spacing: 0.12em; }
.info-panel h3 { margin: 0 0 10px; font-size: 1.32rem; }
.info-panel p { margin: 0; color: var(--muted); }

.service-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.service-card { min-height: 268px; padding: 28px; border: 1px solid #dfe3dc; border-radius: var(--radius); background: white; box-shadow: 0 12px 25px rgba(18, 63, 59, 0.04); }
.service-icon { display: grid; place-items: center; width: 45px; height: 45px; border-radius: 14px; background: var(--mint); color: var(--forest); font-size: 1.2rem; font-weight: 900; }
.service-card h3 { margin: 25px 0 11px; font-size: 1.25rem; }
.service-card p { margin: 0; color: var(--muted); }

.resource-heading, .evidence-heading { max-width: none; display: grid; grid-template-columns: 1.2fr 0.8fr; align-items: end; gap: 45px; }
.resource-heading p:not(.eyebrow), .evidence-heading p:not(.eyebrow) { margin: 0; }
.resource-controls { display: flex; align-items: center; justify-content: space-between; gap: 20px; margin-bottom: 30px; }
.filter-group { display: flex; flex-wrap: wrap; gap: 8px; }
.filter-button { padding: 9px 14px; border: 1px solid var(--line); border-radius: 999px; background: white; color: var(--forest); font-size: 0.84rem; font-weight: 750; }
.filter-button.is-active, .filter-button:hover { border-color: var(--forest); background: var(--forest); color: white; }
.search-control { min-width: 315px; display: flex; align-items: center; gap: 8px; padding: 0 13px; border: 1px solid var(--line); border-radius: 999px; background: white; }
.search-control input { width: 100%; min-height: 43px; border: 0; outline: 0; background: transparent; }
.resource-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; }
.resource-card { display: flex; flex-direction: column; min-height: 274px; padding: 28px; border: 1px solid var(--line); border-radius: var(--radius); background: white; transition: transform 180ms ease, box-shadow 180ms ease; }
.resource-card:hover { transform: translateY(-3px); box-shadow: 0 16px 35px rgba(18, 63, 59, 0.08); }
.resource-meta { display: flex; flex-wrap: wrap; gap: 8px; }
.resource-meta span { padding: 5px 9px; border-radius: 999px; background: var(--cream); color: var(--forest-2); font-size: 0.72rem; font-weight: 800; text-transform: uppercase; letter-spacing: 0.05em; }
.resource-card h3 { margin: 24px 0 10px; font-size: 1.38rem; line-height: 1.25; }
.resource-card p { margin: 0 0 24px; color: var(--muted); }
.resource-card a { margin-top: auto; color: var(--forest-2); font-weight: 850; text-decoration-thickness: 1px; text-underline-offset: 4px; }
.resource-card[hidden] { display: none; }
.empty-state { padding: 35px; border: 1px dashed var(--line); border-radius: var(--radius); text-align: center; color: var(--muted); }

.checklist-layout { display: grid; grid-template-columns: 0.86fr 1.14fr; gap: 80px; align-items: center; }
.checklist-layout h2 { max-width: 570px; margin: 0; font-size: clamp(2.35rem, 4vw, 4.2rem); line-height: 1.02; letter-spacing: -0.05em; }
.checklist-layout > div > p:not(.eyebrow) { max-width: 580px; color: #d2e2dd; }
.question-list { margin: 0; padding: 0; list-style: none; display: grid; gap: 10px; }
.question-list li { display: grid; grid-template-columns: 48px 1fr; align-items: center; gap: 17px; padding: 15px 18px; border: 1px solid rgba(255,255,255,0.16); border-radius: 16px; background: rgba(255,255,255,0.06); }
.question-list span { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; background: var(--gold-soft); color: var(--forest); font-weight: 900; }
.question-list p { margin: 0; }
.emergency-note { margin-top: 52px; padding-top: 25px; border-top: 1px solid rgba(255,255,255,0.18); color: #ccddd8; font-size: 0.9rem; }
.emergency-note strong { color: white; }

.action-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; }
.action-grid article { padding: 31px; border: 1px solid var(--line); border-radius: var(--radius); background: white; }
.action-grid span { color: var(--forest-2); font-size: 0.75rem; font-weight: 900; text-transform: uppercase; letter-spacing: 0.13em; }
.action-grid h3 { margin: 15px 0 8px; font-size: 1.45rem; }
.action-grid p { margin: 0; color: var(--muted); }

.evidence-summary { display: grid; grid-template-columns: repeat(2, 1fr); gap: 15px; margin-bottom: 48px; }
.evidence-summary article { padding: 27px; border: 1px solid var(--line); border-radius: var(--radius-sm); background: white; }
.evidence-summary h3 { margin: 0 0 8px; font-size: 1.22rem; }
.evidence-summary p { margin: 0 0 15px; color: var(--muted); }
.evidence-summary a { color: var(--forest-2); font-size: 0.88rem; font-weight: 800; }
.source-list { margin: 0; padding: 0; list-style: none; border-top: 1px solid var(--line); }
.source-list li { display: grid; grid-template-columns: 1fr auto; gap: 30px; align-items: center; padding: 24px 2px; border-bottom: 1px solid var(--line); }
.source-list span { display: block; margin-bottom: 5px; color: var(--forest-2); font-size: 0.7rem; font-weight: 900; text-transform: uppercase; letter-spacing: 0.11em; }
.source-list strong { display: block; line-height: 1.3; }
.source-list p { margin: 7px 0 0; color: var(--muted); font-size: 0.92rem; }
.source-list > li > a { white-space: nowrap; color: var(--forest-2); font-weight: 800; font-size: 0.87rem; }

.about-section { background: white; }
.about-card { display: grid; grid-template-columns: 0.85fr 1.15fr; gap: 70px; padding: 52px; border-radius: 30px; background: var(--mint); }
.about-card h2 { margin: 0; font-size: clamp(2rem, 3.5vw, 3.2rem); line-height: 1.08; letter-spacing: -0.04em; }
.about-card p { margin-top: 0; color: #405651; }
.about-card .review-date { margin-top: 25px; font-size: 0.86rem; }

.site-footer { padding: 68px 0 28px; background: #0d302d; color: white; }
.footer-grid { display: grid; grid-template-columns: 1.25fr 0.55fr 0.8fr; gap: 60px; }
.footer-brand .brand-mark { background: var(--gold-soft); color: var(--forest); }
.footer-brand small { color: #b8cfca; }
.footer-grid p { color: #b8cfca; max-width: 490px; }
.footer-grid h2 { margin: 0 0 14px; font-size: 0.78rem; text-transform: uppercase; letter-spacing: 0.14em; color: var(--gold-soft); }
.footer-grid > div:nth-child(2) { display: flex; flex-direction: column; align-items: flex-start; }
.footer-grid a:not(.brand) { margin-bottom: 8px; color: #d7e5e1; }
.footer-bottom { display: flex; justify-content: space-between; gap: 20px; margin-top: 48px; padding-top: 22px; border-top: 1px solid rgba(255,255,255,0.13); color: #a8c1bb; font-size: 0.83rem; }
.footer-bottom a { color: white; }

:focus-visible { outline: 3px solid var(--gold); outline-offset: 3px; }

@media (max-width: 980px) {
  .nav-toggle { display: block; }
  .primary-nav { position: absolute; top: 76px; left: 20px; right: 20px; display: none; flex-direction: column; align-items: stretch; gap: 4px; padding: 15px; border: 1px solid var(--line); border-radius: 18px; background: var(--paper); box-shadow: var(--shadow); }
  .primary-nav.is-open { display: flex; }
  .primary-nav a { padding: 11px 12px; }
  .primary-nav .nav-cta { text-align: center; }
  .hero-grid { min-height: auto; grid-template-columns: 1fr; gap: 50px; padding-block: 70px 90px; }
  .hero-copy { max-width: 780px; }
  .hero-visual { max-width: 700px; }
  .stat-grid { grid-template-columns: repeat(2, 1fr); }
  .split-layout, .checklist-layout, .about-card { grid-template-columns: 1fr; gap: 48px; }
  .sticky-heading { position: static; }
  .service-grid { grid-template-columns: repeat(2, 1fr); }
  .resource-heading, .evidence-heading { grid-template-columns: 1fr; gap: 15px; align-items: start; }
  .resource-controls { align-items: stretch; flex-direction: column; }
  .search-control { min-width: 0; }
  .footer-grid { grid-template-columns: 1.2fr 0.8fr; }
  .footer-grid > div:last-child { grid-column: 1 / -1; }
}

@media (max-width: 650px) {
  .container { width: min(100% - 28px, var(--container)); }
  .section { padding: 78px 0; }
  .header-inner { min-height: 68px; }
  .primary-nav { top: 69px; left: 14px; right: 14px; }
  .brand strong { font-size: 0.88rem; }
  .brand small { font-size: 0.68rem; }
  .brand-mark { width: 39px; height: 39px; }
  .hero-grid { padding-block: 58px 75px; }
  .hero h1 { font-size: clamp(3rem, 15vw, 4.25rem); }
  .hero-actions { align-items: stretch; flex-direction: column; }
  .button { width: 100%; }
  .state-card { padding: 22px 12px 15px; border-radius: 24px; }
  .visual-caption { padding-inline: 4px; font-size: 0.72rem; }
  .stat-grid, .service-grid, .resource-grid, .action-grid, .evidence-summary { grid-template-columns: 1fr; }
  .stat-card { min-height: 195px; }
  .info-panel { grid-template-columns: 1fr; gap: 8px; padding: 25px; }
  .resource-card { min-height: 0; }
  .filter-group { overflow-x: auto; flex-wrap: nowrap; padding-bottom: 4px; }
  .filter-button { flex: 0 0 auto; }
  .source-list li { grid-template-columns: 1fr; gap: 13px; }
  .source-list > li > a { white-space: normal; }
  .about-card { padding: 32px 25px; }
  .footer-grid { grid-template-columns: 1fr; }
  .footer-grid > div:last-child { grid-column: auto; }
  .footer-bottom { flex-direction: column; }
}

@media print {
  .site-header, .hero, .snapshot, #why-it-matters, #what-pharmacists-do, #resource-finder, #take-action, #evidence, #about, .site-footer, .button { display: none !important; }
  body { background: white; color: black; }
  #patient-checklist { display: block !important; padding: 25px; background: white; color: black; }
  .checklist-layout { display: block; }
  .checklist-layout h2 { font-size: 28pt; }
  .checklist-layout > div > p:not(.eyebrow), .emergency-note { color: black; }
  .question-list { margin-top: 25px; }
  .question-list li { break-inside: avoid; border: 1px solid #777; background: white; }
  .question-list span { background: #eee; color: black; }
  .emergency-note { border-top: 1px solid #777; }
}
