/* ============================================================
   MEDCILIA — MARKETING SITE PAGES
   Built from the Figma v2 frames (file b9XOUqWAIMFD64RUAR6Z3h)
   Page 01 — Home (frame 23:1082)
   Tokens live in style.css; everything here is page-level.
   ============================================================ */

:root {
  --brand-600: #1a3d5e;
  --brand-700: #14263b;
  --brand-800: #0f1d2d;
  --brand-100: #e8eef4;
  --brand-200: #d8e2ec;
  --brand-tint: #eaf1f8;
  --ink: #1a1a1a;
  --ink-body: #4a4a4a;
  --ink-muted: #8a8a8a;
  --ink-logo: #9aa4ae;
  --hairline: #e4e4e7;
  --hairline-strong: #d4d4d8;
  --soft-band: #f7f9fb;
  --on-brand: #ffffff;
  --on-brand-muted: #b9cbdc;
  --on-brand-faint: #9ec4e6;
  --on-brand-label: #8fb3d9;
  --on-brand-line: #7f9dba;
  --success: #136f4e;
  --success-tint: #e8f5ef;

  --font: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  --shell: 1440px;
  --gutter: 120px;

  --shadow-float: 0 8px 9px rgba(26, 61, 94, 0.10);
  --shadow-window: 0 24px 60px rgba(26, 61, 94, 0.16);
}

* { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; }

body {
  overflow-x: hidden;
  margin: 0;
  font-family: var(--font);
  color: var(--ink);
  background: #fff;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

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

h1, h2, h3, p, figure, blockquote { margin: 0; }

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

/* ---------------- shared type ---------------- */

.eyebrow {
  font-size: 11px;
  font-weight: 600;
  line-height: 1.2;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  color: var(--ink-muted);
}

.eyebrow--onbrand { color: var(--on-brand-label); letter-spacing: 0.09em; }

.h2-lg {
  font-size: 44px;
  line-height: 48px;
  font-weight: 700;
  letter-spacing: -0.018em;
  color: var(--ink);
  max-width: 760px;
}

.h2--onbrand { color: var(--on-brand); }

.h2-md {
  font-size: 40px;
  line-height: 44px;
  font-weight: 700;
  letter-spacing: -0.016em;
  color: var(--ink);
  max-width: 460px;
}

.lead-17 {
  font-size: 17px;
  line-height: 27px;
  font-weight: 400;
  color: var(--ink-body);
  max-width: 600px;
}

.lead--onbrand { color: var(--on-brand-muted); }

.lead-16 {
  font-size: 16px;
  line-height: 26px;
  color: var(--ink-body);
  max-width: 420px;
}

/* ---------------- buttons ---------------- */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font);
  font-size: 14px;
  font-weight: 500;
  line-height: 1.2;
  white-space: nowrap;
  border: 1px solid transparent;
  border-radius: 0;
  padding: 12px 20px;
  cursor: pointer;
  transition: background-color 0.15s ease, border-color 0.15s ease, color 0.15s ease;
}

