:root {
  --primary: #00abe4;
  --primary-strong: #007eb2;
  --primary-soft: #dff6ff;
  --mint: #2dc8a8;
  --mint-soft: #e6fbf5;
  --coral: #f27c72;
  --coral-soft: #fff0ed;
  --amber: #f4b740;
  --amber-soft: #fff8e8;
  --ink: #152230;
  --muted: #657487;
  --soft: #f4f8fb;
  --surface: #ffffff;
  --border: #dbe7f0;
  --line: rgba(21, 34, 48, 0.1);
  --shadow: 0 24px 70px rgba(21, 34, 48, 0.12);
  --radius: 8px;
  --container: 1180px;
  --font-body: "Manrope", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --font-display: "Sora", var(--font-body);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: #fff;
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.7;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

img {
  display: block;
  max-width: 100%;
}

a {
  color: inherit;
  text-decoration: none;
}

button,
input,
select,
textarea {
  font: inherit;
}

.container {
  width: min(100% - 40px, var(--container));
  margin: 0 auto;
}

.section-pad {
  padding: 108px 0;
}

.skip-link {
  position: fixed;
  top: 12px;
  left: 12px;
  z-index: 100;
  transform: translateY(-160%);
  padding: 10px 14px;
  border-radius: var(--radius);
  background: var(--ink);
  color: #fff;
}

.skip-link:focus {
  transform: translateY(0);
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 50;
  padding: 22px 0;
  transition: background 0.25s ease, box-shadow 0.25s ease, padding 0.25s ease;
}

.site-header.is-scrolled {
  padding: 12px 0;
  background: rgba(255, 255, 255, 0.94);
  box-shadow: 0 12px 32px rgba(21, 34, 48, 0.08);
  backdrop-filter: blur(16px);
}

.legal-header {
  background: rgba(255, 255, 255, 0.96);
  box-shadow: 0 12px 32px rgba(21, 34, 48, 0.08);
}

.header-inner,
.site-nav,
.hero-actions,
.hero-proof,
.dash-topbar,
.panel-heading,
.shell-header,
.patient-line,
.progress-board > div,
.footer-bottom {
  display: flex;
  align-items: center;
}

.header-inner {
  justify-content: space-between;
  gap: 28px;
}

.brand img {
  width: 176px;
  height: auto;
}

.site-nav {
  gap: 30px;
  color: #3b4856;
  font-size: 14px;
  font-weight: 800;
}

.site-nav a {
  position: relative;
}

.site-nav a::after {
  position: absolute;
  right: 0;
  bottom: -8px;
  left: 0;
  height: 2px;
  background: var(--primary);
  content: "";
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 0.2s ease;
}

.site-nav a:hover::after,
.site-nav a:focus-visible::after {
  transform: scaleX(1);
  transform-origin: left;
}

.nav-action,
.btn {
  display: inline-flex;
  min-height: 48px;
  align-items: center;
  justify-content: center;
  padding: 0 22px;
  border: 1px solid transparent;
  border-radius: var(--radius);
  font-size: 14px;
  font-weight: 800;
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease, background 0.2s ease;
}

.nav-action,
.btn-primary {
  color: #fff;
  background: var(--primary);
  box-shadow: 0 18px 35px rgba(0, 171, 228, 0.25);
}

.btn-soft {
  color: var(--primary-strong);
  background: var(--primary-soft);
  border-color: #b8ebfb;
}

.nav-action:hover,
.btn:hover {
  transform: translateY(-2px);
}

.menu-toggle {
  display: none;
  width: 46px;
  height: 46px;
  border: 0;
  border-radius: var(--radius);
  background: var(--primary-soft);
}

.menu-toggle span:not(.sr-only) {
  display: block;
  width: 22px;
  height: 2px;
  margin: 5px auto;
  background: var(--primary-strong);
}

.hero {
  position: relative;
  min-height: 780px;
  overflow: hidden;
  padding-top: 160px;
  background:
    linear-gradient(120deg, rgba(223, 246, 255, 0.96) 0%, rgba(255, 255, 255, 0.98) 48%, rgba(230, 251, 245, 0.92) 100%);
}

.hero-gridline {
  position: absolute;
  inset: 0;
  opacity: 0.38;
  background-image:
    linear-gradient(var(--line) 1px, transparent 1px),
    linear-gradient(90deg, var(--line) 1px, transparent 1px);
  background-size: 58px 58px;
  mask-image: linear-gradient(90deg, transparent, #000 18%, #000 82%, transparent);
  pointer-events: none;
}

.hero-grid {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 0.94fr) minmax(500px, 1fr);
  align-items: center;
  gap: 76px;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  color: var(--primary-strong);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0;
  text-transform: uppercase;
}

.eyebrow::before {
  width: 32px;
  height: 2px;
  background: var(--primary);
  content: "";
}

h1,
h2,
h3 {
  margin: 0;
  font-family: var(--font-display);
  line-height: 1.08;
  letter-spacing: 0;
  text-wrap: balance;
}

h1 {
  max-width: 720px;
  margin-top: 18px;
  font-size: 60px;
  font-weight: 800;
}

h2 {
  font-size: 44px;
  font-weight: 700;
}

h3 {
  font-size: 20px;
  font-weight: 700;
}

.hero-copy p,
.section-title p,
.split-copy p,
.security-copy p,
.newsletter-panel p {
  color: var(--muted);
  font-size: 17px;
  line-height: 1.78;
}

.hero-copy p {
  max-width: 650px;
  margin: 24px 0 0;
  font-size: 18px;
}

.hero-actions,
.hero-proof {
  flex-wrap: wrap;
  gap: 14px;
}

.hero-actions {
  margin-top: 34px;
}

.hero-proof {
  margin-top: 28px;
}

.hero-proof span {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 14px;
  border: 1px solid rgba(0, 171, 228, 0.2);
  border-radius: var(--radius);
  color: #536173;
  background: rgba(255, 255, 255, 0.82);
  font-size: 13px;
  font-weight: 700;
}

.hero-proof strong {
  color: var(--primary-strong);
}

.hero-visual {
  position: relative;
  min-height: 560px;
}

.dashboard-card,
.floating-card,
.feature-card,
.differentiator-card,
.process-card,
.security-card,
.count-card,
.roadmap-card,
.newsletter-panel {
  border: 1px solid rgba(219, 231, 240, 0.9);
  border-radius: var(--radius);
  background: var(--surface);
  box-shadow: var(--shadow);
}

.main-dashboard {
  position: relative;
  z-index: 2;
  padding: 26px;
  transform: perspective(1100px) rotateY(-8deg) rotateX(4deg);
}

.main-dashboard::before {
  position: absolute;
  inset: 20px -24px -24px 34px;
  z-index: -1;
  border-radius: var(--radius);
  background: rgba(0, 171, 228, 0.12);
  content: "";
}

.dash-topbar,
.panel-heading,
.shell-header,
.patient-line,
.progress-board > div,
.footer-bottom {
  justify-content: space-between;
  gap: 16px;
}

.mini-label {
  display: block;
  color: var(--muted);
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
}

.dash-topbar strong {
  display: block;
  margin-top: 3px;
  font-family: var(--font-display);
  font-size: 24px;
  line-height: 1.15;
}

.status-pill {
  padding: 8px 12px;
  border-radius: var(--radius);
  color: #087a69;
  background: var(--mint-soft);
  font-size: 12px;
  font-weight: 800;
}

.metric-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
  margin-top: 24px;
}

