/* ==========================================================================
   Lefori Labs — enterprise marketing site
   Design system: restrained, product-led, navy primary with orange accent.
   ========================================================================== */

*,
*::before,
*::after {
  box-sizing: border-box;
}

:root {
  /* Brand manual colours: Lefori Blue and Orange, with tints of each */
  --navy: #1a3862; /* Lefori Blue, RGB 26 56 98 */
  --navy-800: #122a4c; /* hover shade of Lefori Blue */
  --navy-100: #d6deea;
  --navy-50: #eef2f8;
  --orange: #f7941d; /* Lefori Orange, CMYK 0 49 98 0, as in the official logo artwork */
  --orange-50: #fef3e6;

  /* Neutrals, tinted towards Lefori Blue */
  --ink: #1a3862;
  --text: #2a3a52;
  --muted: #5a6a80;
  --faint: #8a96a8;
  --bg: #ffffff;
  --surface: #f6f8fb;
  --surface-2: #eef2f7;
  --border: #e2e8f0;
  --border-strong: #cbd5e1;

  /* Form success state only */
  --green: #15803d;
  --green-50: #ecfdf3;

  /* Shape and depth */
  --radius-xs: 2px;
  --radius-sm: 4px;
  --radius: 6px;
  --radius-lg: 8px;
  --shadow-sm: 0 1px 2px rgba(15, 23, 42, 0.06);
  --shadow: 0 4px 16px rgba(15, 23, 42, 0.08);
  --shadow-lg: 0 24px 60px rgba(15, 23, 42, 0.16);

  /* Type and layout */
  --font: "Mont", "Montserrat", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif; /* brand font Mont; Montserrat until a Mont web licence is in place */
  --nav-h: 64px;
  --container: 1200px;
}

html {
  scroll-padding-top: calc(var(--nav-h) + 24px);
  font-family: var(--font);
}

body {
  margin: 0;
  min-width: 320px;
  overflow-x: hidden;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font);
  font-size: 1rem;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

button,
input,
select,
textarea {
  font: inherit;
}

img,
video,
svg {
  display: block;
  max-width: 100%;
}

img {
  height: auto;
}

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

button {
  border: 0;
  background: none;
  color: inherit;
  cursor: pointer;
}

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

p,
h1,
h2,
h3,
h4 {
  margin: 0;
}

[hidden] {
  display: none !important;
}

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

.icon {
  width: 20px;
  height: 20px;
  flex: 0 0 auto;
  stroke: currentColor;
  stroke-width: 1.75;
  stroke-linecap: round;
  stroke-linejoin: round;
  fill: none;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}

/* --------------------------------------------------------------------------
   Typography
   -------------------------------------------------------------------------- */

h1,
h2,
h3,
h4 {
  color: var(--ink);
  font-weight: 700;
  letter-spacing: -0.015em;
  line-height: 1.15;
}

h1 {
  font-size: clamp(2.2rem, 3.8vw, 3.25rem);
  letter-spacing: -0.02em;
  line-height: 1.1;
}

h2 {
  font-size: clamp(1.75rem, 2.8vw, 2.5rem);
}

