:root {
  --brand-300: #6da5bc;
  --brand-700: #33566b;
  --ink: #2c3f4d;
  --text: #475057;
  --muted: #7b7b7b;
  --blue-50: #eff8ff;
  --blue-700: #175cd3;
  --surface: #f6f6f6;
  --surface-alt: #efefef;
  --white: #fff;
  --focus: #0b65c2;
  --shadow-xs: 0 1px 2px rgb(16 24 40 / 5%);
  --shadow-card: 0 1px 3px rgb(0 0 0 / 12%);
  --radius-sm: 8px;
  --radius-md: 16px;
  --radius-lg: 20px;
  --radius-xl: 34px;
  --radius-pill: 999px;
  --shell: 1616px;
  --gutter: 16px;
  --section-space: 40px;
  --header-h: 73px;
  --font-sans: Arimo, Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

picture {
  display: block;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 16px);
  overflow-x: clip;
  /* Pair with overflow-x: clip so overflow-y does not stay "visible"
     (which can clip tall pages without a scroll container in some engines). */
  overflow-y: auto;
}

body {
  margin: 0;
  min-width: 320px;
  /* Use clip (not hidden): overflow-x:hidden on body breaks position:sticky
     descendants in Chromium/WebKit. Keep clip even with a fixed header. */
  overflow-x: clip;
  /* Reserve space for the fixed header so Hero/content are not covered. */
  padding-top: var(--header-h);
  background: var(--surface);
  color: var(--ink);
  font-family: var(--font-sans);
  line-height: 1.5;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}

body.menu-open {
  overflow: hidden;
}

img {
  display: block;
  max-width: 100%;
}

a {
  color: inherit;
  text-decoration: none;
}

button,
summary {
  font: inherit;
}

button,
a,
summary {
  -webkit-tap-highlight-color: transparent;
}

:focus-visible {
  outline: 3px solid var(--focus);
  outline-offset: 3px;
}

.shell {
  width: min(100% - (2 * var(--gutter)), var(--shell));
  margin-inline: auto;
}

.skip-link {
  position: fixed;
  z-index: 1000;
  top: 12px;
  left: 12px;
  padding: 10px 16px;
  border-radius: var(--radius-sm);
  background: var(--ink);
  color: var(--white);
  transform: translateY(-150%);
}

.skip-link:focus {
  transform: translateY(0);
}

.visually-hidden {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  padding: 0 !important;
  margin: -1px !important;
  overflow: hidden !important;
  clip: rect(0, 0, 0, 0) !important;
  white-space: nowrap !important;
  border: 0 !important;
}

.button {
  display: inline-flex;
  min-height: 48px;
  align-items: center;
  justify-content: center;
  padding: 11px 22px;
  border: 1px solid transparent;
  border-radius: var(--radius-pill);
  font-size: 1rem;
  font-weight: 400;
  line-height: 1.5;
  text-align: center;
  transition:
    background-color 180ms ease,
    border-color 180ms ease,
    box-shadow 180ms ease,
    color 180ms ease,
    transform 180ms ease;
}

.button--primary {
  background: var(--brand-300);
  color: var(--white);
  box-shadow: var(--shadow-xs);
}

.button--outline {
  border-color: var(--ink);
  background: transparent;
  color: #0a0a0a;
}

.button--white {
  background: var(--white);
  color: var(--ink);
}

.button:hover {
  transform: translateY(-1px);
}

.button--primary:hover {
  background: #5b94ad;
  box-shadow: 0 6px 18px rgb(109 165 188 / 30%);
}

.button--outline:hover {
  background: var(--ink);
  color: var(--white);
}

.eyebrow {
  display: inline-flex;
  min-height: 28px;
  align-items: center;
  justify-content: center;
  padding: 4px 12px;
  border-radius: var(--radius-pill);
  background: var(--blue-50);
  color: var(--blue-700);
  font-size: 0.875rem;
  font-weight: 400;
  line-height: 1.25rem;
}

/* Header */
.site-header {
  position: fixed;
  top: 0;
  right: 0;
  left: 0;
  z-index: 100;
  width: 100%;
  background: rgb(246 246 246 / 96%);
  border-bottom: 1px solid rgb(44 63 77 / 8%);
  backdrop-filter: blur(12px);
  transition:
    background-color 180ms ease,
    border-color 180ms ease,
    box-shadow 180ms ease;
}

[data-header-scroll-sentinel] {
  display: block;
  width: 100%;
  height: 1px;
  margin: 0;
  padding: 0;
  overflow: hidden;
  pointer-events: none;
  visibility: hidden;
}

.site-header.is-scrolled {
  background: rgb(246 246 246 / 98%);
  border-bottom-color: rgb(44 63 77 / 12%);
  box-shadow: 0 1px 0 rgb(44 63 77 / 5%), 0 10px 28px rgb(44 63 77 / 6%);
}

.site-header__inner {
  display: flex;
  min-height: 72px;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.brand {
  display: flex;
  width: 96px;
  height: 44px;
  align-items: center;
}

.brand img {
  width: 100%;
  height: auto;
}

.menu-toggle {
  position: relative;
  z-index: 102;
  display: grid;
  width: 48px;
  height: 48px;
  place-content: center;
  gap: 5px;
  padding: 0;
  border: 1px solid rgb(44 63 77 / 25%);
  border-radius: 50%;
  background: var(--white);
  color: var(--ink);
  cursor: pointer;
}

.menu-toggle span {
  display: block;
  width: 20px;
  height: 2px;
  border-radius: 2px;
  background: currentColor;
  transition: transform 180ms ease, opacity 180ms ease;
}

.menu-toggle[aria-expanded="true"] span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.menu-toggle[aria-expanded="true"] span:nth-child(2) {
  opacity: 0;
}

.menu-toggle[aria-expanded="true"] span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

.main-nav {
  position: fixed;
  z-index: 101;
  inset: 0;
  height: 100vh;
  height: 100dvh;
  display: none;
  visibility: hidden;
  flex-direction: column;
  align-items: stretch;
  gap: 2px;
  overflow-y: auto;
  padding: 96px 24px 32px;
  background: var(--surface);
  opacity: 0;
  transform: translateX(100%);
  transition:
    opacity 180ms ease,
    transform 220ms ease,
    visibility 220ms;
}

.main-nav.is-open {
  display: flex;
  visibility: visible;
  opacity: 1;
  transform: translateX(0);
}

.main-nav > a {
  padding: 12px 4px;
  border-bottom: 1px solid rgb(44 63 77 / 12%);
  color: var(--text);
  font-size: 1.125rem;
}

.main-nav > a.is-active {
  color: var(--brand-300);
  font-weight: 600;
}

.main-nav__mobile-actions {
  display: grid;
  gap: 12px;
  margin-top: 24px;
}

.site-header__actions {
  display: none;
}

/* Mega menu / nav groups (mobile-first: accordion drawer) */
.main-nav__groups {
  display: flex;
  flex-direction: column;
}

.nav-item {
  display: flex;
  flex-direction: column;
}

.nav-item__trigger,
.nav-link {
  display: flex;
  width: 100%;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  padding: 12px 4px;
  border: 0;
  border-bottom: 1px solid rgb(44 63 77 / 12%);
  background: transparent;
  color: var(--text);
  font-family: inherit;
  font-size: 1.125rem;
  text-align: left;
  cursor: pointer;
}

.nav-link {
  display: block;
}

.nav-item__chevron {
  width: 10px;
  height: 7px;
  flex-shrink: 0;
  transition: transform 200ms ease;
}

.nav-item.is-open .nav-item__chevron {
  transform: rotate(180deg);
}

.mega-menu {
  display: none;
  padding: 4px 4px 12px;
}

.nav-item.is-open .mega-menu {
  display: block;
}

.mega-menu__header {
  display: none;
}

.mega-menu__grid {
  display: grid;
  gap: 4px;
}

.mega-menu__item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 10px 12px;
  border-radius: var(--radius-sm);
  color: inherit;
  transition: background-color 180ms ease, transform 180ms ease;
}

.mega-menu__item-icon {
  display: inline-flex;
  flex: 0 0 30px;
  align-items: center;
  justify-content: center;
  width: 30px;
  height: 30px;
  border-radius: 9px;
  background: rgb(109 165 188 / 10%);
  color: var(--ink);
  transition: background-color 180ms ease, color 180ms ease;
}

.mega-menu__item-icon svg {
  display: block;
  width: 17px;
  height: 17px;
}

.mega-menu__item-body {
  display: flex;
  min-width: 0;
  flex: 1 1 auto;
  flex-direction: column;
  gap: 2px;
}

.mega-menu__item:hover,
.mega-menu__item:focus-visible {
  background: rgb(44 63 77 / 5%);
}

.mega-menu__item:hover .mega-menu__item-icon,
.mega-menu__item:focus-visible .mega-menu__item-icon {
  background: rgb(109 165 188 / 20%);
  color: var(--brand-700);
}

.mega-menu__item:hover .mega-menu__item-title,
.mega-menu__item:focus-visible .mega-menu__item-title {
  color: var(--brand-700);
}

.mega-menu__item-title {
  color: var(--ink);
  font-size: 0.9375rem;
  font-weight: 600;
  transition: color 180ms ease;
}

.mega-menu__item-desc {
  color: var(--muted);
  font-size: 0.8125rem;
  line-height: 1.45;
}

.mega-menu__footer {
  margin-top: 4px;
  padding: 10px 12px 0;
}

.mega-menu__cta {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--brand-700);
  font-size: 0.9375rem;
  font-weight: 600;
}

.mega-menu__cta:hover,
.mega-menu__cta:focus-visible {
  color: var(--brand-300);
}

.mega-menu-backdrop {
  display: none;
}

@media (prefers-reduced-motion: reduce) {
  .mega-menu,
  .nav-item.is-open .mega-menu,
  .mega-menu-backdrop {
    transition-duration: 0.01ms !important;
    transition-delay: 0ms !important;
  }
}

/* Hero */
.hero {
  overflow: clip;
  padding-block: 32px 48px;
  background: var(--surface);
}

.hero__inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 24px;
  text-align: center;
}

.hero__copy {
  display: grid;
  gap: 24px;
}

.hero h1 {
  max-width: 28ch;
  margin: 0 auto;
  color: var(--ink);
  font-size: clamp(1.75rem, 4.2vw, 3.25rem);
  font-weight: 400;
  letter-spacing: -0.02em;
  line-height: 1.18;
}

