/* ============================================================================
   OmniAI.health — editorial design system
   Art direction: quiet confidence, generous whitespace,
   restrained color, paper-feel surfaces. Class API preserved.
   ========================================================================== */

:root {
  /* Brand */
  --brand-primary:      #0A6847;
  --brand-primary-700:  #074E36;
  --brand-primary-300:  #2C8A66;
  --brand-accent:       #4ECB71;
  --brand-accent-200:   #C5EBD0;
  --brand-secondary:    #0E1A2A;
  --brand-warm:         #B0863A;
  --brand-warm-100:     #F1E6C9;

  /* Ink */
  --ink:                #181613;
  --ink-2:              #4A4F58;
  --ink-3:              #7A8390;

  /* Surface */
  --bg:                 #FFFBEF;
  --bg-2:               #FAF5E4;
  --surface:            #F3EFDD;
  --surface-2:          #FFFFFF;
  --border:             #E4DEC8;
  --border-strong:      #C9C1A6;

  --text:               var(--ink);
  --text-2:             var(--ink-2);
  --text-on-dark:       #E9E4D3;

  /* Status */
  --success:            #0A6847;
  --alert:              #B07A20;
  --danger:             #B0392C;

  /* Type */
  --font-serif: "Segoe UI", "Segoe UI Variable", -apple-system, BlinkMacSystemFont, "Helvetica Neue", Helvetica, Arial, sans-serif;
  --font-sans:  "Segoe UI", "Segoe UI Variable", -apple-system, BlinkMacSystemFont, "Helvetica Neue", Helvetica, Arial, sans-serif;

  /* Layout */
  --container: 1200px;
  --container-tight: 980px;
  --radius-sm: 6px;
  --radius: 10px;
  --radius-lg: 18px;

  --shadow-sm: 0 1px 1px rgba(20,18,10,.04), 0 2px 4px rgba(20,18,10,.04);
  --shadow:    0 4px 14px rgba(20,18,10,.06), 0 14px 38px rgba(20,18,10,.07);
  --shadow-lg: 0 30px 70px rgba(20,18,10,.16);

  --grad-brand: linear-gradient(135deg, #0A6847 0%, #2C8A66 70%, #4ECB71 100%);
  --grad-soft:  linear-gradient(180deg, #FAF5E4 0%, #FFFBEF 100%);
  --grad-dark:  linear-gradient(135deg, #0E1A2A 0%, #0A4632 120%);
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--font-sans);
  font-size: 16.5px;
  line-height: 1.65;
  color: var(--text);
  background-color: var(--bg);
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 200 200'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='2' stitchTiles='stitch'/><feColorMatrix values='0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0.16 0'/></filter><rect width='100%25' height='100%25' filter='url(%23n)'/></svg>");
  background-repeat: repeat;
  background-size: 220px 220px;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img, svg, video { max-width: 100%; display: block; }
::selection { background: var(--brand-accent-200); color: var(--brand-primary-700); }

a { color: var(--brand-primary); text-decoration: none; transition: color .2s; }
a:hover { color: var(--brand-primary-700); }

/* ---------- Typography ---------- */
h1, h2, h3, h4 {
  font-family: var(--font-sans);
  color: var(--ink);
  line-height: 1.12;
  letter-spacing: -0.02em;
  margin: 0 0 .55em;
  font-weight: 600;
}
h1 { font-size: clamp(2.4rem, 4.8vw, 4.2rem); letter-spacing: -0.035em; font-weight: 700; }
h2 { font-size: clamp(1.85rem, 3.2vw, 2.7rem); letter-spacing: -0.028em; font-weight: 600; }
h3 {
  font-size: 1.22rem; line-height: 1.3; letter-spacing: -0.012em;
  font-weight: 600; font-family: var(--font-sans); color: var(--ink);
}
h4 { font-size: .98rem; }
h1 em, h2 em, .lead em { font-style: italic; font-weight: inherit; color: var(--brand-primary); }
p  { margin: 0 0 1em; color: var(--ink-2); }
ul { padding-left: 1.1em; }
hr { border: 0; border-top: 1px solid var(--border); margin: 3rem 0; }
strong { color: var(--ink); font-weight: 600; }

/* ---------- Layout ---------- */
.container { max-width: var(--container); margin: 0 auto; padding: 0 24px; }
.container-tight { max-width: var(--container-tight); margin: 0 auto; padding: 0 24px; }
.section { padding: clamp(72px, 9vw, 130px) 0; position: relative; }
.section-tight { padding: clamp(48px, 6vw, 88px) 0; }
.section-alt { background: var(--surface); }
.section-soft { background: var(--grad-soft); }
.section-dark { background: var(--grad-dark); color: var(--text-on-dark); }
.section-dark h1, .section-dark h2, .section-dark h3, .section-dark h4 { color: #fff; }
.section-dark p, .section-dark .lead { color: #C9D3DA; }
.section-dark a { color: var(--brand-accent); }

/* Eyebrow: editorial kicker with leading rule */
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-family: var(--font-sans);
  font-size: .72rem;
  font-weight: 600;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: var(--brand-primary);
  background: transparent;
  padding: 0;
  border-radius: 0;
  margin-bottom: 22px;
}
.eyebrow::before {
  content: "";
  display: inline-block;
  width: 28px; height: 1px;
  background: var(--brand-primary);
}
.section-dark .eyebrow { color: #9FE9B4; }
.section-dark .eyebrow::before { background: #9FE9B4; }

.lead {
  font-family: var(--font-sans);
  font-size: clamp(1.1rem, 1.5vw, 1.32rem);
  line-height: 1.55;
  color: var(--ink-2);
  max-width: 760px;
  font-weight: 400;
  letter-spacing: -0.005em;
}
.center { text-align: center; }
.center .lead { margin-left: auto; margin-right: auto; }
.center .eyebrow { justify-content: center; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 14px 22px;
  font-family: var(--font-sans);
  font-weight: 500; font-size: .95rem; letter-spacing: -0.005em;
  border-radius: 999px;
  border: 1px solid transparent;
  background: transparent;
  color: var(--ink);
  cursor: pointer;
  transition: transform .2s ease, background .2s, color .2s, border-color .2s, box-shadow .25s;
}
.btn:hover { transform: translateY(-1px); }
.btn-primary {
  background: var(--brand-primary); color: #fff; border-color: var(--brand-primary);
  box-shadow: 0 6px 18px rgba(10,104,71,.20);
}
.btn-primary:hover { background: var(--brand-primary-700); border-color: var(--brand-primary-700); color: #fff; box-shadow: 0 12px 28px rgba(10,104,71,.28); }
.btn-secondary { border-color: var(--ink); color: var(--ink); }
.btn-secondary:hover { background: var(--ink); color: #fff; }
.btn-ghost { border-color: var(--border-strong); color: var(--ink); }
.btn-ghost:hover { border-color: var(--brand-primary); color: var(--brand-primary); }
.btn-light { background: #fff; color: var(--brand-secondary); border-color: #fff; }
.btn-light:hover { background: var(--brand-warm-100); border-color: var(--brand-warm-100); }
.btn-lg { padding: 17px 28px; font-size: 1rem; }

/* ---------- Header / Nav ---------- */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(255,251,239,.78);
  backdrop-filter: saturate(160%) blur(16px);
  -webkit-backdrop-filter: saturate(160%) blur(16px);
  border-bottom: 1px solid rgba(226,220,200,.55);
}
.nav {
  display: flex; align-items: center; justify-content: space-between;
  height: 78px;
}
.brand { display: flex; align-items: center; gap: 12px; font-weight: 700; color: var(--ink); letter-spacing: -.015em; }
.brand img { width: 32px; height: 32px; }
.brand .brand-name { font-family: var(--font-sans); font-weight: 700; font-size: 1.1rem; letter-spacing: -.02em; }
.brand .brand-name .ai { color: var(--brand-primary); font-style: normal; }
.brand .brand-tld { color: var(--ink-3); font-family: var(--font-sans); font-weight: 400; font-size: .85rem; }

.nav-links { display: flex; align-items: center; gap: 2px; list-style: none; padding: 0; margin: 0; }
.nav-links a {
  position: relative;
  color: var(--ink-2); font-weight: 500; font-size: .93rem;
  padding: 10px 14px; border-radius: 6px;
  transition: color .15s;
}
.nav-links a::after {
  content: "";
  position: absolute; left: 14px; right: 14px; bottom: 4px;
  height: 1px; background: var(--brand-primary);
  transform: scaleX(0); transform-origin: left;
  transition: transform .25s ease;
}
.nav-links a:hover { color: var(--brand-primary); background: transparent; }
.nav-links a:hover::after { transform: scaleX(1); }
.nav-links a.active { color: var(--brand-primary); }
.nav-links a.active::after { transform: scaleX(1); }
.nav-cta { margin-left: 12px; }
.nav-cta a::after { display: none; }

.nav-toggle {
  display: none; background: none; border: 0; cursor: pointer;
  width: 42px; height: 42px; border-radius: 8px;
}
.nav-toggle span {
  display: block; width: 22px; height: 1.5px; background: var(--ink); margin: 5px auto;
  transition: transform .25s, opacity .2s;
}

@media (max-width: 980px) {
  .nav-toggle { display: block; }
  .nav-links {
    position: absolute; top: 78px; left: 0; right: 0;
    background: var(--bg); border-bottom: 1px solid var(--border);
    flex-direction: column; gap: 0; padding: 14px 16px;
    transform: translateY(-12px); opacity: 0; pointer-events: none;
    transition: transform .2s ease, opacity .2s ease;
  }
  .nav-links a { width: 100%; padding: 14px 12px; border-bottom: 1px solid var(--surface); }
  .nav-links a::after { display: none; }
  .nav-cta { margin: 8px 0 4px; width: 100%; justify-content: center; }
  .site-header.open .nav-links { transform: translateY(0); opacity: 1; pointer-events: auto; }
  .site-header.open .nav-toggle span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
  .site-header.open .nav-toggle span:nth-child(2) { opacity: 0; }
  .site-header.open .nav-toggle span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
}

/* ---------- Hero ---------- */
.hero {
  position: relative; overflow: hidden;
  padding: clamp(72px, 10vw, 140px) 0 clamp(60px, 8vw, 100px);
}
.hero::before {
  content: "";
  position: absolute; inset: 0;
  background:
    radial-gradient(1200px 700px at 95% -20%, rgba(78,203,113,.16), transparent 55%),
    radial-gradient(900px 500px at -5% 110%, rgba(10,104,71,.07), transparent 60%);
  pointer-events: none;
}
.hero > * { position: relative; }
.hero h1 { max-width: 16ch; }
.hero .lead { margin-bottom: 32px; max-width: 540px; }
.hero-actions { display: flex; gap: 12px; flex-wrap: wrap; align-items: center; }
.hero-grid { display: grid; grid-template-columns: 1.1fr .95fr; gap: clamp(28px, 5vw, 70px); align-items: center; }

.hero-visual {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: var(--grad-dark);
  aspect-ratio: 16/11;
  box-shadow: var(--shadow-lg);
  border: 1px solid rgba(255,255,255,.06);
}
.hero-visual::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(0,0,0,0) 60%, rgba(0,0,0,.18));
  pointer-events: none;
}
.hero-visual video, .hero-visual img { width: 100%; height: 100%; object-fit: cover; }
.hero-badge {
  position: absolute; top: 16px; left: 16px;
  background: rgba(14,26,42,.78); color:#fff;
  padding: 8px 14px; border-radius: 999px;
  font-size: .76rem; font-weight: 600; letter-spacing: .06em; text-transform: uppercase;
  display: inline-flex; align-items: center; gap: 9px;
  backdrop-filter: blur(8px);
  z-index: 1;
}
.dot {
  width: 7px; height: 7px; border-radius: 50%;
  background: var(--brand-accent);
  box-shadow: 0 0 0 4px rgba(78,203,113,.22);
  animation: pulse 2.2s ease-in-out infinite;
}
@keyframes pulse {
  0%, 100% { box-shadow: 0 0 0 4px rgba(78,203,113,.22); }
  50%      { box-shadow: 0 0 0 9px rgba(78,203,113,.04); }
}
@media (max-width: 900px) { .hero-grid { grid-template-columns: 1fr; } }

/* ---------- Stats bar (editorial big-number row) ---------- */
.stats-bar {
  display: grid; grid-template-columns: repeat(4, 1fr);
  gap: 0;
  margin-top: 60px;
  padding: 0;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  background: transparent;
  box-shadow: none;
  border-radius: 0;
}
.stat {
  text-align: left;
  padding: 30px 24px;
  border-right: 1px solid var(--border);
  position: relative;
}
.stat:last-child { border-right: none; }
.stat-icon { font-size: 1rem; margin-bottom: 10px; opacity: .55; }
.stat-value {
  display: block;
  font-family: var(--font-sans);
  font-size: clamp(1.7rem, 2.6vw, 2.3rem);
  font-weight: 700;
  color: var(--brand-primary);
  letter-spacing: -.025em;
  line-height: 1;
  margin-bottom: 12px;
}
.stat-label { display: block; font-size: .82rem; color: var(--ink-2); line-height: 1.45; }
@media (max-width: 760px) {
  .stats-bar { grid-template-columns: repeat(2, 1fr); }
  .stat:nth-child(2) { border-right: none; }
  .stat:nth-child(-n+2) { border-bottom: 1px solid var(--border); }
}

/* ---------- Grids ---------- */
.grid { display: grid; gap: 28px; }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }
@media (max-width: 900px) { .grid-3, .grid-4 { grid-template-columns: 1fr 1fr; } }
@media (max-width: 600px) { .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; } }

/* ---------- Cards (paper feel) ---------- */
.card {
  background: var(--surface-2);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 32px;
  box-shadow: var(--shadow-sm);
  transition: transform .25s ease, box-shadow .25s ease, border-color .2s;
}
.card:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow);
  border-color: var(--border-strong);
}
.card .num {
  display: inline-block;
  font-family: var(--font-sans);
  font-size: 1.5rem; font-weight: 700; font-style: normal;
  color: var(--brand-primary);
  letter-spacing: -.02em;
  margin-bottom: 18px; line-height: 1;
  background: transparent; width: auto; height: auto; border-radius: 0; padding: 0;
}
.card .num::before { content: ""; }
.card h3 { margin-bottom: 10px; }
.card p { margin-bottom: 0; }

.card-glass {
  background: linear-gradient(180deg, rgba(255,255,255,.82), rgba(255,255,255,.62));
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255,255,255,.6);
}

.metric-card { text-align: left; padding: 32px 28px; }
.metric-card .v {
  display: block;
  font-family: var(--font-sans);
  font-size: clamp(2rem, 3vw, 2.8rem);
  font-weight: 700;
  color: var(--brand-primary);
  letter-spacing: -.035em;
  line-height: 1;
  margin-bottom: 14px;
}
.metric-card .l { font-size: .92rem; color: var(--ink-2); line-height: 1.5; }

/* ---------- Team LinkedIn link ---------- */
.team-li {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 18px;
  padding: 0;
  background: none;
  color: var(--brand-primary);
  font-weight: 500;
  font-size: .87rem;
  text-decoration: none;
  border-radius: 0;
  position: relative;
  transition: color .15s;
}
.team-li::after {
  content: "";
  position: absolute; left: 0; right: 0; bottom: -3px;
  height: 1px; background: currentColor; opacity: .35;
  transform: scaleX(0); transform-origin: left;
  transition: transform .25s ease;
}
.team-li:hover { background: none; color: var(--brand-primary-700); }
.team-li:hover::after { transform: scaleX(1); }
.team-li svg { color: #0A66C2; }

/* ---------- Open roles cards ---------- */
.role-card { display: flex; flex-direction: column; }
.role-card h3 { margin: 6px 0 10px; }
.role-card p { color: var(--ink-2); flex: 1; }
.role-meta { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 8px; }
.role-loc, .role-team {
  display: inline-flex; align-items: center;
  font-size: .68rem; font-weight: 600; letter-spacing: .14em; text-transform: uppercase;
  padding: 5px 10px; border-radius: 4px;
}
.role-loc  { background: rgba(10,104,71,.08); color: var(--brand-primary); }
.role-team { background: rgba(14,26,42,.06); color: var(--ink-2); }
.role-card .team-li { align-self: flex-start; }

/* ---------- Role link cards ---------- */
.role-link { display: flex; flex-direction: column; text-decoration: none; color: inherit; }
.role-link h3 { color: var(--ink); }
.role-link p { flex: 1; }
.role-link .role-arrow {
  margin-top: 20px;
  font-weight: 600; color: var(--brand-primary); font-size: .9rem;
  display: inline-flex; align-items: center; gap: 6px;
  transition: gap .2s;
}
.role-link:hover .role-arrow { gap: 12px; }
@media (max-width: 1024px) { .role-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px)  { .role-grid { grid-template-columns: 1fr; } }

/* ---------- Problem stats grid ---------- */
.stat-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.stat-grid .card { padding: 30px 26px; }
.stat-grid .big {
  font-family: var(--font-sans);
  font-size: clamp(1.9rem, 3vw, 2.6rem);
  font-weight: 700;
  color: var(--brand-primary);
  letter-spacing: -.03em;
  line-height: 1;
  display: block;
  margin-bottom: 12px;
}
@media (max-width: 900px) { .stat-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 500px) { .stat-grid { grid-template-columns: 1fr; } }

/* ---------- Comparison ---------- */
.compare { display: grid; grid-template-columns: 1fr 1fr; gap: 28px; }
.compare > div {
  padding: 34px;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  background: var(--surface-2);
}
.compare .bad { background: #FBF5F1; border-color: #ECDDD2; }
.compare .good {
  background: linear-gradient(180deg, #F4FAF4, #ECF6EE);
  border-color: var(--brand-accent-200);
}
.compare h3 { font-size: 1.05rem; margin-bottom: 16px; }
.compare ul { list-style: none; padding: 0; margin: 0; }
.compare li {
  padding: 12px 0; border-bottom: 1px solid rgba(0,0,0,.05);
  color: var(--ink); font-size: .94rem;
  display: flex; gap: 12px; align-items: flex-start;
}
.compare li:last-child { border-bottom: 0; }
.compare li::before {
  flex: none;
  display: inline-block;
  margin-top: 2px;
  font-family: var(--font-sans);
  font-weight: 600;
  width: 14px;
}
.compare .bad li::before  { content: "×"; color: var(--danger); font-size: 1.2rem; line-height: 1; }
.compare .good li::before { content: "✓"; color: var(--brand-primary); font-size: .95rem; }
@media (max-width: 760px) { .compare { grid-template-columns: 1fr; } }

/* ---------- Steps (editorial numbered) ---------- */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.step {
  background: var(--surface-2);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 40px 30px 30px;
  position: relative;
  box-shadow: var(--shadow-sm);
  transition: transform .25s ease, box-shadow .25s ease;
}
.step:hover { transform: translateY(-2px); box-shadow: var(--shadow); }
.step .label {
  display:inline-block; font-size:.7rem; font-weight:600; letter-spacing:.18em;
  color: var(--brand-warm); text-transform: uppercase; margin-bottom: 10px;
}
.step .num-circle {
  position: absolute; top: -22px; left: 22px;
  width: auto; height: auto; border-radius: 0;
  background: var(--bg);
  color: var(--brand-primary);
  font-family: var(--font-sans);
  font-size: 2.1rem; font-weight: 700; font-style: normal;
  display: inline-flex; align-items: baseline;
  padding: 0 14px;
  box-shadow: none;
  line-height: 1;
  letter-spacing: -.03em;
}
.step .num-circle::before { content: ""; }
.step h3 { margin-top: 6px; margin-bottom: 12px; }
@media (max-width: 900px) { .steps { grid-template-columns: 1fr; } }

.impact-bar {
  margin-top: 40px;
  padding: 22px 28px;
  background: var(--brand-secondary);
  color: #fff;
  border-radius: var(--radius);
  display: flex; gap: 14px; align-items: center; flex-wrap: wrap;
  font-weight: 400;
  font-size: 1rem;
}
.impact-bar strong { color: var(--brand-accent); font-weight: 600; }

/* ---------- Quote (editorial) ---------- */
.quote {
  text-align: center;
  max-width: 880px; margin: 0 auto;
  font-family: var(--font-sans);
  font-size: clamp(1.4rem, 2.2vw, 1.9rem);
  line-height: 1.4;
  font-weight: 400;
  font-style: italic;
  color: var(--ink);
  letter-spacing: -.015em;
  padding: 0 20px;
}
.quote::before {
  content: "\201C";
  display: block;
  font-size: 4.5rem; line-height: .7;
  color: var(--brand-warm);
  margin-bottom: 18px;
  font-family: Georgia, "Times New Roman", serif;
  font-style: normal;
}
.quote cite {
  display: block;
  margin-top: 28px;
  font-family: var(--font-sans);
  font-size: .78rem;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--ink-3);
  font-style: normal;
  font-weight: 600;
}
.quote cite::before {
  content: ""; display: inline-block;
  width: 28px; height: 1px;
  background: var(--ink-3);
  vertical-align: middle; margin-right: 12px; opacity: .55;
}

/* ---------- Tables ---------- */
.tbl {
  width: 100%;
  border-collapse: separate; border-spacing: 0;
  background: var(--surface-2);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  font-size: .94rem;
}
.tbl th, .tbl td { padding: 16px 20px; text-align: left; border-bottom: 1px solid var(--border); }
.tbl th {
  background: var(--surface); font-weight: 600; color: var(--ink);
  font-size: .72rem; letter-spacing: .14em; text-transform: uppercase;
}
.tbl tr:last-child td { border-bottom: 0; }
.tbl td.num, .tbl th.num {
  text-align: right; font-variant-numeric: tabular-nums;
  color: var(--brand-primary); font-weight: 600;
}
.tbl-wrap { overflow-x: auto; }

/* ---------- Flag mock card ---------- */
.flag {
  display: grid; grid-template-columns: 38px 1fr auto; gap: 14px;
  padding: 18px;
  background: var(--surface-2);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  margin-bottom: 12px;
}
.flag .icon {
  width: 38px; height: 38px; border-radius: 8px;
  background: var(--brand-warm-100); color: var(--brand-warm);
  display:grid; place-items:center; font-size: 1.1rem;
}
.flag.new .icon { background: var(--brand-accent-200); color: var(--brand-primary); }
.flag .title { font-weight: 600; color: var(--ink); margin-bottom: 4px; font-size: .96rem; }
.flag .desc { font-size: .88rem; color: var(--ink-2); }
.flag .impact { font-size: .8rem; color: var(--brand-primary); font-weight: 600; align-self: center; text-align: right; font-variant-numeric: tabular-nums; }

/* ---------- FAQ ---------- */
.faq details {
  background: var(--surface-2);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 22px 26px;
  margin-bottom: 12px;
  transition: border-color .2s, box-shadow .2s;
}
.faq details[open] { border-color: var(--brand-primary-300); box-shadow: var(--shadow-sm); }
.faq summary {
  list-style: none; cursor: pointer;
  font-weight: 500; color: var(--ink);
  display: flex; justify-content: space-between; align-items: center; gap: 14px;
  font-size: 1.02rem;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "+"; font-size: 1.5rem; line-height: 1;
  color: var(--brand-primary); transition: transform .25s;
  font-weight: 300;
}
.faq details[open] summary::after { content: "−"; }
.faq .answer { color: var(--ink-2); margin-top: 14px; line-height: 1.65; }

/* ---------- Trust badges ---------- */
.badges { display: flex; flex-wrap: wrap; gap: 12px; }
.badge {
  display: inline-flex; align-items: center; gap: 9px;
  padding: 11px 16px;
  background: var(--surface-2);
  border: 1px solid var(--border);
  border-radius: 999px;
  font-size: .82rem; font-weight: 500; color: var(--ink);
}
.badge .b-i { color: var(--brand-primary); }

/* ---------- Form ---------- */
.form { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.form .full { grid-column: 1 / -1; }
.form label {
  display:block;
  font-size: .72rem; font-weight: 600;
  letter-spacing: .14em; text-transform: uppercase;
  color: var(--ink-2); margin-bottom: 8px;
}
.form input, .form select, .form textarea {
  width: 100%; padding: 14px 16px;
  font-family: inherit; font-size: .96rem;
  background: var(--surface-2);
  border: 1px solid var(--border);
  border-radius: 8px;
  color: var(--ink);
  transition: border-color .15s, box-shadow .15s, background .15s;
}
.form input:focus, .form select:focus, .form textarea:focus {
  outline: none;
  border-color: var(--brand-primary);
  box-shadow: 0 0 0 4px rgba(10,104,71,.10);
  background: #fff;
}
.form textarea { min-height: 130px; resize: vertical; }
@media (max-width: 640px) { .form { grid-template-columns: 1fr; } }

/* ---------- CTA section ---------- */
.cta-section {
  background: var(--grad-dark);
  color: #fff;
  padding: clamp(72px, 9vw, 120px) 0;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.cta-section::before {
  content: "";
  position: absolute; inset: 0;
  background: radial-gradient(700px 400px at 50% 0%, rgba(78,203,113,.18), transparent 60%);
}
.cta-section > * { position: relative; }
.cta-section h2 { color: #fff; max-width: 22ch; margin-left: auto; margin-right: auto; }
.cta-section p { color: #C9D3DA; max-width: 640px; margin-left:auto; margin-right:auto; }
.cta-section .eyebrow { color: #9FE9B4; }
.cta-section .eyebrow::before { background: #9FE9B4; }
.cta-section .hero-actions { justify-content: center; }

/* ---------- Footer ---------- */
.site-footer {
  background: var(--brand-secondary);
  color: #98A4B5;
  padding: 80px 0 28px;
}
.site-footer h4 {
  color: #fff;
  font-family: var(--font-sans);
  font-size: .72rem;
  letter-spacing: .18em;
  text-transform: uppercase;
  margin-bottom: 18px;
  font-weight: 600;
}
.site-footer a { color: #C0C9D7; transition: color .15s; }
.site-footer a:hover { color: #fff; }
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr repeat(4, 1fr);
  gap: 40px;
  margin-bottom: 50px;
}
.footer-grid ul { list-style: none; padding: 0; margin: 0; }
.footer-grid li { margin-bottom: 10px; font-size: .9rem; }
.footer-brand { display: flex; align-items: center; gap: 12px; margin-bottom: 16px; }
.footer-brand img { width: 32px; }
.footer-brand .brand-name { color: #fff; font-family: var(--font-sans); font-weight: 700; font-size: 1.1rem; }
.footer-brand .brand-name .ai { color: var(--brand-accent); font-style: normal; }
.footer-tag { font-size: .9rem; max-width: 280px; color: #8694A8; line-height: 1.6; }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,.08);
  padding-top: 24px;
  display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px;
  font-size: .8rem; color: #7B889C;
}
.footer-bottom .legal a { margin-left: 18px; }
@media (max-width: 900px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .footer-grid { grid-template-columns: 1fr; } }

/* ---------- Page hero (sub pages) ---------- */
.page-hero {
  padding: clamp(80px, 10vw, 130px) 0 clamp(48px, 6vw, 80px);
  position: relative; overflow: hidden;
}
.page-hero::before {
  content: "";
  position: absolute; inset: 0;
  background: radial-gradient(900px 500px at 85% -20%, rgba(78,203,113,.13), transparent 55%);
  pointer-events: none;
}
.page-hero > * { position: relative; }
.page-hero h1 { max-width: 22ch; }

/* ---------- EHR Sidebar mock ---------- */
.mock {
  background: #0E1A2A;
  border-radius: var(--radius-lg);
  padding: 20px;
  box-shadow: var(--shadow-lg);
  display: grid; grid-template-columns: 1fr 320px; gap: 14px;
}
.mock-pane { background: #fff; border-radius: 8px; padding: 20px; min-height: 360px; }
.mock-side { background: #F2FBF5; border-radius: 8px; padding: 16px; border: 1px solid var(--brand-accent-200); }
.mock-side h4 { color: var(--brand-primary); font-size: .72rem; letter-spacing:.16em; margin-bottom: 14px; text-transform: uppercase; }
.mock-pane h4 { font-size: .72rem; letter-spacing:.16em; color: var(--ink-3); margin-bottom: 12px; text-transform: uppercase; }
.mock-patient { font-weight: 600; font-size: 1.1rem; }
.mock-meta { font-size: .82rem; color: var(--ink-2); margin-bottom: 16px; }
@media (max-width: 760px) { .mock { grid-template-columns: 1fr; } }

/* ---------- Utility ---------- */
.mt-0 { margin-top: 0; }
.mt-1 { margin-top: 14px; }
.mt-2 { margin-top: 28px; }
.mt-3 { margin-top: 44px; }
.mt-4 { margin-top: 60px; }
.text-center { text-align: center; }
.muted { color: var(--ink-2); }
.small { font-size: .86rem; }
.shield { color: var(--brand-primary); }

/* Animations */
.fade-in {
  opacity: 0;
  transform: translateY(14px);
  transition: opacity .7s cubic-bezier(.2,.7,.3,1), transform .7s cubic-bezier(.2,.7,.3,1);
}
.fade-in.visible { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .fade-in { opacity: 1; transform: none; transition: none; }
  .dot { animation: none; }
}
