/*
 * The public site: the homepage and the Guide (layouts/site, body.mk).
 *
 * The product's own family: Poppins (Hind Vadodara for Gujarati), the CurisLink
 * teal, white cards on soft tinted sections, and real screenshots of the app in
 * browser and phone frames. Components are mk-* (site) and gd-* (Guide).
 * Bootstrap (application.css) gives the grid, collapse, tabs and accordion.
 */

body.mk {
  --mk-font: "Poppins", "Hind Vadodara", system-ui, -apple-system, "Segoe UI", sans-serif;
  --mk-ink: #0b2b2a;
  --mk-text: #33504e;
  --mk-muted: #5b7774;
  --mk-line: #dbe8e6;
  --mk-line-strong: #c5d9d6;
  --mk-brand: #0f766e;
  --mk-brand-strong: #0b5e58;
  --mk-brand-deep: #063b38;
  --mk-brand-soft: #e3f3f1;
  --mk-tint: #f3f9f8;
  --mk-mint: #6ee7b7;
  --mk-amber: #b45309;
  --mk-amber-soft: #fef3c7;
  --mk-radius: 20px;
  --mk-radius-sm: 14px;
  --mk-shadow: 0 1px 2px rgba(11, 43, 42, 0.06), 0 18px 40px -24px rgba(15, 118, 110, 0.4);
  --mk-shadow-lift: 0 2px 6px rgba(11, 43, 42, 0.07), 0 28px 56px -26px rgba(15, 118, 110, 0.55);
  --mk-shadow-window: 0 2px 4px rgba(11, 43, 42, 0.06), 0 40px 80px -36px rgba(6, 59, 56, 0.55);
  --mk-ease: cubic-bezier(0.22, 1, 0.36, 1);

  margin: 0;
  background: #fff;
  color: var(--mk-text);
  font-family: var(--mk-font);
  font-size: 16px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

body.mk--gu {
  --mk-font: "Hind Vadodara", "Poppins", system-ui, sans-serif;
  line-height: 1.75;
}

body.mk :is(h1, h2, h3, h4) {
  color: var(--mk-ink);
  font-family: var(--mk-font);
  font-weight: 700;
  letter-spacing: -0.02em;
}

body.mk--gu :is(h1, h2, h3, h4) {
  letter-spacing: 0;
}

body.mk :is(h1, h2) {
  text-wrap: balance;
}

body.mk h2 {
  margin-bottom: 0.75rem;
  font-size: clamp(1.7rem, 3.4vw, 2.55rem);
  line-height: 1.18;
}

body.mk h3 {
  margin-bottom: 0.4rem;
  font-size: 1.08rem;
  font-weight: 600;
  line-height: 1.35;
}

body.mk p {
  margin-bottom: 1rem;
}

/* No more specific than a bare element, so every component's own link colour wins. */
:where(body.mk) a {
  color: var(--mk-brand);
}

body.mk img {
  max-width: 100%;
}

body.mk :focus-visible {
  outline: 3px solid #5eead4;
  outline-offset: 3px;
}

.mk-skip {
  position: absolute;
  z-index: 2000;
  top: -48px;
  left: 16px;
  padding: 10px 16px;
  border-radius: 10px;
  background: var(--mk-brand-deep);
  color: #fff !important;
  font-weight: 600;
  text-decoration: none;
  transition: top 0.2s;
}

.mk-skip:focus {
  top: 12px;
}

.mk-center {
  text-align: center;
}

/* Buttons */

.mk-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5em;
  min-height: 52px;
  padding: 0 1.5rem;
  border: 1.5px solid transparent;
  border-radius: 14px;
  font-family: var(--mk-font);
  font-size: 1rem;
  font-weight: 600;
  line-height: 1.2;
  text-align: center;
  text-decoration: none;
  white-space: nowrap;
  transition: transform 0.25s var(--mk-ease), box-shadow 0.25s var(--mk-ease), background-color 0.2s, border-color 0.2s, color 0.2s;
}

.mk-btn:hover {
  transform: translateY(-2px);
}

.mk-btn--sm {
  min-height: 42px;
  padding: 0 1.1rem;
  border-radius: 12px;
  font-size: 0.92rem;
}

.mk-btn--primary {
  background: linear-gradient(135deg, #14b8a6, var(--mk-brand) 55%, var(--mk-brand-strong));
  box-shadow: 0 16px 30px -16px rgba(15, 118, 110, 0.85);
  color: #fff !important;
}

.mk-btn--primary:hover {
  box-shadow: 0 20px 36px -16px rgba(15, 118, 110, 0.95);
}

.mk-btn--ghost {
  border-color: var(--mk-line-strong);
  background: #fff;
  color: var(--mk-ink) !important;
}

.mk-btn--ghost:hover {
  border-color: var(--mk-brand);
  color: var(--mk-brand) !important;
}

.mk-btn--light {
  background: #fff;
  box-shadow: 0 16px 30px -18px rgba(0, 0, 0, 0.5);
  color: var(--mk-brand-deep) !important;
}

.mk-btn--outline-light {
  border-color: rgba(255, 255, 255, 0.55);
  color: #fff !important;
}

.mk-btn--outline-light:hover {
  border-color: #fff;
  background: rgba(255, 255, 255, 0.08);
}

.mk-link {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  color: var(--mk-brand) !important;
  font-weight: 600;
  text-decoration: none;
}

.mk-link .bi {
  transition: transform 0.2s var(--mk-ease);
}

.mk-link:hover .bi {
  transform: translateX(4px);
}

/* Header */

.mk-header {
  position: sticky;
  z-index: 1030;
  top: 0;
  border-bottom: 1px solid transparent;
  background: rgba(255, 255, 255, 0.86);
  backdrop-filter: saturate(160%) blur(12px);
  transition: box-shadow 0.25s, border-color 0.25s;
}

.mk-header.is-scrolled {
  border-bottom-color: var(--mk-line);
  box-shadow: 0 10px 30px -24px rgba(6, 59, 56, 0.6);
}

.mk-header .navbar {
  padding: 0;
}

.mk-header__bar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.5rem 1rem;
  min-height: 72px;
}