.btn-primary {
  background: var(--brand-600);
  color: #fff;
}
.btn-primary:hover { background: #15334f; }

.btn-secondary {
  background: #fff;
  border-color: var(--hairline-strong);
  color: var(--ink-body);
}
.btn-secondary:hover { border-color: #a1a1aa; color: var(--ink); }

.btn-on-brand {
  background: #fff;
  color: var(--brand-600);
  padding: 12px 18px;
}
.btn-on-brand:hover { background: #eef3f8; }

.btn-outline-brand {
  background: transparent;
  border-color: var(--on-brand-line);
  color: #fff;
  padding: 12px 18px;
}
.btn-outline-brand:hover { border-color: #fff; }

/* ---------------- header ---------------- */

.site-header {
  background: #fff;
  border-bottom: 1px solid var(--hairline);
  padding: 14px 48px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  position: relative;
  z-index: 20;
}

.lockup { display: inline-flex; align-items: center; gap: 14px; }

.lockup-mark {
  position: relative;
  display: block;
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: var(--brand-600);
  flex: none;
}
.lockup-mark i {
  position: absolute;
  top: 0;
  bottom: 0;
  margin: auto 0;
  width: 8px;
  height: 22px;
  background: #fff;
  border-radius: 1px;
}
.lockup-mark i:first-child { left: 13px; }
.lockup-mark i:last-child { right: 13px; height: 30px; }

.lockup-text { display: flex; flex-direction: column; gap: 2px; }

.lockup-word {
  font-size: 22px;
  line-height: 1;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--brand-600);
}

.lockup-tag {
  font-size: 12px;
  line-height: 1.2;
  color: var(--ink-muted);
}

.header-right { display: flex; align-items: center; gap: 28px; }

.nav { display: flex; align-items: center; gap: 22px; }
.nav a {
  font-size: 13px;
  font-weight: 500;
  color: var(--ink-body);
  padding: 4px 0;
  border-bottom: 1px solid transparent;
}
.nav a:hover { color: var(--brand-600); border-bottom-color: var(--brand-200); }
.nav a[aria-current="page"] { color: var(--brand-600); }

.lang-switch {
  display: inline-flex; align-items: center; justify-content: center;
  height: 36px; padding: 0 14px; border: 1px solid #e4e4e7; border-radius: 999px;
  font-size: 13px; font-weight: 500; color: #4a4a4a; letter-spacing: .2px;
  white-space: nowrap; text-decoration: none; transition: border-color .18s ease, color .18s ease;
}
.lang-switch:hover { border-color: #a1a1aa; color: #1a3d5e; }

/* ---------------- hero ---------------- */

.hero {
  position: relative;
  overflow: hidden;
  background: #fff;
  max-width: var(--shell);
  margin: 0 auto;
  padding: 76px 0 76px var(--gutter);
  display: flex;
  align-items: center;
  gap: 48px;
}

.hero-glow {
  position: absolute;
  right: -140px;
  top: -180px;
  width: 900px;
  height: 900px;
  border-radius: 50%;
  background: radial-gradient(circle at 50% 50%, rgba(234, 241, 248, 0.9) 0%, rgba(234, 241, 248, 0.35) 45%, rgba(255, 255, 255, 0) 70%);
  pointer-events: none;
}

@media (max-width: 900px) {
  .hero-glow {
    display: none;
  }
}

.hero-copy {
  position: relative;
  z-index: 2;
  width: 560px;
  flex: none;
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.badge-new {
  align-self: flex-start;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 14px;
  border-radius: 999px;
  background: var(--success-tint);
  color: var(--success);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}
.badge-dot {
  width: 6px;
  height: 6px;
  border-radius: 3px;
  background: var(--success);
}

.hero h1 {
  font-size: 60px;
  line-height: 64px;
  font-weight: 700;
  letter-spacing: -0.022em;
  color: var(--ink);
}

.hero-lead {
  font-size: 18px;
  line-height: 29px;
  color: var(--ink-body);
  max-width: 520px;
}

.hero-actions { display: flex; align-items: center; gap: 12px; }

.hero-proof {
  font-size: 13px;
  font-weight: 500;
  color: var(--ink-muted);
}

/* app window */

.hero-visual {
  position: relative;
  z-index: 1;
  width: 712px;
  height: 520px;
  flex: none;
}

.app-window {
  position: absolute;
  left: 72px;
  top: 56px;
  width: 700px;
  background: #fff;
  border: 1px solid var(--hairline);
  border-radius: 16px;
  box-shadow: var(--shadow-window);
  overflow: hidden;
}

.app-titlebar {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 9px 12px;
  background: var(--soft-band);
  border-bottom: 1px solid var(--hairline);
}
.app-dot { width: 7px; height: 7px; border-radius: 50%; display: block; }
.dot-r { background: #e5b4b4; }
.dot-y { background: #e6d3a8; }
.dot-g { background: #b3d1bd; }
.app-title {
  margin-left: 10px;
  font-size: 10px;
  color: #9aa4ae;
  letter-spacing: 0.01em;
}

.app-main { display: flex; min-height: 400px; }

.app-sidebar {
  width: 140px;
  flex: none;
  background: var(--brand-600);
  padding: 16px 12px;
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.app-nav {
  font-size: 11px;
  font-weight: 500;
  color: var(--on-brand-muted);
  padding: 7px 10px;
  border-radius: 6px;
}
.app-nav.is-active { background: #2a5b8f; color: #fff; }

.app-content {
  flex: 1;
  min-width: 0;
  background: #fff;
  padding: 16px 18px;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.metric-row { display: flex; gap: 10px; }

.metric {
  flex: 1;
  min-width: 0;
  border: 1px solid var(--hairline);
  border-radius: 10px;
  padding: 10px 11px;
  background: #fff;
  display: flex;
  flex-direction: column;
  gap: 3px;
}
.metric-label {
  font-size: 9px;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--ink-muted);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.metric-value {
  font-size: 20px;
  line-height: 1.1;
  font-weight: 700;
  color: var(--brand-600);
  letter-spacing: -0.01em;
}
.metric-value.is-good { color: #157a55; }
.metric-value.is-crit { color: #b3261e; }
.metric-foot { font-size: 9px; color: #9aa4ae; }

.patient-list { border: 1px solid var(--hairline); border-radius: 10px; overflow: hidden; }

.patient-row {
  display: grid;
  grid-template-columns: 1.25fr 1fr 0.9fr;
  align-items: center;
  gap: 10px;
  padding: 9px 12px;
  font-size: 10px;
  border-bottom: 1px solid #f0f1f3;
  color: var(--ink-body);
}
.patient-row:last-child { border-bottom: 0; }
.patient-row.is-head {
  background: var(--soft-band);
  font-size: 9px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--ink-muted);
}
.p-name { font-weight: 600; color: var(--ink); }
.p-meta { color: #9aa4ae; text-align: right; }

.status {
  justify-self: start;
  font-size: 9px;
  font-weight: 600;
  padding: 3px 8px;
  border-radius: 999px;
  white-space: nowrap;
}
.status-ok { background: #e6f4ed; color: #157a55; }
.status-warn { background: #fdf3e3; color: #8a5a12; }
.status-info { background: var(--brand-100); color: var(--brand-600); }

/* ---------------- trust strip ---------------- */

.trust-strip {
  background: #fff;
  border-top: 1px solid var(--hairline);
  border-bottom: 1px solid var(--hairline);
  max-width: var(--shell);
  margin: 0 auto;
  padding: 26px var(--gutter);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
}

.trust-label {
  width: 240px;
  flex: none;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ink-muted);
}

.trust-logos {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
  flex: 1;
  flex-wrap: wrap;
}
.trust-logos span {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.04em;
  color: var(--ink-logo);
  text-transform: uppercase;
}

/* ---------------- stats ---------------- */

.stats {
  background: #fff;
  max-width: var(--shell);
  margin: 0 auto;
  padding: 44px var(--gutter);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
}

.stat { display: flex; flex-direction: column; gap: 4px; padding: 0 28px; }
.stat:first-child { padding-left: 0; }
.stat:last-child { padding-right: 0; }

.stat-value {
  font-size: 40px;
  line-height: 44px;
  font-weight: 700;
  letter-spacing: -0.015em;
  color: var(--brand-600);
}
.stat-label { font-size: 14px; line-height: 1.4; color: var(--ink-body); }

.stat-divider { display: block; width: 1px; height: 56px; background: var(--hairline); flex: none; }

/* ---------------- products ---------------- */

.products {
  background: var(--soft-band);
  padding: 100px var(--gutter) 104px;
  display: flex;
  flex-direction: column;
  gap: 40px;
}
.products > * { max-width: 1200px; margin-left: auto; margin-right: auto; width: 100%; }

.product-grid { display: flex; flex-direction: column; gap: 20px; }
.product-row { display: flex; gap: 20px; }

.product-card {
  flex: 1;
  min-width: 0;
  background: #fff;
  border: 1px solid var(--hairline);
  border-radius: 16px;
  overflow: hidden;
  height: 296px;
  display: flex;
  flex-direction: column;
}

.card-visual {
  position: relative;
  height: 132px;
  flex: none;
  overflow: hidden;
  background: var(--brand-tint);
}
.vs-assistant { background: #eaf1f8; }
.vs-labs { background: #e7f4f0; }
.vs-patient { background: #edeafc; }
.vs-pharma { background: #f3eafb; }
.vs-diagnosis { background: #fdeee6; }
.vs-hims { background: #e8f5ec; }

.orb {
  position: absolute;
  left: 262px;
  top: -38px;
  width: 150px;
  height: 150px;
  border-radius: 75px;
  background: rgba(var(--accent, 37, 99, 235), 0.13);
}

.card-visual[data-accent="37,99,235"] { --accent: 37, 99, 235; }
.card-visual[data-accent="19,132,110"] { --accent: 19, 132, 110; }
.card-visual[data-accent="99,102,241"] { --accent: 99, 102, 241; }
.card-visual[data-accent="147,51,234"] { --accent: 147, 51, 234; }
.card-visual[data-accent="234,88,12"] { --accent: 234, 88, 12; }
.card-visual[data-accent="22,163,74"] { --accent: 22, 163, 74; }

.mini-ui {
  position: absolute;
  left: 28px;
  top: 38px;
  width: 124px;
  height: 70px;
  background: #fff;
  border: 1px solid var(--hairline);
  border-radius: 10px;
  box-shadow: var(--shadow-float);
  padding: 10px;
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.mini-ui .bar { display: block; height: 6px; border-radius: 3px; }
.bar-1 { width: 64px; background: rgba(var(--accent, 37, 99, 235), 0.55); }
.bar-2 { width: 42px; background: #dfe3e8; }
.bar-3 { width: 86px; background: #eceff3; }

.card-body {
  flex: 1;
  min-height: 0;
  padding: 20px 22px 22px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.card-body h3 {
  font-size: 19px;
  line-height: 1.3;
  font-weight: 600;
  color: var(--ink);
}
.card-body p {
  font-size: 15px;
  line-height: 23px;
  color: var(--ink-body);
}
.more {
  margin-top: auto;
  font-size: 14px;
  font-weight: 500;
  color: var(--brand-600);
}
.more:hover { text-decoration: underline; }

/* ---------------- AI band ---------------- */

.ai-band {
  background: var(--brand-600);
  padding: 96px var(--gutter);
  display: flex;
  flex-direction: column;
  gap: 28px;
}
.ai-band > * { max-width: 1200px; margin-left: auto; margin-right: auto; width: 100%; }

.ai-features {
  display: flex;
  gap: 56px;
  align-items: flex-start;
  padding-top: 16px;
}
.ai-feature { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 10px; }

.ai-chip {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.1);
  color: #fff;
  font-size: 15px;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.ai-feature h3 { font-size: 18px; font-weight: 600; color: #fff; }
.ai-feature p { font-size: 15px; line-height: 24px; color: var(--on-brand-muted); }
.ai-stat { font-size: 13px; font-weight: 500; color: var(--on-brand-faint); }

.ai-divider {
  display: block;
  width: 100%;
  max-width: 1200px;
  height: 1px;
  background: rgba(255, 255, 255, 0.14);
}

/* ---------------- testimonial ---------------- */

.testimonial {
  background: #fff;
  max-width: var(--shell);
  margin: 0 auto;
  padding: 96px var(--gutter);
  display: flex;
  align-items: center;
  gap: 64px;
}

.photo-stage { position: relative; width: 496px; height: 432px; flex: none; }

.photo-frame {
  position: absolute;
  left: 0;
  top: 0;
  width: 456px;
  height: 400px;
  border-radius: 20px;
  overflow: hidden;
  background: #e7ecf1;
}
.photo-frame img { width: 100%; height: 100%; object-fit: cover; }

.float-card {
  position: absolute;
  background: #fff;
  border: 1px solid var(--hairline);
  border-radius: 14px;
  box-shadow: var(--shadow-float);
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.float-occupancy { left: 300px; top: 336px; width: 196px; padding: 16px 18px; }

.fc-label {
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  color: var(--ink-muted);
}
.fc-value {
  font-size: 26px;
  line-height: 30px;
  font-weight: 700;
  color: var(--brand-600);
}
.fc-sub { font-size: 12px; color: var(--ink-muted); }

.quote-col {
  width: 640px;
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 22px;
}

.quote-mark {
  font-size: 56px;
  line-height: 0.6;
  color: var(--brand-200);
  font-weight: 700;
}

.quote {
  font-size: 28px;
  line-height: 40px;
  font-weight: 500;
  letter-spacing: -0.008em;
  color: var(--ink);
  max-width: 600px;
}

.attribution { display: flex; align-items: center; gap: 14px; }

.avatar {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: #dfe7ee;
  color: var(--brand-600);
  font-size: 13px;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: none;
}

.who { display: flex; flex-direction: column; gap: 2px; }
.who-name { font-size: 15px; font-weight: 600; color: var(--ink); }
.who-role { font-size: 13px; color: var(--ink-muted); }

/* ---------------- ecosystem ---------------- */

.ecosystem {
  background: var(--soft-band);
  padding: 96px var(--gutter);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 72px;
}
.ecosystem > * { flex: none; }

.eco-copy { width: 500px; display: flex; flex-direction: column; gap: 18px; }

.standards {
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.03em;
  color: var(--ink-muted);
  padding-top: 6px;
}

.chips { width: 628px; display: flex; flex-direction: column; gap: 12px; }
.chip-row { display: flex; gap: 12px; }

.chip {
  flex: 1;
  min-width: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: #fff;
  border: 1px solid var(--hairline);
  border-radius: 999px;
  padding: 13px 20px;
  font-size: 15px;
  font-weight: 500;
  color: var(--ink-body);
  white-space: nowrap;
}
.chip--more { color: var(--ink-muted); }

/* ---------------- CTA ---------------- */

.cta-wrap { background: #fff; padding: 0 var(--gutter) 104px; }

.cta-band {
  background: var(--brand-600);
  border-radius: 24px;
  padding: 72px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 48px;
  max-width: 1200px;
  margin: 0 auto;
}

.cta-copy { width: 620px; display: flex; flex-direction: column; gap: 16px; }

.cta-copy h2 {
  font-size: 42px;
  line-height: 48px;
  font-weight: 700;
  letter-spacing: -0.016em;
  color: #fff;
  max-width: 560px;
}

.cta-lead { font-size: 16px; line-height: 26px; color: var(--on-brand-muted); max-width: 480px; }

.cta-actions { display: flex; flex-direction: column; align-items: flex-end; gap: 14px; flex: none; }
.cta-row { display: flex; gap: 12px; }
.cta-note { font-size: 13px; font-weight: 500; color: var(--on-brand-faint); }

/* ---------------- footer ---------------- */

.site-footer {
  background: var(--brand-700);
  padding: 56px 48px 32px;
  color: var(--on-brand-muted);
}

.footer-top {
  display: flex;
  gap: 64px;
  align-items: flex-start;
  justify-content: space-between;
  max-width: 1344px;
  margin: 0 auto;
}

.footer-brand { width: 360px; flex: none; display: flex; flex-direction: column; gap: 16px; }

.lockup--light .lockup-mark { background: #fff; }
.lockup--light .lockup-mark i { background: var(--brand-700); }
.lockup--light .lockup-word { color: #fff; }

.footer-tagline { font-size: 13px; line-height: 21px; color: var(--on-brand-faint); max-width: 340px; }

.footer-col { display: flex; flex-direction: column; gap: 10px; min-width: 180px; }
.footer-label {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--on-brand-label);
  margin-bottom: 4px;
}
.footer-col a { font-size: 13px; line-height: 1.5; color: var(--on-brand-muted); }
.footer-col a:hover { color: #fff; }

.footer-divider {
  display: block;
  height: 1px;
  background: rgba(255, 255, 255, 0.12);
  margin: 32px auto;
  max-width: 1344px;
}

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  max-width: 1344px;
  margin: 0 auto;
  font-size: 12px;
  color: var(--on-brand-line);
}

/* ---------------- responsive ---------------- */

@media (max-width: 1320px) {
  :root { --gutter: 64px; }
  .hero { padding-right: var(--gutter); gap: 32px; }
  .hero-visual { width: 560px; height: 440px; }
  .app-window { left: 24px; top: 40px; width: 600px; }
  .app-main { min-height: 320px; }
  .ecosystem { gap: 40px; }
  .eco-copy { width: 420px; }
  .chips { width: 520px; }
  .quote-col { width: auto; }
  .quote { font-size: 25px; line-height: 36px; }
  .photo-stage { width: 440px; height: 400px; }
  .photo-frame { width: 400px; height: 356px; }
  .float-occupancy { left: 264px; top: 300px; }
}

@media (max-width: 1080px) {
  .hero { flex-direction: column; align-items: flex-start; padding: 56px var(--gutter) 64px; }
  .hero-copy { width: 100%; max-width: 620px; }
  .hero-visual { width: 100%; height: auto; }
  .app-window { position: relative; left: 0; top: 0; width: 100%; }
  .hero h1 { font-size: 48px; line-height: 54px; }

  .trust-strip { flex-direction: column; align-items: flex-start; gap: 18px; padding: 22px var(--gutter); }
  .trust-label { width: auto; }
  .trust-logos { gap: 24px 32px; justify-content: flex-start; }

  .stats { flex-wrap: wrap; gap: 28px 0; justify-content: flex-start; }
  .stat { width: 50%; padding: 0; }
  .stat-divider { display: none; }
  .stat-value { font-size: 34px; line-height: 38px; }

  .product-row { flex-wrap: wrap; }
  .product-card { flex: 1 1 calc(50% - 10px); min-width: 260px; }

  .ai-band { padding: 72px var(--gutter); }
  .ai-features { flex-direction: column; gap: 32px; }

  .testimonial { flex-direction: column; align-items: flex-start; gap: 40px; padding: 72px var(--gutter); }
  .photo-stage { width: 100%; max-width: 456px; height: auto; padding-bottom: 96px; }
  .photo-frame { position: relative; width: 100%; height: auto; aspect-ratio: 456 / 400; }
  .float-occupancy { left: auto; right: 0; top: auto; bottom: 0; }

  .ecosystem { flex-direction: column; align-items: flex-start; gap: 32px; }
  .eco-copy, .chips { width: 100%; max-width: 560px; }
  .chip-row { flex-wrap: wrap; }
  .chip { flex: 1 1 calc(50% - 6px); }

  .cta-band { flex-direction: column; align-items: flex-start; padding: 48px; gap: 32px; }
  .cta-copy { width: 100%; }
  .cta-copy h2 { font-size: 34px; line-height: 40px; }
  .cta-actions { align-items: flex-start; }

  .footer-top { flex-wrap: wrap; gap: 40px; }
  .footer-brand { width: 100%; }
}

@media (max-width: 720px) {
  :root { --gutter: 24px; }

  .site-header { padding: 12px 24px; gap: 12px; }
  .nav { display: none; }
  .lockup-mark { width: 38px; height: 38px; border-radius: 10px; }
  .lockup-mark i { width: 7px; height: 18px; }
  .lockup-mark i:first-child { left: 11px; }
  .lockup-mark i:last-child { right: 11px; height: 26px; }
  .lockup-word { font-size: 19px; }
  .lockup-tag { display: none; }

  .hero { padding: 40px var(--gutter) 48px; gap: 32px; }
  .hero h1 { font-size: 38px; line-height: 44px; letter-spacing: -0.02em; }
  .hero-lead { font-size: 16px; line-height: 26px; }
  .hero-actions { flex-wrap: wrap; }
  .hero-visual { overflow: hidden; }
  .app-sidebar { display: none; }
  .app-main { min-height: 0; }
  .metric-row { flex-wrap: wrap; }
  .metric { flex: 1 1 calc(50% - 5px); }
  .patient-row { grid-template-columns: 1.2fr 1fr; }
  .patient-row .p-meta { display: none; }

  .h2-lg { font-size: 32px; line-height: 38px; }
  .h2-md { font-size: 30px; line-height: 36px; }
  .lead-17 { font-size: 16px; line-height: 26px; }

  .products { padding: 64px var(--gutter) 72px; }
  .product-card { flex: 1 1 100%; }
  .products, .ai-band { gap: 28px; }

  .ai-band { padding: 56px var(--gutter); }

  .testimonial { padding: 56px var(--gutter); }
  .quote { font-size: 22px; line-height: 32px; }
  .quote-mark { font-size: 44px; }

  .ecosystem { padding: 56px var(--gutter); }
  .chip { flex: 1 1 100%; }

  .cta-wrap { padding-bottom: 64px; }
  .cta-band { padding: 32px 24px; border-radius: 18px; }
  .cta-copy h2 { font-size: 28px; line-height: 34px; }
  .cta-row { flex-wrap: wrap; }

  .site-footer { padding: 40px 24px 28px; }
  .footer-col { min-width: 140px; flex: 1 1 40%; }
  .footer-bottom { flex-direction: column; align-items: flex-start; gap: 8px; }
}
