:root {
  color-scheme: light;
  --bg: #F7F7F5;
  --bg-soft: #F1F1EF;
  --ink: #0F2430;
  --muted: #5A727C;
  --line: rgba(15, 36, 48, .10);
  --panel: rgba(255, 255, 255, .78);
  --panel-solid: #ffffff;
  --teal: #0E8F74;
  --teal-deep: #0A6B57;
  --teal-soft: #D8F3EC;
  --sky: #6FA3B8;
  --lime: #E8EFBF;
  --lime-soft: #F2F5E4;
  --lime-deep: #D5DEA8;
  --alert: #C45B3E;
  --alert-soft: #F8EBE6;
  --alert-deep: #A3472F;
  --shadow: 0 18px 50px rgba(15, 36, 48, .08);
}

* { box-sizing: border-box; margin: 0; }

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

body {
  min-width: 320px;
  min-height: 100vh;
  overflow-x: hidden;
  color: var(--ink);
  font-family: 'Plus Jakarta Sans', system-ui, sans-serif;
  background:
    radial-gradient(ellipse 70% 55% at 88% 8%, rgba(111, 163, 184, .08), transparent 55%),
    radial-gradient(ellipse 55% 45% at 6% 18%, rgba(14, 143, 116, .05), transparent 50%),
    linear-gradient(180deg, var(--bg), #F4F4F2 60%, var(--bg-soft));
  -webkit-font-smoothing: antialiased;
}

body::before {
  content: '';
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  opacity: .4;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.55'/%3E%3C/svg%3E");
  background-size: 180px 180px;
  mix-blend-mode: multiply;
}

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

a:focus-visible,
button:focus-visible,
input:focus-visible {
  outline: 2px solid var(--teal);
  outline-offset: 3px;
}

.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;
}

.wrap {
  width: min(1180px, calc(100% - 64px));
  margin-inline: auto;
}

/* Header */
.top {
  min-height: 84px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  font: 700 1.28rem/1 Fraunces, Georgia, serif;
  letter-spacing: -.03em;
}

.brand-mark {
  width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 8px 22px rgba(15, 36, 48, .16);
}

.brand-mark img,
.brand-mark svg {
  width: 100%;
  height: 100%;
  display: block;
}
.brand-name span { color: var(--teal); }

.soon {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--muted);
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .14em;
  text-transform: uppercase;
  white-space: nowrap;
}

.soon-wave {
  display: inline-flex;
  width: 48px;
  height: 18px;
  color: var(--teal);
}

.soon-wave svg {
  width: 100%;
  height: 100%;
  overflow: visible;
}

.soon-wave path {
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-dasharray: 70;
  stroke-dashoffset: 70;
  animation: heartbeat-trace 2.35s ease-in-out infinite;
}

/* Hero */
.hero {
  display: grid;
  grid-template-columns: minmax(0, .94fr) minmax(460px, 1.06fr);
  align-items: center;
  gap: clamp(36px, 4.5vw, 72px);
  padding-top: 18px;
  padding-bottom: 64px;
}

.copy { position: relative; z-index: 2; }

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 22px;
  color: var(--teal-deep);
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .14em;
  text-transform: uppercase;
}

.eyebrow svg { width: 17px; height: 17px; }

h1 {
  max-width: 560px;
  font: 600 clamp(2.15rem, 3.2vw, 3.15rem)/1.12 Fraunces, Georgia, serif;
  letter-spacing: -.03em;
}

h1 .h1-line {
  display: inline-block;
  white-space: nowrap;
}

h1 em {
  color: var(--teal);
  font-style: italic;
  font-weight: 600;
}

.lead {
  max-width: 520px;
  margin-top: 22px;
  color: var(--muted);
  font-size: clamp(1.02rem, 1.25vw, 1.14rem);
  line-height: 1.7;
  font-weight: 500;
}

.steps {
  position: relative;
  display: grid;
  gap: 16px;
  max-width: 520px;
  margin-top: 32px;
  padding: 0;
  list-style: none;
}

.steps::before {
  content: '';
  position: absolute;
  left: 17px;
  top: 34px;
  bottom: 34px;
  width: 1px;
  background: linear-gradient(var(--teal), rgba(14, 143, 116, .12));
}

.steps li {
  position: relative;
  display: grid;
  grid-template-columns: 36px 1fr;
  gap: 14px;
  align-items: start;
}