h3 {
  font-size: 1.2rem;
  letter-spacing: -0.012em;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  margin-bottom: 1rem;
  color: var(--navy);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.eyebrow::before {
  content: "";
  width: 20px;
  height: 3px;
  background: var(--orange);
}

.eyebrow--light {
  color: #fff;
}

.lead {
  color: var(--muted);
  font-size: 1.125rem;
  line-height: 1.65;
}

.section {
  padding: 96px 0;
}

.section--surface {
  background: var(--surface);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.section__head {
  max-width: 760px;
  margin-bottom: 56px;
}

.section__head p {
  margin-top: 1rem;
  color: var(--muted);
  font-size: 1.0625rem;
}

.section__head--split {
  max-width: none;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: end;
  gap: 2rem;
}

.section__head--split p {
  max-width: 560px;
}

.text-link {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  color: var(--navy);
  font-weight: 600;
}

.text-link .icon {
  width: 16px;
  height: 16px;
  transition: transform 160ms ease;
}

.text-link:hover .icon {
  transform: translateX(3px);
}

.text-link--light {
  color: #fff;
}

/* --------------------------------------------------------------------------
   Buttons
   -------------------------------------------------------------------------- */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  min-height: 44px;
  padding: 0 1.125rem;
  border: 1px solid transparent;
  border-radius: var(--radius-sm);
  font-size: 0.9375rem;
  font-weight: 600;
  line-height: 1;
  white-space: nowrap;
  transition: background 160ms ease, border-color 160ms ease, color 160ms ease, box-shadow 160ms ease, transform 160ms ease;
}

.btn .icon {
  width: 16px;
  height: 16px;
}

.btn__arrow {
  transition: transform 160ms ease;
}

.btn:hover .btn__arrow {
  transform: translateX(3px);
}

.btn--sm {
  min-height: 38px;
  padding: 0 0.9rem;
  font-size: 0.875rem;
}

.btn--lg {
  min-height: 50px;
  padding: 0 1.4rem;
  font-size: 1rem;
}

.btn--full {
  width: 100%;
}

.btn--primary {
  background: var(--navy);
  color: #fff;
}

.btn--primary:hover {
  background: var(--navy-800);
}

.btn--secondary {
  background: #fff;
  border-color: var(--border-strong);
  color: var(--ink);
}

.btn--secondary:hover {
  border-color: var(--navy);
  color: var(--navy);
}

.btn--accent {
  background: var(--orange);
  color: var(--navy);
  font-weight: 700;
}

.btn--accent:hover {
  background: #ffa43a;
}

.btn--on-dark {
  background: #fff;
  color: var(--navy);
}

.btn--on-dark:hover {
  background: #eef3fa;
}

.btn--outline-light {
  border-color: rgba(255, 255, 255, 0.35);
  color: #fff;
}

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

:focus-visible {
  outline: 2px solid var(--navy);
  outline-offset: 2px;
}

/* Sections that take focus after an in-page link don't need a ring around the whole block. */
[tabindex="-1"]:focus {
  outline: none;
}

/* --------------------------------------------------------------------------
   Navigation
   -------------------------------------------------------------------------- */

.nav {
  position: fixed;
  z-index: 1000;
  top: 0;
  left: 0;
  right: 0;
  height: var(--nav-h);
  background: #fff;
  border-bottom: 1px solid var(--border);
  transition: box-shadow 160ms ease;
}

.skip-link {
  position: fixed;
  z-index: 1100;
  top: 8px;
  left: 8px;
  padding: 0.6rem 1rem;
  border-radius: var(--radius-sm);
  background: var(--navy);
  color: #fff;
  font-size: 0.9rem;
  font-weight: 600;
  transform: translateY(calc(-100% - 16px));
  transition: transform 120ms ease;
}

.skip-link:focus {
  transform: none;
}

/* Without JavaScript the dropdowns open on hover and focus, and controls that need a script are hidden. */
.no-js .has-dropdown:hover > .dropdown,
.no-js .has-dropdown:focus-within > .dropdown {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.no-js .nav__hamburger,
.no-js .back-to-top {
  display: none;
}

.nav.scrolled {
  box-shadow: 0 6px 24px rgba(15, 23, 42, 0.08);
}

.nav__inner {
  height: 100%;
  display: flex;
  align-items: center;
  gap: 1.5rem;
}

.logo {
  display: inline-flex;
  align-items: center;
  flex: 0 0 auto;
}

.logo img {
  width: auto;
  height: 40px;
}

.footer__brand .logo img {
  height: 48px;
}

.nav__menu {
  display: flex;
  align-items: center;
  gap: 0.25rem;
  margin-left: 0.5rem;
}

.nav__menu > li {
  position: relative;
}

.nav__link {
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  white-space: nowrap;
  min-height: 40px;
  padding: 0 0.6rem;
  border-radius: var(--radius-sm);
  color: var(--text);
  font-size: 0.9375rem;
  font-weight: 500;
  transition: background 140ms ease, color 140ms ease;
}

.nav__link .icon {
  width: 14px;
  height: 14px;
  color: var(--faint);
  transition: transform 160ms ease;
}

.nav__link:hover,
.nav__link.is-active,
.has-dropdown.is-open > .nav__link {
  background: var(--surface);
  color: var(--navy);
}

.has-dropdown.is-open > .nav__link .icon {
  transform: rotate(180deg);
}

.dropdown {
  position: absolute;
  top: calc(100% + 10px);
  left: 0;
  min-width: 320px;
  padding: 0.5rem;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow-lg);
  opacity: 0;
  visibility: hidden;
  transform: translateY(-6px);
  transition: opacity 140ms ease, transform 140ms ease, visibility 140ms;
}

.dropdown--wide {
  min-width: 620px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.25rem;
}

.has-dropdown.is-open > .dropdown {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.dropdown__item {
  display: grid;
  grid-template-columns: 36px 1fr;
  gap: 0.8rem;
  padding: 0.7rem 0.75rem;
  border-radius: var(--radius-sm);
  transition: background 120ms ease;
}

.dropdown__item:hover,
.dropdown__item[aria-current="page"] {
  background: var(--surface);
}

.dropdown__item[aria-current="page"] strong,
.nav__mobile a[aria-current="page"] {
  color: var(--navy);
  font-weight: 600;
}

.dropdown__item strong {
  display: block;
  color: var(--ink);
  font-size: 0.9rem;
  font-weight: 600;
}

.dropdown__item span {
  display: block;
  margin-top: 0.1rem;
  color: var(--muted);
  font-size: 0.8125rem;
  line-height: 1.45;
}

.dropdown__icon {
  display: grid;
  width: 36px;
  height: 36px;
  place-items: center;
  border-radius: var(--radius-sm);
  background: var(--navy-50);
  color: var(--navy);
}

.dropdown__icon .icon {
  width: 18px;
  height: 18px;
}

.dropdown__footer {
  grid-column: 1 / -1;
  margin-top: 0.25rem;
  padding: 0.75rem 0.75rem 0.4rem;
  border-top: 1px solid var(--border);
  font-size: 0.85rem;
}

.nav__actions {
  display: flex;
  align-items: center;
  gap: 0.35rem;
  margin-left: auto;
}

.nav__phone,
.nav__signin {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  min-height: 38px;
  padding: 0 0.7rem;
  border-radius: var(--radius-sm);
  color: var(--text);
  font-size: 0.875rem;
  font-weight: 500;
  white-space: nowrap;
}

.nav__phone .icon,
.nav__signin .icon {
  width: 15px;
  height: 15px;
  color: var(--faint);
}

.nav__phone:hover,
.nav__signin:hover {
  background: var(--surface);
  color: var(--navy);
}

/* The three ways in: Sign in, Start free and Request a demo all read as buttons,
   with Start free in the brand orange so it is the first thing the eye lands on. */
.nav__signin {
  border: 1px solid var(--border-strong);
  color: var(--navy);
  font-weight: 600;
}

.nav__signin .icon {
  color: var(--navy);
}

.nav__signin:hover {
  border-color: var(--navy);
}

.nav__actions .btn--accent {
  box-shadow: 0 1px 2px rgba(15, 23, 42, 0.1), 0 6px 16px -6px rgba(247, 148, 29, 0.75);
}

.nav__actions .btn--primary {
  box-shadow: 0 1px 2px rgba(15, 23, 42, 0.1), 0 6px 16px -6px rgba(26, 56, 98, 0.6);
}

.nav__actions .btn--accent:hover,
.nav__actions .btn--primary:hover {
  transform: translateY(-1px);
}

.nav__actions .btn--accent:hover {
  box-shadow: 0 2px 4px rgba(15, 23, 42, 0.1), 0 10px 22px -8px rgba(247, 148, 29, 0.85);
}

.nav__actions .btn--primary:hover {
  box-shadow: 0 2px 4px rgba(15, 23, 42, 0.1), 0 10px 22px -8px rgba(26, 56, 98, 0.7);
}

.nav__divider {
  width: 1px;
  height: 22px;
  margin: 0 0.5rem;
  background: var(--border);
}

.nav__hamburger {
  display: none;
  width: 42px;
  height: 42px;
  margin-left: auto;
  place-items: center;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  color: var(--ink);
}

.nav__hamburger .icon--close {
  display: none;
}

.nav__hamburger[aria-expanded="true"] .icon--menu {
  display: none;
}

.nav__hamburger[aria-expanded="true"] .icon--close {
  display: block;
}

.nav__mobile {
  display: none;
}

/* --------------------------------------------------------------------------
   Hero
   -------------------------------------------------------------------------- */

.hero {
  position: relative;
  padding: calc(var(--nav-h) + 72px) 0 80px;
  overflow: hidden;
  background:
    radial-gradient(900px 420px at 88% -10%, rgba(25, 55, 98, 0.08), transparent 60%),
    linear-gradient(180deg, #fff 0%, #fbfcfe 100%);
}

.hero__grid {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr);
  align-items: center;
  gap: clamp(40px, 5vw, 72px);
}

.hero__content h1 {
  max-width: 620px;
}

.hero__content .lead {
  max-width: 560px;
  margin-top: 1.25rem;
}

.hero__proof {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.6rem 1.5rem;
  max-width: 560px;
  margin-top: 2.25rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--border);
  color: var(--muted);
  font-size: 0.875rem;
}

.hero__proof li {
  display: flex;
  align-items: flex-start;
  gap: 0.5rem;
}

.hero__proof .icon {
  width: 16px;
  height: 16px;
  margin-top: 3px;
  color: var(--orange);
  stroke-width: 2.5;
}

.hero__visual {
  position: relative;
}

.hero__caption {
  margin-top: 0.9rem;
  color: var(--faint);
  font-size: 0.8125rem;
  text-align: center;
}

/* Browser-style window frame */
.window {
  overflow: hidden;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
}

.window__bar {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 1rem;
  min-height: 38px;
  padding: 0 0.9rem;
  background: var(--surface);
  border-bottom: 1px solid var(--border);
}

.window__dots {
  display: flex;
  gap: 6px;
}

.window__dots i {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--border-strong);
}

