:root {
  color-scheme: light;
  --ink: #121f38;
  --muted: #4c5e79;
  --blue: #225be3;
  --line: #dce4f2;
  --wrap: 1240px;
  --header-row-height: 78px;
  --gutter: clamp(20px, 5.8vw, 96px);
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Arial, sans-serif;
  font-synthesis: none;
  scroll-behavior: smooth;
  color: var(--ink);
}
* {
  box-sizing: border-box;
}
body {
  margin: 0;
  background: #fff;
}
button,
a {
  font: inherit;
  color: inherit;
}
button {
  cursor: pointer;
}
a {
  text-decoration: none;
}
a:focus-visible,
button:focus-visible,
summary:focus-visible {
  outline: 3px solid #2879ee;
  outline-offset: 5px;
}
p,
h1,
h2,
h3 {
  margin: 0;
}
img {
  display: block;
  max-width: 100%;
}
button {
  -webkit-tap-highlight-color: transparent;
}
[hidden] {
  display: none !important;
}
.wrap {
  width: min(calc(100% - var(--gutter) * 2), var(--wrap));
  margin-inline: auto;
}
.icon {
  width: 1.25rem;
  height: 1.25rem;
  flex: none;
  vertical-align: middle;
}
.skip {
  position: fixed;
  top: -5rem;
  left: 1rem;
  z-index: 10;
  background: white;
  padding: 12px;
}
.skip:focus {
  top: 1rem;
}
header {
  position: sticky;
  z-index: 5;
  top: 0;
  border-bottom: 1px solid #dce4f1;
  background: rgb(255 255 255 / 0.96);
}
#kiosk-screen {
  --public-font-family: 'Noto Sans Variable', 'Noto Sans', Arial, sans-serif;
  --ios-blue: #007aff;
  --ios-blue-dark: #0062cc;
  --ios-secondary-label: #6e6e73;
  --kiosk-block-height: calc(100svh - var(--header-row-height) - 1px);
  min-height: var(--kiosk-block-height);
  scroll-margin-top: calc(var(--header-row-height) + 1px);
  font-size: 14px;
  isolation: isolate;
  -webkit-font-smoothing: antialiased;
}
.header-row,
.header-actions,
.wide-nav,
.langs,
.btn,
.eyebrow,
.shortcuts a,
.chip,
.text-link,
.call {
  display: flex;
  align-items: center;
}
.header-row {
  justify-content: space-between;
  min-height: var(--header-row-height);
  gap: 24px;
}
.brand {
  display: inline-flex;
  align-items: center;
}
.brand img {
  width: 147px;
  height: auto;
}
.wide-nav {
  gap: clamp(18px, 2.3vw, 38px);
}
.wide-nav a,
.footer a {
  color: #40526c;
  font-weight: 550;
  font-size: 0.94rem;
}
.wide-nav a:hover,
.footer a:hover {
  color: var(--blue);
}
.header-actions {
  gap: 20px;
}
.langs {
  background: #eef2f8;
  border-radius: 9px;
  padding: 3px;
}
.langs a {
  padding: 7px 9px;
  font-size: 0.76rem;
  font-weight: 730;
  color: #516582;
  border-radius: 7px;
}
.langs [aria-current] {
  background: white;
  color: #174aa4;
  box-shadow: 0 1px 5px #172a4b20;
}
.btn {
  justify-content: center;
  gap: 10px;
  min-height: 48px;
  padding: 0 22px;
  border-radius: 13px;
  font-size: 0.98rem;
  font-weight: 660;
  transition:
    transform 0.18s ease,
    box-shadow 0.18s ease,
    background 0.18s ease;
}
.btn:hover {
  transform: translateY(-2px);
}
.nav-demo,
.primary {
  background: linear-gradient(115deg, #1364df, #4453db);
  color: white;
  box-shadow: 0 5px 16px #235dd524;
}
.nav-demo {
  min-height: 40px;
  padding-inline: 17px;
  border-radius: 10px;
  font-size: 0.88rem;
}
.nav-login {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 40px;
  padding-inline: 15px;
  border: 1px solid #bed0ed;
  border-radius: 10px;
  color: #214c91;
  font-size: 0.9rem;
  font-weight: 650;
}
.nav-login:hover {
  background: #edf4ff;
  border-color: #8baee1;
}
.menu-toggle,
[data-close] {
  border: 1px solid var(--line);
  background: white;
  border-radius: 10px;
  width: 40px;
  height: 40px;
  align-items: center;
  justify-content: center;
}
.menu-toggle {
  display: none;
}
#mobile-nav {
  display: grid;
  padding: 4px var(--gutter) 14px;
}
#mobile-nav a {
  border-top: 1px solid var(--line);
  padding: 12px 0;
}
.hero {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  background: radial-gradient(circle at 16% 30%, rgba(62, 175, 255, 0.26), transparent 28%),
    radial-gradient(circle at 85% 16%, rgba(198, 94, 255, 0.2), transparent 26%),
    radial-gradient(circle at 72% 82%, rgba(255, 182, 72, 0.18), transparent 25%),
    linear-gradient(135deg, #f7fbff 0%, #f3f0ff 48%, #fff8ef 100%);
  color: #111833;
}
.hero-grid {
  position: absolute;
  z-index: -1;
  inset: 0;
  opacity: 0.38;
  background-image: linear-gradient(rgba(75, 101, 160, 0.055) 1px, transparent 1px),
    linear-gradient(90deg, rgba(75, 101, 160, 0.055) 1px, transparent 1px);
  background-size: 46px 46px;
  mask-image: linear-gradient(to bottom, transparent, #000 18%, #000 78%, transparent);
  pointer-events: none;
}

.hero::before,
.hero::after {
  content: '';
  position: absolute;
  z-index: -2;
  border-radius: 999px;
  opacity: 0.7;
  filter: blur(8px);
  pointer-events: none;
}

.hero::before {
  top: -16%;
  left: 34%;
  width: min(58vw, 860px);
  height: min(32vw, 460px);
  background: linear-gradient(90deg, rgba(0, 122, 255, 0.18), rgba(175, 82, 222, 0.18));
  transform: rotate(-12deg);
  animation: hero-aurora-one 10s ease-in-out infinite alternate;
}

.hero::after {
  right: -12%;
  bottom: -18%;
  width: min(52vw, 760px);
  height: min(35vw, 500px);
  background: linear-gradient(90deg, rgba(255, 149, 0, 0.17), rgba(255, 45, 85, 0.13));
  transform: rotate(14deg);
  animation: hero-aurora-two 12s ease-in-out infinite alternate;
}

@keyframes hero-aurora-one {
  to {
    transform: translate3d(5vw, 3vh, 0) rotate(-6deg) scale(1.08);
  }
}

@keyframes hero-aurora-two {
  to {
    transform: translate3d(-7vw, -4vh, 0) rotate(8deg) scale(0.92);
  }
}
.hero-inner {
  display: grid;
  position: relative;
  grid-template-columns: minmax(0, .77fr) minmax(0, 1.23fr);
  gap: clamp(18px, 2.8vw, 42px);
  align-items: center;
  min-height: clamp(472px, 42vw, 625px);
}
.hero-copy {
  position: relative;
  container-type: inline-size;
  z-index: 1;
  padding-block: 50px 55px;
  animation: enter 0.65s ease-out both;
}
.eyebrow {
  gap: 9px;
  color: #2057b6;
  font-size: 0.88rem;
  font-weight: 700;
  line-height: 1.35;
}
.eyebrow .icon {
  width: 1.14rem;
  height: 1.14rem;
}
.hero-eyebrow {
  margin-bottom: clamp(18px, 2.2vw, 34px);
}
.hero-eyebrow .icon {
  width: 25px;
  height: 25px;
}
h1,
h2,
h3 {
  text-wrap: balance;
}
h1 {
  --hero-title-size: clamp(42px, 5.1vw, 78px);
  width: fit-content;
  max-width: 100%;
  font-family: 'Noto Sans Variable', 'Noto Sans', Arial, sans-serif;
  font-size: var(--hero-title-size);
  font-weight: 860;
  line-height: 0.98;
  letter-spacing: -0.055em;
  color: #12182f;
}
h1:lang(ru) {
  /* Keep «поликлиники» inside the painted gradient even in the two-column layout. */
  font-size: min(var(--hero-title-size), 14.8cqi);
}
h1 span {
  display: block;
  padding-inline-end: .08em;
}
h1:lang(kk),
h1 span {
  background: linear-gradient(92deg, #087bff 0%, #8154e9 48%, #e15d85 100%);
  background-clip: text;
  color: transparent;
}
@media (forced-colors: active) {
  h1:lang(kk), h1 span {
    background: none;
    color: CanvasText;
  }
}
.hero-text {
  max-width: 515px;
  color: #405374;
  font-size: clamp(1.06rem, 1.35vw, 1.28rem);
  line-height: 1.55;
  margin-block: 23px 28px;
}
.hero-buttons,
.guide-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}
.secondary {
  color: #263c66;
  background: rgb(255 255 255 / 0.82);
  border: 1px solid #cdd9ed;
}
.secondary .icon,
.film-play .icon {
  width: 17px;
  height: 17px;
}
.clinic {
  min-width: 0;
  position: relative;
  padding: 26px 0 13px;
}
.clinic-toolbar,
.clinic-controls {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}
.clinic-toolbar strong {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  color: #233958;
  font-size: .94rem;
}
.clinic-toolbar strong span {
  padding: 3px 6px;
  border: 1px solid #aebfd5;
  border-radius: 5px;
  font-size: .7rem;
  letter-spacing: .05em;
}
.clinic-toolbar button,
.clinic-controls button {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: #254b83;
  font-size: .83rem;
  font-weight: 650;
}
.clinic-toolbar button {
  border: 0;
  background: transparent;
  padding: 7px 0;
}
.clinic-toolbar button:hover {
  text-decoration: underline;
}
.clinic-stage {
  position: relative;
  width: 100%;
  --label-band: 35px;
  padding-block: var(--label-band);
  isolation: isolate;
}
.clinic-stage::before {
  content: '';
  display: block;
  aspect-ratio: 1.86;
}
.clinic-stage > canvas,
.clinic-poster,
.clinic-pins {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}
.clinic-stage > canvas {
  top: var(--label-band);
  height: calc(100% - 2 * var(--label-band));
  visibility: hidden;
  touch-action: pan-y;
  cursor: grab;
}
.clinic-stage > canvas:active { cursor: grabbing; }
.clinic--ready .clinic-stage > canvas { visibility: visible; }
.clinic--ready .clinic-poster { display: none; }
.clinic-poster {
  object-fit: contain;
  mix-blend-mode: multiply;
  mask-image: radial-gradient(ellipse, #000 58%, transparent 83%);
}
.clinic-pins { pointer-events: none; }
.clinic-leaders {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  overflow: hidden;
  color: #3d5671;
}
.clinic-leaders path {
  fill: none;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.clinic-leaders .leader-halo { stroke: #fffffff0; stroke-width: 3.2; }
.clinic-leaders .leader-line { stroke: currentColor; stroke-width: 1.25; }
.clinic-leaders circle { fill: currentColor; stroke: white; stroke-width: 1.5; }
.clinic-leaders .is-selected { color: #155ec0; }
.clinic-leaders .is-selected .leader-line { stroke-width: 1.8; }
.clinic-pins button {
  position: absolute;
  z-index: 1;
  min-height: 28px;
  width: max-content;
  padding: 4px 8px;
  border: 1px solid #a6b9d0;
  border-radius: 7px;
  background: #f9fbff;
  color: #253d5c;
  font-size: clamp(.69rem, .85vw, .79rem);
  font-weight: 650;
  line-height: 1.14;
  overflow-wrap: anywhere;
  pointer-events: auto;
  transform: translate(-50%, -100%);
}
.clinic-pins [data-rail=bottom] { transform: translateX(-50%); }
.clinic-pins button:is(:hover,:focus-visible) { border-color: #245fba; }
.clinic-pins button[aria-pressed=true] {
  background: #1f5db5;
  border-color: #1f5db5;
  color: white;
}
.clinic--calling :is([data-leader=board], [data-leader=phone]) { color: #147966; }
.clinic--calling :is([data-pin=board], [data-pin=phone]) { border-color: #147966; }
.clinic--calling[data-call-stage=notified] [data-pin=phone]::after {
  content: 'A-024 → 12';
  position: absolute;
  bottom: 100%;
  left: 50%;
  transform: translateX(-50%);
  width: max-content;
  padding: 3px 7px;
  border-radius: 5px;
  background: #116554;
  color: white;
  font-size: .72rem;
  font-weight: 700;
  pointer-events: none;
}
.clinic-controls {
  flex-wrap: wrap;
  color: #465973;
  font-size: .78rem;
  line-height: 1.3;
}
.clinic-controls button {
  margin-left: auto;
  padding: 8px 12px;
  background: #ffffffc9;
  border: 1px solid #bdcddd;
  border-radius: 9px;
}
.clinic-controls .icon { width: 16px; height: 16px; }
.clinic-observer {
  position: absolute;
  right: 4px;
  bottom: 6px;
  z-index: 3;
  display: grid;
  justify-items: center;
  gap: 3px;
  pointer-events: none;
}
.clinic-observer > span {
  color: #223b63;
  font-weight: 650;
  font-size: .71rem;
  background: #f3f7ffde;
  padding: 1px 7px;
  border-radius: 6px;
}
#guide-avatar-slot {
  pointer-events: auto;
  position: relative;
  width: 66px;
  aspect-ratio: 1;
  border-radius: 50%;
  background: #dfebff var(--assistant-portrait) center/cover;
  box-shadow: 0 0 0 4px #ffffff8c, 0 3px 17px #44577b26;
}
.clinic-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}
.clinic-tabs button {
  min-height: 36px;
  padding: 6px 13px;
  font: inherit;
  font-size: .82rem;
  font-weight: 650;
  line-height: 1.25;
  white-space: nowrap;
  color: #2b4668;
  border: 1px solid #aec1d8;
  border-radius: 999px;
  background: #f9fbff;
}
.clinic-tabs button:hover { background: #e8eff9; border-color: #7295bc; }
.clinic-tabs button[aria-selected=true] {
  color: white;
  background: #1f5db5;
  border-color: #1f5db5;
}
.clinic-tabs button:focus-visible { outline-offset: 2px; }
@media (max-width: 760px), (pointer: coarse) {
  .clinic-tabs button { min-height: 44px; }
}
@media (forced-colors: active) {
  .clinic-tabs button[aria-selected=true] { border: 2px solid Highlight; }
}
.map-example:focus-visible {
  outline: 2px solid #2879ee;
  outline-offset: 3px;
}
.clinic-call-status {
  display: block;
  min-height: 19px;
  font-size: .77rem;
  color: #246b63;
}
.guide-actions .primary {
  border: 1px solid transparent;
}
.device-map {
  border-top: 1px solid var(--line);
  background: radial-gradient(ellipse at 50% 46%, #e9f3ff 0, #f6f9ff 44%, white 78%);
}
.map-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 18px 30px;
}
.map-heading p {
  max-width: 570px;
  margin-top: 11px;
  color: var(--muted);
  line-height: 1.6;
}
.map-stage {
  --hub: clamp(84px, 11vw, 132px);
  --node: clamp(60px, 6.6vw, 82px);
  position: relative;
  isolation: isolate;
  width: min(100%, 960px);
  height: clamp(375px, 39vw, 465px);
  margin: 26px auto 10px;
}
.map-stage::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(#8cabc355 .9px, transparent 1px) center / 16px 16px;
  mask-image: radial-gradient(ellipse, black 25%, transparent 72%);
}
.map-lines {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  fill: none;
}
.map-lines :is(path, ellipse) { vector-effect: non-scaling-stroke; }
.map-orbit { stroke: #c6d5e4; stroke-dasharray: 2 7; }
.map-lines path { stroke: #b9ccdf; stroke-width: 1.2px; }
.map-lines .is-active path { stroke: #588bdb; stroke-width: 2px; }
.map-lines .map-pulse { display: none; }
.map-lines .is-active .map-pulse {
  display: block;
  stroke: #174fc0;
  stroke-width: 4px;
  stroke-linecap: round;
  stroke-dasharray: 6 94;
  animation: map-exchange 2.6s ease-in-out infinite;
}
.map-stage[data-motion=still] .map-pulse { animation-play-state: paused; }
.map-stage[data-motion=once] .map-pulse { animation-iteration-count: 1; animation-fill-mode: forwards; }
@keyframes map-exchange {
  0%, 100% { stroke-dashoffset: 5; }
  48%, 54% { stroke-dashoffset: -94; }
}
.map-center, .map-station {
  position: absolute;
  transform: translate(-50%, -50%);
  text-align: center;
}
.map-center {
  left: 50%;
  top: 49%;
  width: var(--hub);
  height: var(--hub);
}
#map-avatar-slot {
  position: relative;
  width: 100%;
  height: 100%;
  border-radius: 50%;
  background: #e2edfc center / cover;
  box-shadow: 0 0 0 5px white, 0 0 0 6px #abcaeb, 0 0 0 15px #d5e4f880, 0 14px 32px #4371aa25;
}
.map-center strong, .map-signal, .map-label {
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  width: max-content;
}
.map-center strong {
  top: calc(100% + 12px);
  font-size: clamp(.79rem, 1.4vw, 1.07rem);
}
.map-signal {
  top: calc(100% + 37px);
  color: #245596;
  font-size: .78rem;
  font-variant-numeric: tabular-nums;
}
.map-station {
  left: var(--x);
  top: var(--y);
  width: var(--node);
  height: var(--node);
  padding: 4px;
  border: 1px solid transparent;
  border-radius: 50%;
  background: radial-gradient(ellipse, #f7faff 48%, #f7faff00 73%);
  color: var(--ink);
}
.map-object {
  display: block;
  width: 100%;
  height: 100%;
  background: var(--device-art) var(--sprite) center / 700% 100% no-repeat;
  filter: drop-shadow(1px 3px 2px #38577c34);
  transition: transform .25s;
}
.map-station:is(:hover, [aria-pressed=true]) .map-object { transform: translateY(-3px); }
.map-station[aria-pressed=true] {
  background: #e3efff;
  border-color: #84afe2;
  box-shadow: 0 0 0 4px #d8e8fc85;
}
.map-label {
  top: calc(100% + 3px);
  max-width: 135px;
  padding: 1px 5px;
  border-radius: 5px;
  background: #f5f9ffed;
  font-size: clamp(.75rem, 1.2vw, .92rem);
  line-height: 1.18;
  font-weight: 640;
}
.map-examples, .map-more { max-width: 880px; margin-inline: auto; }
.map-examples {
  position: relative;
  display: grid;
  padding: 21px 0 15px;
  border-top: 1px solid #ccdced;
}
.map-examples .clinic-tabs { grid-area: 1 / 1; margin-bottom: 18px; }
.map-example { grid-area: 2 / 1; transition-property: none; }
/* The longest answer reserves its space while the tour changes devices. */
.map-example[hidden] { display: block !important; visibility: hidden; }
.map-example p { margin: 7px 0 11px; color: var(--muted); line-height: 1.55; max-width: 72ch; }
.map-toggle, .map-ask {
  border: 0;
  color: #214f92;
  font-size: .9rem;
  font-weight: 650;
}
.map-toggle {
  position: absolute;
  bottom: calc(100% + 6px);
  right: 0;
  padding: 7px 10px;
  border-radius: 16px;
  background: #e9f1fa;
}
.map-ask, .map-toggle span, .map-more summary {
  display: inline-flex;
  align-items: center;
  gap: 7px;
}
.map-toggle .icon, .map-ask .icon, .map-more summary .icon { width: 15px; height: 15px; }
.map-ask { background: transparent; padding: 6px 0; }
.map-ask:hover, .map-more summary:hover { text-decoration: underline; }
.map-more { border-top: 1px solid var(--line); }
.map-more summary { padding: 12px 0; cursor: pointer; font-weight: 600; }
.map-more[open] summary .icon { transform: rotate(180deg); }
@media (max-width: 600px) {
  .map-stage { --hub: 73px; --node: 53px; height: 362px; margin-block: 20px 26px; }
  .map-label { max-width: 87px; font-size: .75rem; }
  .map-signal { top: calc(100% + 32px); font-size: .68rem; }
  .map-heading .guide-actions { gap: 7px; }
  .map-heading .btn { padding-inline: 12px; }
  .map-center strong { font-size: .76rem; }
}
@media (prefers-reduced-motion: reduce) {
  .map-lines .is-active .map-pulse { display: none; }
}
.try-questions {
  display: grid;
  gap: 0;
  margin-top: 22px;
}
.try-questions button {
  display: flex;
  align-items: center;
  gap: 13px;
  border: 0;
  border-bottom: 1px solid var(--line);
  background: transparent;
  text-align: start;
  color: #244b8e;
  padding: 13px 2px;
  font-weight: 620;
}
.try-questions button:hover {
  color: #184fca;
  background: #f5f8ff;
}
.try-questions .icon {
  width: 19px;
  height: 19px;
}
#patient {
  border-top: 1px solid var(--line);
}
@keyframes enter {
  from {
    opacity: 0;
    transform: translateY(12px);
  }
}
.shortcuts {
  border-block: 1px solid #dae3f1;
  background: #fff;
}
.shortcuts-inner {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  padding: 22px 0;
}
.shortcuts a {
  gap: 13px;
  padding: 1px 12%;
  font-weight: 660;
  color: #2b3c5a;
  font-size: 0.98rem;
  line-height: 1.3;
  transition: color 0.18s;
}
.shortcuts a:first-child {
  padding-left: 0;
}
.shortcuts a + a {
  border-left: 1px solid var(--line);
}
.shortcuts a:hover {
  color: var(--blue);
}
.chip {
  width: 44px;
  height: 44px;
  border-radius: 14px;
  flex: none;
  justify-content: center;
  background: var(--tint);
  color: var(--accent);
}
.chip .icon {
  width: 23px;
  height: 23px;
}
.chip--kiosk {
  --accent: #276595;
  --tint: #e1effb;
}
.chip--ticket {
  --accent: #2368de;
  --tint: #eaf1ff;
}
.chip--face {
  --accent: #7653c8;
  --tint: #f0ebfb;
}
.chip--gps {
  --accent: #087e84;
  --tint: #e2f5f3;
}
.chip--sos {
  --accent: #c13d65;
  --tint: #fbeaf0;
}
.section {
  padding-block: clamp(58px, 6.6vw, 96px);
}
.section,
.feature-row,
.ward-call,
.meeting {
  scroll-margin-top: 84px;
}
.section-heading {
  display: grid;
  grid-template-columns: 1.55fr 1fr;
  align-items: end;
  gap: clamp(32px, 6vw, 85px);
  margin-bottom: 33px;
}
.section-heading .eyebrow,
.meeting .eyebrow {
  margin-bottom: 12px;
}
h2 {
  font-size: clamp(2.05rem, 3.35vw, 3.35rem);
  line-height: 1.09;
  letter-spacing: -0.046em;
  font-weight: 700;
}
h3 {
  font-size: 1.4rem;
  line-height: 1.26;
  letter-spacing: -0.025em;
}
.section-heading > p,
.practice-copy > p,
.practice-resources > p,
.film-story p,
.meeting-text,
.extras article p,
.step > p {
  font-size: 1rem;
  color: var(--muted);
  line-height: 1.64;
}
.patient-flow {
  display: grid;
  grid-template-columns: 1fr 1.03fr;
  gap: clamp(24px, 4.5vw, 70px);
  align-items: stretch;
}
.steps {
  align-self: center;
}
.step {
  border-bottom: 1px solid var(--line);
}
.step:first-child {
  border-top: 1px solid var(--line);
}
summary {
  cursor: pointer;
  list-style: none;
}
summary::-webkit-details-marker {
  display: none;
}
.step summary {
  display: flex;
  align-items: center;
  gap: 15px;
  padding: 18px 2px;
}
.step summary > b {
  font-size: clamp(1.05rem, 1.5vw, 1.32rem);
  letter-spacing: -0.02em;
}
.step summary > .icon,
.extras summary .icon {
  margin-left: auto;
  color: #66758c;
  transition: transform 0.2s;
  width: 16px;
}
.step[open] summary > .icon,
.extras[open] summary .icon {
  transform: rotate(180deg);
}
.step-no {
  width: 36px;
  height: 36px;
  display: grid;
  place-items: center;
  border-radius: 12px;
  font-size: 0.9rem;
  color: #516480;
  background: #f0f4fb;
  font-variant-numeric: tabular-nums;
  font-weight: 650;
}
.step[open] .step-no {
  color: #fff;
  background: var(--blue);
}
.step[open] summary b {
  color: #204eac;
}
.step > p {
  padding: 0 22px 20px 53px;
}
.sample-stage {
  position: relative;
  isolation: isolate;
  display: grid;
  place-items: center;
  min-height: 365px;
  overflow: hidden;
  background: radial-gradient(at 10% 0%, #d8eeff, transparent 66%), linear-gradient(130deg, #e7f3fe, #e5e5ff);
  border: 1px solid #dce5f5;
  border-radius: 26px;
}
.stage-grid {
  position: absolute;
  inset: 0;
  z-index: -1;
  background-image: radial-gradient(#6684b55a 0.9px, transparent 1px);
  background-size: 15px 15px;
  mask-image: linear-gradient(125deg, #000, transparent);
}
.sample-scenes {
  width: min(70%, 310px);
  margin: 22px 0 41px;
}
.sample {
  border-radius: 17px;
  background: #fff;
  overflow: hidden;
  box-shadow:
    0 18px 42px #243d881e,
    0 2px 5px #243d8810;
  animation: enter 0.28s ease-out;
}
.sample-head {
  display: flex;
  align-items: center;
  gap: 10px;
  background: linear-gradient(110deg, #1672df, #5b50d7);
  color: white;
  padding: 15px 19px;
}
.sample-head strong {
  font-size: 0.97rem;
}
.sample-body {
  text-align: center;
  padding: 21px 18px 17px;
}
.sample-body small {
  color: #526681;
  font-size: 0.87rem;
}
.number,
.time {
  display: block;
  color: #254b9e;
  font-size: clamp(2.9rem, 4.5vw, 4rem);
  letter-spacing: -0.055em;
  line-height: 1.15;
  padding: 6px 0 16px;
}
.time {
  font-size: 2.05rem;
}
.sample-line {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 8px;
  padding-top: 15px;
  border-top: 1px dashed #cad7e7;
  color: #465a73;
  font-size: 0.83rem;
}
.sample-line b {
  color: #204479;
}
.sample-line .icon {
  width: 14px;
  height: 14px;
}
.stars {
  display: flex;
  gap: 3px;
  justify-content: center;
  padding: 14px 0;
  color: #da8b15;
}
.stars .icon {
  fill: #f8b73f;
}
.stage-note {
  position: absolute;
  bottom: 16px;
  color: #526684;
  font-size: 0.8rem;
}
.extras {
  margin-top: 16px;
}
.extras summary {
  display: flex;
  align-items: center;
  gap: 13px;
  padding: 13px 0;
  font-weight: 600;
  color: #30599c;
}
.extras summary .icon {
  margin-left: 0;
}
.extras > div {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 28px;
  padding-block: 15px;
}
.extras article h3 {
  margin-bottom: 6px;
  font-size: 1.1rem;
}
.team {
  background: #f5f8fd;
  border-block: 1px solid #e4eaf4;
}
.feature-list {
  border-bottom: 1px solid var(--line);
}
.feature-row,
.ward-call {
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.25fr);
  gap: clamp(30px, 6vw, 88px);
  padding-block: clamp(28px, 3.5vw, 49px);
  border-top: 1px solid var(--line);
}
.feature-overview h3,
.ward-call > div:first-child {
  display: flex;
  align-items: center;
  gap: 14px;
}
.feature-overview h3 {
  font-size: clamp(1.4rem, 2.3vw, 2.15rem);
}
.feature-overview > p {
  margin-top: 14px;
  font-size: clamp(1.07rem, 1.45vw, 1.32rem);
  line-height: 1.4;
}
.feature-question {
  display: inline-flex;
  align-items: flex-start;
  gap: 9px;
  padding: 8px 0;
  margin-top: 12px;
  border: 0;
  background: transparent;
  text-align: start;
  font-weight: 600;
  line-height: 1.45;
  color: #2057aa;
}
.feature-question:hover span {
  text-decoration: underline;
  text-underline-offset: 3px;
}
.feature-question .icon {
  margin-top: 2px;
}
.feature-tasks {
  display: grid;
  gap: 16px;
  margin: 0;
}
.feature-tasks dt,
.ward-call strong {
  font-weight: 680;
}
.feature-tasks dd,
.ward-call p {
  margin: 3px 0 0;
  color: var(--muted);
  line-height: 1.55;
}
.ward-call {
  border: 0;
  padding-bottom: 0;
  align-items: start;
}
.practice {
  display: grid;
  grid-template-columns: 0.85fr 1fr;
  grid-template-areas: "film intro" "film resources";
  align-items: center;
  gap: 20px clamp(32px, 6.5vw, 100px);
}
.practice-copy {
  grid-area: intro;
  align-self: end;
}
.practice-resources {
  grid-area: resources;
  align-self: start;
}
.clinic-stories {
  background: #f3f6fc;
}
.story-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(28px, 4vw, 64px);
  margin-top: clamp(24px, 3vw, 42px);
}
.film-story {
  scroll-margin-top: 90px;
}
.story-poster {
  display: block;
  position: relative;
  overflow: hidden;
  aspect-ratio: 16 / 9;
  border-radius: 16px;
  background: #19243d;
}
.story-poster img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 24%;
  transition: transform .3s;
}
.story-poster:hover img,
.story-poster:focus-visible img {
  transform: scale(1.025);
}
.story-watch {
  position: absolute;
  bottom: 14px;
  left: 14px;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 8px 13px;
  border-radius: 24px;
  background: white;
  color: var(--ink);
  font-size: .9rem;
  font-weight: 660;
}
.story-watch .icon {
  width: 16px;
  fill: currentColor;
}
.film-story h3 {
  margin-block: 20px 10px;
  font-size: clamp(1.4rem, 2.2vw, 2rem);
}
.film-story p + p {
  margin-top: 9px;
}
.film-frame {
  grid-area: film;
  display: grid;
  place-items: center;
  padding: 23px;
  border-radius: 24px;
  background: linear-gradient(125deg, #dce7fc, #eee9fa);
}
.film-frame a {
  display: block;
  position: relative;
  aspect-ratio: 4/4.2;
  width: min(92%, 365px);
  overflow: hidden;
  border-radius: 14px;
  background: #19243d;
  box-shadow: 0 14px 24px #2e456528;
}
.film-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 48%;
  transition: transform 0.3s;
}
.film-frame a:hover img {
  transform: scale(1.025);
}
.film-play {
  color: white;
  width: 58px;
  height: 58px;
  display: grid;
  place-items: center;
  border: 1px solid #ffffffab;
  border-radius: 50%;
  background: #14284ca6;
  position: absolute;
  inset: 50% auto auto 50%;
  transform: translate(-50%, -50%);
}
.film-play .icon {
  width: 23px;
  height: 23px;
  fill: currentColor;
}
.film-length {
  position: absolute;
  bottom: 14px;
  right: 14px;
  color: white;
  background: #12213dd9;
  border-radius: 6px;
  padding: 4px 7px;
  font-size: 0.83rem;
}
.practice-copy h2 {
  margin-bottom: 20px;
}
.text-link,
.call {
  gap: 9px;
  width: fit-content;
}
.text-link {
  margin-top: 24px;
  color: #1f55b6;
  font-weight: 660;
}
.text-link:hover,
.call:hover {
  text-decoration: underline;
}
.meeting {
  position: relative;
  overflow: hidden;
  isolation: isolate;
  background: linear-gradient(110deg, #095cbd, #2658da 64%, #6047c8);
  color: white;
}
.meeting::after {
  content: '';
  position: absolute;
  z-index: -1;
  right: -160px;
  top: -125px;
  width: 435px;
  height: 435px;
  border-radius: 50%;
  border: 56px solid #ffffff0c;
}
.meeting-inner {
  display: flex;
  gap: 45px;
  align-items: center;
  justify-content: space-between;
  padding-block: clamp(48px, 5.6vw, 84px);
}
.meeting .eyebrow {
  color: #dceaff;
}
.meeting-text {
  margin-top: 15px;
  max-width: 660px;
  color: #edf3ff;
}
.contact {
  flex: none;
  display: grid;
  justify-items: center;
  gap: 19px;
}
.white-btn {
  background: white;
  color: #194eac;
}
.call {
  font-variant-numeric: tabular-nums;
  font-weight: 600;
}
.footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  padding-block: 23px;
}
.footer .brand img {
  width: 112px;
}
dialog {
  padding: 0;
  border: none;
  background: #10192b;
  color: white;
  width: min(420px, calc(100vw - 32px));
  border-radius: 17px;
  overflow: hidden;
  max-height: 94dvh;
}
dialog::backdrop {
  background: #0b173cbd;
}
.dialog-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 9px 12px 9px 17px;
}
.dialog-bar h2 {
  font-size: 1.02rem;
  letter-spacing: 0;
}
[data-close] {
  display: grid;
  place-items: center;
  color: white;
  background: #28364f;
  border: none;
}
dialog video {
  background: #070b15;
  display: block;
  width: 100%;
  height: min(73dvh, 650px);
}
body:has(dialog[open]) {
  overflow: hidden;
}
@media (max-width: 1020px) {
  .wide-nav {
    gap: 15px;
  }
  .wide-nav a {
    font-size: 0.87rem;
  }
  .header-actions {
    gap: 9px;
  }
  .shortcuts a {
    padding-inline: 7%;
    gap: 8px;
  }
}
@media (max-width: 1100px) {
  :root {
    --gutter: 26px;
  }
  :root { --header-row-height: 65px; }
  .wide-nav {
    display: none;
  }
  .menu-toggle {
    display: grid;
    place-items: center;
  }
}
@media (max-width: 760px) {
  :root {
    --gutter: 21px;
  }
  :root { --header-row-height: 60px; }
  .brand img {
    width: 123px;
  }
  .nav-demo {
    display: none;
  }
  .hero-inner {
    display: flex;
    align-items: stretch;
    flex-direction: column;
    min-height: 0;
  }
  .hero-copy {
    padding: 38px 0 0;
  }
  h1 {
    --hero-title-size: clamp(2.95rem, 10vw, 5.7rem);
  }
  .hero-eyebrow {
    margin-bottom: 16px;
  }
  .hero-text {
    margin: 15px 0 19px;
    line-height: 1.47;
  }
  .clinic { padding: 0 0 14px; }
  .clinic-stage { --label-band: 41px; }
  .clinic-stage::before { aspect-ratio: 1.58; }
  .clinic-pins button { padding-inline: 4px; }
  .clinic-toolbar strong { font-size: .85rem; }
  .clinic-observer { right: 0; bottom: 0; }
  #guide-avatar-slot { width: 44px; }
  .hero-buttons {
    gap: 8px;
  }
  .hero-buttons .btn {
    font-size: 0.87rem;
    padding-inline: 11px;
    gap: 6px;
  }
  .hero-buttons .icon {
    width: 16px;
    height: 16px;
  }
  .btn {
    min-height: 44px;
    padding-inline: 15px;
    font-size: 0.91rem;
  }
  .shortcuts-inner {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px 0;
    padding-block: 16px;
  }
  .shortcuts a {
    padding: 0 9px 0 0;
    font-size: 0.9rem;
  }
  .shortcuts a span:last-child {
    min-width: 0;
    overflow-wrap: anywhere;
  }
  .shortcuts a:nth-child(2n) {
    padding-left: 12px;
  }
  .shortcuts a:nth-child(3) {
    border: 0;
  }
  .shortcuts .chip {
    width: 35px;
    height: 35px;
    border-radius: 10px;
  }
  .shortcuts .icon {
    width: 19px;
    height: 19px;
  }
  .section-heading,
  .patient-flow,
  .practice,
  .feature-row,
  .ward-call,
  .extras > div {
    grid-template-columns: 1fr;
  }
  .section-heading {
    gap: 12px;
    margin-bottom: 23px;
  }
  .section {
    padding-block: 50px;
  }
  .section,
  .feature-row,
  .ward-call,
  .meeting {
    scroll-margin-top: 66px;
  }
  .patient-flow {
    gap: 18px;
  }
  .sample-stage {
    min-height: 265px;
  }
  .sample-scenes {
    width: min(72%, 275px);
  }
  .step summary {
    padding: 13px 0;
  }
  .step > p {
    padding-left: 0;
  }
  .feature-row,
  .ward-call {
    gap: 18px;
  }
  .practice {
    grid-template-areas: "intro" "film" "resources";
    gap: 22px;
  }
  .story-list {
    grid-template-columns: 1fr;
    gap: 36px;
  }
  .film-story {
    scroll-margin-top: 72px;
  }
  .film-frame {
    padding: 17px;
  }
  .film-frame a {
    max-height: 370px;
  }
  .meeting-inner {
    flex-direction: column;
    align-items: flex-start;
    gap: 26px;
  }
  .contact {
    align-items: start;
    justify-items: start;
  }
}
@media (max-width: 395px) {
  .header-row .brand img { width: clamp(77px, 25vw, 99px); }
  .header-actions { gap: 6px; }
  .nav-login { min-height: 36px; padding-inline: 9px; }
  .langs a { padding-inline: 6px; }
  .hero-copy { padding-top: 24px; }
  h1 { --hero-title-size: clamp(2.45rem, 10.6vw, 2.7rem); }
  .hero-text { margin-block: 12px 15px; }
  .shortcuts a {
    gap: 6px;
    padding-right: 0;
  }
  .shortcuts a:nth-child(2n) {
    padding-left: 8px;
  }
  .shortcuts .chip {
    width: 30px;
    height: 32px;
  }

  :root {
    --gutter: 16px;
  }
  .header-row {
    gap: 8px;
  }
  .eyebrow {
    font-size: 0.82rem;
  }
  .footer {
    align-items: flex-start;
  }
  .footer a {
    font-size: 0.83rem;
  }
}
@media (prefers-reduced-motion: reduce) {
  .hero::before,
  .hero::after {
    animation: none;
  }
  :root {
    scroll-behavior: auto;
  }
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
  }
}