.step-icon {
  position: relative;
  z-index: 1;
  display: grid;
  place-items: center;
  width: 36px;
  height: 36px;
  border-radius: 11px;
  color: var(--teal-deep);
  background: var(--panel-solid);
  border: 1px solid rgba(14, 143, 116, .18);
  box-shadow: 0 4px 14px rgba(15, 36, 48, .04);
}

.step-icon svg { width: 17px; height: 17px; }

.steps strong {
  display: block;
  margin-bottom: 2px;
  font: 700 .95rem/1.3 'Plus Jakarta Sans', sans-serif;
}

.steps .step-copy > span {
  display: block;
  color: var(--muted);
  font-size: .88rem;
  line-height: 1.55;
  font-weight: 500;
}

.note {
  position: relative;
  display: flex;
  gap: 14px;
  max-width: 520px;
  margin-top: 26px;
  padding: 16px 18px 16px 16px;
  border: 1px solid rgba(15, 36, 48, .10);
  border-radius: 16px;
  background: #fff;
  color: #3F5A64;
  font-size: .86rem;
  line-height: 1.58;
  font-weight: 500;
  box-shadow: 0 14px 36px rgba(15, 36, 48, .07);
}

.note::before {
  content: '';
  position: absolute;
  left: 0;
  top: 12px;
  bottom: 12px;
  width: 3px;
  border-radius: 0 3px 3px 0;
  background: var(--teal);
}

.note-icon {
  flex: none;
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border-radius: 11px;
  color: var(--teal-deep);
  background: var(--teal-soft);
  border: 1px solid rgba(14, 143, 116, .18);
}

.note-icon svg { width: 17px; height: 17px; }

.note strong {
  display: block;
  margin-bottom: 4px;
  color: var(--ink);
  font: 700 .95rem/1.3 'Plus Jakarta Sans', sans-serif;
}

.cta { margin-top: 28px; }

.cta > p {
  font: 700 1rem/1.35 'Plus Jakarta Sans', sans-serif;
}

.cta-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px 16px;
  margin-top: 14px;
}

.btn {
  min-height: 48px;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 0 20px;
  border: 1px solid var(--ink);
  border-radius: 12px;
  background: var(--ink);
  color: #F4F8F7;
  font-weight: 700;
  font-size: .95rem;
  font-family: inherit;
  text-decoration: none;
  cursor: pointer;
  box-shadow: 0 10px 28px rgba(15, 36, 48, .14);
  transition: transform .2s ease, background .2s ease, box-shadow .2s ease;
}

.btn svg {
  width: 16px;
  height: 16px;
  transition: transform .2s ease;
}

.btn:hover {
  transform: translateY(-2px);
  background: #1a3748;
  box-shadow: 0 14px 32px rgba(15, 36, 48, .18);
}

.btn:hover svg { transform: translateX(2px); }

.btn-ghost {
  min-height: 48px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 0 16px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--panel);
  color: var(--ink);
  font: inherit;
  font-weight: 650;
  font-size: .9rem;
  text-decoration: none;
  cursor: pointer;
  backdrop-filter: blur(8px);
  transition: border-color .2s ease, background .2s ease;
}

.btn-ghost:hover {
  border-color: rgba(14, 143, 116, .35);
  background: #fff;
}

.cta-mail {
  color: var(--muted);
  font-size: .86rem;
  font-weight: 500;
  width: 100%;
}

.cta-mail a {
  color: var(--ink);
  font-weight: 700;
  text-decoration: none;
}

/* Visual / phone */
.visual {
  position: relative;
  min-width: 0;
  min-height: 680px;
  display: grid;
  place-items: center;
  padding: 48px 24px;
  isolation: isolate;
}