.window__url {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.25rem 0.7rem;
  border-radius: var(--radius-xs);
  background: #fff;
  border: 1px solid var(--border);
  color: var(--muted);
  font-size: 0.72rem;
  font-weight: 500;
}

.window__url .icon {
  width: 11px;
  height: 11px;
  color: var(--faint);
}

.window__body {
  overflow: hidden;
  background: #0f172a;
}

.window__body img {
  width: 100%;
}

/* --------------------------------------------------------------------------
   Trust strip
   -------------------------------------------------------------------------- */

.trust {
  padding: 56px 0;
  background: var(--surface);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.trust__grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1rem;
}

.trust__item {
  padding: 1.35rem 1.4rem;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
}

.trust__item strong {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  color: var(--ink);
  font-size: 0.95rem;
  font-weight: 600;
}

.trust__item .icon {
  width: 18px;
  height: 18px;
  color: var(--navy);
}

.trust__item p {
  margin-top: 0.5rem;
  color: var(--muted);
  font-size: 0.85rem;
  line-height: 1.55;
}

.trust__sectors {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 0.5rem 0.9rem;
  margin-top: 2rem;
  color: var(--muted);
  font-size: 0.8125rem;
}

.trust__sectors span:first-child {
  font-weight: 600;
  color: var(--faint);
  letter-spacing: 0.06em;
  text-transform: uppercase;
  font-size: 0.7rem;
}

.trust__sectors em {
  font-style: normal;
  padding: 0.3rem 0.7rem;
  border: 1px solid var(--border);
  border-radius: var(--radius-xs);
  background: #fff;
}

/* --------------------------------------------------------------------------
   Cards (industries and products)
   -------------------------------------------------------------------------- */

.card-grid {
  display: grid;
  gap: 1rem;
}

