/* ==========================================================
   NexLifeRx — teal & serif system (per approved UI mockups)
   cream #F7F4EE · ink #10333A · teal #2E8B8B · deep #14555A
   sand #E9C892 · footer #0D2126
   ========================================================== */
:root {
  --cream: #F7F4EE;
  --cream-2: #F1EDE3;
  --paper: #FFFFFF;
  --ink: #10333A;
  --ink-soft: #274A50;
  --muted: #5E6E6C;
  --faint: #8B9694;
  --teal: #2E8B8B;
  --teal-deep: #14555A;
  --teal-tint: #E3F0EE;
  --sand: #E9C892;
  --sand-deep: #C89B55;
  --sand-tint: #F8EFDD;
  --safety-bg: #FBEDE8;
  --safety-line: #EBCDC2;
  --safety: #B4432E;
  --line: #E6E1D4;
  --line-2: #D8D2C2;
  --ok: #2E7D4F;
  --ok-tint: #E6F2EA;
  --r-lg: 18px;
  --r-md: 14px;
  --r-sm: 10px;
  --shadow: 0 18px 50px rgba(16, 51, 58, .10);
  --shadow-sm: 0 8px 22px rgba(16, 51, 58, .07);
  --max: 1200px;
  --serif: "Source Serif 4", Georgia, "Times New Roman", serif;
  --sans: "Inter", ui-sans-serif, -apple-system, "Segoe UI", sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
}
body { margin: 0; background: var(--cream); color: var(--ink); font-family: var(--sans); font-size: 15px; line-height: 1.55; -webkit-font-smoothing: antialiased; }
h1, h2, h3, .serif { font-family: var(--serif); }
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
button, input { font: inherit; color: inherit; }
:focus-visible { outline: 3px solid var(--teal); outline-offset: 2px; border-radius: 6px; }
::selection { background: var(--teal-tint); }

