/* HL Patient Portal marketing site: the one shared stylesheet for every
   generated page (landing pages, content pages, help center, blog).
   Linked as /assets/site.css?v=<hash> by scripts/lib/site.js, so a change
   here is picked up after the next `npm run build:site`. The hand-written
   index.html keeps its own CSS; only the footer block between the @footer
   markers below is inlined into it by scripts/sync-chrome.js. */

:root { --teal:#0E9384; --teal-dark:#0B7568; --teal-soft:#E7F5F2; --teal-softer:#F4FAF8; --ink:#10333A; --ink-soft:#4E6A70; --border:#E2ECEA; --dark:#0B282E; --white:#fff; --amber:#F5A623;
  --shadow:0 1px 2px rgba(16,51,58,.05),0 12px 32px -12px rgba(16,51,58,.12); --shadow-lg:0 2px 4px rgba(16,51,58,.06),0 24px 56px -16px rgba(16,51,58,.18); }
* { margin:0; padding:0; box-sizing:border-box; }
html { scroll-behavior:smooth; }
body { font-family:'Inter',-apple-system,BlinkMacSystemFont,sans-serif; color:var(--ink); background:var(--white); line-height:1.6; -webkit-font-smoothing:antialiased; }
a { color:inherit; text-decoration:none; }
img { max-width:100%; }
.container { max-width:1180px; margin:0 auto; padding:0 24px; }
.btn { display:inline-flex; align-items:center; justify-content:center; gap:8px; border-radius:999px; font-weight:700; font-size:15.5px; padding:13px 26px; border:2px solid transparent; cursor:pointer; transition:transform .15s,background .15s; white-space:nowrap; font-family:inherit; }
.btn:hover { transform:translateY(-1px); }
.btn-primary { background:var(--teal); color:#fff; box-shadow:0 8px 20px -8px rgba(14,147,132,.55); }
.btn-primary:hover { background:var(--teal-dark); }
.btn-ghost { border-color:var(--border); color:var(--ink); background:#fff; }
.btn-lg { padding:16px 32px; font-size:16.5px; }
.btn-light { background:#fff; color:var(--ink); }
.btn-outline-light { border-color:rgba(255,255,255,.35); color:#fff; }
.btn .ic { width:18px; height:18px; }
.kicker { display:inline-block; font-size:12.5px; font-weight:800; letter-spacing:.12em; text-transform:uppercase; color:var(--teal); margin-bottom:14px; }

/* ---------- Nav ---------- */
nav { position:sticky; top:0; z-index:50; background:rgba(255,255,255,.92); backdrop-filter:blur(12px); border-bottom:1px solid var(--border); }
.nav-inner { display:flex; align-items:center; justify-content:space-between; height:72px; }
.logo { display:flex; align-items:center; gap:10px; font-weight:800; font-size:18.5px; }
.logo img { width:30px; height:30px; }
.nav-links { display:flex; align-items:center; gap:28px; font-weight:600; font-size:15px; color:var(--ink-soft); }
.nav-links a:hover, .nav-links a.current { color:var(--ink); }
.nav-cta { display:flex; align-items:center; gap:14px; }
.nav-cta .link, .nav-cta .login { font-size:14.5px; font-weight:600; color:var(--ink-soft); }
.nav-cta .login { font-weight:700; color:var(--ink); }
.nav-cta .btn { padding:11px 22px; font-size:14.5px; }
#hamburger { display:none; background:none; border:none; font-size:26px; color:var(--ink); cursor:pointer; line-height:1; }

/* ---------- Hero ---------- */
.hero { padding:64px 0 40px; background:linear-gradient(180deg,var(--teal-softer) 0%,#fff 70%); }
.hero-grid { display:grid; grid-template-columns:minmax(0,1.15fr) minmax(0,.85fr); gap:48px; align-items:center; }
.hero-solo { max-width:820px; }
h1 { font-size:clamp(34px,4.6vw,54px); line-height:1.06; font-weight:900; letter-spacing:-.025em; }
h1 em { font-style:normal; color:var(--teal); }
.sub { margin-top:18px; font-size:18px; color:var(--ink-soft); max-width:58ch; }
.outcomes { list-style:none; margin-top:22px; display:grid; gap:10px; }
.outcomes li { display:flex; gap:12px; align-items:flex-start; font-size:15.5px; }
.outcomes .ck { flex:none; width:24px; height:24px; border-radius:50%; background:var(--teal-soft); color:var(--teal); display:flex; align-items:center; justify-content:center; font-weight:800; font-size:13px; margin-top:2px; }
.outcomes b { display:block; }
.outcomes span { color:var(--ink-soft); font-size:14.5px; }
.outcomes-grid { grid-template-columns:repeat(3,minmax(0,1fr)); gap:24px; margin-top:36px; }
.hero-cta { margin-top:26px; display:flex; flex-wrap:wrap; gap:12px; }
.hero-note { margin-top:14px; font-size:14.5px; color:var(--ink-soft); }
.hero-note b { color:var(--ink); font-size:16px; }
.hero-note a { color:var(--teal); font-weight:700; }
.phones { display:flex; gap:18px; justify-content:center; align-items:flex-end; }
.phones img { width:44%; max-width:250px; height:auto; border-radius:26px; border:7px solid var(--ink); background:var(--ink); box-shadow:var(--shadow-lg); }
.phones img:first-child { margin-bottom:28px; }
.hero-img { display:flex; justify-content:center; }
.hero-img img { width:100%; max-width:520px; height:auto; border-radius:16px; border:1px solid var(--border); box-shadow:var(--shadow-lg); }
.hero-img.phone img { max-width:300px; border-radius:30px; border:7px solid var(--ink); background:var(--ink); }
.crumbs { display:flex; flex-wrap:wrap; gap:8px; font-size:13.5px; font-weight:700; color:var(--teal); letter-spacing:.08em; text-transform:uppercase; margin-bottom:14px; }
.crumbs a { color:var(--teal); }
.crumbs span { color:var(--ink-soft); opacity:.55; }
.crumbs .here { text-transform:none; letter-spacing:0; color:var(--ink-soft); opacity:1; font-weight:600; }

/* ---------- Sections ---------- */
section { padding:72px 0; }
.section-title { font-size:clamp(26px,3.2vw,38px); font-weight:900; letter-spacing:-.02em; line-height:1.12; }
.section-sub { margin-top:12px; font-size:17px; color:var(--ink-soft); max-width:62ch; }
.center { text-align:center; }
.center .section-sub { margin-left:auto; margin-right:auto; }
.grid3 { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:20px; margin-top:36px; }
.grid2 { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:20px; margin-top:32px; }
.card { background:#fff; border:1px solid var(--border); border-radius:16px; padding:26px; box-shadow:var(--shadow); }
.card .ic { width:42px; height:42px; border-radius:12px; background:var(--teal-soft); color:var(--teal); display:flex; align-items:center; justify-content:center; font-weight:900; margin-bottom:14px; }
.card h3 { font-size:18px; font-weight:800; }
.card p { margin-top:8px; color:var(--ink-soft); font-size:15px; }
.card p a, .aud-grid p a, .aud-intro a, .checks span a, .outcomes span a, .step p a, .section-sub a, .table-wrap a, .table-note a, .plan-foot a, details p a, .quote a { color:var(--teal-dark); font-weight:600; }
.see { padding:0 0 8px; }
.see-card { display:flex; gap:22px; align-items:center; }
.see-card .thumb { flex:none; width:180px; border-radius:12px; overflow:hidden; border:1px solid var(--border); position:relative; }
.see-card .thumb img { display:block; width:100%; height:auto; }
.see-card .play { position:absolute; inset:0; display:flex; align-items:center; justify-content:center; }
.see-card .play span { width:48px; height:48px; border-radius:50%; background:#fff; color:var(--teal); display:flex; align-items:center; justify-content:center; box-shadow:var(--shadow-lg); }
.see-card .play svg { width:22px; height:22px; margin-left:3px; }
.see-card h2 { font-size:19px; font-weight:800; }
.see-card p { margin-top:6px; color:var(--ink-soft); font-size:15px; }
.see-card .btn { margin-top:14px; }
.soft { background:var(--teal-softer); border-top:1px solid var(--border); border-bottom:1px solid var(--border); }
.soft + .soft { border-top:0; }
.split { display:grid; grid-template-columns:minmax(0,1fr) minmax(0,1fr); gap:48px; align-items:center; }
.split img { width:100%; height:auto; border-radius:16px; border:1px solid var(--border); box-shadow:var(--shadow-lg); }
.split.reverse > :first-child { order:2; }
.split h3 { font-size:18.5px; font-weight:800; margin-top:18px; }
.split p { margin-top:10px; color:var(--ink-soft); font-size:15.5px; }
.split p a { color:var(--teal-dark); font-weight:600; }
.checks { list-style:none; margin-top:22px; display:grid; gap:12px; }
.checks li { display:flex; gap:12px; align-items:flex-start; font-size:15.5px; }
.checks .ck { flex:none; width:24px; height:24px; border-radius:50%; background:var(--teal-soft); color:var(--teal); display:flex; align-items:center; justify-content:center; font-weight:800; font-size:13px; margin-top:2px; }
.checks b { display:block; }
.checks span { color:var(--ink-soft); font-size:14.5px; }
.aud-intro { margin-top:14px; font-size:17px; color:var(--ink-soft); max-width:70ch; }
.aud-grid { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:30px 48px; margin-top:40px; }
.aud-grid h3 { font-size:18.5px; font-weight:800; letter-spacing:-.01em; }
.aud-grid p { margin-top:8px; color:var(--ink-soft); font-size:15.5px; }
.example, .stats { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:20px; margin-top:36px; }
.example .card b, .stats .card b { display:block; font-size:30px; font-weight:900; letter-spacing:-.02em; color:var(--teal); }
.example .card h3 { margin-top:8px; }
.stats .card p { margin-top:6px; }
.plans { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:20px; margin-top:36px; align-items:stretch; }
.plan { position:relative; background:#fff; border:1px solid var(--border); border-radius:16px; padding:26px; box-shadow:var(--shadow); display:flex; flex-direction:column; }
.plan.popular { border-color:var(--teal); box-shadow:0 0 0 3px var(--teal-soft),var(--shadow-lg); }
.plan .pop { position:absolute; top:-12px; left:24px; background:var(--teal); color:#fff; font-size:12px; font-weight:800; letter-spacing:.08em; text-transform:uppercase; padding:4px 10px; border-radius:999px; }
.plan h3 { font-size:20px; font-weight:800; }
.plan .who { color:var(--ink-soft); font-size:14px; margin-top:4px; }
.plan .price { font-size:38px; font-weight:900; letter-spacing:-.03em; margin-top:14px; }
.plan .price small { font-size:15px; font-weight:600; color:var(--ink-soft); letter-spacing:0; }
.plan .note { font-size:13px; color:var(--ink-soft); }
.plan ul { list-style:none; margin:16px 0 22px; display:grid; gap:8px; font-size:14.5px; flex:1; }
.plan li { display:flex; gap:8px; }
.plan li::before { content:"✓"; color:var(--teal); font-weight:800; }
.plan-foot { margin-top:22px; text-align:center; color:var(--ink-soft); font-size:14px; max-width:78ch; margin-left:auto; margin-right:auto; }
.plan-fee { margin-top:10px; text-align:center; color:var(--ink-soft); font-size:13.5px; max-width:78ch; margin-left:auto; margin-right:auto; }
.steps { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:20px; margin-top:36px; counter-reset:step; }
.step { padding:26px; border-radius:16px; background:#fff; border:1px solid var(--border); box-shadow:var(--shadow); }
.step::before { counter-increment:step; content:"0" counter(step); display:block; font-size:13px; font-weight:800; letter-spacing:.12em; color:var(--teal); margin-bottom:10px; }
.step h3 { font-size:18px; font-weight:800; }
.step p { margin-top:8px; color:var(--ink-soft); font-size:15px; }
.setup-cta { margin-top:26px; text-align:center; }
.security, .checklist { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:14px 28px; margin-top:28px; list-style:none; }
.security li, .checklist li { display:flex; gap:10px; align-items:flex-start; font-size:15.5px; }
.security .ck, .checklist .ck { color:var(--teal); font-weight:800; }
.table-wrap { overflow-x:auto; margin-top:32px; border:1px solid var(--border); border-radius:16px; background:#fff; box-shadow:var(--shadow); }
.table-wrap table { border-collapse:collapse; width:100%; font-size:15px; }
.table-wrap th, .table-wrap td { text-align:left; vertical-align:top; padding:14px 18px; border-bottom:1px solid var(--border); }
.table-wrap th { font-weight:800; font-size:13px; letter-spacing:.06em; text-transform:uppercase; color:var(--ink-soft); background:var(--teal-softer); }
.table-wrap tr:last-child td { border-bottom:0; }
.table-wrap td { color:var(--ink); }
.table-note { margin-top:12px; font-size:14px; color:var(--ink-soft); }
.quote { max-width:820px; margin:32px auto 0; text-align:center; }
.quote blockquote { font-size:clamp(20px,2.4vw,26px); font-weight:700; line-height:1.4; letter-spacing:-.01em; }
.quote blockquote::before { content:"\201C"; color:var(--teal); }
.quote blockquote::after { content:"\201D"; color:var(--teal); }
.quote figcaption { margin-top:14px; font-size:14.5px; color:var(--ink-soft); font-weight:600; }
.faq { max-width:820px; margin:36px auto 0; }
details { border-top:1px solid var(--border); padding:18px 0; }
details:last-child { border-bottom:1px solid var(--border); }
summary { cursor:pointer; font-weight:700; font-size:17px; list-style:none; display:flex; justify-content:space-between; gap:16px; }
summary::-webkit-details-marker { display:none; }
summary::after { content:"+"; color:var(--teal); font-weight:800; }
details[open] summary::after { content:"–"; }
details p { margin-top:10px; color:var(--ink-soft); font-size:15.5px; }
.final { background:var(--dark); color:#fff; text-align:center; padding:80px 0; }
.final h2 { font-size:clamp(28px,3.6vw,44px); font-weight:900; letter-spacing:-.02em; }
.final p { margin-top:14px; color:rgba(255,255,255,.75); font-size:17px; }
.final .cta { margin-top:26px; display:flex; flex-wrap:wrap; gap:12px; justify-content:center; }
.also { padding:22px 0; font-size:14.5px; color:var(--ink-soft); border-bottom:1px solid var(--border); }
.also a { color:var(--teal); font-weight:700; }

/* ---------- Help center ---------- */
.help-hero { padding:56px 0 36px; background:linear-gradient(180deg,var(--teal-softer) 0%,#fff 100%); }
.help-hero h1 { font-size:clamp(30px,4vw,44px); }
.help-hero .sub { max-width:64ch; }
.help-layout { display:grid; grid-template-columns:260px minmax(0,1fr); gap:56px; align-items:start; padding:40px 24px 72px; }
.help-aside { position:sticky; top:92px; }
.help-aside h2 { font-size:12.5px; font-weight:800; letter-spacing:.1em; text-transform:uppercase; color:var(--ink-soft); margin-bottom:12px; }
.help-aside ul { list-style:none; display:grid; gap:4px; margin-bottom:22px; }
.help-aside li a { display:block; padding:7px 10px; border-radius:8px; font-size:14.5px; font-weight:600; color:var(--ink-soft); line-height:1.35; }
.help-aside li a:hover { background:var(--teal-softer); color:var(--ink); }
.help-aside li a.current { background:var(--teal-soft); color:var(--teal-dark); }
.help-aside .all { font-size:14px; font-weight:700; color:var(--teal-dark); }
.help-dash { display:block; margin-bottom:22px; padding:14px 16px; border:1px solid var(--border); border-radius:12px; background:var(--teal-softer); font-size:14.5px; font-weight:700; color:var(--teal-dark); }
.help-dash small { display:block; margin-top:2px; font-weight:500; color:var(--ink-soft); font-size:13px; }
.help-article { max-width:720px; }
.help-article .crumbs { margin-bottom:18px; }
.help-article h1 { font-size:clamp(30px,4vw,42px); line-height:1.12; }
.help-summary { margin:14px 0 30px; padding-bottom:24px; border-bottom:1px solid var(--border); font-size:17.5px; color:var(--ink-soft); }
.help-article h2 { font-size:24px; font-weight:800; letter-spacing:-.015em; line-height:1.25; margin:40px 0 12px; }
.help-article h3 { font-size:18.5px; font-weight:800; margin:28px 0 10px; }
.help-article h4 { font-size:16px; font-weight:800; margin:22px 0 8px; }
.help-article p, .help-article li { font-size:16.5px; color:#2B4A52; line-height:1.65; }
.help-article p { margin:0 0 18px; }
.help-article ul, .help-article ol { margin:0 0 18px 24px; }
.help-article li { margin-bottom:8px; }
.help-article li ul, .help-article li ol { margin:8px 0 0 22px; }
.help-article li.task { list-style:none; position:relative; padding-left:4px; }
.help-article li.task::before { content:""; display:inline-block; width:16px; height:16px; border:2px solid var(--teal); border-radius:4px; margin:0 10px -3px -24px; }
.help-article li.task.done::before { background:var(--teal); }
.help-article a:not(.btn) { color:var(--teal-dark); font-weight:600; }
.help-article a:not(.btn):hover { text-decoration:underline; }
.help-article blockquote { border-left:3px solid var(--teal); background:var(--teal-softer); padding:14px 18px; border-radius:0 12px 12px 0; margin:0 0 18px; }
.help-article blockquote p { margin:0; }
.help-article blockquote p + p { margin-top:10px; }
.help-article code { background:var(--teal-soft); border-radius:6px; padding:2px 7px; font-size:14.5px; font-family:ui-monospace,SFMono-Regular,Menlo,monospace; }
.help-article hr { border:none; border-top:1px solid var(--border); margin:32px 0; }
.help-article .table-wrap { margin:0 0 18px; }
.help-article .table-wrap th, .help-article .table-wrap td { padding:11px 14px; font-size:15px; }
.help-article .table-wrap td { color:#2B4A52; }
.help-cta { margin-top:48px; padding:26px 28px; border:1px solid var(--border); border-radius:16px; background:var(--teal-softer); display:flex; flex-wrap:wrap; gap:16px 24px; align-items:center; justify-content:space-between; }
.help-cta b { display:block; font-size:17px; }
.help-cta p { margin:4px 0 0; font-size:14.5px; }
.help-cta .btn { flex:none; }
.help-group { padding:36px 0 0; }
.help-group:last-of-type { padding-bottom:72px; }
.help-group h2 { font-size:13px; font-weight:800; letter-spacing:.1em; text-transform:uppercase; color:var(--ink-soft); margin-bottom:16px; }
.help-cards { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:16px; }
.help-cards a { display:flex; flex-direction:column; gap:6px; border:1px solid var(--border); border-radius:14px; padding:18px 20px; background:#fff; box-shadow:var(--shadow); transition:border-color .15s; }
.help-cards a:hover { border-color:var(--teal); }
.help-cards b { font-size:16px; font-weight:800; line-height:1.3; letter-spacing:-.01em; }
.help-cards span { font-size:14px; color:var(--ink-soft); }

/* @footer: shared by every page. scripts/sync-chrome.js copies this block,
   markers included, into the hand-written pages that do not link this file. */
.site-footer { background:var(--dark,#0B282E); color:rgba(255,255,255,.65); padding:72px 0 36px; font-size:14.5px; line-height:1.6; border-top:0; margin-top:0; }
.site-footer .container { max-width:1180px; margin:0 auto; padding:0 24px; }
.site-footer .foot-grid { display:grid; grid-template-columns:1.6fr repeat(5,1fr); gap:40px 28px; margin-bottom:52px; }
.site-footer .logo { display:flex; align-items:center; gap:10px; color:#fff; font-weight:900; font-size:19px; letter-spacing:-.02em; margin-bottom:14px; }
.site-footer .logo img { width:30px; height:30px; }
.site-footer .foot-brand p { max-width:280px; }
.site-footer h4 { color:#fff; font-size:13px; font-weight:800; letter-spacing:.1em; text-transform:uppercase; margin-bottom:16px; }
.site-footer ul { list-style:none; margin:0; padding:0; display:flex; flex-direction:column; gap:11px; }
.site-footer a { color:inherit; text-decoration:none; }
.site-footer a:hover { color:#5EEAD4; }
.site-footer .foot-bottom { border-top:1px solid rgba(255,255,255,.1); padding-top:26px; display:flex; justify-content:space-between; flex-wrap:wrap; gap:10px; font-size:13.5px; color:rgba(255,255,255,.45); }
.site-footer .foot-legal { margin:14px 0 0; font-size:12.5px; line-height:1.5; color:rgba(255,255,255,.4); }
@media (max-width:1024px) { .site-footer .foot-grid { grid-template-columns:repeat(3,1fr); } .site-footer .foot-brand { grid-column:1 / -1; } }
@media (max-width:560px) { .site-footer .foot-grid { grid-template-columns:1fr 1fr; gap:28px 20px; } }
/* @/footer */

@media (max-width: 960px) {
  .nav-links { display:none; position:absolute; top:72px; left:0; right:0; background:#fff; flex-direction:column; padding:22px 24px; gap:18px; align-items:flex-start; border-bottom:1px solid var(--border); box-shadow:var(--shadow-lg); }
  .nav-links.open { display:flex; }
  #hamburger { display:block; }
  .nav-cta .login { display:none; }
}
@media (max-width: 900px) {
  .hero { padding:44px 0 32px; }
  .hero-grid, .split, .grid2, .aud-grid { grid-template-columns:1fr; gap:32px; }
  .split.reverse > :first-child { order:0; }
  .grid3, .steps, .example, .stats, .plans, .outcomes-grid { grid-template-columns:1fr; }
  .security, .checklist { grid-template-columns:1fr; }
  section { padding:56px 0; }
  .phones img { max-width:200px; }
  .hero-img img { max-width:440px; }
  .see-card { flex-direction:column; align-items:flex-start; }
  .see-card .thumb { width:100%; max-width:320px; }
  .help-layout { grid-template-columns:1fr; gap:32px; }
  .help-aside { position:static; order:2; padding-top:24px; border-top:1px solid var(--border); }
  .help-cards { grid-template-columns:1fr 1fr; }
}
@media (max-width: 600px) {
  .logo { font-size:16px; white-space:nowrap; }
  .nav-cta .link { display:none; }
  .nav-cta { gap:8px; }
  .nav-cta .btn { padding:10px 16px; font-size:14px; }
  .hero-cta .btn { width:100%; }
  .help-cards { grid-template-columns:1fr; }
}
