/* Progressive enhancement: content stays visible without JavaScript. */
.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  background: #fcf5ebf2;
  backdrop-filter: blur(16px);
  transition: box-shadow .25s ease;
}
.site-header.is-scrolled {
  box-shadow: 0 12px 28px -20px #063f3560;
}
.reading-progress {
  position: absolute;
  inset-inline: 0;
  bottom: -1px;
  height: 2px;
  background: #008069;
  transform: scaleX(var(--reading-progress, 0));
  transform-origin: left;
}
[dir="rtl"] .reading-progress {
  transform-origin: right;
}
section[id],
#offer,
#bot-demo {
  scroll-margin-top: 100px;
}
.skip-link {
  z-index: 20;
}
main::before {
  opacity: .19;
}
.campaign-hero {
  position: relative;
  isolation: isolate;
}
.campaign-hero::before {
  content: "";
  position: absolute;
  z-index: -1;
  inset: 4% 0 12%;
  border-radius: 50%;
  background: radial-gradient(ellipse, #cdebdc80, transparent 68%);
  pointer-events: none;
}
.hero h1 .accent {
  background: linear-gradient(110deg, #075e54 10%, #16a168 60%, #075e54);
  background-clip: text;
  -webkit-text-fill-color: transparent;
}
.offer-card {
  position: relative;
  background:
    radial-gradient(ellipse at 0 0, #25896950, transparent 65%),
    #063f35;
  border-color: #39806a;
  box-shadow: 0 30px 65px -28px #063f3560, inset 0 1px #ffffff20;
}
.offer-card::before {
  content: "";
  position: absolute;
  inset: -1px 15% auto;
  height: 1px;
  background: linear-gradient(90deg, transparent, #a9efbd, transparent);
}
.hero-scene {
  position: relative;
  margin-top: 1.7rem;
  max-width: 480px;
  pointer-events: none;
}
.hero-scene svg {
  display: block;
  width: 100%;
  height: auto;
  overflow: visible;
}
.scene-orbit {
  transform-origin: 240px 115px;
  transform: rotate(var(--orbit-turn, 0deg));
}
.scene-car {
  transform: translateX(var(--car-travel, 0px));
}
.scene-message-a {
  transform: translateY(var(--message-a, 0px));
}
.scene-message-b {
  transform: translateY(var(--message-b, 0px));
}
.scene-packet {
  stroke-dasharray: 9 230;
  stroke-dashoffset: var(--packet-travel, 0);
}
.math-strip {
  border: 1px solid #d5e4db;
  border-radius: 24px;
  padding: 2.5rem 1rem;
  background: #ffffff90;
}
.math-equation strong {
  font-variant-numeric: tabular-nums;
}
.role-card {
  position: relative;
  transition: box-shadow .3s ease, border-color .3s ease;
}
.role-card::before {
  content: "";
  display: block;
  height: 3px;
  width: 38px;
  margin-bottom: 1.4rem;
  border-radius: 3px;
  background: #008069;
  transition: width .3s ease;
}
.role-card:hover,
.role-card:focus-within {
  border-color: #8abda3;
  box-shadow: 0 20px 40px -24px #075e5445;
}
.role-card:hover::before {
  width: 72px;
}
.product-demo {
  position: relative;
  box-shadow: 0 30px 65px -28px #075e5440;
}
.demo-phone {
  transform: perspective(1000px) rotateY(var(--phone-angle, 0deg));
}
.workflow {
  position: relative;
  overflow: hidden;
}
.workflow::before {
  content: "";
  position: absolute;
  width: 380px;
  height: 380px;
  inset-inline-start: -180px;
  bottom: -240px;
  border: 1px solid #a9efbd30;
  border-radius: 50%;
  box-shadow: 0 0 0 45px #a9efbd08, 0 0 0 90px #a9efbd06;
  pointer-events: none;
}
.steps {
  position: relative;
  padding-inline-start: 18px;
}
.steps::before,
.steps::after {
  content: "";
  position: absolute;
  inset-block: 12px;
  inset-inline-start: 0;
  width: 2px;
  border-radius: 2px;
  background: #ffffff20;
}
.steps::after {
  background: #a9efbd;
  transform: scaleY(var(--workflow-progress, 0));
  transform-origin: top;
}
.step {
  position: relative;
  transition: background .3s ease, border-color .3s ease;
}
.step::before {
  content: "";
  position: absolute;
  inset-inline-start: -24px;
  top: 24px;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #28695b;
  border: 2px solid #81a99b;
  transition: background .3s ease, box-shadow .3s ease;
}
.step.is-current {
  background: #ffffff0f;
  border-color: #a9efbd55;
}
.step.is-current::before {
  background: #a9efbd;
  box-shadow: 0 0 0 4px #a9efbd15;
}
.guarantee-seal {
  transform: rotate(var(--seal-turn, 0deg));
}
.motion-enter {
  animation: enter-view .75s cubic-bezier(.2, .7, .2, 1) both;
  animation-delay: var(--reveal-delay, 0ms);
}
.demo-ready .demo-panel:not([hidden]) .demo-bubble {
  animation: message-enter .45s cubic-bezier(.2, .7, .2, 1) both;
}
.demo-bubble:nth-child(2) {
  animation-delay: .08s !important;
}
.demo-bubble:nth-child(3) {
  animation-delay: .16s !important;
}
.demo-bubble:nth-child(4) {
  animation-delay: .24s !important;
}
.demo-bubble:nth-child(5) {
  animation-delay: .32s !important;
}
@keyframes enter-view {
  from {
    opacity: 0;
    transform: translateY(24px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
@keyframes message-enter {
  from {
    opacity: 0;
    transform: translateY(10px) scale(.98);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}
@media (min-width: 800px) {
  .proof-copy {
    position: sticky;
    top: 130px;
    align-self: start;
    padding-top: 2rem;
  }
}
@media (max-width: 799px) {
  .site-header > .button {
    display: none;
  }
  .hero-scene {
    max-width: 380px;
    margin-inline: auto;
    margin-top: 1rem;
  }
  .site-header {
    gap: .8rem;
  }
  .site-header .nav-links {
    font-size: .75rem;
  }
}
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  .motion-enter,
  .demo-ready .demo-panel:not([hidden]) .demo-bubble {
    animation: none;
  }
  .scene-orbit,
  .scene-car,
  .scene-message-a,
  .scene-message-b,
  .demo-phone,
  .guarantee-seal {
    transform: none;
  }
  .steps::after {
    transform: none;
  }
}