.card-grid--4 {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.card-grid--3 {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

@media (max-width: 1279px) {
  .card-grid--products {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

.card {
  display: flex;
  flex-direction: column;
  padding: 1.6rem;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  transition: border-color 160ms ease, box-shadow 160ms ease, transform 160ms ease;
}

.card:hover {
  border-color: var(--border-strong);
  box-shadow: var(--shadow);
}

.card__icon {
  display: grid;
  width: 44px;
  height: 44px;
  margin-bottom: 1.1rem;
  place-items: center;
  border-radius: var(--radius-sm);
  background: var(--navy-50);
  color: var(--navy);
}

.card__icon .icon {
  width: 22px;
  height: 22px;
}

.card h3 {
  font-size: 1.05rem;
}

.card p {
  margin-top: 0.6rem;
  color: var(--muted);
  font-size: 0.9rem;
  line-height: 1.6;
}

.card__foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  margin-top: auto;
  padding-top: 1.25rem;
  font-size: 0.875rem;
}

.tag {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.25rem 0.6rem;
  border-radius: var(--radius-xs);
  background: var(--navy-50);
  color: var(--navy);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.02em;
}

/* Product overview cards */
.product-card {
  padding: 1.75rem;
}

/* Product name: heavy type with the short orange rule from the brand manual. */
.product-name {
  position: relative;
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 0.25rem 0.75rem;
  margin-bottom: 1.1rem;
  padding-bottom: 0.7rem;
}

.product-name::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 32px;
  height: 3px;
  background: var(--orange);
}

.product-name strong {
  color: var(--navy);
  font-size: 1.2rem;
  font-weight: 700;
  letter-spacing: -0.01em;
}

.product-name span {
  color: var(--muted);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.feature .product-name {
  margin-bottom: 1.25rem;
}

.feature .product-name strong {
  font-size: 1.35rem;
}

.product-card h3 {
  font-size: 1.1rem;
}

.module-list {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  margin-top: 1.1rem;
}

.module-list li {
  padding: 0.3rem 0.6rem;
  border: 1px solid var(--border);
  border-radius: var(--radius-xs);
  background: var(--surface);
  color: var(--text);
  font-size: 0.75rem;
  font-weight: 500;
}

/* --------------------------------------------------------------------------
   Product deep-dives
   -------------------------------------------------------------------------- */

.feature {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  align-items: center;
  gap: clamp(40px, 6vw, 88px);
  padding: 72px 0;
  border-top: 1px solid var(--border);
}

.feature:first-of-type {
  border-top: 0;
  padding-top: 0;
}

.feature--flip .feature__content {
  order: 2;
}

.feature__content h2 {
  max-width: 520px;
  font-size: clamp(1.6rem, 2.4vw, 2.15rem);
}

.feature__content > p {
  max-width: 540px;
  margin-top: 1rem;
  color: var(--muted);
}

.feature__list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem 1.5rem;
  margin-top: 1.75rem;
}

.feature__list li {
  display: grid;
  grid-template-columns: 18px 1fr;
  gap: 0.55rem;
}

.feature__list .icon {
  width: 18px;
  height: 18px;
  margin-top: 2px;
  color: var(--orange);
  stroke-width: 2.5;
}

.feature__list strong {
  display: block;
  color: var(--ink);
  font-size: 0.9rem;
  font-weight: 600;
}

.feature__list span {
  display: block;
  margin-top: 0.15rem;
  color: var(--muted);
  font-size: 0.8125rem;
  line-height: 1.5;
}

.feature__actions {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 1.25rem;
  margin-top: 2rem;
}

.feature__visual {
  min-width: 0;
}

.stage {
  margin: 0;
  padding: clamp(20px, 3vw, 36px);
  background:
    radial-gradient(circle at 1px 1px, rgba(15, 23, 42, 0.08) 1px, transparent 0) 0 0 / 22px 22px,
    var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
}

.stage .window {
  box-shadow: var(--shadow);
}

.stage__caption {
  margin-top: 0.9rem;
  color: var(--muted);
  font-size: 0.85rem;
  line-height: 1.5;
}

/* --------------------------------------------------------------------------
   Platform (dark)
   -------------------------------------------------------------------------- */

.platform {
  background: var(--navy);
  color: #fff;
}

.platform h2,
.platform h3 {
  color: #fff;
}

.platform .section__head p {
  color: rgba(255, 255, 255, 0.66);
}

.platform__grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
}

.pillar {
  padding: 1.6rem;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.04);
}

.pillar__icon {
  display: grid;
  width: 42px;
  height: 42px;
  margin-bottom: 1.1rem;
  place-items: center;
  border-radius: var(--radius-sm);
  background: rgba(247, 148, 29, 0.14);
  color: var(--orange);
}

.pillar__icon .icon {
  width: 21px;
  height: 21px;
}

.pillar h3 {
  font-size: 1.02rem;
}

.pillar p {
  margin-top: 0.55rem;
  color: rgba(255, 255, 255, 0.64);
  font-size: 0.9rem;
  line-height: 1.6;
}

.platform__note {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin-top: 2rem;
  padding: 1.25rem 1.5rem;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.03);
  color: rgba(255, 255, 255, 0.72);
  font-size: 0.9rem;
}

.platform__note strong {
  color: #fff;
}

/* --------------------------------------------------------------------------
   Implementation
   -------------------------------------------------------------------------- */

.impl {
  display: grid;
  grid-template-columns: minmax(0, 1.5fr) minmax(300px, 0.8fr);
  gap: 3rem;
  align-items: start;
}

.steps {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
}

.step {
  padding: 1.5rem;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: #fff;
}

.step__num {
  display: inline-grid;
  width: 32px;
  height: 32px;
  margin-bottom: 1rem;
  place-items: center;
  border-radius: var(--radius-sm);
  background: var(--navy);
  color: #fff;
  font-size: 0.8rem;
  font-weight: 700;
}

.step h3 {
  font-size: 1.05rem;
}

.step p {
  margin-top: 0.5rem;
  color: var(--muted);
  font-size: 0.9rem;
}

.impl__aside {
  padding: 1.6rem;
  border-radius: var(--radius);
  background: var(--navy-50);
  border: 1px solid var(--navy-100);
}

.impl__aside h3 {
  font-size: 1rem;
}

.impl__aside ul {
  display: grid;
  gap: 0.7rem;
  margin-top: 1rem;
  color: var(--text);
  font-size: 0.9rem;
}

.impl__aside li {
  display: flex;
  gap: 0.55rem;
}

.impl__aside .icon {
  width: 17px;
  height: 17px;
  margin-top: 3px;
  color: var(--navy);
}

.impl__aside .btn {
  margin-top: 1.4rem;
}

/* --------------------------------------------------------------------------
   Pricing
   -------------------------------------------------------------------------- */

.pricing-controls {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 1.5rem;
}

.product-tabs,
.billing-toggle {
  display: inline-flex;
  padding: 4px;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  background: var(--surface);
}

.product-tab,
.toggle__label {
  min-height: 38px;
  padding: 0 1rem;
  border-radius: var(--radius-xs);
  color: var(--muted);
  font-size: 0.875rem;
  font-weight: 600;
  transition: background 140ms ease, color 140ms ease;
}

.product-tab.is-active,
.toggle__label--active {
  background: #fff;
  color: var(--ink);
  box-shadow: var(--shadow-sm);
}

.toggle__label span {
  margin-left: 0.35rem;
  padding: 0.1rem 0.35rem;
  border-radius: var(--radius-xs);
  background: var(--orange-50);
  color: var(--navy);
  font-size: 0.7rem;
}

.pricing-panel {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
}

