html {
  scroll-behavior: smooth;
  scroll-padding-top: 88px;
}

body {
  font-family: "DM Sans", sans-serif;
}

.brand-mark {
  display: inline-flex;
  width: 38px;
  height: 38px;
  flex: none;
  color: #f36c32;
}

.brand-mark svg {
  width: 100%;
  height: 100%;
}

.nav-link {
  transition: color 160ms ease;
}

.nav-link:hover,
.footer-link:hover {
  color: #f36c32;
}

.mobile-link {
  border-radius: 12px;
  padding: 11px 12px;
  font-size: 14px;
  font-weight: 600;
}

.mobile-link:hover {
  background: #f7f5f0;
}

.section-kicker {
  color: #f36c32;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.15em;
  text-transform: uppercase;
}

.section-title {
  font-family: "Manrope", sans-serif;
  font-size: clamp(2rem, 4vw, 3.4rem);
  font-weight: 800;
  letter-spacing: -0.055em;
  line-height: 1.12;
}

.feature-card {
  min-height: 330px;
  border: 1px solid #e9e7e2;
  border-radius: 24px;
  padding: 28px;
  transition: transform 180ms ease, box-shadow 180ms ease;
}

.feature-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 18px 50px rgb(30 32 36 / 7%);
}

.feature-card-dark {
  border-color: #17191d;
  background: #17191d;
  color: white;
}

.feature-icon {
  display: grid;
  width: 48px;
  height: 48px;
  place-items: center;
  border-radius: 15px;
  background: rgb(243 108 50 / 10%);
  color: #f36c32;
}

.feature-icon svg {
  width: 23px;
  height: 23px;
}

.market-tab {
  border: 1px solid #e9e7e2;
  border-radius: 999px;
  padding: 9px 15px;
  color: #686b70;
  font-size: 12px;
  font-weight: 700;
  transition: background 160ms ease, color 160ms ease, border-color 160ms ease;
}

.market-tab:hover {
  border-color: #f36c32;
  color: #f36c32;
}

.market-tab.is-active {
  border-color: #17191d;
  background: #17191d;
  color: white;
}

.market-row {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr)) 70px;
  align-items: center;
  border-top: 1px solid #e9e7e2;
  padding: 13px 12px;
  font-size: 11px;
  color: #686b70;
}

.market-row > :last-child {
  width: 60px;
  justify-self: end;
}

.list-check {
  display: grid;
  width: 25px;
  height: 25px;
  flex: none;
  place-items: center;
  border-radius: 50%;
  background: rgb(25 133 108 / 10%);
  color: #19856c;
  font-size: 13px;
  font-weight: 800;
}

.step-card {
  min-height: 235px;
  border-radius: 22px;
  background: #f7f5f0;
  padding: 26px;
}

.step-number {
  display: inline-flex;
  width: 42px;
  height: 42px;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: white;
  color: #f36c32;
  font-size: 12px;
  font-weight: 800;
}

.faq-item {
  padding: 21px 0;
}

.faq-item summary {
  position: relative;
  cursor: pointer;
  list-style: none;
  padding-right: 32px;
  font-family: "Manrope", sans-serif;
  font-size: 15px;
  font-weight: 800;
}

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

.faq-item summary::after {
  position: absolute;
  top: -2px;
  right: 2px;
  color: #f36c32;
  content: "+";
  font-family: "DM Sans", sans-serif;
  font-size: 24px;
  font-weight: 400;
}

.faq-item[open] summary::after {
  content: "−";
}

.faq-item p {
  max-width: 650px;
  padding: 12px 32px 0 0;
  color: #686b70;
  font-size: 14px;
  line-height: 1.8;
}

.footer-link {
  display: block;
  margin-top: 12px;
  color: #686b70;
  transition: color 160ms ease;
}

.whatsapp-widget {
  position: fixed;
  z-index: 60;
  right: 20px;
  right: max(20px, env(safe-area-inset-right, 0px));
  bottom: 20px;
  bottom: max(20px, env(safe-area-inset-bottom, 0px));
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 12px;
  font-family: "DM Sans", sans-serif;
}

.whatsapp-float {
  display: grid;
  width: 62px;
  height: 62px;
  flex: none;
  place-items: center;
  border: 1px solid rgb(255 255 255 / 35%);
  border-radius: 999px;
  background: #20b96a;
  color: white;
  box-shadow: 0 12px 34px rgb(18 130 74 / 30%);
  transition: transform 180ms ease, background 180ms ease, box-shadow 180ms ease;
  -webkit-tap-highlight-color: transparent;
}

.whatsapp-float:hover {
  transform: translateY(-3px);
  background: #159c58;
  box-shadow: 0 16px 38px rgb(18 130 74 / 38%);
}

.whatsapp-float:focus-visible,
.whatsapp-prompt-close:focus-visible {
  outline: 3px solid #17191d;
  outline-offset: 4px;
}

.whatsapp-float > svg {
  display: block;
  width: 32px;
  height: 32px;
  flex: none;
}

.whatsapp-prompt {
  display: none;
  max-width: min(355px, calc(100vw - 40px));
  align-items: center;
  gap: 10px;
  border: 1px solid #e9e7e2;
  border-radius: 16px;
  background: white;
  padding: 13px 13px;
  color: #17191d;
  box-shadow: 0 12px 35px rgb(23 25 29 / 14%);
  font-size: 12px;
  line-height: 1.5;
  transform-origin: bottom right;
}

.whatsapp-prompt.is-visible {
  display: flex;
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0) scale(1);
  animation: whatsapp-prompt-in 420ms cubic-bezier(0.2, 0.8, 0.2, 1) both;
}

.whatsapp-prompt.is-dismissed {
  display: none;
}

.whatsapp-prompt strong {
  color: #159c58;
  white-space: nowrap;
}

.whatsapp-prompt-dot {
  width: 9px;
  height: 9px;
  flex: none;
  border-radius: 50%;
  background: #20b96a;
  box-shadow: 0 0 0 4px rgb(32 185 106 / 12%);
}

.whatsapp-prompt-close {
  display: grid;
  width: 26px;
  height: 26px;
  flex: none;
  place-items: center;
  border-radius: 50%;
  color: #686b70;
  font-size: 19px;
  line-height: 1;
  transition: background 160ms ease;
}

.whatsapp-prompt-close:hover {
  background: #f7f5f0;
}

.whatsapp-widget.is-nudging .whatsapp-float {
  animation: whatsapp-nudge 850ms ease-in-out;
}

@keyframes whatsapp-nudge {
  0%,
  100% {
    transform: translateX(0);
  }
  20%,
  60% {
    transform: translateX(-5px) rotate(-1deg);
  }
  40%,
  80% {
    transform: translateX(5px) rotate(1deg);
  }
}

@keyframes whatsapp-prompt-in {
  from {
    transform: translateY(10px) scale(0.97);
  }
  to {
    transform: translateY(0) scale(1);
  }
}

@media (max-width: 480px) {
  .whatsapp-widget {
    right: 16px;
    right: max(16px, env(safe-area-inset-right, 0px));
    bottom: 16px;
    bottom: max(16px, env(safe-area-inset-bottom, 0px));
  }

  .whatsapp-float {
    width: 56px;
    height: 56px;
  }

  .whatsapp-float > svg {
    width: 29px;
    height: 29px;
  }

  .whatsapp-prompt {
    max-width: calc(100vw - 32px);
  }
}

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

  .whatsapp-widget.is-nudging .whatsapp-float {
    animation: none;
  }

  .whatsapp-prompt {
    animation: none;
    opacity: 1;
    transform: none;
  }
}