.skip-link { position: fixed; top: -80px; left: 20px; z-index: 1000; background: var(--ink); color: #fff; padding: 12px 18px; border-radius: 10px; }
.skip-link:focus { top: 16px; }
.wrap { max-width: var(--max); margin: 0 auto; padding: 0 24px; }

/* ---------- buttons ---------- */
.button { display: inline-flex; align-items: center; justify-content: center; gap: 9px; font-weight: 600; font-size: 14px; padding: 13px 22px; border-radius: var(--r-sm); border: 1.5px solid transparent; cursor: pointer; transition: transform .18s, background .18s, border-color .18s, box-shadow .18s; }
.button:hover { transform: translateY(-1px); box-shadow: var(--shadow-sm); }
.button:disabled { opacity: .4; cursor: not-allowed; transform: none; box-shadow: none; }
.btn-teal { background: var(--teal-deep); color: #fff; }
.btn-teal:hover { background: #0F464A; }
.btn-sand { background: var(--sand); color: var(--ink); }
.btn-sand:hover { background: #E2BC7B; }
.btn-outline { background: var(--paper); color: var(--ink); border-color: var(--line-2); }
.btn-outline:hover { border-color: var(--ink); }
.btn-outline-sand { background: var(--paper); color: var(--ink); border-color: var(--sand-deep); }
.btn-sm { padding: 10px 16px; font-size: 13px; }
.back-button { background: transparent; border: 1.5px solid var(--line-2); color: var(--muted); padding: 12px 20px; border-radius: var(--r-sm); font-weight: 600; cursor: pointer; }
.back-button:hover { border-color: var(--ink); color: var(--ink); }
.quiet-button { background: none; border: 0; color: var(--faint); font-size: 13px; font-weight: 600; cursor: pointer; }
.quiet-button:hover { color: var(--ink); text-decoration: underline; }
.text-arrow-link { color: var(--teal); font-weight: 600; font-size: 13.5px; }
.text-arrow-link:hover { text-decoration: underline; }

/* ---------- header ---------- */
.site-header { position: sticky; top: 0; z-index: 100; background: rgba(255,255,255,.92); backdrop-filter: blur(14px); border-bottom: 1px solid var(--line); }
.header-inner { max-width: var(--max); margin: 0 auto; height: 66px; padding: 0 24px; display: flex; align-items: center; justify-content: space-between; gap: 18px; }
.brand { font-family: var(--serif); font-weight: 700; font-size: 23px; letter-spacing: -.01em; color: var(--ink); white-space: nowrap; }
.brand .rx { color: var(--teal); }
.desktop-nav { display: flex; align-items: center; gap: 4px; }
.desktop-nav a { font-size: 13.5px; font-weight: 500; color: var(--ink-soft); padding: 8px 11px; border-radius: 8px; }
.desktop-nav a:hover { background: var(--cream); color: var(--ink); }
.menu-button { display: none; width: 40px; height: 40px; border: 1px solid var(--line-2); border-radius: 10px; background: #fff; cursor: pointer; flex-direction: column; gap: 5px; align-items: center; justify-content: center; }
.menu-button span { display: block; width: 16px; height: 2px; background: var(--ink); border-radius: 2px; }
[hidden] { display: none !important; }

/* Mobile drawer: full-height vertical panel sliding in from the right */
.menu-backdrop { position: fixed; inset: 0; z-index: 198; background: rgba(13, 33, 38, .45); opacity: 0; pointer-events: none; transition: opacity .25s ease; }
.menu-backdrop.open { opacity: 1; pointer-events: auto; }
.mobile-menu { position: fixed; top: 0; right: 0; bottom: 0; z-index: 199; width: min(320px, 84vw); background: #fff; border-left: 1px solid var(--line); box-shadow: -20px 0 60px rgba(13,33,38,.18); display: flex !important; flex-direction: column; padding: 16px 16px 20px; transform: translateX(105%); transition: transform .28s cubic-bezier(.2,.7,.2,1); overflow-y: auto; }
.mobile-menu[hidden] { display: flex !important; visibility: hidden; }
.mobile-menu.open { transform: translateX(0); visibility: visible; }
.drawer-top { display: flex; align-items: center; justify-content: space-between; padding: 2px 4px 14px; border-bottom: 1px solid var(--line); margin-bottom: 10px; }
.drawer-top .brand { font-size: 20px; }
.drawer-close { width: 38px; height: 38px; border: 1px solid var(--line-2); border-radius: 10px; background: #fff; cursor: pointer; font-size: 16px; color: var(--ink); }
.mobile-menu nav { display: grid; }
.mobile-menu nav a { padding: 14px 12px; border-radius: 10px; font-weight: 600; font-size: 15px; border-bottom: 1px solid var(--cream-2); }
.mobile-menu nav a:hover { background: var(--cream); }
.drawer-cta { margin-top: auto; display: grid; gap: 10px; padding-top: 18px; }
.drawer-cta .button { width: 100%; }
.drawer-contact { text-align: center; color: var(--muted); font-size: 12.5px; }
.drawer-contact a { font-weight: 700; color: var(--teal-deep); }
body.menu-locked { overflow: hidden; }

/* ---------- home hero ---------- */
.hero { background: linear-gradient(160deg, #FBF9F4, #EFEAE0); border-bottom: 1px solid var(--line); overflow: hidden; }
.hero-inner { max-width: var(--max); margin: 0 auto; padding: 64px 24px 58px; display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: center; }
.hero h1 { margin: 0; font-size: clamp(36px, 4.6vw, 56px); line-height: 1.08; letter-spacing: -.015em; font-weight: 700; max-width: 13ch; }
.hero-sub { margin: 18px 0 0; color: var(--muted); font-size: 16.5px; max-width: 42ch; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 26px; }
.hero-trust { display: flex; flex-wrap: wrap; gap: 22px; margin-top: 30px; }
.hero-trust span { display: inline-flex; align-items: center; gap: 8px; font-size: 12.5px; font-weight: 500; color: var(--muted); }
.hero-trust svg { width: 17px; height: 17px; stroke: var(--teal); fill: none; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.hero-visual { position: relative; min-height: 430px; display: grid; place-items: center; }
.hero-leaf { position: absolute; right: -40px; top: -20px; width: 300px; opacity: .5; }
.phone { position: relative; z-index: 2; width: 232px; background: #10282C; border-radius: 34px; padding: 10px; box-shadow: 0 30px 70px rgba(16,51,58,.28); transform: rotate(-3deg); }
.phone-screen { background: #FBF9F4; border-radius: 26px; padding: 18px 14px 20px; }
.phone-notch { width: 74px; height: 18px; border-radius: 99px; background: #10282C; margin: 0 auto 12px; }
.phone-hello { font-family: var(--serif); font-weight: 700; font-size: 15px; }
.phone-card { margin-top: 9px; background: #fff; border: 1px solid var(--line); border-radius: 12px; padding: 10px 11px; display: flex; align-items: center; gap: 9px; }
.phone-card small { display: block; font-size: 8.5px; color: var(--faint); text-transform: uppercase; letter-spacing: .08em; font-weight: 700; }
.phone-card b { font-size: 11px; }
.phone-ic { width: 26px; height: 26px; flex: none; border-radius: 8px; background: var(--teal-tint); display: grid; place-items: center; color: var(--teal-deep); font-size: 12px; }
.phone-cta { margin-top: 11px; background: var(--teal-deep); color: #fff; text-align: center; font-size: 11px; font-weight: 700; border-radius: 9px; padding: 10px; }
.hero-vials { position: absolute; z-index: 1; right: 4%; bottom: 6%; display: flex; align-items: flex-end; gap: 12px; }
.hero-vials .vial-svg { width: 92px; }
.hero-vials .vial-svg:last-child { width: 110px; }
.float-a { animation: floaty 6s ease-in-out infinite; }
.float-b { animation: floaty 7s ease-in-out infinite .8s; }
@keyframes floaty { 50% { transform: translateY(-9px); } }

/* ---------- generic sections ---------- */
section.block { padding: 68px 0; }
section.block.tint { background: var(--cream-2); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.sec-head { text-align: center; max-width: 640px; margin: 0 auto 40px; }
.sec-head h2 { margin: 0 0 10px; font-size: clamp(26px, 3.4vw, 36px); font-weight: 700; letter-spacing: -.01em; }
.sec-head p { margin: 0; color: var(--muted); }

/* 5 easy steps */
.steps-row { display: grid; grid-template-columns: repeat(5, 1fr); gap: 12px; }
.step-card { position: relative; background: var(--paper); border: 1px solid var(--line); border-radius: var(--r-md); padding: 26px 16px 22px; text-align: center; }
.step-num { position: absolute; top: -13px; left: 50%; transform: translateX(-50%); width: 26px; height: 26px; border-radius: 50%; background: var(--teal-deep); color: #fff; display: grid; place-items: center; font-size: 12px; font-weight: 700; }
.step-card .ic { width: 46px; height: 46px; margin: 4px auto 12px; border-radius: 12px; background: var(--teal-tint); display: grid; place-items: center; }
.step-card .ic svg { width: 24px; height: 24px; stroke: var(--teal-deep); fill: none; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.step-card h3 { margin: 0 0 5px; font-size: 15.5px; }
.step-card p { margin: 0; color: var(--muted); font-size: 12px; }

/* programs */
.programs-row { display: grid; grid-template-columns: repeat(5, 1fr); gap: 12px; }
.program-card { background: var(--paper); border: 1px solid var(--line); border-radius: var(--r-md); padding: 24px 16px; text-align: center; transition: transform .2s, box-shadow .2s, border-color .2s; }
a.program-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-sm); border-color: var(--teal); }
.program-card .ic { width: 46px; height: 46px; margin: 0 auto 12px; border-radius: 50%; border: 1.5px solid var(--teal); display: grid; place-items: center; }
.program-card .ic svg { width: 22px; height: 22px; stroke: var(--teal-deep); fill: none; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.program-card h3 { margin: 0 0 5px; font-size: 15.5px; }
.program-card p { margin: 0; color: var(--muted); font-size: 12px; }

/* medications */
.meds-row { display: grid; grid-template-columns: repeat(6, 1fr); gap: 12px; }
.med-card { background: var(--paper); border: 1px solid var(--line); border-radius: var(--r-md); padding: 14px 12px 18px; text-align: center; transition: transform .2s, box-shadow .2s, border-color .2s; }
a.med-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-sm); border-color: var(--teal); }
.med-art { height: 140px; display: grid; place-items: center; background: radial-gradient(circle at 50% 80%, rgba(46,139,139,.10), transparent 60%); border-radius: 10px; margin-bottom: 10px; }
.med-art .vial-svg { width: 66px; }
.med-art .tab-svg { width: 88px; }
.med-card h3 { margin: 0; font-size: 12.5px; font-family: var(--sans); font-weight: 700; line-height: 1.35; }

/* match panel */
.match-panel { background: var(--cream-2); border: 1px solid var(--line); border-radius: var(--r-lg); padding: 36px clamp(20px, 4vw, 44px); display: grid; grid-template-columns: 1.1fr .9fr; gap: 36px; align-items: center; }
.match-visual { display: grid; grid-template-columns: 1fr 34px 1fr; align-items: center; gap: 6px; }
.match-visual .col { background: var(--paper); border: 1px solid var(--line); border-radius: var(--r-md); padding: 16px 12px 18px; text-align: center; }
.match-visual .col small { display: block; font-size: 10px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--faint); margin-bottom: 8px; }
.match-visual .vial-svg { width: 78px; margin: 0 auto; }
.match-arrow { text-align: center; color: var(--teal); font-size: 20px; font-weight: 700; }
.match-confirmed { display: inline-flex; align-items: center; gap: 9px; background: var(--paper); border: 1.5px solid var(--ok); color: var(--ok); border-radius: 999px; padding: 10px 18px; font-weight: 700; font-size: 14px; }
.match-list-home { list-style: none; margin: 18px 0 0; padding: 0; display: grid; gap: 10px; }
.match-list-home li { display: flex; gap: 11px; align-items: center; font-size: 13.5px; color: var(--ink-soft); }
.match-list-home li::before { content: "✓"; width: 20px; height: 20px; flex: none; border-radius: 50%; background: var(--teal-tint); color: var(--teal-deep); display: grid; place-items: center; font-size: 11px; font-weight: 800; }
.match-lock { display: flex; gap: 10px; align-items: center; margin-top: 18px; color: var(--muted); font-size: 12.5px; }
.match-lock svg { width: 16px; height: 16px; stroke: var(--muted); fill: none; stroke-width: 1.8; }

/* resource hub */
.hub-row { display: grid; grid-template-columns: repeat(6, 1fr); gap: 12px; }
.hub-card { background: var(--paper); border: 1px solid var(--line); border-radius: var(--r-md); overflow: hidden; text-align: center; transition: transform .2s, box-shadow .2s; }
a.hub-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-sm); }
.hub-art { height: 96px; background: var(--teal-tint); display: grid; place-items: center; }
.hub-art svg { width: 44px; height: 44px; stroke: var(--teal-deep); fill: none; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.hub-card h3 { margin: 12px 0 4px; font-size: 13px; font-family: var(--sans); font-weight: 700; }
.hub-card p { margin: 0 10px 16px; color: var(--muted); font-size: 11px; }

/* trust bar */
.trust-bar { background: var(--cream-2); border-top: 1px solid var(--line); padding: 26px 0; }
.trust-bar .wrap { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.trust-bar .item { display: flex; gap: 12px; align-items: center; justify-content: center; }
.trust-bar .item svg { width: 30px; height: 30px; flex: none; stroke: var(--teal-deep); fill: none; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.trust-bar b { display: block; font-size: 13px; }
.trust-bar small { color: var(--muted); font-size: 11.5px; }

/* ---------- instructions page ---------- */
.page-head { max-width: var(--max); margin: 0 auto; padding: 46px 24px 8px; display: flex; justify-content: space-between; gap: 24px; align-items: flex-start; flex-wrap: wrap; }
.page-head h1 { margin: 0; font-size: clamp(32px, 4vw, 46px); font-weight: 700; letter-spacing: -.01em; }
.page-head .sub { margin: 12px 0 0; color: var(--muted); max-width: 44ch; }
.help-card { display: flex; align-items: center; gap: 13px; background: var(--paper); border: 1px solid var(--line); border-radius: var(--r-md); padding: 14px 18px; box-shadow: var(--shadow-sm); transition: transform .2s; }
.help-card:hover { transform: translateY(-2px); }
.help-card .hc-ic { width: 36px; height: 36px; border-radius: 50%; background: var(--teal-tint); display: grid; place-items: center; color: var(--teal-deep); }
.help-card small { display: block; color: var(--faint); font-size: 11px; }
.help-card b { font-size: 13.5px; }
.help-card .chev { color: var(--faint); }

/* stepper */
.finder-wrap { max-width: var(--max); margin: 0 auto; padding: 26px 24px 80px; }
.step-list { list-style: none; margin: 8px 0 26px; padding: 0; display: grid; grid-template-columns: repeat(6, 1fr); }
.step-list li { position: relative; text-align: center; color: var(--faint); font-size: 12.5px; font-weight: 600; padding-top: 36px; }
.step-list li span { position: absolute; top: 0; left: 50%; transform: translateX(-50%); width: 28px; height: 28px; border-radius: 50%; background: var(--paper); border: 1.5px solid var(--line-2); display: grid; place-items: center; font-size: 12px; font-weight: 700; z-index: 2; }
.step-list li::before { content: ""; position: absolute; top: 14px; left: -50%; width: 100%; border-top: 2px dashed var(--line-2); }
.step-list li:first-child::before { display: none; }
.step-list li.active { color: var(--ink); }
.step-list li.active span { background: var(--teal-deep); border-color: var(--teal-deep); color: #fff; }
.step-list li.complete { color: var(--ink-soft); }
.step-list li.complete span { background: var(--teal); border-color: var(--teal); color: #fff; font-size: 0; }
.step-list li.complete span::before { content: "✓"; font-size: 13px; }
.progress-header { display: flex; justify-content: space-between; align-items: center; font-size: 12.5px; font-weight: 700; color: var(--muted); letter-spacing: .04em; text-transform: uppercase; }
.progress-track { display: none; }

.finder-panel { min-height: 500px; }

/* wizard panels */
.panel-intro { margin: 4px 0 22px; }
.panel-intro h3 { margin: 6px 0 8px; font-size: clamp(24px, 3vw, 32px); font-weight: 700; }
.panel-intro p { margin: 0; color: var(--muted); font-size: 14px; max-width: 58ch; }
.step-kicker { font-size: 11px; font-weight: 800; letter-spacing: .18em; text-transform: uppercase; color: var(--teal); }

.selection-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; }
.selection-grid.three { grid-template-columns: repeat(3, 1fr); }
.selection-card { position: relative; text-align: left; cursor: pointer; background: var(--paper); border: 1.5px solid var(--line); border-radius: var(--r-md); padding: 20px 18px; min-height: 140px; display: flex; flex-direction: column; gap: 3px; transition: border-color .2s, transform .2s, box-shadow .2s; }
.selection-card:hover { border-color: var(--teal); transform: translateY(-2px); box-shadow: var(--shadow-sm); }
.selection-card.selected { border-color: var(--teal-deep); background: #FDFCF8; box-shadow: var(--shadow-sm); }
.selection-card.disabled { opacity: .55; cursor: default; }
.selection-card.disabled:hover { transform: none; border-color: var(--line); box-shadow: none; }
.selection-card small { color: var(--teal); font-size: 10px; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; }
.selection-card h4 { margin: 3px 0 4px; font-size: 15px; }
.selection-card p { margin: 0; color: var(--muted); font-size: 12.5px; }
.card-icon { width: 40px; height: 40px; border-radius: 50%; border: 1.5px solid var(--teal); display: grid; place-items: center; color: var(--teal-deep); font-size: 16px; margin-bottom: 9px; }
.card-check { position: absolute; top: 13px; right: 13px; width: 24px; height: 24px; border-radius: 50%; background: var(--teal-deep); color: #fff; display: grid; place-items: center; font-size: 12px; font-weight: 800; }
.card-status { position: absolute; top: 14px; right: 14px; font-size: 9px; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; color: var(--faint); background: var(--cream); border: 1px solid var(--line); border-radius: 999px; padding: 4px 9px; }
.pharmacy-card { flex-direction: row; align-items: center; gap: 16px; min-height: 104px; }
.pharmacy-monogram { width: 50px; height: 50px; flex: none; border-radius: 14px; display: grid; place-items: center; font-size: 20px; font-weight: 800; color: #fff; background: linear-gradient(150deg, var(--teal), var(--teal-deep)); }
.pharmacy-card h4 { margin: 0 0 3px; }
.pharmacy-card p { font-size: 12px; }

.inline-alert { display: flex; gap: 12px; align-items: flex-start; margin-top: 20px; padding: 14px 16px; border-radius: var(--r-sm); background: var(--teal-tint); border: 1px solid #C6DFDB; color: var(--ink-soft); font-size: 13px; }
.inline-alert span { width: 23px; height: 23px; flex: none; border-radius: 50%; display: grid; place-items: center; background: var(--teal-deep); color: #fff; font-weight: 800; font-size: 12px; }
.inline-alert strong { display: block; margin-bottom: 2px; }
.inline-alert.warning { background: var(--sand-tint); border-color: #E8D3A6; color: #6E5424; }
.inline-alert.warning span { background: var(--sand-deep); }
.inline-alert.danger { background: var(--safety-bg); border-color: var(--safety-line); color: var(--safety); }
.inline-alert.danger span { background: var(--safety); }
.inline-alert a { font-weight: 700; }
.nav-row { display: flex; justify-content: space-between; align-items: center; gap: 12px; margin-top: 26px; }

/* vials & products */
.product-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.product-card { position: relative; text-align: center; cursor: pointer; background: var(--paper); border: 1.5px solid var(--line); border-radius: var(--r-md); padding: 16px 14px 18px; transition: border-color .2s, transform .2s, box-shadow .2s; }
.product-card:hover { border-color: var(--teal); transform: translateY(-2px); box-shadow: var(--shadow-sm); }
.product-card.selected { border-color: var(--teal-deep); background: #FDFCF8; box-shadow: var(--shadow-sm); }
.product-card h4 { margin: 6px 0 4px; font-size: 13px; font-family: var(--sans); font-weight: 700; }
.product-card p { margin: 0; color: var(--muted); font-size: 11px; }
.product-meta { display: flex; justify-content: center; gap: 8px; margin-top: 10px; padding-top: 10px; border-top: 1px solid var(--line); color: var(--faint); font-size: 9px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; }
.vial-stage { height: 178px; display: grid; place-items: center; margin-bottom: 6px; background: radial-gradient(circle at 50% 80%, rgba(46,139,139,.12), transparent 58%); border-radius: 12px; }
.vial-svg { width: 90px; filter: drop-shadow(0 14px 14px rgba(16,51,58,.16)); transition: transform .3s cubic-bezier(.2,.7,.2,1); }
.vial-svg svg { width: 100%; height: auto; display: block; }
.product-card:hover .vial-svg { transform: translateY(-4px) rotate(-1.5deg); }

/* confirm */
.confirm-layout { display: grid; grid-template-columns: 240px 1fr; gap: 26px; align-items: start; }
.confirm-product { text-align: center; background: var(--paper); border: 1px solid var(--line); border-radius: var(--r-md); padding: 18px 14px; }
.confirm-product .vial-stage { height: 195px; }
.confirm-product h4 { margin: 4px 0 3px; font-size: 13.5px; font-family: var(--sans); font-weight: 700; }
.confirm-product p { margin: 0; color: var(--muted); font-size: 11.5px; }
.confirm-details { border: 1px solid var(--line); border-radius: var(--r-sm); overflow: hidden; background: var(--paper); }
.detail-row { display: grid; grid-template-columns: 150px 1fr; gap: 14px; padding: 11px 15px; border-bottom: 1px solid var(--line); font-size: 13px; }
.detail-row:last-child { border-bottom: 0; }
.detail-row span { color: var(--faint); }
.dose-choice-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 9px; margin-top: 12px; }
.dose-choice { cursor: pointer; text-align: center; border: 1.5px solid var(--line); border-radius: var(--r-sm); background: var(--paper); padding: 12px 8px 10px; transition: border-color .2s, transform .15s; }
.dose-choice:hover { border-color: var(--teal); transform: translateY(-2px); }
.dose-choice b { display: block; font-size: 15px; }
.dose-choice small { color: var(--muted); font-size: 10.5px; }
.dose-choice.selected { background: var(--teal-deep); border-color: var(--teal-deep); color: #fff; }
.dose-choice.selected small { color: #BCD7D3; }
.dose-mini-bar { display: block; height: 4px; margin-top: 8px; border-radius: 99px; background: var(--cream-2); overflow: hidden; }
.dose-mini-bar i { display: block; height: 100%; border-radius: 99px; background: var(--teal); transition: width .4s; }
.dose-choice.selected .dose-mini-bar { background: rgba(255,255,255,.25); }
.dose-choice.selected .dose-mini-bar i { background: #fff; }
.checklist { display: grid; gap: 8px; margin-top: 22px; }
.check-row { display: flex; gap: 12px; align-items: flex-start; padding: 13px 15px; border: 1.5px solid var(--line); border-radius: var(--r-sm); background: var(--paper); cursor: pointer; font-size: 13px; }
.check-row:has(input:checked) { border-color: var(--ok); background: var(--ok-tint); }
.check-row input { width: 17px; height: 17px; margin-top: 1px; accent-color: var(--ok); }

/* ---------- guide (instructions view) ---------- */
.guide-view { animation: rise .5s cubic-bezier(.2,.7,.2,1); }
@keyframes rise { from { opacity: 0; transform: translateY(12px);} to { opacity: 1; transform: none;} }
.safety-banner { display: flex; align-items: center; gap: 16px; background: var(--safety-bg); border: 1px solid var(--safety-line); border-radius: var(--r-md); padding: 16px 20px; margin-bottom: 18px; flex-wrap: wrap; }
.safety-shield { width: 40px; height: 40px; flex: none; border-radius: 50%; background: #fff; border: 1px solid var(--safety-line); display: grid; place-items: center; }
.safety-shield svg { width: 20px; height: 20px; stroke: var(--safety); fill: none; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.safety-banner .txt { flex: 1; min-width: 240px; }
.safety-banner b { display: block; font-family: var(--serif); font-size: 17px; color: var(--safety); }
.safety-banner p { margin: 2px 0 0; font-size: 13px; color: #7A4636; }

.guide-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.gcard { background: var(--paper); border: 1px solid var(--line); border-radius: var(--r-md); padding: 22px; position: relative; }
.gcard.wide { grid-column: 1 / -1; }
.gcard h3 { margin: 0 0 14px; font-size: 20px; font-weight: 700; display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.gcard h3 .info { width: 20px; height: 20px; border-radius: 50%; border: 1.5px solid var(--line-2); color: var(--faint); font-size: 11px; font-weight: 700; display: grid; place-items: center; font-family: var(--sans); }
.gcard .foot-link { display: inline-block; margin-top: 14px; color: var(--teal); font-weight: 600; font-size: 13px; }
.gcard .foot-link:hover { text-decoration: underline; }

.gv-stage { background: var(--cream); border: 1px solid var(--line); border-radius: var(--r-sm); padding: 18px 14px 16px; text-align: center; position: relative; }
.gv-stage .vial-svg { width: 104px; margin: 6px auto 0; }
.match-badge { position: absolute; top: 12px; left: 12px; display: inline-flex; align-items: center; gap: 7px; background: #fff; border: 1.2px solid var(--ok); color: var(--ok); border-radius: 999px; padding: 6px 12px; font-weight: 700; font-size: 11.5px; }
.gv-name { margin: 14px 0 2px; font-weight: 700; font-size: 14px; text-align: center; }
.gv-sub { margin: 0; color: var(--muted); font-size: 12px; text-align: center; }

.dose-hero { text-align: center; background: var(--cream); border: 1px solid var(--line); border-radius: var(--r-sm); padding: 20px 14px 16px; }
.dose-hero small { display: block; font-size: 11.5px; font-weight: 600; color: var(--muted); }
.dose-big { font-family: var(--serif); font-weight: 700; font-size: clamp(48px, 5vw, 64px); line-height: 1; letter-spacing: -.02em; color: var(--ink); border-bottom: 2px solid var(--teal); display: inline-block; padding: 4px 6px 10px; }
.dose-big span { font-size: .42em; font-weight: 600; margin-left: 6px; }
.dose-freq { margin: 12px 0 0; font-family: var(--serif); font-size: 17px; font-weight: 600; }
.syringe-widget { margin-top: 16px; }
.syringe-svg { width: 100%; height: auto; display: block; }
.sig-line { margin-top: 12px; font-size: 12px; color: var(--muted); }
.sig-line b { color: var(--ink); }
.dose-note { display: flex; gap: 11px; align-items: flex-start; margin-top: 14px; background: var(--sand-tint); border: 1px solid #EBDCB8; border-radius: var(--r-sm); padding: 12px 14px; font-size: 12.5px; color: #6E5424; text-align: left; }
.dose-note svg { width: 18px; height: 18px; flex: none; stroke: var(--sand-deep); fill: none; stroke-width: 1.8; margin-top: 1px; }
.capacity-warning { margin-top: 12px; padding: 13px 15px; border-radius: var(--r-sm); background: var(--safety-bg); border: 1px solid var(--safety-line); color: var(--safety); font-size: 12px; text-align: left; }

.prep-list { display: grid; gap: 0; }
.prep-item { display: grid; grid-template-columns: 58px 1fr; gap: 13px; padding: 11px 0; border-bottom: 1px solid var(--line); align-items: center; }
.prep-item:last-child { border-bottom: 0; }
.prep-thumb { width: 58px; height: 50px; border-radius: 9px; background: var(--teal-tint); display: grid; place-items: center; }
.prep-thumb svg { width: 30px; height: 30px; stroke: var(--teal-deep); fill: none; stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; }
.prep-item b { display: flex; align-items: center; gap: 8px; font-size: 13px; }
.prep-item b i { width: 18px; height: 18px; flex: none; border-radius: 50%; background: var(--teal-deep); color: #fff; font-style: normal; font-size: 10px; font-weight: 800; display: grid; place-items: center; }
.prep-item p { margin: 2px 0 0; color: var(--muted); font-size: 11.5px; }

.inject-figures { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; align-items: end; }
.inject-figures figure { margin: 0; text-align: center; }
.inject-figures svg { width: 100%; max-width: 128px; margin: 0 auto; height: auto; display: block; }
.inject-figures figcaption { font-size: 11.5px; color: var(--muted); margin-top: 6px; font-weight: 600; }
.bm-zone { cursor: pointer; }
.bm-zone path, .bm-zone ellipse { fill: rgba(46,139,139,.28); stroke: var(--teal); stroke-width: 1.2; transition: fill .2s, stroke .2s; }
.bm-zone.active path, .bm-zone.active ellipse { fill: rgba(20,85,90,.55); stroke: var(--teal-deep); stroke-width: 2; }
.rotate-note { display: flex; gap: 11px; align-items: flex-start; margin-top: 14px; background: var(--ok-tint); border: 1px solid #CBE3D3; border-radius: var(--r-sm); padding: 12px 14px; font-size: 12px; color: #2C5C3E; }
.rotate-note svg { width: 18px; height: 18px; flex: none; stroke: var(--ok); fill: none; stroke-width: 1.8; margin-top: 1px; }
.week-pills { display: grid; grid-template-columns: repeat(4, 1fr); gap: 6px; margin-top: 12px; }
.week-pills button { border: 1.5px solid var(--line); border-radius: 9px; background: var(--paper); padding: 8px 4px; font-size: 10.5px; font-weight: 700; cursor: pointer; color: var(--muted); transition: all .2s; }
.week-pills button.active { background: var(--teal-deep); border-color: var(--teal-deep); color: #fff; }
.week-pills button span { display: block; font-weight: 500; font-size: 9.5px; margin-top: 1px; }

.storage-layout { display: grid; grid-template-columns: 110px 1fr; gap: 16px; align-items: center; }
.storage-layout > svg { width: 110px; height: auto; }
.storage-rules { display: grid; gap: 12px; }
.storage-rules > div { display: grid; grid-template-columns: 34px 1fr; gap: 10px; align-items: start; }
.storage-rules .ic { width: 32px; height: 32px; border-radius: 50%; background: var(--teal-tint); display: grid; place-items: center; }
.storage-rules .ic svg { width: 17px; height: 17px; stroke: var(--teal-deep); fill: none; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.storage-rules b { display: block; font-size: 12.5px; }
.storage-rules small { color: var(--muted); font-size: 11px; }

.video-shell { aspect-ratio: 16 / 10; border-radius: var(--r-sm); overflow: hidden; background: radial-gradient(400px 260px at 68% 22%, rgba(46,139,139,.55), transparent 60%), var(--ink); display: grid; place-items: center; position: relative; }
.video-shell iframe { width: 100%; height: 100%; border: 0; }
.video-play { width: 62px; height: 62px; border-radius: 50%; border: 0; background: #fff; color: var(--ink); font-size: 20px; cursor: pointer; z-index: 2; box-shadow: 0 14px 34px rgba(0,0,0,.3); transition: transform .2s; }
.video-play:hover { transform: scale(1.07); }
.video-title { margin: 13px 0 3px; font-weight: 700; font-size: 14px; }
.video-sub { margin: 0; color: var(--muted); font-size: 12px; }

.contact-card-wide { display: grid; grid-template-columns: 1.1fr .9fr; gap: 26px; align-items: center; }
.symptoms { list-style: none; margin: 14px 0 0; padding: 0; display: grid; gap: 9px; }
.symptoms li { display: flex; gap: 11px; align-items: center; font-size: 13.5px; }
.symptoms li::before { content: "✓"; width: 21px; height: 21px; flex: none; border-radius: 50%; background: var(--teal-deep); color: #fff; display: grid; place-items: center; font-size: 11px; font-weight: 800; }
.help-box { background: var(--cream); border: 1px solid var(--line); border-radius: var(--r-md); padding: 22px; display: grid; grid-template-columns: 48px 1fr auto; gap: 15px; align-items: center; }
.help-box .hb-ic { width: 46px; height: 46px; border-radius: 50%; background: var(--teal-tint); display: grid; place-items: center; }
.help-box .hb-ic svg { width: 24px; height: 24px; stroke: var(--teal-deep); fill: none; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.help-box b { display: block; font-size: 14px; }
.help-box p { margin: 2px 0 0; color: var(--muted); font-size: 12px; }
.er-line { margin: 14px 0 0; color: var(--safety); font-size: 12.5px; }

.support-strip { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; margin-top: 14px; }
.support-strip a, .support-strip div { display: flex; gap: 13px; align-items: center; justify-content: center; background: var(--cream-2); border: 1px solid var(--line); border-radius: var(--r-md); padding: 18px; }
.support-strip svg { width: 26px; height: 26px; flex: none; stroke: var(--teal-deep); fill: none; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.support-strip small { display: block; color: var(--faint); font-size: 11px; }
.support-strip b { font-size: 13.5px; }
a.support-strip-item:hover { border-color: var(--teal); }
.trust-chips { display: flex; flex-wrap: wrap; gap: 10px 26px; justify-content: center; margin-top: 20px; padding-top: 18px; border-top: 1px solid var(--line); }
.trust-chips span { display: inline-flex; align-items: center; gap: 8px; font-size: 12px; font-weight: 500; color: var(--muted); }
.trust-chips svg { width: 16px; height: 16px; stroke: var(--teal); fill: none; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.guide-topline { display: flex; justify-content: flex-end; gap: 8px; margin-bottom: 12px; }
.icon-button { width: 38px; height: 38px; border-radius: 10px; border: 1px solid var(--line-2); background: #fff; cursor: pointer; color: var(--ink-soft); }
.icon-button:hover { border-color: var(--ink); }

/* ---------- footer ---------- */
.site-footer { background: #0D2126; color: #A9BBB8; margin-top: 40px; }
.footer-inner { max-width: var(--max); margin: 0 auto; padding: 48px 24px 0; }
.footer-grid { display: grid; grid-template-columns: 1.25fr 1fr 1fr 1fr 1fr 1.35fr; gap: 26px; padding-bottom: 36px; border-bottom: 1px solid rgba(255,255,255,.1); }
.footer-brand .brand { color: #fff; font-size: 22px; }
.footer-brand .brand .rx { color: var(--teal); }
.footer-contact { display: grid; gap: 8px; margin-top: 16px; font-size: 13px; }
.footer-contact a { display: flex; align-items: center; gap: 9px; color: #C7D4D2; }
.footer-contact a:hover { color: #fff; }
.footer-contact svg { width: 15px; height: 15px; stroke: var(--teal); fill: none; stroke-width: 1.8; stroke-linecap: round; }
.store-badges { display: flex; gap: 8px; margin-top: 16px; flex-wrap: wrap; }
.store-badge { display: flex; align-items: center; gap: 8px; background: #000; border: 1px solid rgba(255,255,255,.25); border-radius: 8px; padding: 7px 12px; color: #fff; }
.store-badge svg { width: 17px; height: 17px; fill: #fff; }
.store-badge small { display: block; font-size: 8px; line-height: 1; color: #cfcfcf; }
.store-badge b { display: block; font-size: 12px; line-height: 1.2; }
.footer-col h3 { margin: 4px 0 14px; color: #fff; font-family: var(--sans); font-size: 12.5px; font-weight: 700; }
.footer-col a { display: block; color: #A9BBB8; font-size: 13px; margin: 9px 0; }
.footer-col a:hover { color: #fff; }
.newsletter p { margin: 0 0 12px; font-size: 13px; }
.newsletter h3 { margin: 4px 0 8px; color: #fff; font-family: var(--sans); font-size: 12.5px; font-weight: 700; }
.newsletter-form { display: grid; gap: 8px; }
.newsletter-form input { background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.2); border-radius: 9px; padding: 11px 14px; color: #fff; font-size: 13px; }
.newsletter-form input::placeholder { color: #7E938F; }
.newsletter-form button { justify-self: end; background: var(--sand); color: var(--ink); border: 0; border-radius: 9px; padding: 10px 20px; font-weight: 700; font-size: 12.5px; cursor: pointer; }
.newsletter-form button:hover { background: #E2BC7B; }
.footer-legal { display: flex; justify-content: space-between; gap: 14px 26px; flex-wrap: wrap; padding: 20px 0 24px; font-size: 12px; color: #71857F; }

.sticky-help { position: fixed; right: 18px; bottom: 18px; z-index: 50; display: flex; align-items: center; gap: 9px; padding: 12px 17px; border-radius: 999px; background: var(--teal-deep); color: #fff; box-shadow: 0 15px 45px rgba(13,33,38,.35); font-size: 12.5px; font-weight: 700; }
.sticky-help span { width: 22px; height: 22px; border-radius: 50%; display: grid; place-items: center; background: rgba(255,255,255,.18); }
.toast { position: fixed; left: 50%; bottom: 22px; z-index: 200; transform: translate(-50%, 120px); opacity: 0; padding: 13px 19px; border-radius: 999px; background: var(--ink); color: #fff; box-shadow: 0 16px 45px rgba(0,0,0,.3); font-size: 13px; transition: .3s ease; }
.toast.show { transform: translate(-50%, 0); opacity: 1; }

/* ---------- responsive ---------- */
@media (max-width: 1060px) {
  .steps-row, .programs-row { grid-template-columns: repeat(3, 1fr); }
  .meds-row, .hub-row { grid-template-columns: repeat(3, 1fr); }
  .guide-grid { grid-template-columns: 1fr 1fr; }
  .selection-grid.three { grid-template-columns: repeat(2, 1fr); }
  .product-grid { grid-template-columns: repeat(2, 1fr); }
  .dose-choice-grid { grid-template-columns: repeat(3, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr 1fr; }
}
@media (max-width: 880px) {
  .desktop-nav { display: none; }
  .menu-button { display: flex; }
  .hero-inner { grid-template-columns: 1fr; padding: 44px 24px; }
  .hero-visual { min-height: 400px; }
  .contact-card-wide { grid-template-columns: 1fr; }
  .match-panel { grid-template-columns: 1fr; }
  .confirm-layout { grid-template-columns: 1fr; }
  .trust-bar .wrap { grid-template-columns: 1fr 1fr; }
  .step-list li b { display: none; }
}
@media (max-width: 620px) {
  .steps-row, .programs-row, .selection-grid, .selection-grid.three, .product-grid { grid-template-columns: 1fr; }
  .meds-row, .hub-row { grid-template-columns: repeat(2, 1fr); }
  .guide-grid { grid-template-columns: 1fr; }
  .dose-choice-grid { grid-template-columns: repeat(2, 1fr); }
  .support-strip { grid-template-columns: 1fr; }
  .inject-figures { max-width: 300px; margin: 0 auto; }
  .storage-layout { grid-template-columns: 1fr; }
  .storage-layout > svg { margin: 0 auto; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .hero-vials { display: none; }
  .nav-row { flex-direction: column-reverse; align-items: stretch; }
  .nav-row .button, .nav-row .back-button { width: 100%; }
  .page-head { padding-top: 30px; }
  .detail-row { grid-template-columns: 120px 1fr; }
}

@media print {
  .site-header, .site-footer, .sticky-help, .step-list, .progress-header, .guide-topline, .nav-row, .page-head .help-card { display: none !important; }
  body { background: #fff; }
  .gcard { break-inside: avoid; }
}