.metric-card {
  min-height: 126px;
  padding: 18px;
  border-radius: var(--radius);
  background: #f7fbfe;
}

.metric-card.accent {
  background: var(--mint-soft);
}

.metric-card.warm {
  background: var(--amber-soft);
}

.metric-card span,
.metric-card small {
  display: block;
  color: var(--muted);
  font-size: 12px;
  font-weight: 700;
}

.metric-card strong {
  display: block;
  margin: 8px 0;
  font-family: var(--font-display);
  font-size: 36px;
  font-weight: 800;
  line-height: 1;
}

.schedule-panel {
  margin-top: 18px;
  padding: 20px;
  border-radius: var(--radius);
  background: #fbfdff;
}

.panel-heading span {
  color: var(--primary-strong);
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
}

.appointment {
  display: grid;
  grid-template-columns: 62px 1fr;
  gap: 12px;
  margin-top: 14px;
  padding: 14px;
  border: 1px solid var(--border);
  border-left: 4px solid var(--primary);
  border-radius: var(--radius);
  background: #fff;
}

.appointment.done {
  border-left-color: var(--mint);
}

.appointment.live {
  border-left-color: var(--coral);
}

.appointment span {
  color: var(--ink);
  font-weight: 800;
}

.appointment p {
  margin: 0;
  color: #344054;
  font-weight: 800;
}

