/*
 * The CurisLink homepage (home/homepage, layouts/homepage_layout: body.hm).
 *
 * The same family as the product: Poppins, the CurisLink teal, rounded white
 * cards on soft tinted sections. It restyles builds/homepage.css (the older
 * look: Cal Sans, pastel cards, a typing headline); selectors start at
 * body.hm so they win at equal specificity.
 */

body.hm {
  /* Poppins, with Hind Vadodara for Gujarati (the homepage can be read in either). */
  --hm-font: "Poppins", "Hind Vadodara", "Noto Sans Gujarati", system-ui, sans-serif;
  --hm-ink: #0b2b2a;
  --hm-text: #34514f;
  --hm-muted: #5b7774;
  --hm-line: #dbe8e6;
  --hm-brand: #0f766e;
  --hm-brand-strong: #0b5e58;
  --hm-brand-deep: #063b38;
  --hm-brand-soft: #e3f3f1;
  --hm-tint: #f2f8f7;
  --hm-mint: #6ee7b7;
  --hm-radius: 20px;
  --hm-shadow: 0 1px 2px rgba(11, 43, 42, 0.05), 0 18px 40px -26px rgba(15, 118, 110, 0.45);
  --hm-shadow-lift: 0 2px 6px rgba(11, 43, 42, 0.06), 0 26px 50px -26px rgba(15, 118, 110, 0.55);
  --hm-ease: cubic-bezier(0.22, 1, 0.36, 1);

  background: #fff;
  color: var(--hm-text);
  font-family: var(--hm-font);
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
}

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

body.hm h2 {
  font-size: clamp(1.7rem, 3.2vw, 2.5rem);
  font-weight: 700;
  line-height: 1.2;
}

body.hm h3 {
  font-size: 1.1rem;
  font-weight: 600;
}

body.hm .sub-heading,
body.hm .text-muted {
  margin: 0.6rem auto 0;
  color: var(--hm-muted) !important;
  font-size: 1.05rem;
}

body.hm .gutter-space,
body.hm section.light-blue,
body.hm section.light-green,
body.hm section.py-5 {
  padding: clamp(64px, 9vw, 112px) 0 !important;
}

body.hm .w-60,
body.hm .w-40 {
  max-width: 680px;
  margin: 1rem auto 0;
  color: var(--hm-text);
}

body.hm section :is(.text-center.mb-5, .text-center.mb-4) {
  margin-bottom: clamp(32px, 5vw, 56px) !important;
}

/* Buttons */

body.hm .btn {
  font-family: var(--hm-font);
  letter-spacing: 0;
}

body.hm .hm-btn,
body.hm section .btn-primary,
body.hm section .btn-outline-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5em;
  min-height: 52px;
  padding: 0 1.6rem;
  border-radius: 14px;
  font-size: 1rem;
  font-weight: 600;
  transition: transform 0.25s var(--hm-ease), box-shadow 0.25s var(--hm-ease), background-color 0.25s var(--hm-ease);
}

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

body.hm .hm-btn--primary:hover,
body.hm section .btn-primary:hover {
  box-shadow: 0 20px 36px -16px rgba(15, 118, 110, 0.95);
  color: #fff;
  transform: translateY(-2px);
}

body.hm .hm-btn--ghost,
body.hm section .btn-outline-secondary {
  border: 1.5px solid var(--hm-line);
  background: #fff;
  color: var(--hm-ink);
}

body.hm .hm-btn--ghost:hover,
body.hm section .btn-outline-secondary:hover {
  border-color: var(--hm-brand);
  background: var(--hm-brand-soft);
  color: var(--hm-brand-strong);
}

body.hm .hm-btn--sm {
  min-height: 44px;
  padding: 0 1.15rem;
  font-size: 0.92rem;
}

body.hm :is(.btn, a):focus-visible {
  outline: 3px solid #5eead4;
  outline-offset: 3px;
}

/* Header: sticks to the top, gains a shadow once the page scrolls */

body.hm .hm-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 1030;
  border-bottom: 1px solid transparent;
  background: rgba(255, 255, 255, 0.82);
  backdrop-filter: saturate(160%) blur(14px);
  transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