.visual::before {
  content: '';
  position: absolute;
  z-index: -2;
  inset: 0;
  border-radius: 32px;
  border: 1px solid rgba(15, 36, 48, .08);
  background:
    radial-gradient(ellipse 75% 55% at 16% 18%, rgba(255, 255, 255, .7), transparent 55%),
    radial-gradient(ellipse 65% 50% at 86% 82%, rgba(14, 143, 116, .08), transparent 52%),
    linear-gradient(150deg, #F7F8F2 0%, var(--lime-soft) 45%, #EEF3E4 100%);
  box-shadow: var(--shadow), inset 0 1px rgba(255, 255, 255, .85);
}

.visual-glow {
  position: absolute;
  z-index: -1;
  width: 380px;
  height: 380px;
  top: 110px;
  left: 50%;
  transform: translateX(-50%);
  border-radius: 50%;
  background: rgba(214, 222, 168, .22);
  filter: blur(52px);
}

.visual.is-try::before {
  border-color: rgba(14, 143, 116, .18);
  background:
    radial-gradient(ellipse 75% 55% at 16% 18%, rgba(255, 255, 255, .65), transparent 55%),
    linear-gradient(150deg, #F4F8F6, #EAF4EF 55%, #F0F4E8);
}

.float-tag {
  position: absolute;
  z-index: 3;
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px 12px;
  border: 1px solid rgba(15, 36, 48, .08);
  border-radius: 999px;
  background: rgba(255, 255, 255, .88);
  color: #3D5661;
  font-size: .7rem;
  font-weight: 650;
  box-shadow: 0 10px 28px rgba(15, 36, 48, .07);
  backdrop-filter: blur(10px);
}

.float-tag svg {
  width: 14px;
  height: 14px;
  color: var(--teal);
}

.tag-patient { top: 78px; left: 18px; }
.tag-status { top: 148px; right: 16px; }

.tag-status .live-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--teal);
  box-shadow: 0 0 0 0 rgba(14, 143, 116, .35);
  animation: status-pulse 2s ease-out infinite;
}

.tag-insight { bottom: 72px; left: 20px; }

.phone {
  position: relative;
  z-index: 2;
  width: min(332px, 68%);
  margin: 0 auto;
  overflow: hidden;
  border: 1px solid rgba(15, 36, 48, .12);
  border-radius: 28px;
  background: #F7FAF7;
  color: #183c34;
  box-shadow: 0 28px 70px rgba(15, 36, 48, .16), 0 0 0 8px rgba(255, 255, 255, .55);
  display: flex;
  flex-direction: column;
  transition: box-shadow .35s ease;
}

.phone.is-active {
  box-shadow:
    0 28px 70px rgba(15, 36, 48, .18),
    0 0 0 8px rgba(14, 143, 116, .18),
    0 0 0 1px rgba(14, 143, 116, .35);
}

.phone::before {
  content: '';
  position: absolute;
  z-index: 4;
  top: 8px;
  left: 50%;
  width: 72px;
  height: 14px;
  border-radius: 0 0 10px 10px;
  background: #1a2e34;
  transform: translateX(-50%);
}

.chat-head {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 24px 14px 12px;
  border-bottom: 1px solid #e4ece6;
  background: #FBFDFA;
}

.avatar {
  position: relative;
  flex: none;
  display: grid;
  place-items: center;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--ink);
  color: white;
  font: 800 .74rem 'Plus Jakarta Sans', sans-serif;
}

.avatar::after {
  content: '';
  position: absolute;
  right: -1px;
  bottom: -1px;
  width: 9px;
  height: 9px;
  border: 2px solid #fff;
  border-radius: 50%;
  background: #2db87a;
}

.chat-head strong {
  display: block;
  font-size: .8rem;
  line-height: 1.25;
}

.chat-head small {
  color: #70877f;
  font-size: .68rem;
  font-weight: 500;
}

.wa-mark {
  display: grid;
  place-items: center;
  width: 26px;
  height: 26px;
  margin-left: auto;
  border-radius: 50%;
  background: #e5f5ec;
  color: #168765;
}

.wa-mark svg { width: 14px; height: 14px; }

.chat {
  display: flex;
  flex-direction: column;
  gap: 7px;
  flex: 1;
  min-height: 300px;
  max-height: 340px;
  overflow-y: auto;
  padding: 12px 10px 10px;
  background-color: #EEF4EF;
  background-image: radial-gradient(rgba(63, 111, 89, .06) .7px, transparent .7px);
  background-size: 12px 12px;
  font-size: .74rem;
  line-height: 1.42;
  scrollbar-width: none;
  -ms-overflow-style: none;
}

.chat::-webkit-scrollbar {
  display: none;
}

.day {
  align-self: center;
  margin-bottom: 2px;
  padding: 4px 9px;
  border-radius: 99px;
  background: rgba(255, 255, 255, .92);
  color: #698077;
  font-size: .62rem;
  font-weight: 650;
  border: 1px solid #e4eee7;
}