.appointment small {
  display: block;
  color: var(--muted);
  font-weight: 500;
}

.floating-card {
  position: absolute;
  z-index: 3;
  width: 260px;
  padding: 18px;
}

.floating-card strong {
  display: block;
  margin-top: 3px;
  font-family: var(--font-display);
  font-size: 18px;
  line-height: 1.25;
}

.floating-card p {
  margin: 8px 0 0;
  color: var(--muted);
  font-size: 13px;
}

.patient-card {
  top: 54px;
  left: -10px;
}

.protocol-card {
  right: -12px;
  bottom: 54px;
}

.market-strip {
  padding: 34px 0;
  border-block: 1px solid var(--border);
  background: #fff;
}

.market-inner {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 34px;
}

.market-inner p {
  margin: 0;
  color: var(--muted);
  font-weight: 800;
}

.market-items {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 14px;
}

.market-items span {
  padding: 10px 18px;
  border-radius: var(--radius);
  color: #536173;
  background: var(--soft);
  font-size: 14px;
  font-weight: 800;
}

.section-title {
  max-width: 760px;
  margin-bottom: 56px;
}

.section-title.centered {
  margin-inline: auto;
  text-align: center;
}

.section-title.centered .eyebrow {
  justify-content: center;
}

.section-title h2,
.split-copy h2,
.security-copy h2,
.newsletter-panel h2 {
  margin-top: 14px;
}

.feature-grid,
.differentiator-grid,
.process-grid,
.security-cards,
.count-grid,
.roadmap-grid {
  display: grid;
  gap: 24px;
}