body.hm .hm-header.is-scrolled {
  border-bottom-color: var(--hm-line);
  box-shadow: 0 10px 30px -24px rgba(11, 43, 42, 0.5);
}

body.hm .hm-header .navbar {
  padding: 0;
}

body.hm .hm-header__bar {
  min-height: 80px;
}

/* Phones: the logo a little smaller, so it sits beside the menu button. */
@media (max-width: 575.98px) {
  body.hm .hm-header__logo {
    --cl-logo-size: 1.6rem !important;
  }

  body.hm .hm-header__bar {
    min-height: 68px;
  }
}

/* homepage.css sizes .navbar-brand and .footer-logo itself; the logo keeps its own size. */
body.hm .hm-header__logo,
body.hm .hm-footer .footer-logo {
  width: auto;
  margin: 0;
  padding: 0;
  font-size: var(--cl-logo-size);
}

body.hm .hm-nav {
  justify-content: center;
  gap: 2px;
  width: auto;
  margin: 0 auto;
}

body.hm .hm-nav .nav-link,
body.hm .hm-nav__actions .nav-link {
  padding: 0.5rem 0.8rem !important;
  border-radius: 10px;
  color: var(--hm-text);
  font-size: 0.92rem;
  font-weight: 500;
}

body.hm .hm-nav .nav-link,
body.hm .hm-nav__actions :is(.nav-link, .hm-btn) {
  white-space: nowrap;
}

/* Small laptops: the logo, menu, Login, free trial and language switch share one line,
   with room either side of the menu. */
@media (min-width: 1200px) and (max-width: 1399.98px) {
  body.hm .hm-nav .nav-link,
  body.hm .hm-nav__actions .nav-link {
    padding: 0.5rem 0.65rem !important;
    font-size: 0.9rem;
  }

  /* Its size is set inline, at 1.9rem. */
  body.hm .hm-header__logo {
    --cl-logo-size: 1.75rem !important;
  }
}

body.hm .hm-nav .nav-link:hover,
body.hm .hm-nav .nav-link.active {
  background: var(--hm-tint);
  color: var(--hm-ink);
}

body.hm .hm-nav__actions {
  display: flex;
  align-items: center;
  gap: 4px;
}

body.hm .hm-nav__actions .nav-link {
  color: var(--hm-ink);
  font-weight: 600;
}

body.hm .hm-header__toggler {
  place-items: center;
  width: 44px;
  height: 44px;
  padding: 0;
  border: 1px solid var(--hm-line);
  border-radius: 12px;
  color: var(--hm-ink);
  font-size: 1.5rem;
}

body.hm .hm-header__toggler:focus {
  box-shadow: 0 0 0 3px rgba(94, 234, 212, 0.6);
}

/* Phones, tablets and small laptops: the menu drops down as a card. */
@media (max-width: 1199.98px) {
  body.hm .hm-header__toggler {
    display: grid;
  }

  body.hm .hm-header .navbar-collapse {
    margin: 0 -4px 12px;
    padding: 10px;
    border: 1px solid var(--hm-line);
    border-radius: 18px;
    background: #fff;
    box-shadow: var(--hm-shadow);
  }

  body.hm .hm-nav {
    align-items: stretch;
    margin: 0;
  }

  body.hm .hm-nav .nav-link {
    padding: 0.7rem 0.9rem !important;
  }

  body.hm .hm-nav__actions {
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 8px;
    padding-top: 12px;
    border-top: 1px solid var(--hm-line);
  }

  /* Login and the free trial as a pair of buttons: side by side when they fit, stacked on small phones. */
  body.hm .hm-nav__actions :is(.hm-nav__login, .hm-btn) {
    flex: 1 1 150px;
    min-height: 48px;
    margin: 0;
  }

  body.hm .hm-nav__actions .hm-nav__login {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 1.5px solid var(--hm-line);
    border-radius: 14px;
    background: #fff;
  }

  body.hm .hm-nav__actions .hm-nav__login:hover {
    border-color: var(--hm-brand);
    background: var(--hm-brand-soft);
    color: var(--hm-brand-strong);
  }
}

