/* MediCare HIS — public marketing site styles
 *
 * Modern SaaS aesthetic: clean, gradient hero, big bold typography,
 * African-rooted accent palette (deep teal + warm amber inflections).
 * Targets evaluators in hospital procurement and CIOs evaluating EHR.
 */

* { box-sizing: border-box; margin: 0; padding: 0; }
:root {
  /* ============================================================
   * MediCare HIS — design tokens (v2 "premium enterprise" reskin)
   * Dark-forward, electric teal/cyan health-tech with an indigo
   * ambient mesh. Legacy var names kept + remapped so all 28 pages
   * inherit the new look without markup changes.
   * ============================================================ */

  /* Dark canvas — hero, dark sections, footer */
  --ink-950: #04070e;
  --ink-900: #070c18;
  --ink-850: #0a1020;
  --ink-800: #0e1730;
  --ink-700: #16233f;

  /* Text */
  --ink: #0b1220;            /* primary text on light */
  --ink-2: #44546e;          /* secondary text on light */
  --muted: #6a7890;
  --on-dark: #eaf1fb;        /* primary text on dark */
  --on-dark-2: #aebdd6;      /* secondary text on dark */
  --on-dark-muted: #8190ac;

  /* Brand — brighter, more electric than v1 */
  --brand: #0e7c8c;          /* primary interactive (AA on white) */
  --brand-strong: #0c4a6e;   /* deep teal anchor */
  --brand-2: #16c0b0;        /* bright teal */
  --cyan: #22d3ee;
  --sky: #38bdf8;
  --violet: #7c6cf0;         /* ambient mesh + rare accents */
  --accent: #f59e0b;         /* warm amber — used sparingly */
  --accent-2: #fb7185;       /* coral — used sparingly */
  --ok: #16a34a;
  --link: #0e7490;           /* body links (AA on white) */

  /* Surfaces / lines */
  --bg: #f4f8fc;             /* alt light section bg */
  --surface: #ffffff;
  --surface-2: #f8fbfe;
  --line: #e6ecf4;
  --line-2: #d6e0ee;

  /* Gradients */
  --grad-brand: linear-gradient(120deg, #16c0b0 0%, #22d3ee 52%, #38bdf8 100%);
  --grad-brand-deep: linear-gradient(135deg, #0d9488 0%, #0891b2 60%, #0e7490 100%);
  --hero-grad: var(--grad-brand-deep);   /* legacy name */
  --mesh:
     radial-gradient(42rem 32rem at 10% 4%, rgba(34,211,238,.30), transparent 60%),
     radial-gradient(44rem 34rem at 92% 8%, rgba(22,192,176,.26), transparent 62%),
     radial-gradient(50rem 40rem at 78% 108%, rgba(124,108,240,.26), transparent 60%),
     radial-gradient(42rem 32rem at -8% 96%, rgba(13,148,136,.22), transparent 60%);

  /* Elevation */
  --sh-sm: 0 1px 2px rgba(11,20,36,.06), 0 2px 5px rgba(11,20,36,.06);
  --sh-md: 0 8px 20px -6px rgba(11,20,36,.10), 0 2px 8px -3px rgba(11,20,36,.07);
  --sh-lg: 0 24px 50px -18px rgba(11,20,36,.22), 0 8px 18px -10px rgba(11,20,36,.12);
  --sh-xl: 0 44px 90px -28px rgba(6,12,26,.5);
  --glow-brand: 0 12px 34px -8px rgba(34,211,238,.55);
  --ring: 0 0 0 3px rgba(34,211,238,.4);

  /* Radii */
  --r-xs: 8px; --r-sm: 11px; --r: 14px; --r-lg: 20px; --r-xl: 28px; --r-pill: 999px;

  /* Motion */
  --ease: cubic-bezier(.22,.61,.36,1);
  --ease-out: cubic-bezier(.16,1,.3,1);
  --t-fast: .15s; --t: .24s; --t-slow: .4s;

  /* Fluid type scale */
  --fs-display: clamp(2.55rem, 1.5rem + 4.6vw, 4.6rem);
  --fs-h1: clamp(2.1rem, 1.4rem + 3vw, 3.4rem);
  --fs-h2: clamp(1.72rem, 1.15rem + 2.5vw, 2.65rem);
  --fs-h3: 1.2rem;
  --fs-lead: clamp(1.06rem, 1rem + .45vw, 1.22rem);

  /* Layout */
  --maxw: 1200px;
  --pad-section: clamp(66px, 7.5vw, 124px);
  --font-sans: "Inter var", "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", system-ui, "Helvetica Neue", Arial, sans-serif;
  --font-mono: ui-monospace, "SF Mono", "JetBrains Mono", "Cascadia Code", Menlo, Consolas, monospace;
}
html {
  scroll-behavior: smooth;
  /* Honour the user's preferred text-size setting (1rem = browser
   * default = 16 px typically). text-size-adjust prevents mobile
   * browsers from auto-resizing text on rotation against the user's
   * wishes — so Cmd+− / Ctrl+− zoom-out scales the WHOLE page
   * proportionally (text AND layout), not just words/letters. */
  font-size: 100%;
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
}
body {
  font-family: var(--font-sans);
  color: var(--ink);
  line-height: 1.6;
  background: var(--surface);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  letter-spacing: -0.011em;
  text-rendering: optimizeLegibility;
}

a { color: var(--link); text-decoration: none; transition: color var(--t-fast) var(--ease); }
a:hover { text-decoration: underline; }

::selection { background: rgba(34,211,238,.26); color: var(--ink); }

/* Keyboard focus — single consistent ring across the site. */
:focus-visible { outline: none; box-shadow: var(--ring); border-radius: 8px; }

img, svg { max-width: 100%; height: auto; display: block; }

/* ---- Header / nav ---- */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(255,255,255,0.94);
  backdrop-filter: saturate(180%) blur(14px);
  -webkit-backdrop-filter: saturate(180%) blur(14px);
  border-bottom: 1px solid var(--line);
}
.site-header .wrap {
  max-width: 1320px; margin: 0 auto;
  padding: 18px 28px;
  display: flex; align-items: center; gap: 24px;
}
.brand {
  display: flex; align-items: center; gap: 14px;
  font-weight: 800; font-size: 22px;
  color: var(--ink); letter-spacing: -0.01em;
}
.brand-mark {
  width: 42px; height: 42px; border-radius: 11px;
  background: var(--hero-grad);
  display: inline-flex; align-items: center; justify-content: center;
  color: #fff; font-weight: 800; font-size: 20px;
  box-shadow: 0 6px 16px -4px rgba(12, 74, 110, 0.35);
}
.nav-links {
  display: flex; gap: 6px;
  margin-left: 12px;
  flex: 1 1 auto;
  min-width: 0;
  /* The nav itself can shrink, but the right-side CTAs (Sign in /
   * Book demo) must always stay fully visible — that's enforced by
   * .nav-cta's flex-shrink:0 below. */
}
.nav-links a {
  /* 2026-05-27 — bumped from 14.5px/8-10 padding to 16.5px/10-14 padding so
   * the nav is comfortable to click on tablet and desktop alike. Anything
   * smaller starts feeling like a footer-link, which it isn't. */
  color: var(--ink-2); font-size: 16.5px; font-weight: 600;
  position: relative; padding: 10px 14px;
  white-space: nowrap; border-radius: 8px;
  transition: color 0.18s ease, background-color 0.18s ease, transform 0.18s ease;
}
.brand { white-space: nowrap; }
/* Animated underline — slides in from the left on hover, full-width when active. */
.nav-links a::after {
  content: ''; position: absolute;
  left: 14px; right: 14px; bottom: 2px;
  height: 2px; background: var(--brand-2);
  border-radius: 2px;
  transform: scaleX(0); transform-origin: left center;
  transition: transform 0.22s ease;
}
.nav-links a:hover {
  color: var(--brand); text-decoration: none;
  background: rgba(12, 74, 110, 0.06);
  transform: translateY(-1px);
}
.nav-links a:hover::after { transform: scaleX(1); }
.nav-links a:focus-visible {
  outline: 2px solid var(--brand);
  outline-offset: 2px;
}
.nav-links a.active { color: var(--brand); }
.nav-links a.active::after { transform: scaleX(1); }
.nav-cta {
  margin-left: auto;
  display: flex; gap: 10px; align-items: center;
  flex-shrink: 0;                     /* never let "Book a demo" get clipped */
}
.nav-cta .btn {
  padding: 12px 20px; font-size: 15.5px; font-weight: 600; white-space: nowrap;
  /* 2026-05-27 — matched the bumped nav-link size so the header reads as
   * one consistent control group rather than tiny links next to tiny CTAs. */
}

/* Header responsiveness — three steps before the mobile hamburger.
 * 1340 → tighten nav padding + font slightly so 8 links + 2 CTAs fit.
 * 1180 → drop the underline padding so links pack tighter.
 * 980  → hide the secondary nav (Features / Tour / etc.) and only show
 *        the brand + the two CTAs. Reception evaluators on a laptop
 *        still see the demo CTA prominently. */
/* DS14 — first cramped-nav break moved 1340 → 1400 so the bumped
 * default size (16.5px nav-link, 15.5px CTA buttons) has 60px more
 * headroom before it crowds. The container max-width is 1320px; at
 * the old 1340px breakpoint a 1320-1340px window briefly looked like
 * it was about to overflow on every page-load resize. */
@media (max-width: 1400px) {
  .site-header .wrap { gap: 18px; padding: 18px 22px; }
  .nav-links { gap: 2px; margin-left: 4px; }
  .nav-links a { font-size: 14px; padding: 8px 10px; }
  .nav-links a::after { left: 10px; right: 10px; }
  .nav-cta .btn { padding: 10px 16px; font-size: 14px; }
}
@media (max-width: 1180px) {
  .nav-links a { font-size: 13px; padding: 8px 7px; }
  .nav-cta .btn { padding: 9px 14px; font-size: 13.5px; }
  .nav-cta { gap: 8px; }
  .brand { font-size: 19px; }
  .brand-mark { width: 36px; height: 36px; font-size: 17px; }
}
@media (max-width: 980px) {
  .nav-links { display: none; }
  .site-header .wrap { gap: 12px; padding: 14px 18px; }
  .nav-cta .btn { padding: 10px 14px; }
}

.btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 10px 18px; border-radius: 8px;
  font-size: 14px; font-weight: 600;
  border: 1px solid transparent;
  cursor: pointer; transition: 0.15s;
  white-space: nowrap;
}
.btn-primary { background: var(--brand); color: #fff; }
.btn-primary:hover { background: #0e7490; text-decoration: none; }
.btn-ghost { background: transparent; color: var(--ink); border-color: var(--line); }
.btn-ghost:hover { background: #f1f5f9; text-decoration: none; }
.btn-accent { background: var(--accent); color: #fff; }
.btn-accent:hover { background: #b45309; text-decoration: none; }
.btn-lg { padding: 14px 26px; font-size: 15px; border-radius: 10px; }

/* ---- Hero ---- */
.hero {
  background: var(--hero-grad);
  color: #fff;
  padding: 96px 28px 80px;
  position: relative;
  overflow: hidden;
}
.hero::before {
  content: ''; position: absolute; inset: 0;
  background: radial-gradient(circle at 80% 20%, rgba(217,119,6,0.18), transparent 50%),
              radial-gradient(circle at 10% 80%, rgba(13,148,136,0.20), transparent 60%);
  pointer-events: none;
}
.hero .wrap {
  max-width: 1180px; margin: 0 auto; position: relative;
  display: grid; grid-template-columns: 1.1fr 1fr; gap: 60px;
  align-items: center;
}
.hero-eyebrow {
  display: inline-block; padding: 6px 14px;
  background: rgba(255,255,255,0.18);
  border: 1px solid rgba(255,255,255,0.28);
  border-radius: 999px;
  font-size: 12px; font-weight: 600;
  letter-spacing: 0.5px; text-transform: uppercase;
  margin-bottom: 18px;
  color: #a5f3fc;
}
.hero h1 {
  font-size: clamp(36px, 5vw, 56px);
  line-height: 1.06; font-weight: 800;
  letter-spacing: -0.02em;
  margin-bottom: 22px;
}
.hero h1 .accent { color: #fcd34d; }
.hero p.lead {
  font-size: 18px; color: rgba(255,255,255,0.86);
  max-width: 540px; margin-bottom: 32px;
  line-height: 1.55;
}
.hero-actions { display: flex; gap: 12px; flex-wrap: wrap; }
.hero-actions .btn-ghost {
  background: rgba(255,255,255,0.12);
  color: #fff; border-color: rgba(255,255,255,0.25);
}
.hero-actions .btn-ghost:hover { background: rgba(255,255,255,0.20); }

.hero-stat-row {
  display: flex; gap: 32px; margin-top: 36px;
  padding-top: 22px; border-top: 1px solid rgba(255,255,255,0.18);
}
.hero-stat .num { font-size: 26px; font-weight: 800; color: #fff; }
.hero-stat .lbl { font-size: 12px; color: rgba(255,255,255,0.7); margin-top: 2px; letter-spacing: 0.3px; text-transform: uppercase; }

.hero-visual {
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.18);
  border-radius: 18px;
  padding: 14px;
  box-shadow: 0 30px 80px -10px rgba(0,0,0,0.35);
  position: relative;
}
.hero-visual::after {
  content: ''; position: absolute;
  bottom: -20px; left: 30px; right: 30px;
  height: 30px; background: rgba(0,0,0,0.18);
  filter: blur(20px); border-radius: 50%; z-index: -1;
}
.hero-visual img, .hero-visual .mockup { border-radius: 10px; display: block; width: 100%; }

@media (max-width: 900px) {
  .hero { padding: 64px 24px 56px; }
  .hero .wrap { grid-template-columns: 1fr; gap: 36px; }
  .hero-stat-row { gap: 22px; }
  .nav-links { display: none; }
}

/* ---- Sections ---- */
.section { padding: 88px 28px; }
.section.alt { background: var(--bg); }
.section .wrap { max-width: 1180px; margin: 0 auto; }
.section-eyebrow {
  font-size: 12px; font-weight: 700; letter-spacing: 1px;
  text-transform: uppercase; color: var(--brand-2);
  margin-bottom: 12px;
}
.section h2 {
  font-size: clamp(28px, 3.4vw, 40px);
  line-height: 1.15; font-weight: 800;
  letter-spacing: -0.02em; color: var(--ink);
  max-width: 720px; margin-bottom: 16px;
}
.section .lead {
  font-size: 17px; color: var(--ink-2);
  max-width: 720px; margin-bottom: 48px; line-height: 1.55;
}

/* Card grid */
.cards { display: grid; gap: 22px; }
.cards.cols-3 { grid-template-columns: repeat(3, 1fr); }
.cards.cols-4 { grid-template-columns: repeat(4, 1fr); }
.cards.cols-2 { grid-template-columns: repeat(2, 1fr); }
@media (max-width: 900px) {
  .cards.cols-3, .cards.cols-4 { grid-template-columns: 1fr 1fr; }
  .cards.cols-2 { grid-template-columns: 1fr; }
}
@media (max-width: 600px) {
  .cards.cols-3, .cards.cols-4 { grid-template-columns: 1fr; }
}
.card {
  background: #fff; border: 1px solid var(--line);
  border-radius: 14px; padding: 28px 26px;
  transition: 0.18s;
}
.card:hover { border-color: #cbd5e1; transform: translateY(-2px); box-shadow: 0 6px 24px -8px rgba(15,23,42,0.12); }
.card-icon {
  width: 44px; height: 44px; border-radius: 10px;
  background: linear-gradient(135deg, #ecfeff, #cffafe);
  color: var(--brand);
  display: inline-flex; align-items: center; justify-content: center;
  margin-bottom: 16px;
}
.card-icon.amber { background: linear-gradient(135deg, #fef3c7, #fde68a); color: var(--accent); }
.card h3 {
  font-size: 17px; font-weight: 700; color: var(--ink);
  margin-bottom: 8px;
}
.card p { font-size: 14px; color: var(--ink-2); line-height: 1.55; }

/* Screenshot showcase rows */
.showcase {
  display: grid; grid-template-columns: 1fr 1fr; gap: 60px;
  align-items: center; margin: 60px 0;
}
.showcase.flip { grid-template-columns: 1fr 1fr; }
.showcase.flip .showcase-img { order: 2; }
.showcase h3 {
  font-size: 26px; font-weight: 800; color: var(--ink);
  margin-bottom: 14px; letter-spacing: -0.01em;
}
.showcase p { font-size: 15px; color: var(--ink-2); line-height: 1.6; margin-bottom: 14px; }
.showcase ul { list-style: none; padding: 0; }
.showcase ul li {
  position: relative; padding-left: 26px;
  margin-bottom: 8px; font-size: 14px; color: var(--ink-2);
}
.showcase ul li::before {
  content: '✓'; position: absolute; left: 0; top: 0;
  width: 18px; height: 18px; border-radius: 50%;
  background: #d1fae5; color: var(--ok);
  font-size: 11px; font-weight: 800;
  display: inline-flex; align-items: center; justify-content: center;
}
.showcase-img {
  border-radius: 14px; overflow: hidden;
  box-shadow: 0 30px 60px -20px rgba(15,23,42,0.20);
  border: 1px solid var(--line);
}
@media (max-width: 900px) {
  .showcase, .showcase.flip { grid-template-columns: 1fr; gap: 30px; }
  .showcase.flip .showcase-img { order: 1; }
}

/* ---- Pricing ---- */
.pricing-card {
  border: 1px solid var(--line); border-radius: 16px;
  padding: 36px 32px; background: #fff; text-align: center;
  position: relative;
}
.pricing-card.featured {
  border-color: var(--brand-2);
  box-shadow: 0 12px 30px -10px rgba(13,148,136,0.30);
}
.pricing-card.featured::before {
  content: 'Most popular'; position: absolute; top: -14px; left: 50%; transform: translateX(-50%);
  background: var(--accent); color: #fff;
  padding: 5px 14px; border-radius: 999px;
  font-size: 11px; font-weight: 700; letter-spacing: 0.5px;
}
.pricing-tier { font-size: 14px; font-weight: 700; color: var(--brand); letter-spacing: 0.3px; text-transform: uppercase; }
.pricing-price { font-size: 36px; font-weight: 800; color: var(--ink); margin: 8px 0; }
.pricing-price .small { font-size: 16px; color: var(--muted); font-weight: 500; }
.pricing-tagline { font-size: 14px; color: var(--muted); line-height: 1.55; margin-bottom: 14px; min-height: 44px; }
.pricing-card { display: flex; flex-direction: column; text-align: left; padding: 32px 28px; }
.pricing-card .pricing-tier,
.pricing-card .pricing-price,
.pricing-card .pricing-tagline { text-align: center; }
.pricing-card .pricing-tier { text-align: center; }
.pricing-card .pricing-price { text-align: center; }
.plan-includes {
  font-size: 13px; font-weight: 600; color: var(--brand);
  margin: 14px 0 6px; padding: 10px 12px;
  background: #ecfeff; border: 1px solid #cffafe; border-radius: 8px;
  text-align: center;
}
.plan-section-title {
  font-size: 11px; font-weight: 700; letter-spacing: 0.6px; text-transform: uppercase;
  color: var(--brand-2); margin: 18px 0 4px; padding-top: 14px;
  border-top: 1px solid #f1f5f9;
}
.plan-section-title:first-of-type { padding-top: 6px; border-top: 0; }
.pricing-features { list-style: none; padding: 0; text-align: left; margin: 0; }
.pricing-features li {
  position: relative; padding: 6px 0 6px 22px;
  font-size: 13.5px; color: var(--ink-2); line-height: 1.5;
  border-bottom: 0;
}
.pricing-features li::before {
  content: '✓'; position: absolute; left: 0; top: 6px;
  width: 16px; height: 16px; border-radius: 50%;
  background: #d1fae5; color: var(--ok);
  font-size: 10px; font-weight: 800;
  display: inline-flex; align-items: center; justify-content: center;
  line-height: 1;
}
.pricing-features li code {
  font-size: 12px; background: #f1f5f9; padding: 1px 6px; border-radius: 4px;
  color: var(--ink-2); font-family: ui-monospace, SFMono-Regular, monospace;
}
/* Reserve at least 28px of breathing room above the CTA without giving up
   the bottom-aligned layout — the spacer absorbs any extra height with
   flex:1, and its min-height enforces the visual gap on the tallest card. */
.plan-cta-spacer { flex: 1 0 28px; min-height: 28px; }
.btn-block-cta {
  width: 100%; justify-content: center;
  padding: 14px;
}

/* ---- Contact form ---- */
.contact-card {
  background: #fff; border: 1px solid var(--line);
  border-radius: 16px; padding: 40px;
  max-width: 640px; margin: 40px auto 0;
  box-shadow: 0 8px 24px -10px rgba(15,23,42,0.08);
}
.contact-card form { display: grid; gap: 14px; }
.contact-card label { font-size: 12px; font-weight: 600; color: var(--ink-2); letter-spacing: 0.3px; text-transform: uppercase; margin-bottom: 4px; display: block; }
.contact-card input, .contact-card textarea, .contact-card select {
  width: 100%; padding: 12px 14px;
  border: 1px solid var(--line); border-radius: 8px;
  font: inherit; color: var(--ink);
  background: #fff;
}
.contact-card input:focus, .contact-card textarea:focus, .contact-card select:focus {
  outline: 2px solid var(--brand-2); outline-offset: 0; border-color: transparent;
}
.contact-card textarea { resize: vertical; min-height: 110px; }
.contact-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
@media (max-width: 600px) { .contact-row { grid-template-columns: 1fr; } }
#contact-status { font-size: 14px; padding: 10px 12px; border-radius: 8px; display: none; }
#contact-status.ok { display: block; background: #ecfdf5; border: 1px solid #a7f3d0; color: #065f46; }
#contact-status.err { display: block; background: #fef2f2; border: 1px solid #fecaca; color: #991b1b; }

/* ---- Footer ---- */
.site-footer {
  background: #0f172a; color: rgba(255,255,255,0.72);
  padding: 56px 28px 36px;
}
.site-footer .wrap {
  max-width: 1180px; margin: 0 auto;
  display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 40px;
}
.site-footer h4 { color: #fff; font-size: 13px; font-weight: 700; margin-bottom: 14px; letter-spacing: 0.5px; text-transform: uppercase; }
.site-footer ul { list-style: none; padding: 0; }
.site-footer ul li { margin-bottom: 8px; }
.site-footer a { color: rgba(255,255,255,0.72); font-size: 14px; }
.site-footer a:hover { color: #fff; text-decoration: none; }
.site-footer .footer-brand { color: #fff; font-size: 17px; font-weight: 800; }
.site-footer .footer-tag { font-size: 13px; max-width: 320px; margin-top: 8px; line-height: 1.55; }
.site-footer .copy {
  margin-top: 36px; padding-top: 22px; border-top: 1px solid rgba(255,255,255,0.10);
  display: flex; justify-content: space-between; align-items: center;
  font-size: 12px;
}

/* ---- Social icons in the footer ---- */
/* Replaces the previous "Follow: LinkedIn · X · ..." text row. Each icon
 * is an inline SVG (currentColor) sitting in a rounded square with a
 * subtle white-alpha background. Hover lifts the chip and swaps in the
 * platform's official brand colour. Single change-point so any future
 * platform addition only needs one CSS block + one SVG. */
.footer-social {
  display: flex; gap: 8px; align-items: center;
  margin-top: 12px;
}
.social-icon {
  display: inline-flex; align-items: center; justify-content: center;
  width: 36px; height: 36px;
  border-radius: 9px;
  background: rgba(255,255,255,0.06);
  color: rgba(255,255,255,0.78);
  transition: background-color 0.16s ease, color 0.16s ease, transform 0.12s ease;
  -webkit-tap-highlight-color: transparent;
}
.social-icon svg { width: 18px; height: 18px; display: block; }
.social-icon:hover {
  color: #fff; text-decoration: none; transform: translateY(-2px);
  background: rgba(255,255,255,0.14);
}
.social-icon:focus-visible { outline: 2px solid #fff; outline-offset: 2px; }
/* Brand-colour hover per platform — matches each network's official mark. */
.social-icon.social-linkedin:hover  { background: #0A66C2; }
.social-icon.social-x:hover         { background: #000;    }
.social-icon.social-facebook:hover  { background: #1877F2; }
.social-icon.social-instagram:hover {
  background: linear-gradient(45deg, #F58529 0%, #DD2A7B 50%, #8134AF 100%);
}
@media (max-width: 900px) {
  .site-footer .wrap { grid-template-columns: 1fr 1fr; gap: 28px; }
  .site-footer .copy { flex-direction: column; gap: 8px; }
}

/* ---- Cookie banner ---- */
#cookie-banner {
  position: fixed; bottom: 18px; left: 18px; right: 18px;
  background: #fff; border: 1px solid var(--line);
  border-radius: 14px; padding: 18px 22px;
  box-shadow: 0 20px 50px -10px rgba(15,23,42,0.20);
  z-index: 999; max-width: 540px;
  display: none;
}
#cookie-banner.show { display: block; }
#cookie-banner p { font-size: 13px; color: var(--ink-2); margin-bottom: 12px; line-height: 1.5; }
#cookie-banner .row { display: flex; gap: 8px; }
#cookie-banner .btn { padding: 8px 14px; font-size: 13px; }

/* ---- Page hero (deep pages, not the homepage) ---- */
.page-hero {
  background: linear-gradient(180deg, #f0f9ff 0%, #ffffff 100%);
  padding: 70px 28px 50px;
  border-bottom: 1px solid var(--line);
}
.page-hero .wrap {
  max-width: 1180px; margin: 0 auto;
  text-align: center;
}
.page-hero .section-eyebrow { margin-bottom: 16px; }
.page-hero h1 {
  font-size: clamp(32px, 4vw, 48px);
  line-height: 1.08; font-weight: 800;
  letter-spacing: -0.02em; color: var(--ink);
  max-width: 820px; margin: 0 auto 18px;
}
.page-hero .lead {
  font-size: 18px; line-height: 1.55;
  color: var(--ink-2);
  max-width: 720px; margin: 0 auto;
}
@media (max-width: 600px) { .page-hero { padding: 50px 24px 36px; } }

/* ---- Section variants used across pages ---- */
.section h2 { margin-left: 0; margin-right: 0; max-width: none; }
.section .lead { margin-bottom: 36px; }

/* ---- Homepage proof strip ---- */
.proof-strip {
  background: #fff; padding: 36px 28px;
  border-bottom: 1px solid var(--line);
}
.proof-strip .wrap { max-width: 1180px; margin: 0 auto; text-align: center; }
.proof-label {
  font-size: 12px; letter-spacing: 1px; text-transform: uppercase;
  color: var(--muted); margin-bottom: 18px;
}
.proof-row {
  display: flex; flex-wrap: wrap; gap: 26px;
  justify-content: center;
}
.proof-item {
  font-size: 14px; font-weight: 600;
  color: var(--ink-2);
  padding: 8px 18px; border-radius: 999px;
  background: #f8fafc; border: 1px solid var(--line);
}

/* ---- Homepage teaser cards (clickable into deep pages) ---- */
.teaser-grid .teaser-card {
  display: block; padding: 28px 26px; cursor: pointer;
  text-decoration: none; color: inherit;
}
.teaser-grid .teaser-card:hover { text-decoration: none; }
.teaser-card .learn-more {
  display: inline-block; margin-top: 14px;
  font-size: 13px; font-weight: 700;
  color: var(--brand-2); letter-spacing: 0.2px;
}
.teaser-card:hover .learn-more { color: var(--brand); }

/* ---- CTA banner (used at the bottom of most pages) ---- */
.cta-banner {
  display: flex; align-items: center; gap: 36px;
  padding: 36px 40px;
  background: linear-gradient(135deg, #ecfeff 0%, #f0fdf4 100%);
  border: 1px solid #cffafe; border-radius: 18px;
  flex-wrap: wrap;
}
.cta-banner h2 { margin: 0 0 6px; font-size: 24px; max-width: none; }
.cta-banner .lead { margin: 0; font-size: 15px; max-width: 540px; }
.cta-banner .btn-lg { margin-left: auto; }
@media (max-width: 720px) {
  .cta-banner { padding: 24px; }
  .cta-banner .btn-lg { margin-left: 0; width: 100%; justify-content: center; }
}

/* ---- /features deep page — block of cards with eyebrow + heading ---- */
.feature-block { margin-bottom: 56px; }
.feature-block:last-child { margin-bottom: 0; }
.feature-block-head {
  margin-bottom: 22px;
  padding-bottom: 12px; border-bottom: 1px solid var(--line);
}
.feature-block-head .section-eyebrow { margin-bottom: 6px; }
.feature-block-head h2 {
  font-size: 26px; line-height: 1.2; margin: 0;
  font-weight: 800; letter-spacing: -0.01em;
}
.feature-block .card { padding: 24px 22px; }
.feature-block .card h3 { font-size: 16px; margin-bottom: 8px; }
.feature-block .card p { font-size: 13.5px; line-height: 1.55; }

/* ---- /modules deep page — grouped module cards ---- */
.module-group { margin-bottom: 50px; }
.module-group:last-child { margin-bottom: 0; }
.module-group h2 {
  font-size: 22px; margin-bottom: 18px;
  padding-bottom: 10px; border-bottom: 1px solid var(--line);
}
.module-cards .module-card { padding: 18px 18px; text-align: left; }
/* DS14 — module-card heading is now h3 (was h4) so the page heading
 * hierarchy is h1 → h2 → h3, no skipped level. Screen readers and
 * accessibility audits expect this. Visual style unchanged. */
.module-cards .module-card h3 {
  font-size: 14px; font-weight: 700; color: var(--ink);
  margin: 0 0 6px;
}
.module-cards .module-card p {
  font-size: 12.5px; color: var(--ink-2); line-height: 1.5; margin: 0;
}

/* ---- /deployment deep page ---- */
.deploy-card { padding: 32px 28px 28px; display: flex; flex-direction: column; }
.deploy-card.featured {
  border-color: var(--brand-2);
  box-shadow: 0 12px 30px -10px rgba(13, 148, 136, 0.30);
}
.deploy-badge {
  display: inline-block; align-self: flex-start;
  padding: 4px 12px; border-radius: 999px;
  background: var(--hero-grad); color: #fff;
  font-size: 11px; font-weight: 700; letter-spacing: 0.5px;
  text-transform: uppercase; margin-bottom: 12px;
}
.deploy-card h3 {
  font-size: 19px; font-weight: 800; color: var(--ink);
  margin: 0 0 8px; letter-spacing: -0.01em;
}
.deploy-card .deploy-tagline {
  font-size: 14px; color: var(--ink-2); line-height: 1.5;
  margin-bottom: 16px;
}
.deploy-points { list-style: none; padding: 0; margin: 0; }
.deploy-points li {
  position: relative; padding: 6px 0 6px 24px;
  font-size: 13.5px; color: var(--ink-2); line-height: 1.5;
}
.deploy-points li::before {
  content: '✓'; position: absolute; left: 0; top: 6px;
  width: 16px; height: 16px; border-radius: 50%;
  background: #d1fae5; color: var(--ok);
  font-size: 10px; font-weight: 800;
  display: inline-flex; align-items: center; justify-content: center;
}
.deploy-card .deploy-best {
  margin-top: auto; padding-top: 18px;
  font-size: 12.5px; color: var(--brand-2);
  font-weight: 600; line-height: 1.5;
}

/* /deployment — install steps */
.deploy-steps {
  display: grid; grid-template-columns: repeat(5, 1fr); gap: 18px;
  margin-top: 30px;
}
@media (max-width: 1100px) {
  .deploy-steps { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 700px) {
  .deploy-steps { grid-template-columns: 1fr; }
}
.deploy-step {
  background: #fff; border: 1px solid var(--line);
  border-radius: 12px; padding: 22px 20px;
}
.deploy-step-num {
  width: 32px; height: 32px; border-radius: 50%;
  background: var(--hero-grad); color: #fff;
  font-weight: 800; font-size: 14px;
  display: inline-flex; align-items: center; justify-content: center;
  margin-bottom: 10px;
}
.deploy-step h4 {
  font-size: 14px; font-weight: 700; color: var(--ink);
  margin: 0 0 6px;
}
.deploy-step p {
  font-size: 12.5px; color: var(--ink-2); line-height: 1.55; margin: 0;
}

/* /deployment — comparison table */
.deploy-table-wrap {
  overflow-x: auto; border: 1px solid var(--line);
  border-radius: 14px; background: #fff;
  margin-top: 18px;
}
.deploy-table {
  width: 100%; border-collapse: collapse; font-size: 14px;
  min-width: 720px;
}
.deploy-table thead th {
  background: #f8fafc; padding: 16px 18px;
  text-align: left; font-weight: 700; font-size: 13px;
  color: var(--ink); border-bottom: 1px solid var(--line);
}
.deploy-table tbody th {
  text-align: left; padding: 14px 18px;
  font-weight: 600; color: var(--ink-2);
  background: #fafbfc; border-right: 1px solid var(--line);
  width: 28%;
}
.deploy-table tbody td {
  padding: 14px 18px; color: var(--ink-2);
  border-bottom: 1px solid #f1f5f9;
}
.deploy-table tbody tr:last-child td,
.deploy-table tbody tr:last-child th { border-bottom: 0; }

/* ---- /pricing FAQ ---- */
.faq { max-width: 820px; margin: 0 auto; }
.faq-item {
  border: 1px solid var(--line); border-radius: 10px;
  background: #fff; margin-bottom: 12px;
  padding: 0;
}
.faq-item summary {
  list-style: none; cursor: pointer;
  padding: 18px 22px;
  font-size: 15px; font-weight: 600; color: var(--ink);
  position: relative;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: '+'; position: absolute; right: 22px; top: 50%;
  transform: translateY(-50%); font-size: 22px; font-weight: 400;
  color: var(--muted); transition: transform 0.15s;
}
.faq-item[open] summary::after { content: '−'; }
.faq-item p {
  padding: 0 22px 18px; margin: 0;
  font-size: 14px; color: var(--ink-2); line-height: 1.65;
}

/* ---- /contact deep page ---- */
.contact-grid {
  display: grid; grid-template-columns: 1fr 1.4fr; gap: 36px;
  align-items: flex-start;
}
@media (max-width: 900px) {
  .contact-grid { grid-template-columns: 1fr; }
}
.contact-side { display: grid; gap: 14px; }
.contact-card-info {
  background: #fff; border: 1px solid var(--line);
  border-radius: 12px; padding: 22px;
}
.contact-card-info h3 {
  font-size: 14px; font-weight: 700; color: var(--ink);
  margin-bottom: 10px;
}
.contact-card-info ol.ordered {
  padding-left: 20px; margin: 0;
}
.contact-card-info ol.ordered li {
  font-size: 13.5px; color: var(--ink-2); line-height: 1.55;
  margin-bottom: 6px;
}
.contact-channels {
  list-style: none; padding: 0; margin: 0;
}
.contact-channels li {
  font-size: 13.5px; color: var(--ink-2);
  padding: 4px 0;
}
.link-btn {
  background: none; border: 0; padding: 0; cursor: pointer;
  color: var(--brand-2); font: inherit; text-decoration: underline;
}
ol.ordered { padding-left: 22px; }
ol.ordered li { margin-bottom: 8px; line-height: 1.55; color: var(--ink-2); }

/* ---- Developer's message (/about) ---- */
.dev-letter {
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: 48px;
  align-items: start;
}
@media (max-width: 820px) {
  .dev-letter { grid-template-columns: 1fr; gap: 28px; }
}
.dev-photo-col {
  position: sticky; top: 100px;
}
@media (max-width: 820px) {
  /* On mobile the grid is single-column, so a sticky photo column at
     top:100px stays anchored while the letter body scrolls UNDER it —
     causing the dev-card-meta (name + email + Book-a-call link) and
     the first lines of the article to render visually on top of the
     photo. Fix: drop sticky on mobile so the column stacks normally
     above the letter body. */
  .dev-photo-col {
    position: static;
    top: auto;
    /* Centre + cap the photo so it doesn't span the full mobile width
       when stacked above the letter body. */
    max-width: 320px;
    margin: 0 auto;
  }
}
.dev-photo {
  border-radius: 18px;
  overflow: hidden;
  background: linear-gradient(180deg, #ecfeff, #f8fafc);
  border: 1px solid var(--line);
  box-shadow: 0 16px 40px -16px rgba(15, 23, 42, 0.18);
  /* 7:8 box (280×320 in this layout) is shorter than the source image's
     ~3:4 aspect, so cover crops the bottom of the source — exactly
     where the original Renalyx logo + tagline sit. ~15% of the source
     is clipped, comfortably more than the ~12% the logo occupies. */
  aspect-ratio: 7 / 8;
}
.dev-photo img {
  width: 100%; height: 100%;
  object-fit: cover;
  /* Anchor to the top so the head/shoulders stay framed and the bottom
     watermark is what gets discarded. */
  object-position: 50% 0%;
  display: block;
}
.dev-card-meta {
  margin-top: 16px;
  padding: 0 4px;
}
.dev-name {
  font-size: 18px; font-weight: 800; color: var(--ink);
  letter-spacing: -0.01em;
}
.dev-title {
  font-size: 13px; color: var(--muted);
  margin-top: 2px;
  margin-bottom: 12px;
}
.dev-links {
  list-style: none; padding: 0; margin: 0;
}
.dev-links li {
  font-size: 13.5px;
  padding: 4px 0;
  border-top: 1px solid var(--line);
}
.dev-links li:first-child { border-top: 0; }
.dev-links a { color: var(--brand-2); }

.dev-letter-body { max-width: 720px; }
.dev-letter-body .lede {
  font-size: 22px; line-height: 1.4;
  color: var(--ink); font-weight: 500;
  margin-bottom: 24px;
  letter-spacing: -0.005em;
}
.dev-letter-body p {
  font-size: 16px; line-height: 1.7;
  color: var(--ink-2);
  margin-bottom: 18px;
}
.dev-letter-body h3 {
  font-size: 22px; font-weight: 800;
  color: var(--ink);
  margin: 36px 0 14px;
  letter-spacing: -0.01em;
}
.dev-letter-body em {
  color: var(--brand);
  font-style: italic;
  font-weight: 600;
}
.dev-promises {
  list-style: none; padding: 0; margin: 0 0 18px;
}
.dev-promises li {
  position: relative;
  padding: 14px 16px 14px 22px;
  margin-bottom: 10px;
  font-size: 15.5px; line-height: 1.6;
  color: var(--ink-2);
  background: #fff;
  border: 1px solid var(--line);
  border-left: 3px solid var(--brand-2);
  border-radius: 8px;
}
.dev-promises li strong {
  color: var(--ink);
  font-weight: 700;
}
.dev-signoff {
  margin-top: 32px;
  padding-top: 20px;
  border-top: 1px solid var(--line);
  font-size: 18px;
  font-weight: 600;
  color: var(--ink);
}
.dev-signoff .muted { font-size: 13px; font-weight: 500; }

/* ---- Launch-partner cards ---- */
.partners-grid { margin-top: 30px; }
.partner-card {
  position: relative; padding: 36px 28px 28px;
  border-radius: 18px;
}
.partner-card.featured {
  border-color: var(--brand-2);
  box-shadow: 0 12px 30px -10px rgba(13, 148, 136, 0.30);
}
.partner-badge {
  position: absolute; top: -16px; left: 24px;
  width: 44px; height: 44px; border-radius: 12px;
  background: var(--hero-grad);
  color: #fff; font-weight: 800; font-size: 14px;
  display: inline-flex; align-items: center; justify-content: center;
  letter-spacing: 0.5px;
  box-shadow: 0 6px 16px -4px rgba(12, 74, 110, 0.4);
}
.partner-card h3 {
  font-size: 19px; font-weight: 800; color: var(--ink);
  margin: 6px 0 10px;
  letter-spacing: -0.01em;
}
.partner-card p {
  font-size: 14px; color: var(--ink-2); line-height: 1.6;
  margin-bottom: 16px;
}
.partner-points { list-style: none; padding: 0; margin: 0; }
.partner-points li {
  position: relative; padding: 6px 0 6px 24px;
  font-size: 13.5px; color: var(--ink-2); line-height: 1.5;
}
.partner-points li::before {
  content: '✓'; position: absolute; left: 0; top: 6px;
  width: 16px; height: 16px; border-radius: 50%;
  background: #d1fae5; color: var(--ok);
  font-size: 10px; font-weight: 800;
  display: inline-flex; align-items: center; justify-content: center;
  line-height: 1;
}
.partners-cta {
  text-align: center; margin-top: 36px;
  padding: 24px;
}
.partners-cta p {
  font-size: 14px; color: var(--muted); margin-bottom: 14px;
}

/* ---- Sign-in modal (Turnstile gate) ---- */
.signin-modal-backdrop {
  position: fixed; inset: 0; z-index: 1000;
  background: rgba(15, 23, 42, 0.55);
  display: none; align-items: center; justify-content: center;
  padding: 20px;
}
.signin-modal-backdrop.show { display: flex; }
.signin-modal {
  background: #fff; border-radius: 16px;
  padding: 32px 28px; max-width: 440px; width: 100%;
  box-shadow: 0 30px 60px -10px rgba(15, 23, 42, 0.3);
}
.signin-modal h3 {
  font-size: 22px; font-weight: 800; color: var(--ink);
  margin: 0 0 6px;
}
.signin-modal .signin-sub {
  font-size: 14px; color: var(--ink-2); line-height: 1.5;
  margin-bottom: 22px;
}
.signin-modal label {
  font-size: 12px; font-weight: 600; color: var(--ink-2);
  letter-spacing: 0.3px; text-transform: uppercase;
  margin-bottom: 6px; display: block;
}
.signin-modal input[type=text] {
  width: 100%; padding: 12px 14px;
  border: 1px solid var(--line); border-radius: 8px;
  font: inherit; color: var(--ink); background: #fff;
  margin-bottom: 16px;
}
.signin-modal input[type=text]:focus {
  outline: 2px solid var(--brand-2); outline-offset: 0; border-color: transparent;
}
.signin-modal .signin-domain-hint {
  font-size: 12px; color: var(--muted); margin: -10px 0 14px;
}
.signin-modal .signin-actions {
  display: flex; gap: 10px; justify-content: flex-end;
  margin-top: 18px;
}
.signin-modal #signinTurnstile { margin: 6px 0 14px; min-height: 65px; }
.signin-modal .signin-status {
  font-size: 13px; padding: 8px 12px; border-radius: 6px;
  margin-top: 12px; display: none;
}
.signin-modal .signin-status.err {
  display: block; background: #fef2f2; border: 1px solid #fecaca; color: #991b1b;
}

/* ---- Module pills ---- */
.modules-list .card.mini {
  padding: 14px 16px; text-align: center;
  font-size: 13px; font-weight: 600; color: var(--ink-2);
  background: #fff;
}
.modules-list .card.mini:hover { color: var(--brand); transform: none; box-shadow: none; }
@media (max-width: 600px) {
  .cards.cols-4.modules-list { grid-template-columns: 1fr 1fr; }
}

/* ---- Contact form layout helpers ---- */
.contact-card form > div { display: block; }

/* ---- Legal pages (privacy / cookies / terms) ---- */
.legal {
  max-width: 820px; margin: 0 auto;
  padding: 60px 28px 80px;
}
.legal h1 { font-size: 36px; font-weight: 800; margin-bottom: 8px; letter-spacing: -0.02em; }
.legal .meta { font-size: 13px; color: var(--muted); margin-bottom: 30px; }
.legal h2 {
  font-size: 22px; font-weight: 700; margin-top: 36px; margin-bottom: 12px;
  padding-top: 20px; border-top: 1px solid var(--line);
}
.legal h2:first-of-type { padding-top: 0; border-top: 0; margin-top: 24px; }
.legal h3 { font-size: 16px; font-weight: 700; margin-top: 18px; margin-bottom: 6px; }
.legal p { margin-bottom: 14px; color: var(--ink-2); line-height: 1.7; }
.legal ul { padding-left: 22px; margin-bottom: 14px; color: var(--ink-2); }
.legal ul li { margin-bottom: 6px; line-height: 1.6; }
.legal a { color: var(--brand-2); }
.legal .toc {
  background: var(--bg); border: 1px solid var(--line);
  border-radius: 10px; padding: 18px 22px; margin-bottom: 30px;
}
.legal .toc h3 { font-size: 12px; text-transform: uppercase; letter-spacing: 0.5px; color: var(--muted); margin: 0 0 8px; }
.legal .toc ol { padding-left: 20px; font-size: 14px; }
.legal .toc ol li { margin-bottom: 4px; }

/* ============================================================
 * Homepage 2.0 — value props, patient journey, audiences,
 * security grid, outcome cards, founder story.
 * Added when the home page was repositioned as a hospital
 * operating system (not "software").
 * ============================================================ */

/* ---- Value-proposition tiles (6 cards) ---- */
.value-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
  margin-top: 36px;
}
.value-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 28px 24px;
  transition: transform 0.18s ease, box-shadow 0.18s ease, border-color 0.18s ease;
}
.value-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 18px 40px -22px rgba(12, 74, 110, 0.25);
  border-color: rgba(13, 148, 136, 0.4);
}
.value-icon {
  width: 48px; height: 48px;
  border-radius: 12px;
  background: linear-gradient(135deg, rgba(12,74,110,0.08), rgba(13,148,136,0.12));
  color: var(--brand);
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 16px;
}
.value-icon svg { display: block; }
.value-card h3 { font-size: 18px; font-weight: 700; margin-bottom: 10px; color: var(--ink); }
.value-card p { color: var(--ink-2); font-size: 14.5px; line-height: 1.6; }
@media (max-width: 980px) {
  .value-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 640px) {
  .value-grid { grid-template-columns: 1fr; }
}

/* ---- Patient journey workflow timeline (6 numbered steps) ---- */
.workflow {
  list-style: none; padding: 0;
  margin: 40px auto 0;
  max-width: 880px;
  display: grid; gap: 18px;
  counter-reset: workflow-step;
}
.workflow-step {
  position: relative;
  display: grid;
  grid-template-columns: 64px 1fr;
  gap: 22px;
  align-items: flex-start;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 22px 26px;
  transition: border-color 0.18s ease, transform 0.18s ease;
}
.workflow-step::before {
  /* vertical connector line between steps */
  content: '';
  position: absolute;
  left: 56px; top: 100%;
  width: 2px; height: 18px;
  background: linear-gradient(to bottom, rgba(13,148,136,0.5), rgba(13,148,136,0));
}
.workflow-step:last-child::before { display: none; }
.workflow-step:hover {
  border-color: rgba(13, 148, 136, 0.55);
  transform: translateX(4px);
}
.workflow-num {
  width: 48px; height: 48px;
  border-radius: 12px;
  background: var(--hero-grad);
  color: #fff;
  font-weight: 800;
  font-size: 22px;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 8px 18px -8px rgba(12, 74, 110, 0.5);
}
.workflow-body h4 {
  font-size: 17px; font-weight: 700; color: var(--ink);
  margin-bottom: 6px;
}
.workflow-body p { color: var(--ink-2); font-size: 14.5px; line-height: 1.6; }
@media (max-width: 640px) {
  .workflow-step { grid-template-columns: 44px 1fr; padding: 18px 18px; gap: 16px; }
  .workflow-num { width: 40px; height: 40px; font-size: 18px; }
  .workflow-step::before { left: 38px; }
}

/* DS14 — `audience-grid` / `audience-card` removed. The "Four kinds of
 * healthcare facility" section was moved off the home page during the
 * 2026-05-27 trim and isn't used by any other marketing page. ~40 lines
 * of dead CSS removed. If the per-facility breakdown is ever brought
 * back, the modules page already has a richer treatment via the
 * Workforce + Specialty + Diagnostics groups. */

/* ---- Trust & security grid (6 controls, two-column rows) ---- */
.security-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 22px;
  margin-top: 36px;
}
.security-item {
  display: grid;
  grid-template-columns: 36px 1fr;
  gap: 16px;
  align-items: flex-start;
  padding: 22px 24px;
  background: #fff;
  border: 1px solid var(--line);
  border-left: 4px solid var(--ok);
  border-radius: 12px;
  transition: transform 0.18s ease, box-shadow 0.18s ease;
}
.security-item:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 28px -16px rgba(22, 163, 74, 0.3);
}
.security-check {
  width: 32px; height: 32px;
  border-radius: 50%;
  background: rgba(22, 163, 74, 0.12);
  color: var(--ok);
  font-weight: 800;
  display: flex; align-items: center; justify-content: center;
}
.security-item h4 {
  font-size: 16.5px; font-weight: 700; color: var(--ink);
  margin-bottom: 5px;
}
.security-item p { color: var(--ink-2); font-size: 14px; line-height: 1.55; }
.security-footnote {
  margin-top: 28px; text-align: center;
  color: var(--muted); font-size: 13.5px; font-style: italic;
}
@media (max-width: 880px) {
  .security-grid { grid-template-columns: 1fr; }
}

/* ---- Founder / origin section (text + portrait) ---- */
.origin-wrap {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 60px;
  align-items: center;
}
.origin-wrap p {
  color: var(--ink-2);
  margin-bottom: 14px;
  line-height: 1.7;
}
.origin-wrap .btn { margin-top: 16px; }
.origin-visual img {
  border-radius: 14px;
  box-shadow: 0 30px 60px -32px rgba(12, 74, 110, 0.4);
  object-fit: cover;
  width: 100%;
}
@media (max-width: 880px) {
  .origin-wrap { grid-template-columns: 1fr; gap: 36px; }
  .origin-visual img { max-width: 320px; margin: 0 auto; }
}

/* ---- Outcome cards (6 performance claims) ---- */
.outcome-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-top: 36px;
}
.outcome-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 26px 24px;
  transition: transform 0.18s ease, box-shadow 0.18s ease;
}
.outcome-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 18px 40px -22px rgba(12, 74, 110, 0.2);
}
.outcome-stat {
  font-size: 18px;
  font-weight: 800;
  color: var(--accent);
  margin-bottom: 8px;
  letter-spacing: -0.01em;
}
.outcome-card h4 {
  font-size: 16.5px; font-weight: 700; color: var(--ink);
  margin-bottom: 8px;
}
.outcome-card p { color: var(--ink-2); font-size: 14px; line-height: 1.6; }
@media (max-width: 980px) {
  .outcome-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 600px) {
  .outcome-grid { grid-template-columns: 1fr; }
}

/* ===============================================================
 * Hero dashboard mockup — replaces the static dashboard.svg with a
 * rich product preview. Shows real UI primitives prospects will see:
 * live queue rows, stat tiles, status chips, pulse-dot indicator,
 * a ticking visit counter. No fake real-time — just visual energy.
 * =============================================================== */

@keyframes mh-pulse {
  0%, 100% { transform: scale(1);   opacity: 1;   box-shadow: 0 0 0 0   rgba(34, 197, 94, 0.55); }
  50%      { transform: scale(1.1); opacity: 0.85; box-shadow: 0 0 0 6px rgba(34, 197, 94, 0);   }
}
@keyframes mh-row-fade {
  from { opacity: 0; transform: translateX(8px); }
  to   { opacity: 1; transform: translateX(0);    }
}

.dash-mockup {
  background: #fff;
  border-radius: 14px;
  border: 1px solid rgba(15, 23, 42, 0.08);
  box-shadow:
    0 28px 60px -28px rgba(7, 33, 60, 0.45),
    0 4px 14px -6px rgba(7, 33, 60, 0.15);
  overflow: hidden;
  color: var(--ink);
  font-size: 13.5px;
  line-height: 1.4;
  /* Subtle 1px hairline highlight at the top — depth without weight. */
  background-image: linear-gradient(180deg, rgba(255,255,255,0.7), rgba(255,255,255,0) 6%);
}

/* Real product screenshots used in the hero + tour showcases. The
   styling mirrors .dash-mockup (rounded corners, same shadow stack,
   hairline border) so the rest of the page composition is unchanged
   when an actual PNG replaces the previous HTML/CSS mockup. The img
   is fluid-width inside its column; the explicit width/height on the
   <img> element gives the browser a layout hint so the page doesn't
   reflow when the screenshot finishes loading.

   Screenshots live in marketing/img/screenshots/ — see the README in
   that directory for the canonical filenames + required redaction
   (patient names + MRNs must be anonymized before any image is
   committed to the public marketing site). */
.product-screenshot {
  display: block;
  width: 100%;
  height: auto;
  max-width: 100%;
  border-radius: 14px;
  border: 1px solid rgba(15, 23, 42, 0.08);
  box-shadow:
    0 28px 60px -28px rgba(7, 33, 60, 0.45),
    0 4px 14px -6px rgba(7, 33, 60, 0.15);
  background: #f1f5f9; /* soft placeholder so a missing image isn't pure-white void */
}
.product-screenshot-tour {
  /* Tour showcases live inside a narrower column than the hero — keep
     a slightly tighter shadow so the image doesn't dominate the
     accompanying copy column on side-by-side layouts. */
  box-shadow:
    0 18px 40px -22px rgba(7, 33, 60, 0.40),
    0 3px 10px -5px rgba(7, 33, 60, 0.13);
}

.dash-header {
  display: flex; align-items: center; justify-content: space-between;
  padding: 14px 18px;
  border-bottom: 1px solid rgba(15, 23, 42, 0.06);
  background: linear-gradient(180deg, #f8fafc, #ffffff);
}
.dash-title {
  display: flex; align-items: center; gap: 10px;
  font-weight: 700; color: var(--ink); font-size: 13.5px;
  letter-spacing: -0.005em;
}
.dash-pulse {
  width: 9px; height: 9px; border-radius: 50%;
  background: #22c55e;
  animation: mh-pulse 1.8s ease-in-out infinite;
  flex-shrink: 0;
}
.dash-meta { font-size: 12px; color: var(--muted); font-weight: 500; }
.dash-meta .counter { font-variant-numeric: tabular-nums; color: var(--ink); font-weight: 700; }

.dash-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  padding: 16px;
  border-bottom: 1px solid rgba(15, 23, 42, 0.06);
}
.dash-stat {
  background: #f8fafc;
  border: 1px solid rgba(15, 23, 42, 0.05);
  border-radius: 10px;
  padding: 12px 14px;
}
.dash-stat-lbl {
  font-size: 10.5px; text-transform: uppercase; letter-spacing: 0.4px;
  color: var(--muted); font-weight: 600;
}
.dash-stat-num {
  font-size: 26px; font-weight: 800; color: var(--brand);
  letter-spacing: -0.02em; margin-top: 4px; line-height: 1;
  font-variant-numeric: tabular-nums;
}
.dash-stat-trend {
  font-size: 11px; color: var(--muted); margin-top: 4px;
  font-weight: 500;
}
.dash-stat-trend.up   { color: #15803d; }
.dash-stat-trend.down { color: #b45309; }

.dash-queue {
  padding: 8px 10px 12px;
  display: flex; flex-direction: column; gap: 4px;
}
.dash-row {
  display: grid;
  grid-template-columns: 36px 1fr auto auto;
  gap: 12px;
  align-items: center;
  padding: 10px 10px;
  border-radius: 8px;
  background: #fff;
  transition: background 0.15s ease, transform 0.15s ease;
  animation: mh-row-fade 0.45s ease-out backwards;
}
.dash-row:nth-child(1) { animation-delay: 0.05s; }
.dash-row:nth-child(2) { animation-delay: 0.12s; }
.dash-row:nth-child(3) { animation-delay: 0.19s; }
.dash-row:nth-child(4) { animation-delay: 0.26s; }
.dash-row:hover { background: #f1f5f9; transform: translateX(2px); }

.dash-avatar {
  width: 36px; height: 36px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  color: #fff; font-weight: 700; font-size: 12.5px;
  letter-spacing: 0.4px;
}
.dash-av-a { background: linear-gradient(135deg, #0c4a6e, #0e7490); }
.dash-av-b { background: linear-gradient(135deg, #b45309, #ea580c); }
.dash-av-c { background: linear-gradient(135deg, #15803d, #16a34a); }
.dash-av-d { background: linear-gradient(135deg, #5b21b6, #7c3aed); }

.dash-rowname {
  font-weight: 600; font-size: 13.5px; color: var(--ink);
  letter-spacing: -0.005em;
}
.dash-rowmeta {
  font-size: 11.5px; color: var(--muted);
  margin-top: 2px;
}

.dash-chip {
  display: inline-block;
  padding: 3px 8px;
  border-radius: 999px;
  font-size: 10px; font-weight: 700;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  flex-shrink: 0;
}
.dash-chip-red   { background: rgba(220, 38, 38, 0.10); color: #b91c1c; }
.dash-chip-amber { background: rgba(217, 119, 6, 0.12); color: #b45309; }
.dash-chip-green { background: rgba(22, 163, 74, 0.10); color: #15803d; }
.dash-chip-blue  { background: rgba(12, 74, 110, 0.10); color: #0c4a6e; }

.dash-wait {
  font-variant-numeric: tabular-nums;
  font-size: 12px; font-weight: 600; color: var(--ink-2);
  min-width: 44px; text-align: right;
}

.dash-footer {
  display: flex; align-items: center; gap: 8px;
  padding: 10px 18px;
  border-top: 1px solid rgba(15, 23, 42, 0.06);
  background: #f8fafc;
  font-size: 11px; color: var(--muted);
}
.dash-dot {
  width: 6px; height: 6px; border-radius: 50%;
  background: #22c55e;
  animation: mh-pulse 1.8s ease-in-out infinite;
}
.dash-foot-right { margin-left: auto; font-weight: 500; letter-spacing: 0.2px; }

@media (max-width: 720px) {
  .dash-stats { grid-template-columns: 1fr 1fr; }
  .dash-stat:last-child { display: none; }
  .dash-row { grid-template-columns: 30px 1fr auto; }
  .dash-row .dash-wait { display: none; }
}

/* ===============================================================
 * Design-system refinement pass (Phase 4 polish):
 * - Softer card depth (lighter shadows, more layered)
 * - Tighter heading typography (letter-spacing + line-height)
 * - Softer 1px hairline borders
 * Applied via overrides on existing classes so the rest of the
 * stylesheet keeps working unchanged.
 * =============================================================== */

.section h2 {
  letter-spacing: -0.022em;
  line-height: 1.12;
}
.section .lead {
  letter-spacing: -0.003em;
  line-height: 1.6;
}
.section-eyebrow {
  letter-spacing: 0.6px;
}

/* Soften every .card / .value-card / .audience-card / .outcome-card.
 * Previously the cards had a single dense 18-22px blur shadow that
 * read as "form" rather than "depth." This replaces with two layered
 * shadows: a low-intensity drop + a tighter near-shadow. The result
 * is more premium enterprise-SaaS depth — closer to Linear / Stripe
 * than Bootstrap. */
.card,
.value-card,
.audience-card,
.outcome-card {
  border-color: rgba(15, 23, 42, 0.06);
}
.value-card,
.audience-card,
.outcome-card {
  box-shadow:
    0 1px 2px rgba(15, 23, 42, 0.03),
    0 1px 0 rgba(15, 23, 42, 0.02) inset;
}
.value-card:hover,
.audience-card:hover,
.outcome-card:hover {
  border-color: rgba(13, 148, 136, 0.35);
  box-shadow:
    0 18px 36px -22px rgba(7, 33, 60, 0.22),
    0 4px 10px -4px rgba(7, 33, 60, 0.10);
}

/* ===============================================================
 * Tour page — three inline product mockups that replaced the
 * static SVG illustrations (dashboard.svg / ward.svg / billing.svg).
 *
 *   .tour-dash    — platform-operations dashboard
 *   .tour-ward    — 24-bed female-ward bed map
 *   .tour-billing — claims queue with revenue ribbon
 *
 * Every mockup uses synthetic patient names (Demo / Test / Sample /
 * Synthetic / Mock — matches seed-demo-data.js) so a screenshot of
 * the marketing site can never be confused with real PHI.
 * =============================================================== */

/* ---- shared chrome (browser-style header strip) ---- */
.tour-mockup {
  background: #fff;
  border-radius: 14px;
  border: 1px solid rgba(15, 23, 42, 0.08);
  box-shadow:
    0 1px 2px rgba(15, 23, 42, 0.03),
    0 28px 60px -28px rgba(7, 33, 60, 0.32);
  overflow: hidden;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", system-ui, sans-serif;
  font-size: 13px;
  color: var(--ink);
  line-height: 1.4;
  letter-spacing: -0.005em;
}
.tour-mock-chrome {
  display: flex; align-items: center; gap: 6px;
  padding: 9px 14px;
  background: #f4f4f5;
  border-bottom: 1px solid rgba(15, 23, 42, 0.06);
}
.tour-mock-chrome .tour-dot {
  width: 11px; height: 11px; border-radius: 50%;
}
.tour-mock-chrome .tour-dot-r { background: #f87171; }
.tour-mock-chrome .tour-dot-y { background: #fbbf24; }
.tour-mock-chrome .tour-dot-g { background: #34d399; }
.tour-mock-chrome .tour-url {
  margin-left: 18px;
  font-size: 11.5px; color: var(--muted);
  background: #fff;
  border: 1px solid rgba(15, 23, 42, 0.08);
  border-radius: 999px;
  padding: 3px 12px;
  flex: 1; text-align: center;
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
}

/* ---- Showcase 1 — Platform-operations dashboard ---- */
.tour-dash .tour-mock-body {
  display: grid;
  grid-template-columns: 130px 1fr;
  background: #f8fafc;
  min-height: 460px;
}
.tour-sidebar {
  background: #1e3a8a;
  padding: 14px 10px;
  display: flex; flex-direction: column; gap: 4px;
}
.tour-side-logo {
  height: 28px;
  background: rgba(255, 255, 255, 0.18);
  border-radius: 6px;
  margin-bottom: 18px;
  position: relative;
}
.tour-side-logo::before {
  content: '';
  position: absolute; left: 8px; top: 50%; transform: translateY(-50%);
  width: 60%; height: 8px; background: rgba(255, 255, 255, 0.5);
  border-radius: 3px;
}
.tour-side-link {
  color: rgba(255, 255, 255, 0.78);
  font-size: 12.5px; font-weight: 500;
  padding: 7px 12px;
  border-radius: 6px;
  cursor: default;
}
.tour-side-link.active {
  background: rgba(255, 255, 255, 0.15);
  color: #fff; font-weight: 600;
}
.tour-main { padding: 18px; display: flex; flex-direction: column; gap: 14px; }
.tour-hero {
  background: linear-gradient(135deg, #0c4a6e, #0e7490);
  color: #fff;
  border-radius: 12px;
  padding: 16px 20px;
  position: relative;
}
.tour-hero-meta {
  font-size: 10px; letter-spacing: 1px; font-weight: 600;
  color: rgba(255, 255, 255, 0.72);
}
.tour-hero-name {
  font-size: 22px; font-weight: 800; letter-spacing: -0.02em;
  margin-top: 2px;
}
.tour-hero-sub {
  font-size: 12px; color: rgba(255, 255, 255, 0.82);
  margin-top: 4px;
}
.tour-hero-cta {
  position: absolute; top: 14px; right: 14px;
  display: flex; gap: 6px;
}
.tour-pill {
  background: rgba(255, 255, 255, 0.18);
  border: 0; color: #fff;
  font-size: 11px; font-weight: 600;
  padding: 5px 12px; border-radius: 6px;
  cursor: default;
}
.tour-grid-4 {
  display: grid; grid-template-columns: repeat(4, 1fr);
  gap: 10px;
}
.tour-stat {
  background: #fff;
  border: 1px solid rgba(15, 23, 42, 0.06);
  border-top: 3px solid #94a3b8;
  border-radius: 8px;
  padding: 10px 12px;
}
.tour-stat-lbl {
  font-size: 9.5px; letter-spacing: 0.8px; font-weight: 700;
  color: var(--muted); text-transform: uppercase;
}
.tour-stat-num {
  font-size: 28px; font-weight: 800; letter-spacing: -0.02em;
  color: var(--ink); line-height: 1.05; margin-top: 2px;
  font-variant-numeric: tabular-nums;
}
.tour-stat-foot {
  font-size: 10.5px; color: var(--muted);
  margin-top: 2px;
}
.tour-stat-foot-red { color: #dc2626; font-weight: 600; }
.tour-stat-blue   { border-top-color: #2563eb; }
.tour-stat-teal   { border-top-color: #0d9488; }
.tour-stat-red    { border-top-color: #dc2626; }
.tour-stat-purple { border-top-color: #7c3aed; }
.tour-stat-amber  { border-top-color: #d97706; }
.tour-stat-cyan   { border-top-color: #06b6d4; }
.tour-stat-green  { border-top-color: #16a34a; }
.tour-stat-orange { border-top-color: #ea580c; }
.tour-grid-2 {
  display: grid; grid-template-columns: 1.3fr 1fr;
  gap: 10px;
}
.tour-card {
  background: #fff;
  border: 1px solid rgba(15, 23, 42, 0.06);
  border-radius: 8px;
  padding: 14px;
}
.tour-card-title {
  font-size: 11.5px; font-weight: 700;
  color: var(--ink); margin-bottom: 10px;
}
.tour-chart {
  display: flex; align-items: flex-end; gap: 8px;
  height: 90px; padding: 0 4px;
}
.tour-bar {
  flex: 1;
  height: var(--h);
  background: var(--c);
  border-radius: 4px 4px 0 0;
}
.tour-chart-axis {
  display: flex; justify-content: space-between;
  margin-top: 6px; padding: 0 4px;
  font-size: 9.5px; color: var(--muted);
}
.tour-feed { list-style: none; padding: 0; margin: 0; }
.tour-feed li {
  display: grid;
  grid-template-columns: 14px 1fr;
  gap: 8px;
  padding: 6px 0;
  font-size: 11.5px;
}
.tour-feed b { font-size: 12px; color: var(--ink); font-weight: 700; display: block; }
.tour-feed-meta { color: var(--muted); font-size: 10.5px; margin-top: 1px; }
.tour-feed-dot {
  width: 8px; height: 8px; border-radius: 50%;
  margin-top: 5px;
}
.tour-dot-green { background: #16a34a; }
.tour-dot-red   { background: #dc2626; }
.tour-dot-amber { background: #d97706; }

/* ---- Showcase 2 — Ward bed map ---- */
.tour-ward-body { padding: 18px 18px 18px; background: #f8fafc; }
.tour-ward-head {
  display: flex; justify-content: space-between; align-items: flex-end;
  flex-wrap: wrap; gap: 14px; margin-bottom: 14px;
}
.tour-ward-head h4 {
  font-size: 18px; font-weight: 800; color: var(--ink);
  letter-spacing: -0.018em;
  margin: 0;
}
.tour-ward-sub {
  font-size: 11.5px; color: var(--muted);
  margin-top: 2px;
}
.tour-ward-legend {
  display: flex; gap: 14px;
  font-size: 11px; color: var(--ink-2);
}
.tour-ward-legend span { display: inline-flex; align-items: center; gap: 5px; }
.tour-leg-sw {
  display: inline-block;
  width: 10px; height: 10px; border-radius: 3px;
}
.tour-leg-stable   { background: #16a34a; }
.tour-leg-watch    { background: #d97706; }
.tour-leg-critical { background: #dc2626; }
.tour-leg-free     { background: #cbd5e1; }

.tour-shift {
  background: linear-gradient(135deg, #0c4a6e, #0e7490);
  color: #fff;
  border-radius: 12px;
  padding: 14px 18px;
  display: flex; justify-content: space-between; align-items: center;
  margin-bottom: 14px;
  flex-wrap: wrap;
  gap: 12px;
}
.tour-shift-eyebrow {
  font-size: 10px; font-weight: 700;
  letter-spacing: 1.4px;
  color: rgba(255, 255, 255, 0.72);
}
.tour-shift-line {
  font-size: 14px; font-weight: 700;
  margin-top: 2px; letter-spacing: -0.005em;
}
.tour-shift-cta {
  background: rgba(255, 255, 255, 0.20);
  color: #fff; border: 0;
  padding: 8px 16px; border-radius: 8px;
  font-size: 12px; font-weight: 600; cursor: default;
}

.tour-beds {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 6px;
}
.tour-bed {
  border-radius: 8px;
  padding: 9px 10px 10px;
  color: #fff;
  min-height: 64px;
}
.tour-bed .b-id {
  font-size: 11px; font-weight: 800;
  letter-spacing: 0.4px;
  opacity: 0.95;
}
.tour-bed .b-name {
  font-size: 12.5px; font-weight: 700;
  margin-top: 2px; letter-spacing: -0.005em;
}
.tour-bed .b-note {
  font-size: 10.5px; opacity: 0.85;
  margin-top: 2px;
  min-height: 12px;
}
.b-stable   { background: linear-gradient(135deg, #16a34a, #22c55e); }
.b-watch    { background: linear-gradient(135deg, #d97706, #f59e0b); }
.b-critical { background: linear-gradient(135deg, #dc2626, #ef4444); }
.b-free     { background: #e2e8f0; color: var(--muted); border: 1px dashed #cbd5e1; }
.b-free .b-id { color: var(--muted); }

@media (max-width: 1080px) {
  .tour-beds { grid-template-columns: repeat(4, 1fr); }
  .tour-grid-4 { grid-template-columns: 1fr 1fr; }
  .tour-grid-2 { grid-template-columns: 1fr; }
  .tour-dash .tour-mock-body { grid-template-columns: 90px 1fr; }
  .tour-side-link { font-size: 11px; padding: 6px 8px; }
}
@media (max-width: 640px) {
  .tour-beds { grid-template-columns: repeat(3, 1fr); }
  .tour-grid-4 { grid-template-columns: 1fr 1fr; }
  .tour-dash .tour-mock-body { grid-template-columns: 1fr; }
  .tour-sidebar { display: none; }
}

/* ---- Showcase 3 — Billing & claims ---- */
.tour-bill-body { padding: 18px; background: #f8fafc; }
.tour-bill-ribbon {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 10px;
  margin-bottom: 14px;
}
.tour-rib-card {
  background: #fff;
  border: 1px solid rgba(15, 23, 42, 0.06);
  border-left: 3px solid #0d9488;
  border-radius: 8px;
  padding: 11px 13px;
}
.tour-rib-card:nth-child(2) { border-left-color: #16a34a; }
.tour-rib-card:nth-child(3) { border-left-color: #dc2626; }
.tour-rib-card:nth-child(4) { border-left-color: #2563eb; }
.tour-rib-lbl {
  font-size: 9.5px; letter-spacing: 0.8px; font-weight: 700;
  color: var(--muted); text-transform: uppercase;
}
.tour-rib-num {
  font-size: 19px; font-weight: 800; letter-spacing: -0.018em;
  color: var(--ink); margin-top: 2px;
  font-variant-numeric: tabular-nums;
}
.tour-rib-foot {
  font-size: 10.5px; color: var(--muted);
  margin-top: 2px;
}
.tour-rib-up   { color: #15803d; font-weight: 600; }
.tour-rib-down { color: #b91c1c; font-weight: 600; }

.tour-bill-table {
  background: #fff;
  border: 1px solid rgba(15, 23, 42, 0.06);
  border-radius: 8px;
  overflow: hidden;
}
.tour-bill-thead,
.tour-bill-row {
  display: grid;
  grid-template-columns: 76px 1.4fr 88px 90px 96px;
  gap: 10px;
  padding: 10px 14px;
  align-items: center;
}
.tour-bill-thead {
  background: #f4f4f5;
  font-size: 10.5px; font-weight: 700;
  color: var(--muted); text-transform: uppercase; letter-spacing: 0.5px;
  border-bottom: 1px solid rgba(15, 23, 42, 0.06);
}
.tour-bill-row {
  font-size: 12.5px;
  border-bottom: 1px solid rgba(15, 23, 42, 0.04);
}
.tour-bill-row:last-child { border-bottom: 0; }
.tour-bill-id {
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  color: var(--ink-2); font-weight: 600; font-size: 11.5px;
}
.tour-bill-pt b { color: var(--ink); font-weight: 700; }
.tour-bill-pt span { display: block; color: var(--muted); font-size: 10.5px; margin-top: 1px; }
.tour-bill-amt {
  font-variant-numeric: tabular-nums;
  font-weight: 700; color: var(--ink);
}
.tour-payer {
  display: inline-block; padding: 3px 8px; border-radius: 6px;
  font-size: 10px; font-weight: 700; letter-spacing: 0.4px;
}
.tour-payer-nhis    { background: rgba(13, 148, 136, 0.12); color: #0d6e64; }
.tour-payer-glico   { background: rgba(217, 119, 6, 0.12);  color: #b45309; }
.tour-payer-acacia  { background: rgba(124, 58, 237, 0.12); color: #6d28d9; }
.tour-payer-allianz { background: rgba(37, 99, 235, 0.12);  color: #1e40af; }
.tour-stat-chip {
  display: inline-block; padding: 3px 9px; border-radius: 999px;
  font-size: 9.5px; font-weight: 700; letter-spacing: 0.6px;
}
.tour-stat-paid { background: rgba(22, 163, 74, 0.12); color: #15803d; }
.tour-stat-sub  { background: rgba(37, 99, 235, 0.12); color: #1e40af; }
.tour-stat-rej  { background: rgba(220, 38, 38, 0.12); color: #b91c1c; }

@media (max-width: 880px) {
  .tour-bill-ribbon { grid-template-columns: 1fr 1fr; }
  .tour-bill-thead,
  .tour-bill-row { grid-template-columns: 60px 1fr 90px; }
  .tour-bill-thead > div:nth-child(4),
  .tour-bill-thead > div:nth-child(5),
  .tour-bill-row > div:nth-child(4),
  .tour-bill-row > div:nth-child(5) { display: none; }
}

/* ---- Security & Trust page ---------------------------------------------- */
/* Public security page styling. Inherits `.legal` layout (privacy.html,
   terms.html, cookies.html) for the wrapper, h1/h2/h3, p/ul, .meta, .toc.
   The classes below add a results table + a changelog list specific to
   the security page. Keep visual weight modest — this is a trust
   document, not a hero section. */

.security-checks {
  width: 100%;
  border-collapse: collapse;
  margin: 1rem 0 1.5rem;
  font-size: 0.95rem;
}
.security-checks thead th {
  text-align: left;
  border-bottom: 2px solid #0c4a6e;
  padding: 0.55rem 0.6rem;
  font-weight: 600;
  color: #0c4a6e;
}
.security-checks tbody td {
  border-bottom: 1px solid #e5e7eb;
  padding: 0.55rem 0.6rem;
  vertical-align: top;
}
.security-checks tbody tr:last-child td {
  border-bottom: none;
}
.security-checks code {
  font-size: 0.85em;
  color: #4b5563;
  background: #f3f4f6;
  padding: 1px 5px;
  border-radius: 3px;
}
.security-grade {
  display: inline-block;
  background: #d1fae5;
  color: #065f46;
  font-weight: 600;
  padding: 2px 8px;
  border-radius: 4px;
  font-size: 0.9em;
  letter-spacing: 0.02em;
}

.security-changelog {
  list-style: none;
  padding: 0;
  margin: 0.5rem 0 1.5rem;
}
.security-changelog li {
  padding: 0.45rem 0;
  border-bottom: 1px dashed #e5e7eb;
  line-height: 1.5;
}
.security-changelog li:last-child {
  border-bottom: none;
}
.security-changelog time {
  display: inline-block;
  min-width: 6.5rem;
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 0.85em;
  color: #6b7280;
  margin-right: 0.4rem;
}

.security-footer-rule {
  border: 0;
  border-top: 1px solid #e5e7eb;
  margin: 2.5rem 0 1rem;
}
.security-footnote {
  font-size: 0.9em;
  color: #4b5563;
  line-height: 1.55;
}

/* ============================================================
 * RESPONSIVE UPLIFT — 2026-05-14
 *
 * Goals:
 *   1. Wider effective container on big monitors (the "looks
 *      centralised on a 27-inch screen" complaint).
 *   2. A real mobile nav (hamburger + drawer). Previously the
 *      desktop nav simply disappeared below 980px with no
 *      replacement, so phones could only see the brand + the two
 *      CTAs.
 *   3. Sensible behaviour at the small-mobile edge (≤ 480px) so
 *      a 360-wide Android phone has tight, scan-able layout.
 *   4. Honour prefers-reduced-motion — animations are decoration,
 *      not signal.
 *   5. Generous tap targets (≥ 44×44 px) on touch surfaces.
 *
 * Everything below extends what's already in this file; nothing
 * above was rewritten so existing pages render identically on
 * desktop today.
 * ============================================================ */

/* ---- Container max-widths bumped wider for modern monitors ---- */
/* The header gets a touch more room since it hosts the nav + CTAs;
 * content sections stay slightly narrower so reading line-length
 * stays comfortable. Padding becomes viewport-fluid so very-small
 * mobile gets ~16 px sides while desktop keeps ~28 px. */
.site-header .wrap { max-width: 1440px; padding: 18px clamp(16px, 3vw, 28px); }
.hero .wrap,
.section .wrap,
.proof-strip .wrap,
.page-hero .wrap,
.cta-banner,
.site-footer .wrap { max-width: 1280px; }
.section,
.proof-strip,
.page-hero,
.site-footer,
.hero { padding-left: clamp(16px, 3vw, 28px); padding-right: clamp(16px, 3vw, 28px); }

/* Touch-friendly tap targets across nav + CTAs */
@media (max-width: 980px) {
  .nav-cta .btn { min-height: 44px; padding: 10px 16px; }
}

/* Small-mobile edge — phones under 480px */
@media (max-width: 480px) {
  .hero { padding: 48px 16px 40px; }
  .hero h1 { font-size: clamp(28px, 9vw, 36px); }
  .hero p.lead { font-size: 16px; }
  .hero-stat-row { gap: 16px; flex-wrap: wrap; }
  .hero-stat .num { font-size: 22px; }
  .section { padding: 56px 16px; }
  .section h2 { font-size: clamp(24px, 6vw, 30px); }
  .section .lead { font-size: 15.5px; }
  .card { padding: 22px 18px; }
  .pricing-card { padding: 26px 22px; }
  .contact-card { padding: 26px 20px; border-radius: 14px; margin-left: 4px; margin-right: 4px; }
  .site-footer .wrap { grid-template-columns: 1fr; gap: 24px; }
  .site-footer { padding: 44px 18px 28px; }
  .brand { font-size: 17px; }
  .brand-mark { width: 32px; height: 32px; font-size: 15px; border-radius: 9px; }
  /* On the smallest phones the Sign-in button is the lowest-priority
   * CTA; collapse it to a smaller form so "Book a demo" stays
   * visually dominant. */
  .nav-cta .btn-ghost { padding: 8px 12px; font-size: 13px; }
}

/* ---- Mobile nav — hamburger button + slide-down drawer ---- */
/* The button + drawer are INJECTED BY site.js so the 14 marketing
 * pages didn't need per-page HTML edits. Both elements are display:
 * none on desktop; the @media query below reveals the button at the
 * same 980px breakpoint where the desktop nav-links are hidden. */
.mobile-nav-toggle {
  display: none;
  margin-left: 8px;
  width: 46px; height: 46px;
  border: 1.5px solid var(--brand);
  border-radius: 11px;
  /* Solid brand-coloured pill — much more visible on a phone than
   * the previous translucent-white-with-grey-border treatment, which
   * disappeared into the white header on bright screens. */
  background: var(--brand);
  color: #fff;
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
  /* flex-direction:column was MISSING in the original — three .bar
   * children of an inline-flex box were laying out horizontally (so
   * the hamburger rendered as three dashes side-by-side, looking
   * like a single underscore on a phone). Stack them vertically
   * here so the classic ☰ silhouette appears. */
  flex-direction: column;
  align-items: center; justify-content: center;
  box-shadow: 0 4px 10px -3px rgba(12, 74, 110, 0.35);
  transition: background-color 0.15s ease, border-color 0.15s ease, transform 0.12s ease;
}
.mobile-nav-toggle:hover { background: var(--brand-2, var(--brand)); }
.mobile-nav-toggle:active { transform: scale(0.96); }
.mobile-nav-toggle:focus-visible {
  outline: 2px solid var(--brand);
  outline-offset: 2px;
}
.mobile-nav-toggle .bar {
  display: block;
  width: 22px; height: 2.5px;
  background: currentColor; border-radius: 2px;
  position: relative;
  transition: transform 0.22s ease, opacity 0.22s ease;
}
.mobile-nav-toggle .bar + .bar { margin-top: 5px; }
.mobile-nav-toggle[aria-expanded="true"] .bar:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}
.mobile-nav-toggle[aria-expanded="true"] .bar:nth-child(2) { opacity: 0; }
.mobile-nav-toggle[aria-expanded="true"] .bar:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

@media (max-width: 980px) {
  .mobile-nav-toggle { display: inline-flex; }
  /* Tighten CTAs so the hamburger has room without wrapping. */
  .nav-cta { gap: 6px; }
  /* Below 600 px collapse the "Sign in" button into the drawer to
   * keep the header from wrapping — only "Book a demo" stays in
   * the header, alongside the hamburger. */
}
@media (max-width: 600px) {
  .site-header .nav-cta .btn-ghost { display: none; }
}

/* Backdrop — covers everything when the drawer is open */
.mobile-nav-backdrop {
  position: fixed; inset: 0;
  background: rgba(15, 23, 42, 0.45);
  z-index: 199;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.22s ease;
}
.mobile-nav-backdrop.open {
  opacity: 1;
  pointer-events: auto;
}

/* Drawer — slides down from below the sticky header */
.mobile-nav-drawer {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 200;
  background: #fff;
  border-bottom: 1px solid var(--line);
  box-shadow: 0 20px 50px -10px rgba(15, 23, 42, 0.18);
  transform: translateY(-110%);
  transition: transform 0.26s cubic-bezier(0.22, 0.61, 0.36, 1);
  max-height: 100vh;
  overflow-y: auto;
  padding: 16px clamp(16px, 3vw, 24px) 22px;
  /* Account for iOS Safari notches / dynamic island */
  padding-top: max(16px, env(safe-area-inset-top));
}
.mobile-nav-drawer.open { transform: translateY(0); }
.mobile-nav-drawer-head {
  display: flex; justify-content: space-between; align-items: center;
  margin-bottom: 14px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--line);
}
.mobile-nav-drawer-head .brand { font-size: 19px; }
.mobile-nav-drawer-head .brand-mark { width: 34px; height: 34px; font-size: 16px; border-radius: 9px; }
.mobile-nav-drawer-close {
  width: 40px; height: 40px;
  display: inline-flex; align-items: center; justify-content: center;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: #fff; color: var(--ink-2);
  cursor: pointer;
  font-size: 22px; line-height: 1;
}
.mobile-nav-drawer-close:hover { background: #f1f5f9; }
.mobile-nav-drawer-close:focus-visible {
  outline: 2px solid var(--brand);
  outline-offset: 2px;
}
.mobile-nav-drawer .nav-links {
  display: flex; flex-direction: column;
  gap: 2px;
  margin: 0 0 16px;
}
.mobile-nav-drawer .nav-links a {
  display: block;
  padding: 13px 14px;
  font-size: 15.5px; font-weight: 600;
  color: var(--ink);
  border-radius: 10px;
  white-space: nowrap;
  /* Disable the desktop underline-on-hover animation in the drawer */
}
.mobile-nav-drawer .nav-links a::after { display: none; }
.mobile-nav-drawer .nav-links a:hover,
.mobile-nav-drawer .nav-links a.active {
  background: rgba(12, 74, 110, 0.07);
  color: var(--brand);
  text-decoration: none;
}
.mobile-nav-drawer .nav-links a:focus-visible {
  outline: 2px solid var(--brand);
  outline-offset: 2px;
}
.mobile-nav-drawer .nav-cta {
  display: flex; flex-direction: column;
  gap: 10px;
  padding-top: 14px;
  border-top: 1px solid var(--line);
  margin: 0;
}
.mobile-nav-drawer .nav-cta .btn {
  width: 100%;
  justify-content: center;
  min-height: 48px;
  padding: 12px 16px;
  font-size: 15px;
}
/* Lock body scroll while the drawer is open */
body.mobile-nav-open {
  overflow: hidden;
}

/* ---- Hero visual hides earlier on tablets so the copy gets full width ---- */
@media (max-width: 760px) {
  .hero-visual { display: none; }
  .hero .wrap { gap: 0; }
}

/* =====================================================================
 * Status page (/status) — operational-health dashboard.
 *
 * Lives here (not as a per-page <style> block) because the apex CSP
 * is `style-src-elem 'self'` — inline <style> tags are forbidden.
 * Every marketing page is expected to draw all its CSS from this file.
 * ===================================================================== */
.status-hero { padding: 60px 28px 36px; background: linear-gradient(135deg,#0c4a6e 0%, #0ea5e9 100%); color: #fff; }
.status-hero .wrap { max-width: 980px; margin: 0 auto; }
.status-hero h1 { color: #fff; margin: 6px 0 0; font-size: 36px; font-weight: 800; letter-spacing: -0.02em; }
.status-hero p { color: rgba(255,255,255,0.85); font-size: 15px; margin: 10px 0 0; }
.status-overall {
  display: inline-flex; align-items: center; gap: 12px;
  padding: 12px 22px; border-radius: 999px;
  background: rgba(255,255,255,0.16); border: 1px solid rgba(255,255,255,0.32);
  font-weight: 700; font-size: 16px; margin-top: 18px;
}
.status-dot { width: 12px; height: 12px; border-radius: 50%; background: #22c55e; box-shadow: 0 0 0 4px rgba(34,197,94,0.25); animation: status-pulse-dot 2.2s ease-in-out infinite; }
.status-overall.degraded     .status-dot { background: #f59e0b; box-shadow: 0 0 0 4px rgba(245,158,11,0.25); }
.status-overall.partial      .status-dot { background: #fb923c; box-shadow: 0 0 0 4px rgba(251,146,60,0.25); }
.status-overall.major        .status-dot { background: #ef4444; box-shadow: 0 0 0 4px rgba(239,68,68,0.25); }
@keyframes status-pulse-dot {
  0%, 100% { transform: scale(1); opacity: 1; }
  50%      { transform: scale(1.18); opacity: 0.55; }
}
.status-section { max-width: 980px; margin: 0 auto; padding: 36px 28px; }
.status-section h2 { font-size: 22px; font-weight: 700; margin: 0 0 16px; }
.component-grid { display: grid; grid-template-columns: 1fr; gap: 10px; }
.component-row {
  background: #fff; border: 1px solid var(--line); border-radius: 12px;
  padding: 16px 20px;
  display: grid; grid-template-columns: 16px 1fr auto auto; gap: 14px; align-items: center;
}
.component-row .cdot { width: 12px; height: 12px; border-radius: 50%; background: #22c55e; }
.component-row.degraded .cdot { background: #f59e0b; }
.component-row.partial  .cdot { background: #fb923c; }
.component-row.major    .cdot { background: #ef4444; }
.component-row .cname { font-weight: 700; }
.component-row .cdesc { color: var(--ink-2); font-size: 13px; margin-top: 2px; }
.component-row .cuptime { font-variant-numeric: tabular-nums; font-weight: 700; color: var(--ink-2); font-size: 14px; }
.component-row .cstatus-label { font-size: 13px; font-weight: 600; color: #15803d; }
.component-row.degraded .cstatus-label { color: #b45309; }
.component-row.partial  .cstatus-label { color: #c2410c; }
.component-row.major    .cstatus-label { color: #b91c1c; }
.incident-card {
  border-left: 4px solid #ef4444; background: #fef2f2;
  padding: 14px 18px; border-radius: 8px; margin-bottom: 10px;
}
.incident-card.maintenance { border-left-color: #0ea5e9; background: #f0f9ff; }
.incident-card.resolved    { border-left-color: #22c55e; background: #f0fdf4; }
.incident-card h3 { font-size: 16px; font-weight: 700; margin: 0 0 4px; }
.incident-card .meta { font-size: 12px; color: var(--muted); margin-bottom: 8px; }
.incident-card .updates { margin-top: 8px; border-top: 1px solid rgba(0,0,0,0.06); padding-top: 8px; font-size: 13px; }
.incident-card .update { margin-bottom: 4px; }
.incident-card .update b { color: var(--ink); font-weight: 700; }
.empty-state {
  padding: 30px; text-align: center; color: var(--ink-2);
  background: #f8fafc; border: 1px dashed var(--line); border-radius: 10px;
}
.empty-state .ico { font-size: 28px; margin-bottom: 6px; }
@media (max-width: 600px) {
  .status-hero h1 { font-size: 26px; }
  .component-row { grid-template-columns: 12px 1fr; }
  .component-row .cuptime, .component-row .cstatus-label { grid-column: 2; padding-left: 0; font-size: 13px; }
}

/* =====================================================================
 * Signup page (/signup) — self-serve trial provisioning.
 * Same CSP rationale as the status page above.
 * ===================================================================== */
.signup-hero { padding: 56px 28px 26px; background: linear-gradient(135deg,#0c4a6e 0%, #0ea5e9 100%); color: #fff; }
.signup-hero .wrap { max-width: 1080px; margin: 0 auto; }
.signup-hero h1 { color: #fff; margin: 6px 0 0; font-size: 34px; font-weight: 800; letter-spacing: -0.02em; }
.signup-hero p { color: rgba(255,255,255,0.85); font-size: 16px; max-width: 640px; margin: 12px 0 0; }
.signup-trust { display: flex; gap: 14px; flex-wrap: wrap; margin-top: 18px; font-size: 13px; color: rgba(255,255,255,0.78); }
.signup-trust b { color: #fff; font-weight: 700; }
.signup-section { max-width: 1080px; margin: 0 auto; padding: 32px 28px 56px; display: grid; grid-template-columns: 1.2fr 1fr; gap: 36px; }
@media (max-width: 880px) { .signup-section { grid-template-columns: 1fr; } }
.signup-form { background: #fff; border: 1px solid var(--line); border-radius: 14px; padding: 26px 28px; box-shadow: 0 12px 32px -16px rgba(15, 23, 42, 0.12); }
.signup-form h2 { font-size: 18px; font-weight: 700; margin: 0 0 18px; }
.signup-row { margin-bottom: 14px; }
.signup-row label { display: block; font-size: 13px; font-weight: 600; margin-bottom: 6px; color: var(--ink); }
.signup-row label small { color: var(--muted); font-weight: 400; }
.signup-row input { width: 100%; padding: 11px 12px; border: 1px solid var(--line); border-radius: 8px; font-size: 14.5px; box-sizing: border-box; }
.signup-row input:focus { outline: 2px solid var(--brand); outline-offset: 2px; border-color: transparent; }
.slug-wrap { display: flex; align-items: stretch; }
.slug-wrap input { border-radius: 8px 0 0 8px; }
.slug-wrap .suffix { background: #f1f5f9; border: 1px solid var(--line); border-left: 0; border-radius: 0 8px 8px 0; padding: 0 14px; display: flex; align-items: center; font-family: ui-monospace, SFMono-Regular, Menlo, monospace; font-size: 13px; color: var(--ink-2); white-space: nowrap; }
.slug-feedback { font-size: 12px; margin-top: 5px; font-weight: 600; min-height: 16px; }
.slug-feedback.ok  { color: #15803d; }
.slug-feedback.bad { color: #b91c1c; }
.slug-feedback.checking { color: var(--muted); }
.signup-cta { display: flex; align-items: center; gap: 14px; margin-top: 8px; }
.signup-cta .btn { flex: 1; justify-content: center; }
.signup-status { font-size: 13px; margin-top: 12px; min-height: 18px; }
.signup-status.err { color: #b91c1c; font-weight: 600; }
.signup-status.ok  { color: #15803d; font-weight: 600; }
.signup-success {
  border: 1px solid #86efac; background: #f0fdf4;
  border-radius: 12px; padding: 22px 24px; font-size: 14.5px;
  line-height: 1.65;
}
.signup-success h3 { color: #15803d; margin: 0 0 8px; font-size: 19px; font-weight: 700; }
.signup-success code { background: #fff; padding: 2px 6px; border-radius: 4px; font-family: ui-monospace, SFMono-Regular, Menlo, monospace; }

/* Yellow warning callout — sits at the top of the success panel and
 * pulls the eye to "save these credentials now". The email is the
 * canonical delivery channel, but in case SMTP is misconfigured,
 * slow, or filtered into spam, the on-screen panel is the safety net.
 * The visitor must see this BEFORE they navigate away. */
.signup-save-warn {
  background: #fef3c7;
  border: 1px solid #fde68a;
  border-left: 4px solid #f59e0b;
  border-radius: 8px;
  padding: 12px 16px;
  margin: 10px 0 18px;
  font-size: 13.5px;
  line-height: 1.55;
  color: #78350f;
}
.signup-save-warn b { color: #78350f; font-weight: 700; }

/* Credentials block — each row is a label + value + copy button.
 * Monospace value, white background, prominent — looks like a thing
 * the visitor needs to KEEP, not a sentence to skim. */
.credentials-box {
  background: #fff;
  border: 1px solid #d1fae5;
  border-radius: 10px;
  padding: 14px 16px;
  margin: 14px 0;
}
.credentials-row {
  display: flex; align-items: center; gap: 10px;
  padding: 6px 0;
  font-size: 14px;
}
.credentials-row + .credentials-row { border-top: 1px solid #ecfdf5; }
.credentials-row .clabel {
  font-weight: 600; color: var(--ink-2);
  min-width: 110px;
}
.credentials-row .cvalue {
  flex: 1;
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 13.5px;
  color: var(--ink);
  word-break: break-all;
  user-select: all;
}
.credentials-row .cvalue a { color: var(--brand); font-weight: 600; }
.credentials-row .copy-btn {
  flex: 0 0 auto;
  background: #f1f5f9; border: 1px solid var(--line);
  border-radius: 6px;
  padding: 4px 10px; font-size: 12px; font-weight: 600;
  color: var(--ink-2);
  cursor: pointer;
  transition: background-color 0.15s, color 0.15s, border-color 0.15s;
}
.credentials-row .copy-btn:hover { background: #e2e8f0; }
.credentials-row .copy-btn.copied { background: #dcfce7; border-color: #86efac; color: #15803d; }
.credentials-row .copy-btn:focus-visible { outline: 2px solid var(--brand); outline-offset: 2px; }
.signup-bullets { padding-left: 22px; color: var(--ink-2); }
.signup-bullets li { margin-bottom: 8px; line-height: 1.6; }
.signup-bullets b { color: var(--ink); font-weight: 700; }
/* Anti-spam — visually hidden, programmatically present. */
.hp-field {
  position: absolute; left: -9999px; width: 1px; height: 1px;
  opacity: 0; pointer-events: none;
}

/* ---- Generic image safety — never overflow a flex/grid cell ---- */
img { max-width: 100%; }

/* ---- Honor prefers-reduced-motion (accessibility) ---- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
    scroll-behavior: auto !important;
  }
}

/* ============================================================
   PRINT STYLESHEET  (procurement evidence pack PDF output)
   ============================================================
   Targets the "Save as PDF" workflow from a browser print dialog.
   Hospital procurement teams print these pages into evidence packs
   for board submissions, so the output must be ink-friendly,
   page-break aware, and free of interactive chrome.
   ============================================================ */
@media print {
  /* Page geometry. A4 with generous margins so headers/footers
     from the browser don't overlap with our content. */
  @page {
    size: A4;
    margin: 18mm 14mm;
  }

  /* Reset to high-contrast print colours. Dark hero backgrounds and
     gradient banners burn ink and look muddy — flatten everything
     to black-on-white with simple borders. */
  html, body {
    background: #ffffff !important;
    color: #111111 !important;
    font-size: 10.5pt;
    line-height: 1.45;
  }

  /* Hide all interactive / navigational chrome. None of this serves
     a printed reader. */
  .site-header,
  .site-footer,
  .cookie-banner,
  .signin-modal-backdrop,
  .signin-modal,
  .nav-links,
  .nav-cta,
  .cta-banner,
  .js-signin-open,
  button.js-signin-open,
  .btn-primary,
  .btn-ghost,
  [data-print-hide],
  noscript {
    display: none !important;
  }

  /* Strip dark hero treatment so heading copy is legible. */
  .page-hero,
  .hero,
  .section.alt,
  .section-alt {
    background: #ffffff !important;
    color: #111111 !important;
    padding: 0 0 8mm 0 !important;
    border-bottom: 1pt solid #444 !important;
    margin-bottom: 6mm !important;
  }
  .page-hero .eyebrow,
  .page-hero .section-eyebrow,
  .section-eyebrow {
    color: #444 !important;
    font-weight: 600;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    font-size: 9pt;
  }
  .page-hero h1, .page-hero h2,
  .hero h1, .hero h2 {
    color: #000 !important;
  }

  /* Section spacing — collapse padding so we fit more per page. */
  .section {
    padding: 4mm 0 !important;
    background: #ffffff !important;
  }
  .wrap {
    max-width: none !important;
    padding: 0 !important;
    margin: 0 !important;
  }

  /* Cards: turn them into bordered blocks rather than shadowed
     elevated tiles. Shadows print as grey smudges. */
  .card,
  .pricing-card,
  .teaser-card,
  .featured {
    background: #ffffff !important;
    box-shadow: none !important;
    border: 0.75pt solid #888 !important;
    page-break-inside: avoid;
    break-inside: avoid;
    padding: 4mm !important;
    margin-bottom: 3mm !important;
    color: #111 !important;
  }
  .card-icon {
    display: none !important; /* Icons are sprite/SVG; rarely useful in print */
  }

  /* Multi-col grids: collapse to single column so each card gets
     its full readable width on paper. */
  .cards,
  .cols-2,
  .cols-3,
  .pricing-cards,
  .pricing-tier {
    display: block !important;
    grid-template-columns: none !important;
    gap: 0 !important;
  }

  /* Headings — keep with their following paragraph so we don't get
     an orphan heading at the bottom of a page. */
  h1, h2, h3, h4 {
    page-break-after: avoid;
    break-after: avoid;
    color: #000 !important;
  }
  h1 { font-size: 20pt; }
  h2 { font-size: 14pt; margin-top: 6mm; }
  h3 { font-size: 11.5pt; margin-top: 4mm; }

  /* Tables — keep rows together where possible. */
  table {
    page-break-inside: auto;
    border-collapse: collapse;
    width: 100%;
  }
  tr { page-break-inside: avoid; break-inside: avoid; }
  th, td {
    border: 0.5pt solid #999 !important;
    padding: 2mm 3mm !important;
    background: #ffffff !important;
    color: #111 !important;
  }
  thead { display: table-header-group; }

  /* Links: keep them inline but add the URL in parens so a printed
     reader can type it. Only for external links — internal anchors
     don't need their hash exposed. */
  a[href^="http"]:after {
    content: " (" attr(href) ")";
    font-size: 8.5pt;
    color: #555;
    word-break: break-all;
  }
  /* Don't append URLs for in-page anchors or telephone/email links. */
  a[href^="#"]:after,
  a[href^="mailto:"]:after,
  a[href^="tel:"]:after {
    content: "";
  }

  /* Avoid awkward page splits inside short blocks. */
  blockquote,
  pre,
  .lead {
    page-break-inside: avoid;
    break-inside: avoid;
  }

  /* Add a small footer note on every printed page so when a
     procurement reader photocopies a single page out of the pack
     they still know where it came from. Uses CSS-generated
     content; will only appear with print engines that support it
     (Chrome and modern Safari do). */
  @page {
    @bottom-center {
      content: "MediCare HIS — medicarehis.com — Printed evidence pack";
      font-size: 8pt;
      color: #777;
    }
  }
}


/* === marketing-contact-pass: cta-banner email link === */
.cta-banner-actions {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 8px;
  margin-left: auto;
}
.cta-banner-email {
  color: #ffffff;
  font-size: 14px;
  font-weight: 600;
  text-decoration: none;
  border-bottom: 1px dashed rgba(255, 255, 255, 0.55);
  padding-bottom: 2px;
  letter-spacing: 0.01em;
  white-space: nowrap;
}
.cta-banner-email:hover {
  border-bottom-style: solid;
  color: #ffffff;
}
.cta-banner-email-light {
  color: #e0f2fe;
  border-bottom-color: rgba(224, 242, 254, 0.55);
}
@media (max-width: 720px) {
  .cta-banner-actions {
    margin-left: 0;
    width: 100%;
    align-items: stretch;
  }
  .cta-banner-actions .btn-lg {
    width: 100%;
    justify-content: center;
  }
  .cta-banner-email {
    text-align: center;
    align-self: center;
  }
}

/* ============================================================================
 * ░░ PREMIUM ENTERPRISE RESKIN (v2) ░░
 * Appended layer — re-skins the v1 components using the same class names
 * (later rules win by cascade order), so every page inherits the new look
 * with no markup churn. New utilities: .dark-canvas, .gradient-text,
 * .section.dark / .section.mesh, .trust-band, .standards, .badge, .reveal.
 * ========================================================================== */

/* ---- Shared wrap width bump ---- */
.section .wrap, .hero .wrap, .proof-strip .wrap, .site-header .wrap,
.site-footer .wrap, .page-hero .wrap { max-width: var(--maxw); }

/* ---- Utilities ---- */
.gradient-text {
  background: var(--grad-brand); -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent; color: var(--cyan);
}
.dark-canvas { background: var(--ink-900); color: var(--on-dark); }
.badge {
  display: inline-flex; align-items: center; gap: 7px;
  padding: 6px 13px 6px 11px; border-radius: var(--r-pill);
  font-size: 12px; font-weight: 650; letter-spacing: .2px;
  background: rgba(14,124,140,.08); color: var(--brand);
  border: 1px solid rgba(14,124,140,.18);
}
.badge::before {
  content: ''; width: 7px; height: 7px; border-radius: 50%;
  background: var(--grad-brand); box-shadow: 0 0 0 3px rgba(34,211,238,.18);
}
.badge.on-dark { background: rgba(255,255,255,.07); color: #bdeaf0; border-color: rgba(255,255,255,.16); }

/* ---- Header — sticky glass with scroll state ---- */
.site-header {
  position: sticky; top: 0; z-index: 60;
  background: rgba(255,255,255,.72);
  -webkit-backdrop-filter: saturate(160%) blur(14px);
  backdrop-filter: saturate(160%) blur(14px);
  border-bottom: 1px solid transparent;
  transition: background var(--t) var(--ease), border-color var(--t) var(--ease), box-shadow var(--t) var(--ease);
}
.site-header.scrolled {
  background: rgba(255,255,255,.9);
  border-bottom-color: var(--line);
  box-shadow: 0 6px 24px -16px rgba(11,20,36,.4);
}
.brand { font-weight: 800; letter-spacing: -.02em; color: var(--ink); gap: 9px; }
.brand-mark {
  display: inline-grid; place-items: center;
  width: 30px; height: 30px; border-radius: 9px;
  background: var(--grad-brand-deep); color: #fff;
  font-weight: 800; box-shadow: var(--glow-brand);
}
.nav-links a { font-weight: 550; color: var(--ink-2); }
.nav-links a:hover { color: var(--ink); }
.nav-links a::after { background: var(--grad-brand); height: 2px; border-radius: 2px; }

/* ---- Buttons — pill, gradient primary, glow ---- */
.btn {
  border-radius: var(--r-pill); font-weight: 640; letter-spacing: -.01em;
  border: 1px solid transparent;
  transition: transform var(--t-fast) var(--ease), box-shadow var(--t) var(--ease),
              background var(--t) var(--ease), border-color var(--t) var(--ease);
}
.btn-primary { background: var(--grad-brand-deep); color: #fff; box-shadow: 0 6px 18px -8px rgba(8,145,178,.6); }
.btn-primary:hover { background: var(--grad-brand-deep); transform: translateY(-1px); box-shadow: var(--glow-brand); }
.btn-ghost { background: var(--surface); color: var(--ink); border-color: var(--line-2); box-shadow: var(--sh-sm); }
.btn-ghost:hover { background: var(--surface-2); border-color: var(--brand); color: var(--brand); }
.btn-accent { background: linear-gradient(135deg, #f59e0b, #f97316); color: #fff; }
.btn-lg { padding: 14px 28px; font-size: 15.5px; border-radius: var(--r-pill); }
.nav-cta .btn-ghost { box-shadow: none; background: transparent; border-color: transparent; color: var(--ink-2); }
.nav-cta .btn-ghost:hover { color: var(--brand); background: rgba(14,124,140,.07); }

/* ---- HERO — dark mesh command-center ---- */
.hero {
  background: var(--ink-900); color: var(--on-dark);
  padding: clamp(92px, 11vw, 156px) 28px clamp(76px, 9vw, 124px);
  border-bottom: 1px solid rgba(255,255,255,.06);
}
.hero::before {
  background:
    var(--mesh),
    linear-gradient(transparent 31px, rgba(255,255,255,.025) 32px),
    linear-gradient(90deg, transparent 31px, rgba(255,255,255,.025) 32px);
  background-size: auto, 32px 32px, 32px 32px;
  opacity: 1;
  -webkit-mask-image: radial-gradient(120% 120% at 50% 0%, #000 55%, transparent 100%);
  mask-image: radial-gradient(120% 120% at 50% 0%, #000 55%, transparent 100%);
}
.hero .wrap { gap: clamp(40px, 6vw, 72px); }
.hero-eyebrow {
  background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.14);
  color: #bdeaf0; backdrop-filter: blur(6px); padding: 7px 14px 7px 12px;
  display: inline-flex; align-items: center; gap: 8px;
}
.hero-eyebrow::before {
  content: ''; width: 7px; height: 7px; border-radius: 50%;
  background: var(--grad-brand); box-shadow: 0 0 12px 1px rgba(34,211,238,.8);
}
.hero h1 { font-size: var(--fs-display); line-height: 1.04; letter-spacing: -.035em; font-weight: 820; }
.hero h1 .accent {
  background: var(--grad-brand); -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent; color: var(--cyan);
}
.hero p.lead { font-size: var(--fs-lead); color: var(--on-dark-2); max-width: 560px; line-height: 1.62; }
.hero-actions .btn-ghost {
  background: rgba(255,255,255,.08); color: #fff; border-color: rgba(255,255,255,.2);
  box-shadow: none; backdrop-filter: blur(6px);
}
.hero-actions .btn-ghost:hover { background: rgba(255,255,255,.16); border-color: rgba(255,255,255,.32); color: #fff; }
.hero-stat-row { border-top-color: rgba(255,255,255,.12); margin-top: 40px; gap: clamp(22px, 4vw, 40px); }
.hero-stat .num {
  font-size: 30px; letter-spacing: -.02em;
  background: var(--grad-brand); -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent; color: var(--cyan);
}
.hero-stat .lbl { color: var(--on-dark-muted); }
.hero-visual {
  background: rgba(255,255,255,.05); border: 1px solid rgba(255,255,255,.14);
  border-radius: var(--r-xl); padding: 12px; position: relative;
  box-shadow: var(--sh-xl), 0 0 0 1px rgba(34,211,238,.12), 0 0 60px -12px rgba(34,211,238,.35);
}
.hero-visual img, .hero-shot { border-radius: 17px; width: 100%; display: block; }
.hero-shot-badge {
  position: absolute; top: 22px; left: 22px;
  display: inline-flex; align-items: center; gap: 7px;
  padding: 6px 12px; border-radius: var(--r-pill);
  background: rgba(7,12,24,.72); color: #eaf1fb; font-size: 12px; font-weight: 600;
  -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px);
  border: 1px solid rgba(255,255,255,.16); box-shadow: var(--sh-md);
}
.hero-shot-dot {
  width: 8px; height: 8px; border-radius: 50%; background: #34d399;
  animation: heroPulse 2s var(--ease) infinite;
}
@keyframes heroPulse {
  0% { box-shadow: 0 0 0 0 rgba(52,211,153,.55); }
  70% { box-shadow: 0 0 0 7px rgba(52,211,153,0); }
  100% { box-shadow: 0 0 0 0 rgba(52,211,153,0); }
}
@media (prefers-reduced-motion: reduce) { .hero-shot-dot { animation: none; } }

/* ---- Product screenshot gallery (real captures) ---- */
.shot-gallery { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; margin-top: 10px; }
.shot {
  margin: 0; border-radius: var(--r-lg); overflow: hidden;
  background: var(--surface); border: 1px solid var(--line); box-shadow: var(--sh-md);
  transition: transform var(--t) var(--ease), box-shadow var(--t) var(--ease), border-color var(--t) var(--ease);
}
.shot:hover { transform: translateY(-5px); box-shadow: var(--sh-lg); border-color: transparent; }
.shot img { display: block; width: 100%; height: auto; border-bottom: 1px solid var(--line); }
.shot figcaption { padding: 14px 16px; font-size: 13.5px; color: var(--ink-2); font-weight: 550; line-height: 1.45; }
@media (max-width: 860px) { .shot-gallery { grid-template-columns: 1fr; max-width: 560px; margin-inline: auto; } }
/* Real screenshot inside the tour browser-chrome frame */
.tour-mock-shot { display: block; width: 100%; height: auto; }

/* Enlarge the hero product shot on desktop — it's the first impression. Give the
   visual column more width than the copy and tighten the gap so it reads bigger. */
@media (min-width: 901px) {
  .hero .wrap { grid-template-columns: 1fr 1.18fr; gap: clamp(26px, 3vw, 50px); align-items: center; }
}

/* Click-to-zoom: product screenshots open in a lightbox */
.hero-shot, .shot img, .tour-mock-shot { cursor: zoom-in; }
.lightbox {
  position: fixed; inset: 0; z-index: 2000;
  background: rgba(4, 7, 14, .84);
  -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px);
  display: none; align-items: center; justify-content: center;
  padding: clamp(14px, 4vw, 56px); cursor: zoom-out;
  opacity: 0; transition: opacity .2s var(--ease);
}
.lightbox.show { display: flex; opacity: 1; }
.lightbox img {
  max-width: min(1500px, 96vw); max-height: 92vh; width: auto; height: auto;
  border-radius: 14px; cursor: default;
  box-shadow: 0 40px 100px -20px rgba(0, 0, 0, .7), 0 0 0 1px rgba(255, 255, 255, .08);
}
.lightbox-close {
  position: absolute; top: clamp(14px, 2vw, 24px); right: clamp(14px, 2vw, 26px);
  width: 42px; height: 42px; border-radius: 50%;
  background: rgba(255, 255, 255, .12); border: 1px solid rgba(255, 255, 255, .22);
  color: #fff; cursor: pointer; display: grid; place-items: center;
  transition: background var(--t-fast) var(--ease);
}
.lightbox-close:hover { background: rgba(255, 255, 255, .24); }
@media (prefers-reduced-motion: reduce) { .lightbox { transition: none; } }

/* ---- Hero device scene — MacBook + iPhone 17 Pro Max (real product) ---- */
.hero-visual.device-scene {
  background: none; border: none; box-shadow: none; padding: 0;
  max-width: 600px; margin-left: auto; overflow: visible;
}

/* ----- MacBook ----- */
.device-scene .laptop { position: relative; z-index: 1; }
.device-scene .laptop-screen {
  position: relative; padding: 9px 10px 10px; border-radius: 17px 17px 4px 4px;
  /* brushed-aluminium lid: metallic edges, near-black face */
  background: linear-gradient(152deg, #34373e 0%, #17191d 14%, #0a0b0e 30%, #08090b 70%, #16181c 87%, #3a3d44 100%);
  box-shadow: inset 0 0 0 1px rgba(255,255,255,.06), 0 30px 42px -22px rgba(0,0,0,.72);
}
.device-scene .laptop-screen::before {            /* camera dot */
  content: ''; position: absolute; top: 4px; left: 50%; transform: translateX(-50%);
  width: 4px; height: 4px; border-radius: 50%;
  background: #14161a; box-shadow: inset 0 0 0 1px rgba(255,255,255,.12);
}
.device-scene .laptop-screen img { display: block; width: 100%; height: auto; border-radius: 3px; }
.device-scene .laptop-base {
  position: relative; height: 16px; margin: 0 -9%;
  background: linear-gradient(180deg, #f2f5f8 0%, #d2d8e0 7%, #b0b7c3 44%, #939aa7 79%, #c6ccd6 95%, #7c8390 100%);
  border-radius: 1px 1px 11px 11px;
  box-shadow: 0 22px 28px -14px rgba(0,0,0,.62);
}
.device-scene .laptop-base::before {              /* hinge shadow line */
  content: ''; position: absolute; top: 0; left: 4%; right: 4%; height: 4px;
  background: linear-gradient(180deg, #0a0c10, #3c4047); border-radius: 0 0 2px 2px;
}
.device-scene .laptop-base::after {               /* front thumb scoop */
  content: ''; position: absolute; top: 4px; left: 50%; transform: translateX(-50%);
  width: 12%; height: 6px; background: linear-gradient(180deg, #888f9c, #b8bec8); border-radius: 0 0 7px 7px;
}

/* ----- iPhone 17 Pro Max ----- */
.device-scene .phone {
  position: absolute; right: -7%; bottom: -15%; width: 27.5%; z-index: 3;
  padding: 5px; border-radius: 30px;
  /* titanium rail */
  background: linear-gradient(145deg, #56575d 0%, #2b2c31 22%, #17181c 50%, #2a2b30 78%, #5c5d63 100%);
  box-shadow: 0 36px 52px -16px rgba(0,0,0,.72), 0 0 0 1px rgba(0,0,0,.55), inset 0 0 0 1px rgba(255,255,255,.13);
}
.device-scene .phone::before {                    /* power button (right) */
  content: ''; position: absolute; right: -2px; top: 31%; width: 2.5px; height: 12%;
  border-radius: 0 2px 2px 0; background: linear-gradient(180deg, #6c6d73, #303136);
}
.device-scene .phone::after {                     /* action + volume buttons (left) */
  content: ''; position: absolute; left: -2px; top: 23%; width: 2.5px; height: 19%;
  border-radius: 2px 0 0 2px;
  background: linear-gradient(180deg, #6c6d73 0%, #404147 18%, #6c6d73 30%, #404147 55%, #6c6d73 70%, #404147 92%);
}
.device-scene .phone-screen {
  position: relative; border-radius: 26px; overflow: hidden;
  aspect-ratio: 552 / 1000; background: #0b1220;
}
.device-scene .phone-screen img { display: block; width: 100%; height: 100%; object-fit: cover; object-position: top center; }
.device-scene .phone-notch {                      /* Dynamic Island */
  position: absolute; top: 3.4%; left: 50%; transform: translateX(-50%); z-index: 4;
  width: 30%; height: 13px; border-radius: 11px; background: #000;
  box-shadow: 0 0 0 1px rgba(255,255,255,.04);
}
.device-scene .laptop-screen img, .device-scene .phone-screen img { cursor: zoom-in; }
.device-scene .hero-shot-badge { top: 16px; left: 18px; z-index: 5; }
@media (max-width: 900px) {
  .hero-visual.device-scene { max-width: 430px; margin: 0 auto; }
}

/* ---- Trust strip (homepage) — refined ---- */
.proof-strip { background: var(--surface); padding: 30px 28px; border-bottom: 1px solid var(--line); }
.proof-label { color: var(--muted); letter-spacing: 1.4px; font-weight: 600; }
.proof-item {
  background: var(--surface); border: 1px solid var(--line-2); color: var(--ink-2);
  box-shadow: var(--sh-sm); transition: transform var(--t) var(--ease), box-shadow var(--t) var(--ease), border-color var(--t) var(--ease);
}
.proof-item:hover { transform: translateY(-2px); box-shadow: var(--sh-md); border-color: var(--brand); }

/* ---- Standards / interoperability band (NEW component) ---- */
.standards { background: var(--surface-2); border-block: 1px solid var(--line); padding: clamp(40px,5vw,64px) 28px; }
.standards .wrap { max-width: var(--maxw); margin: 0 auto; text-align: center; }
.standards .marks {
  display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; margin-top: 22px;
}
.standards .mark {
  display: inline-flex; align-items: center; gap: 9px;
  padding: 11px 18px; border-radius: var(--r-pill);
  background: var(--surface); border: 1px solid var(--line-2);
  font-size: 14px; font-weight: 650; color: var(--ink); box-shadow: var(--sh-sm);
}
.standards .mark svg { width: 17px; height: 17px; color: var(--brand); }
.standards .mark b { color: var(--brand); font-weight: 750; }

/* ---- Sections — rhythm + premium variants ---- */
.section { padding: var(--pad-section) 28px; }
.section.alt { background: var(--bg); }
.section.dark { background: var(--ink-900); color: var(--on-dark); position: relative; overflow: hidden; }
.section.mesh::before {
  content: ''; position: absolute; inset: 0; background: var(--mesh); opacity: .85; pointer-events: none;
}
.section.dark .wrap { position: relative; }
.section.dark h2, .section.dark h3, .section.dark h4 { color: var(--on-dark); }
.section.dark .lead { color: var(--on-dark-2); }
.section.dark .security-footnote { color: var(--on-dark-muted); }
/* White cards that float on a dark section keep their dark text — otherwise the
 * .section.dark h4 rule above turns the card titles light-on-white (invisible). */
.section.dark .security-item h4 { color: var(--ink); }
.section.dark .security-item p { color: var(--ink-2); }
.section-eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 12.5px; font-weight: 700; letter-spacing: .8px; text-transform: uppercase;
  color: var(--brand);
}
.section-eyebrow::before { content: ''; width: 18px; height: 2px; border-radius: 2px; background: var(--grad-brand); }
.section.dark .section-eyebrow { color: #6fe3e9; }
.section h2 { font-size: var(--fs-h2); letter-spacing: -.022em; line-height: 1.1; }
.section .lead { font-size: var(--fs-lead); color: var(--ink-2); line-height: 1.62; }

/* ---- Inner-page hero — refined light w/ teal mesh glow (safe on every page) ---- */
.page-hero {
  background:
    radial-gradient(58rem 22rem at 50% -7rem, rgba(34,211,238,.12), transparent 70%),
    linear-gradient(180deg, #edf6ff 0%, var(--surface) 100%);
  border-bottom: 1px solid var(--line);
  padding: clamp(78px, 8vw, 116px) 28px clamp(44px, 5vw, 68px);
}
.page-hero .section-eyebrow { justify-content: center; }
.page-hero h1 { font-size: var(--fs-h1); letter-spacing: -.03em; }
.page-hero .lead { color: var(--ink-2); }

/* ---- Cards — elevation + tinted hover ---- */
.card { border: 1px solid var(--line); border-radius: var(--r-lg); background: var(--surface); box-shadow: var(--sh-sm); transition: transform var(--t) var(--ease), box-shadow var(--t) var(--ease), border-color var(--t) var(--ease); }
.card:hover { border-color: transparent; transform: translateY(-4px); box-shadow: var(--sh-lg); }
.teaser-card .learn-more { color: var(--brand); }
.teaser-card:hover .learn-more { color: var(--cyan); }

.value-card { border-radius: var(--r-lg); border-color: var(--line); box-shadow: var(--sh-sm); transition: transform var(--t) var(--ease), box-shadow var(--t) var(--ease), border-color var(--t) var(--ease); }
.value-card:hover { transform: translateY(-4px); box-shadow: var(--sh-lg); border-color: transparent; }
.value-icon {
  width: 46px; height: 46px; border-radius: 13px; display: grid; place-items: center;
  color: #fff; background: var(--grad-brand-deep); box-shadow: var(--glow-brand);
}
.value-icon svg { stroke: #fff; }

/* ---- Security grid — premium check chips ---- */
.security-item { border-radius: var(--r-lg); transition: transform var(--t) var(--ease), box-shadow var(--t) var(--ease); }
.security-item:hover { transform: translateY(-3px); box-shadow: var(--sh-lg); }
.security-check {
  background: var(--grad-brand-deep); color: #fff; border-radius: 11px;
  width: 30px; height: 30px; display: grid; place-items: center; font-size: 15px; box-shadow: var(--glow-brand);
}

/* ---- Outcomes — gradient stat ---- */
.outcome-card { border-radius: var(--r-lg); }
.outcome-stat {
  background: var(--grad-brand); -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent; color: var(--brand); font-weight: 800;
}

/* ---- Pricing — premium featured plan ---- */
.pricing-card { border-radius: var(--r-xl); box-shadow: var(--sh-md); transition: transform var(--t) var(--ease), box-shadow var(--t) var(--ease); }
.pricing-card:hover { transform: translateY(-4px); box-shadow: var(--sh-lg); }
.pricing-card.featured { border: 1px solid transparent; background:
  linear-gradient(var(--surface), var(--surface)) padding-box,
  var(--grad-brand) border-box; box-shadow: var(--sh-lg); }
.pricing-card.featured::before { background: var(--grad-brand-deep); }
.pricing-price { letter-spacing: -.02em; }

/* ---- CTA banner — dark mesh ---- */
.cta-banner {
  background: var(--ink-900); border: 1px solid rgba(255,255,255,.1);
  border-radius: var(--r-xl); padding: clamp(32px,4vw,52px); position: relative; overflow: hidden;
  box-shadow: var(--sh-lg);
}
.cta-banner::before { content: ''; position: absolute; inset: 0; background: var(--mesh); opacity: .8; pointer-events: none; }
.cta-banner > * { position: relative; }
.cta-banner h2 { color: #fff; font-size: clamp(1.5rem, 1rem + 2vw, 2.1rem); letter-spacing: -.02em; }
.cta-banner .lead { color: var(--on-dark-2); }
.cta-banner-email-light, .cta-banner .cta-banner-email { color: var(--on-dark-2); }

/* ---- Footer — deep premium ---- */
.site-footer { background: var(--ink-950); border-top: 1px solid rgba(255,255,255,.06); }
.site-footer .footer-brand { letter-spacing: -.02em; }
.site-footer a { transition: color var(--t-fast) var(--ease); }

/* ---- Scroll reveal (gated on .reveal-ready added by site.js) ---- */
.reveal-ready .reveal { opacity: 0; transform: translateY(20px); transition: opacity .6s var(--ease-out), transform .6s var(--ease-out); will-change: opacity, transform; }
.reveal-ready .reveal.in { opacity: 1; transform: none; }
.reveal-ready .reveal.d1 { transition-delay: .06s; }
.reveal-ready .reveal.d2 { transition-delay: .12s; }
.reveal-ready .reveal.d3 { transition-delay: .18s; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal-ready .reveal { opacity: 1 !important; transform: none !important; transition: none !important; }
  .btn:hover, .card:hover, .value-card:hover, .security-item:hover,
  .outcome-card:hover, .pricing-card:hover, .proof-item:hover { transform: none !important; }
}

/* ---- Responsive ---- */
@media (max-width: 900px) {
  .hero::before { -webkit-mask-image: none; mask-image: none; }
  .standards .marks { gap: 9px; }
}
@media (max-width: 760px) {
  /* Let the hero copy column shrink to the viewport. Grid/flex children default
   * to min-width:auto, so the 4-stat row's min-content was pushing the column
   * wider than the phone and clipping the headline off the right edge. */
  .hero .wrap, .hero-copy { min-width: 0; }
  .hero h1 { font-size: clamp(1.9rem, 1rem + 4.4vw, 2.7rem); letter-spacing: -.025em; overflow-wrap: break-word; }
  .hero p.lead { max-width: 100%; }
  /* Four stats can't sit in one row on a phone — lay them out 2x2. */
  .hero-stat-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px 22px; border-top: 1px solid rgba(255,255,255,.12); }
}