.mk-header__logo {
  margin-right: auto;
  padding: 0;
}

.mk-header__toggler {
  display: inline-grid;
  width: 44px;
  height: 44px;
  place-items: center;
  border: 1px solid var(--mk-line);
  border-radius: 12px;
  color: var(--mk-ink);
  font-size: 1.5rem;
}

.mk-header__toggler:focus {
  box-shadow: none;
}

.mk-nav {
  gap: 0.15rem;
}

.mk-nav .nav-link {
  padding: 0.5rem 0.85rem !important;
  border-radius: 10px;
  color: var(--mk-text);
  font-size: 0.95rem;
  font-weight: 500;
}

.mk-nav .nav-link:hover,
.mk-nav .nav-link.active {
  background: var(--mk-brand-soft);
  color: var(--mk-brand-deep);
}

.mk-nav__actions {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.mk-nav__login {
  padding: 0.5rem 0.6rem;
  color: var(--mk-ink) !important;
  font-weight: 600;
  text-decoration: none;
}

.mk-nav__login:hover {
  color: var(--mk-brand) !important;
}

/* The homepage's language switch (home/_language_selector). */
.hm-lang {
  display: inline-flex;
  padding: 3px;
  border: 1px solid var(--mk-line);
  border-radius: 12px;
  background: #fff;
}

.hm-lang__option {
  min-width: 40px;
  padding: 0.3rem 0.55rem;
  border-radius: 9px;
  color: var(--mk-muted);
  font-size: 0.82rem;
  font-weight: 600;
  line-height: 1.3;
  text-align: center;
  text-decoration: none;
}

.hm-lang__option.is-active {
  background: var(--mk-brand);
  color: #fff;
}

/* Small phones: logo, language switch and menu button stay on one row. */
@media (max-width: 400px) {
  .mk-header__bar {
    gap: 0.5rem 0.4rem;
  }

  .mk-header__logo {
    font-size: 1.45rem !important;
  }

  .hm-lang__option {
    min-width: 34px;
    padding: 0.3rem 0.4rem;
  }

  .mk-header__toggler {
    width: 40px;
    height: 40px;
  }
}

@media (min-width: 992px) {
  .mk-header .navbar-collapse {
    flex-grow: 0;
    gap: 1.25rem;
  }

  .mk-header__bar {
    flex-wrap: nowrap;
  }

  .mk-header .hm-lang {
    order: 3;
  }
}

@media (max-width: 991.98px) {
  .mk-header .navbar-collapse {
    flex-basis: 100%;
  }

  .mk-header .navbar-collapse.show,
  .mk-header .navbar-collapse.collapsing {
    margin-bottom: 1rem;
    padding: 0.75rem;
    border: 1px solid var(--mk-line);
    border-radius: 16px;
    background: #fff;
    box-shadow: var(--mk-shadow);
  }

  .mk-nav .nav-link {
    padding: 0.7rem 0.85rem !important;
  }

  .mk-nav__actions {
    margin-top: 0.5rem;
    padding-top: 0.75rem;
    border-top: 1px solid var(--mk-line);
  }

  .mk-nav__actions .mk-btn {
    flex: 1;
  }
}

/* Hero */

.mk-hero {
  position: relative;
  overflow: hidden;
  padding: clamp(40px, 6vw, 80px) 0 clamp(64px, 8vw, 104px);
  background:
    radial-gradient(900px 480px at 85% -10%, rgba(110, 231, 183, 0.32), transparent 60%),
    radial-gradient(700px 520px at -10% 20%, rgba(20, 184, 166, 0.14), transparent 60%),
    linear-gradient(180deg, #f5fbfa 0%, #fff 100%);
}

.mk-hero::before {
  position: absolute;
  inset: 0;
  background-image: radial-gradient(rgba(15, 118, 110, 0.14) 1px, transparent 1px);
  background-size: 22px 22px;
  content: "";
  mask-image: linear-gradient(180deg, rgba(0, 0, 0, 0.7), transparent 70%);
  pointer-events: none;
}

.mk-hero .container {
  position: relative;
}

.mk-hero__grid {
  display: grid;
  gap: clamp(40px, 6vw, 56px);
  align-items: center;
}

@media (min-width: 992px) {
  .mk-hero__grid {
    grid-template-columns: minmax(0, 0.92fr) minmax(0, 1.08fr);
  }
}

.mk-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  margin-bottom: 1.25rem !important;
  padding: 0.4rem 0.9rem 0.4rem 0.7rem;
  border: 1px solid var(--mk-line);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.8);
  color: var(--mk-brand-deep);
  font-size: 0.85rem;
  font-weight: 600;
}

.mk-eyebrow__dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #10b981;
  box-shadow: 0 0 0 4px rgba(16, 185, 129, 0.18);
}

body.mk .mk-hero__title {
  margin-bottom: 1.25rem;
  font-size: clamp(2.35rem, 5.2vw, 3.7rem);
  font-weight: 800;
  line-height: 1.06;
}