.hero h1 strong {
  font-weight: 700;
}

.hero__copy p {
  max-width: 62ch;
  margin: 0 auto;
  color: var(--muted);
  font-size: clamp(1rem, 1.6vw, 1.25rem);
  line-height: 1.5;
}

.hero-stage {
  position: relative;
  width: 100%;
  max-width: 1503px;
}

.hero__actions {
  position: relative;
  z-index: 5;
  display: grid;
  width: min(100%, 261px);
  gap: 16px;
  margin: 0 auto 16px;
}

.hero-art {
  position: relative;
  width: 100%;
  aspect-ratio: 344 / 300;
  margin: 0;
}

.hero-art__card {
  position: absolute;
  inset: 0;
  overflow: hidden;
  border-radius: 10px;
  background: #111;
}

.hero-art__background,
.hero-art__shade,
.hero-tablet,
.hero-coverflow,
.hero-art__assistant,
.hero-art__doctor {
  position: absolute;
}

.hero-art__background {
  z-index: 0;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.hero-art__shade {
  z-index: 1;
  inset: 0;
  background: rgb(0 0 0 / 22%);
}

.hero-tablet {
  z-index: 3;
  inset: 0;
  display: grid;
  place-items: center;
  pointer-events: none;
  opacity: 0;
  visibility: hidden;
  transition:
    opacity 0.45s ease,
    visibility 0.45s ease,
    transform 0.85s cubic-bezier(0.22, 1, 0.36, 1);
}

.hero-art.is-intro .hero-tablet,
.hero-art.is-jumping .hero-tablet {
  opacity: 1;
  visibility: visible;
}

.hero-tablet__hold {
  position: relative;
  width: min(86%, 520px);
  transform: rotateX(8deg) rotateY(-8deg) rotateZ(-2deg);
  transform-style: preserve-3d;
  filter: drop-shadow(0 28px 48px rgb(0 0 0 / 48%));
  transition: transform 0.85s cubic-bezier(0.22, 1, 0.36, 1), opacity 0.55s ease;
  animation: hero-tablet-hold 3.6s ease-in-out infinite;
}

@keyframes hero-tablet-hold {
  0%,
  100% {
    transform: rotateX(8deg) rotateY(-8deg) rotateZ(-2deg) translateY(0);
  }

  50% {
    transform: rotateX(8deg) rotateY(-8deg) rotateZ(-2deg) translateY(-6px);
  }
}

.hero-tablet__device {
  position: relative;
  width: 100%;
  aspect-ratio: 3 / 2;
  border-radius: 22px;
  background:
    linear-gradient(145deg, #2a2d33 0%, #121418 48%, #0a0b0d 100%);
  padding: 2.4%;
  box-shadow:
    inset 0 1px 0 rgb(255 255 255 / 18%),
    inset 0 -1px 0 rgb(0 0 0 / 55%),
    0 10px 24px rgb(0 0 0 / 35%);
}

.hero-tablet__bezel {
  position: relative;
  width: 100%;
  height: 100%;
  overflow: hidden;
  border-radius: 14px;
  background: #050505;
}

.hero-tablet__camera {
  position: absolute;
  z-index: 2;
  top: 7px;
  left: 50%;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: radial-gradient(circle at 35% 35%, #5a6270, #111 70%);
  transform: translateX(-50%);
  box-shadow: 0 0 0 2px #0d0e10;
}

.hero-tablet__screen {
  position: absolute;
  inset: 0;
  overflow: hidden;
  background: #fff;
  transform-origin: center center;
  transition:
    transform 0.85s cubic-bezier(0.16, 1, 0.3, 1),
    opacity 0.45s ease,
    border-radius 0.55s ease,
    box-shadow 0.55s ease;
}

.hero-tablet__screen img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center;
  background: #fff;
}

.hero-art.is-jumping .hero-tablet__hold {
  animation: none;
  transform: rotateX(0deg) rotateY(0deg) rotateZ(0deg) scale(1.08);
  opacity: 0;
}

.hero-art.is-jumping .hero-tablet__screen {
  transform: scale(1.28) translateY(-6%);
  border-radius: 14px;
  box-shadow:
    0 28px 60px rgb(0 0 0 / 42%),
    0 4px 14px rgb(0 0 0 / 22%);
  opacity: 0;
}

.hero-art.is-playing .hero-tablet {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

.hero-coverflow {
  z-index: 4;
  inset: 4% 2% 8%;
  display: grid;
  align-content: center;
  justify-items: center;
  gap: 14px;
  perspective: 1600px;
  pointer-events: none;
  opacity: 0;
  visibility: hidden;
  transform: scale(0.92);
  transition:
    opacity 0.55s ease,
    visibility 0.55s ease,
    transform 0.85s cubic-bezier(0.22, 1, 0.36, 1);
}

.hero-art.is-jumping .hero-coverflow,
.hero-art.is-playing .hero-coverflow {
  opacity: 1;
  visibility: visible;
  transform: scale(1);
  pointer-events: none;
}

.hero-art.is-playing .hero-coverflow {
  pointer-events: none;
}

.hero-art.is-playing .hero-coverflow__stage,
.hero-art.is-playing .hero-coverflow__dots {
  pointer-events: auto;
}

.hero-art.is-intro .hero-coverflow {
  opacity: 0;
  visibility: hidden;
  transform: scale(0.86) translateY(8%);
}

.hero-art.is-jumping .hero-coverflow {
  transition-delay: 0.12s;
}

.hero-coverflow__stage {
  position: relative;
  width: min(100%, 560px);
  aspect-ratio: 3 / 2;
  transform-style: preserve-3d;
  pointer-events: auto;
  cursor: pointer;
}

.hero-coverflow__slide {
  position: absolute;
  inset: 0;
  overflow: hidden;
  border-radius: 14px;
  background: #fff;
  box-shadow:
    0 18px 44px rgb(0 0 0 / 35%),
    0 2px 8px rgb(0 0 0 / 18%);
  transform-origin: center center;
  transform: translate3d(0, 8%, 0) scale(0.72);
  opacity: 0;
  transition:
    transform 0.95s cubic-bezier(0.22, 1, 0.36, 1),
    opacity 0.6s ease,
    box-shadow 0.6s ease;
  will-change: transform, opacity;
  backface-visibility: hidden;
  -webkit-backface-visibility: hidden;
}

.hero-coverflow__slide img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center center;
  background: #fff;
  transform: translateZ(0);
  backface-visibility: hidden;
  -webkit-backface-visibility: hidden;
  image-rendering: auto;
}

.hero-coverflow.is-paused .hero-coverflow__stage::after {
  content: "";
  position: absolute;
  z-index: 8;
  right: 12px;
  bottom: 12px;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--brand-300);
  box-shadow: 0 0 0 4px rgb(109 165 188 / 28%);
  pointer-events: none;
}

.hero-coverflow__slide[data-pos="-2"] {
  opacity: 0.5;
  transform: translate3d(-48%, 8%, -140px) rotateY(24deg) scale(0.74);
  z-index: 1;
}

.hero-coverflow__slide[data-pos="-1"] {
  opacity: 0.82;
  transform: translate3d(-28%, 3%, -60px) rotateY(12deg) scale(0.88);
  z-index: 2;
}

.hero-coverflow__slide[data-pos="0"],
.hero-coverflow__slide.is-active {
  opacity: 1;
  transform: translate3d(0, 0, 48px) rotateY(0deg) scale(1);
  z-index: 5;
  box-shadow:
    0 28px 60px rgb(0 0 0 / 42%),
    0 4px 14px rgb(0 0 0 / 22%);
}

.hero-coverflow__slide[data-pos="1"] {
  opacity: 0.82;
  transform: translate3d(28%, 3%, -60px) rotateY(-12deg) scale(0.88);
  z-index: 2;
}

.hero-coverflow__slide[data-pos="2"] {
  opacity: 0.5;
  transform: translate3d(48%, 8%, -140px) rotateY(-24deg) scale(0.74);
  z-index: 1;
}

.hero-coverflow__dots {
  position: relative;
  z-index: 6;
  display: flex;
  gap: 8px;
  pointer-events: auto;
}

.hero-coverflow__dots button {
  width: 8px;
  height: 8px;
  padding: 0;
  border: 0;
  border-radius: 999px;
  background: rgb(255 255 255 / 45%);
  cursor: pointer;
  transition: width 0.3s ease, background 0.3s ease;
}

.hero-coverflow__dots button.is-active {
  width: 22px;
  background: var(--brand-300);
}

.hero-art__assistant,
.hero-art__doctor {
  display: none;
  /* Above .hero-coverflow (z-index 4) so cutouts are not covered by UI slides. */
  z-index: 6;
  width: auto;
  max-width: 48%;
  height: 120%;
  pointer-events: none;
  filter: drop-shadow(0 14px 28px rgb(0 0 0 / 30%));
}

@media (prefers-reduced-motion: reduce) {
  .hero-coverflow__slide,
  .hero-art__assistant,
  .hero-art__doctor,
  .hero-tablet,
  .hero-tablet__hold,
  .hero-tablet__screen,
  .hero-coverflow {
    transition: none;
    animation: none;
  }

  .hero-art.is-intro .hero-tablet,
  .hero-art.is-jumping .hero-tablet {
    opacity: 0;
    visibility: hidden;
  }

  .hero-art.is-intro .hero-coverflow,
  .hero-art.is-jumping .hero-coverflow,
  .hero-art.is-playing .hero-coverflow {
    opacity: 1;
    visibility: visible;
    transform: none;
  }
}

@keyframes hero-float-left {
  0%,
  100% {
    transform: translateY(0);
  }

  50% {
    transform: translateY(-10px);
  }
}

@keyframes hero-float-right {
  0%,
  100% {
    transform: translateY(0);
  }

  50% {
    transform: translateY(-12px);
  }
}

.hero-art__assistant img,
.hero-art__doctor img {
  width: auto;
  height: 100%;
  max-width: none;
  object-fit: contain;
  object-position: bottom center;
}

/* Feature sections */
.feature-section {
  padding-block: var(--section-space);
}

.feature-section--white {
  background: var(--white);
}

.feature-section--gray {
  background: var(--surface-alt);
}

.feature-section--dark {
  background: #000;
}

.feature-section--dark .feature__copy h2 {
  color: #f3f6f8;
}

.feature-section--dark .feature__copy > p {
  color: #d5dde3;
}

.feature-section--dark .eyebrow {
  background: var(--white);
  color: var(--blue-700);
}

.feature-section--dark .button--outline {
  border-color: #c5ced4;
  color: #e8eef2;
}

.feature-section--dark .button--outline:hover {
  background: var(--white);
  border-color: var(--white);
  color: var(--ink);
}

.feature {
  display: grid;
  min-width: 0;
  gap: 32px;
}

.feature__copy {
  display: flex;
  min-width: 0;
  flex-direction: column;
  align-items: flex-start;
  gap: 16px;
}

.feature__copy h2,
.benefits__intro h2 {
  margin: 0;
  color: var(--ink);
  font-size: clamp(1.5rem, 3.2vw, 2.5rem);
  font-weight: 400;
  letter-spacing: -0.02em;
  line-height: 1.2;
}

.feature__copy h2 strong,
.benefits__intro h2 strong {
  font-weight: 700;
}

.feature__copy > p,
.benefits__intro > p {
  margin: 0;
  color: var(--muted);
  font-size: clamp(1rem, 1.35vw, 1.125rem);
  line-height: 1.6;
}

.feature__copy .button {
  width: fit-content;
  max-width: 100%;
  margin-top: 2px;
  padding-inline: 20px;
  white-space: normal;
}

.feature__visual,
.feature__visual picture {
  position: relative;
  width: 100%;
  margin: 0;
}

.feature__visual {
  aspect-ratio: 344 / 300;
  overflow: hidden;
  border-radius: var(--radius-md);
  background: #d4d4d4;
}

.feature__visual picture {
  display: block;
  height: 100%;
}

.feature__visual img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.feature__visual--iam {
  border-radius: var(--radius-md);
  aspect-ratio: 3 / 2;
  background: #fff;
  overflow: hidden;
}

.feature__visual--iam img,
.feature__visual--iam picture {
  height: 100%;
}

.feature__visual--iam img {
  object-fit: contain;
  object-position: center;
}

.feature__visual--wide {
  aspect-ratio: 3 / 2;
  border-radius: var(--radius-md);
  background: #fff;
}

.feature__visual--wide img {
  object-fit: contain;
  object-position: center;
}

.feature__visual--prompts {
  aspect-ratio: 3 / 2;
  border-radius: var(--radius-md);
  background: #fff;
}

.feature__visual--prompts img {
  object-fit: contain;
  object-position: center;
}

.feature__visual--appointments {
  aspect-ratio: 777 / 504;
  border-radius: var(--radius-sm);
  background: #dbe9f0;
}

.feature__visual--appointments img {
  object-fit: cover;
  object-position: center;
}

.feature__visual--contain img {
  object-fit: contain;
}

.feature__visual--copilot {
  aspect-ratio: 2048 / 1314;
  border-radius: var(--radius-md);
  background: #fff;
  overflow: hidden;
}

.feature__visual--copilot img {
  object-fit: contain;
  object-position: center;
}

.feature__visual--enterprise {
  aspect-ratio: 3 / 2;
  overflow: hidden;
  background: #fff;
}

.feature__visual--enterprise img {
  object-fit: contain;
  object-position: center;
}

@media (max-width: 767px) {
  :root {
    --section-space: 28px;
  }

  .feature {
    gap: 20px;
  }

  .feature-section {
    padding-block: 28px;
    scroll-margin-top: 12px;
  }

  .faq {
    padding-block: 24px 20px;
  }

  .feature__visual--enterprise {
    width: 100%;
    max-width: 100%;
    aspect-ratio: 3 / 2;
    overflow: hidden;
  }

  .feature__visual--enterprise img {
    object-fit: contain;
    object-position: center;
    transform: none;
  }
}

/* Benefits */
.benefits {
  padding-block: var(--section-space);
  background: var(--surface-alt);
}

.benefits__inner {
  display: grid;
  gap: 32px;
}

.benefits__intro {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 24px;
  text-align: center;
}

.benefits__intro h2 {
  max-width: 28ch;
}

.benefits__intro > p {
  max-width: 52ch;
}

.benefits__grid {
  display: grid;
  gap: 24px;
  margin-inline: auto;
  justify-content: center;
}

.benefit-card {
  display: grid;
  grid-template-rows: auto auto auto;
  align-items: start;
  justify-items: center;
  gap: 12px;
  padding: 24px;
  border-radius: var(--radius-md);
  background: var(--white);
  text-align: center;
}

.benefit-card > img {
  width: 64px;
  height: 64px;
  object-fit: contain;
  align-self: center;
}

.benefit-card h3 {
  margin: 0;
  color: var(--ink);
  font-size: clamp(1.125rem, 2vw, 1.25rem);
  line-height: 1.35;
}

.benefit-card p {
  margin: 0;
  color: var(--ink);
  font-size: 0.9375rem;
  line-height: 1.55;
}

/* FAQ */
.faq {
  padding-block: 28px;
  background: var(--white);
}

.faq__inner {
  display: grid;
  gap: 16px;
}

.faq h2 {
  margin: 0;
  color: var(--ink);
  font-family: Inter, var(--font-sans);
  font-size: clamp(1.5rem, 3vw, 2.25rem);
  line-height: 1.2;
  text-align: center;
}

.faq__accordion {
  display: grid;
  gap: 8px;
  width: 100%;
  margin-inline: 0;
}

.faq__item {
  border-radius: 10px;
  background: var(--white);
  box-shadow: var(--shadow-card);
  overflow: clip;
}

.faq__item summary {
  display: flex;
  min-height: 48px;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 12px 16px;
  color: var(--ink);
  font-weight: 600;
  cursor: pointer;
  list-style: none;
  transition: background-color 160ms ease;
}

.faq__item summary:hover {
  background: color-mix(in srgb, var(--ink) 4%, transparent);
}

.faq__item summary::-webkit-details-marker {
  display: none;
}

.faq__item summary::after {
  content: "";
  flex: 0 0 auto;
  width: 0.55em;
  height: 0.55em;
  border-right: 2px solid currentColor;
  border-bottom: 2px solid currentColor;
  transform: rotate(45deg);
  transition: transform 180ms ease;
}

.faq__item[open] summary::after {
  transform: translateY(0.15em) rotate(225deg);
}

.faq__content {
  display: grid;
  gap: 10px;
  padding: 0 16px 16px;
  color: var(--muted);
  font-size: 0.875rem;
  line-height: 1.5;
}

.faq__content > :first-child {
  margin-top: 0;
}

.faq__content p,
.faq__content ul {
  margin: 0;
}

.faq__content ul {
  display: grid;
  gap: 6px;
  padding-left: 1.2em;
}

.faq__content li::marker {
  color: var(--ink);
}

/* Final CTA */
.final-cta {
  position: relative;
  display: grid;
  min-height: 400px;
  place-items: stretch;
  overflow: hidden;
  isolation: isolate;
  background: #fff;
}

.final-cta > img {
  position: absolute;
  z-index: 0;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 30%;
}

.final-cta__stage {
  position: relative;
  z-index: 1;
  display: grid;
  min-height: 400px;
  align-content: end;
  justify-items: center;
  padding: 32px var(--gutter) 56px;
}

.final-cta__reveal {
  display: grid;
  width: min(100%, 920px);
  justify-items: center;
  gap: 24px;
}

.final-cta__overlay {
  display: grid;
  width: 100%;
  place-items: center;
  padding: 28px 24px;
  border-radius: 16px;
  background: rgb(109 165 188 / 82%);
  color: var(--white);
  text-align: center;
}

.final-cta__overlay h2,
.final-cta__overlay p {
  max-width: 42ch;
  margin: 0;
  font-family: Inter, var(--font-sans);
  line-height: 1.45;
  text-align: center;
}

.final-cta__overlay h2 {
  font-size: clamp(1.25rem, 2.4vw, 1.6rem);
  font-weight: 600;
  color: var(--white);
}

.final-cta__overlay p {
  margin-top: 12px;
  font-size: clamp(1rem, 1.8vw, 1.2rem);
  color: rgb(255 255 255 / 92%);
}

/* Only one message is shown at a time. On touch/mobile there is no hover to
   switch between them, so the secondary (enterprise) message stays hidden
   and the primary one is always the one displayed statically. */
.final-cta__overlay--secondary {
  display: none;
}

.final-cta__actions {
  position: relative;
  z-index: 2;
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: center;
  width: 100%;
}

.final-cta__button {
  position: relative;
  z-index: 2;
}

.button--on-dark {
  border-color: var(--white);
  color: var(--white);
}

.button--on-dark:hover {
  background: var(--white);
  color: var(--ink);
}

@media (max-width: 767px) {
  .final-cta,
  .final-cta__stage {
    min-height: 520px;
  }

  .final-cta__stage {
    padding: 24px max(16px, var(--gutter)) 28px;
    align-content: end;
    background: linear-gradient(
      180deg,
      rgb(16 24 40 / 6%) 0%,
      rgb(16 24 40 / 24%) 48%,
      rgb(16 24 40 / 46%) 100%
    );
  }

  .final-cta__reveal {
    width: 100%;
    gap: 16px;
  }

  .final-cta__overlay {
    padding: 22px 18px;
    border-radius: 14px;
  }

  .final-cta__overlay h2 {
    font-size: 1.2rem;
    line-height: 1.3;
  }

  .final-cta__overlay p {
    margin-top: 10px;
    font-size: 0.9375rem;
    line-height: 1.5;
  }

  .final-cta__actions {
    flex-direction: column;
    align-items: stretch;
    gap: 10px;
  }

  .final-cta__actions .button {
    width: 100%;
  }
}

@media (min-width: 768px) {
  .final-cta,
  .final-cta__stage {
    min-height: 520px;
  }

  .final-cta__stage {
    padding-bottom: 64px;
  }

  .final-cta__actions {
    padding-bottom: 2px;
  }
}

@media (min-width: 768px) and (hover: hover) and (pointer: fine) {
  .final-cta {
    aspect-ratio: 2048 / 1056;
    min-height: 0;
    width: 100%;
  }

  .final-cta__stage {
    min-height: 0;
    height: 100%;
    padding-bottom: clamp(64px, 5.5vw, 88px);
  }

  .final-cta__reveal {
    position: relative;
    width: 100%;
    max-width: none;
    gap: 0;
  }

  .final-cta__overlay {
    position: absolute;
    inset: auto 0 0;
    width: auto;
    min-height: 240px;
    padding: 40px var(--gutter) clamp(120px, 10vw, 148px);
    border-radius: 0;
    opacity: 0;
    transform: translateY(18px);
    pointer-events: none;
    transition:
      opacity 320ms ease,
      transform 320ms ease;
  }

  /* Both messages are stacked in the same spot; only the one matching the
     hovered/focused button (.is-active, set by script.js) becomes visible. */
  .final-cta__overlay--secondary {
    display: grid;
  }

  .final-cta__reveal.is-open .final-cta__overlay.is-active,
  .final-cta__reveal:focus-within .final-cta__overlay.is-active {
    opacity: 1;
    transform: translateY(0);
    pointer-events: auto;
  }
}

/* Footer */
.site-footer {
  padding-block: 56px 32px;
  background: var(--white);
  color: var(--text);
  font-family: Inter, var(--font-sans);
  font-size: 0.9375rem;
  line-height: 1.5;
}

.site-footer__top {
  display: grid;
  gap: 40px;
}

.site-footer__about {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 4px;
  align-content: start;
  align-self: start;
  justify-items: stretch;
  max-width: 540px;
}

.site-footer h2 {
  margin: 0;
  color: var(--text);
  font-family: inherit;
  font-size: 1rem;
  font-weight: 600;
  line-height: inherit;
}

.site-footer__about p {
  max-width: none;
  margin: 0;
  color: var(--text);
  font-family: inherit;
  font-size: inherit;
  font-weight: 400;
  line-height: 1.6;
}

/* Segurança e Privacidade — discreet, text-first compliance mention (no badges/seals) */
.site-footer__security {
  display: grid;
  gap: 6px;
  margin-top: 24px;
  padding-top: 20px;
  border-top: 1px solid rgb(44 63 77 / 10%);
}

.site-footer__security-title {
  display: flex;
  align-items: center;
  gap: 7px;
  margin: 0;
  color: var(--ink);
  font-size: 0.875rem;
  font-weight: 600;
}

.site-footer__security-icon {
  width: 15px;
  height: 15px;
  flex-shrink: 0;
  color: var(--brand-700);
}

.site-footer__compliance-list {
  margin: 0;
  color: var(--text);
  font-size: 0.8125rem;
  letter-spacing: 0.01em;
}

.site-footer__security-note {
  max-width: 46ch;
  margin: 2px 0 0;
  color: var(--text);
  font-size: 0.75rem;
  line-height: 1.55;
}

.site-footer__about-link {
  justify-self: start;
  margin-top: 20px;
  color: var(--brand-700);
  font-size: 0.875rem;
  font-weight: 500;
  transition: color 180ms ease;
}

.site-footer__about-link:hover {
  color: var(--ink);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.site-footer__nav {
  display: grid;
  gap: 32px;
}

.site-footer__nav > div {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 12px;
}

.site-footer__nav h2 {
  margin-bottom: 4px;
}

.site-footer__nav a,
.site-footer__nav .footer-link-button {
  color: var(--brand-700);
  font-family: inherit;
  font-size: inherit;
  font-weight: 400;
  line-height: inherit;
  transition: color 180ms ease;
}

.site-footer__nav a:hover,
.site-footer__nav .footer-link-button:hover {
  color: var(--ink);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.site-footer__bottom {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
  margin-top: 40px;
  padding-top: 24px;
  border-top: 1px solid rgb(44 63 77 / 12%);
  text-align: center;
}

/* Compact footer on subpages that only ship the bottom bar (no link columns). */
.site-footer:has(> .site-footer__bottom:only-child) {
  padding-block: 24px;
}

.site-footer:has(> .site-footer__bottom:only-child) .site-footer__bottom {
  margin-top: 0;
  padding-top: 0;
  border-top: none;
}

.social-links {
  display: flex;
  align-items: center;
  gap: 4px;
  margin-inline: -8px;
}

.social-links a {
  display: grid;
  width: 40px;
  height: 40px;
  border-radius: var(--radius-pill);
  place-items: center;
  transition: background-color 180ms ease;
}

.social-links a:hover {
  background: rgb(44 63 77 / 6%);
}

.social-links img {
  width: 20px;
  height: 20px;
}

.site-footer__bottom p,
.site-footer__copyright {
  margin: 0;
  color: var(--text);
  font-family: inherit;
  font-size: 0.875rem;
  font-weight: 400;
  line-height: inherit;
}

/* Mobile 480–767 */
@media (min-width: 480px) and (max-width: 767px) {
  :root {
    --gutter: 24px;
    --section-space: 32px;
  }

  .feature-section {
    padding-block: 32px;
  }

  .hero__actions {
    display: flex;
    width: auto;
    flex-wrap: wrap;
    justify-content: center;
  }

  .hero-art {
    aspect-ratio: 4 / 3;
    overflow: hidden;
    border-radius: 16px;
  }

  .hero-coverflow {
    inset: 5% 3% 12%;
    z-index: 2;
  }

  .hero-coverflow__stage {
    width: min(100%, 96%);
    max-width: 520px;
    aspect-ratio: 3 / 2;
  }

  .hero__actions {
    position: relative;
    z-index: 5;
    margin: 0 auto 8px;
  }

  .hero-stage {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
  }

  .feature__copy {
    gap: 20px;
  }

  .benefits__grid {
    width: min(100%, 540px);
    margin-inline: auto;
  }

  .site-footer__nav {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

/* Mobile 480+ shared layout pieces also used on tablet via cascade */
@media (min-width: 480px) {
  .hero__actions {
    display: flex;
    width: auto;
    flex-wrap: wrap;
    justify-content: center;
  }

  .hero-art {
    aspect-ratio: 4 / 3;
    overflow: hidden;
    border-radius: 16px;
  }

  .hero-coverflow {
    inset: 5% 3% 12%;
    z-index: 2;
  }

  .hero-coverflow__stage {
    width: min(100%, 96%);
    max-width: 520px;
    aspect-ratio: 3 / 2;
  }

  .hero__actions {
    position: relative;
    z-index: 5;
    margin: 0 auto 8px;
  }

  .hero-stage {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
  }

  .feature__copy {
    gap: 20px;
  }

  .benefits__grid {
    width: min(100%, 540px);
    margin-inline: auto;
  }

  .site-footer__nav {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

/* Tablet 768–1023 */
@media (min-width: 768px) {
  :root {
    --gutter: 40px;
    --section-space: 56px;
    --header-h: 89px;
  }

  .site-header__inner {
    min-height: 88px;
  }

  .brand {
    width: 112px;
    height: 52px;
  }

  .hero {
    overflow: visible;
    padding-block: 48px 112px;
  }

  .hero__inner {
    gap: 32px;
  }

  .hero h1 {
    max-width: 32ch;
  }

  .hero__copy p {
    line-height: 1.45;
  }

  .hero__actions {
    position: relative;
    top: auto;
    bottom: auto;
    left: auto;
    z-index: 5;
    display: flex;
    width: max-content;
    max-width: calc(100% - 32px);
    flex-wrap: wrap;
    justify-content: center;
    gap: 16px;
    margin: 0 auto;
    transform: none;
  }

  .hero__actions .button--outline {
    border-color: var(--ink);
    color: var(--ink);
    background: transparent;
    backdrop-filter: none;
  }

  .hero__actions .button--outline:hover {
    background: var(--ink);
    color: var(--white);
  }

  .hero-stage {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 28px;
    margin-top: 24px;
  }

  .hero-art {
    aspect-ratio: 16 / 10;
    overflow: hidden;
    border-radius: 28px;
  }

  .hero-art__card {
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    border-radius: 28px;
  }

  .hero-coverflow {
    inset: 6% 5% 10%;
    align-content: center;
    z-index: 2;
  }

  .hero-coverflow__stage {
    width: min(100%, 92%);
    max-width: 640px;
    aspect-ratio: 3 / 2;
  }

  .hero-coverflow__slide[data-pos="-2"] {
    transform: translate3d(-42%, 6%, -140px) rotateY(22deg) scale(0.78);
  }

  .hero-coverflow__slide[data-pos="-1"] {
    transform: translate3d(-24%, 2%, -60px) rotateY(12deg) scale(0.9);
  }

  .hero-coverflow__slide[data-pos="1"] {
    transform: translate3d(24%, 2%, -60px) rotateY(-12deg) scale(0.9);
  }

  .hero-coverflow__slide[data-pos="2"] {
    transform: translate3d(42%, 6%, -140px) rotateY(-22deg) scale(0.78);
  }

  /* Keep characters for desktop only so CTAs never collide with UI on tablet */
  .hero-art__assistant,
  .hero-art__doctor {
    display: none;
  }

  .feature {
    gap: 48px;
  }

  .feature__copy {
    width: min(100%, 720px);
  }

  .feature__visual {
    aspect-ratio: 16 / 10;
  }

  .feature__visual--iam {
    aspect-ratio: 3 / 2;
  }

  .feature__visual--appointments {
    aspect-ratio: 777 / 504;
  }

  .feature__visual--wide,
  .feature__visual--prompts {
    aspect-ratio: 3 / 2;
  }

  .feature__visual--copilot {
    aspect-ratio: 2048 / 1314;
  }

  .benefits__grid {
    width: min(100%, 540px);
    margin-inline: auto;
  }

  .faq__accordion {
    gap: 10px;
  }

  .site-footer__nav {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 24px 40px;
  }

  .site-footer__col--account {
    grid-column: 1;
    grid-row: 1;
  }

  .site-footer__col--product {
    grid-column: 2;
    grid-row: 1;
  }

  .site-footer__col--legal {
    grid-column: 3;
    grid-row: 1;
  }

  .site-footer__bottom {
    flex-direction: row;
    justify-content: space-between;
    text-align: left;
  }
}

/* Notebook 1024–1439 */
@media (min-width: 1024px) {
  :root {
    --gutter: 48px;
    --section-space: 64px;
  }

  body.menu-open {
    overflow: auto;
  }

  .menu-toggle,
  .main-nav__mobile-actions {
    display: none;
  }

  .main-nav {
    position: static;
    height: auto;
    display: flex;
    visibility: visible;
    flex: 1;
    flex-direction: row;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 4px;
    overflow: visible;
    padding: 0;
    background: transparent;
    opacity: 1;
    transform: none;
    transition: none;
  }

  .main-nav > a {
    position: relative;
    padding: 8px 6px;
    border: 0;
    font-size: 0.8125rem;
    white-space: nowrap;
  }

  .main-nav > a.is-active::after {
    content: "";
    position: absolute;
    right: 6px;
    bottom: 0;
    left: 6px;
    height: 3px;
    border-radius: 8px;
    background: var(--brand-300);
  }

  .site-header__actions {
    display: flex;
    gap: 10px;
  }

  .site-header__actions .button {
    min-height: 44px;
    padding: 9px 18px;
    font-weight: 500;
  }

  /* Mega menu / nav groups (desktop: full-bleed slide-down + backdrop) */
  .main-nav__groups {
    flex-direction: row;
    align-items: center;
    gap: 2px;
  }

  .nav-item {
    position: relative;
  }

  .nav-item__trigger,
  .nav-link {
    width: auto;
    padding: 8px 12px;
    border-bottom: 0;
    border-radius: var(--radius-pill);
    font-size: 0.875rem;
    font-weight: 500;
    white-space: nowrap;
    transition: background-color 160ms ease, color 160ms ease;
  }

  .nav-item__trigger:hover,
  .nav-link:hover,
  .nav-item.is-open .nav-item__trigger {
    background: rgb(44 63 77 / 8%);
    color: var(--ink);
  }

  /* Gray pill follows the hovered label while moving across the bar,
     instead of staying locked on the open trigger. */
  .main-nav__groups:hover .nav-item.is-open:not(:hover) .nav-item__trigger {
    background: transparent;
  }

  .nav-item__trigger:focus-visible,
  .nav-link:focus-visible {
    background: rgb(44 63 77 / 8%);
    color: var(--ink);
    outline: 2px solid rgb(109 165 188 / 55%);
    outline-offset: 2px;
  }

  .mega-menu {
    position: fixed;
    z-index: 90;
    top: var(--header-h);
    left: 0;
    right: 0;
    display: grid;
    width: 100%;
    grid-template-columns: minmax(0, 1fr);
    grid-template-rows: 0fr;
    padding: 0;
    visibility: hidden;
    opacity: 0;
    pointer-events: none;
    transition:
      grid-template-rows 600ms ease 300ms,
      opacity 0ms linear 300ms,
      visibility 0ms linear 300ms;
    will-change: grid-template-rows, opacity;
  }

  .mega-menu__clip {
    min-height: 0;
    overflow: hidden;
    background: var(--white);
    border-bottom: 1px solid rgb(44 63 77 / 10%);
    box-shadow: 0 18px 40px rgb(44 63 77 / 12%);
  }

  .nav-item.is-open .mega-menu {
    display: grid;
    grid-template-rows: 1fr;
    visibility: visible;
    opacity: 1;
    pointer-events: auto;
    transition-duration: 200ms, 0ms, 0ms;
    transition-delay: 0ms, 0ms, 0ms;
  }

  .mega-menu.is-instant,
  .nav-item.is-open .mega-menu.is-instant {
    transition-duration: 0ms, 0ms, 0ms;
    transition-delay: 0ms, 0ms, 0ms;
  }

  .mega-menu__panel {
    width: min(940px, calc(100vw - 40px));
    margin: 0 auto;
    border: 0;
    border-radius: 0;
    background: transparent;
    box-shadow: none;
    padding: 28px 20px 24px;
  }

  .mega-menu__header {
    display: block;
    margin-bottom: 16px;
  }

  .mega-menu__title {
    margin: 0;
    color: var(--ink);
    font-size: 1.15rem;
    font-weight: 700;
    letter-spacing: -0.01em;
    line-height: 1.25;
  }

  .mega-menu__subtitle {
    margin: 4px 0 0;
    color: var(--muted);
    font-size: 0.9375rem;
  }

  .mega-menu__grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 2px 24px;
  }

  /* Agentes de IA: 4 columns. Slightly wider panel + tighter gaps so icon
     rails leave enough room for descriptions. */
  .mega-menu[data-mega-menu="agentes"] .mega-menu__panel {
    width: min(1080px, calc(100vw - 40px));
  }

  .mega-menu[data-mega-menu="agentes"] .mega-menu__grid {
    grid-template-columns: repeat(4, 1fr);
    gap: 2px 12px;
  }

  .mega-menu__item {
    padding: 10px;
  }

  .mega-menu[data-mega-menu="agentes"] .mega-menu__item {
    padding: 10px 6px;
  }

  .mega-menu__item-icon {
    flex-basis: 32px;
    width: 32px;
    height: 32px;
    border-radius: 9px;
  }

  .mega-menu__item-icon svg {
    width: 18px;
    height: 18px;
  }

  .mega-menu__item:hover,
  .mega-menu__item:focus-visible {
    transform: translateX(1px);
  }

  .mega-menu__footer {
    margin-top: 12px;
    padding: 16px 10px 0;
    border-top: 1px solid rgb(44 63 77 / 10%);
  }

  .mega-menu-backdrop {
    display: block;
    position: fixed;
    inset: 0;
    z-index: 85;
    background: rgb(15 30 45 / 48%);
    opacity: 0;
    pointer-events: none;
    transition: opacity 600ms ease;
  }

  .mega-menu-backdrop.is-visible {
    opacity: 1;
    pointer-events: auto;
  }

  .hero__inner {
    gap: 48px;
  }

  .hero__copy {
    gap: 24px;
  }

  .hero__copy p {
    max-width: 64ch;
    line-height: 1.45;
  }

  .hero-stage {
    margin-top: 24px;
    gap: 28px;
  }

  .hero__actions {
    bottom: auto;
    top: auto;
    gap: 24px;
    margin: 0 auto;
  }

  .hero-art {
    aspect-ratio: 1503 / 640;
    overflow: visible;
  }

  .hero-art__card {
    border-radius: 34px;
    overflow: hidden;
  }

  .hero-coverflow {
    inset: 8% 16% 6%;
    z-index: 2;
  }

  .hero-coverflow__stage {
    width: min(100%, 680px);
    aspect-ratio: 3 / 2;
  }

  .hero-tablet__hold {
    width: min(58%, 620px);
  }

  .hero-art__assistant,
  .hero-art__doctor {
    display: block;
  }

  .hero-art__assistant {
    bottom: 0;
    left: -2%;
    top: auto;
    z-index: 6;
    max-width: 34%;
    height: 108%;
    animation: hero-float-left 5.5s ease-in-out infinite;
  }

  .hero-art__doctor {
    bottom: 0;
    right: -1%;
    top: auto;
    z-index: 6;
    max-width: 30%;
    height: 104%;
    transform: none;
    animation: hero-float-right 6s ease-in-out infinite;
  }

  .feature {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    align-items: center;
  }

  .feature--media-first .feature__visual {
    order: -1;
  }

  .feature__copy {
    width: auto;
    gap: 24px;
  }

  .feature__copy > p,
  .benefits__intro > p {
    line-height: 1.55;
  }

  .feature__visual {
    aspect-ratio: 766 / 504;
  }

  .feature__visual--appointments {
    aspect-ratio: 777 / 504;
  }

  .feature__visual--iam {
    aspect-ratio: 3 / 2;
  }

  .feature__visual--wide,
  .feature__visual--prompts {
    aspect-ratio: 3 / 2;
  }

  .feature__visual--copilot {
    aspect-ratio: 2048 / 1314;
  }

  .benefits__intro {
    max-width: 1260px;
    margin-inline: auto;
  }

  .benefits__grid {
    width: 100%;
    max-width: 1296px;
    margin-inline: auto;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 24px;
    justify-content: center;
  }

  .faq__inner {
    max-width: none;
  }

  .faq__accordion {
    width: 100%;
    gap: 10px;
  }

  .faq__item summary {
    padding: 14px 20px;
  }

  .faq__content {
    padding: 0 20px 18px;
    font-size: 1rem;
    line-height: 1.55;
  }

  .final-cta__overlay {
    min-height: 259px;
    padding: 40px 80px clamp(128px, 9vw, 156px);
  }

  .site-footer__top {
    grid-template-columns:
      minmax(300px, 47fr) minmax(90px, 13fr) minmax(160px, 22fr)
      minmax(130px, 18fr);
    align-items: start;
    gap: 40px;
  }

  .site-footer__about {
    grid-column: 1;
    grid-row: 1;
  }

  /* .site-footer__nav becomes a transparent wrapper so its three columns
     become direct items of the .site-footer__top grid, letting each column
     take its own weighted track instead of splitting one shared track.
     grid-row is pinned explicitly on every item because the DOM order
     (Produto, Sua conta, Legal) does not match the visual column order,
     which would otherwise push out-of-order items into a second row
     under the sparse auto-placement algorithm. */
  .site-footer__nav {
    display: contents;
  }

  .site-footer__col--account {
    grid-column: 2;
    grid-row: 1;
  }

  .site-footer__col--product {
    grid-column: 3;
    grid-row: 1;
  }

  .site-footer__col--legal {
    grid-column: 4;
    grid-row: 1;
  }
}

/* Wide desktop 1440+ */
@media (min-width: 1440px) {
  :root {
    --gutter: 80px;
    --section-space: 72px;
    --header-h: 101px;
  }

  .mega-menu__panel {
    width: min(1040px, calc(100vw - 40px));
  }

  .mega-menu[data-mega-menu="agentes"] .mega-menu__panel {
    width: min(1180px, calc(100vw - 40px));
  }

  .site-header__inner {
    min-height: 100px;
  }

  .brand {
    width: 126px;
    height: 56px;
  }

  .main-nav {
    gap: 8px;
  }

  .nav-item__trigger,
  .nav-link {
    padding-inline: 8px;
    font-size: 0.9375rem;
  }

  .hero {
    padding-block: 48px 128px;
  }

  .hero h1 {
    max-width: 34ch;
    line-height: 1.15;
  }

  .hero-stage {
    margin-top: 28px;
    gap: 32px;
  }

  .hero__actions {
    bottom: auto;
    top: auto;
  }

  .hero-art__assistant {
    bottom: 0;
    left: -3%;
    top: auto;
    max-width: 36%;
    height: 112%;
  }

  .hero-art__doctor {
    bottom: 0;
    right: -2%;
    top: auto;
    max-width: 32%;
    height: 108%;
  }

  .feature__copy h2,
  .benefits__intro h2 {
    line-height: 1.15;
  }

  .final-cta {
    max-width: 1863px;
    margin-inline: auto;
  }

  .final-cta > img {
    left: 0;
    width: 100%;
  }

  .site-footer__top {
    gap: 56px;
  }
}

.auth-modal {
  position: fixed;
  inset: 0;
  z-index: 1300;
  display: grid;
  place-items: center;
  padding: 16px;
}

.auth-modal[hidden] {
  display: none !important;
}

body.auth-modal-open {
  overflow: hidden;
}

.auth-modal__backdrop {
  position: absolute;
  inset: 0;
  background: rgb(16 24 40 / 62%);
}

.auth-modal__dialog {
  position: relative;
  z-index: 1;
  display: grid;
  gap: 12px;
  width: min(100%, 520px);
  padding: 28px 24px;
  border-radius: var(--radius-lg);
  background: var(--white);
  box-shadow: 0 24px 64px rgb(16 24 40 / 28%);
}

.auth-modal__close {
  position: absolute;
  top: 12px;
  right: 12px;
  display: grid;
  width: 44px;
  height: 44px;
  place-items: center;
  border: 0;
  border-radius: var(--radius-pill);
  background: var(--surface-alt);
  color: var(--ink);
  font-size: 1.5rem;
  cursor: pointer;
}

.auth-modal__eyebrow {
  margin: 0;
  color: var(--brand-700);
  font-size: 0.8125rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  text-transform: uppercase;
}

.auth-modal__dialog h2 {
  margin: 0;
  padding-right: 40px;
  font-size: 1.5rem;
}

.auth-modal__dialog p {
  margin: 0;
  color: var(--text);
}

.auth-modal__note {
  font-size: 0.875rem;
  color: var(--muted);
}

.auth-modal__note code {
  font-size: 0.8125rem;
}

.auth-modal__plan {
  padding: 10px 12px;
  border-radius: var(--radius-sm);
  background: var(--blue-50);
  color: var(--blue-700);
  font-weight: 600;
}

.auth-modal__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 8px;
}

.footer-link-button {
  display: inline;
  padding: 0;
  border: 0;
  background: none;
  color: inherit;
  font: inherit;
  text-align: left;
  text-decoration: none;
  cursor: pointer;
}

.footer-link-button:hover {
  text-decoration: underline;
}

/* About modal */
body.about-modal-open {
  overflow: hidden;
}

.about-modal {
  position: fixed;
  inset: 0;
  z-index: 1250;
  display: grid;
  place-items: center;
  padding: 16px;
}

.about-modal[hidden] {
  display: none !important;
}

.about-modal__backdrop {
  position: absolute;
  inset: 0;
  background: rgb(16 24 40 / 62%);
}

.about-modal__dialog {
  position: relative;
  z-index: 1;
  width: min(100%, 720px);
  max-height: min(90vh, 820px);
  overflow: auto;
  border-radius: var(--radius-lg);
  background: var(--white);
  box-shadow: 0 24px 64px rgb(16 24 40 / 28%);
  overscroll-behavior: contain;
}

.about-modal__close {
  position: absolute;
  top: 12px;
  right: 12px;
  z-index: 2;
  display: grid;
  width: 44px;
  height: 44px;
  place-items: center;
  border: 0;
  border-radius: var(--radius-pill);
  background: var(--surface-alt);
  color: var(--ink);
  font-size: 1.5rem;
  cursor: pointer;
}

.about-modal__close:hover {
  background: var(--surface);
}

.about-modal__body {
  display: grid;
  gap: 16px;
  padding: 28px 28px 32px;
}

.about-modal__eyebrow {
  margin: 0;
  color: var(--brand-700);
  font-size: 0.8125rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  text-transform: uppercase;
}

.about-modal__body h2 {
  margin: 0;
  padding-right: 48px;
  color: var(--ink);
  font-size: clamp(1.5rem, 2.4vw, 1.875rem);
  line-height: 1.2;
}

.about-modal__copy {
  display: grid;
  gap: 14px;
}

.about-modal__copy p {
  margin: 0;
  max-width: 62ch;
  color: var(--text);
  font-family: Inter, var(--font-sans);
  font-size: 1rem;
  line-height: 1.6;
}

.about-modal__tagline {
  display: grid;
  gap: 6px;
  margin-top: 4px;
  padding: 16px 18px;
  border-radius: var(--radius-md);
  background: linear-gradient(135deg, rgb(109 165 188 / 14%), rgb(51 86 107 / 8%));
  border: 1px solid rgb(109 165 188 / 28%);
}

.about-modal__tagline p {
  margin: 0;
  color: var(--brand-700);
  font-family: Inter, var(--font-sans);
  font-size: 1.0625rem;
  line-height: 1.45;
}

.about-modal__tagline strong {
  color: var(--ink);
  font-weight: 600;
}

.about-modal__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 8px;
}

@media (max-width: 479px) {
  .about-modal {
    padding: 0;
    place-items: stretch;
  }

  .about-modal__dialog {
    width: 100%;
    max-height: 100vh;
    max-height: 100dvh;
    border-radius: 0;
  }

  .about-modal__body {
    padding: 4px 20px 28px;
  }

  .about-modal__actions {
    flex-direction: column;
  }

  .about-modal__actions .button {
    width: 100%;
  }
}

/* Demo modal */
body.demo-open {
  overflow: hidden;
}

.demo-modal {
  position: fixed;
  inset: 0;
  z-index: 1200;
  display: grid;
  place-items: center;
  padding: 16px;
}

.demo-modal[hidden] {
  display: none !important;
}

.demo-modal__backdrop {
  position: absolute;
  inset: 0;
  background: rgb(16 24 40 / 62%);
}

.demo-modal__dialog {
  position: relative;
  z-index: 1;
  display: grid;
  width: min(100%, 1080px);
  max-height: min(92vh, 820px);
  overflow: auto;
  border-radius: var(--radius-lg);
  background: var(--white);
  box-shadow: 0 24px 64px rgb(16 24 40 / 28%);
}

.demo-modal__close {
  position: absolute;
  top: 12px;
  right: 12px;
  z-index: 2;
  display: grid;
  width: 44px;
  height: 44px;
  place-items: center;
  border: 0;
  border-radius: var(--radius-pill);
  background: rgb(255 255 255 / 92%);
  color: var(--ink);
  font-size: 1.5rem;
  cursor: pointer;
}

.demo-modal__media {
  display: grid;
  place-items: center;
  min-height: 0;
  overflow: hidden;
  background: #101820;
}

.demo-modal__media img {
  display: block;
  width: 100%;
  height: auto;
  max-height: 46vh;
  object-fit: contain;
  object-position: center;
}

.demo-modal__copy {
  display: grid;
  gap: 12px;
  align-content: start;
  padding: 24px 20px 28px;
}

.demo-modal__eyebrow {
  margin: 0;
  color: var(--brand-700);
  font-size: 0.875rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  text-transform: uppercase;
}

.demo-modal__copy h2 {
  margin: 0;
  color: var(--ink);
  font-size: clamp(1.25rem, 2vw, 1.75rem);
  line-height: 1.25;
}

.demo-modal__copy p {
  margin: 0;
  color: var(--text);
}

.demo-modal__disclaimer {
  font-size: 0.875rem;
  color: var(--muted);
}

.demo-modal__progress {
  margin-top: 4px;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--brand-700);
}

.demo-modal__actions,
.demo-modal__cta {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.demo-modal__actions {
  margin-top: 4px;
}

.demo-modal__actions .button,
.demo-modal__cta .button {
  flex: 1 1 140px;
}

.demo-modal__actions [data-demo-prev][hidden] {
  display: none !important;
}

.demo-modal__cta {
  padding-top: 4px;
}

@media (min-width: 900px) {
  .demo-modal__dialog {
    grid-template-columns: minmax(0, 1.25fr) minmax(280px, 0.75fr);
    align-items: stretch;
    overflow: hidden;
  }

  .demo-modal__media {
    min-height: min(78vh, 720px);
  }

  .demo-modal__media img {
    width: 100%;
    height: 100%;
    max-height: none;
    object-fit: contain;
  }

  .demo-modal__copy {
    padding: 40px 32px;
    align-content: center;
  }

  .demo-modal__actions .button,
  .demo-modal__cta .button {
    flex: 1 1 auto;
  }

  .demo-modal__cta .button {
    width: 100%;
  }
}

/* Shared subpages */
.page-hero {
  padding: 32px 0 20px;
  background:
    linear-gradient(180deg, rgb(109 165 188 / 14%), transparent 70%),
    var(--surface);
}

.page-hero h1 {
  margin: 0 0 12px;
  color: var(--ink);
  font-size: clamp(1.75rem, 3vw, 2.5rem);
  line-height: 1.2;
}

.page-hero p {
  max-width: 60ch;
  margin: 0;
  color: var(--text);
  font-size: 1.0625rem;
}

/* Pricing page hero has no CTAs — keep title + lead tight above the cards. */
.page-hero--pricing {
  padding: 28px 0 8px;
}

.page-hero--pricing p {
  max-width: 52ch;
  line-height: 1.5;
}

.page-section {
  padding: var(--section-space) 0;
}

/* Enterprise contact form — shares .page-hero/.page-section with other
   subpages, so spacing is trimmed here via a scoped modifier instead of
   touching the shared rules (which would affect /planos/ too). The compound
   selector (base class + modifier) keeps precedence over the later
   .page-hero breakpoint rules regardless of source order.
   Keep the form compact so consent + CTA stay reachable on laptop heights. */
.page-hero.page-hero--enterprise {
  padding-top: 20px;
  padding-bottom: 12px;
}

.page-section.enterprise-form-section {
  padding-top: 16px;
  padding-bottom: 32px;
}

.enterprise-form-section .form-card {
  gap: 14px;
  padding: 20px 20px 22px;
}

.enterprise-form-section .form-grid {
  gap: 12px 20px;
}

.enterprise-form-section .form-row {
  gap: 6px;
}

.enterprise-form-section .form-row textarea {
  min-height: 88px;
}

@media (min-width: 768px) {
  .page-hero.page-hero--enterprise {
    padding-top: 24px;
    padding-bottom: 16px;
  }

  .page-section.enterprise-form-section {
    padding-top: 20px;
    padding-bottom: 40px;
  }

  .enterprise-form-section .form-card {
    padding: 24px;
  }
}

@media (min-width: 1024px) {
  .page-hero.page-hero--enterprise {
    padding-top: 28px;
    padding-bottom: 16px;
  }

  .page-section.enterprise-form-section {
    padding-top: 24px;
    padding-bottom: 48px;
  }
}

.pricing-cards-section {
  padding: 12px 0 var(--section-space);
}

.pricing-billing {
  display: flex;
  justify-content: center;
  margin-bottom: 32px;
}

.billing-toggle {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 4px;
  border: 1px solid rgb(44 63 77 / 12%);
  border-radius: var(--radius-pill);
  background: var(--white);
  box-shadow: var(--shadow-xs);
}

.billing-toggle__option {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 40px;
  padding: 6px 16px;
  border: 0;
  border-radius: var(--radius-pill);
  background: transparent;
  color: var(--muted);
  font: inherit;
  font-weight: 600;
  cursor: pointer;
  transition:
    background-color 160ms ease,
    color 160ms ease,
    box-shadow 160ms ease;
}

.billing-toggle__option:hover {
  color: var(--ink);
}

.billing-toggle__option:focus-visible {
  outline: 2px solid var(--brand-300);
  outline-offset: 2px;
}

.billing-toggle__option.is-active {
  background: var(--ink);
  color: var(--white);
}

.billing-toggle__label {
  line-height: 1.2;
}

.billing-toggle__save {
  display: inline-flex;
  align-items: center;
  padding: 2px 8px;
  border-radius: var(--radius-pill);
  background: rgb(109 165 188 / 16%);
  color: var(--brand-700);
  font-size: 0.6875rem;
  font-weight: 600;
  letter-spacing: 0.01em;
  line-height: 1.2;
}

.billing-toggle__option.is-active .billing-toggle__save {
  background: rgb(255 255 255 / 16%);
  color: rgb(255 255 255 / 92%);
}

.pricing-grid {
  display: grid;
  gap: 20px;
  grid-template-columns: 1fr;
  align-items: stretch;
}

.plan-card {
  display: flex;
  flex-direction: column;
  gap: 14px;
  height: 100%;
  min-width: 0;
  padding: 26px 24px 24px;
  border: 1px solid rgb(44 63 77 / 12%);
  border-radius: var(--radius-lg);
  background: var(--white);
  box-shadow: var(--shadow-card);
  transition:
    border-color 160ms ease,
    box-shadow 160ms ease;
}

@media (hover: hover) and (pointer: fine) {
  .plan-card:hover {
    border-color: rgb(44 63 77 / 20%);
    box-shadow: 0 6px 20px rgb(16 24 40 / 8%);
  }
}

.plan-card--recommended {
  border-color: var(--brand-300);
  background:
    linear-gradient(var(--brand-300), var(--brand-300)) top center / 100% 3px no-repeat,
    var(--white);
  box-shadow: 0 8px 24px rgb(109 165 188 / 16%);
}

@media (hover: hover) and (pointer: fine) {
  .plan-card--recommended:hover {
    border-color: var(--brand-300);
    box-shadow: 0 10px 28px rgb(109 165 188 / 20%);
  }
}

.plan-card__badges {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  min-height: 28px;
}

.plan-card__badge {
  display: inline-flex;
  width: fit-content;
  padding: 4px 10px;
  border-radius: var(--radius-pill);
  background: var(--blue-50);
  color: var(--blue-700);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.01em;
}

.plan-card__badge--muted {
  background: var(--surface-alt);
  color: var(--muted);
}

.plan-card__header {
  display: grid;
  gap: 8px;
  min-height: 7.25rem;
}

.plan-card h3 {
  margin: 0;
  color: var(--ink);
  font-size: 1.5rem;
  line-height: 1.2;
  letter-spacing: -0.01em;
}

.plan-card__audience,
.plan-card__price,
.plan-card__desc {
  margin: 0;
  color: var(--text);
}

.plan-card__audience {
  min-height: 1.4em;
  color: var(--muted);
  font-size: 0.9375rem;
  line-height: 1.4;
}

.plan-card__price {
  color: var(--ink);
  font-size: clamp(1.5rem, 2vw, 1.75rem);
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: -0.02em;
}

.plan-card__price-note {
  margin: 0;
  min-height: 1.35em;
  color: var(--muted);
  font-size: 0.8125rem;
  line-height: 1.35;
}

.plan-card__price-note--spacer {
  visibility: hidden;
}

.plan-card__desc {
  max-width: 36ch;
  color: var(--text);
  font-size: 0.9375rem;
  line-height: 1.5;
}

.plan-card__value-note {
  margin: 0;
  color: var(--brand-700);
  font-size: 0.875rem;
  font-weight: 600;
  line-height: 1.4;
}

.plan-card__body {
  display: flex;
  flex-direction: column;
  gap: 10px;
  flex: 1 1 auto;
}

.plan-card__features-intro {
  margin: 0;
  color: var(--ink);
  font-size: 0.875rem;
  font-weight: 600;
  line-height: 1.4;
}

.plan-card__features {
  margin: 0;
  padding-left: 1.1rem;
  color: var(--text);
  font-size: 0.9375rem;
  line-height: 1.45;
}

.plan-card__features li + li {
  margin-top: 9px;
}

.plan-card__features li {
  position: relative;
}

.plan-card__features li.is-emphasis {
  color: var(--ink);
  font-weight: 500;
}

.plan-card__feature-text {
  display: inline;
}

.plan-card__includes-note {
  margin: 6px 0 0;
  padding-top: 12px;
  border-top: 1px solid rgb(44 63 77 / 10%);
  color: var(--muted);
  font-size: 0.875rem;
  font-weight: 500;
  line-height: 1.4;
}

/* Discreet info tooltip used next to AI-credit bullets */
.info-tip {
  position: relative;
  display: inline-grid;
  place-items: center;
  width: 18px;
  height: 18px;
  margin-left: 4px;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: none;
  color: var(--muted);
  vertical-align: -3px;
  cursor: pointer;
}

.info-tip:hover,
.info-tip:focus-visible,
.info-tip.is-open {
  color: var(--brand-700);
}

.info-tip:focus-visible {
  outline: 2px solid var(--brand-300);
  outline-offset: 2px;
}

.info-tip__bubble {
  position: absolute;
  z-index: 20;
  bottom: calc(100% + 8px);
  left: 50%;
  width: min(260px, 70vw);
  padding: 10px 12px;
  border-radius: var(--radius-sm);
  background: var(--ink);
  color: var(--white);
  font-size: 0.8125rem;
  font-weight: 400;
  line-height: 1.4;
  text-align: left;
  opacity: 0;
  transform: translate(-50%, 4px);
  transition: opacity 160ms ease, transform 160ms ease;
  pointer-events: none;
}

.info-tip:focus-visible .info-tip__bubble,
.info-tip.is-open .info-tip__bubble {
  opacity: 1;
  transform: translate(-50%, 0);
}

@media (hover: hover) and (pointer: fine) {
  .info-tip:hover .info-tip__bubble {
    opacity: 1;
    transform: translate(-50%, 0);
  }
}

.plan-card .button,
.plan-card .plan-card__cta {
  box-sizing: border-box;
  width: 100%;
  min-height: 48px;
  max-height: 48px;
  margin-top: auto;
  padding: 0 20px;
  appearance: none;
  font: inherit;
  font-size: 0.9375rem;
  font-weight: 500;
  line-height: 1;
  text-decoration: none;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  cursor: pointer;
}

.plan-card .button.button--primary {
  border: 1px solid transparent;
  color: var(--white);
}

.plan-card .button.button--outline {
  background: var(--white);
}

.pricing-enterprise {
  display: grid;
  gap: 16px;
  margin-top: 28px;
  padding: 28px 24px;
  border-radius: var(--radius-lg);
  background: linear-gradient(135deg, #33566b, #6da5bc);
  color: var(--white);
}

.pricing-enterprise p {
  margin: 0;
  max-width: 60ch;
}

.pricing-guide {
  padding-top: 4px;
  padding-bottom: 4px;
}

.pricing-guide h2 {
  margin: 0 0 16px;
  color: var(--ink);
  font-size: clamp(1.25rem, 2.2vw, 1.5rem);
}

.pricing-guide__lead {
  margin: 0 0 20px;
  max-width: 70ch;
  color: var(--text);
}

.pricing-guide__grid {
  display: grid;
  gap: 12px;
  grid-template-columns: 1fr;
}

.pricing-guide__card {
  padding: 16px 18px;
  border: 1px solid rgb(44 63 77 / 10%);
  border-radius: var(--radius-md);
  background: var(--white);
}

.pricing-guide__card h3 {
  margin: 0 0 6px;
  color: var(--ink);
  font-size: 0.9375rem;
  font-weight: 700;
}

.pricing-guide__capacity {
  margin: 0 0 4px;
  color: var(--brand-700);
  font-size: 0.9375rem;
  font-weight: 600;
  line-height: 1.35;
}

.pricing-guide__card p {
  margin: 0;
  color: var(--muted);
  font-size: 0.875rem;
  line-height: 1.45;
}

.plan-comparison h2 {
  margin: 0 0 12px;
}

.plan-comparison__lead {
  margin: 0 0 20px;
  max-width: 62ch;
  color: var(--text);
}

.plan-comparison__subhead {
  margin: 0 0 12px;
  color: var(--ink);
  font-size: 1.0625rem;
}

.plan-comparison__table-wrap {
  display: none;
  overflow-x: auto;
  border: 1px solid rgb(44 63 77 / 12%);
  border-radius: var(--radius-lg);
  background: var(--white);
  box-shadow: var(--shadow-card);
}

.plan-comparison__table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.95rem;
}

.plan-comparison__table th,
.plan-comparison__table td {
  padding: 14px 16px;
  border-bottom: 1px solid rgb(44 63 77 / 10%);
  text-align: left;
  vertical-align: top;
}

.plan-comparison__table thead th {
  background: rgb(109 165 188 / 12%);
  color: var(--ink);
  font-weight: 700;
}

.plan-comparison__table tbody th {
  color: var(--ink);
  font-weight: 600;
}

.plan-comparison__table tbody tr:last-child th,
.plan-comparison__table tbody tr:last-child td {
  border-bottom: 0;
}

.plan-comparison__table .is-included,
.plan-comparison__stack .is-included {
  color: var(--brand-700);
  font-weight: 600;
}

.plan-comparison__table .is-muted,
.plan-comparison__stack .is-muted {
  color: rgb(44 63 77 / 62%);
}

.plan-comparison__stack {
  display: grid;
  gap: 12px;
}

.plan-comparison__stack-item {
  padding: 14px 16px;
  border: 1px solid rgb(44 63 77 / 12%);
  border-radius: var(--radius-md);
  background: var(--white);
}

.plan-comparison__stack-title {
  margin: 0 0 10px;
  color: var(--ink);
  font-size: 0.9375rem;
  font-weight: 700;
}

.plan-comparison__stack-list {
  display: grid;
  gap: 8px;
  margin: 0;
}

.plan-comparison__stack-row {
  display: grid;
  gap: 2px;
}

.plan-comparison__stack-row dt {
  color: var(--muted);
  font-size: 0.8125rem;
}

.plan-comparison__stack-row dd {
  margin: 0;
  color: var(--ink);
  font-size: 0.9375rem;
  font-weight: 600;
}

.plan-comparison__notes {
  margin: 20px 0 0;
  padding-left: 1.2rem;
  color: var(--text);
}

.plan-comparison__notes li + li {
  margin-top: 8px;
}

.pricing-included {
  margin-top: 32px;
  padding-top: 28px;
  border-top: 1px solid rgb(44 63 77 / 10%);
}

.pricing-included h3 {
  margin: 0 0 8px;
  color: var(--ink);
  font-size: 1.0625rem;
}

.pricing-included__lead {
  margin: 0 0 16px;
  max-width: 62ch;
  color: var(--muted);
  font-size: 0.9375rem;
  line-height: 1.45;
}

.pricing-included__grid {
  display: grid;
  gap: 10px 24px;
  margin: 0;
  padding-left: 0;
  list-style: none;
  grid-template-columns: 1fr;
  color: var(--text);
}

.pricing-included__grid li {
  position: relative;
  padding-left: 1.35rem;
}

.pricing-included__grid li::before {
  content: "";
  position: absolute;
  top: 0.45em;
  left: 0;
  width: 0.55rem;
  height: 0.55rem;
  border-radius: 50%;
  background: var(--brand-300);
}

.pricing-notes {
  display: grid;
  gap: 16px;
  margin-top: 28px;
  grid-template-columns: 1fr;
}

.pricing-note {
  padding: 20px 22px;
  border: 1px solid rgb(44 63 77 / 10%);
  border-radius: var(--radius-md);
  background: var(--surface);
}

.pricing-note h3 {
  margin: 0 0 8px;
  color: var(--ink);
  font-size: 1rem;
}

.pricing-note p {
  margin: 0;
  color: var(--text);
  font-size: 0.9375rem;
  line-height: 1.5;
}

.pricing-note__link {
  display: inline-flex;
  margin-top: 10px;
  color: var(--brand-700);
  font-weight: 600;
  font-size: 0.9375rem;
}

.pricing-note__link:hover {
  text-decoration: underline;
}

.pricing-final-cta {
  background:
    linear-gradient(180deg, rgb(109 165 188 / 10%), transparent 60%),
    var(--surface);
}

.pricing-final-cta__inner {
  display: grid;
  justify-items: center;
  gap: 16px;
  max-width: 720px;
  text-align: center;
}

.pricing-final-cta h2 {
  margin: 0;
  color: var(--ink);
  font-size: clamp(1.5rem, 3vw, 2.125rem);
  line-height: 1.2;
}

.pricing-final-cta p {
  margin: 0;
  max-width: 56ch;
  color: var(--text);
  font-size: 1.0625rem;
}

.pricing-final-cta__actions {
  margin-top: 8px;
  justify-content: center;
}

.pricing-final-cta__note {
  margin-top: 4px;
  color: var(--muted);
  font-size: 0.9375rem;
}

.pricing-final-cta__note a {
  color: var(--brand-700);
  font-weight: 600;
}

.pricing-final-cta__note a:hover {
  text-decoration: underline;
}

.form-card {
  display: grid;
  gap: 20px;
  max-width: 720px;
  padding: 28px 24px;
  border: 1px solid rgb(44 63 77 / 8%);
  border-radius: var(--radius-lg);
  background: var(--white);
  box-shadow: var(--shadow-card);
}

.form-row {
  display: grid;
  gap: 8px;
}

.form-row label {
  font-weight: 600;
  color: var(--ink);
  font-size: 0.9375rem;
}

.form-row input:not([type="radio"]):not([type="checkbox"]),
.form-row select,
.form-row textarea {
  width: 100%;
  min-height: 48px;
  padding: 12px 14px;
  border: 1px solid rgb(44 63 77 / 22%);
  border-radius: var(--radius-sm);
  background: var(--white);
  color: var(--ink);
  font: inherit;
  font-size: 0.9375rem;
  transition: border-color 160ms ease, box-shadow 160ms ease;
}

.form-row input:not([type="radio"]):not([type="checkbox"]):hover,
.form-row select:hover,
.form-row textarea:hover {
  border-color: rgb(44 63 77 / 38%);
}

.form-row input:not([type="radio"]):not([type="checkbox"]):focus-visible,
.form-row select:focus-visible,
.form-row textarea:focus-visible {
  border-color: var(--focus);
  outline: 2px solid var(--focus);
  outline-offset: 1px;
}

.form-row textarea {
  min-height: 108px;
  resize: vertical;
}

.form-grid {
  display: grid;
  gap: 18px 24px;
}

.form-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
}

.form-status {
  margin: 0;
  min-height: 1.5em;
  color: var(--text);
}

.form-status[data-tone="error"] {
  color: #b42318;
}

.form-status[data-tone="success"] {
  color: #027a48;
}

.checkbox-row {
  display: flex;
  gap: 10px;
  align-items: flex-start;
}

.checkbox-row input {
  flex-shrink: 0;
  width: 18px;
  height: 18px;
  margin-top: 3px;
  accent-color: var(--brand-300);
}

.checkbox-row__text {
  display: grid;
  gap: 4px;
}

.checkbox-row__text label {
  color: var(--ink);
  font-weight: 500;
  line-height: 1.45;
}

.checkbox-row__hint {
  margin: 0;
  color: var(--text);
  font-size: 0.8125rem;
  line-height: 1.4;
}

.contact-choice {
  margin: 0;
  padding: 0;
  border: 0;
  min-width: 0;
  min-inline-size: 0;
  display: grid;
  gap: 8px;
}

.contact-choice__legend {
  padding: 0;
  font-weight: 600;
  color: var(--ink);
  font-size: 0.9375rem;
}

.contact-choice__options {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
}

.contact-choice__option {
  position: relative;
  display: block;
  margin: 0;
  cursor: pointer;
}

.contact-choice__option input {
  position: absolute;
  inset: 0;
  z-index: 1;
  margin: 0;
  opacity: 0;
  cursor: pointer;
}

.contact-choice__card {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 96px;
  padding: 16px 10px 14px;
  border: 1.5px solid rgb(44 63 77 / 22%);
  border-radius: var(--radius-sm);
  background: var(--white);
  color: var(--ink);
  text-align: center;
  transition: border-color 160ms ease, background-color 160ms ease, box-shadow 160ms ease;
}

.contact-choice__card::after {
  content: "";
  position: absolute;
  top: 8px;
  right: 8px;
  width: 16px;
  height: 16px;
  border: 2px solid rgb(44 63 77 / 28%);
  border-radius: 50%;
  background: var(--white);
}

.contact-choice__icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--blue-50);
  color: var(--brand-700);
}

.contact-choice__icon svg {
  width: 22px;
  height: 22px;
}

.contact-choice__icon--whatsapp {
  background: #e8f8ee;
  color: #128c7e;
}

.contact-choice__name {
  font-size: 0.875rem;
  font-weight: 600;
  line-height: 1.2;
}

.contact-choice__option:hover .contact-choice__card {
  border-color: rgb(44 63 77 / 42%);
}

.contact-choice__option input:checked + .contact-choice__card {
  border-color: var(--brand-700);
  background: var(--blue-50);
  box-shadow: 0 0 0 1px var(--brand-700);
}

.contact-choice__option input:checked + .contact-choice__card::after {
  border-color: var(--brand-700);
  background: var(--brand-700);
  box-shadow: inset 0 0 0 3px var(--white);
}

.contact-choice__option input:focus-visible + .contact-choice__card {
  border-color: var(--focus);
  outline: 2px solid var(--focus);
  outline-offset: 2px;
}

@media (max-width: 419px) {
  .contact-choice__options {
    gap: 8px;
  }

  .contact-choice__card {
    min-height: 88px;
    padding: 14px 6px 12px;
  }

  .contact-choice__name {
    font-size: 0.8125rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  .contact-choice__card {
    transition: none;
  }
}

@media (max-width: 599px) {
  .form-card {
    gap: 18px;
    padding: 22px 18px;
  }

  .form-actions {
    flex-direction: column;
    align-items: stretch;
  }
}

.auth-card {
  max-width: 480px;
  margin-inline: auto;
}

.subnav-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 20px;
}

@media (min-width: 480px) {
  .pricing-included__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (min-width: 768px) {
  .page-hero {
    padding: 40px 0 28px;
  }

  .page-hero--pricing {
    padding: 36px 0 12px;
  }

  .pricing-cards-section {
    padding: 12px 0 var(--section-space);
  }

  .pricing-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .pricing-grid .plan-card--enterprise {
    grid-column: 1 / -1;
    max-width: 420px;
    justify-self: center;
    width: 100%;
  }

  .plan-comparison__table-wrap {
    display: block;
  }

  .plan-comparison__stack {
    display: none;
  }

  .pricing-guide__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .pricing-notes {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .form-grid--2 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (min-width: 1024px) {
  .page-hero {
    padding: 48px 0 36px;
  }

  .page-hero--pricing {
    padding: 40px 0 16px;
  }

  .pricing-cards-section {
    padding: 16px 0 var(--section-space);
  }

  .pricing-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .pricing-grid .plan-card--enterprise {
    grid-column: auto;
    max-width: none;
  }

  .pricing-guide__grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .pricing-included__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  .plan-card,
  .billing-toggle__option,
  .info-tip__bubble {
    transition: none;
  }

  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
  }
}