.pricing-panel--four {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.pricing-panel--four .price-card {
  padding: 1.5rem;
}

.pricing-panel--four .price strong {
  font-size: clamp(1.5rem, 1.9vw, 1.9rem);
}

.price-card {
  position: relative;
  display: flex;
  flex-direction: column;
  padding: 1.75rem;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
}

.price-card--featured {
  border: 2px solid var(--navy);
}

.recommended {
  position: absolute;
  top: -12px;
  left: 1.5rem;
  padding: 0.25rem 0.65rem;
  border-radius: var(--radius-xs);
  background: var(--navy);
  color: #fff;
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.03em;
}

.recommended--new {
  background: var(--orange);
  color: var(--navy);
  font-weight: 700;
}

.price-card__tier {
  color: var(--ink);
  font-size: 1rem;
  font-weight: 700;
}

.price-card__desc {
  min-height: 42px;
  margin-top: 0.3rem;
  color: var(--muted);
  font-size: 0.875rem;
}

.price {
  display: flex;
  align-items: baseline;
  flex-wrap: wrap;
  gap: 0.3rem;
  margin: 1.25rem 0 1.4rem;
}

.price small {
  color: var(--muted);
  font-size: 0.8rem;
  font-weight: 600;
}

.price strong {
  color: var(--ink);
  font-size: clamp(1.5rem, 2.3vw, 2.2rem);
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1;
}

.price span {
  color: var(--muted);
  font-size: 0.85rem;
}

.price-card ul {
  display: grid;
  gap: 0.6rem;
  margin-bottom: 1.6rem;
  color: var(--text);
  font-size: 0.875rem;
}

.price-card li {
  display: flex;
  gap: 0.5rem;
}

.price-card li .icon {
  width: 16px;
  height: 16px;
  margin-top: 3px;
  color: var(--orange);
  stroke-width: 2.5;
}

.price-card .btn {
  margin-top: auto;
}

.pricing-panel--health {
  grid-template-columns: 1fr;
}

.health-price-card {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 3rem;
  align-items: center;
  padding: clamp(28px, 4vw, 48px);
  border-radius: var(--radius);
  background: var(--navy);
  color: #fff;
}

.health-price-card h3 {
  max-width: 520px;
  color: #fff;
  font-size: clamp(1.4rem, 2.2vw, 1.9rem);
}

.health-price-card p:not(.eyebrow) {
  margin-top: 0.9rem;
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.95rem;
}

.health-price-card__actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 1.25rem;
  margin-top: 1.6rem;
}

.health-price-card ul {
  display: grid;
  gap: 0.65rem;
  color: rgba(255, 255, 255, 0.85);
  font-size: 0.9rem;
}

.health-price-card li {
  display: flex;
  gap: 0.5rem;
}

.health-price-card li .icon {
  width: 16px;
  height: 16px;
  margin-top: 3px;
  color: var(--orange);
}

.pricing__foot {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
  margin-top: 1.5rem;
}

.pricing__foot > div {
  display: flex;
  gap: 0.7rem;
  padding: 1rem 1.1rem;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  background: var(--surface);
  color: var(--muted);
  font-size: 0.85rem;
}

.pricing__foot .icon {
  width: 18px;
  height: 18px;
  margin-top: 2px;
  color: var(--navy);
}

.pricing__foot strong {
  color: var(--ink);
}

/* --------------------------------------------------------------------------
   FAQ
   -------------------------------------------------------------------------- */

.faq {
  border-top: 1px solid var(--border);
}

.faq details {
  border-bottom: 1px solid var(--border);
}

.faq summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.1rem 0;
  color: var(--ink);
  font-size: 1rem;
  font-weight: 600;
  list-style: none;
  cursor: pointer;
}

.faq summary::-webkit-details-marker {
  display: none;
}

.faq summary .icon {
  width: 18px;
  height: 18px;
  color: var(--faint);
  transition: transform 160ms ease;
}

.faq details[open] summary .icon {
  transform: rotate(180deg);
}

.faq details p {
  max-width: 760px;
  padding: 0 0 1.25rem;
  color: var(--muted);
  font-size: 0.95rem;
}

/* --------------------------------------------------------------------------
   Contact / company
   -------------------------------------------------------------------------- */

.contact__grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: clamp(40px, 6vw, 88px);
  align-items: start;
}

.contact__content > p:not(.eyebrow) {
  max-width: 560px;
  margin-top: 1rem;
  color: var(--muted);
}

.contact__direct {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
  margin-top: 2rem;
}

.contact__direct > * {
  display: block;
  padding: 1rem 1.1rem;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  background: #fff;
  transition: border-color 140ms ease;
}

.contact__direct a:hover {
  border-color: var(--navy);
}

.contact__direct small {
  display: block;
  color: var(--faint);
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.contact__direct strong {
  display: block;
  margin-top: 0.3rem;
  color: var(--ink);
  font-size: 0.95rem;
  font-weight: 600;
}

.contact__direct span {
  display: block;
  margin-top: 0.15rem;
  color: var(--muted);
  font-size: 0.8125rem;
}

.contact__hours {
  margin-top: 1.5rem;
  color: var(--muted);
  font-size: 0.85rem;
}

.form-card {
  padding: clamp(24px, 3vw, 36px);
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
}

.form-card__head {
  margin-bottom: 1.5rem;
  padding-bottom: 1.2rem;
  border-bottom: 1px solid var(--border);
}

.form-card__head h3 {
  font-size: 1.15rem;
}

.form-card__head p {
  margin-top: 0.3rem;
  color: var(--muted);
  font-size: 0.875rem;
}

.contact__form {
  display: grid;
  gap: 1rem;
}

.form__row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

.form__group {
  display: grid;
  gap: 0.4rem;
}

.form__group label {
  color: var(--ink);
  font-size: 0.8125rem;
  font-weight: 600;
}

.form__group input,
.form__group select,
.form__group textarea {
  width: 100%;
  border: 1px solid var(--border-strong);
  border-radius: var(--radius-sm);
  background: #fff;
  color: var(--ink);
  font-size: 0.9375rem;
  transition: border-color 140ms ease, box-shadow 140ms ease;
}

.form__group input,
.form__group select {
  min-height: 46px;
  padding: 0 0.85rem;
}

.form__group textarea {
  padding: 0.7rem 0.85rem;
  resize: vertical;
}

.form__group input:focus,
.form__group select:focus,
.form__group textarea:focus {
  outline: 0;
  border-color: var(--navy);
  box-shadow: 0 0 0 3px rgba(25, 55, 98, 0.14);
}

.form__note {
  color: var(--faint);
  font-size: 0.75rem;
  text-align: center;
}

.form__success {
  display: none;
  padding: 0.85rem;
  border-radius: var(--radius-sm);
  background: var(--green-50);
  color: var(--green);
  font-size: 0.875rem;
  font-weight: 600;
  text-align: center;
}

.form__success.show {
  display: block;
}

.form__success strong {
  display: block;
  margin-bottom: 0.25rem;
}

.form__success a,
.form__error a {
  color: inherit;
  text-decoration: underline;
  text-underline-offset: 2px;
}

.form__error {
  display: none;
  padding: 0.85rem;
  border-radius: var(--radius-sm);
  background: #fef2f2;
  color: #b42318;
  font-size: 0.875rem;
  font-weight: 600;
  text-align: center;
}

.form__error.show {
  display: block;
}

.form__optional {
  color: var(--faint);
  font-weight: 500;
}

/* Two numbers in one contact tile */
.contact__phones a {
  display: block;
}

.contact__phones a:hover strong {
  color: var(--navy-800);
  text-decoration: underline;
}

/* Hero calls to action and the 30-second tour */
.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 1.75rem;
}