.msg {
  max-width: 88%;
  margin: 0;
  padding: 8px 10px;
  border-radius: 13px;
  box-shadow: 0 1px 1px rgba(13, 57, 41, .04);
  white-space: pre-wrap;
  overflow-wrap: anywhere;
}

.bot {
  align-self: flex-start;
  border: 1px solid #e7eee8;
  border-bottom-left-radius: 4px;
  background: #fff;
  color: #24483d;
}

.pat {
  align-self: flex-end;
  border-bottom-right-radius: 4px;
  background: #d8f3e2;
  color: #204d3b;
}

.typing {
  display: none;
  gap: 4px;
  align-self: flex-start;
  padding: 11px 12px;
  border-radius: 13px 13px 13px 4px;
  background: white;
}

.typing.on { display: flex; }

.typing.right {
  align-self: flex-end;
  border-radius: 13px 13px 4px 13px;
  background: #d8f3e2;
}

.typing i {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: #779087;
  animation: dot 1s infinite;
}

.typing i:nth-child(2) { animation-delay: .15s; }
.typing i:nth-child(3) { animation-delay: .3s; }

.composer {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px 10px 12px;
  border-top: 1px solid #e4ece6;
  background: #FBFDFA;
}

.composer input {
  flex: 1;
  min-width: 0;
  height: 38px;
  padding: 0 12px;
  border: 1px solid #d9e5df;
  border-radius: 999px;
  background: #fff;
  color: var(--ink);
  font: 500 .78rem 'Plus Jakarta Sans', sans-serif;
}

.composer input::placeholder { color: #8aa098; }

.composer-send {
  flex: none;
  width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
  border: 0;
  border-radius: 50%;
  background: var(--teal);
  color: #fff;
  cursor: pointer;
  transition: background .2s ease, transform .2s ease;
}

.composer-send:hover {
  background: var(--teal-deep);
  transform: scale(1.04);
}

.composer-send svg { width: 16px; height: 16px; }

.composer-hint {
  margin: 0 10px 10px;
  padding: 8px 10px;
  border-radius: 10px;
  background: var(--teal-soft);
  color: var(--teal-deep);
  font-size: .68rem;
  font-weight: 600;
  line-height: 1.4;
}

.composer-hint[hidden] { display: none !important; }

.wa-try {
  position: relative;
  z-index: 5;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  max-width: calc(100% - 24px);
  margin: 0 auto;
  padding: 11px 16px;
  border: 1px solid rgba(37, 211, 102, .28);
  border-radius: 999px;
  background: #fff;
  color: #128C7E;
  font-size: .82rem;
  font-weight: 700;
  text-decoration: none;
  white-space: nowrap;
  box-shadow: 0 12px 28px rgba(15, 36, 48, .10);
}

.wa-try[hidden] { display: none !important; }

.wa-try svg {
  flex: none;
  width: 18px;
  height: 18px;
  color: #25D366;
}

.wa-try:hover {
  background: #F4FCF7;
  border-color: rgba(37, 211, 102, .45);
}

.try-note {
  position: relative;
  z-index: 5;
  width: min(420px, 100%);
  margin: 0 auto;
  padding: 12px 14px;
  border: 1px solid rgba(15, 36, 48, .08);
  border-radius: 12px;
  background: rgba(255, 255, 255, .94);
  color: var(--muted);
  font-size: .78rem;
  line-height: 1.55;
  font-weight: 500;
  text-align: center;
  box-shadow: 0 10px 24px rgba(15, 36, 48, .06);
}

.try-note[hidden] { display: none !important; }

.visual.is-try {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 20px;
  padding: 40px 24px;
}

.visual.is-try .float-tag,
.visual.is-try .report {
  display: none !important;
}

.visual.is-try .phone {
  margin: 0;
}

.report {
  position: absolute;
  z-index: 4;
  right: 10px;
  bottom: 52px;
  width: min(348px, 74%);
  padding: 15px 16px 16px;
  border: 1px solid rgba(15, 36, 48, .08);
  border-radius: 16px;
  background: rgba(255, 255, 255, .94);
  color: var(--ink);
  box-shadow: 0 20px 48px rgba(15, 36, 48, .12);
  backdrop-filter: blur(12px);
}

.report::before {
  content: '';
  position: absolute;
  top: 0;
  left: 16px;
  right: 16px;
  height: 2px;
  border-radius: 0 0 2px 2px;
  background: linear-gradient(90deg, transparent, var(--teal), var(--sky), transparent);
}

.report-head {
  display: flex;
  align-items: center;
  gap: 9px;
}

.report-icon {
  flex: none;
  display: grid;
  place-items: center;
  width: 30px;
  height: 30px;
  border-radius: 9px;
  background: var(--teal-soft);
  color: var(--teal-deep);
}

.report-icon svg { width: 15px; height: 15px; }

.report-head strong {
  display: block;
  font: 700 .8rem 'Plus Jakarta Sans', sans-serif;
}

.report-head small {
  display: block;
  margin-top: 1px;
  color: var(--muted);
  font-size: .64rem;
  font-weight: 500;
}

.sent {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  margin-left: auto;
  padding: 4px 8px;
  border-radius: 99px;
  background: var(--teal-soft);
  color: var(--teal-deep);
  font-size: .6rem;
  font-weight: 800;
  white-space: nowrap;
}

.sent svg { width: 11px; height: 11px; }

.report dl {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 7px 12px;
  margin-top: 12px;
  padding-top: 11px;
  border-top: 1px solid var(--line);
  font-size: .72rem;
}

.report dt {
  color: var(--muted);
  font-weight: 500;
}

.report dd {
  margin: 0;
  font-weight: 700;
  text-align: right;
}

mark {
  padding: 1px 5px;
  border-radius: 4px;
  background: var(--teal-soft);
  color: var(--teal-deep);
}

.trend {
  display: inline-flex;
  align-items: center;
  gap: 4px;
}

.trend svg { width: 11px; height: 11px; }

.js .demo-msg,
.js .report { display: none; }

.js .demo-msg.show {
  display: block;
  animation: message-in .42s cubic-bezier(.2, .75, .25, 1) both;
}

.js .report.show {
  display: block;
  animation: report-in .7s cubic-bezier(.2, .8, .2, 1) both;
}

/* Insight — conversation → report map */
.insight {
  position: relative;
  padding: 28px 0 72px;
}

.insight::before {
  content: '';
  position: absolute;
  left: -12vw;
  right: -12vw;
  top: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(15, 36, 48, .10), transparent);
}

