/* Motiva Dental — shared marketing design system.
   Loaded by index.html, clinics/labs/patients/resources.html, signin.html,
   launch.html. scan.html and capture.html keep their own app-focused
   stylesheet (denser, functional UI, not marketing chrome). */
:root {
  --bg: #060e10;
  --bg2: #0a1618;
  --panel: #0d1b1e;
  --panel2: #0a1719;
  --text: #eaf6f4;
  --muted: #8fb3ae;
  --muted2: #5f8481;
  --accent: #2ee6c8;
  --accent2: #7ff5e0;
  --accent-dim: #1a8f7d;
  --border: #163a3a;
  --warn: #ffb454;
  --serif: 'Fraunces', Georgia, serif;
  --sans: 'Inter', system-ui, -apple-system, 'Segoe UI', sans-serif;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0; background: var(--bg); color: var(--text); font-family: var(--sans);
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; }
::selection { background: var(--accent); color: #04211c; }

/* ---------- nav ---------- */
.nav { position: sticky; top: 0; z-index: 50; display: flex; align-items: center;
  justify-content: space-between; padding: 22px clamp(20px, 5vw, 64px);
  background: linear-gradient(to bottom, rgba(6,14,16,.92), rgba(6,14,16,.75));
  backdrop-filter: blur(14px); border-bottom: 1px solid var(--border); }
.nav .logo { font-family: var(--serif); font-size: 19px; letter-spacing: 3px; font-weight: 600;
  text-decoration: none; display: flex; flex-direction: column; line-height: 1.1; }
.nav .logo b { color: var(--accent); font-weight: 600; }
.nav .logo small { font-size: 9px; letter-spacing: 5px; color: var(--muted2); font-family: var(--sans); }
.nav .links { display: flex; gap: 34px; align-items: center; }
.nav .links a { text-decoration: none; color: var(--muted); font-size: 14.5px; font-weight: 500; transition: color .15s; }
.nav .links a:hover, .nav .links a.active { color: var(--text); }
.nav .cta { display: flex; gap: 12px; align-items: center; }
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 11px 22px; border-radius: 999px; font-size: 14.5px; font-weight: 600;
  text-decoration: none; border: 1px solid transparent; cursor: pointer; transition: all .18s; white-space: nowrap; }
.btn-ghost { color: var(--text); border-color: var(--border); background: transparent; }
.btn-ghost:hover { border-color: var(--accent); color: var(--accent2); }
.btn-solid { background: var(--accent); color: #04241f; box-shadow: 0 0 24px -6px var(--accent); }
.btn-solid:hover { background: var(--accent2); box-shadow: 0 0 32px -4px var(--accent2); transform: translateY(-1px); }
.navburger { display: none; }
@media (max-width: 900px) {
  .nav .links { display: none; }
  .navburger { display: block; }
}

/* ---------- generic sections ---------- */
.section { padding: 96px clamp(20px, 6vw, 80px); max-width: 1360px; margin: 0 auto; position: relative; }
.eyebrow { font-size: 12.5px; letter-spacing: 3px; color: var(--accent); font-weight: 700; text-transform: uppercase; margin-bottom: 18px; display: block; }
h1, h2, h3 { font-family: var(--serif); font-weight: 500; line-height: 1.08; margin: 0; }
.section h2 { font-size: clamp(30px, 4vw, 46px); max-width: 720px; }
.section p.lead { font-size: 17px; color: var(--muted); max-width: 620px; line-height: 1.6; margin-top: 18px; }
.grid { display: grid; gap: 24px; }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }
@media (max-width: 980px) { .grid-3, .grid-4 { grid-template-columns: 1fr; } }
.card { background: var(--panel); border: 1px solid var(--border); border-radius: 18px; padding: 30px; }
.card .num { font-family: var(--serif); font-size: 34px; color: var(--accent); margin-bottom: 10px; }
.card h3 { font-size: 19px; color: var(--text); margin-bottom: 10px; font-family: var(--sans); font-weight: 700; }
.card p { color: var(--muted); font-size: 14.5px; line-height: 1.6; }

/* ---------- footer ---------- */
footer { border-top: 1px solid var(--border); padding: 56px clamp(20px, 6vw, 80px) 32px; }
footer .cols { max-width: 1360px; margin: 0 auto; display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 40px; }
@media (max-width: 800px) { footer .cols { grid-template-columns: 1fr 1fr; } }
footer .col h4 { font-size: 12.5px; letter-spacing: 1.5px; text-transform: uppercase; color: var(--muted2); margin-bottom: 16px; }
footer .col a { display: block; color: var(--muted); text-decoration: none; font-size: 14px; margin-bottom: 10px; }
footer .col a:hover { color: var(--accent2); }
footer .bottom { max-width: 1360px; margin: 40px auto 0; padding-top: 24px; border-top: 1px solid var(--border);
  color: var(--muted2); font-size: 12.5px; display: flex; justify-content: space-between; flex-wrap: wrap; gap: 10px; }

/* ---------- honesty banner (used where a claim needs a caveat) ---------- */
.honest { background: rgba(255,180,84,.07); border: 1px solid rgba(255,180,84,.35); color: #ffcf94;
  border-radius: 12px; padding: 14px 18px; font-size: 13.5px; line-height: 1.55; }