.feature-grid {
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

.feature-card,
.differentiator-card,
.process-card,
.roadmap-card {
  padding: 30px;
  box-shadow: 0 18px 50px rgba(21, 34, 48, 0.08);
}

.feature-card p,
.differentiator-card p,
.process-card p,
.roadmap-card p,
.site-footer p {
  color: var(--muted);
  line-height: 1.74;
}

.icon-box {
  position: relative;
  width: 62px;
  height: 62px;
  margin-bottom: 24px;
  border-radius: var(--radius);
  background: var(--primary-soft);
}

.icon-box::before,
.icon-box::after {
  position: absolute;
  content: "";
}

.calendar-icon::before {
  inset: 16px 12px 12px;
  border: 3px solid var(--primary);
  border-radius: 6px;
}

.calendar-icon::after {
  top: 28px;
  right: 18px;
  left: 18px;
  height: 3px;
  background: var(--primary);
}

.record-icon {
  background: var(--coral-soft);
}

.record-icon::before {
  inset: 12px 17px;
  border: 3px solid var(--coral);
  border-radius: 6px;
}

.record-icon::after {
  top: 24px;
  left: 24px;
  width: 15px;
  height: 3px;
  box-shadow: 0 9px 0 var(--coral), 0 18px 0 var(--coral);
  background: var(--coral);
}

.protocol-icon {
  background: var(--mint-soft);
}

.protocol-icon::before {
  right: 14px;
  bottom: 14px;
  left: 14px;
  height: 28px;
  border-bottom: 4px solid var(--mint);
  border-left: 4px solid var(--mint);
}

.protocol-icon::after {
  right: 13px;
  bottom: 19px;
  width: 28px;
  height: 18px;
  border-top: 4px solid var(--mint);
  border-right: 4px solid var(--mint);
  transform: skewY(-18deg);
}

.differentiator-section,
.security-section,
.roadmap-section {
  background: var(--soft);
}

.differentiator-grid {
  grid-template-columns: repeat(4, 1fr);
}

.differentiator-card span,
.process-card span,
.roadmap-card span {
  display: inline-flex;
  margin-bottom: 20px;
  color: var(--primary-strong);
  font-weight: 800;
}

.split-section {
  background: #fff;
}

.split-grid,
.security-grid {
  display: grid;
  grid-template-columns: 1fr 0.9fr;
  align-items: center;
  gap: 70px;
}

.product-illustration {
  min-height: 470px;
}

.app-shell {
  display: grid;
  grid-template-columns: 160px 1fr;
  min-height: 430px;
  overflow: hidden;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: #fff;
  box-shadow: var(--shadow);
}

.app-shell aside {
  padding: 28px 18px;
  background: #16232f;
}

.app-shell aside span {
  display: block;
  width: 48px;
  height: 10px;
  margin-bottom: 34px;
  border-radius: 4px;
  background: var(--primary);
}

.app-shell aside b {
  display: block;
  margin-bottom: 14px;
  padding: 11px 12px;
  border-radius: var(--radius);
  color: #dbe8f1;
  background: rgba(255, 255, 255, 0.08);
  font-size: 13px;
}

.app-shell section {
  padding: 28px;
}

.shell-header {
  margin-bottom: 24px;
}

.shell-header span {
  padding: 7px 10px;
  border-radius: var(--radius);
  color: #087a69;
  background: var(--mint-soft);
  font-size: 12px;
  font-weight: 800;
}

.patient-line {
  padding: 16px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
}

.patient-line span {
  width: 42px;
  height: 42px;
  border-radius: 8px;
  background: var(--primary-soft);
}

.patient-line p {
  flex: 1;
  margin: 0;
  font-weight: 800;
}

.patient-line a {
  color: var(--primary-strong);
  font-size: 13px;
  font-weight: 800;
}

.chart-lines {
  display: grid;
  gap: 12px;
  margin: 26px 0;
}

.chart-lines i {
  display: block;
  height: 12px;
  border-radius: 5px;
  background: #edf3f7;
}

.chart-lines i:nth-child(2) {
  width: 78%;
}

.chart-lines i:nth-child(3) {
  width: 88%;
}

.chart-lines i:nth-child(4) {
  width: 64%;
}

.progress-board {
  display: grid;
  gap: 14px;
}

.progress-board > div {
  padding: 16px;
  border-radius: var(--radius);
  background: var(--soft);
}

.progress-board span {
  color: var(--primary-strong);
  font-size: 13px;
  font-weight: 700;
}

.module-list {
  display: grid;
  gap: 16px;
  margin-top: 30px;
}

.module-list div {
  padding: 18px 20px;
  border-left: 4px solid var(--primary);
  border-radius: var(--radius);
  background: #fff;
  box-shadow: 0 12px 30px rgba(21, 34, 48, 0.06);
}

.module-list strong,
.module-list span {
  display: block;
}

.module-list span {
  margin-top: 4px;
  color: var(--muted);
}

.process-grid {
  grid-template-columns: repeat(4, 1fr);
}

.security-grid {
  grid-template-columns: 0.9fr 1fr;
}

.claim-note {
  padding: 14px 16px;
  border-left: 4px solid var(--amber);
  border-radius: var(--radius);
  background: var(--amber-soft);
  font-size: 14px;
}

.security-cards {
  grid-template-columns: repeat(2, 1fr);
}

.security-card {
  min-height: 180px;
  padding: 28px;
  box-shadow: 0 16px 40px rgba(21, 34, 48, 0.08);
}

.security-card strong,
.security-card span {
  display: block;
}

.security-card span {
  margin-top: 12px;
  color: var(--muted);
}

.count-grid {
  grid-template-columns: repeat(4, 1fr);
}

.count-card {
  padding: 28px;
  text-align: center;
  box-shadow: 0 16px 44px rgba(21, 34, 48, 0.08);
}

.count-card strong {
  display: block;
  color: var(--primary);
  font-family: var(--font-display);
  font-size: 46px;
  font-weight: 800;
  line-height: 1;
}

.count-card span {
  display: block;
  margin-top: 10px;
  color: var(--muted);
  font-weight: 700;
}

.roadmap-grid {
  grid-template-columns: repeat(3, 1fr);
}

.newsletter-section {
  padding: 0 0 100px;
  background: var(--soft);
}

.newsletter-panel {
  display: grid;
  grid-template-columns: 0.9fr minmax(390px, 0.82fr);
  align-items: center;
  gap: 42px;
  padding: 48px;
}

.lead-form {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
  padding: 18px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: #fff;
}

.lead-form label {
  display: grid;
  gap: 7px;
  color: #425063;
  font-size: 12px;
  font-weight: 800;
}

.lead-form input,
.lead-form select {
  min-width: 0;
  min-height: 48px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 0 13px;
  color: var(--ink);
  background: #fff;
  outline: 0;
}

.lead-form .consent-field {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: 20px 1fr;
  align-items: start;
  gap: 10px;
  padding: 12px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: #fbfdff;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.5;
}

.lead-form .consent-field input {
  min-height: auto;
  margin: 3px 0 0;
  padding: 0;
}

.lead-form input:focus,
.lead-form select:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 4px rgba(0, 171, 228, 0.12);
}

