/* Light product page. The shared consent controls retain their own styles. */
html.booking-page { background: #f9f8fd; color-scheme: light; scroll-padding-top: 6rem; }
.booking-page *, .booking-page *::before, .booking-page *::after { box-sizing: border-box; }
body.booking {
  --ink: #151e34;
  --copy: #41495b;
  --muted: #5b6373;
  --teal: #006b61;
  --deep: #00584f;
  --mint: #d8f6ef;
  --page: #faf9fd;
  --tint: #f5f4fc;
  --booking-gradient: linear-gradient(to right, var(--mint), var(--page) 53%, var(--tint));
  --security-gradient:
    radial-gradient(120% 90% at 100% 0%, rgb(78 200 193 / 24%), transparent 60%),
    linear-gradient(160deg, #12294a, #0a1322);
  --texture-dot: radial-gradient(circle, rgb(255 255 255 / 7%) 1px, transparent 1.6px);
  --dot-texture:
    var(--texture-dot) 0 0 / 8px 8px repeat,
    var(--texture-dot) 4px 4px / 8px 8px repeat;
  --line: #e3e3ed;
  --body-font: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --heading-font: "Inter Tight", "Inter", sans-serif;
  --section-size: clamp(2.1rem, 3.9vw, 3.2rem);
  margin: 0;
  background: var(--page);
  color: var(--ink);
  font: 400 1rem/1.6 var(--body-font);
  font-feature-settings: "ss01", "ss02";
  height: auto; min-height: 100vh;
  -webkit-text-size-adjust: 100%;
  overflow-x: visible;
}
body.booking::before, body.booking::after { content: none; }
.booking.md-light-nav .md-header { background: var(--booking-gradient); }
.booking .md-header.is-scrolled { --bk-nav-background: var(--teal); }
.booking.md-light-nav .md-header:is(.is-scrolled, .is-open),
.booking .md-dd__panel {
  --md-bg-2: var(--bk-nav-background, var(--deep));
  --md-text: #fff;
  --md-text-2: rgba(255, 255, 255, .94);
  --md-muted: rgba(255, 255, 255, .82);
  --md-surface: rgba(255, 255, 255, .09);
  --md-border: rgba(255, 255, 255, .12);
  --md-border-strong: rgba(255, 255, 255, .18);
  --md-accent-soft: var(--mint);
}
.booking.md-light-nav .md-header:is(.is-scrolled, .is-open) {
  background: var(--md-bg-2);
  border-bottom-color: var(--md-border);
}
.booking .md-header:is(.is-scrolled, .is-open) :focus-visible,
.booking .md-dd__panel :focus-visible { outline-color: var(--md-accent-soft); }
:where(.booking) a { color: inherit; text-decoration: none; }
.booking :where(button) { border: 0; padding: 0; background: none; color: inherit; font: inherit; cursor: pointer; }
.bk-symbols { position: absolute; overflow: hidden; pointer-events: none; }
.booking [hidden] { display: none !important; }
.booking :where(h1,h2,h3,p,figure,ul,ol) { margin: 0; }
.booking :where(h1,h2,h3) { font-family: var(--heading-font); color: var(--ink); font-weight: 700; }
.booking :where(a,button,summary):focus-visible { outline: 3px solid #1976a6; outline-offset: 4px; }
.booking ::selection { color: #053d38; background: #aaeadf; }
.bk-wrap { width: min(92.5%, 1480px); margin-inline: auto; }
.bk-i { display: inline-block; flex: none; width: 1.12em; height: 1.12em; vertical-align: -.18em; }
.bk-sr, .bk-skip:not(:focus) { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.bk-skip:focus { position: fixed; top: 8px; left: 8px; z-index: 1100; background: white; color: var(--teal); padding: 10px 20px; }

.bk-brand { display: inline-flex; gap: .35rem; align-items: center; color: var(--teal); font: 700 1.3rem/1 var(--heading-font); letter-spacing: -.03em; }
.bk-brand:hover, .bk-footer .bk-brand:hover { color: var(--deep); }

.bk-mobile-cta { display: none; }
.bk-actions { display: flex; align-items: center; gap: .8rem; flex-wrap: wrap; }
.bk-actions.centered { justify-content: center; margin-top: 2.6rem; }
.bk-button {
  display: inline-flex; align-items: center; justify-content: center; gap: .65rem;
  min-height: 48px; padding: .82rem 1.45rem; border: 1px solid transparent; border-radius: 10px;
  background: var(--teal); color: white; font: 600 1rem/1.2 var(--body-font); text-align: center;
  transition: background-color .18s, box-shadow .18s;
}
.bk-button:hover { background: var(--deep); color: white; box-shadow: 0 5px 14px #00594d20; }
.bk-button.light { color: var(--ink); background: white; border-color: var(--line); }
.bk-button.lilac { color: var(--ink); background: #e6e8fb; }
.bk-button.light:hover, .bk-button.lilac:hover { background: #eeedfc; color: var(--teal); }
.bk-button .bk-i { width: 1.2em; height: 1.2em; }
.bk-textlink { display: inline-flex; align-items: center; gap: .45rem; font-weight: 600; color: var(--teal); font-size: 1rem; }
.bk-textlink:hover, .bk-cookie-link:hover { color: var(--deep); text-decoration: underline; text-underline-offset: 3px; }
.bk-kicker { color: var(--teal); font-size: .82rem; font-weight: 700; line-height: 1.5; letter-spacing: .12em; text-transform: uppercase; margin-bottom: 1rem; }
.bk-kicker.warm { color: #9a403d; }
.bk-pill { display: inline-flex; align-items: center; gap: .55rem; padding: .34rem .8rem; border: 1px solid #d6e9e6; background: #ffffffdf; border-radius: 2rem; letter-spacing: 0; font-size: 1rem; font-weight: 500; text-transform: none; }
.bk-dot { width: 9px; height: 9px; background: #139a80; border: 2px solid #96e3ce; border-radius: 50%; box-shadow: 0 0 0 2px #e1f9f0; }
.bk-hero {
  background:
    linear-gradient(to bottom, transparent 78%, var(--page)),
    var(--booking-gradient);
  padding-bottom: clamp(40px,4vw,64px);
}
.bk-hero > .bk-wrap {
  width: 100%;
  --bk-hero-inset: max(7%, calc((100% - 75rem) / 2));
}
:is(.bk-problem-section, #channels) { --bk-section-width: min(86%, 75rem); }
:is(.bk-problem-section, #channels) > .bk-wrap { width: var(--bk-section-width); }
#channels {
  --bk-channel-card-padding: clamp(24px, 2.75vw, 44px);
  padding-block-end: 0;
}
.bk-hero-grid {
  display: grid;
  grid-template-columns: var(--md-nav-inset) minmax(0, 1fr) 50%;
  align-items: center;
}
.bk-hero-copy {
  grid-column: 2;
  container-type: inline-size;
  width: min(calc(100% - 1.5rem), 37rem);
  padding-block: clamp(2rem, 4vw, 4rem);
  text-align: start;
}
.bk-hero-image {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 5 / 4;
  min-height: 100%;
  object-fit: cover;
  object-position: center 80%;
}
.bk-hero h1 {
  font: 600 clamp(1.875rem, 4.3vw, 3.875rem)/1.2 var(--heading-font);
  font-size: clamp(1.75rem, 10.6cqi, 3.875rem);
  letter-spacing: -.03em;
  margin-bottom: .45em;
}
.bk-title-line { display: block; }
#booking-audience { display: inline-block; color: var(--teal); }
@media screen and (forced-colors: none) {
  @supports (background-clip: text) or (-webkit-background-clip: text) {
    #booking-audience {
      /* Leave room for glyph edges inside the gradient's paint area. */
      padding-inline: .08em;
      margin-inline: -.08em;
      background-image: linear-gradient(100deg, var(--deep), #0a8a7c);
      -webkit-background-clip: text;
      background-clip: text;
      color: transparent;
    }
  }
}
#booking-audience.swap { animation: bk-swap .38s ease-out both; }
@keyframes bk-swap { from { opacity: 0; transform: translateY(.18em); } to { opacity: 1; transform: none; } }
.bk-lead { color: #364452; font: 400 clamp(1.02rem,1.35vw,1.15rem)/1.7 var(--body-font); }
.bk-hero-copy .bk-actions { margin-top: 1.8rem; }
.bk-hero-copy .bk-button { min-height: 52px; }
.bk-micro { display: flex; flex-wrap: wrap; gap: .5rem 1.25rem; margin-top: 1.2rem; font-size: .82rem; color: #465c57; }
.bk-micro span { display: flex; align-items: center; gap: .48rem; }
.bk-micro .bk-i { color: var(--teal); }
.bk-trust-strip {
  background: var(--security-gradient);
  position: relative;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  padding: 1.65rem 1rem;
  overflow: hidden;
  list-style: none;
  color: #fff;
  border: 1px solid rgb(78 200 193 / 18%);
  border-radius: 20px;
  box-shadow: 0 24px 50px -28px rgb(10 19 34 / 70%);
}
.bk-hero .bk-trust-strip {
  margin-top: clamp(48px, 6.5vw, 106px);
  margin-inline: var(--bk-hero-inset);
}
.bk-trust-strip::after {
  content: "";
  position: absolute;
  inset: auto 0 0;
  height: 3px;
  background: linear-gradient(90deg, #0cb5a4, #4ec8c1);
  opacity: .85;
}
.bk-trust-strip li {
  display: flex;
  align-items: center;
  flex-direction: column;
  gap: .6rem;
  padding-inline: .4rem;
  text-align: center;
  text-wrap: balance;
  font-size: .91rem;
  font-weight: 600;
}
.bk-trust-strip li + li { border-left: 1px solid rgb(78 200 193 / 25%); }
.bk-trust-metric {
  display: inline-flex;
  align-items: center;
  gap: .25rem;
  min-height: 44px;
  font: 700 clamp(1.4rem, 2.3vw, 1.9rem)/1 var(--heading-font);
}
.bk-trust-stars {
  font-size: .75rem;
  background: linear-gradient(to right, #ffb547 96%, #748396 96%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.bk-trust-strip .bk-i {
  width: 44px;
  height: 44px;
  padding: 9px;
  color: #4ec8c1;
  background: rgb(78 200 193 / 14%);
  border: 1px solid rgb(78 200 193 / 32%);
  border-radius: 12px;
}

/* Sections, cards and booking channels */
.booking main > section + section { position: relative; }
.booking main > section + section::before,
.booking main > section + section::after {
  content: "";
  position: absolute;
  top: 0;
  left: 50%;
  transform: translate(-50%, -50%);
  pointer-events: none;
}
.booking main > section + section::before {
  width: min(92.5%, 1180px);
  height: 1px;
  background: linear-gradient(90deg, transparent, rgb(12 181 164 / 45%) 30% 70%, transparent);
}
.booking main > section + section::after {
  width: 44px;
  height: 44px;
  border: 1px solid #cdebe6;
  border-radius: 50%;
  background: white url("../images/medrita/divider-mark.webp") center / 24px no-repeat;
  box-shadow: 0 0 0 8px var(--page), 0 8px 22px -12px rgb(11 122 112 / 50%);
}
#channels + #how-it-works::before,
#channels + #how-it-works::after { content: none; }
.bk-section { padding-block: clamp(66px,7.3vw,120px); }
#how-it-works { padding-block-start: clamp(80px, 10vw, 160px); }
.bk-tint {
  background-color: var(--tint);
  background-image: var(--booking-gradient);
}
.bk-intro { max-width: 860px; margin-bottom: clamp(32px,4vw,58px); }
.bk-intro.center { max-width: 820px; margin-inline: auto; text-align: center; }
.bk-section h2, .bk-final h2 { font-size: var(--section-size); font-weight: 800; line-height: 1.08; letter-spacing: -.03em; text-wrap: balance; }
:is(.bk-problem-section, #channels, .bk-key-features, #benefits) .bk-intro h2,
.bk-migration h2 { font-weight: 600; }
:is(.bk-problem-section, #channels, .bk-key-features, #related-features) .bk-intro h2 > span { color: var(--teal); }
#how-it-works .bk-intro h2 > span { color: var(--deep); }
.bk-intro > p:last-child:not(.bk-kicker), .bk-qr-panel > div > p { margin-top: 1rem; color: var(--copy); font-size: clamp(1.04rem,1.4vw,1.15rem); line-height: 1.7; }
.bk-section h3 { font-size: clamp(1.35rem,1.9vw,1.6rem); line-height: 1.15; letter-spacing: -.02em; }
.bk-card { min-width: 0; padding: clamp(21px,2vw,32px); border: 1px solid var(--line); border-radius: 16px; background: #fff; }
.bk-card p, .bk-pains p { font-size: 1rem; line-height: 1.65; color: var(--copy); }
.bk-icon { display: inline-grid; place-items: center; flex: none; width: 46px; height: 46px; background: var(--mint); color: var(--teal); border-radius: 12px; }
.bk-icon .bk-i { width: 23px; height: 23px; }
.bk-tag { display: inline-flex; align-items: center; gap: .4rem; padding: .26rem .7rem; width: fit-content; background: #e4f5f0; color: #07695b; border-radius: 999px; font: 700 .78rem/1.45 var(--body-font); }
.bk-icon.rose { background: #fce9e8; color: #9e3434; }
.bk-icon.amber { background: #fff4d8; color: #8b5616; }
.bk-icon.lilac { background: #ebeafb; color: #4b4e85; }
.bk-tag.blue, .bk-icon.blue { background: #e0eefd; color: #265f84; }
.bk-tag.green, .bk-icon.green { background: #dbf8e9; color: #216044; }
.bk-tag.mint { background: #c5f3e9; color: #095c51; }
.bk-pain-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, min(44%, 30rem)); gap: clamp(30px,4vw,72px); align-items: start; }
.bk-pain-grid .bk-intro { margin-bottom: 1rem; }
.bk-front-desk-form { min-width: 0; }
.bk-front-desk-form:has(:modal) { min-height: calc(var(--bk-form-height, 28rem) + 7rem); }
.bk-pains { display: grid; row-gap: 1.5rem; }
.bk-pains article { display: flex; gap: clamp(14px,1.6vw,24px); }
.bk-pains p { margin-top: .25rem; max-width: 59ch; }
.bk-walkthrough { display: flex; align-items: center; gap: 1.25rem; justify-content: space-between; margin-top: clamp(32px,4vw,64px); border-radius: 17px; padding: clamp(23px,2.55vw,40px); }
.bk-table-wrap {
  border: 1px solid #bad8cf;
  border-radius: 16px;
  overflow: hidden;
  background-color: rgb(255 255 255 / 48%);
  box-shadow: 0 6px 18px rgb(0 88 79 / 7%);
}
.bk-table { width: 100%; border-collapse: collapse; table-layout: fixed; color: var(--ink); font-size: 1rem; margin: 0; }
.bk-table th, .bk-table td { padding: clamp(14px, 1.4vw, 20px) clamp(12px, 2vw, 32px); text-align: center; vertical-align: middle; line-height: 1.45; }
.bk-table thead { background: var(--deep); color: white; }
.bk-table thead th { font-size: 1rem; font-weight: 600; }
.bk-table thead th + th { border-inline-start: 1px solid rgb(255 255 255 / 20%); }
.bk-table th:first-child { width: 44%; text-align: left; }
.bk-table tbody tr + tr { border-top: 1px solid #cde3db; }
.bk-table tbody tr:nth-child(even) { background: rgb(216 246 239 / 32%); }
.bk-table th .bk-i { margin-right: .3rem; }
.bk-table tbody th { color: var(--deep); font-weight: 600; }
.bk-table td { color: var(--deep); font-weight: 500; }
.bk-channel-cards { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(18px,2.4vw,36px); margin-top: clamp(26px,3.6vw,56px); }
.bk-channel-card { display: flex; flex-direction: column; align-items: flex-start; gap: 1.1rem; padding: var(--bk-channel-card-padding); }
.bk-channel-card > .bk-tag {
  gap: .5rem;
  padding: .35rem .9rem;
  color: #fff;
  font-size: 1rem;
}
.bk-channel-card > .bk-tag.blue { background: #265f84; }
.bk-channel-card > .bk-tag.green { background: var(--deep); }
.bk-channel-card h3 { font-size: clamp(1.5rem,2.2vw,1.75rem); font-weight: 600; }
.bk-sync-note { display: flex; align-items: flex-start; gap: .8rem; margin: 1.25rem .2rem 0; color: #354c49; font-size: .91rem; }
.bk-sync-note > .bk-i { margin-top: .25rem; color: var(--teal); }
.bk-qr-panel {
  --qr-inset: calc((100% - var(--bk-section-width)) / 2);
  background: var(--dot-texture), var(--security-gradient);
  display: grid;
  grid-template-columns: var(--qr-inset) minmax(0, 1fr) 50%;
  grid-template-areas: ". copy doctor";
  align-items: center;
  margin-top: clamp(40px, 6vw, 80px);
  border-block-start: 1px solid rgb(78 200 193 / 25%);
}
.bk-qr-panel > div { grid-area: copy; padding-block: clamp(32px, 3.3vw, 52px); }
.bk-qr-panel h3 { color: #fff; font-size: var(--section-size); font-weight: 800; margin: .6rem 0 0; }
.bk-qr-panel > div > p { color: #e1eaf3; margin-top: .6rem; }
.bk-qr-panel .bk-button { margin-top: 1rem; border-color: #4ec8c1; }
.bk-qr-panel .bk-button:focus-visible { outline-color: var(--mint); }
.bk-qr-caption { display: block; margin-top: .75rem; color: #e1eaf3; font-size: .8rem; }
.bk-qr-doctor {
  display: block;
  grid-area: doctor;
  place-self: end;
  width: min(100%, 52rem);
  height: auto;
  margin-block-start: clamp(-5.75rem, -6vw, -3.25rem);
  margin-inline-end: clamp(16px, 3vw, 48px);
  pointer-events: none;
}

/* Workflow and feature collections */
.bk-steps, .bk-related { display: grid; grid-template-columns: repeat(4,minmax(0,1fr)); gap: clamp(14px,1.8vw,28px); }
.bk-steps { position: relative; list-style: none; padding: 0; isolation: isolate; }
.bk-steps::before { content: ""; position: absolute; z-index: -1; top: 54px; height: 1px; inset-inline: 3%; background: #91cfc3; }
.bk-steps li, .bk-related article { display: flex; flex-direction: column; align-items: flex-start; }
.bk-steps > .bk-card {
  --ink: #fff;
  --copy: var(--mint);
  background: var(--deep);
  border-color: var(--deep);
}
.bk-step-num { display: grid; place-items: center; width: 49px; height: 49px; margin-bottom: 1.3rem; border-radius: 50%; color: #006457; background: #d2f4ed; font: 700 1.3rem var(--heading-font); }
.bk-steps li:nth-child(2) .bk-step-num { background: #e1effc; color: #245676; }
.bk-steps li:nth-child(3) .bk-step-num { background: #a9eadd; }
.bk-steps li:nth-child(4) .bk-step-num { background: #c3f2da; }
.bk-steps p { margin-top: .7rem; }
.bk-steps .bk-tag { margin-top: auto; background: rgb(255 255 255 / 10%); color: var(--mint); }
.bk-steps h3 { font-size: 1.22rem; }
.bk-steps p { padding-bottom: 1.6rem; font-size: .98rem; }
.bk-walkthrough { background: #e1e5fc; }
.bk-walkthrough p { margin-top: .4rem; color: var(--copy); }
.bk-walkthrough .bk-actions { flex-shrink: 0; }
.bk-contact-dialog {
  position: static;
  width: 100%;
  height: auto;
  margin: 0;
  padding: 0;
  overflow: hidden;
  color: var(--ink);
  background: white;
  border: 1px solid var(--line);
  border-radius: 1rem;
  box-shadow: 0 10px 32px #0821231a;
}
.bk-contact-dialog:not([open]) { display: none; }
.bk-contact-dialog[open] { display: flex; flex-direction: column; }
.bk-contact-dialog:modal {
  position: fixed;
  inset: 0;
  width: min(36rem, calc(100% - 2rem));
  height: fit-content;
  max-height: calc(100vh - 2rem);
  max-height: calc(100dvh - 2rem);
  margin: auto;
}
.bk-contact-dialog:not(:modal) .bk-contact-heading form { display: none; }
.bk-contact-dialog::backdrop { background: rgb(15 30 44 / 62%); }
html:has(.bk-contact-dialog:modal) { overflow: hidden; }
.bk-contact-heading { display: flex; flex: none; align-items: start; justify-content: space-between; gap: 1rem; padding: 1.5rem clamp(1rem, 2vw, 2rem); background: linear-gradient(110deg, var(--deep), var(--teal)); }
.bk-contact-heading h2 { color: white; font-size: clamp(1.45rem, 2.4vw, 2rem); font-weight: 500; line-height: 1.2; }
.bk-contact-heading p { margin-top: .5rem; color: #e3f5f1; font-size: .95rem; }
.bk-contact-heading button { width: 44px; height: 44px; border-radius: 50%; background: var(--mint); color: var(--deep); font-size: 1.6rem; line-height: 1; }
.bk-contact-dialog iframe { display: block; width: 100%; height: var(--bk-form-height, 28rem); min-height: 0; border: 0; }
.bk-section.bk-key-features { padding-block: clamp(36px, 3.6vw, 56px); }
.bk-key-features .bk-intro { margin-bottom: clamp(20px, 2vw, 30px); }
.bk-feature-browser { max-width: 70rem; margin-inline: auto; }
.bk-feature-panels { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 2rem; }
.bk-feature-browser.is-interactive {
  display: grid;
  grid-template-areas: "panels tabs";
  grid-template-columns: minmax(0, 2.1fr) minmax(0, 1fr);
  gap: clamp(1.5rem, 3vw, 2.5rem);
  align-items: start;
}
.bk-feature-browser.is-interactive .bk-feature-panels { display: block; grid-area: panels; }
.bk-feature-media {
  display: grid;
  aspect-ratio: 8 / 5;
  grid-template-rows: minmax(0, 1fr);
  overflow: hidden;
  border: 1px solid #cce3dd;
  border-radius: 16px;
  background: linear-gradient(125deg, #e1f4ee, #f9fcfb);
}
.bk-feature-media img { display: block; width: 100%; height: 100%; min-width: 0; object-fit: contain; }
.bk-feature-panel h3 { margin-top: 1rem; font-size: clamp(1.4rem, 2.2vw, 1.85rem); font-weight: 600; }
.bk-feature-panel p:last-child { margin-top: .6rem; color: var(--copy); }
.bk-feature-panel .bk-kicker { margin: 1.25rem 0 .35rem; }
.bk-feature-panel .bk-kicker + h3 { margin-top: 0; }
.bk-feature-tabs { grid-area: tabs; display: flex; flex-direction: column; min-width: 0; }
.bk-feature-tab {
  position: relative;
  display: grid;
  gap: .15rem;
  min-height: 3.6rem;
  padding: .55rem .5rem .55rem 1rem;
  border-block-end: 1px solid #ccded9;
  color: var(--ink);
  font-weight: 500;
  text-align: start;
}
.bk-feature-tab:first-child { border-block-start: 1px solid #ccded9; }
.bk-feature-tab::before {
  content: "";
  position: absolute;
  inset: .6rem auto .6rem 0;
  width: 3px;
  border-radius: 2px;
  background: #cbdfda;
}
.bk-feature-tab[aria-selected="true"]::before { background: var(--teal); }
.bk-feature-tab[aria-selected="true"], .bk-feature-tab:hover { color: var(--deep); }
.bk-feature-number { color: var(--muted); font-size: .75rem; font-weight: 600; line-height: 1.3; font-variant-numeric: tabular-nums; }
.bk-feature-tab[aria-selected="true"] .bk-feature-number { color: var(--teal); }
.bk-feature-panel:focus-visible { outline: 3px solid var(--teal); outline-offset: 4px; }
@media (max-width: 760px) {
  .bk-feature-browser.is-interactive { grid-template-areas: "tabs" "panels"; grid-template-columns: minmax(0, 1fr); gap: 1rem; }
  .bk-feature-panels { grid-template-columns: 1fr; }
  .bk-feature-tabs { flex-direction: row; overflow-x: auto; gap: .5rem; padding: .35rem; }
  .bk-feature-tab {
    flex: none;
    display: flex;
    align-items: center;
    gap: .4rem;
    min-height: 44px;
    padding: .5rem .85rem;
    border: 1px solid #ccded9;
    border-radius: 2rem;
    background: white;
    font-size: .9rem;
  }
  .bk-feature-tab::before { display: none; }
  .bk-feature-tab[aria-selected="true"] { color: white; background: var(--deep); border-color: var(--deep); }
  .bk-feature-tab[aria-selected="true"] .bk-feature-number { color: var(--mint); }
}
.bk-migration-cards .bk-icon { width: 37px; height: 37px; border-radius: 9px; }
.bk-migration-cards .bk-i { width: 19px; height: 19px; }
.bk-related h3 { margin-top: 1.35rem; font-size: clamp(1.35rem,1.75vw,1.6rem); font-weight: 600; }
.bk-channel-cards > .bk-channel-card, .bk-related > .bk-card { background-color: #a9eadf; }
.bk-related strong { color: var(--teal); margin: .75rem 0 .5rem; font-size: .92rem; font-weight: 600; line-height: 1.4; }
.bk-related p { padding-bottom: 1.55rem; }
.bk-related .bk-textlink { margin-top: auto; }
.bk-related > :nth-child(4n + 2) { --bk-pan-start: -400px; }
.bk-related > :is(:nth-child(4n + 3), :nth-child(4n)) { --bk-pan-start: -500px; }
#practices { background: #eff8f7; }
#practices > .bk-wrap { max-width: 1180px; }
#practices .bk-kicker { display: inline-flex; align-items: center; gap: .5rem; }
#practices .bk-kicker::before { content: ""; width: 22px; height: 2px; background: #0cb5a4; }
#practice-title > span { color: #089789; }
.bk-practices { --practice-gap: .75rem; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--practice-gap); }
.bk-practice {
  --practice-surface: linear-gradient(115deg, #aa271f, #cb3a21 55%, #f4511e);
  position: relative;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  align-items: center;
  min-width: 0;
  overflow: hidden;
  border-radius: 14px;
  color: white;
  background: var(--practice-surface);
}
.bk-practice:nth-child(2) { --practice-surface: #cdefea; color: #0b1b2e; }
.bk-practice:nth-child(3) { --practice-surface: linear-gradient(115deg, #0f1f35, #16304f); }
.bk-practice:nth-child(4) { --practice-surface: linear-gradient(115deg, #0b5550, #0b7a70); }
.bk-practice-front { display: contents; }
.bk-practice::before {
  content: "";
  position: absolute;
  inset: 1.5rem 0 0 51%;
  border-top-left-radius: 100%;
  background: rgb(255 255 255 / 12%);
}
.bk-practice-copy { position: relative; padding: 2rem 0 2rem clamp(1.5rem, 3vw, 2.5rem); }
.bk-practice h3 { color: inherit; font-size: clamp(1.7rem, 2.6vw, 2.15rem); font-weight: 800; }
.bk-practice p { margin-top: .8rem; line-height: 1.55; }
.bk-practice img {
  position: relative;
  width: 100%;
  height: 100%;
  min-height: 0;
  padding: 1.75rem 1.125rem 0 0;
  object-fit: contain;
  object-position: right center;
}
.bk-practice:first-child img { object-position: right bottom; }
.bk-practice-toggle { position: absolute; inset: 0; width: 100%; height: 100%; border-radius: inherit; }
.booking .bk-practice-toggle:focus-visible { outline: 3px solid currentColor; outline-offset: -5px; }
.bk-practices.is-interactive {
  display: flex;
  container-type: inline-size;
  --practice-rail: 132px;
  --practice-open-width: calc(100cqi - 3 * (var(--practice-rail) + var(--practice-gap)));
}
.bk-practices.is-interactive .bk-practice {
  flex: 0 0 var(--practice-rail);
  min-height: 400px;
  transition: flex-basis .7s cubic-bezier(.11,.16,.43,.86);
}
.bk-practices.is-interactive .is-expanded {
  flex-basis: var(--practice-open-width);
}
.bk-practices.is-interactive .is-expanded .bk-practice-copy {
  /* Keep the copy at its final measure while the panel opens. */
  width: calc(var(--practice-open-width) / 2);
}
.bk-practices.is-interactive .bk-practice:not(.is-expanded)::before {
  inset: auto 0 0 .75rem;
  height: 8.5rem;
}
.bk-practices.is-interactive .bk-practice:not(.is-expanded) .bk-practice-copy {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 11rem;
  padding: 0;
  transform: translate(-50%, -50%) rotate(-90deg);
  text-align: center;
}
.bk-practices.is-interactive .bk-practice:not(.is-expanded) h3 {
  font-size: 1.12rem;
  font-weight: 600;
  line-height: 1.25;
  text-wrap: balance;
}
.bk-practices.is-interactive .bk-practice:not(.is-expanded) img {
  grid-column: 1 / -1;
  align-self: end;
  height: 8rem;
  padding: .5rem;
  opacity: .75;
}
@media (max-width: 1180px) {
  .bk-practices { grid-template-columns: 1fr; gap: 1.125rem; }
  .bk-practice img { height: clamp(14rem, 31vw, 23.75rem); }
}
@media (max-width: 700px) {
  .bk-practice { grid-template-columns: 1fr; }
  .bk-practice-copy { padding: 1.75rem 1.5rem 0; }
  .bk-practice h3 { font-size: 1.6rem; }
  .bk-practice img { height: clamp(11.25rem, 55vw, 17.5rem); padding: 1rem 1rem 0; }
  .bk-practice::before { inset: auto 0 0 35%; height: 55%; }
  .can-flip .bk-practice {
    perspective: 60rem;
    background: transparent;
    align-items: stretch;
  }
  .can-flip .bk-practice::before { content: none; }
  .can-flip :is(.bk-practice-front, .bk-practice-copy) {
    display: grid;
    grid-area: 1 / 1;
    padding: 1.5rem 1.5rem 3.5rem;
    border-radius: inherit;
    background: var(--practice-surface);
    backface-visibility: hidden;
    transition: transform .45s ease-in-out;
  }
  .can-flip .bk-practice-front::before {
    content: attr(data-title);
    font: 800 1.6rem/1.15 var(--heading-font);
    letter-spacing: -.02em;
  }
  .can-flip .bk-practice-front img { align-self: end; padding-inline: 0; }
  .can-flip .bk-practice-copy { align-content: center; transform: rotateY(-180deg); }
  .can-flip .is-expanded .bk-practice-front { transform: rotateY(180deg); }
  .can-flip .is-expanded .bk-practice-copy { transform: rotateY(0); }
  .can-flip .bk-practice-toggle {
    display: flex;
    align-items: flex-end;
    padding: 1rem 1.5rem;
    font-weight: 600;
    text-decoration: underline;
    text-underline-offset: .2em;
  }
}
.bk-migration {
  display: grid;
  grid-template-columns: minmax(0,.95fr) minmax(0,1fr);
  align-items: center;
  gap: clamp(18px, 2.5vw, 40px);
  padding: clamp(32px, 5vw, 72px) clamp(20px, 3vw, 48px);
  background: var(--deep);
  border-radius: 24px;
}
.bk-migration h2 { color: #fff; }
.bk-migration .bk-kicker { margin-bottom: .6rem; color: var(--mint); }
.bk-migration .bk-button { margin-top: 1rem; background: #fff; color: var(--deep); }
.bk-migration .bk-button:hover { background: var(--mint); }
.bk-migration .bk-button:focus-visible { outline-color: #fff; }
.bk-migration-cards { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: .7rem; }
.bk-migration-cards .bk-card {
  text-align: center;
  min-height: clamp(13rem, 20vw, 18rem);
  padding: clamp(24px, 2vw, 32px) clamp(12px, 1vw, 16px);
  border-radius: 12px;
}
.bk-migration-cards h3 { margin-top: .6rem; font-size: 1.22rem; font-weight: 600; }
.bk-migration-cards p { margin-top: .4rem; font-size: .9rem; line-height: 1.5; }

/* Benefits, support and navigation */
#benefits {
  --ink: #fff;
  --copy: #e1eaf3;
  color: var(--copy);
  background:
    var(--dot-texture),
    linear-gradient(125deg, rgb(255 255 255 / 6%), transparent 50%, rgb(0 0 0 / 8%)),
    var(--security-gradient);
  background-color: #12294a;
}
#benefits .bk-kicker,
#benefits .bk-intro h2 > span { color: #80ded6; }
.bk-benefits {
  --divider-gap: clamp(1.25rem, 2.5vw, 2.5rem);
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  grid-auto-rows: 1fr;
  gap: calc(2 * var(--divider-gap));
  width: min(100%, 75rem);
  margin-inline: auto;
  overflow: hidden;
}
.bk-benefits article { position: relative; }
@media (min-width: 581px) {
  .bk-benefits article {
    display: grid;
    grid-row: span 2;
    grid-template-rows: subgrid;
    row-gap: 0;
  }
}
/* Dividers sit in the gutters. The grid clips them at its outer edges. */
.bk-benefits article::before, .bk-benefits article::after {
  content: "";
  position: absolute;
  border-color: rgb(225 234 243 / 28%);
  border-style: solid;
  border-width: 0;
}
.bk-benefits article::before {
  inset-block: 0;
  inset-inline-start: calc(-1 * var(--divider-gap));
  border-inline-start-width: 1px;
}
.bk-benefits article::after {
  inset-inline: 0;
  inset-block-start: calc(-1 * var(--divider-gap));
  border-block-start-width: 1px;
}
.bk-benefits h3 {
  margin: 0 0 .85rem;
  color: #a9eadf;
  font-size: clamp(1.65rem, 2.4vw, 2.15rem);
  font-weight: 500;
}
.bk-bookings-heading { container-type: inline-size; }
.bk-bookings-heading > span { font-size: min(1em, 11cqi); }
.bk-benefit-percent {
  display: inline-grid;
  font-size: 1.45em;
  font-variant-numeric: tabular-nums;
  line-height: 1;
}
.bk-benefit-percent > span { grid-area: 1 / 1; }
/* The final value reserves space and stays readable to assistive technology. */
.bk-benefit-percent > [aria-hidden] + span { opacity: 0; }
.bk-benefits p { color: var(--copy); line-height: 1.55; }
#faqs { --faq-accent: var(--teal); background: white; }
#faq-title span { color: var(--faq-accent); }
.bk-faq {
  --faq-gap: clamp(1rem, 2.2vw, 1.75rem);
  --faq-inset: clamp(1rem, 1.6vw, 1.3rem);
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  align-items: start;
  gap: var(--faq-gap) clamp(1.5rem, 3.2vw, 2.65rem);
  max-width: 73.75rem;
  margin-inline: auto;
}
.bk-faq-column { display: grid; gap: var(--faq-gap); }
.bk-faq details { border: 1px solid #dbe3ef; border-radius: .75rem; background: white; }
.bk-faq summary {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 1.65rem;
  align-items: center;
  gap: 1rem;
  min-height: 5.15rem;
  padding: 1rem var(--faq-inset);
  border-radius: inherit;
  font: 400 clamp(1rem, 1.35vw, 1.125rem)/1.4 var(--body-font);
  list-style: none;
  cursor: pointer;
}
.bk-faq summary::-webkit-details-marker { display: none; }
.bk-faq summary::before, .bk-faq summary::after {
  content: "";
  grid-area: 1 / 2;
  justify-self: center;
  border: 1.5px solid var(--faq-accent);
}
.bk-faq summary::before { width: 1.65rem; height: 1.65rem; border-radius: 50%; }
.bk-faq summary::after { width: .46rem; height: .46rem; border-width: 0 2px 2px 0; transform: translateY(-20%) rotate(45deg); }
.bk-faq details[open] summary::after { transform: translateY(20%) rotate(225deg); }
.bk-faq details[open] { border-color: #a4b8eb; }
.bk-faq details p { padding: 0 var(--faq-inset) 1.3rem; color: var(--copy); font-size: 1rem; line-height: 1.65; }
.bk-faq details p a { color: var(--teal); text-decoration: underline; text-underline-offset: 2px; }
.bk-question { display: flex; align-items: center; justify-content: center; flex-wrap: wrap; gap: .6rem; margin-top: 2.3rem; }
.bk-question > .bk-i { color: var(--teal); }
.bk-final { text-align: center; color: white; padding: clamp(72px,8vw,128px) 0; background: radial-gradient(ellipse at 100% 100%,#226d96,transparent 48%), radial-gradient(ellipse at 0 0,#238b80,transparent 50%),linear-gradient(125deg,#006859,#008078); }
.bk-final .bk-kicker { color: #d2f6e9; }
.bk-final h2 { max-width: 22ch; margin-inline: auto; color: white; }
.bk-final p:not(.bk-kicker) { max-width: 55ch; margin: 1.4rem auto; color: #effdf8; font: 400 1.12rem/1.65 var(--body-font); }
.bk-final .bk-actions { margin-top: 1.7rem; }
.bk-button.glass { color: white; background: #ffffff18; border-color: #ffffff59; }
.bk-button.glass:hover { background: #ffffff2b; }
.bk-footer { padding: clamp(48px,5vw,82px) 0 2rem; background: #eff0fb; }
.bk-footer-grid { display: grid; grid-template-columns: 1.25fr repeat(4,1fr); gap: clamp(20px,3vw,48px); }
.bk-footer-grid > div { display: flex; flex-direction: column; align-items: flex-start; gap: .48rem; }
.bk-footer-grid h2 { font: 700 .74rem var(--body-font); letter-spacing: .12em; text-transform: uppercase; line-height: 1.35; margin-bottom: .6rem; }
.bk-footer-grid a:not(.bk-brand), .bk-footer-grid p, .bk-cookie-link { color: #424c5e; font-size: .92rem; line-height: 1.5; }
.bk-footer-grid p { margin-top: .7rem; max-width: 25ch; }
.bk-cookie-link { padding: 0; text-align: left; }
.bk-footer-grid a:not(.bk-brand):hover { color: var(--teal); text-decoration: underline; }
.bk-footer-bottom { color: var(--muted); font-size: .8rem; margin-top: 2.5rem; padding-top: 1.2rem; border-top: 1px solid #dbdeeb; }
/* Consent is available in the footer from first load. Settings reopens and focuses it. */
.booking .cookie-consent-container .cookie-consent { position: relative !important; border-radius: 0 !important; box-shadow: none !important; }
.booking .cookie-reset-button { display: none !important; }

@media (max-width: 1100px) {
  .bk-migration { grid-template-columns: 1fr; }
  .bk-migration > div:first-child { max-width: 78ch; }
  .bk-related, .bk-benefits { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .bk-related > :nth-child(odd) { --bk-pan-start: 0px; }
  .bk-related > :nth-child(even) { --bk-pan-start: max(-400px, -80%); }
}

@media (max-width: 900px) {
  .bk-pain-grid { grid-template-columns: minmax(0, 1fr); row-gap: 1.5rem; }
  .bk-hero { padding-top: clamp(44px, 7vw, 62px); }
  .bk-hero > .bk-wrap { --bk-hero-inset: var(--md-nav-inset); }
  .bk-hero-grid { grid-template-columns: minmax(0, 1fr); gap: 2.4rem; margin-inline: var(--bk-hero-inset); justify-items: center; }
  .bk-hero-copy { grid-column: 1; width: min(100%, 37rem); padding-block: 0; text-align: center; }
  .bk-hero-copy .bk-actions, .bk-hero-copy .bk-micro { justify-content: center; }
  .bk-hero-image { max-width: 37rem; min-height: 0; aspect-ratio: auto; }
  .bk-steps { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .bk-steps::before { display: none; }
  .bk-walkthrough { align-items: flex-start; flex-direction: column; }
  .bk-footer-grid { grid-template-columns: repeat(3,minmax(0,1fr)); }
}

@media (max-width: 760px) {

  .bk-faq { grid-template-columns: minmax(0, 1fr); }
  .bk-faq summary { min-height: 4rem; }
  .bk-table th .bk-i { display: none; }
  .bk-table th:first-child { width: 39%; }
  .bk-channel-cards { grid-template-columns: minmax(0, 1fr); }
  .bk-qr-panel {
    grid-template-columns: minmax(0, 1fr);
    grid-template-areas: "copy" "doctor";
    padding-inline: var(--qr-inset);
  }
  .bk-qr-panel > div {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    padding-block-end: 1rem;
  }
  .bk-qr-panel .bk-button { width: 100%; white-space: normal; }
  .bk-qr-doctor { width: min(100%, 32rem); margin: 0; object-fit: contain; }
  .bk-trust-strip { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.2rem 0; }
  .bk-trust-strip li:nth-child(3) { border-left: 0; }
  .bk-mobile-cta { display: flex; position: fixed; inset: auto 0 0; z-index: 19; padding: 8px max(16px,env(safe-area-inset-right)) calc(8px + env(safe-area-inset-bottom)) max(16px,env(safe-area-inset-left)); background: #fffffff5; border-top: 1px solid var(--line); box-shadow: 0 -4px 16px #1418380b; }
  .bk-mobile-cta .bk-button { width: 100%; min-height: 44px; padding-block: .65rem; }
  .booking { padding-bottom: calc(70px + env(safe-area-inset-bottom)); }
  html.booking-page { scroll-padding-bottom: calc(76px + env(safe-area-inset-bottom)); }
}

@media (max-width: 640px) {
  body.booking {
    --section-size: clamp(1.85rem, 6.5vw, 2.35rem);
  }
  .bk-pill { font-size: .9rem; }
}
@media (max-width: 580px) {
  .bk-wrap { width: calc(100% - 36px); }

  .bk-brand img { width: 31px; height: 31px; }
  .bk-hero-grid {
    width: min(calc(100% - 2 * var(--md-nav-inset)), 24rem);
    margin-inline: auto;
  }
  .bk-hero-copy { display: grid; grid-template-columns: minmax(0, 1fr); }
  .bk-hero-copy .bk-pill { justify-self: center; }
  .bk-hero-copy :is(h1, .bk-lead) { text-align: center; }
  .bk-hero-copy .bk-lead { text-wrap: balance; }
  .bk-actions { gap: .55rem; }
  .bk-button { min-height: 44px; padding: .72rem 1rem; }
  .bk-hero-copy .bk-actions {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(min(100%, 11.5rem), 1fr));
  }
  .bk-hero-copy .bk-button { min-height: 46px; }
  .bk-micro { gap: .4rem .8rem; font-size: .76rem; }
  .bk-hero .bk-trust-strip { margin-top: 2.2rem; }
  .bk-section { padding-block: 58px; }
  .bk-intro { margin-bottom: 1.8rem; }
  .bk-card { border-radius: 14px; }
  .bk-table { font-size: .85rem; }
  .bk-table th, .bk-table td { padding: .9rem .5rem; overflow-wrap: break-word; }
  .bk-table thead th { font-size: .95rem; }
  .bk-sync-note { font-size: .86rem; }
  .bk-related, .bk-benefits, .bk-steps, .bk-migration-cards { grid-template-columns: 1fr; }
  .bk-steps { width: min(92%, 22rem); margin-inline: auto; }
  .bk-steps .bk-card {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr);
    align-content: center;
    gap: .75rem .95rem;
    min-height: 13rem;
    padding-block: 1.75rem;
  }
  .bk-step-num { grid-row: 1/4; width: 38px; height: 38px; margin: 0; }
  .bk-steps h3 { align-self: center; }
  .bk-steps p, .bk-steps .bk-tag { margin: 0; padding-bottom: 0; grid-column: 2; }
  .bk-step-num + h3 { padding-block: .25rem; }
  .bk-walkthrough .bk-actions { flex-shrink: 1; }
  .bk-related .bk-icon { width: 40px; height: 40px; }
  .bk-related > :nth-child(n + 2) { --bk-pan-start: -16vw; }
  .bk-related h3 { margin-top: .8rem; }
  .bk-related p { padding-bottom: .8rem; }
  .bk-question { font-size: .9rem; }
  .bk-footer-grid { grid-template-columns: repeat(2,minmax(0,1fr)); row-gap: 1.65rem; }
  .bk-footer-grid > div:first-child { grid-column: 1/-1; }
  .bk-footer-grid p { max-width: 36ch; margin-top: 0; }
  .bk-footer-bottom { font-size: .75rem; }
}
@media (max-width: 370px) {
  .bk-wrap { width: calc(100% - 28px); }
}
@media screen and (prefers-reduced-motion: no-preference) {
  .booking main { overflow-x: clip; --bk-enter-distance: clamp(.75rem, 3vw, 2.5rem); }
  /* Keyboard navigation keeps every link at its resting grid position. */
  .bk-related:not(:has(:focus-visible)) > .bk-card {
    translate: calc(var(--bk-pan-start, 0px) * var(--bk-pan-remaining, 0)) 0;
  }
  @supports (animation-timeline: view()) and (animation-range: cover 0% cover 50%) {
    .bk-related:not(:has(:focus-visible)) > .bk-card {
      animation: bk-related-pan auto linear both;
      animation-timeline: view(block);
      animation-range: cover 0% cover 50%;
    }
    @keyframes bk-related-pan {
      from { translate: var(--bk-pan-start, 0px) 0; }
      to { translate: 0 0; }
    }
  }
  .bk-entering:not(:focus-within, :target) { animation: bk-scroll-enter 480ms cubic-bezier(.2,.7,.3,1); }
  [data-bk-enter="left"],
  [data-bk-enter-cards="left"] > :nth-child(odd),
  [data-bk-enter-cards="right"] > :nth-child(even) {
    --bk-enter-from: calc(0px - var(--bk-enter-distance));
  }
  @keyframes bk-scroll-enter {
    from { opacity: .25; translate: var(--bk-enter-from, var(--bk-enter-distance)) 0; }
    to { opacity: 1; translate: none; }
  }
}
@media (prefers-reduced-motion: reduce) {
  .booking *, .booking *::before, .booking *::after { animation: none !important; transition: none !important; }
}