.hero__actions .btn .icon {
  width: 18px;
  height: 18px;
}

.hero__watch {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  margin-top: 1.1rem;
  padding: 0.25rem 0;
  border: 0;
  background: none;
  color: var(--navy);
  font: inherit;
  font-size: 0.9375rem;
  font-weight: 600;
  cursor: pointer;
}

.hero__watch-icon {
  display: inline-grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: var(--orange);
  color: #fff;
}

.hero__watch-icon .icon {
  width: 14px;
  height: 14px;
  margin-left: 2px;
}

.hero__watch:hover {
  text-decoration: underline;
  text-underline-offset: 3px;
}

.video-dialog {
  width: min(960px, calc(100vw - 2rem));
  max-height: calc(100vh - 2rem);
  padding: 0;
  border: 0;
  border-radius: var(--radius-lg);
  background: #fff;
  box-shadow: var(--shadow-lg);
  overflow: auto;
}

.video-dialog::backdrop {
  background: rgba(15, 23, 42, 0.72);
}

.video-dialog__head,
.video-dialog__foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.9rem 1.25rem;
}

.video-dialog__head h2 {
  font-size: 1.05rem;
}

.video-dialog__close {
  display: inline-grid;
  place-items: center;
  width: 36px;
  height: 36px;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  background: #fff;
  color: var(--navy);
  cursor: pointer;
}

.video-dialog video {
  display: block;
  width: 100%;
  height: auto;
  background: #0f2445;
}

.video-dialog__foot p {
  color: var(--muted);
  font-size: 0.8125rem;
}

.video-dialog__foot .btn {
  flex: none;
}

@media (max-width: 640px) {
  .video-dialog__foot {
    flex-direction: column;
    align-items: stretch;
  }
}

/* Leadership list in the homepage company section */
.team-mini {
  margin-top: 1.75rem;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  background: #fff;
}

.team-mini__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.85rem 1.1rem;
  border-bottom: 1px solid var(--border);
}

.team-mini__head strong {
  color: var(--navy);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.team-mini__head .text-link {
  font-size: 0.85rem;
}

.team-mini li {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  padding: 0.8rem 1.1rem;
}

.team-mini li + li {
  border-top: 1px solid var(--border);
}

.team-mini__avatar {
  display: grid;
  flex: 0 0 auto;
  width: 42px;
  height: 42px;
  place-items: center;
  border-radius: var(--radius-sm);
  background: var(--navy);
  color: #fff;
  font-size: 0.85rem;
  font-weight: 700;
  overflow: hidden;
}

.team-mini__avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.team-mini li strong {
  display: block;
  color: var(--ink);
  font-size: 0.95rem;
}

.team-mini li span span {
  display: block;
  color: var(--muted);
  font-size: 0.82rem;
  line-height: 1.4;
}

/* --------------------------------------------------------------------------
   CTA band
   -------------------------------------------------------------------------- */

.cta-band {
  padding: 72px 0;
  background: var(--navy);
  color: #fff;
}

.cta-band__inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
}

.cta-band h2 {
  max-width: 620px;
  color: #fff;
  font-size: clamp(1.5rem, 2.4vw, 2.1rem);
}

.cta-band p {
  max-width: 560px;
  margin-top: 0.75rem;
  color: rgba(255, 255, 255, 0.7);
}

.cta-band__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

/* --------------------------------------------------------------------------
   Footer
   -------------------------------------------------------------------------- */

.footer {
  padding: 64px 0 28px;
  background: var(--surface);
  border-top: 1px solid var(--border);
}

.footer__top {
  display: grid;
  grid-template-columns: 1.3fr repeat(5, minmax(0, 1fr));
  gap: 2rem;
}

.footer__brand p {
  max-width: 260px;
  margin-top: 0.6rem;
  color: var(--muted);
  font-size: 0.875rem;
}

.footer__brand .footer__tagline {
  margin-top: 0.75rem;
  color: var(--orange);
  font-size: 1rem;
  font-weight: 600;
}

.footer__brand address {
  margin-top: 1rem;
  color: var(--muted);
  font-size: 0.8125rem;
  font-style: normal;
  line-height: 1.6;
}

.footer__col strong {
  display: block;
  margin-bottom: 0.9rem;
  color: var(--ink);
  font-size: 0.8125rem;
  font-weight: 600;
}

.footer__col a {
  display: block;
  padding: 0.28rem 0;
  color: var(--muted);
  font-size: 0.875rem;
}

.footer__col a:hover {
  color: var(--navy);
}

.footer__bottom {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin-top: 48px;
  padding-top: 20px;
  border-top: 1px solid var(--border);
  color: var(--faint);
  font-size: 0.8rem;
}