.lead-form button,
.form-note {
  grid-column: 1 / -1;
}

.form-note {
  margin: 0;
  color: var(--muted);
  font-size: 12px;
}

.consent-field {
  grid-column: 1 / -1;
  display: flex !important;
  align-items: flex-start;
  gap: 10px !important;
  color: #425063;
  font-size: 12px;
  font-weight: 700;
}

.consent-field input[type="checkbox"] {
  width: 18px;
  height: 18px;
  margin-top: 2px;
}

.consent-field a {
  color: var(--primary-strong);
  text-decoration: underline;
}

.site-footer {
  padding: 70px 0 30px;
  color: #d8e3ea;
  background: #16232f;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 40px;
  align-items: start;
}

.site-footer img {
  width: 168px;
}

.site-footer p {
  max-width: 430px;
  color: #aebdca;
}

.site-footer a {
  color: inherit;
}

.legal-main {
  background: #fff;
}

.legal-hero {
  padding: 170px 0 70px;
  background:
    linear-gradient(120deg, rgba(223, 246, 255, 0.96) 0%, rgba(255, 255, 255, 0.98) 58%, rgba(230, 251, 245, 0.92) 100%);
}

.legal-hero h1 {
  max-width: 820px;
}

.legal-hero p {
  max-width: 760px;
  color: var(--muted);
  font-size: 18px;
}

.legal-content {
  padding: 72px 0 110px;
}

.legal-grid {
  display: grid;
  grid-template-columns: minmax(0, 860px);
}

.legal-content article {
  padding: 44px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: #fff;
  box-shadow: 0 18px 50px rgba(21, 34, 48, 0.08);
}

.legal-content h2 {
  margin-top: 34px;
  font-size: 24px;
}

.legal-content h2:first-child {
  margin-top: 0;
}

.legal-content p {
  margin: 12px 0 0;
  color: var(--muted);
}

.site-footer nav {
  display: flex;
  flex-wrap: wrap;
  gap: 22px;
  font-weight: 700;
}

.footer-bottom {
  gap: 20px;
  margin-top: 44px;
  padding-top: 24px;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  color: #aebdca;
  font-size: 14px;
}

.legal-page .site-header {
  background: rgba(255, 255, 255, 0.96);
}

.legal-main {
  padding-top: 132px;
  padding-bottom: 90px;
  background: var(--soft);
}

.legal-shell {
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: #fff;
  box-shadow: 0 16px 44px rgba(21, 34, 48, 0.08);
  padding: 34px;
}

.legal-shell h1 {
  font-size: 42px;
  margin-bottom: 12px;
}

.legal-shell h2 {
  margin-top: 34px;
  font-size: 28px;
}

.legal-shell p,
.legal-shell li {
  color: #3f4d5e;
}

