/* WorldEHR marketing — design system. No third-party fonts/JS (privacy + speed + CSP-clean). */
:root {
  --navy: #0A1628;
  --navy-2: #12233d;
  --green: #2FAE7E;
  --green-600: #1f9268;
  --cream: #F7F4EC;
  --ink: #0f1b2d;
  --slate: #475569;
  --slate-300: #cbd5e1;
  --line: #e6e1d6;
  --white: #ffffff;
  --radius: 14px;
  --shadow: 0 1px 2px rgba(10,22,40,.06), 0 12px 30px -12px rgba(10,22,40,.18);
  --maxw: 1140px;
  --font: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, "Segoe UI Emoji", sans-serif;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0; font-family: var(--font); color: var(--ink); background: var(--cream);
  line-height: 1.55; -webkit-font-smoothing: antialiased;
}
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
.container { max-width: var(--maxw); margin: 0 auto; padding: 0 24px; }
.eyebrow { color: var(--green-600); font-weight: 700; font-size: 13px; letter-spacing: .08em; text-transform: uppercase; }
h1, h2, h3 { color: var(--navy); line-height: 1.12; margin: 0; letter-spacing: -.02em; }
h1 { font-size: clamp(34px, 5vw, 54px); font-weight: 800; }
h2 { font-size: clamp(26px, 3.4vw, 38px); font-weight: 800; }
h3 { font-size: 19px; font-weight: 700; }
p { margin: 0; }
.lead { font-size: clamp(17px, 2vw, 20px); color: var(--slate); }

/* Buttons */
.btn { display: inline-flex; align-items: center; gap: 8px; font-weight: 700; font-size: 15px;
  padding: 13px 24px; border-radius: 10px; border: 1px solid transparent; cursor: pointer; transition: .15s; }
.btn-primary { background: var(--green); color: #04120c; }
.btn-primary:hover { background: var(--green-600); color: #fff; transform: translateY(-1px); }
.btn-ghost { background: transparent; color: var(--navy); border-color: var(--navy); }
.btn-ghost:hover { background: var(--navy); color: #fff; }
.btn-light { background: #fff; color: var(--navy); }
.btn-light:hover { transform: translateY(-1px); }

/* Nav */
.nav { position: sticky; top: 0; z-index: 50; background: rgba(247,244,236,.82);
  backdrop-filter: saturate(1.2) blur(10px); border-bottom: 1px solid var(--line); }
.nav-in { display: flex; align-items: center; gap: 28px; height: 66px; }
.brand { font-weight: 800; font-size: 20px; color: var(--navy); letter-spacing: -.02em; }
.brand span { color: var(--green-600); }
.nav-links { display: flex; gap: 22px; margin-left: 8px; }
.nav-links a { font-size: 14.5px; color: var(--slate); font-weight: 600; }
.nav-links a:hover { color: var(--navy); }
.nav-cta { margin-left: auto; display: flex; gap: 10px; align-items: center; }
.nav-toggle { display: none; }

/* Hero */
.hero { position: relative; overflow: hidden; background:
  radial-gradient(1200px 500px at 80% -10%, rgba(47,174,126,.14), transparent 60%),
  linear-gradient(180deg, #fff, var(--cream)); border-bottom: 1px solid var(--line); }
.hero-in { padding: 84px 0 72px; }
.hero h1 { max-width: 15ch; }
.hero .lead { max-width: 60ch; margin-top: 18px; }
.hero-cta { display: flex; gap: 12px; margin-top: 30px; flex-wrap: wrap; }
.hero-note { margin-top: 16px; font-size: 13.5px; color: var(--slate); }

/* Trust strip */
.trust { border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); background: #fff; }
.trust-in { padding: 18px 0; display: flex; flex-wrap: wrap; gap: 10px 22px; justify-content: center;
  font-size: 13.5px; color: var(--slate); font-weight: 600; }
.trust-in b { color: var(--navy); }

/* Sections */
.section { padding: 72px 0; }
.section.alt { background: #fff; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.section-head { max-width: 62ch; margin-bottom: 34px; }
.section-head .lead { margin-top: 12px; }

/* Grids + cards */
.grid { display: grid; gap: 20px; }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; box-shadow: var(--shadow); }
.card .ic { width: 40px; height: 40px; border-radius: 10px; display: grid; place-items: center;
  background: rgba(47,174,126,.12); color: var(--green-600); font-weight: 800; margin-bottom: 14px; }
.card h3 { margin-bottom: 6px; }
.card p { color: var(--slate); font-size: 15px; }
.tag { display: inline-block; font-size: 12px; font-weight: 700; color: var(--green-600);
  background: rgba(47,174,126,.12); padding: 3px 10px; border-radius: 999px; margin-bottom: 12px; }

/* CTA band */
.cta { background: linear-gradient(120deg, var(--navy), var(--navy-2)); color: #fff; border-radius: 20px;
  padding: 48px; display: flex; align-items: center; justify-content: space-between; gap: 24px; flex-wrap: wrap; }
.cta h2 { color: #fff; max-width: 20ch; }
.cta p { color: #c7d2e0; margin-top: 8px; }

/* Footer */
.footer { background: var(--navy); color: #b9c4d4; padding: 46px 0 30px; }
.footer a { color: #cdd6e2; font-size: 14px; }
.footer a:hover { color: #fff; }
.footer-top { display: flex; justify-content: space-between; gap: 30px; flex-wrap: wrap; }
.footer-cols { display: flex; gap: 54px; flex-wrap: wrap; }
.footer-col h4 { color: #fff; font-size: 13px; text-transform: uppercase; letter-spacing: .06em; margin: 0 0 12px; }
.footer-col a { display: block; margin-bottom: 8px; }
.footer-bottom { border-top: 1px solid #1e3350; margin-top: 30px; padding-top: 18px; font-size: 13px; color: #8798ad; }

/* Disclaimer note */
.note { font-size: 13px; color: var(--slate); background: #fff; border: 1px dashed var(--line);
  border-radius: 12px; padding: 14px 16px; }

/* Responsive */
@media (max-width: 900px) {
  .grid-3 { grid-template-columns: 1fr; }
  .grid-2 { grid-template-columns: 1fr; }
  .nav-links { display: none; }
  .cta { padding: 32px; }
}
