/* Record Synergy — marketing site theme
   Brand: Navy #0A2342 · Blue #1268C4 · Teal #2BB6A0 · Inter
   Bold modern healthtech register. Maps cleanly to a WP block theme theme.json. */

:root {
  /* Brand palette */
  --navy: #0A2342;
  --navy-700: #123157;
  --navy-900: #061629;
  --blue: #1268C4;
  --blue-600: #0F58A8;
  --blue-50: #EAF2FC;
  --teal: #2BB6A0;
  --teal-50: #E5F6F2;
  --ink: #0E1116;
  --slate: #4A5568;
  --slate-400: #8A94A6;
  --line: #E5E9F0;
  --paper: #FFFFFF;
  --mist: #F6F8FC;
  --mist-2: #EEF3FA;

  /* Type */
  --font: 'Inter', 'Inter-fallback', system-ui, -apple-system, sans-serif;
  --mono: 'IBM Plex Mono', 'Plex-Mono-fallback', ui-monospace, monospace;

  /* Rhythm */
  --container: 1200px;
  --radius: 16px;
  --radius-sm: 10px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font);
  color: var(--ink);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
  letter-spacing: -0.011em;
  line-height: 1.55;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }

.container { max-width: var(--container); margin: 0 auto; padding: 0 24px; }
.mono { font-family: var(--mono); }
.tabular { font-variant-numeric: tabular-nums; }