.mk-hero__title span {
  display: block;
  background: linear-gradient(120deg, #0f766e, #14b8a6 60%, #10b981);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.mk-hero__lead {
  max-width: 34rem;
  color: var(--mk-text);
  font-size: clamp(1.02rem, 1.6vw, 1.15rem);
}

.mk-hero__ctas {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin: 1.75rem 0 1.5rem;
}

.mk-hero__points {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 1.25rem;
  margin: 0;
  padding: 0;
  list-style: none;
  color: var(--mk-muted);
  font-size: 0.9rem;
  font-weight: 500;
}

.mk-hero__points li {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
}

.mk-hero__points .bi {
  color: var(--mk-brand);
}

.mk-hero__visual {
  position: relative;
  padding: 0 0 8% 13%;
}

.mk-hero__phone {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 27%;
  min-width: 118px;
}

.mk-float {
  position: absolute;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.6rem 0.9rem;
  border: 1px solid var(--mk-line);
  border-radius: 14px;
  background: #fff;
  box-shadow: var(--mk-shadow-lift);
  color: var(--mk-ink);
  font-size: 0.82rem;
  font-weight: 500;
  white-space: nowrap;
  animation: mk-float 6s ease-in-out infinite;
}

.mk-float strong {
  color: #b91c1c;
  font-size: 0.72rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.mk-float--live {
  top: -14px;
  right: 6%;
}

.mk-float--ahead {
  right: -8px;
  bottom: 2%;
  animation-delay: -3s;
}

.mk-float--ahead .bi {
  color: var(--mk-brand);
  font-size: 1.05rem;
}

.mk-float__pulse {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: #ef4444;
  box-shadow: 0 0 0 0 rgba(239, 68, 68, 0.6);
  animation: mk-pulse 1.8s infinite;
}

@keyframes mk-float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-8px); }
}

@keyframes mk-pulse {
  0% { box-shadow: 0 0 0 0 rgba(239, 68, 68, 0.55); }
  70% { box-shadow: 0 0 0 9px rgba(239, 68, 68, 0); }
  100% { box-shadow: 0 0 0 0 rgba(239, 68, 68, 0); }
}

@media (max-width: 575.98px) {
  .mk-hero__visual {
    padding: 0 0 18% 20%;
  }

  .mk-float--live {
    right: 2%;
  }

  .mk-float--ahead {
    right: 0;
    bottom: 0;
  }

  .mk-hero__ctas .mk-btn {
    flex: 1 1 100%;
  }
}

/* Device frames: the app in a browser window, and a patient's phone. */

.mk-window {
  position: relative;
  margin: 0;
  overflow: hidden;
  border: 1px solid var(--mk-line-strong);
  border-radius: 16px;
  background: #fff;
  box-shadow: var(--mk-shadow-window);
}

.mk-window__bar {
  display: flex;
  align-items: center;
  gap: 6px;
  height: 34px;
  padding: 0 14px;
  border-bottom: 1px solid var(--mk-line);
  background: #f7fbfa;
}

.mk-window__bar span {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #f87171;
}

.mk-window__bar span:nth-child(2) {
  background: #fbbf24;
}

.mk-window__bar span:nth-child(3) {
  background: #34d399;
}

.mk-window__bar em {
  flex: 0 1 260px;
  margin: 0 auto;
  overflow: hidden;
  padding: 2px 12px;
  border-radius: 8px;
  background: #fff;
  color: var(--mk-muted);
  font-size: 0.72rem;
  font-style: normal;
  text-align: center;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.mk-window img {
  display: block;
  width: 100%;
  height: auto;
}

.mk-phone {
  margin: 0;
  overflow: hidden;
  border: 7px solid #0b2b2a;
  border-radius: 30px;
  background: #0b2b2a;
  box-shadow: 0 30px 60px -28px rgba(6, 59, 56, 0.7);
}

.mk-phone img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 23px;
}

/* The strip of everything the platform covers. */

.mk-strip {
  border-block: 1px solid var(--mk-line);
  background: #fff;
}

.mk-strip__inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 0.6rem 1.5rem;
  padding-block: 1.15rem;
}