/* Hero */

body.hm .hm-hero {
  position: relative;
  overflow: hidden;
  padding: clamp(120px, 14vw, 168px) 0 clamp(64px, 8vw, 104px);
  background:
    radial-gradient(760px 420px at 85% 10%, rgba(110, 231, 183, 0.28), transparent 70%),
    radial-gradient(640px 480px at -10% 90%, rgba(20, 184, 166, 0.16), transparent 70%),
    linear-gradient(180deg, #f2faf8, #fff);
}

body.hm .hm-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  margin-bottom: 1.25rem;
  padding: 0.4rem 0.95rem 0.4rem 0.7rem;
  border: 1px solid #c5e8e1;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.8);
  color: var(--hm-brand-strong);
  font-size: 0.85rem;
  font-weight: 600;
}

body.hm .hm-eyebrow p {
  margin: 0;
}

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

body.hm .hm-hero__title {
  margin: 0;
  color: var(--hm-ink);
  font-size: clamp(2.3rem, 5.2vw, 3.9rem);
  font-weight: 800;
  letter-spacing: -0.035em;
  line-height: 1.06;
}

/* The second half of the headline on its own line. */
body.hm .hm-hero__title span {
  display: block;
  background: linear-gradient(120deg, #0d9488, #0f766e 45%, #10b981);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

body.hm .hm-hero__lead {
  max-width: 540px;
  margin: 1.4rem 0 0;
  color: var(--hm-text);
  font-size: clamp(1.02rem, 1.4vw, 1.15rem);
  line-height: 1.7;
}

body.hm .hm-hero__ctas {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 2rem;
}

body.hm .hm-hero__points {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 22px;
  margin: 2rem 0 0;
  padding: 0;
  list-style: none;
}

body.hm .hm-hero__points li {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--hm-muted);
  font-size: 0.92rem;
  font-weight: 500;
}

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

/* The hero picture (home/homepage): the live queue screen in a browser window, a
   clinician standing in front of it and two cards from the patient page. Every
   piece is placed in percentages of the stage, so it scales as one picture. */
body.hm .hm-stage {
  position: relative;
  isolation: isolate;
  width: 100%;
  max-width: 620px;
  aspect-ratio: 1 / 0.9;
  margin: 0 auto;
}

/* Soft teal rings and a mint glow behind it all. */
body.hm .hm-stage::before {
  content: "";
  position: absolute;
  inset: -4% -6% -6% 4%;
  z-index: -1;
  border-radius: 50%;
  background:
    radial-gradient(closest-side, rgba(110, 231, 183, 0.34), rgba(110, 231, 183, 0) 72%),
    repeating-radial-gradient(circle, transparent 0 34px, rgba(13, 148, 136, 0.13) 34px 35px);
  -webkit-mask-image: radial-gradient(closest-side, #000 50%, transparent);
  mask-image: radial-gradient(closest-side, #000 50%, transparent);
}

body.hm .hm-stage__window {
  position: absolute;
  top: 11%;
  left: 0;
  width: 82%;
  margin: 0;
}

body.hm .hm-hero__image {
  position: absolute;
  right: -3%;
  bottom: 0;
  display: block;
  width: auto;
  height: 100%;
  filter: drop-shadow(0 24px 28px rgba(6, 59, 56, 0.16));
  /* The photo stops at her waist; let it fade into the page. */
  -webkit-mask-image: linear-gradient(#000 74%, transparent 97%);
  mask-image: linear-gradient(#000 74%, transparent 97%);
}

/* A browser window round a screenshot of the app (the hero and the product tour). */
body.hm .hm-window {
  overflow: hidden;
  border: 1px solid var(--hm-line);
  border-radius: 16px;
  background: #fff;
  box-shadow: 0 2px 6px rgba(11, 43, 42, 0.06), 0 34px 60px -32px rgba(6, 59, 56, 0.5);
}

body.hm .hm-window__bar {
  display: flex;
  align-items: center;
  gap: 6px;
  height: 30px;
  padding: 0 12px;
  border-bottom: 1px solid var(--hm-line);
  background: #f5faf9;
}

body.hm .hm-window__bar span {
  flex: none;
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: #fca5a5;
}

body.hm .hm-window__bar span:nth-child(2) {
  background: #fcd34d;
}

body.hm .hm-window__bar span:nth-child(3) {
  background: #86efac;
}

body.hm .hm-window__bar em {
  overflow: hidden;
  width: min(46%, 220px);
  margin: 0 auto;
  padding: 2px 10px;
  border: 1px solid var(--hm-line);
  border-radius: 7px;
  background: #fff;
  color: var(--hm-muted);
  font-size: 0.66rem;
  font-style: normal;
  line-height: 1.5;
  text-align: center;
  text-overflow: ellipsis;
  white-space: nowrap;
}

body.hm .hm-window__screen {
  display: block;
  width: 100%;
  height: auto;
}

/* Small product cards floating over the picture. */
body.hm .hm-float {
  position: absolute;
  border: 1px solid rgba(255, 255, 255, 0.7);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(10px);
  box-shadow: var(--hm-shadow-lift);
  color: var(--hm-ink);
}

body.hm .hm-float--token {
  left: -4%;
  bottom: 10%;
  display: grid;
  grid-template-columns: auto auto;
  align-items: center;
  gap: 0 1rem;
  padding: 0.85rem 1.1rem;
}

body.hm .hm-float__label {
  grid-column: 1 / -1;
  color: var(--hm-muted);
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

body.hm .hm-float__token {
  color: var(--hm-brand-strong);
  font-size: 1.8rem;
  font-weight: 800;
  letter-spacing: -0.02em;
}

body.hm .hm-float__live {
  display: inline-flex;
  align-items: center;
  gap: 0.35em;
  padding: 0.2em 0.6em;
  border-radius: 999px;
  background: #fee2e2;
  color: #b91c1c;
  font-size: 0.66rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

body.hm .hm-float__live span {
  width: 0.5em;
  height: 0.5em;
  border-radius: 50%;
  background: currentColor;
}

/* Over the window's top bar, clear of the clinician's face. */
body.hm .hm-float--status {
  top: 2%;
  left: 20%;
  display: flex;
  align-items: center;
  gap: 0.7rem;
  padding: 0.7rem 1rem;
  font-size: 0.82rem;
}

body.hm .hm-float--status .bi {
  display: grid;
  place-items: center;
  width: 36px;
  height: 36px;
  border-radius: 11px;
  background: #dcf5ea;
  color: #047857;
  font-size: 1.1rem;
}

body.hm .hm-float--status span {
  display: flex;
  flex-direction: column;
  color: var(--hm-muted);
}

body.hm .hm-float--status strong {
  color: var(--hm-ink);
  font-weight: 600;
}

@media (prefers-reduced-motion: no-preference) {
  body.hm .hm-float {
    animation: hm-float 6s ease-in-out infinite;
  }

  body.hm .hm-float--status {
    animation-delay: -3s;
  }
}

@keyframes hm-float {
  50% { transform: translateY(-8px); }
}

@media (max-width: 575.98px) {
  body.hm .hm-hero__ctas .hm-btn {
    flex: 1 1 100%;
  }

  /* The picture is small here: smaller cards, so the screen behind them still shows. */
  body.hm .hm-float--token {
    left: 0;
    bottom: 6%;
    gap: 0 0.6rem;
    padding: 0.5rem 0.7rem;
    border-radius: 14px;
  }

  body.hm .hm-float__label {
    font-size: 0.56rem;
  }

  body.hm .hm-float__token {
    font-size: 1.2rem;
  }

  body.hm .hm-float__live {
    font-size: 0.56rem;
  }

  body.hm .hm-float--status {
    top: 0;
    left: 8%;
    gap: 0.5rem;
    padding: 0.4rem 0.65rem;
    border-radius: 14px;
    font-size: 0.68rem;
  }

  body.hm .hm-float--status .bi {
    width: 26px;
    height: 26px;
    border-radius: 8px;
    font-size: 0.85rem;
  }
}

/* Why clinics love CurisLink: numbered cards */

body.hm .hm-why-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
  margin-top: clamp(32px, 5vw, 52px);
}

body.hm .feature-card {
  flex-direction: column;
  gap: 0.9rem;
  width: auto;
  height: 100%;
  padding: 1.5rem;
  border: 1px solid var(--hm-line);
  border-radius: var(--hm-radius);
  background: #fff !important;
  box-shadow: var(--hm-shadow);
  transition: transform 0.3s var(--hm-ease), box-shadow 0.3s var(--hm-ease), border-color 0.3s var(--hm-ease);
}

body.hm .feature-card:hover {
  border-color: #b7e2da;
  box-shadow: var(--hm-shadow-lift);
  transform: translateY(-4px);
}

body.hm .feature-number {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  margin: 0;
  border-radius: 14px;
  background: var(--hm-brand-soft);
  color: var(--hm-brand-strong);
  font-size: 1.05rem;
  font-weight: 700;
  line-height: 1;
  opacity: 1;
}

body.hm .feature-card h5 {
  margin-bottom: 0.4rem;
  font-size: 1.05rem;
  font-weight: 600;
}

body.hm .feature-card p {
  color: var(--hm-muted);
  font-size: 0.92rem;
  line-height: 1.6;
}

@media (max-width: 991.98px) {
  body.hm .hm-why-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 575.98px) {
  body.hm .hm-why-grid {
    grid-template-columns: 1fr;
  }
}

/* Key features */

body.hm .bg-green-light {
  background: var(--hm-tint) !important;
}

body.hm .key-blocks {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 18px;
  margin-top: clamp(32px, 5vw, 52px);
}

body.hm .key-box {
  width: auto;
  margin: 0;
  padding: 1.75rem 1.4rem;
  border: 1px solid var(--hm-line);
  border-radius: var(--hm-radius);
  background: #fff;
  box-shadow: var(--hm-shadow);
  text-align: center;
  transition: transform 0.3s var(--hm-ease), box-shadow 0.3s var(--hm-ease);
}

body.hm .key-box :is(h3, p) {
  text-align: center;
}

body.hm .key-box:hover {
  box-shadow: var(--hm-shadow-lift);
  transform: translateY(-4px);
}

body.hm .key-img {
  display: grid;
  place-items: center;
  width: 64px;
  height: 64px;
  margin: 0 auto 1.1rem;
  border-radius: 18px;
  background: var(--hm-brand-soft);
}

body.hm .key-img .bi {
  color: var(--hm-brand-strong);
  font-size: 1.65rem;
  line-height: 1;
}

body.hm .key-box h3 {
  margin-bottom: 0.4rem;
  font-size: 1.05rem;
}

body.hm .key-box p {
  margin: 0;
  color: var(--hm-muted);
  font-size: 0.92rem;
  line-height: 1.6;
}

/* Built for every clinic */

body.hm .builtfor {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px;
  margin-top: clamp(32px, 5vw, 52px);
}

body.hm .builtfor-box {
  width: auto;
  overflow: hidden;
  border: 1px solid var(--hm-line);
  border-radius: var(--hm-radius);
  background: #fff;
  box-shadow: var(--hm-shadow);
}

body.hm .builtfor-img {
  aspect-ratio: 16 / 10;
  overflow: hidden;
}

body.hm .builtfor-img img {
  width: 100%;
  height: 100%;
  border-radius: 0;
  object-fit: cover;
  transition: transform 0.6s var(--hm-ease);
}

body.hm .builtfor-box:hover .builtfor-img img {
  transform: scale(1.04);
}

body.hm .builtfor-box h3,
body.hm .builtfor-box p {
  padding: 0 1.4rem;
}

body.hm .builtfor-box h3 {
  margin: 1.25rem 0 0.4rem;
}

body.hm .builtfor-box p {
  margin-bottom: 1.4rem;
  color: var(--hm-muted);
  font-size: 0.92rem;
}

@media (max-width: 767.98px) {
  body.hm .builtfor {
    grid-template-columns: 1fr;
  }
}

/* Manage your appointments: accordion and screenshot */

body.hm .light-blue,
body.hm .light-green {
  background: var(--hm-tint) !important;
}

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

body.hm .accordion-button {
  padding: 1rem 1.25rem;
  background: #fff;
  color: var(--hm-ink);
  font-family: var(--hm-font);
  font-size: 0.98rem;
  font-weight: 600;
  box-shadow: none !important;
}

body.hm .accordion-button:not(.collapsed) {
  background: var(--hm-brand-soft);
  color: var(--hm-brand-strong);
}

body.hm .accordion-body,
body.hm .accordion-light .accordion-body {
  padding: 1rem 1.25rem 1.15rem;
  color: var(--hm-text);
  font-size: 0.94rem;
  line-height: 1.7;
}

/* The screenshot beside the accordion: one browser window, its pictures cross-fading
   as the items open (homepage.css used to show and hide them). */
body.hm .preview-box {
  display: block;
  flex: 1.25;
  min-height: 0;
  padding: 0;
  border-radius: 18px;
}

body.hm .hm-window__screens {
  position: relative;
  aspect-ratio: 16 / 10;
  background: #f3f8f7;
}

body.hm .hm-window__screens img {
  position: absolute;
  inset: 0;
  display: block;
  width: 100%;
  max-width: none;
  height: 100%;
  border-radius: 0;
  object-fit: cover;
  object-position: top left;
  opacity: 0;
  /* Hidden ones are hidden from screen readers too, once they have faded. */
  visibility: hidden;
  transition: opacity 0.35s var(--hm-ease), visibility 0s linear 0.35s;
}

body.hm .hm-window__screens img.active {
  opacity: 1;
  visibility: visible;
  transition: opacity 0.35s var(--hm-ease), visibility 0s;
}

/* Phones and tablets: the screenshot above the accordion, at full width. */
@media (max-width: 991.98px) {
  body.hm .section-wrapper {
    flex-direction: column;
    align-items: stretch;
    gap: 24px;
  }

  body.hm .preview-box {
    flex: none;
    order: -1;
    width: 100%;
  }
}

/* Laptops: the window stays in view while the accordion beside it opens and closes. */
@media (min-width: 992px) {
  body.hm .preview-box {
    position: sticky;
    top: 104px;
  }
}

/* Online booking: the clinic page and the token page on two phones. */

body.hm .image-box.hm-phones {
  position: relative;
  isolation: isolate;
  display: block;
  width: 100%;
  max-width: 440px;
  min-height: 0;
  aspect-ratio: 1 / 1.18;
  margin: 0 auto;
  padding: 0;
  overflow: visible;
  border: 0;
  border-radius: 0;
  background: none;
  box-shadow: none;
}

body.hm .hm-phones::before {
  content: "";
  position: absolute;
  inset: 12% 2% 6%;
  z-index: -1;
  border-radius: 48px;
  background:
    radial-gradient(closest-side, rgba(110, 231, 183, 0.4), rgba(110, 231, 183, 0) 75%),
    linear-gradient(160deg, rgba(20, 184, 166, 0.12), rgba(15, 118, 110, 0.04));
}

/* A slim top bezel holds the notch, so it never covers the page. */
body.hm .hm-phone {
  position: absolute;
  padding: 7.5% 2.6% 3%;
  border-radius: 13% / 6%;
  background: linear-gradient(160deg, #1b3b39, #0b2423);
  box-shadow: 0 2px 4px rgba(11, 43, 42, 0.2), 0 30px 50px -24px rgba(6, 59, 56, 0.55);
}

/* The camera notch. */
body.hm .hm-phone::before {
  content: "";
  position: absolute;
  top: 2.3%;
  left: 50%;
  z-index: 1;
  width: 26%;
  height: 2.2%;
  border-radius: 999px;
  background: #0b2423;
  transform: translateX(-50%);
}

body.hm .hm-phone img {
  display: block;
  width: 100%;
  max-width: none;
  height: auto;
  border-radius: 6% / 2.8%;
}

body.hm .hm-phone--back {
  top: 0;
  left: 0;
  width: 50%;
  transform: rotate(-5deg);
}

body.hm .hm-phone--front {
  right: 0;
  bottom: 0;
  z-index: 1;
  width: 54%;
}

body.hm .feature-list {
  display: grid;
  gap: 14px;
  padding: 0;
  list-style: none;
}

body.hm .feature-list li {
  position: relative;
  padding-left: 2.4rem;
}

body.hm .feature-list li::before {
  content: "\F26E";
  position: absolute;
  top: 0;
  left: 0;
  display: grid;
  place-items: center;
  width: 1.65rem;
  height: 1.65rem;
  border-radius: 50%;
  background: var(--hm-brand-soft);
  color: var(--hm-brand-strong);
  font-family: "bootstrap-icons";
  font-size: 1rem;
}

body.hm .feature-list li strong {
  color: var(--hm-ink);
  font-weight: 600;
}

body.hm .feature-list li span {
  color: var(--hm-muted);
}

/* Testimonial */

body.hm .testimonial-card {
  position: relative;
  max-width: 720px;
  margin: 0 auto;
  padding: clamp(28px, 4vw, 44px);
  border: 1px solid var(--hm-line);
  border-radius: 24px;
  background: #fff;
  box-shadow: var(--hm-shadow-lift);
}

body.hm .testimonial-card .quote-icon {
  color: #99e6d8;
  font-size: 3.5rem;
  line-height: 1;
}

body.hm .testimonial-card p {
  color: var(--hm-ink);
  font-size: 1.1rem;
  line-height: 1.7;
}

body.hm .testimonial-card .author {
  color: var(--hm-brand-strong);
  font-weight: 600;
}

/* FAQ */

body.hm .faq.bg-light {
  background: #fff !important;
}

body.hm .faq .accordion {
  max-width: 860px;
  margin: clamp(28px, 4vw, 44px) auto 0;
}

/* WhatsApp help */

body.hm .whatsup {
  max-width: 1100px;
  margin: 0 auto clamp(48px, 6vw, 80px);
  padding: clamp(40px, 6vw, 72px) 24px !important;
  border-radius: 32px;
  background:
    radial-gradient(520px 300px at 100% 0%, rgba(110, 231, 183, 0.3), transparent 70%),
    linear-gradient(135deg, #f2faf8, #e3f3f1);
}

body.hm .whatsapp-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.75rem 1.6rem 0.75rem 0.85rem;
  border-radius: 18px;
  background: #16a34a;
  box-shadow: 0 18px 34px -18px rgba(22, 163, 74, 0.9);
  color: #fff;
  font-size: 1.35rem;
  font-weight: 700;
  text-decoration: none;
}

body.hm .whatsapp-btn svg {
  width: 40px;
  height: 40px;
}

body.hm .whatsapp-btn:hover {
  background: #15803d;
  color: #fff;
}

/* Start your free trial */

body.hm .start-free-trail {
  margin: 0 clamp(12px, 3vw, 40px) clamp(48px, 6vw, 80px);
  border-radius: 32px;
  background:
    radial-gradient(560px 320px at 100% 0%, rgba(110, 231, 183, 0.35), transparent 70%),
    radial-gradient(520px 320px at 0% 100%, rgba(20, 184, 166, 0.45), transparent 70%),
    linear-gradient(135deg, var(--hm-brand-deep), var(--hm-brand)) !important;
}

body.hm .start-free-trail :is(h2, p) {
  color: #fff !important;
}

body.hm .start-free-trail p {
  color: rgba(255, 255, 255, 0.85) !important;
}

body.hm .start-free-trail .hero-btn-grp {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
  margin-top: 2rem;
}

body.hm .start-free-trail .btn-primary {
  background: #fff;
  box-shadow: 0 16px 30px -16px rgba(0, 0, 0, 0.5);
  color: var(--hm-brand-strong);
}

body.hm .start-free-trail .btn-primary:hover {
  color: var(--hm-brand-deep);
}

body.hm .start-free-trail .btn-outline-secondary {
  border-color: rgba(255, 255, 255, 0.45);
  background: transparent;
  color: #fff;
}

body.hm .start-free-trail .btn-outline-secondary:hover {
  border-color: #fff;
  background: rgba(255, 255, 255, 0.12);
  color: #fff;
}

/* Footer */

body.hm .hm-footer {
  padding: clamp(40px, 5vw, 64px) 0 24px;
  border-top: 1px solid var(--hm-line);
  background: var(--hm-tint);
  color: var(--hm-muted);
}

body.hm .hm-footer__top {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  justify-content: space-between;
  gap: 28px;
  padding-bottom: 28px;
  border-bottom: 1px solid var(--hm-line);
}

body.hm .hm-footer__brand p {
  max-width: 320px;
  margin: 0.9rem 0 0;
  font-size: 0.92rem;
}

body.hm .hm-footer__nav {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 22px;
  max-width: 560px;
}

body.hm .hm-footer__nav a {
  color: var(--hm-text);
  font-size: 0.92rem;
  font-weight: 500;
  text-decoration: none;
}

body.hm .hm-footer__nav a:hover {
  color: var(--hm-brand-strong);
}

body.hm .hm-footer__social svg {
  width: 32px;
  height: 32px;
}

body.hm .hm-footer__bottom {
  padding-top: 20px;
  font-size: 0.86rem;
  row-gap: 8px;
}

body.hm .hm-footer__bottom a {
  color: var(--hm-brand-strong);
  font-weight: 600;
}

/* Language switch (home/_language_selector): two short options, the current one filled. */

body.hm .hm-lang {
  display: inline-flex;
  flex: none;
  align-items: center;
  gap: 2px;
  margin-left: auto;
  padding: 3px;
  border: 1px solid var(--hm-line);
  border-radius: 12px;
  background: #fff;
}

body.hm .hm-lang__option {
  display: grid;
  place-items: center;
  min-width: 40px;
  height: 34px;
  padding: 0 0.6rem;
  border-radius: 9px;
  color: var(--hm-muted);
  font-size: 0.82rem;
  font-weight: 600;
  line-height: 1;
  text-decoration: none;
  transition: background-color 0.2s var(--hm-ease), color 0.2s var(--hm-ease);
}

body.hm .hm-lang__option:hover {
  background: var(--hm-tint);
  color: var(--hm-ink);
}

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

/* Gujarati glyphs sit a little lower; Hind Vadodara reads best at its own size. */
body.hm .hm-lang__option[lang="gu"] {
  font-family: "Hind Vadodara", var(--hm-font);
  font-size: 0.95rem;
}

/* Phones and tablets: beside the menu button. Laptops: after the menu, at the end of the bar. */
@media (max-width: 1199.98px) {
  body.hm .hm-header__toggler {
    margin-left: 8px;
  }
}

/* The narrowest phones (320–374px): logo, switch and menu button still share one row. */
@media (max-width: 374.98px) {
  body.hm .hm-header__logo {
    --cl-logo-size: 1.45rem !important;
  }

  body.hm .hm-lang__option {
    min-width: 34px;
    height: 32px;
    padding: 0 0.45rem;
  }

  body.hm .hm-header__toggler {
    margin-left: 6px;
  }
}

@media (min-width: 1200px) {
  body.hm .hm-lang {
    order: 3;
    margin-left: 12px;
  }

  body.hm .hm-header .navbar-collapse {
    order: 2;
  }
}

/* Gujarati: Hind Vadodara's vowel signs need more room above and below than
   Latin, and tight tracking pulls its letters into each other. */
body.hm.hm--gu :is(h1, h2, h3, h4, h5, .hm-hero__title, .sub-heading, .feature-card h5) {
  letter-spacing: 0;
}

body.hm.hm--gu .hm-hero__title {
  line-height: 1.22;
}

body.hm.hm--gu h2 {
  line-height: 1.35;
}

body.hm.hm--gu :is(p, li, .accordion-body, .accordion-button, .feature-card h5, .key-box h3, .builtfor-box h3) {
  line-height: 1.7;
}