.insight-head {
  max-width: 720px;
  margin-bottom: 28px;
}

.insight-kicker {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  margin-bottom: 12px;
  color: var(--teal-deep);
  font-size: .68rem;
  font-weight: 800;
  letter-spacing: .15em;
  text-transform: uppercase;
}

.insight-kicker::before {
  content: '';
  width: 18px;
  height: 1.5px;
  background: var(--teal);
}

.insight h2 {
  font: 600 clamp(1.7rem, 3vw, 2.45rem)/1.15 Fraunces, Georgia, serif;
  letter-spacing: -.03em;
}

.insight-lead {
  margin-top: 10px;
  color: var(--muted);
  font-size: .95rem;
  line-height: 1.65;
  font-weight: 500;
}

.map-legend {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 12px;
  margin-bottom: 14px;
  color: var(--muted);
  font-size: .68rem;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.map-legend > span:first-child { text-align: left; }
.map-legend > span:last-child { text-align: right; }

.map-legend-arrow {
  width: 36px;
  height: 1px;
  background: linear-gradient(90deg, rgba(14, 143, 116, .2), var(--teal));
  position: relative;
}

.map-legend-arrow::after {
  content: '';
  position: absolute;
  right: -1px;
  top: 50%;
  width: 6px;
  height: 6px;
  border-right: 1.5px solid var(--teal);
  border-top: 1.5px solid var(--teal);
  transform: translateY(-50%) rotate(45deg);
}

.map-list {
  display: grid;
  gap: 12px;
}

.map-row {
  display: grid;
  grid-template-columns: 1fr 44px 1fr;
  align-items: stretch;
  gap: 0;
  min-width: 0;
}

.map-from,
.map-to {
  display: flex;
  flex-direction: column;
  gap: 8px;
  min-width: 0;
  padding: 20px 22px;
  border: 1px solid rgba(15, 36, 48, .08);
  background: #fff;
}

.map-from {
  border-radius: 16px 0 0 16px;
  border-right: 0;
}

.map-to {
  border-radius: 0 16px 16px 0;
  border-left: 0;
  background: linear-gradient(155deg, #F3FAF7, #fff);
}

.map-bridge {
  display: grid;
  place-items: center;
  border-block: 1px solid rgba(15, 36, 48, .08);
  background:
    linear-gradient(#fff, #fff) padding-box,
    linear-gradient(180deg, rgba(14, 143, 116, .08), rgba(14, 143, 116, .18)) border-box;
  color: var(--teal);
}

.map-bridge svg { width: 18px; height: 18px; }

.map-label {
  color: var(--muted);
  font-size: .62rem;
  font-weight: 800;
  letter-spacing: .12em;
  text-transform: uppercase;
}

.map-quote {
  margin: 4px 0 auto;
  color: var(--ink);
  font: 600 clamp(1.05rem, 1.5vw, 1.28rem)/1.35 Fraunces, Georgia, serif;
  letter-spacing: -.02em;
}

.map-quote em {
  color: var(--teal);
  font-style: italic;
}

.map-meta {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  margin-top: 8px;
  padding-top: 10px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: .7rem;
  font-weight: 600;
}

.map-meta svg {
  flex: none;
  width: 14px;
  height: 14px;
  color: var(--teal);
}

.map-title {
  display: block;
  margin-top: 2px;
  font: 700 1.02rem/1.3 'Plus Jakarta Sans', sans-serif;
}

.map-copy {
  color: var(--muted);
  font-size: .8rem;
  line-height: 1.5;
  font-weight: 500;
}

.map-metric {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-top: auto;
  padding: 11px 12px;
  border: 1px solid rgba(14, 143, 116, .16);
  border-radius: 11px;
  background: rgba(255, 255, 255, .85);
}

.map-metric span {
  color: var(--muted);
  font-size: .7rem;
  font-weight: 600;
}

.map-metric strong {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--teal-deep);
  font: 800 .88rem 'Plus Jakarta Sans', sans-serif;
  text-align: right;
}

.map-row-alert .map-from {
  border-left: 3px solid var(--alert);
  padding-left: 19px;
}

.map-row-alert .map-from .map-label,
.map-row-alert .map-to .map-label {
  color: var(--alert-deep);
}

.map-row-alert .map-bridge {
  color: var(--alert);
  background:
    linear-gradient(#fff, #fff) padding-box,
    linear-gradient(180deg, rgba(196, 91, 62, .10), rgba(196, 91, 62, .22)) border-box;
}

.map-row-alert .map-to {
  background: linear-gradient(155deg, var(--alert-soft), #fff);
}

.map-row-alert .map-title {
  color: var(--alert-deep);
}

.map-row-alert .map-metric {
  border-color: rgba(196, 91, 62, .22);
  background: rgba(255, 248, 245, .95);
}

.map-row-alert .map-metric strong {
  color: var(--alert);
}

.metric-bars {
  display: flex;
  align-items: end;
  gap: 3px;
  height: 18px;
}

.metric-bars i {
  display: block;
  width: 5px;
  border-radius: 3px;
  background: rgba(14, 143, 116, .35);
}

.metric-bars i:nth-child(1) { height: 16px; }
.metric-bars i:nth-child(2) { height: 12px; }
.metric-bars i:nth-child(3) { height: 9px; }
.metric-bars i:nth-child(4) { height: 5px; background: var(--teal); }

.insight-footnote {
  margin-top: 16px;
  color: #7A919A;
  font-size: .7rem;
  line-height: 1.5;
  font-weight: 500;
}

.foot {
  padding-bottom: 28px;
  color: var(--muted);
  font-size: .8rem;
  font-weight: 500;
}

.foot-inner {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 8px 20px;
  padding-top: 20px;
  border-top: 1px solid var(--line);
}

.foot-left {
  display: grid;
  gap: 6px;
  min-width: 0;
}

.foot-cross {
  display: block;
}

.foot a {
  color: var(--ink);
  font-weight: 700;
  text-decoration: none;
}

@keyframes heartbeat-trace {
  0% { stroke-dashoffset: 70; opacity: .35; }
  19% { stroke-dashoffset: 0; opacity: 1; }
  72% { stroke-dashoffset: 0; opacity: 1; }
  100% { stroke-dashoffset: -70; opacity: .35; }
}

@keyframes status-pulse {
  0% { box-shadow: 0 0 0 0 rgba(14, 143, 116, .35); }
  70% { box-shadow: 0 0 0 8px rgba(14, 143, 116, 0); }
  100% { box-shadow: 0 0 0 0 rgba(14, 143, 116, 0); }
}

@keyframes dot {
  0%, 60%, 100% { opacity: .28; transform: none; }
  30% { opacity: 1; transform: translateY(-3px); }
}

@keyframes message-in {
  from { opacity: 0; transform: translateY(8px) scale(.985); }
  to { opacity: 1; transform: none; }
}

@keyframes report-in {
  from { opacity: 0; transform: translateY(16px) scale(.97); }
  to { opacity: 1; transform: none; }
}

@media (max-width: 1050px) {
  .hero {
    grid-template-columns: minmax(0, .92fr) minmax(400px, 1.08fr);
    gap: 28px;
  }
  .visual { min-height: 640px; }
  .report { right: 4px; }
}

@media (max-width: 850px) {
  .wrap { width: min(680px, calc(100% - 42px)); }
  .map-legend { display: none; }
  .map-row {
    grid-template-columns: 1fr;
    gap: 0;
  }
  .map-from {
    border-radius: 16px 16px 0 0;
    border-right: 1px solid rgba(15, 36, 48, .08);
    border-bottom: 0;
  }
  .map-to {
    border-radius: 0 0 16px 16px;
    border-left: 1px solid rgba(15, 36, 48, .08);
    border-top: 0;
  }
  .map-row-alert .map-from {
    border-left: 3px solid var(--alert);
    padding-left: 14px;
  }
  .map-row-alert .map-to {
    border-left: 1px solid rgba(15, 36, 48, .08);
  }
  .map-bridge {
    min-height: 36px;
    border-inline: 1px solid rgba(15, 36, 48, .08);
    border-block: 0;
  }
  .map-bridge svg { transform: rotate(90deg); }
  .hero {
    grid-template-columns: 1fr;
    gap: 26px;
    padding-top: 12px;
    padding-bottom: 48px;
  }
  h1 { font-size: clamp(2.2rem, 6.2vw, 3rem); }
  .visual {
    width: 100%;
    max-width: 600px;
    min-height: 640px;
    margin-inline: auto;
  }
  .phone { width: min(332px, 66%); }
}

@media (max-width: 540px) {
  .wrap { width: calc(100% - 32px); }
  .top { min-height: 70px; }
  .brand { font-size: 1.12rem; }
  .brand-mark { width: 32px; height: 32px; }
  .soon {
    font-size: .6rem;
    letter-spacing: .08em;
    gap: 7px;
  }
  .soon-wave { width: 36px; height: 15px; }
  .eyebrow { margin-bottom: 16px; font-size: .66rem; }
  h1 { font-size: clamp(1.95rem, 8.2vw, 2.55rem); }
  h1 .h1-line { white-space: normal; }
  .lead { margin-top: 16px; font-size: .98rem; }
  .steps { margin-top: 24px; gap: 14px; }
  .note { margin-top: 18px; padding: 12px; font-size: .78rem; }
  .cta { margin-top: 22px; }
  .btn,
  .btn-ghost { min-height: 46px; font-size: .88rem; }
  .visual { min-height: 560px; }
  .visual {
    padding: 36px 16px;
  }
  .visual::before {
    border-radius: 24px;
  }
  .tag-patient { top: 42px; left: 8px; }
  .tag-status { top: 96px; right: 6px; }
  .tag-insight { bottom: 48px; left: 6px; }
  .float-tag { padding: 7px 9px; font-size: .64rem; }
  .phone {
    width: min(300px, 78%);
    border-radius: 24px;
  }
  .chat {
    min-height: 260px;
    max-height: 300px;
    font-size: .7rem;
  }
  .report {
    right: 2px;
    bottom: 28px;
    width: 84%;
    padding: 12px 13px;
  }
  .insight { padding-bottom: 48px; }
  .insight h2 { font-size: 1.55rem; }
  .map-from,
  .map-to { padding: 16px 17px; }
  .map-quote { font-size: 1.08rem; }
  .foot { font-size: .72rem; }
}

@media (max-width: 370px) {
  .visual { min-height: 520px; }
  .phone { width: 80%; }
  .tag-status { display: none; }
}

/* Partner contact modal */
body.partner-open { overflow: hidden; }

.partner-modal {
  position: fixed;
  inset: 0;
  z-index: 80;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
}

.partner-modal[hidden] { display: none !important; }

.partner-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(15, 36, 48, .48);
  backdrop-filter: blur(4px);
}

.partner-dialog {
  position: relative;
  z-index: 1;
  width: min(440px, 100%);
  max-height: min(92vh, 720px);
  overflow: auto;
  padding: 22px 22px 20px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: #fff;
  box-shadow: 0 24px 60px rgba(15, 36, 48, .22);
}

.partner-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 14px;
}

.partner-eyebrow {
  margin: 0 0 4px;
  color: var(--teal-deep);
  font-size: .68rem;
  font-weight: 750;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.partner-head h2 {
  margin: 0;
  font-family: Fraunces, Georgia, serif;
  font-size: 1.35rem;
  font-weight: 650;
  letter-spacing: -.02em;
  line-height: 1.2;
}

.partner-close {
  flex: 0 0 auto;
  width: 36px;
  height: 36px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: var(--bg-soft);
  color: var(--ink);
  cursor: pointer;
}

.partner-close svg { width: 16px; height: 16px; }

.partner-close:hover { background: #fff; border-color: rgba(14, 143, 116, .35); }

.partner-lead {
  margin: 0 0 14px;
  color: var(--muted);
  font-size: .88rem;
  line-height: 1.5;
}

.partner-form {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.partner-form[hidden] {
  display: none !important;
}

.partner-field {
  display: flex;
  flex-direction: column;
  gap: 5px;
  font-size: .78rem;
  font-weight: 650;
  color: var(--ink);
}

.partner-field em {
  font-style: normal;
  font-weight: 500;
  color: var(--muted);
}

.partner-field input,
.partner-field textarea {
  width: 100%;
  padding: 11px 12px;
  border: 1px solid var(--line);
  border-radius: 11px;
  background: var(--bg);
  color: var(--ink);
  font: inherit;
  font-size: .9rem;
  font-weight: 500;
  resize: vertical;
}

.partner-field input:focus,
.partner-field textarea:focus {
  outline: none;
  border-color: rgba(14, 143, 116, .45);
  box-shadow: 0 0 0 3px rgba(14, 143, 116, .12);
}

.partner-field.is-invalid input,
.partner-field.is-invalid textarea {
  border-color: rgba(196, 91, 62, .55);
}

.partner-error {
  color: var(--alert-deep);
  font-size: .72rem;
  font-weight: 600;
}

.partner-honey {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.partner-status {
  margin: 0;
  padding: 10px 12px;
  border-radius: 10px;
  font-size: .82rem;
  font-weight: 600;
  line-height: 1.4;
}

.partner-status.is-error {
  background: var(--alert-soft);
  color: var(--alert-deep);
}

.partner-status.is-ok {
  background: var(--teal-soft);
  color: var(--teal-deep);
}

.partner-actions {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-top: 4px;
}

.partner-actions .btn { width: 100%; justify-content: center; }

.partner-gdpr {
  margin: 0;
  text-align: center;
  color: var(--muted);
  font-size: .78rem;
  font-weight: 500;
  line-height: 1.45;
}

.partner-fallback {
  margin: 0;
  text-align: center;
  color: var(--muted);
  font-size: .78rem;
  font-weight: 500;
}

.partner-fallback a {
  color: var(--teal-deep);
  font-weight: 700;
  text-decoration: none;
}

.partner-thanks {
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding: 8px 0 4px;
  text-align: center;
}

.partner-thanks[hidden] { display: none !important; }

.partner-thanks-title {
  margin: 0;
  font-family: Fraunces, Georgia, serif;
  font-size: 1.4rem;
  font-weight: 650;
}

.partner-thanks p {
  margin: 0;
  color: var(--muted);
  font-size: .92rem;
  line-height: 1.5;
}

.partner-thanks .btn {
  align-self: center;
  min-width: 140px;
  justify-content: center;
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }

  *,
  *::before,
  *::after {
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .01ms !important;
  }

  .soon-wave path {
    animation: none !important;
    stroke-dashoffset: 0;
  }
}