.mk-strip__label {
  color: var(--mk-muted);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.mk-strip__items {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.4rem 1.2rem;
  margin: 0;
  padding: 0;
  list-style: none;
  color: var(--mk-ink);
  font-size: 0.95rem;
  font-weight: 600;
}

.mk-strip__items li {
  display: inline-flex;
  align-items: center;
  gap: 1.2rem;
}

.mk-strip__items li + li::before {
  width: 5px;
  height: 5px;
  margin-left: -0.6rem;
  border-radius: 50%;
  background: var(--mk-mint);
  content: "";
}

/* Phones: chips, so no line starts with a separator. */
@media (max-width: 767.98px) {
  .mk-strip__items {
    gap: 0.4rem;
    font-size: 0.85rem;
  }

  .mk-strip__items li {
    padding: 0.25rem 0.7rem;
    border-radius: 999px;
    background: var(--mk-tint);
  }

  .mk-strip__items li + li::before {
    display: none;
  }
}

/* Sections */

.mk-section {
  padding: clamp(64px, 9vw, 112px) 0;
}

.mk-section--tint {
  background: var(--mk-tint);
}

.mk-section--dark {
  background:
    radial-gradient(700px 400px at 90% 0%, rgba(110, 231, 183, 0.18), transparent 60%),
    linear-gradient(160deg, var(--mk-brand-deep), #052f2c 70%);
  color: #cfe5e1;
}

.mk-head {
  max-width: 760px;
  margin: 0 auto clamp(36px, 5vw, 56px);
  text-align: center;
}

.mk-head > p:last-child {
  margin: 0;
  color: var(--mk-muted);
  font-size: 1.06rem;
}

.mk-head--light h2 {
  color: #fff !important;
}

.mk-head--light > p:last-child {
  color: #b6d3ce;
}

.mk-kicker {
  display: inline-block;
  margin-bottom: 0.85rem !important;
  padding: 0.25rem 0.75rem;
  border-radius: 999px;
  background: var(--mk-brand-soft);
  color: var(--mk-brand-strong);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.07em;
  text-transform: uppercase;
}

.mk-section--dark .mk-kicker,
.mk-cta .mk-kicker {
  background: rgba(110, 231, 183, 0.16);
  color: var(--mk-mint);
}

/* Feature cards */

.mk-features {
  display: grid;
  gap: 16px;
  grid-template-columns: repeat(auto-fill, minmax(min(100%, 250px), 1fr));
}

.mk-feature {
  display: flex;
  flex-direction: column;
  padding: 1.4rem 1.35rem 1.25rem;
  border: 1px solid var(--mk-line);
  border-radius: var(--mk-radius);
  background: #fff;
  color: var(--mk-text) !important;
  text-decoration: none;
  transition: transform 0.3s var(--mk-ease), box-shadow 0.3s var(--mk-ease), border-color 0.3s;
}

.mk-feature:hover {
  border-color: #a7d7cf;
  box-shadow: var(--mk-shadow-lift);
  transform: translateY(-4px);
}

.mk-feature__icon {
  display: inline-grid;
  width: 46px;
  height: 46px;
  margin-bottom: 1rem;
  place-items: center;
  border-radius: 13px;
  background: linear-gradient(135deg, var(--mk-brand-soft), #d1fae5);
  color: var(--mk-brand);
  font-size: 1.3rem;
}

.mk-feature p {
  flex: 1;
  margin-bottom: 0.9rem;
  color: var(--mk-muted);
  font-size: 0.92rem;
  line-height: 1.6;
}

.mk-feature__more {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  color: var(--mk-brand);
  font-size: 0.86rem;
  font-weight: 600;
}

.mk-feature__more .bi {
  transition: transform 0.2s var(--mk-ease);
}

.mk-feature:hover .mk-feature__more .bi {
  transform: translateX(4px);
}

/* Screenshot beside text */

.mk-split {
  display: grid;
  gap: clamp(28px, 5vw, 64px);
  align-items: center;
}

.mk-split + .mk-split {
  margin-top: clamp(72px, 10vw, 128px);
}

@media (min-width: 992px) {
  .mk-split {
    grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
  }

  .mk-split--reverse {
    grid-template-columns: minmax(0, 7fr) minmax(0, 5fr);
  }

  .mk-split--reverse .mk-split__copy {
    order: 2;
  }
}

.mk-split__copy > p:not(.mk-kicker) {
  color: var(--mk-text);
  font-size: 1.04rem;
}

.mk-split__visual {
  position: relative;
}

.mk-checks {
  display: grid;
  gap: 0.6rem;
  margin: 1.25rem 0 1.5rem;
  padding: 0;
  list-style: none;
}

.mk-checks li {
  position: relative;
  padding-left: 1.85rem;
  color: var(--mk-ink);
  font-size: 0.98rem;
  font-weight: 500;
  line-height: 1.5;
}

.mk-checks li::before {
  position: absolute;
  top: 0.1rem;
  left: 0;
  color: #10b981;
  content: "\F26A";
  font-family: "bootstrap-icons";
  font-size: 1.1rem;
  line-height: 1.3;
}

.mk-window--inset {
  position: absolute;
  right: -3%;
  bottom: -9%;
  width: 44%;
  border-radius: 12px;
}

@media (max-width: 767.98px) {
  .mk-window--inset {
    display: none;
  }
}

.mk-phones {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: clamp(10px, 2vw, 22px);
}

.mk-phones__main {
  z-index: 1;
  width: min(36%, 250px);
}

.mk-phones__side {
  width: min(30%, 210px);
  opacity: 0.96;
}

/* Product tour: a tab for each part */

.mk-tour__tabs {
  display: flex;
  gap: 0.5rem;
  justify-content: center;
  margin: 0 auto 2rem;
  padding: 6px;
  overflow-x: auto;
  scrollbar-width: none;
  width: fit-content;
  max-width: 100%;
  border: 1px solid var(--mk-line);
  border-radius: 16px;
  background: #fff;
}

.mk-tour__tabs::-webkit-scrollbar {
  display: none;
}

.mk-tour__tab {
  flex: none;
  padding: 0.6rem 1rem;
  border: 0;
  border-radius: 11px;
  background: transparent;
  color: var(--mk-muted);
  font-family: var(--mk-font);
  font-size: 0.92rem;
  font-weight: 600;
  white-space: nowrap;
  transition: background-color 0.2s, color 0.2s;
}

.mk-tour__tab:hover {
  color: var(--mk-brand-deep);
}

.mk-tour__tab.active {
  background: var(--mk-brand);
  color: #fff;
}

@media (max-width: 767.98px) {
  .mk-tour__tabs {
    justify-content: flex-start;
    width: 100%;
  }
}

.mk-tour__panel {
  display: none;
  gap: clamp(28px, 5vw, 56px);
  align-items: center;
}

.mk-tour__panel.active {
  display: grid;
}

@media (min-width: 992px) {
  .mk-tour__panel.active {
    grid-template-columns: minmax(0, 4fr) minmax(0, 7fr);
  }
}

body.mk .mk-tour__copy h3 {
  margin-bottom: 0.75rem;
  font-size: clamp(1.4rem, 2.4vw, 1.75rem);
  font-weight: 700;
}

.mk-tour__copy > p {
  font-size: 1.03rem;
}

/* An example WhatsApp chat (home/_whatsapp_chat) */

.mk-chat {
  display: flex;
  flex-direction: column;
  align-items: center;
  margin: 0;
}

.mk-chat__phone {
  width: min(100%, 360px);
  overflow: hidden;
  border: 7px solid #0b2b2a;
  border-radius: 30px;
  background: #efe7dd;
  box-shadow: 0 30px 60px -28px rgba(6, 59, 56, 0.7);
}

.mk-chat__head {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.8rem 0.9rem;
  background: #075e54;
  color: #fff;
}

.mk-chat__avatar {
  display: inline-grid;
  width: 34px;
  height: 34px;
  place-items: center;
  border-radius: 50%;
  background: #d1fae5;
  color: var(--mk-brand-deep);
  font-size: 0.8rem;
  font-weight: 700;
}

.mk-chat__name {
  display: flex;
  flex-direction: column;
  font-size: 0.92rem;
  font-weight: 600;
  line-height: 1.25;
}

.mk-chat__name small {
  color: #b7f0d9;
  font-size: 0.72rem;
  font-weight: 500;
}

.mk-chat__body {
  display: grid;
  gap: 0.7rem;
  padding: 1rem 0.85rem 1.25rem;
  background-image: radial-gradient(rgba(7, 94, 84, 0.07) 1px, transparent 1px);
  background-size: 14px 14px;
}

body.mk .mk-chat__bubble {
  position: relative;
  max-width: 92%;
  margin: 0;
  padding: 0.6rem 0.75rem 1.3rem;
  border-radius: 4px 12px 12px;
  background: #fff;
  box-shadow: 0 1px 1px rgba(0, 0, 0, 0.08);
  color: #1f2c2b;
  font-size: 0.84rem;
  line-height: 1.5;
}

.mk-chat__bubble time {
  position: absolute;
  right: 0.6rem;
  bottom: 0.25rem;
  color: #7c8b89;
  font-size: 0.66rem;
}

.mk-chat__bubble time .bi {
  color: #34b7f1;
}

.mk-chat figcaption {
  margin-top: 0.9rem;
  color: var(--mk-muted);
  font-size: 0.82rem;
  text-align: center;
}

/* How it works */

.mk-steps {
  position: relative;
  display: grid;
  gap: 18px;
  margin: 0;
  padding: 0;
  list-style: none;
}

@media (min-width: 768px) {
  .mk-steps {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .mk-steps::before {
    position: absolute;
    top: 46px;
    left: 16%;
    right: 16%;
    border-top: 2px dashed var(--mk-line-strong);
    content: "";
  }
}

.mk-step {
  position: relative;
  padding: 1.6rem 1.5rem;
  border: 1px solid var(--mk-line);
  border-radius: var(--mk-radius);
  background: #fff;
  text-align: center;
}

.mk-step__number {
  display: inline-grid;
  width: 44px;
  height: 44px;
  margin-bottom: 0.75rem;
  place-items: center;
  border: 4px solid var(--mk-tint);
  border-radius: 50%;
  background: var(--mk-brand);
  color: #fff;
  font-weight: 700;
  box-shadow: 0 0 0 1px var(--mk-line);
}

.mk-step__icon {
  display: block;
  margin-bottom: 0.5rem;
  color: var(--mk-brand);
  font-size: 1.6rem;
}

.mk-step p {
  margin: 0;
  color: var(--mk-muted);
  font-size: 0.94rem;
}

.mk-center .mk-btn {
  margin: 0.35rem;
}

/* Who it's for */

.mk-who {
  display: grid;
  gap: 16px;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 250px), 1fr));
}

.mk-who__card {
  display: flex;
  flex-direction: column;
  padding: 1.6rem 1.4rem;
  border: 1px solid var(--mk-line);
  border-radius: var(--mk-radius);
  background: linear-gradient(180deg, #fff, #fbfefd);
}

.mk-who__icon {
  display: inline-grid;
  width: 52px;
  height: 52px;
  margin-bottom: 1rem;
  place-items: center;
  border-radius: 15px;
  background: var(--mk-brand-deep);
  color: var(--mk-mint);
  font-size: 1.45rem;
}

.mk-who__card p {
  flex: 1;
  color: var(--mk-muted);
  font-size: 0.93rem;
}

.mk-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.mk-tags li {
  padding: 0.2rem 0.65rem;
  border-radius: 999px;
  background: var(--mk-brand-soft);
  color: var(--mk-brand-strong);
  font-size: 0.78rem;
  font-weight: 600;
}

/* Benefits by role */

.mk-benefits {
  display: grid;
  gap: 16px;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 240px), 1fr));
}

