﻿:root {
  --ink: #12201f;
  --muted: #5d6d69;
  --paper: #fbfcfa;
  --surface: #ffffff;
  --line: #dce6e1;
  --teal: #0f766e;
  --teal-dark: #0b4f4a;
  --mint: #d9f4ed;
  --amber: #f5a524;
  --coral: #e85d75;
  --violet: #4f46e5;
  --shadow: 0 24px 80px rgba(17, 32, 31, 0.14);
  color-scheme: light;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: "Plus Jakarta Sans", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  background: var(--paper);
  color: var(--ink);
  -webkit-font-smoothing: antialiased;
}
body.nav-open { overflow: hidden; }
a { color: inherit; text-decoration: none; }
button, input, textarea { font: inherit; }

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 24px;
  min-height: 76px;
  padding: 14px clamp(20px, 4vw, 64px);
  border-bottom: 1px solid rgba(220, 230, 225, 0.82);
  background: rgba(251, 252, 250, 0.92);
  backdrop-filter: blur(18px);
}
.brand { display: inline-flex; align-items: center; gap: 10px; font-weight: 800; letter-spacing: 0; }
.brand__mark { width: 36px; height: 36px; border-radius: 10px; box-shadow: 0 10px 26px rgba(79, 70, 229, 0.18); }
.brand__name { font-size: 1.05rem; }
.site-nav { display: flex; justify-content: center; gap: 8px; }
.site-nav a, .header-link {
  display: inline-flex;
  align-items: center;
  min-height: 42px;
  padding: 0 14px;
  border-radius: 8px;
  color: var(--muted);
  font-size: 0.92rem;
  font-weight: 700;
  transition: color 180ms ease, background 180ms ease;
}
.site-nav a:hover, .header-link:hover { background: var(--mint); color: var(--teal-dark); }
.header-actions { display: flex; align-items: center; justify-content: flex-end; gap: 10px; }
.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface);
  color: var(--ink);
  cursor: pointer;
}
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 50px;
  padding: 0 20px;
  border: 0;
  border-radius: 8px;
  background: var(--teal);
  color: #fff;
  font-weight: 800;
  line-height: 1;
  cursor: pointer;
  box-shadow: 0 14px 30px rgba(15, 118, 110, 0.22);
  transition: transform 180ms ease, box-shadow 180ms ease, background 180ms ease;
}
.button:hover { background: var(--teal-dark); box-shadow: 0 18px 34px rgba(15, 118, 110, 0.26); transform: translateY(-1px); }
.button--secondary { background: #fff; color: var(--ink); border: 1px solid var(--line); box-shadow: none; }
.button--secondary:hover { background: var(--mint); box-shadow: none; }
.button--small { min-height: 42px; padding: 0 15px; font-size: 0.9rem; }

.hero {
  display: grid;
  grid-template-columns: minmax(0, 0.86fr) minmax(420px, 1.14fr);
  gap: clamp(28px, 5vw, 72px);
  align-items: center;
  min-height: calc(100svh - 118px);
  padding: clamp(44px, 6vw, 84px) clamp(20px, 5vw, 80px) clamp(38px, 5vw, 72px);
  border-bottom: 1px solid var(--line);
  background: linear-gradient(90deg, rgba(217, 244, 237, 0.74), rgba(251, 252, 250, 0) 42%), var(--paper);
}
.hero__content { max-width: 650px; }
.eyebrow { margin: 0 0 14px; color: var(--teal); font-size: 0.78rem; font-weight: 800; letter-spacing: 0.08em; text-transform: uppercase; }
h1, h2, h3, p { margin-top: 0; }
h1 { margin-bottom: 20px; font-size: clamp(3.8rem, 7.3vw, 7.6rem); line-height: 0.91; letter-spacing: 0; }
h2 { margin-bottom: 18px; font-size: clamp(2rem, 3.8vw, 4rem); line-height: 1.02; letter-spacing: 0; }
h3 { margin-bottom: 10px; font-size: 1.15rem; line-height: 1.2; }
.hero__lead, .section-copy p, .contact-copy p { max-width: 62ch; color: var(--muted); font-size: 1.08rem; line-height: 1.72; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 12px; margin: 30px 0 26px; }
.hero__proof { display: flex; flex-wrap: wrap; gap: 10px; }
.hero__proof span { display: inline-flex; align-items: center; gap: 6px; min-height: 38px; padding: 0 13px; border: 1px solid var(--line); border-radius: 8px; background: rgba(255,255,255,0.68); color: var(--muted); font-size: 0.9rem; }
.hero__proof strong { color: var(--ink); }
.product-preview { min-width: 0; }
.preview-shell { overflow: hidden; border: 1px solid rgba(18, 32, 31, 0.1); border-radius: 8px; background: var(--surface); box-shadow: var(--shadow); }
.preview-topbar { display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 16px; min-height: 48px; padding: 0 16px; border-bottom: 1px solid var(--line); color: var(--muted); font-size: 0.84rem; }
.window-dots { display: flex; gap: 6px; }
.window-dots span { width: 10px; height: 10px; border-radius: 50%; background: var(--coral); }
.window-dots span:nth-child(2) { background: var(--amber); }
.window-dots span:nth-child(3) { background: var(--teal); }
.preview-body { display: grid; grid-template-columns: 172px minmax(0, 1fr); min-height: 520px; }
.preview-sidebar { display: flex; flex-direction: column; gap: 10px; padding: 18px; border-right: 1px solid var(--line); background: #f5faf7; }
.preview-logo { display: flex; align-items: center; width: 42px; height: 42px; margin-bottom: 16px; }
.preview-logo img { width: 100%; height: 100%; }
.preview-sidebar button { display: flex; align-items: center; gap: 10px; min-height: 40px; padding: 0 12px; border: 0; border-radius: 8px; background: transparent; color: var(--muted); font-size: 0.78rem; font-weight: 800; text-align: left; cursor: pointer; transition: background 180ms ease, color 180ms ease, transform 180ms ease; }
.preview-sidebar button:hover { background: #eaf7f2; color: var(--teal-dark); transform: translateX(2px); }
.preview-sidebar button:focus-visible { outline: 3px solid rgba(15,118,110,0.22); outline-offset: 2px; }
.preview-sidebar .is-active { background: var(--teal); color: #fff; }
.preview-sidebar .is-active:hover { background: var(--teal); color: #fff; }
.preview-main { display: grid; align-content: start; gap: 16px; padding: 18px; background: #fbfdfb; }
.preview-main.is-changing { animation: previewIn 220ms ease; }
.preview-view-title { display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.preview-view-title span, .preview-view-title small { color: var(--muted); font-size: 0.78rem; font-weight: 800; }
.preview-view-title strong { display: block; margin-top: 4px; font-size: 1.08rem; }
.metric-row { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.metric-row article, .agenda-card, .clinical-strip, .module-card, .price-card, .workflow article { border: 1px solid var(--line); border-radius: 8px; background: var(--surface); }
.metric-row article { padding: 16px; }
.metric-row span, .clinical-strip span, .appointment span, .agenda-head span { color: var(--muted); font-size: 0.8rem; font-weight: 700; }
.metric-row strong { display: block; margin-top: 10px; font-size: 1.6rem; }
.agenda-card { padding: 18px; }
.agenda-head, .appointment, .clinical-strip { display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.agenda-head { margin-bottom: 14px; }
.appointment { justify-content: flex-start; min-height: 74px; margin-top: 10px; padding: 12px; border-left: 4px solid var(--teal); border-radius: 8px; background: #f5fbf9; }
.appointment time { width: 54px; color: var(--teal-dark); font-size: 0.9rem; font-weight: 800; }
.appointment strong, .appointment span { display: block; }
.appointment div { flex: 1; }
.appointment em { margin-left: auto; padding: 7px 9px; border-radius: 8px; background: rgba(255,255,255,0.78); color: var(--teal-dark); font-size: 0.72rem; font-style: normal; font-weight: 800; white-space: nowrap; }
.appointment.current { border-left-color: var(--violet); background: #f7f7ff; }
.appointment.pending { border-left-color: var(--amber); background: #fffaf0; }
.clinical-strip { padding: 16px; }
.clinical-strip strong { display: block; margin-top: 4px; }
.teeth-row { display: flex; gap: 6px; }
.teeth-row span { width: 22px; height: 28px; border: 2px solid #afc7bf; border-radius: 50% 50% 46% 46%; background: #fff; }
.teeth-row .filled { border-color: var(--teal); background: var(--mint); }
.teeth-row .alert { border-color: var(--coral); background: #ffe7ec; }
.schedule-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 10px; }
.schedule-grid article { display: grid; gap: 8px; min-height: 112px; padding: 14px; border: 1px solid var(--line); border-radius: 8px; background: var(--surface); }
.schedule-grid article.is-selected { border-color: rgba(15,118,110,0.34); background: #f1fbf7; box-shadow: inset 0 0 0 1px rgba(15,118,110,0.08); }
.schedule-grid strong { font-size: 1.05rem; }
.schedule-grid span { color: var(--muted); font-size: 0.78rem; font-weight: 800; }
.schedule-grid b { align-self: end; color: var(--teal-dark); font-size: 1.28rem; }
.patient-search { display: flex; align-items: center; gap: 10px; min-height: 46px; padding: 0 14px; border: 1px solid var(--line); border-radius: 8px; background: var(--surface); color: var(--muted); font-size: 0.84rem; font-weight: 800; }
.patient-list { display: grid; gap: 10px; }
.patient-list article { display: flex; align-items: center; gap: 12px; min-height: 72px; padding: 12px; border: 1px solid var(--line); border-radius: 8px; background: var(--surface); }
.patient-list article div:not(.avatar) { flex: 1; min-width: 0; }
.patient-list strong, .patient-list span { display: block; }
.patient-list span { color: var(--muted); font-size: 0.8rem; font-weight: 700; }
.patient-list b { padding: 7px 9px; border-radius: 8px; background: var(--mint); color: var(--teal-dark); font-size: 0.72rem; }
.avatar { display: inline-flex; align-items: center; justify-content: center; width: 40px; height: 40px; border-radius: 8px; background: var(--teal); color: #fff; font-size: 0.78rem; font-weight: 800; }
.clinical-strip > i { display: inline-flex; align-items: center; justify-content: center; width: 42px; height: 42px; border-radius: 8px; background: var(--mint); color: var(--teal-dark); }
.record-layout { display: grid; grid-template-columns: minmax(0, 0.9fr) minmax(170px, 0.62fr); gap: 14px; }
.record-card, .timeline-card { border: 1px solid var(--line); border-radius: 8px; background: var(--surface); }
.record-card { padding: 18px; }
.record-card span { color: var(--muted); font-size: 0.8rem; font-weight: 800; }
.record-card strong { display: block; margin: 8px 0; font-size: 1.08rem; }
.record-card p { margin-bottom: 0; color: var(--muted); line-height: 1.55; }
.odontogram-mini { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; padding: 16px; border: 1px solid var(--line); border-radius: 8px; background: #f5faf7; }
.odontogram-mini span { min-height: 58px; border: 2px solid #afc7bf; border-radius: 50% 50% 46% 46%; background: #fff; }
.odontogram-mini .filled { border-color: var(--teal); background: var(--mint); }
.odontogram-mini .alert { border-color: var(--coral); background: #ffe7ec; }
.timeline-card { display: grid; gap: 0; overflow: hidden; }
.timeline-card div { display: grid; gap: 4px; padding: 14px 16px; border-bottom: 1px solid var(--line); }
.timeline-card div:last-child { border-bottom: 0; }
.timeline-card time { color: var(--teal-dark); font-size: 0.78rem; font-weight: 800; }
.timeline-card span { color: var(--muted); font-size: 0.84rem; line-height: 1.45; }
@keyframes previewIn {
  from { opacity: 0.55; transform: translateY(5px); }
  to { opacity: 1; transform: translateY(0); }
}
.app-preview-hero {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  align-items: center;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: linear-gradient(135deg, #ffffff, #f4fbf8);
}
.app-preview-hero span,
.app-clinical-title {
  color: var(--teal);
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.app-preview-hero strong {
  display: block;
  margin-top: 5px;
  font-size: 1.15rem;
}
.app-preview-hero p {
  margin: 7px 0 0;
  color: var(--muted);
  font-size: 0.82rem;
  line-height: 1.45;
}
.app-preview-hero button,
.app-preview-toolbar button,
.app-clinical-card header button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  min-height: 36px;
  padding: 0 12px;
  border: 0;
  border-radius: 8px;
  background: var(--teal);
  color: #fff;
  font-size: 0.78rem;
  font-weight: 800;
  white-space: nowrap;
}
.app-metrics-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}
.app-metrics-grid article {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 15px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface);
}
.app-metrics-grid i {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  border-radius: 8px;
  background: var(--mint);
  color: var(--teal-dark);
}
.app-metrics-grid span,
.app-table-head span {
  color: var(--muted);
  font-size: 0.76rem;
  font-weight: 800;
}
.app-metrics-grid strong {
  display: block;
  margin-top: 4px;
  font-size: 1.45rem;
}
.app-table-card {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface);
}
.app-table-head {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  padding: 13px 15px;
  border-bottom: 1px solid var(--line);
}
.app-table-card table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.82rem;
}
.app-table-card th,
.app-table-card td {
  padding: 12px 14px;
  border-bottom: 1px solid #edf3ef;
  text-align: left;
  vertical-align: middle;
}
.app-table-card tr:last-child td {
  border-bottom: 0;
}
.app-table-card small {
  display: block;
  color: var(--muted);
  font-size: 0.72rem;
}
.app-badge {
  display: inline-flex;
  align-items: center;
  min-height: 24px;
  padding: 0 8px;
  border-radius: 8px;
  font-size: 0.7rem;
  font-weight: 800;
}
.app-badge.success { background: #e8f8ef; color: #166534; }
.app-badge.info { background: #eff6ff; color: #1d4ed8; }
.app-badge.warning { background: #fff7ed; color: #9a3412; }
.app-preview-toolbar {
  display: grid;
  gap: 10px;
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface);
}
.app-toolbar-nav,
.app-view-switcher,
.app-prof-legend {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}
.app-toolbar-nav strong {
  color: var(--ink);
  font-size: 0.86rem;
}
.app-preview-toolbar button {
  width: 32px;
  min-height: 32px;
  padding: 0;
  background: #f4fbf8;
  color: var(--teal-dark);
  border: 1px solid var(--line);
}
.app-view-switcher span,
.app-prof-legend span {
  display: inline-flex;
  align-items: center;
  min-height: 30px;
  padding: 0 10px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  color: var(--muted);
  font-size: 0.74rem;
  font-weight: 800;
}
.app-view-switcher .is-active,
.app-prof-legend .is-active {
  background: var(--teal);
  color: #fff;
  border-color: var(--teal);
}
.app-prof-legend {
  padding: 12px 14px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #f5faf7;
}
.app-prof-legend strong {
  margin-right: 4px;
  font-size: 0.78rem;
}
.app-calendar-day {
  display: grid;
  grid-template-columns: 64px minmax(0, 1fr);
  min-height: 330px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface);
}
.app-calendar-gutter {
  display: grid;
  grid-template-rows: repeat(6, 1fr);
  padding-top: 40px;
  border-right: 1px solid var(--line);
  background: #f8fbfa;
}
.app-calendar-gutter span {
  padding: 0 10px;
  color: var(--muted);
  font-size: 0.72rem;
  font-weight: 800;
}
.app-calendar-column {
  position: relative;
  min-height: 330px;
}
.app-prof-header {
  position: sticky;
  top: 0;
  z-index: 2;
  min-height: 40px;
  padding: 11px 14px;
  border-bottom: 1px solid var(--line);
  background: #fff;
  font-size: 0.82rem;
  font-weight: 800;
}
.app-cal-line {
  height: 48px;
  border-bottom: 1px solid #edf3ef;
}
.app-cal-apt {
  position: absolute;
  left: 16px;
  right: 16px;
  display: grid;
  align-content: center;
  gap: 3px;
  padding: 8px 10px;
  border-left: 4px solid currentColor;
  border-radius: 8px;
  color: #fff;
  box-shadow: 0 12px 24px rgba(15, 23, 42, 0.12);
}
.app-cal-apt strong,
.app-cal-apt span {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.app-cal-apt strong { font-size: 0.78rem; }
.app-cal-apt span { font-size: 0.68rem; opacity: 0.9; }
.app-cal-apt.teal { background: #14b8a6; }
.app-cal-apt.violet { background: #8b5cf6; }
.app-cal-apt.amber { background: #fff7ed; color: #9a3412; border-left-color: #f97316; }
.app-search {
  display: flex;
  align-items: center;
  gap: 10px;
  min-height: 44px;
  padding: 0 14px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  color: var(--muted);
  font-size: 0.82rem;
  font-weight: 800;
}
.app-patient-table th {
  color: var(--muted);
  font-size: 0.72rem;
  text-transform: uppercase;
}
.app-patient-table td:first-child {
  display: flex;
  align-items: center;
  gap: 10px;
}
.app-avatar {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  flex: 0 0 34px;
  border-radius: 8px;
  background: var(--mint);
  color: var(--teal-dark);
  font-size: 0.72rem;
  font-weight: 900;
}
.app-patient-table td:last-child {
  color: var(--teal-dark);
  white-space: nowrap;
}
.app-patient-table td:last-child i {
  margin-right: 8px;
}
.app-clinical-card {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface);
}
.app-clinical-card header {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px;
  border-bottom: 2px solid var(--teal-dark);
  background: #f4fbf8;
}
.app-clinical-card header img {
  width: 40px;
  height: 40px;
}
.app-clinical-card header div {
  flex: 1;
  min-width: 0;
}
.app-clinical-card header strong,
.app-clinical-card header span {
  display: block;
}
.app-clinical-card header span {
  color: var(--teal-dark);
  font-size: 0.78rem;
  font-weight: 800;
}
.app-clinical-card header button {
  min-height: 34px;
}
.app-clinical-info {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
  padding: 14px;
  border-bottom: 1px dashed var(--line);
}
.app-clinical-info article {
  padding: 10px;
  border-radius: 8px;
  background: #f8fbfa;
}
.app-clinical-info span,
.app-evolution time {
  color: var(--muted);
  font-size: 0.68rem;
  font-weight: 800;
  text-transform: uppercase;
}
.app-clinical-info strong {
  display: block;
  margin-top: 4px;
  font-size: 0.82rem;
}
.app-odontogram {
  display: grid;
  gap: 10px;
  padding: 14px;
}
.app-teeth-row {
  display: grid;
  grid-template-columns: repeat(8, minmax(0, 1fr));
  gap: 5px;
}
.app-teeth-row span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  aspect-ratio: 1;
  border: 1px solid #b7c9c4;
  border-radius: 8px;
  background: #fff;
  color: var(--muted);
  font-size: 0.65rem;
  font-weight: 800;
}
.app-teeth-row .done {
  background: #e8f8ef;
  border-color: var(--teal);
  color: var(--teal-dark);
}
.app-teeth-row .alert {
  background: #fff1f2;
  border-color: var(--coral);
  color: #be123c;
}
.app-evolution {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  padding: 0 14px 14px;
}
.app-evolution article {
  padding: 12px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
}
.app-evolution strong,
.app-evolution span {
  display: block;
}
.app-evolution strong {
  margin: 5px 0;
  font-size: 0.82rem;
}
.app-evolution span {
  color: var(--muted);
  font-size: 0.76rem;
  line-height: 1.35;
}

.trust-band { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; margin: 0 clamp(20px, 5vw, 80px); transform: translateY(-20px); border: 1px solid var(--line); border-radius: 8px; overflow: hidden; background: var(--line); box-shadow: 0 18px 44px rgba(18, 32, 31, 0.08); }
.trust-band div { min-height: 118px; padding: 22px; background: var(--surface); }
.trust-band strong, .trust-band span { display: block; }
.trust-band span { margin-top: 8px; color: var(--muted); line-height: 1.5; }
.section { padding: clamp(58px, 8vw, 112px) clamp(20px, 5vw, 80px); }
.split { display: grid; grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr); gap: clamp(28px, 5vw, 72px); align-items: start; }
.section-heading { max-width: 760px; margin-bottom: 32px; }
.workflow { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
.workflow article, .module-card, .price-card { padding: 22px; }
.workflow i, .module-card i { display: inline-flex; align-items: center; justify-content: center; width: 44px; height: 44px; margin-bottom: 18px; border-radius: 8px; background: var(--mint); color: var(--teal-dark); }
.workflow strong, .workflow span, .module-card p, .price-card p { display: block; }
.workflow span, .module-card p, .price-card p { color: var(--muted); line-height: 1.62; }
.module-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.outcomes { padding-top: 0; }
.outcome-panel { display: grid; grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr); gap: 28px; align-items: center; padding: clamp(28px, 5vw, 54px); border-radius: 8px; background: var(--ink); color: #fff; }
.outcome-panel .eyebrow { color: var(--amber); }
.outcome-panel h2 { margin-bottom: 0; }
.outcome-list { display: grid; gap: 12px; }
.outcome-list span { display: flex; gap: 12px; align-items: flex-start; padding: 15px; border: 1px solid rgba(255,255,255,0.16); border-radius: 8px; background: rgba(255,255,255,0.06); line-height: 1.5; }
.outcome-list i { color: var(--amber); margin-top: 3px; }
.ai-secretary {
  display: grid;
  grid-template-columns: minmax(0, 0.82fr) minmax(360px, 1fr);
  gap: clamp(28px, 5vw, 70px);
  align-items: center;
  border-top: 1px solid var(--line);
  background: #f8fbfa;
}
.ai-secretary-copy p:not(.eyebrow) {
  max-width: 62ch;
  color: var(--muted);
  font-size: 1.05rem;
  line-height: 1.72;
}
.ai-secretary-actions {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 28px;
}
.ai-secretary-actions span {
  max-width: 320px;
  color: var(--muted);
  font-size: 0.9rem;
  font-weight: 700;
  line-height: 1.45;
}
.ai-secretary-panel {
  display: grid;
  gap: 16px;
}
.chat-preview {
  overflow: hidden;
  border: 1px solid rgba(15, 118, 110, 0.24);
  border-radius: 8px;
  background: #eefaf5;
  box-shadow: 0 24px 70px rgba(15, 118, 110, 0.12);
}
.chat-top {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 16px;
  border-bottom: 1px solid rgba(15, 118, 110, 0.16);
  background: #ffffff;
}
.chat-top i {
  color: #25d366;
  font-size: 1.45rem;
}
.chat-top strong,
.chat-top span {
  display: block;
}
.chat-top span {
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 800;
}
.chat-bubble {
  width: fit-content;
  max-width: 78%;
  margin: 12px 16px;
  padding: 11px 13px;
  border-radius: 8px;
  color: var(--ink);
  font-size: 0.88rem;
  line-height: 1.45;
}
.chat-bubble.incoming {
  background: #fff;
}
.chat-bubble.outgoing {
  margin-left: auto;
  background: #d9f4ed;
}
.ai-feature-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}
.ai-feature-grid article {
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
}
.ai-feature-grid i {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  margin-bottom: 12px;
  border-radius: 8px;
  background: var(--mint);
  color: var(--teal-dark);
}
.ai-feature-grid strong,
.ai-feature-grid span {
  display: block;
}
.ai-feature-grid span {
  margin-top: 6px;
  color: var(--muted);
  font-size: 0.86rem;
  line-height: 1.45;
}
.pricing-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; align-items: stretch; }
.price-card { display: grid; align-content: start; gap: 16px; }
.price-card strong { font-size: 1.1rem; }
.price-card--featured { border-color: rgba(15, 118, 110, 0.34); background: #f3fbf8; box-shadow: 0 24px 70px rgba(15, 118, 110, 0.14); }
.price-card--ai { border-color: rgba(79, 70, 229, 0.28); background: #f7f7ff; box-shadow: 0 24px 70px rgba(79, 70, 229, 0.12); }
.badge { width: fit-content; padding: 7px 10px; border-radius: 8px; background: var(--teal); color: #fff; font-size: 0.76rem; font-weight: 800; }
.badge--ai { background: var(--violet); }
.price { display: flex; align-items: baseline; gap: 8px; padding-top: 4px; }
.price strong { color: var(--ink); font-size: clamp(2rem, 3vw, 2.65rem); line-height: 1; letter-spacing: 0; }
.price span { color: var(--muted); font-weight: 800; }
.price--discount { flex-wrap: wrap; row-gap: 6px; }
.price-old { color: var(--muted); font-size: 0.95rem; font-weight: 800; text-decoration: line-through; text-decoration-thickness: 2px; }
.price-features { display: grid; gap: 10px; margin: 0; padding: 0; list-style: none; }
.price-features li { position: relative; padding-left: 24px; color: var(--muted); line-height: 1.45; }
.price-features li::before { content: "\f00c"; position: absolute; left: 0; top: 2px; color: var(--teal); font-family: "Font Awesome 6 Free"; font-size: 0.78rem; font-weight: 900; }
.pricing-note { margin-top: 18px; padding: 18px 20px; border: 1px solid rgba(15, 118, 110, 0.24); border-radius: 8px; background: #f3fbf8; color: var(--muted); line-height: 1.6; }
.pricing-note strong, .pricing-note b { color: var(--teal-dark); }
.contact { display: grid; grid-template-columns: minmax(0, 0.9fr) minmax(320px, 0.72fr); gap: clamp(28px, 5vw, 68px); align-items: start; border-top: 1px solid var(--line); background: #f5faf7; }
.contact-form { display: grid; gap: 14px; padding: 22px; border: 1px solid var(--line); border-radius: 8px; background: var(--surface); box-shadow: 0 18px 50px rgba(18, 32, 31, 0.08); }
.contact-form label { display: grid; gap: 8px; color: var(--ink); font-size: 0.9rem; font-weight: 800; }
.form-honeypot { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.contact-form input, .contact-form textarea { width: 100%; border: 1px solid var(--line); border-radius: 8px; background: #fbfdfb; color: var(--ink); outline: none; transition: border-color 180ms ease, box-shadow 180ms ease; }
.contact-form input { min-height: 48px; padding: 0 14px; }
.contact-form textarea { resize: vertical; min-height: 118px; padding: 12px 14px; }
.contact-form input:focus, .contact-form textarea:focus { border-color: var(--teal); box-shadow: 0 0 0 4px rgba(15,118,110,0.12); }
.form-note { margin: 0; color: var(--muted); font-size: 0.86rem; }
.site-footer { display: flex; align-items: center; justify-content: space-between; gap: 18px; padding: 26px clamp(20px, 5vw, 80px); border-top: 1px solid var(--line); color: var(--muted); }
.site-footer a:not(.brand) { color: var(--teal-dark); font-weight: 800; }
.reveal { opacity: 0; transform: translateY(18px); transition: opacity 700ms ease, transform 700ms ease; }
.reveal.in { opacity: 1; transform: translateY(0); }

@media (max-width: 1100px) {
  .hero { grid-template-columns: 1fr; min-height: auto; }
  .product-preview { max-width: 840px; }
  .module-grid, .pricing-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 860px) {
  .site-header { grid-template-columns: auto auto; }
  .nav-toggle { display: inline-flex; justify-self: end; }
  .site-nav, .header-actions { display: none; }
  .site-header.is-open .site-nav, .site-header.is-open .header-actions { display: grid; grid-column: 1 / -1; justify-content: stretch; gap: 8px; }
  .site-header.is-open .site-nav a, .site-header.is-open .header-actions a { width: 100%; justify-content: center; }
  .split, .outcome-panel, .contact { grid-template-columns: 1fr; }
  .ai-secretary { grid-template-columns: 1fr; }
  .trust-band { grid-template-columns: 1fr; transform: none; margin-top: 20px; }
  .preview-body { grid-template-columns: 1fr; min-height: auto; }
  .preview-sidebar { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); border-right: 0; border-bottom: 1px solid var(--line); }
  .preview-logo { display: none; }
  .preview-sidebar button { justify-content: center; min-width: 0; padding: 0 8px; }
  .preview-sidebar button i { display: none; }
  .schedule-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .schedule-grid article { min-height: 92px; }
  .app-metrics-grid,
  .app-clinical-info {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .app-preview-hero.inline {
    align-items: flex-start;
  }
  .app-table-card {
    overflow-x: auto;
  }
  .app-table-card table {
    min-width: 560px;
  }
  .app-calendar-day {
    min-height: 300px;
  }
  .app-calendar-column {
    min-height: 300px;
  }
}
@media (max-width: 640px) {
  .site-header { min-height: 68px; padding: 12px 16px; }
  .hero { padding: 34px 16px 44px; background: var(--paper); }
  h1 { font-size: 3.4rem; }
  h2 { font-size: 2rem; }
  .hero__actions, .hero__actions .button, .contact-form .button { width: 100%; }
  .ai-secretary-actions,
  .ai-secretary-actions .button {
    width: 100%;
  }
  .ai-feature-grid {
    grid-template-columns: 1fr;
  }
  .chat-bubble {
    max-width: 88%;
  }
  .metric-row, .workflow, .module-grid, .pricing-grid, .record-layout { grid-template-columns: 1fr; }
  .preview-topbar { grid-template-columns: auto 1fr; }
  .preview-topbar strong { display: none; }
  .preview-sidebar { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .preview-shell { margin-inline: -4px; }
  .preview-main { gap: 12px; padding: 12px; }
  .preview-view-title { align-items: flex-start; }
  .preview-view-title small { white-space: nowrap; }
  .app-preview-hero {
    align-items: flex-start;
    flex-direction: column;
    padding: 14px;
  }
  .app-preview-hero button,
  .app-clinical-card header button {
    width: 100%;
  }
  .app-metrics-grid,
  .app-clinical-info,
  .app-evolution {
    grid-template-columns: 1fr;
  }
  .app-metrics-grid article {
    padding: 12px;
  }
  .app-preview-toolbar {
    padding: 12px;
  }
  .app-toolbar-nav {
    display: grid;
    grid-template-columns: 32px 1fr 32px;
    width: 100%;
  }
  .app-toolbar-nav strong {
    text-align: center;
    line-height: 1.25;
  }
  .app-view-switcher {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
  }
  .app-view-switcher span {
    justify-content: center;
    padding: 0 6px;
  }
  .app-prof-legend {
    align-items: stretch;
    display: grid;
    grid-template-columns: 1fr;
  }
  .app-calendar-day {
    grid-template-columns: 52px minmax(0, 1fr);
    min-height: 280px;
  }
  .app-calendar-gutter {
    padding-top: 36px;
  }
  .app-calendar-gutter span {
    padding: 0 7px;
    font-size: 0.66rem;
  }
  .app-prof-header {
    min-height: 36px;
    padding: 9px 12px;
  }
  .app-cal-line {
    height: 42px;
  }
  .app-cal-apt {
    left: 9px;
    right: 9px;
    padding: 7px 8px;
  }
  .app-cal-apt strong {
    font-size: 0.72rem;
  }
  .app-cal-apt span {
    font-size: 0.64rem;
  }
  .app-search {
    min-height: 40px;
    font-size: 0.76rem;
  }
  .app-clinical-card header {
    align-items: flex-start;
    flex-wrap: wrap;
  }
  .app-teeth-row {
    gap: 4px;
  }
  .app-teeth-row span {
    border-radius: 6px;
    font-size: 0.56rem;
  }
  .agenda-card { padding: 12px; }
  .agenda-head { gap: 10px; margin-bottom: 10px; }
  .schedule-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
  .schedule-grid article { min-height: 76px; gap: 4px; padding: 10px; }
  .schedule-grid strong { font-size: 0.95rem; }
  .schedule-grid span { font-size: 0.72rem; }
  .schedule-grid b { font-size: 1.05rem; }
  .appointment { display: grid; grid-template-columns: 48px minmax(0, 1fr); align-items: start; gap: 8px 10px; min-height: 0; padding: 10px; }
  .appointment time { width: auto; font-size: 0.82rem; }
  .appointment div { min-width: 0; }
  .appointment strong { font-size: 0.9rem; }
  .appointment span { font-size: 0.74rem; line-height: 1.35; }
  .appointment em { grid-column: 2; justify-self: start; margin-left: 0; padding: 5px 7px; font-size: 0.68rem; }
  .clinical-strip, .site-footer { align-items: flex-start; flex-direction: column; }
  .section, .contact { padding-left: 16px; padding-right: 16px; }
}

@media (max-width: 420px) {
  .schedule-grid { grid-template-columns: 1fr; }
  .preview-sidebar { grid-template-columns: 1fr 1fr; }
  .preview-sidebar button { min-height: 38px; font-size: 0.72rem; }
  .app-calendar-day {
    grid-template-columns: 46px minmax(0, 1fr);
  }
  .app-table-card table {
    min-width: 500px;
  }
  .app-clinical-card header img {
    width: 34px;
    height: 34px;
  }
}

/* ── Footer legal nav ──────────────────────────────────────────────── */
.footer-legal {
  display: flex;
  gap: 18px;
  flex-wrap: wrap;
}
.footer-legal a {
  font-size: 0.85rem;
  color: var(--muted);
  transition: color 180ms ease;
}
.footer-legal a:hover { color: var(--teal-dark); }