/* ---------- Type scale ---------- */
.eyebrow {
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--blue);
  font-weight: 500;
}
h1, h2, h3 { letter-spacing: -0.03em; line-height: 1.05; margin: 0; font-weight: 700; }
.display { font-size: clamp(40px, 6vw, 76px); font-weight: 800; letter-spacing: -0.04em; line-height: 0.98; }
.h2 { font-size: clamp(30px, 4vw, 46px); font-weight: 700; }
.h3 { font-size: clamp(20px, 2vw, 26px); font-weight: 700; }
.lead { font-size: clamp(17px, 1.6vw, 21px); color: var(--slate); line-height: 1.5; }
.muted { color: var(--slate); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  font-weight: 600; font-size: 15px;
  padding: 12px 20px; border-radius: 999px;
  border: 1px solid transparent; cursor: pointer;
  transition: transform .12s ease, background .15s ease, box-shadow .15s ease;
  white-space: nowrap;
}
.btn:active { transform: translateY(1px); }
.btn-primary { background: var(--blue); color: #fff; box-shadow: 0 1px 2px rgba(10,35,66,.12); }
.btn-primary:hover { background: var(--blue-600); box-shadow: 0 6px 20px rgba(18,104,196,.28); }
.btn-dark { background: var(--navy); color: #fff; }
.btn-dark:hover { background: var(--navy-700); }
.btn-ghost { background: transparent; color: var(--navy); border-color: var(--line); }
.btn-ghost:hover { background: var(--mist); border-color: #D2DAE6; }
.btn-light { background: #fff; color: var(--navy); }
.btn-light:hover { box-shadow: 0 8px 24px rgba(0,0,0,.16); }
.btn-lg { padding: 15px 26px; font-size: 16px; }

/* ---------- Nav ---------- */
.nav {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255,255,255,.82); backdrop-filter: saturate(180%) blur(14px);
  border-bottom: 1px solid var(--line);
}
.nav-inner { display: flex; align-items: center; gap: 28px; height: 68px; }
.brand { display: flex; align-items: center; gap: 10px; font-weight: 700; color: var(--navy); font-size: 16px; letter-spacing: -0.02em; }
.brand img { height: 30px; width: 30px; object-fit: contain; }
.nav-links { display: flex; align-items: center; gap: 22px; margin-left: 8px; }
.nav-links a { font-size: 14.5px; color: var(--slate); font-weight: 500; transition: color .12s; }
.nav-links a:hover { color: var(--navy); }
.nav-cta { margin-left: auto; display: flex; align-items: center; gap: 12px; }
.nav-cta .login { font-size: 14.5px; font-weight: 600; color: var(--navy); }
.nav-burger { display: none; }

/* ---------- Sections ---------- */
section { position: relative; }
.section { padding: 96px 0; }
.section-sm { padding: 64px 0; }
.dark { background: var(--navy); color: #fff; }
.dark .lead, .dark .muted { color: #A9B6CC; }
.dark .eyebrow { color: var(--teal); }
.tint { background: var(--mist); }

/* ---------- Hero ---------- */
.hero { padding: 64px 0 0; overflow: hidden; }
.hero-grid { display: grid; grid-template-columns: 1.05fr 1fr; gap: 48px; align-items: center; }
.badge-row { display: flex; gap: 10px; flex-wrap: wrap; margin: 22px 0 0; }
.pill {
  display: inline-flex; align-items: center; gap: 7px;
  font-size: 13px; font-weight: 500; color: var(--navy);
  background: #fff; border: 1px solid var(--line); border-radius: 999px;
  padding: 6px 13px;
}
.pill .dot { width: 7px; height: 7px; border-radius: 50%; }

.hero-art {
  position: relative; border-radius: var(--radius);
  background: linear-gradient(135deg, var(--navy) 0%, #143a6b 100%);
  padding: 28px; box-shadow: 0 30px 80px -20px rgba(10,35,66,.5);
}
.hero-art img { border-radius: 10px; box-shadow: 0 12px 40px rgba(0,0,0,.3); }
.hero-art .float {
  position: absolute; background: #fff; border-radius: 12px; padding: 12px 14px;
  box-shadow: 0 16px 40px rgba(10,35,66,.22); display: flex; align-items: center; gap: 10px;
}

/* ---------- Logo cloud ---------- */
.cloud { display: flex; align-items: center; justify-content: center; gap: 44px; flex-wrap: wrap; opacity: .65; }
.cloud span { font-weight: 700; font-size: 19px; color: var(--navy); letter-spacing: -0.02em; }

/* ---------- Feature blocks ---------- */
.feature { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
.feature.flip .feature-text { order: 2; }
.feature-text h2 { margin-bottom: 16px; }
.feature-shot {
  border-radius: var(--radius); border: 1px solid var(--line); overflow: hidden;
  background: var(--mist); box-shadow: 0 24px 60px -24px rgba(10,35,66,.35);
}
.feature-shot img { width: 100%; }
.checklist { list-style: none; padding: 0; margin: 22px 0 0; display: grid; gap: 12px; }
.checklist li { display: flex; gap: 11px; align-items: flex-start; font-size: 15px; color: var(--slate); }
.checklist .ck {
  flex: 0 0 auto; width: 20px; height: 20px; border-radius: 50%;
  background: var(--teal-50); color: var(--teal); display: grid; place-items: center; margin-top: 1px;
}

/* ---------- Cards / grids ---------- */
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 22px; }
.card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 28px; transition: transform .15s ease, box-shadow .15s ease, border-color .15s;
}
.card:hover { transform: translateY(-3px); box-shadow: 0 20px 50px -24px rgba(10,35,66,.3); border-color: #D7E0EE; }
.card .ic {
  width: 46px; height: 46px; border-radius: 12px; display: grid; place-items: center;
  margin-bottom: 16px; background: var(--blue-50); color: var(--blue);
}
.card.teal .ic { background: var(--teal-50); color: var(--teal); }
.card h3 { font-size: 18px; margin-bottom: 8px; }
.card p { margin: 0; font-size: 14.5px; color: var(--slate); }

/* ---------- Stats ---------- */
.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 28px; }
.stat .n { font-size: clamp(34px, 4vw, 52px); font-weight: 800; letter-spacing: -0.04em; color: #fff; line-height: 1; }
.stat .n .accent { color: var(--teal); }
.stat .l { margin-top: 8px; font-size: 14px; color: #A9B6CC; }

/* ---------- Steps ---------- */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; counter-reset: s; }
.step { position: relative; padding-top: 18px; border-top: 2px solid var(--line); }
.step::before {
  counter-increment: s; content: counter(s, decimal-leading-zero);
  font-family: var(--mono); font-size: 13px; color: var(--blue); font-weight: 600;
}
.step h3 { font-size: 18px; margin: 8px 0; }
.step p { margin: 0; color: var(--slate); font-size: 14.5px; }

/* ---------- Testimonial ---------- */
.quote { font-size: clamp(22px, 2.6vw, 32px); font-weight: 600; letter-spacing: -0.03em; line-height: 1.3; }
.quote .hl { color: var(--teal); }

/* ---------- Pricing ---------- */
.price-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; align-items: start; }
.price {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 30px;
  display: flex; flex-direction: column;
}
.price.featured { border-color: var(--blue); box-shadow: 0 24px 60px -28px rgba(18,104,196,.5); position: relative; }
.price .tag {
  position: absolute; top: -12px; left: 30px; background: var(--blue); color: #fff;
  font-size: 11px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase;
  padding: 4px 12px; border-radius: 999px;
}
.price .plan { font-weight: 700; font-size: 18px; color: var(--navy); }
.price .amt { font-size: 44px; font-weight: 800; letter-spacing: -0.04em; margin: 12px 0 2px; }
.price .amt small { font-size: 15px; font-weight: 500; color: var(--slate-400); letter-spacing: 0; }
.price .desc { color: var(--slate); font-size: 14px; min-height: 40px; }
.price ul { list-style: none; padding: 0; margin: 20px 0 24px; display: grid; gap: 11px; }
.price li { display: flex; gap: 10px; font-size: 14px; color: var(--slate); }
.price li .ck { flex: 0 0 auto; color: var(--teal); }

/* ---------- CTA band ---------- */
.cta-band {
  background: linear-gradient(120deg, var(--navy) 0%, #16407a 60%, var(--blue-600) 140%);
  border-radius: 24px; padding: 56px; text-align: center; color: #fff;
}

/* ---------- Footer ---------- */
.footer { background: var(--navy-900); color: #9FB0C8; padding: 64px 0 40px; }
.footer-grid { display: grid; grid-template-columns: 1.6fr repeat(4, 1fr); gap: 32px; }
.footer h4 { color: #fff; font-size: 13px; letter-spacing: .04em; text-transform: uppercase; margin: 0 0 14px; }
.footer a { display: block; color: #9FB0C8; font-size: 14px; padding: 5px 0; transition: color .12s; }
.footer a:hover { color: #fff; }
.footer .brand { color: #fff; margin-bottom: 14px; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.1); margin-top: 40px; padding-top: 22px; display: flex; justify-content: space-between; font-size: 13px; flex-wrap: wrap; gap: 10px; }

/* ---------- Section heading helper ---------- */
.sec-head { max-width: 720px; margin: 0 auto 56px; text-align: center; }
.sec-head .eyebrow { display: inline-block; margin-bottom: 14px; }
.sec-head p { margin: 16px 0 0; }

/* ---------- CSS checkmark (reusable) ---------- */
.tick { flex: 0 0 auto; width: 20px; height: 20px; border-radius: 50%; background: var(--teal-50); color: var(--teal); display: inline-grid; place-items: center; }
.tick::before { content: ""; width: 10px; height: 6px; border-left: 2px solid currentColor; border-bottom: 2px solid currentColor; transform: rotate(-45deg) translateY(-1px); }
.tick.sm { width: 17px; height: 17px; }
.tick.sm::before { width: 8px; height: 5px; }

/* ---------- Feature group list ---------- */
.fgroup { display: grid; grid-template-columns: 260px 1fr; gap: 40px; padding: 48px 0; border-top: 1px solid var(--line); }
.fgroup-head .eyebrow { margin-bottom: 12px; display: inline-block; }
.fgroup-head h2 { font-size: 26px; }
.fgroup-head p { color: var(--slate); font-size: 14.5px; margin: 12px 0 0; }
.fitems { display: grid; grid-template-columns: 1fr 1fr; gap: 14px 28px; align-content: start; }
.fitem { display: flex; gap: 11px; align-items: flex-start; font-size: 14.5px; color: var(--ink); }
.fitem b { font-weight: 600; }
.fitem span.t { color: var(--slate); }

/* ---------- Audience tracks ---------- */
.track { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 28px; }
.track .tic { width: 44px; height: 44px; border-radius: 12px; display: grid; place-items: center; margin-bottom: 16px; }
.track h3 { font-size: 19px; margin-bottom: 8px; }
.track p { color: var(--slate); font-size: 14.5px; margin: 0 0 16px; }
.track ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 9px; }
.track li { display: flex; gap: 9px; font-size: 13.5px; color: var(--slate); align-items: flex-start; }

/* ---------- Workflow canvas mock ---------- */
.wf {
  background: var(--mist); border: 1px solid var(--line); border-radius: var(--radius);
  background-image: radial-gradient(var(--line) 1px, transparent 1px);
  background-size: 22px 22px; padding: 30px; position: relative; overflow: hidden;
}
.wf-node {
  background: #fff; border: 1px solid var(--line); border-radius: 12px; padding: 12px 14px;
  display: inline-flex; align-items: center; gap: 10px; font-size: 13.5px; font-weight: 600; color: var(--navy);
  box-shadow: 0 8px 24px -12px rgba(10,35,66,.3); position: relative; z-index: 2;
}
.wf-node .nic { width: 30px; height: 30px; border-radius: 8px; display: grid; place-items: center; }
.wf-tag { font-family: var(--mono); font-size: 10px; letter-spacing: .08em; text-transform: uppercase; color: var(--slate-400); display: block; font-weight: 500; }

@media (max-width: 920px) {
  .fgroup { grid-template-columns: 1fr; gap: 20px; padding: 36px 0; }
  .fitems { grid-template-columns: 1fr; }
}

/* ---------- Reveal animation ---------- */
.reveal { opacity: 0; transform: translateY(18px); transition: opacity .6s ease, transform .6s ease; }
.reveal.in { opacity: 1; transform: none; }

/* ---------- Responsive ---------- */
@media (max-width: 920px) {
  .hero-grid, .feature, .grid-3, .grid-2, .stats, .steps, .price-grid, .footer-grid { grid-template-columns: 1fr; }
  .feature.flip .feature-text { order: 0; }
  .stats { grid-template-columns: repeat(2, 1fr); gap: 32px 20px; }
  .nav-links { display: none; }
  .nav-burger { display: inline-grid; place-items: center; margin-left: auto; width: 40px; height: 40px; border-radius: 10px; border: 1px solid var(--line); background: #fff; }
  .nav-cta { display: none; }
  .section { padding: 64px 0; }
  .cta-band { padding: 40px 24px; }
  .footer-grid { gap: 28px; }
}