.footer__bottom div {
  display: flex;
  flex-wrap: wrap;
  gap: 1.25rem;
}

.footer__bottom a:hover {
  color: var(--navy);
}

/* --------------------------------------------------------------------------
   Floating controls
   -------------------------------------------------------------------------- */

.whatsapp-float,
.back-to-top {
  position: fixed;
  z-index: 900;
  bottom: 24px;
  display: grid;
  width: 48px;
  height: 48px;
  place-items: center;
  border-radius: 50%;
  color: #fff;
  box-shadow: 0 10px 28px rgba(15, 23, 42, 0.22);
}

.whatsapp-float {
  left: 24px;
  background: #1fab55;
}

.back-to-top {
  right: 24px;
  background: var(--navy);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transform: translateY(8px);
  transition: opacity 160ms ease, transform 160ms ease, visibility 160ms;
}

.back-to-top .icon {
  width: 18px;
  height: 18px;
}

.back-to-top.show {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translateY(0);
}

/* --------------------------------------------------------------------------
   Reveal (subtle)
   -------------------------------------------------------------------------- */

.reveal {
  transform: translateY(12px);
  transition: opacity 500ms ease, transform 500ms ease;
}

/* Animation is progressive enhancement: content remains visible without JS. */
.js .reveal {
  opacity: 0;
}

.reveal--delay-1 {
  transition-delay: 80ms;
}

.reveal--delay-2 {
  transition-delay: 160ms;
}

.no-js .reveal,
.reveal.is-visible {
  opacity: 1;
  transform: none;
}

/* Content in the section a visitor lands on is shown at once, without the fade. */
.reveal--instant {
  transition: none;
}

/* --------------------------------------------------------------------------
   Responsive
   -------------------------------------------------------------------------- */