.mk-benefit {
  padding: 1.5rem 1.4rem;
  border-top: 4px solid var(--mk-brand);
  border-radius: var(--mk-radius-sm);
  background: #fff;
  box-shadow: var(--mk-shadow);
}

.mk-benefit:nth-child(2) { border-top-color: #14b8a6; }
.mk-benefit:nth-child(3) { border-top-color: #10b981; }
.mk-benefit:nth-child(4) { border-top-color: var(--mk-brand-deep); }

body.mk .mk-benefit__role {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  margin-bottom: 0.6rem;
  color: var(--mk-brand);
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.mk-benefit p:last-child {
  margin: 0;
  color: var(--mk-muted);
  font-size: 0.93rem;
}

/* Trust & security (dark) */

.mk-trust {
  display: grid;
  gap: 14px;
}

@media (min-width: 576px) {
  .mk-trust {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (min-width: 992px) {
  .mk-trust {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

.mk-trust__item {
  padding: 1.4rem 1.35rem;
  border: 1px solid rgba(110, 231, 183, 0.16);
  border-radius: var(--mk-radius-sm);
  background: rgba(255, 255, 255, 0.04);
}

.mk-trust__item .bi {
  display: block;
  margin-bottom: 0.7rem;
  color: var(--mk-mint);
  font-size: 1.5rem;
}

body.mk .mk-trust__item h3 {
  color: #fff;
}

.mk-trust__item p {
  margin: 0;
  color: #b6d3ce;
  font-size: 0.93rem;
}

body.mk .mk-trust__by {
  margin: 2rem 0 0;
  color: #b6d3ce;
  text-align: center;
}

.mk-trust__by strong {
  color: #fff;
}

/* FAQ */

.mk-faq {
  max-width: 860px;
  margin: 0 auto;
}

.mk-faq .accordion-item {
  margin-bottom: 10px;
  overflow: hidden;
  border: 1px solid var(--mk-line) !important;
  border-radius: 14px !important;
  background: #fff;
}

.mk-faq .accordion-header {
  margin: 0;
  font-size: 1rem;
}

.mk-faq .accordion-button {
  padding: 1.05rem 1.25rem;
  background: #fff;
  box-shadow: none !important;
  color: var(--mk-ink);
  font-family: var(--mk-font);
  font-size: 1rem;
  font-weight: 600;
  line-height: 1.45;
}

.mk-faq .accordion-button:not(.collapsed) {
  background: var(--mk-tint);
  color: var(--mk-brand-deep);
}

.mk-faq .accordion-body {
  padding: 0.25rem 1.25rem 1.2rem;
  background: var(--mk-tint);
  color: var(--mk-text);
  font-size: 0.97rem;
}

/* Get started: demo, WhatsApp, call, trial */

.mk-cta {
  padding: 0 0 clamp(64px, 9vw, 112px);
}

.mk-cta__panel {
  display: grid;
  gap: clamp(28px, 4vw, 48px);
  align-items: center;
  padding: clamp(32px, 6vw, 64px);
  border-radius: 28px;
  background:
    radial-gradient(600px 380px at 100% 0%, rgba(110, 231, 183, 0.26), transparent 60%),
    linear-gradient(140deg, #0f766e, var(--mk-brand-deep) 65%);
  box-shadow: 0 40px 80px -40px rgba(6, 59, 56, 0.8);
  color: #d4ebe7;
}

@media (min-width: 992px) {
  .mk-cta__panel {
    grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr);
  }
}

body.mk .mk-cta h2 {
  color: #fff;
}

.mk-cta__copy > p:not(.mk-kicker) {
  font-size: 1.06rem;
}

.mk-cta__buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 1.5rem;
}

.mk-cta__options {
  display: grid;
  gap: 10px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.mk-cta__option {
  display: flex;
  align-items: center;
  gap: 0.9rem;
  padding: 0.95rem 1.1rem;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.07);
  color: #d4ebe7 !important;
  text-decoration: none;
  transition: background-color 0.2s, transform 0.25s var(--mk-ease);
}

.mk-cta__option:hover {
  background: rgba(255, 255, 255, 0.13);
  transform: translateX(4px);
}

.mk-cta__option .bi {
  display: inline-grid;
  flex: none;
  width: 44px;
  height: 44px;
  place-items: center;
  border-radius: 12px;
  background: rgba(110, 231, 183, 0.16);
  color: var(--mk-mint);
  font-size: 1.25rem;
}

.mk-cta__option span {
  display: flex;
  flex-direction: column;
  font-size: 0.88rem;
  line-height: 1.4;
}

.mk-cta__option strong {
  color: #fff;
  font-size: 1rem;
}

@media (max-width: 575.98px) {
  .mk-cta__buttons .mk-btn {
    flex: 1 1 100%;
  }
}

/* Footer */

.mk-footer {
  padding: clamp(48px, 7vw, 72px) 0 1.5rem;
  background: #04292a;
  color: #9fc0bb;
  font-size: 0.93rem;
}

.mk-footer__grid {
  display: grid;
  gap: 2rem;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 180px), 1fr));
}

@media (min-width: 992px) {
  .mk-footer__grid {
    grid-template-columns: 1.6fr 1fr 1.2fr 1fr;
  }
}

.mk-footer__brand p {
  max-width: 22rem;
  margin: 1rem 0;
}

.mk-footer__contact {
  display: grid;
  gap: 0.4rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

body.mk .mk-footer a {
  color: #d4ebe7;
  text-decoration: none;
}

body.mk .mk-footer a:hover {
  color: var(--mk-mint);
}

.mk-footer__contact .bi {
  margin-right: 0.35rem;
  color: var(--mk-mint);
}

.mk-footer__col {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

body.mk .mk-footer__col h2 {
  margin-bottom: 0.4rem;
  color: #fff;
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

body.mk .mk-footer__more {
  color: var(--mk-mint) !important;
  font-weight: 600;
}

.mk-footer__bottom {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 0.5rem 1.5rem;
  margin-top: 2.5rem;
  padding-top: 1.25rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  font-size: 0.85rem;
}

/* ---------------------------------------------------------------------------
 * The Guide (guide/index, guide/show)
 * ------------------------------------------------------------------------- */

.gd-hero {
  padding: clamp(40px, 6vw, 72px) 0 clamp(32px, 5vw, 48px);
  background:
    radial-gradient(800px 400px at 90% -20%, rgba(110, 231, 183, 0.28), transparent 60%),
    linear-gradient(180deg, #f5fbfa, #fff);
  border-bottom: 1px solid var(--mk-line);
}

body.mk .gd-hero h1 {
  margin-bottom: 0.75rem;
  font-size: clamp(2rem, 4.4vw, 3rem);
  font-weight: 800;
  line-height: 1.1;
}

.gd-hero__lead {
  max-width: 44rem;
  color: var(--mk-text);
  font-size: 1.08rem;
}

.gd-search {
  position: relative;
  max-width: 520px;
  margin-top: 1.5rem;
}

.gd-search .bi {
  position: absolute;
  top: 50%;
  left: 16px;
  color: var(--mk-muted);
  transform: translateY(-50%);
}

.gd-search input {
  width: 100%;
  height: 52px;
  padding: 0 1rem 0 2.75rem;
  border: 1.5px solid var(--mk-line-strong);
  border-radius: 14px;
  background: #fff;
  color: var(--mk-ink);
  font-family: var(--mk-font);
  font-size: 1rem;
}

.gd-search input:focus {
  border-color: var(--mk-brand);
  outline: none;
  box-shadow: 0 0 0 4px rgba(15, 118, 110, 0.12);
}

.gd-group + .gd-group {
  margin-top: 2.75rem;
}

body.mk .gd-group h2 {
  margin-bottom: 1rem;
  font-size: 1.25rem;
}

.gd-cards {
  display: grid;
  gap: 14px;
  grid-template-columns: repeat(auto-fill, minmax(min(100%, 300px), 1fr));
}

.gd-card {
  display: flex;
  gap: 1rem;
  padding: 1.2rem 1.25rem;
  border: 1px solid var(--mk-line);
  border-radius: 16px;
  background: #fff;
  color: var(--mk-text) !important;
  text-decoration: none;
  transition: transform 0.3s var(--mk-ease), box-shadow 0.3s var(--mk-ease), border-color 0.3s;
}

.gd-card:hover {
  border-color: #a7d7cf;
  box-shadow: var(--mk-shadow-lift);
  transform: translateY(-3px);
}

.gd-card__icon {
  display: inline-grid;
  flex: none;
  width: 44px;
  height: 44px;
  place-items: center;
  border-radius: 12px;
  background: var(--mk-brand-soft);
  color: var(--mk-brand);
  font-size: 1.25rem;
}

body.mk .gd-card h3 {
  margin-bottom: 0.25rem;
  font-size: 1rem;
}

.gd-card p {
  margin: 0;
  color: var(--mk-muted);
  font-size: 0.88rem;
  line-height: 1.55;
}

.gd-empty {
  padding: 2rem;
  border: 1px dashed var(--mk-line-strong);
  border-radius: 16px;
  color: var(--mk-muted);
  text-align: center;
}

/* A topic: the sidebar of every topic, and the article */

.gd-layout {
  display: grid;
  gap: 2.5rem;
  padding: clamp(28px, 4vw, 48px) 0 clamp(56px, 8vw, 96px);
}

@media (min-width: 992px) {
  .gd-layout {
    grid-template-columns: 260px minmax(0, 1fr);
    gap: 3.5rem;
  }
}

.gd-sidebar {
  align-self: start;
}

@media (min-width: 992px) {
  .gd-sidebar {
    position: sticky;
    top: 96px;
    max-height: calc(100vh - 120px);
    overflow-y: auto;
    padding-right: 0.5rem;
  }
}

.gd-sidebar__toggle {
  display: flex;
  width: 100%;
  align-items: center;
  justify-content: space-between;
  padding: 0.8rem 1rem;
  border: 1px solid var(--mk-line);
  border-radius: 12px;
  background: #fff;
  color: var(--mk-ink);
  font-family: var(--mk-font);
  font-weight: 600;
}

@media (min-width: 992px) {
  .gd-sidebar__toggle {
    display: none;
  }

  .gd-sidebar .collapse {
    display: block !important;
  }
}

.gd-nav__group + .gd-nav__group {
  margin-top: 1.25rem;
}

body.mk .gd-nav__title {
  margin: 0 0 0.4rem;
  color: var(--mk-muted);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.gd-nav ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

.gd-nav a {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  padding: 0.4rem 0.65rem;
  border-radius: 9px;
  color: var(--mk-text);
  font-size: 0.92rem;
  text-decoration: none;
}

.gd-nav a:hover {
  background: var(--mk-tint);
  color: var(--mk-brand-deep);
}

.gd-nav a[aria-current="page"] {
  background: var(--mk-brand-soft);
  color: var(--mk-brand-deep);
  font-weight: 600;
}

.gd-nav a .bi {
  color: var(--mk-brand);
}

@media (max-width: 991.98px) {
  .gd-sidebar .gd-nav {
    margin-top: 0.75rem;
    padding: 0.75rem;
    border: 1px solid var(--mk-line);
    border-radius: 14px;
  }
}

.gd-crumbs {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem;
  margin: 0 0 1rem;
  padding: 0;
  list-style: none;
  color: var(--mk-muted);
  font-size: 0.86rem;
}

.gd-crumbs li + li::before {
  margin-right: 0.35rem;
  content: "/";
}

.gd-crumbs a {
  color: var(--mk-muted);
  text-decoration: none;
}

.gd-crumbs a:hover {
  color: var(--mk-brand);
}

.gd-article {
  max-width: 780px;
  min-width: 0;
}

.gd-article__head {
  margin-bottom: 2rem;
  padding-bottom: 1.5rem;
  border-bottom: 1px solid var(--mk-line);
}

.gd-article__icon {
  display: inline-grid;
  width: 52px;
  height: 52px;
  margin-bottom: 1rem;
  place-items: center;
  border-radius: 15px;
  background: var(--mk-brand-deep);
  color: var(--mk-mint);
  font-size: 1.45rem;
}

body.mk .gd-article h1 {
  margin-bottom: 0.75rem;
  font-size: clamp(1.85rem, 3.8vw, 2.6rem);
  font-weight: 800;
  line-height: 1.15;
}

.gd-article__summary {
  margin: 0 !important;
  color: var(--mk-text);
  font-size: 1.12rem;
}

body.mk .gd-body h2 {
  margin: 2.5rem 0 0.75rem;
  font-size: 1.45rem;
  scroll-margin-top: 96px;
}

body.mk .gd-body h3 {
  margin: 1.75rem 0 0.5rem;
  font-size: 1.1rem;
}

.gd-body p,
.gd-body li {
  font-size: 1.01rem;
}

.gd-body ul:not([class]) {
  padding-left: 1.25rem;
}

.gd-body ul:not([class]) li {
  margin-bottom: 0.35rem;
}

.gd-body ul:not([class]) li::marker {
  color: var(--mk-brand);
}

.gd-body strong {
  color: var(--mk-ink);
}

.gd-body .gd-ui {
  padding: 0.05rem 0.4rem;
  border: 1px solid var(--mk-line);
  border-radius: 6px;
  background: var(--mk-tint);
  color: var(--mk-brand-deep);
  font-size: 0.92em;
  font-weight: 600;
  white-space: nowrap;
}

.gd-steps {
  margin: 1rem 0 1.5rem;
  padding: 0;
  list-style: none;
  counter-reset: gd-step;
}

.gd-steps > li {
  position: relative;
  padding: 0 0 1.15rem 3rem;
  counter-increment: gd-step;
}

.gd-steps > li::before {
  position: absolute;
  top: -0.1rem;
  left: 0;
  display: grid;
  width: 32px;
  height: 32px;
  place-items: center;
  border-radius: 50%;
  background: var(--mk-brand);
  color: #fff;
  content: counter(gd-step);
  font-size: 0.88rem;
  font-weight: 700;
}

.gd-steps > li::after {
  position: absolute;
  top: 34px;
  bottom: 4px;
  left: 15px;
  border-left: 2px solid var(--mk-line);
  content: "";
}

.gd-steps > li:last-child::after {
  display: none;
}

.gd-note {
  display: flex;
  gap: 0.85rem;
  margin: 1.5rem 0;
  padding: 1rem 1.15rem;
  border: 1px solid #bfe3dd;
  border-radius: 14px;
  background: var(--mk-tint);
}

.gd-note .bi {
  flex: none;
  color: var(--mk-brand);
  font-size: 1.2rem;
  line-height: 1.5;
}

.gd-note p {
  margin: 0;
}

.gd-note--warn {
  border-color: #fcd9a0;
  background: #fffaf0;
}

.gd-note--warn .bi {
  color: var(--mk-amber);
}

.gd-figure {
  margin: 1.75rem 0;
}

.gd-figure figcaption {
  margin-top: 0.65rem;
  color: var(--mk-muted);
  font-size: 0.86rem;
  text-align: center;
}

.gd-figure--phone .mk-phone {
  width: min(62%, 280px);
  margin: 0 auto;
}

.gd-table {
  width: 100%;
  margin: 1rem 0 1.5rem;
  overflow: hidden;
  border: 1px solid var(--mk-line);
  border-collapse: separate;
  border-radius: 14px;
  border-spacing: 0;
  font-size: 0.95rem;
}

.gd-table th,
.gd-table td {
  padding: 0.7rem 0.9rem;
  border-bottom: 1px solid var(--mk-line);
  text-align: left;
  vertical-align: top;
}

.gd-table th {
  background: var(--mk-tint);
  color: var(--mk-ink);
  font-weight: 600;
}

.gd-table tr:last-child td {
  border-bottom: 0;
}

@media (max-width: 575.98px) {
  .gd-table th,
  .gd-table td {
    padding: 0.6rem 0.65rem;
    font-size: 0.9rem;
  }
}

.gd-related {
  display: grid;
  gap: 10px;
  grid-template-columns: repeat(auto-fill, minmax(min(100%, 300px), 1fr));
  margin-top: 1rem;
}

.gd-pager {
  display: grid;
  gap: 12px;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 240px), 1fr));
  margin-top: 3rem;
}

.gd-pager a {
  display: flex;
  flex-direction: column;
  padding: 1rem 1.2rem;
  border: 1px solid var(--mk-line);
  border-radius: 14px;
  color: var(--mk-ink) !important;
  font-weight: 600;
  text-decoration: none;
}

.gd-pager a:hover {
  border-color: var(--mk-brand);
}

.gd-pager small {
  color: var(--mk-muted);
  font-size: 0.8rem;
  font-weight: 500;
}

.gd-pager__next {
  text-align: right;
}

.gd-cta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1.25rem;
  margin-top: 3rem;
  padding: 1.6rem 1.75rem;
  border-radius: 20px;
  background: linear-gradient(140deg, #0f766e, var(--mk-brand-deep));
  color: #d4ebe7;
}

body.mk .gd-cta h2 {
  margin: 0 0 0.25rem;
  color: #fff;
  font-size: 1.3rem;
}

.gd-cta p {
  margin: 0;
}

.gd-cta__buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
}

/* Motion: only for those who want it. */

@media (prefers-reduced-motion: reduce) {
  body.mk *,
  body.mk *::before,
  body.mk *::after {
    animation: none !important;
    transition: none !important;
  }

  html {
    scroll-behavior: auto !important;
  }
}

@media (prefers-reduced-motion: no-preference) {
  html:has(body.mk) {
    scroll-behavior: smooth;
  }
}

html:has(body.mk) {
  scroll-padding-top: 88px;
}