.legal-shell ul {
  margin: 0;
  padding-left: 20px;
  display: grid;
  gap: 10px;
}

.legal-meta {
  color: var(--muted);
  font-size: 14px;
}

.legal-link-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 24px;
}

.legal-link-row a {
  padding: 8px 12px;
  border-radius: var(--radius);
  background: var(--primary-soft);
  color: var(--primary-strong);
  font-size: 13px;
  font-weight: 800;
}

.reveal {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 0.55s ease, transform 0.55s ease;
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

:focus-visible {
  outline: 3px solid rgba(0, 171, 228, 0.45);
  outline-offset: 4px;
}

@media (max-width: 1080px) {
  .nav-action {
    display: none;
  }

  .hero-grid,
  .split-grid,
  .security-grid {
    grid-template-columns: 1fr;
  }

  .hero-grid {
    gap: 50px;
  }

  .hero-visual {
    min-height: 510px;
  }

  .feature-grid,
  .roadmap-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .differentiator-grid,
  .process-grid,
  .count-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .newsletter-panel {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 820px) {
  .container {
    width: min(100% - 28px, var(--container));
  }

  .section-pad {
    padding: 76px 0;
  }

  .site-header {
    padding: 14px 0;
    background: rgba(255, 255, 255, 0.96);
  }

  .menu-toggle {
    display: block;
  }

  .site-nav {
    position: fixed;
    top: 74px;
    right: 14px;
    left: 14px;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 14px;
    border: 1px solid var(--border);
    border-radius: var(--radius);
    background: #fff;
    box-shadow: var(--shadow);
  }

  .legal-nav {
    position: static;
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    padding: 0;
    border: 0;
    box-shadow: none;
    background: transparent;
  }

  .site-nav.is-open {
    display: flex;
  }

  .site-nav a {
    padding: 13px 10px;
  }

  .site-nav a::after {
    display: none;
  }

  .hero {
    min-height: auto;
    padding-top: 128px;
  }

  h1 {
    font-size: 42px;
    line-height: 1.1;
  }

  h2 {
    font-size: 32px;
    line-height: 1.12;
  }

  .main-dashboard {
    transform: none;
  }

  .floating-card {
    position: static;
    width: auto;
    margin-top: 14px;
  }

  .hero-visual {
    min-height: auto;
  }

  .market-inner {
    flex-direction: column;
    gap: 16px;
    text-align: center;
  }

  .feature-grid,
  .security-cards,
  .roadmap-grid {
    grid-template-columns: 1fr;
  }

  .app-shell {
    grid-template-columns: 1fr;
  }

  .app-shell aside {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
  }

  .app-shell aside span {
    width: 34px;
    margin: 0 12px 0 0;
  }

  .app-shell aside b {
    margin: 0;
  }

  .lead-form {
    grid-template-columns: 1fr;
  }

  .legal-hero {
    padding-top: 128px;
  }

  .legal-content article {
    padding: 28px;
  }

  .footer-grid,
  .footer-bottom {
    grid-template-columns: 1fr;
    flex-direction: column;
  }

  .legal-shell {
    padding: 24px;
  }

  .legal-shell h1 {
    font-size: 34px;
  }

  .legal-shell h2 {
    font-size: 24px;
  }
}

@media (max-width: 560px) {
  .brand img {
    width: 142px;
  }

  h1 {
    font-size: 34px;
    line-height: 1.12;
  }

  h2 {
    font-size: 27px;
    line-height: 1.16;
  }

  .hero-actions,
  .hero-proof {
    flex-direction: column;
  }

  .btn,
  .hero-proof span {
    width: 100%;
  }

  .metric-row,
  .differentiator-grid,
  .process-grid,
  .count-grid {
    grid-template-columns: 1fr;
  }

  .dash-topbar,
  .panel-heading,
  .shell-header,
  .patient-line,
  .progress-board > div {
    align-items: flex-start;
    flex-direction: column;
  }

  .appointment {
    grid-template-columns: 1fr;
  }

  .feature-card,
  .differentiator-card,
  .process-card,
  .security-card,
  .roadmap-card,
  .newsletter-panel {
    padding: 24px;
  }
}