@media (max-width: 1279px) {
  .nav__phone {
    display: none;
  }

  .pricing-panel--four {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .nav__menu {
    gap: 0;
  }

  .nav__link {
    padding: 0 0.5rem;
    font-size: 0.875rem;
  }
}

@media (max-width: 1024px) {
  .container {
    width: min(100% - 40px, var(--container));
  }

  .hero__grid {
    grid-template-columns: 1fr;
  }

  .hero__content h1,
  .hero__content .lead,
  .hero__proof {
    max-width: 720px;
  }

  .trust__grid,
  .card-grid--4 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .dropdown--wide {
    min-width: 520px;
  }

  .feature {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }

  .feature--flip .feature__content {
    order: 0;
  }

  .platform__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .impl {
    grid-template-columns: 1fr;
  }

  .contact__grid {
    grid-template-columns: 1fr;
  }

  .footer__top {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .footer__brand {
    grid-column: 1 / -1;
  }
}

@media (max-width: 1024px) {
  .nav__primary,
  .nav__actions {
    display: none;
  }

  .nav__hamburger {
    display: grid;
  }

  .nav .logo img {
    height: 36px;
  }

  .nav__mobile {
    position: fixed;
    top: var(--nav-h);
    left: 0;
    right: 0;
    bottom: 0;
    display: block;
    overflow-y: auto;
    padding: 1rem 20px 2rem;
    background: #fff;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-6px);
    transition: opacity 160ms ease, transform 160ms ease, visibility 160ms;
  }

  .nav__mobile.is-open {
    opacity: 1;
    visibility: visible;
    transform: none;
  }

  .nav__mobile details {
    border-bottom: 1px solid var(--border);
  }

  .nav__mobile summary {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0.9rem 0;
    color: var(--ink);
    font-weight: 600;
    list-style: none;
    cursor: pointer;
  }

  .nav__mobile summary::-webkit-details-marker {
    display: none;
  }

  .nav__mobile summary .icon {
    width: 16px;
    height: 16px;
    color: var(--faint);
    transition: transform 160ms ease;
  }

  .nav__mobile details[open] summary .icon {
    transform: rotate(180deg);
  }

  .nav__mobile details a {
    display: block;
    padding: 0.55rem 0 0.55rem 0.75rem;
    color: var(--muted);
    font-size: 0.95rem;
  }

  .nav__mobile details div {
    padding-bottom: 0.6rem;
  }

  .nav__mobile > a {
    display: block;
    padding: 0.9rem 0;
    border-bottom: 1px solid var(--border);
    color: var(--ink);
    font-weight: 600;
  }

  .nav__mobile__actions {
    display: grid;
    gap: 0.6rem;
    margin-top: 1.25rem;
  }

  .nav__mobile__contact {
    margin-top: 1.25rem;
    color: var(--muted);
    font-size: 0.85rem;
    line-height: 1.8;
  }
}

@media (max-width: 900px) {
  .section {
    padding: 72px 0;
  }

  .section__head {
    margin-bottom: 40px;
  }

  .section__head--split {
    grid-template-columns: 1fr;
    align-items: start;
  }

  .hero {
    padding-top: calc(var(--nav-h) + 48px);
  }

  .steps,
  .card-grid--3,
  .pricing-panel,
  .pricing__foot {
    grid-template-columns: 1fr;
  }

  .health-price-card {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .pricing-controls {
    flex-direction: column;
    align-items: stretch;
  }

  .product-tabs,
  .billing-toggle {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
  }

  .billing-toggle {
    grid-template-columns: 1fr 1fr;
  }

  .cta-band__inner {
    flex-direction: column;
    align-items: flex-start;
  }
}

@media (max-width: 640px) {
  .container {
    width: min(100% - 32px, var(--container));
  }

  .trust__grid,
  .card-grid--4,
  .platform__grid,
  .contact__direct,
  .form__row,
  .hero__proof {
    grid-template-columns: 1fr;
  }

  .feature__list {
    grid-template-columns: 1fr;
  }

  .feature {
    padding: 56px 0;
  }

  .footer__top {
    grid-template-columns: 1fr 1fr;
  }

  .whatsapp-float,
  .back-to-top {
    bottom: 16px;
    width: 44px;
    height: 44px;
  }

  .whatsapp-float {
    left: 14px;
  }

  .back-to-top {
    right: 14px;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
  }

  .reveal {
    opacity: 1;
    transform: none;
  }
}

.video-dialog__actions {
  display: flex;
  flex: none;
  align-items: center;
  gap: 1rem;
}

@media (max-width: 640px) {
  .video-dialog__actions {
    justify-content: space-between;
  }
}

/* --------------------------------------------------------------------------
   Conversion: trial buttons, trust line, business chooser, phone action bar
   -------------------------------------------------------------------------- */

/* Pages for products without a self-serve trial hide the trial buttons (set in the shell head). */
.no-trial [data-trial] {
  display: none !important;
}

.cta-note {
  margin-top: 0.85rem;
  color: var(--muted);
  font-size: 0.875rem;
  line-height: 1.55;
}

.cta-note a {
  color: var(--navy);
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.chooser {
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  background: #fff;
}

.chooser__inner {
  display: flex;
  align-items: center;
  gap: 1.25rem;
  padding: 1.1rem 0;
}

.chooser__title {
  flex: none;
  color: var(--navy);
  font-weight: 700;
}

.chooser__list {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.chooser__list a {
  display: inline-block;
  padding: 0.45rem 0.9rem;
  border: 1px solid var(--border-strong);
  border-radius: 999px;
  color: var(--navy);
  font-size: 0.875rem;
  font-weight: 600;
  white-space: nowrap;
  transition: border-color 0.15s ease, background 0.15s ease;
}

.chooser__list a:hover,
.chooser__list a:focus-visible {
  border-color: var(--orange);
  background: #fff7ee;
}

.price-card__alt {
  display: block;
  margin-top: 0.6rem;
  color: var(--muted);
  font-size: 0.8125rem;
  text-align: center;
}

a.price-card__alt {
  text-decoration: underline;
  text-underline-offset: 3px;
}

a.price-card__alt:hover {
  color: var(--navy);
}

.pricing-panel__note {
  grid-column: 1 / -1;
  margin-top: 0.5rem;
  color: var(--muted);
  font-size: 0.875rem;
  line-height: 1.6;
}

.pricing-panel__note a {
  color: var(--navy);
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.cta-bar {
  display: none;
}

@media (max-width: 1440px) {
  .nav__phone {
    display: none;
  }
}

@media (max-width: 900px) {
  .chooser__inner {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.6rem;
  }

  .chooser__list {
    flex-wrap: nowrap;
    max-width: 100%;
    overflow-x: auto;
    padding-bottom: 0.25rem;
    scrollbar-width: none;
  }
}

/* Phones: a bar pinned to the bottom with the two ways to start, replacing the floating WhatsApp button. */
@media (max-width: 720px) {
  .cta-bar {
    position: fixed;
    z-index: 950;
    left: 0;
    right: 0;
    bottom: 0;
    display: flex;
    gap: 0.5rem;
    padding: 0.6rem 0.75rem calc(0.6rem + env(safe-area-inset-bottom));
    border-top: 1px solid var(--border);
    background: rgba(255, 255, 255, 0.97);
    box-shadow: 0 -8px 24px rgba(15, 23, 42, 0.08);
  }

  .cta-bar__btn {
    display: inline-flex;
    flex: 1;
    align-items: center;
    justify-content: center;
    gap: 0.35rem;
    min-height: 44px;
    padding: 0 0.5rem;
    border: 1px solid var(--border-strong);
    border-radius: 6px;
    color: var(--navy);
    font-size: 0.875rem;
    font-weight: 700;
    white-space: nowrap;
  }

  .cta-bar__btn--primary {
    border-color: var(--orange);
    background: var(--orange);
    color: var(--navy);
  }

  .cta-bar__btn--wa {
    border-color: #1fab55;
    color: #138a42;
  }

  .cta-bar__btn .icon {
    width: 16px;
    height: 16px;
  }

  /* On pages with a trial, the bar keeps two buttons: start free and WhatsApp. */
  html:not(.no-trial) .cta-bar [data-demo] {
    display: none;
  }

  .whatsapp-float {
    display: none;
  }

  .back-to-top {
    bottom: 84px;
  }

  body {
    padding-bottom: 68px;
  }
}

/* Public demo shop: the shared Lefori Shopmaster login visitors can try */
.try-demo__inner {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: clamp(2rem, 5vw, 4rem);
  align-items: center;
}

.try-demo__copy h2 {
  margin-bottom: 1rem;
}

.try-demo__copy p + p {
  margin-top: 0.85rem;
}

.try-demo__note {
  color: var(--muted);
  font-size: 0.9rem;
}

.try-demo__card {
  display: grid;
  gap: 1rem;
  padding: 1.75rem;
  border: 2px solid var(--navy);
  border-radius: var(--radius-lg);
  background: #fff;
}

.try-demo__card-title {
  color: var(--navy);
  font-weight: 700;
}

.try-demo__list {
  display: grid;
  gap: 0.6rem;
  margin: 0 0 0.5rem;
  padding: 0;
  list-style: none;
}

.try-demo__list li {
  display: flex;
  gap: 0.6rem;
  align-items: flex-start;
  color: var(--text, #1e293b);
}

.try-demo__list .icon {
  flex: none;
  width: 18px;
  height: 18px;
  margin-top: 0.15rem;
  color: var(--orange);
}

.try-demo__own {
  color: var(--navy);
  font-size: 0.875rem;
  font-weight: 600;
  text-align: center;
  text-decoration: underline;
  text-underline-offset: 3px;
}

@media (max-width: 900px) {
  .try-demo__inner {
    grid-template-columns: 1fr;
  }
}

/* Homepage hero: the silent app loop fades in over the still (js/modules/hero-loop.js) */
.hero__screen {
  position: relative;
  background: #0f172a;
}

.hero__screen img {
  display: block;
}

.hero__loop {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  transition: opacity 0.6s ease;
}

.hero__loop.is-playing {
  opacity: 1;
}
