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

:root {
  --bg: #fcfcfc;
  --bg-elevated: #f9f9f9;
  --bg-card: #fff;
  --border: rgba(0, 0, 0, 0.1);
  --border-subtle: rgba(0, 0, 0, 0.08);
  --text: #0a0a0a;
  --text-muted: #525252;
  --text-dim: #737373;
  --blue: #101010;
  --blue-hover: #333333;
  --blue-50: #f5f5f5;
  --purple: #9b73ff;
  --purple-muted: rgba(155, 115, 255, 0.1);
  --accent-yellow: #ffb508;
  --brand-50: #eef2ff;
  --brand-500: #6366f1;
  --brand-600: #4f46e5;
  --brand-700: #4338ca;
  --radius-sm: 6px;
  --radius-md: 12px;
  --radius-lg: 16px;
  --radius-xl: 20px;
  --radius-feature: 24px;
  --container: 1200px;
  --nav-height: 72px;
  --hero-px: 28px;
  --hero-text-max: 800px;
  --hero-media-max: 900px;
  --hero-overlap: 28px;
  --hero-media-overlap: calc(0.08 * min(calc(100vw - 2 * var(--hero-px)), var(--hero-media-max)));
  --hero-section-fade: clamp(56px, 7vw, 80px);
  --hero-aurora-extend: 32%;
  --hero-media-crop: clamp(20px, 3.5vw, 48px);
  --hero-media-fade: clamp(96px, 18vw, 220px);
  --hero-parallax-max: 40px;
  --nav-bottom-height: calc(56px + max(16px, env(safe-area-inset-bottom, 0px)));
  --nav-bottom-offset: 0px;
  --hero-intro-gap: 180ms;
  --hero-intro-duration: 900ms;
  --hero-intro-duration-visual: 1200ms;
  --hero-intro-ease: cubic-bezier(0.22, 1, 0.36, 1);
  --hero-intro-offset: 22px;
  --hero-intro-start-delay: 120ms;
  --hero-intro-aurora-delay: 1200ms;
  --hero-intro-video-delay: 1200ms;
  --footer-bg: #1a1f2e;
  --footer-bg-rgb: 26, 31, 46;
  --site-footer-height: 520px;
  --font-headline: "Fastwork", "Google Sans", "IBM Plex Sans Thai", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

@font-face {
  font-family: "Fastwork";
  src: url("fonts/fastwork-Regular.ttf") format("truetype");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Fastwork";
  src: url("fonts/fastwork-Bold.ttf") format("truetype");
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

@media (min-width: 768px) {
  :root {
    --hero-overlap: 42px;
    --hero-px: 32px;
  }
}

@media (min-width: 1024px) {
  :root {
    --hero-overlap: 56px;
  }
}

@media (min-width: 1024px) {
  :root {
    --hero-px: 36px;
  }
}

@media (min-width: 1280px) {
  :root {
    --hero-px: 40px;
  }
}

html {
  scroll-behavior: smooth;
}

@media (hover: none) and (pointer: coarse) {
  html {
    scroll-behavior: auto;
  }
}

body {
  font-family: "Google Sans", "IBM Plex Sans Thai", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}

main {
  position: relative;
  z-index: 1;
}

h1, h2,
.hero__title,
.section-title,
.features-included__title,
.feature-mockup__heading,
.role-panel__title,
.feature-block__content h3,
.tiers__heading,
.tiers-card__title,
.feature-card h3,
.testimonials__heading,
.faq__heading,
.footer-cta__headline,
.cta-banner__text h2,
.final-cta__inner h2 {
  font-family: var(--font-headline);
  font-weight: 400;
}

img {
  display: block;
  max-width: 100%;
  height: auto;
}

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

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

.container {
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: var(--hero-px);
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 20px;
  border-radius: var(--radius-sm);
  font-size: 14px;
  font-weight: 500;
  transition: background 0.2s, color 0.2s, border-color 0.2s;
  white-space: nowrap;
}

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

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

.btn--secondary {
  background: var(--bg-card);
  color: var(--text);
  border: 1px solid var(--border);
}

.btn--secondary:hover {
  background: var(--bg-elevated);
  border-color: rgba(0, 0, 0, 0.15);
}

.btn--sm {
  padding: 10px 16px;
  font-size: 13px;
}

.btn--lg {
  padding: 14px 24px;
  font-size: 15px;
}

.btn--pill {
  padding: 14px 28px;
  border-radius: 9999px;
  font-size: 15px;
}

.btn--pill.btn--nav {
  padding: 10px 20px;
  font-size: 14px;
}

/* Navigation */
.nav {
  position: fixed;
  top: calc(100vh - 56px - max(16px, env(safe-area-inset-bottom, 0px)));
  left: 0;
  right: 0;
  z-index: 100;
  display: flex;
  justify-content: center;
  color: var(--text);
  pointer-events: none;
  opacity: 0;
  visibility: hidden;
  transform: translateY(calc(100% + 24px));
  transition:
    opacity 350ms cubic-bezier(0.4, 0, 1, 1),
    visibility 350ms cubic-bezier(0.4, 0, 1, 1),
    transform 350ms cubic-bezier(0.4, 0, 1, 1);
}

.nav.is-scrolled {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
  transition-timing-function: cubic-bezier(0, 0, 0.2, 1);
}

.nav__inner {
  position: relative;
  isolation: isolate;
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  max-width: var(--container);
  height: var(--nav-height);
  gap: 24px;
  margin-inline: auto;
  padding-inline: var(--hero-px);
  pointer-events: none;
  background: transparent;
  border: 1px solid transparent;
  border-radius: 0;
  box-shadow: none;
  transform: translateZ(0);
  transition:
    border-radius 350ms cubic-bezier(0.4, 0, 1, 1),
    height 350ms cubic-bezier(0.4, 0, 1, 1),
    padding-inline 350ms cubic-bezier(0.4, 0, 1, 1),
    gap 350ms cubic-bezier(0.4, 0, 1, 1),
    width 350ms cubic-bezier(0.4, 0, 1, 1),
    max-width 350ms cubic-bezier(0.4, 0, 1, 1);
}

.nav__inner::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: rgba(255, 255, 255, 0.72);
  border: 1px solid rgba(255, 255, 255, 0.65);
  box-shadow:
    rgba(0, 0, 0, 0.06) 0px 1px 3px,
    0 4px 24px rgba(0, 0, 0, 0.04);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  opacity: 0;
  pointer-events: none;
  z-index: -1;
  transition: opacity 280ms cubic-bezier(0.4, 0, 1, 1);
}

.nav__inner.is-transitioning {
  will-change: border-radius, height, width, max-width;
}

.nav.is-scrolled .nav__inner {
  width: fit-content;
  max-width: calc(100% - 2 * var(--hero-px));
  height: 56px;
  padding-left: 20px;
  padding-right: 12px;
  gap: 16px;
  border-radius: 9999px;
  pointer-events: auto;
  transition-timing-function: cubic-bezier(0, 0, 0.2, 1);
}

.nav.is-scrolled .nav__inner::before {
  opacity: 1;
  transition-timing-function: cubic-bezier(0, 0, 0.2, 1);
}

.nav.is-scrolled .nav__logo,
.nav.is-scrolled .nav__links,
.nav.is-scrolled .nav__actions {
  flex-shrink: 0;
}

.nav.is-scrolled .nav__links {
  gap: 0;
  transition-timing-function: cubic-bezier(0, 0, 0.2, 1);
}

.nav.is-scrolled .nav__link {
  padding: 8px 10px;
  font-size: 13px;
  transition-timing-function: cubic-bezier(0, 0, 0.2, 1), cubic-bezier(0, 0, 0.2, 1), cubic-bezier(0, 0, 0.2, 1);
}

.nav.is-scrolled .nav__logo-img {
  height: 20px;
  transition-timing-function: cubic-bezier(0, 0, 0.2, 1);
}

@media (prefers-reduced-motion: reduce) {
  .nav,
  .nav__inner,
  .nav__inner::before,
  .nav__links,
  .nav__link,
  .nav__logo-img,
  .footer__inner,
  .footer-cta__inner {
    transition: none;
  }

  .nav__inner.is-transitioning {
    will-change: auto;
  }
}

.nav__logo {
  display: flex;
  align-items: center;
  flex-shrink: 0;
  line-height: 0;
}

.nav__logo-img {
  display: block;
  height: 22px;
  width: auto;
  transition: height 350ms cubic-bezier(0.4, 0, 1, 1);
}

.nav__links {
  display: flex;
  align-items: center;
  gap: 4px;
  transition: gap 350ms cubic-bezier(0.4, 0, 1, 1);
}

.nav__link {
  padding: 8px 12px;
  font-size: 14px;
  color: var(--text-muted);
  border-radius: var(--radius-sm);
  transition:
    color 0.2s,
    padding 350ms cubic-bezier(0.4, 0, 1, 1),
    font-size 350ms cubic-bezier(0.4, 0, 1, 1);
  white-space: nowrap;
}

.nav__link:hover {
  color: var(--text);
}

.nav__link--muted {
  color: var(--text-dim);
}

.nav__link--dropdown::after {
  content: "";
  display: inline-block;
  width: 0;
  height: 0;
  margin-left: 4px;
  border-left: 4px solid transparent;
  border-right: 4px solid transparent;
  border-top: 4px solid currentColor;
  vertical-align: middle;
  opacity: 0.6;
}

.nav__actions {
  display: flex;
  align-items: center;
  gap: 8px;
}

/* Hero — Wayflyer style */
.hero {
  position: relative;
  width: 100%;
}

.hero--wayflyer {
  position: relative;
  overflow: hidden;
  z-index: 0;
  height: fit-content;
  min-height: 0;
  background: var(--footer-bg);
  padding-top: 0;
  padding-bottom: clamp(16px, 3vw, 32px);
}

.hero--wayflyer::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 5;
  height: clamp(64px, 9vh, 120px);
  pointer-events: none;
  background: linear-gradient(
    180deg,
    rgba(var(--footer-bg-rgb), 0) 0%,
    var(--bg-card, #fff) 100%
  );
}

#hero-gradual-blur-root {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: clamp(3.5rem, 10vh, 7rem);
  pointer-events: none;
  z-index: 4;
}

@keyframes heroIntroReveal {
  from {
    opacity: 0;
    transform: translate3d(0, var(--hero-intro-offset), 0);
    filter: blur(6px);
  }

  to {
    opacity: 1;
    transform: translate3d(0, 0, 0);
    filter: blur(0);
  }
}

@keyframes heroIntroFadeIn {
  from {
    opacity: 0;
    filter: blur(8px);
  }

  to {
    opacity: 1;
    filter: blur(0);
  }
}

@keyframes heroIntroVisualIn {
  from {
    opacity: 0;
    transform: translate3d(0, calc(var(--hero-intro-offset) * 1.5), 0) scale(0.975);
    filter: blur(10px);
  }

  to {
    opacity: 1;
    transform: translate3d(0, 0, 0) scale(1);
    filter: blur(0);
  }
}

.hero--wayflyer.is-intro .hero__logo,
.hero--wayflyer.is-intro .hero__title,
.hero--wayflyer.is-intro .hero__subtitle,
.hero--wayflyer.is-intro .hero__cta,
.hero--wayflyer.is-intro .hero__aurora,
.hero--wayflyer.is-intro .hero__media-frame {
  opacity: 0;
}

.hero--wayflyer.is-intro-active .hero__logo {
  animation: heroIntroReveal var(--hero-intro-duration) var(--hero-intro-ease) forwards;
  animation-delay: calc(var(--hero-intro-gap) * 0);
}

.hero--wayflyer.is-intro-active .hero__title {
  animation: heroIntroReveal var(--hero-intro-duration) var(--hero-intro-ease) forwards;
  animation-delay: calc(var(--hero-intro-gap) * 1);
}

.hero--wayflyer.is-intro-active .hero__subtitle {
  animation: heroIntroReveal var(--hero-intro-duration) var(--hero-intro-ease) forwards;
  animation-delay: calc(var(--hero-intro-gap) * 2);
}

.hero--wayflyer.is-intro-active .hero__cta {
  animation: heroIntroReveal var(--hero-intro-duration) var(--hero-intro-ease) forwards;
  animation-delay: calc(var(--hero-intro-gap) * 3);
}

.hero--wayflyer.is-intro-active .hero__aurora {
  animation: heroIntroFadeIn var(--hero-intro-duration-visual) var(--hero-intro-ease) forwards;
  animation-delay: var(--hero-intro-aurora-delay);
}

.hero--wayflyer.is-intro-active .hero__media-frame {
  animation: heroIntroVisualIn var(--hero-intro-duration-visual) var(--hero-intro-ease) forwards;
  animation-delay: var(--hero-intro-video-delay);
}

.hero--wayflyer.is-intro-done .hero__logo,
.hero--wayflyer.is-intro-done .hero__title,
.hero--wayflyer.is-intro-done .hero__subtitle,
.hero--wayflyer.is-intro-done .hero__cta,
.hero--wayflyer.is-intro-done .hero__aurora,
.hero--wayflyer.is-intro-done .hero__media-frame {
  opacity: 1;
  transform: none;
  filter: none;
  animation: none;
}

@media (prefers-reduced-motion: reduce) {
  .hero--wayflyer.is-intro .hero__logo,
  .hero--wayflyer.is-intro .hero__title,
  .hero--wayflyer.is-intro .hero__subtitle,
  .hero--wayflyer.is-intro .hero__cta,
  .hero--wayflyer.is-intro .hero__aurora,
  .hero--wayflyer.is-intro .hero__media-frame {
    opacity: 1;
  }

  .hero--wayflyer.is-intro-active .hero__logo,
  .hero--wayflyer.is-intro-active .hero__title,
  .hero--wayflyer.is-intro-active .hero__subtitle,
  .hero--wayflyer.is-intro-active .hero__cta,
  .hero--wayflyer.is-intro-active .hero__aurora,
  .hero--wayflyer.is-intro-active .hero__media-frame {
    animation: none;
  }
}

.hero__aurora {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  overflow: hidden;
}

.hero__aurora-canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.hero__inner {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
  padding: 48px var(--hero-px) 0;
  text-align: center;
}

.hero--wayflyer .hero__inner {
  overflow: hidden;
}

.hero__content {
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 100%;
  max-width: var(--hero-text-max);
  margin-bottom: 48px;
}

.hero__logo {
  display: block;
  width: auto;
  height: 24px;
  margin: 0 auto clamp(16px, 3vw, 24px);
}

.hero__title {
  font-family: var(--font-headline);
  font-weight: 700;
  font-size: clamp(2rem, 4.8vw, 3.25rem);
  line-height: 1.08;
  letter-spacing: -0.03em;
  color: var(--text);
  margin-bottom: 20px;
}

.hero--wayflyer .hero__title {
  font-family: var(--font-headline);
  font-weight: 700;
  color: #fafafa;
}

.hero__title-line {
  display: block;
}

.hero__title-line--second {
  display: block;
  white-space: nowrap;
}

.hero__title-line-part {
  display: inline;
}

.hero--wayflyer .hero__subtitle {
  color: rgba(255, 255, 255, 0.72);
}

.hero--wayflyer .hero__trust {
  color: rgba(255, 255, 255, 0.55);
}

.hero--wayflyer .hero__trust-stars {
  color: rgba(255, 255, 255, 0.72);
}

.hero--wayflyer .hero__trust-divider {
  color: rgba(255, 255, 255, 0.25);
}

.hero--wayflyer .btn--primary {
  background: #fff;
  color: var(--text);
}

.hero--wayflyer .btn--primary:hover {
  background: rgba(255, 255, 255, 0.88);
}

.hero__title-accent {
  font-family: "Momo Signature", cursive;
  font-weight: 400;
  letter-spacing: 0;
  line-height: 1.35;
  display: inline-block;
  padding-block: 0.06em;
  background: linear-gradient(90deg, #84B5FF, #0569FF, #AE8EFF, #FFCCA5);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
}

.hero__subtitle {
  font-size: clamp(0.9375rem, 1.75vw, 1rem);
  line-height: 1.65;
  color: var(--text-muted);
  max-width: 560px;
  margin-bottom: 20px;
}

.hero__trust {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 8px 12px;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--text-dim);
  margin-bottom: 28px;
}

.hero__trust-stars {
  color: var(--text-muted);
}

.hero__trust-divider {
  color: rgba(0, 0, 0, 0.2);
}


.hero__media {
  position: relative;
  width: 100%;
  max-width: var(--hero-media-max);
  margin-bottom: 0;
  -webkit-mask-image: linear-gradient(
    to bottom,
    #000 0%,
    #000 calc(100% - var(--hero-media-fade)),
    transparent 100%
  );
  mask-image: linear-gradient(
    to bottom,
    #000 0%,
    #000 calc(100% - var(--hero-media-fade)),
    transparent 100%
  );
}

.hero__media.is-parallax-active {
  will-change: transform;
  backface-visibility: hidden;
}

.hero__media-frame {
  position: relative;
  z-index: 1;
  border-radius: var(--radius-xl);
  border: 2.5px solid rgba(255, 255, 255, 0.45);
  background: var(--footer-bg);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.6);
}

@media (prefers-reduced-motion: reduce) {
  .hero__media {
    transform: none !important;
  }
}

.hero__media-frame img {
  position: relative;
  z-index: 0;
  width: 100%;
  aspect-ratio: 5 / 3;
  object-fit: cover;
  border-radius: calc(var(--radius-xl) - 2.5px);
}

.hero--wayflyer:has(.hero__media-frame--platform) {
  overflow: hidden;
}

.hero--wayflyer:has(.hero__media-frame--platform) .hero__inner {
  overflow: hidden;
}

.hero--wayflyer:has(.hero__media-frame--platform) .hero__media {
  overflow: visible;
  -webkit-mask-image: none;
  mask-image: none;
}

.hero__media-frame--platform {
  overflow: visible;
  border: none;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}

.hero__platform-visual {
  width: 100%;
  overflow: visible;
}

.hero__media-frame--platform .story-scene__teams-stage {
  max-width: none;
  overflow: visible;
}

.hero__media-frame--platform .story-scene__team-badges {
  overflow: visible;
}

.hero__media-frame--platform .story-scene__teams-mockup {
  display: block;
  width: 100%;
  height: auto;
  max-width: none;
  aspect-ratio: auto;
  object-fit: contain;
  border-radius: 0;
}

.hero__media-frame--platform .hero__play {
  z-index: 20;
}

.hero__cta {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  margin-top: 4px;
}

.hero__cta-disclaimer {
  margin: 0;
  font-size: 12px;
  font-weight: 500;
  line-height: 1.4;
  letter-spacing: 0.01em;
  color: rgba(255, 255, 255, 0.55);
  text-align: center;
}

.hero__play {
  position: absolute;
  top: 50%;
  left: 50%;
  z-index: 3;
  transform: translate(-50%, -50%);
  display: flex;
  align-items: center;
  justify-content: center;
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: var(--blue);
  color: #fff;
  box-shadow: 0 8px 24px rgba(16, 16, 16, 0.25);
  transition: transform 0.2s, background 0.2s;
}

.hero__play:hover {
  transform: translate(-50%, -50%) scale(1.05);
  background: var(--blue-hover);
}

.hero__play svg {
  margin-left: 3px;
}

@media (min-width: 769px) {
  .hero--wayflyer {
    height: 100vh;
    max-height: 100vh;
    overflow: hidden;
    padding-bottom: 0;
    box-sizing: border-box;
  }

  .hero--wayflyer .hero__inner {
    height: 100%;
    max-height: 100%;
    overflow: hidden;
    box-sizing: border-box;
    display: flex;
    flex-direction: column;
  }

  .hero__content {
    flex-shrink: 0;
  }

  .hero__media {
    flex: 1 1 auto;
    min-height: 0;
  }

  .hero--wayflyer:has(.hero__media-frame--platform) .hero__media {
    overflow: visible;
  }
}

@media (min-width: 768px) {
  .hero__inner {
    padding-top: 64px;
  }

  .hero__content {
    margin-bottom: 56px;
  }

  .hero__title {
    margin-bottom: 24px;
  }

  .hero__subtitle {
    margin-bottom: 24px;
  }

  .hero__trust {
    margin-bottom: 32px;
  }
}

/* Features — problem-first layout */
.story-stack-section {
  position: relative;
  z-index: 3;
  margin-top: 0;
  padding-top: clamp(48px, 8vw, 96px);
  background: var(--bg-card);
  overflow-x: clip;
}

.story-stack-section::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 2;
  height: clamp(140px, 20vh, 260px);
  pointer-events: none;
  background: linear-gradient(
    180deg,
    rgba(255, 255, 255, 0) 0%,
    rgba(255, 255, 255, 0.82) 58%,
    #fff 100%
  );
}

.story-stack-section .container.story-stack-section__inner {
  max-width: none;
  width: 100%;
  padding-inline: 0;
}

.story-stack-section__inner {
  position: relative;
  z-index: 1;
  overflow-x: visible;
}

.story-stack-section #story-stack-root,
.story-stack-section .problem-story-stack,
.story-stack-section .scroll-stack-scroller,
.story-stack-section .scroll-stack-inner {
  overflow-x: visible;
}

.story-stack-section .scroll-stack-card.story-scene--gallery {
  overflow: visible;
}

.story-stack-section__inner.section-reveal,
.story-stack-section__inner.section-reveal.is-visible {
  transform: none;
}

#pricing-section-root,
.testimonials,
.faq {
  position: relative;
  z-index: 5;
  isolation: isolate;
}

.pricing-section {
  scroll-margin-top: 48px;
}

.features-included {
  position: relative;
  z-index: 2;
  margin-top: 0;
  padding: clamp(72px, 10vw, 120px) 0 clamp(80px, 12vw, 140px);
  background: var(--bg-card);
  color: var(--text);
}

.features-included::before {
  display: none;
}

.features-included__inner {
  position: relative;
  z-index: 1;
}

.features-included__layout {
  display: flex;
  flex-direction: column;
  gap: 32px;
  min-width: 0;
}

.features-included__sticky {
  display: none;
}

.features-included__steps {
  display: flex;
  flex-direction: column;
  min-width: 0;
}

.features-included__step {
  display: flex;
  flex-direction: column;
  gap: 32px;
  padding: clamp(40px, 6vw, 56px) 0;
}

.features-included__step:first-child {
  padding-top: 0;
}

.features-included__step-visual {
  min-width: 0;
}

@media (min-width: 900px) {
  .features-included__layout {
    display: grid;
    grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr);
    gap: clamp(40px, 5vw, 64px);
    align-items: start;
    container-type: inline-size;
  }

  .features-included__sticky {
    display: block;
    position: sticky;
    top: calc(50vh - 52.5cqi / 2);
    align-self: start;
  }

  .features-included__step-visual {
    display: none;
  }

  .features-included__step {
    min-height: clamp(420px, 72vh, 640px);
    justify-content: center;
    gap: 0;
    padding: clamp(32px, 5vw, 48px) 0;
    opacity: 0.32;
    transition: opacity 0.45s ease;
  }

  .features-included__step.is-active {
    opacity: 1;
  }

  .features-included__step .features-included__title,
  .features-included__step .features-included__desc,
  .features-included__step .features-included__bullets li {
    transition: color 0.45s ease;
  }

  .features-included__step:not(.is-active) .features-included__title {
    color: var(--text-dim);
  }

  .features-included__step:not(.is-active) .features-included__desc,
  .features-included__step:not(.is-active) .features-included__bullets li {
    color: rgba(115, 115, 115, 0.72);
  }

  .features-included__step:not(.is-active) .features-included__bullets strong {
    color: var(--text-dim);
  }
}

.features-included__copy {
  min-width: 0;
}

.features-included__title {
  margin: 0;
  font-size: clamp(1.5rem, 2.8vw, 2rem);
  font-weight: 500;
  letter-spacing: -0.025em;
  line-height: 1.15;
  color: var(--text);
}

.features-included__desc {
  margin: 16px 0 0;
  font-size: 15px;
  line-height: 1.7;
  color: var(--text-muted);
  max-width: 34rem;
}

.features-included__bullets {
  margin: 24px 0 0;
  padding: 0;
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0;
}

.features-included__bullets li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 14px 0;
  font-size: 14px;
  line-height: 1.55;
  color: var(--text-dim);
}

.features-included__bullets li:first-child {
  padding-top: 0;
}

.features-included__bullets li:last-child {
  padding-bottom: 0;
}

.features-included__bullets strong {
  font-weight: 500;
  color: var(--text);
}

.features-included__check,
.features-included__number {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  width: 20px;
  height: 20px;
  margin-top: 1px;
  border-radius: 50%;
  background: var(--blue-50);
  color: var(--blue);
}

.features-included__bullets--numbered {
  counter-reset: features-bullet;
}

.features-included__bullets--numbered li {
  counter-increment: features-bullet;
}

.features-included__number::before {
  content: counter(features-bullet);
  font-size: 11px;
  font-weight: 500;
  line-height: 1;
}

.features-included__card {
  position: relative;
  border-radius: var(--radius-feature);
  border: 1px solid var(--border-subtle);
  box-shadow:
    0 24px 48px rgba(15, 23, 42, 0.06),
    0 0 0 1px rgba(15, 23, 42, 0.04);
  overflow: hidden;
  aspect-ratio: 1 / 1;
}

.features-included__media-stack {
  position: relative;
  width: 100%;
  aspect-ratio: 1 / 1;
  max-height: calc(100vh - var(--nav-height) - 48px);
}

.features-included__media-stack .features-included__image {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  transition: opacity 0.55s ease;
  will-change: opacity;
}

.features-included__media-stack .features-included__image.is-active {
  opacity: 1;
}

.features-included__card > .features-included__image {
  position: absolute;
  inset: 0;
}

.features-included__image {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

@media (prefers-reduced-motion: reduce) {
  .features-included__media-stack .features-included__image,
  .features-included__step {
    transition: none;
  }
}

/* Feature mockups */
.feature-mockup {
  border-radius: var(--radius-lg);
  border: 1px solid var(--border-subtle);
  background: var(--bg-card);
  box-shadow:
    0 20px 40px rgba(15, 23, 42, 0.08),
    0 0 0 1px rgba(15, 23, 42, 0.04);
  overflow: hidden;
}

.feature-mockup__chrome {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 12px 16px;
  border-bottom: 1px solid var(--border-subtle);
  background: rgba(249, 249, 249, 0.8);
}

.feature-mockup__dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
}

.feature-mockup__dot--red { background: rgba(248, 113, 113, 0.8); }
.feature-mockup__dot--amber { background: rgba(251, 191, 36, 0.8); }
.feature-mockup__dot--green { background: rgba(74, 222, 128, 0.8); }

.feature-mockup__url {
  display: none;
  margin-left: 8px;
  padding: 4px 12px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border-subtle);
  background: var(--bg-card);
  font-size: 11px;
  color: var(--text-dim);
}

@media (min-width: 640px) {
  .feature-mockup__url {
    display: inline-block;
  }
}

.feature-mockup__dashboard-grid {
  display: grid;
  grid-template-columns: 1fr;
}

@media (min-width: 640px) {
  .feature-mockup__dashboard-grid {
    grid-template-columns: 180px 1fr;
  }
}

.feature-mockup__sidebar {
  display: none;
  flex-direction: column;
  gap: 4px;
  padding: 16px;
  border-right: 1px solid var(--border-subtle);
  background: rgba(249, 249, 249, 0.5);
}

@media (min-width: 640px) {
  .feature-mockup__sidebar {
    display: flex;
  }
}

.feature-mockup__sidebar-label {
  margin: 0 0 8px;
  padding: 0 8px;
  font-size: 10px;
  font-weight: 400;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--text-dim);
}

.feature-mockup__company {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px;
  border-radius: var(--radius-md);
  font-size: 13px;
  color: var(--text-muted);
}

.feature-mockup__company.is-active {
  background: var(--blue);
  color: #fff;
  box-shadow: 0 1px 2px rgba(16, 16, 16, 0.2);
}

.feature-mockup__company-avatar {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  width: 24px;
  height: 24px;
  border-radius: var(--radius-sm);
  font-size: 11px;
  font-weight: 400;
  background: var(--bg-elevated);
  color: var(--text-dim);
}

.feature-mockup__company.is-active .feature-mockup__company-avatar {
  background: rgba(255, 255, 255, 0.2);
  color: #fff;
}

.feature-mockup__company-name {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.feature-mockup__add-company {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: 4px;
  padding: 8px;
  border-radius: var(--radius-md);
  border: 1px dashed var(--border-subtle);
  font-size: 13px;
  color: var(--text-dim);
}

.feature-mockup__main {
  padding: 20px;
}

.feature-mockup__main-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.feature-mockup__context {
  margin: 0;
  font-size: 12px;
  color: var(--text-dim);
}

.feature-mockup__heading {
  margin: 0;
  font-size: 18px;
  font-weight: 400;
  color: var(--text);
}

.feature-mockup__badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 10px;
  border-radius: 9999px;
  font-size: 12px;
  font-weight: 400;
}

.feature-mockup__badge--active {
  background: #f0fdf4;
  color: #16a34a;
  border: 1px solid #dcfce7;
}

.feature-mockup__badge-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #22c55e;
}

.feature-mockup__stats {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin-top: 16px;
}

.feature-mockup__stat {
  padding: 12px;
  border-radius: var(--radius-md);
  border: 1px solid var(--border-subtle);
  background: rgba(249, 249, 249, 0.6);
}

.feature-mockup__stat-label {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  color: var(--text-dim);
}

.feature-mockup__stat-value {
  margin: 4px 0 0;
  font-size: 24px;
  font-weight: 400;
  color: var(--text);
}

.feature-mockup__chart {
  margin-top: 12px;
  padding: 12px;
  border-radius: var(--radius-md);
  border: 1px solid var(--border-subtle);
}

.feature-mockup__chart-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 12px;
  color: var(--text-muted);
}

.feature-mockup__chart-trend {
  font-weight: 400;
  color: #16a34a;
}

.feature-mockup__chart-bars {
  display: flex;
  align-items: flex-end;
  gap: 6px;
  height: 64px;
  margin-top: 12px;
}

.feature-mockup__chart-bars span {
  flex: 1;
  height: var(--h);
  border-radius: 2px;
  background: rgba(16, 16, 16, 0.75);
}

/* Payments mockup */
.feature-mockup--payments {
  padding: 20px;
}

.feature-mockup__payments-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.feature-mockup__payments-title {
  margin: 0;
  font-size: 15px;
  font-weight: 400;
  color: var(--text);
}

.feature-mockup__payments-badge {
  padding: 4px 8px;
  border-radius: var(--radius-sm);
  background: var(--blue-50);
  font-size: 11px;
  font-weight: 400;
  color: var(--blue-hover);
}

.feature-mockup__payments-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-top: 16px;
}

.feature-mockup__payment-row {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px;
  border-radius: var(--radius-md);
  border: 1px solid var(--border-subtle);
  background: rgba(249, 249, 249, 0.5);
}

.feature-mockup__payment-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  width: 48px;
  height: 36px;
  border-radius: var(--radius-sm);
  background: linear-gradient(135deg, var(--blue), var(--blue-hover));
  color: #fff;
}

.feature-mockup__payment-info {
  flex: 1;
  min-width: 0;
}

.feature-mockup__payment-label {
  margin: 0;
  font-size: 14px;
  font-weight: 400;
  color: var(--text);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.feature-mockup__payment-tag {
  margin: 2px 0 0;
  font-size: 12px;
  color: var(--text-dim);
}

.feature-mockup__payment-primary {
  flex-shrink: 0;
  padding: 2px 8px;
  border-radius: 9999px;
  background: #f0fdf4;
  border: 1px solid #dcfce7;
  font-size: 10px;
  font-weight: 400;
  color: #16a34a;
}

.feature-mockup__add-payment {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  margin-top: 12px;
  padding: 10px;
  border-radius: var(--radius-md);
  border: 1px dashed var(--border-subtle);
  font-size: 14px;
  color: var(--blue);
}

/* Section typography */
.section-title {
  font-size: clamp(2rem, 4vw, 3rem);
  letter-spacing: -0.03em;
  line-height: 1.1;
  text-align: center;
  margin-bottom: 16px;
}

.section-title--left {
  text-align: left;
}

.section-subtitle {
  font-size: 17px;
  color: var(--text-muted);
  text-align: center;
  max-width: 640px;
  margin: 0 auto 48px;
  line-height: 1.6;
}

.section-subtitle--left {
  text-align: left;
  margin-left: 0;
  margin-right: 0;
}

/* Role tabs */
.roles {
  padding: 80px 0;
}

.tabs {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px 24px;
  margin-bottom: 32px;
  border-bottom: 1px solid var(--border-subtle);
  padding-bottom: 16px;
}

.tabs__btn {
  font-size: 14px;
  color: var(--text-dim);
  padding: 4px 0;
  border-bottom: 2px solid transparent;
  margin-bottom: -17px;
  transition: color 0.2s, border-color 0.2s;
}

.tabs__btn:hover {
  color: var(--text-muted);
}

.tabs__btn.is-active {
  color: var(--blue);
  border-bottom-color: var(--blue);
}

.role-panel {
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  padding: 32px;
  background: var(--bg-elevated);
}

.role-panel__header {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 12px;
}

.role-panel__avatar {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  object-fit: cover;
}

.role-panel__title {
  font-size: 1.125rem;
}

.role-panel__desc {
  font-size: 15px;
  color: var(--text-muted);
  max-width: 520px;
  margin-bottom: 16px;
  line-height: 1.6;
}

.role-panel__link {
  display: inline-block;
  font-size: 14px;
  color: var(--text);
  text-decoration: underline;
  text-underline-offset: 3px;
  margin-bottom: 24px;
}

.role-panel__image {
  border-radius: var(--radius-md);
  overflow: hidden;
  border: 1px solid var(--border-subtle);
}

.role-panel__image img {
  width: 100%;
  aspect-ratio: 16 / 8;
  object-fit: cover;
}

/* Feature split blocks */
.features-split {
  padding: 80px 0;
}

.feature-block {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 32px;
  align-items: end;
  margin-bottom: 64px;
}

.feature-block--reverse {
  grid-template-columns: 1fr 1.4fr;
}

.feature-block--reverse .feature-block__media {
  order: 2;
}

.feature-block--reverse .feature-block__content {
  order: 1;
}

.feature-block__media {
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--border);
}

.feature-block__media img {
  width: 100%;
  aspect-ratio: 3 / 2;
  object-fit: cover;
}

.feature-block__content h3 {
  font-size: 1.25rem;
  margin-bottom: 12px;
}

.feature-block__content p {
  font-size: 15px;
  color: var(--text-muted);
  line-height: 1.6;
  margin-bottom: 16px;
}

.feature-block__content a {
  font-size: 14px;
  color: var(--text-dim);
  transition: color 0.2s;
}

.feature-block__content a:hover {
  color: var(--text);
}

/* Customer testimonials */
.testimonials {
  --testimonial-ease: cubic-bezier(0.22, 1, 0.36, 1);
  --testimonial-duration-expand: 0.55s;
  --testimonial-duration-content: 0.4s;
  --testimonial-duration-logo: 0.35s;
  --testimonial-duration-watermark: 0.45s;
  /* Fits active quote + bottom author + watermark; shared by all cards */
  --testimonial-card-height: 400px;
  --testimonial-card-pad: 28px;
  padding: 80px 0;
  background: linear-gradient(180deg, var(--bg) 0%, var(--bg-card) 72px);
}

@media (max-width: 599px) {
  .testimonials {
    --testimonial-card-pad: 24px;
  }

  .testimonial-card:not(.is-active) {
    min-height: 112px;
    height: 112px;
  }

  .testimonial-card.is-active {
    height: auto;
    min-height: auto;
  }

  .testimonial-card::after {
    bottom: -16px;
    right: -20px;
    width: min(160px, 42%);
    height: 120px;
  }

  .testimonial-card:not(.is-active) .testimonial-card__logo-img {
    height: 88px;
  }
}

.testimonials__header {
  margin-bottom: 48px;
}

.testimonials__heading {
  font-size: clamp(1.75rem, 3vw, 2.25rem);
  letter-spacing: -0.02em;
  margin: 0;
}

.testimonials__heading-accent {
  font-family: "Momo Signature", cursive;
  font-weight: 400;
  letter-spacing: 0;
  line-height: 1.35;
  display: inline-block;
  padding-block: 0.06em;
  background: linear-gradient(90deg, #84B5FF, #0569FF, #AE8EFF, #FFCCA5);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
}

.testimonials__grid {
  display: flex;
  gap: 20px;
  align-items: stretch;
}

@media (max-width: 599px) {
  .testimonials__grid {
    flex-direction: column;
    gap: 16px;
  }
}

.testimonial-card {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  align-items: stretch;
  gap: 0;
  flex: 1 1 0;
  min-width: 0;
  height: var(--testimonial-card-height);
  min-height: var(--testimonial-card-height);
  padding: var(--testimonial-card-pad);
  background: var(--bg-elevated);
  border-radius: var(--radius-lg);
  cursor: pointer;
  overflow: hidden;
  transition:
    flex var(--testimonial-duration-expand) var(--testimonial-ease) 0.2s,
    background 0.25s ease;
}

.testimonial-card.is-active {
  flex: 2.15 1 0;
  cursor: default;
  transition:
    flex var(--testimonial-duration-expand) var(--testimonial-ease) 0s,
    background 0.25s ease;
}

.testimonial-card:hover:not(.is-active) {
  background: #f5f5f5;
}

.testimonial-card:focus-visible {
  outline: 2px solid var(--blue);
  outline-offset: 2px;
}

.testimonial-card::after {
  content: "";
  position: absolute;
  bottom: -32px;
  right: -48px;
  width: min(220px, 44%);
  height: 150px;
  background-image: var(--testimonial-logo);
  background-repeat: no-repeat;
  background-position: bottom right;
  background-size: contain;
  opacity: 0;
  pointer-events: none;
  z-index: 0;
  transition: opacity var(--testimonial-duration-watermark) var(--testimonial-ease);
}

.testimonial-card.is-active::after {
  opacity: 0.1;
  transition-delay: 0.22s;
}

.testimonial-card:not(.is-active)::after {
  transition-delay: 0s;
}

@media (max-width: 599px) {
  .testimonial-card {
    flex: 1 1 auto;
    transition: background 0.25s ease;
  }

  .testimonial-card.is-active {
    flex: 1 1 auto;
    height: auto;
    min-height: auto;
  }
}

.testimonial-card__logo {
  position: absolute;
  top: 50%;
  left: 50%;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  pointer-events: none;
  opacity: 1;
  visibility: visible;
  transform: translate(-50%, -50%);
  transition:
    opacity var(--testimonial-duration-logo) var(--testimonial-ease),
    visibility var(--testimonial-duration-logo) var(--testimonial-ease),
    transform var(--testimonial-duration-logo) var(--testimonial-ease);
  will-change: opacity, transform;
}

.testimonial-card.is-active .testimonial-card__logo {
  opacity: 0;
  visibility: hidden;
  transform: translate(-50%, -50%) scale(0.92);
  transition-delay: 0s;
}

.testimonial-card:not(.is-active) .testimonial-card__logo {
  transition-delay: 0.12s;
}

.testimonial-card__logo-img {
  display: block;
  width: auto;
  height: 96px;
  max-width: min(220px, 46%);
  object-fit: contain;
  object-position: center;
  color: #b5b5b5;
  opacity: 0.88;
}

.testimonial-card:not(.is-active) .testimonial-card__logo-img {
  height: 160px;
  max-width: min(320px, 68%);
}

.testimonial-card__content {
  display: flex;
  flex-direction: column;
  gap: 20px;
  min-width: 0;
  position: relative;
  z-index: 1;
  overflow: hidden;
  max-height: 0;
  opacity: 0;
  visibility: hidden;
  padding-right: 0;
  padding-bottom: 0;
  transition:
    opacity var(--testimonial-duration-content) var(--testimonial-ease),
    visibility var(--testimonial-duration-content) var(--testimonial-ease),
    max-height var(--testimonial-duration-expand) var(--testimonial-ease),
    padding 0.35s var(--testimonial-ease);
}

.testimonial-card.is-active .testimonial-card__content {
  flex: 1;
  min-height: 0;
  max-height: calc(var(--testimonial-card-height) - (var(--testimonial-card-pad) * 2));
  opacity: 1;
  visibility: visible;
  position: static;
  padding-right: clamp(48px, 14%, 120px);
  padding-bottom: clamp(72px, 14%, 92px);
  transition-delay: 0.15s;
}

.testimonial-card:not(.is-active) .testimonial-card__content {
  transition-delay: 0s;
}

.testimonial-card__quote {
  display: flex;
  flex-direction: column;
  min-width: 0;
  font-family: "Google Sans", "IBM Plex Sans Thai", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

.testimonial-card.is-active .testimonial-card__quote {
  margin-bottom: 20px;
}

.testimonial-card.is-active .testimonial-card__quote p {
  font-family: inherit;
  font-size: 18px;
  line-height: 1.6;
  color: var(--text-muted);
}

.testimonial-card.is-active .testimonial-card__quote p + p {
  margin-top: 12px;
}

.testimonial-card__author {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.testimonial-card.is-active .testimonial-card__author {
  position: absolute;
  bottom: var(--testimonial-card-pad);
  left: var(--testimonial-card-pad);
  z-index: 2;
  flex-shrink: 0;
}

.testimonial-card__name {
  font-style: normal;
  font-size: 14px;
  font-weight: 500;
  color: var(--text);
}

.testimonial-card__role {
  font-size: 13px;
  color: var(--text-dim);
}

@media (max-width: 599px) {
  .testimonial-card.is-active .testimonial-card__content {
    flex: none;
    max-height: none;
    overflow: visible;
    padding-bottom: 0;
  }

  .testimonial-card.is-active .testimonial-card__author {
    position: static;
  }
}

@media (prefers-reduced-motion: reduce) {
  .testimonial-card,
  .testimonial-card.is-active,
  .testimonial-card::after,
  .testimonial-card__logo,
  .testimonial-card__content {
    transition: none;
  }

  .testimonial-card__logo {
    will-change: auto;
  }
}

/* Tier fork — Business vs Enterprise */
.tiers {
  padding: 80px 0;
  background: linear-gradient(180deg, var(--bg-card) 0%, var(--bg) 72px);
}

.tiers__header {
  max-width: 720px;
  margin: 0 auto 48px;
  text-align: center;
}

.tiers__heading {
  font-size: clamp(1.75rem, 3vw, 2.25rem);
  font-weight: 400;
  letter-spacing: -0.02em;
  line-height: 1.2;
  color: var(--text);
  margin: 0;
}

.tiers__sub {
  margin-top: 16px;
  font-size: 15px;
  line-height: 1.65;
  color: var(--text-muted);
}

.tiers__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
}

@media (min-width: 1024px) {
  .tiers__grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
  }
}

.tiers-card {
  position: relative;
  display: flex;
  flex-direction: column;
  padding: 28px;
  border-radius: var(--radius-lg);
  background: var(--bg-elevated);
  border: 1px solid var(--border-subtle);
  transition: border-color 0.2s ease, background 0.2s ease;
}

@media (min-width: 768px) {
  .tiers-card {
    padding: 32px;
  }
}

.tiers-card--business {
  border-color: rgba(16, 16, 16, 0.15);
  background: var(--bg-card);
  overflow: hidden;
  isolation: isolate;
}

.tiers-card--business::before,
.tiers-card--business::after {
  content: "";
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
  z-index: 0;
  filter: blur(44px);
}

.tiers-card--business::before {
  width: clamp(180px, 55%, 260px);
  height: clamp(180px, 55%, 260px);
  top: -28%;
  right: -18%;
  background: linear-gradient(135deg, #84b5ff, #0569ff, #ae8eff);
  opacity: 0.32;
}

.tiers-card--business::after {
  width: clamp(160px, 48%, 220px);
  height: clamp(160px, 48%, 220px);
  bottom: -22%;
  left: -14%;
  background: linear-gradient(135deg, #0569ff, #ae8eff, #ffcca5);
  opacity: 0.22;
}

.tiers-card--business > * {
  position: relative;
  z-index: 1;
}

.tiers-card--business:hover {
  border-color: rgba(16, 16, 16, 0.25);
}

.tiers-card--enterprise:hover {
  border-color: rgba(0, 0, 0, 0.15);
  background: #f5f5f5;
}

.tiers-card__badge {
  display: inline-flex;
  align-self: flex-start;
  align-items: center;
  gap: 6px;
  margin-bottom: 16px;
  padding: 4px 12px;
  border-radius: 9999px;
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.tiers-card__badge--business {
  background: var(--blue-50);
  color: var(--blue);
}

.tiers-card__badge--enterprise {
  background: var(--bg-card);
  color: var(--text-dim);
  border: 1px solid var(--border-subtle);
}

.tiers-card__title {
  margin: 0;
  font-size: clamp(1.375rem, 2.5vw, 1.75rem);
  font-weight: 400;
  letter-spacing: -0.02em;
  line-height: 1.2;
  color: var(--text);
}

.tiers-card__desc {
  margin: 16px 0 0;
  font-size: 15px;
  line-height: 1.65;
  color: var(--text-muted);
}

.tiers-card__list {
  flex: 1;
  margin: 24px 0 0;
  padding: 0;
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.tiers-card__list li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-size: 14px;
  line-height: 1.5;
  color: var(--text-muted);
}

.tiers-card__check {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  width: 20px;
  height: 20px;
  margin-top: 1px;
  border-radius: 50%;
  background: var(--blue-50);
  color: var(--blue);
}

.tiers-card__cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  align-self: flex-start;
  margin-top: 28px;
  height: 44px;
  padding: 0 20px;
  border-radius: 9999px;
  font-size: 14px;
  font-weight: 500;
  transition: background 0.2s, color 0.2s, border-color 0.2s;
}

.tiers-card__cta svg {
  transition: transform 0.2s ease;
}

.tiers-card__cta:hover svg {
  transform: translateX(2px);
}

.tiers-card__cta--business {
  background: var(--blue);
  color: #fff;
}

.tiers-card__cta--business:hover {
  background: var(--blue-hover);
}

.tiers-card__cta--enterprise {
  background: var(--bg-card);
  color: var(--text);
  border: 1px solid var(--border);
}

.tiers-card__cta--enterprise:hover {
  background: var(--bg-elevated);
  border-color: rgba(0, 0, 0, 0.15);
}

.tiers-card__cta:focus-visible {
  outline: 2px solid var(--blue);
  outline-offset: 2px;
}

/* Feature grid */
.feature-grid-section {
  padding: 80px 0;
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

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

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

.feature-card__image {
  border-radius: var(--radius-md);
  overflow: hidden;
  border: 1px solid var(--border);
  margin-bottom: 20px;
  background: var(--bg-elevated);
}

.feature-card__image img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}

.feature-card h3 {
  font-size: 1rem;
  margin-bottom: 8px;
}

.feature-card p {
  font-size: 14px;
  color: var(--text-muted);
  line-height: 1.55;
}

/* CTA banner */
.cta-banner {
  padding: 80px 0;
  background: radial-gradient(ellipse 80% 60% at 20% 50%, rgba(16, 16, 16, 0.06), transparent 70%);
  border-block: 1px solid var(--border-subtle);
}

.cta-banner__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
}

.cta-banner__text h2 {
  font-size: clamp(1.75rem, 3vw, 2.5rem);
  letter-spacing: -0.03em;
  margin-bottom: 12px;
}

.cta-banner__text p {
  font-size: 16px;
  color: var(--text-muted);
  max-width: 480px;
}

.cta-banner__actions {
  display: flex;
  gap: 12px;
  flex-shrink: 0;
}

/* Enterprise */
.enterprise {
  padding: 80px 0;
}

.enterprise__header {
  text-align: center;
  margin-bottom: 48px;
}

.enterprise__header .btn {
  margin-top: 24px;
}

/* Final CTA */
.final-cta {
  padding: 100px 0;
  text-align: center;
}

.final-cta__inner h2 {
  font-size: clamp(2rem, 4vw, 3rem);
  letter-spacing: -0.03em;
  margin-bottom: 16px;
}

.final-cta__inner p {
  font-size: 17px;
  color: var(--text-muted);
  max-width: 560px;
  margin: 0 auto 32px;
}

.final-cta__actions {
  display: flex;
  justify-content: center;
  gap: 12px;
  flex-wrap: wrap;
}

/* FAQ */
.faq {
  padding: 80px 0;
  background: linear-gradient(180deg, var(--bg-card) 0%, var(--bg) 72px);
}

.faq__inner {
  display: grid;
  grid-template-columns: 1fr;
  gap: 40px;
  align-items: start;
}

@media (min-width: 900px) {
  .faq__inner {
    grid-template-columns: 0.9fr 1.4fr;
    gap: 48px 64px;
  }
}

.faq__heading {
  font-size: clamp(1.75rem, 3vw, 2.25rem);
  letter-spacing: -0.02em;
  line-height: 1.2;
}

.faq__heading-accent {
  font-family: "Momo Signature", cursive;
  font-weight: 400;
  letter-spacing: 0;
  line-height: 1.35;
  display: inline-block;
  padding-block: 0.06em;
  background: linear-gradient(90deg, #84B5FF, #0569FF, #AE8EFF, #FFCCA5);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
}

.faq__list {
  display: flex;
  flex-direction: column;
}

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

.faq__item:first-child {
  border-top: 1px solid var(--border);
}

.faq__question-wrap {
  font-size: inherit;
  font-weight: inherit;
}

.faq__trigger {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  width: 100%;
  padding: 24px 0;
  text-align: left;
  cursor: pointer;
  transition: color 0.2s;
}

.faq__trigger:hover .faq__question {
  color: var(--text);
}

.faq__question {
  font-size: 1rem;
  font-weight: 400;
  line-height: 1.5;
  color: var(--text-muted);
  transition: color 0.2s;
}

.faq__trigger[aria-expanded="true"] .faq__question {
  color: var(--text);
}

.faq__icon {
  position: relative;
  flex-shrink: 0;
  width: 20px;
  height: 20px;
  color: var(--blue);
  transition: transform 0.25s ease;
}

.faq__icon::before,
.faq__icon::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  background: currentColor;
  border-radius: 1px;
}

.faq__icon::before {
  width: 14px;
  height: 2px;
  transform: translate(-50%, -50%);
}

.faq__icon::after {
  width: 2px;
  height: 14px;
  transform: translate(-50%, -50%);
}

.faq__trigger[aria-expanded="true"] .faq__icon {
  transform: rotate(45deg);
}

.faq__panel {
  overflow: hidden;
}

.faq__panel[hidden] {
  display: block;
  visibility: hidden;
  height: 0;
  overflow: hidden;
}

.faq__answer {
  font-size: 15px;
  line-height: 1.65;
  color: var(--text-muted);
  padding-bottom: 24px;
  max-width: 640px;
}

/* Section scroll reveal */
.section-reveal {
  opacity: 0;
  transform: translateY(20px);
  transition:
    opacity 0.55s cubic-bezier(0.22, 1, 0.36, 1),
    transform 0.55s cubic-bezier(0.22, 1, 0.36, 1);
}

.section-reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

@media (prefers-reduced-motion: reduce) {
  .section-reveal {
    opacity: 1;
    transform: none;
    transition: none;
  }
}

/* CTA Footer */
.footer-cta {
  position: relative;
  z-index: 1;
  isolation: isolate;
  background: linear-gradient(180deg, var(--bg) 0%, #fff 72px);
  color: var(--text);
  overflow: hidden;
  margin-bottom: 0;
}

.footer-cta__inner {
  position: relative;
  z-index: 1;
  padding-top: 0;
  padding-bottom: clamp(48px, 7vw, 88px);
  transition: padding-bottom 350ms cubic-bezier(0.4, 0, 1, 1);
}

html.nav-is-bottom .footer-cta__inner {
  padding-bottom: clamp(48px, 7vw, 88px);
}

.footer-cta__intro {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  max-width: 760px;
  margin-inline: auto;
  padding-inline: 24px;
  overflow: visible;
}

.footer-cta__headline {
  font-size: clamp(2rem, 5vw, 3.5rem);
  font-weight: 400;
  line-height: 1.12;
  letter-spacing: -0.035em;
  color: var(--text);
  margin-bottom: clamp(28px, 4vw, 36px);
  overflow: visible;
  /* Room for script-font overhang when lines are center-aligned */
  padding-block: 0.06em;
  padding-inline: clamp(0.25em, 2vw, 0.5em);
}

.footer-cta__headline-line {
  display: block;
  overflow: visible;
}

.footer-cta__headline-line:first-child {
  padding-top: 0.14em;
  padding-right: 0.12em;
  overflow: visible;
}

.footer-cta__headline-accent {
  font-family: "Momo Signature", cursive;
  font-weight: 400;
  letter-spacing: 0;
  line-height: 1.45;
  display: inline-block;
  vertical-align: baseline;
  /* background-clip:text masks to the padding box; script glyphs overhang top/right */
  padding-block: 0.2em 0.1em;
  padding-inline: 0.05em 0.38em;
  margin-inline-end: -0.2em;
  overflow: visible;
  -webkit-box-decoration-break: clone;
  box-decoration-break: clone;
  background: linear-gradient(90deg, #84B5FF, #0569FF, #AE8EFF, #FFCCA5);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
}

.footer-cta__actions {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
}

.footer-cta__buttons {
  display: flex;
  justify-content: center;
}

.footer-cta__disclaimer {
  font-size: 14px;
  color: var(--text-dim);
  line-height: 1.4;
  text-align: center;
}

.btn--footer-primary {
  background: var(--blue);
  color: #fff;
  font-weight: 500;
}

.btn--footer-primary:hover {
  background: var(--blue-hover);
}

.footer-cta__preview {
  position: relative;
  width: min(100%, 1120px);
  margin: clamp(32px, 5vw, 56px) auto 0;
  padding-inline: clamp(16px, 3vw, 24px);
}

.footer-cta__preview-glow {
  display: none;
}

.footer-cta__preview-frame {
  position: relative;
  z-index: 1;
  border-radius: var(--radius-lg) var(--radius-lg) 0 0;
  overflow: hidden;
  padding: 1px 1px 0;
  background: linear-gradient(
    145deg,
    rgba(255, 255, 255, 0.95) 0%,
    rgba(255, 255, 255, 0.45) 42%,
    rgba(255, 255, 255, 0.75) 100%
  );
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  box-shadow:
    0 -8px 40px rgba(0, 0, 0, 0.08),
    inset 0 1px 0 rgba(255, 255, 255, 0.9),
    inset 0 0 24px rgba(255, 255, 255, 0.5);
}

.footer-cta__preview-frame::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  border: 1px solid rgba(0, 0, 0, 0.08);
  border-bottom: none;
  pointer-events: none;
  z-index: 2;
}

.footer-cta__preview-frame img {
  display: block;
  width: 100%;
  height: clamp(220px, 30vw, 360px);
  object-fit: cover;
  object-position: top center;
  vertical-align: middle;
  border-radius: calc(var(--radius-lg) - 1px) calc(var(--radius-lg) - 1px) 0 0;
}

/* Sitemap Footer */
.footer {
  --footer-grid: rgba(150, 170, 210, 0.05);
  --footer-heading: rgba(255, 255, 255, 0.38);
  --footer-link: rgba(255, 255, 255, 0.82);
  --footer-link-hover: #fff;
  --footer-muted: rgba(255, 255, 255, 0.34);

  position: relative;
  width: 100%;
  z-index: 1;
  isolation: isolate;
  background-color: var(--footer-bg);
  background-image:
    linear-gradient(var(--footer-grid) 1px, transparent 1px),
    linear-gradient(90deg, var(--footer-grid) 1px, transparent 1px);
  background-size: 12px 12px;
  color: var(--footer-link);
  overflow: hidden;
}

.footer__watermark {
  position: absolute;
  left: 0;
  right: 0;
  width: 100%;
  bottom: -6%;
  z-index: 0;
  pointer-events: none;
  user-select: none;
}

.footer__watermark img {
  display: block;
  width: 100%;
  height: auto;
  opacity: 0.05;
}

.footer__inner {
  position: relative;
  z-index: 1;
  padding-top: clamp(56px, 8vw, 96px);
  padding-bottom: clamp(48px, 6vw, 72px);
  transition: padding-bottom 350ms cubic-bezier(0.4, 0, 1, 1);
}

html.nav-is-bottom {
  --nav-bottom-offset: calc(var(--nav-bottom-height) + 16px);
  scroll-padding-bottom: var(--nav-bottom-offset);
}

html.nav-is-bottom main {
  padding-bottom: var(--nav-bottom-offset);
}

html.nav-is-bottom .pricing-section,
html.nav-is-bottom .testimonials,
html.nav-is-bottom .faq {
  scroll-margin-bottom: var(--nav-bottom-offset);
}

html.nav-is-bottom .footer .footer__inner {
  padding-bottom: calc(clamp(48px, 6vw, 72px) + var(--nav-bottom-offset));
}

html.nav-is-bottom .footer__bottom {
  padding-bottom: var(--nav-bottom-offset);
}

.footer__columns {
  display: grid;
  grid-template-columns: minmax(120px, 140px) repeat(4, minmax(0, 1fr));
  gap: clamp(28px, 4vw, 56px);
  align-items: start;
}

.footer__logo-col {
  padding-top: 2px;
}

.footer__logo {
  display: block;
}

.footer__logo img {
  display: block;
  height: 24px;
  width: auto;
  max-width: 100%;
}

.footer__heading {
  margin-bottom: 20px;
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--footer-heading);
}

.footer__heading--sub {
  margin-top: 28px;
}

.footer__heading--th {
  text-transform: none;
  letter-spacing: 0;
  font-size: 12px;
}

.footer__links {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.footer__links a {
  display: inline-flex;
  align-items: center;
  min-height: 36px;
  padding-block: 4px;
  font-size: 15px;
  font-weight: 400;
  line-height: 1.3;
  color: var(--footer-link);
  transition: color 0.15s ease;
}

.footer__links a:hover {
  color: var(--footer-link-hover);
}

.footer__bottom {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 8px 20px;
  margin-top: clamp(72px, 10vw, 120px);
}

.footer__copyright,
.footer__email,
.footer__hours {
  font-size: 12px;
  color: var(--footer-muted);
}

.footer__bottom-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 8px 20px;
}

.footer__hours-group {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 8px 20px;
}

.footer__email {
  transition: color 0.15s ease;
}

.footer__email:hover {
  color: var(--footer-link);
}

@media (max-width: 1024px) {
  .footer__columns {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .footer__logo-col {
    grid-column: 1 / -1;
  }

  .footer__bottom {
    gap: 8px;
    margin-top: 48px;
  }
}

@media (max-width: 640px) {
  .footer__columns {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 32px 24px;
  }
}

/* Visually hidden (accessible) */
.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* Hero video modal */
.video-modal {
  position: fixed;
  inset: 0;
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
}

.video-modal[hidden] {
  display: none;
}

.video-modal__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.72);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
}

.video-modal__dialog {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: min(1100px, 92vw);
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: #101010;
  box-shadow:
    0 24px 80px rgba(0, 0, 0, 0.45),
    0 0 0 1px rgba(255, 255, 255, 0.08);
}

.video-modal__close {
  position: absolute;
  top: 12px;
  right: 12px;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: var(--radius-sm);
  background: rgba(0, 0, 0, 0.65);
  color: #fff;
  transition: background 0.2s, transform 0.2s;
}

.video-modal__close:hover {
  background: rgba(0, 0, 0, 0.85);
}

.video-modal__close:focus-visible {
  outline: 2px solid #fff;
  outline-offset: 2px;
}

.video-modal__player {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  background: #000;
}

.video-modal__player iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

body.is-modal-open {
  overflow: hidden;
}

@media (max-width: 640px) {
  .video-modal {
    padding: 16px;
  }

  .video-modal__dialog {
    border-radius: var(--radius-md);
  }

  .video-modal__close {
    top: 8px;
    right: 8px;
    width: 32px;
    height: 32px;
  }
}

/* Responsive */
@media (max-width: 1024px) {
  .nav__links {
    display: none;
  }

  .nav__actions .nav__link {
    display: none;
  }

  .nav.is-scrolled .nav__inner {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: center;
    width: min(100%, calc(100vw - 2 * var(--hero-px)));
    max-width: calc(100vw - 2 * var(--hero-px));
    padding-inline: 12px;
    gap: 10px;
  }

  .nav.is-scrolled .nav__logo {
    min-width: 0;
  }

  .nav.is-scrolled .nav__logo-img {
    height: 18px;
    width: auto;
    max-width: 100%;
    object-fit: contain;
    object-position: left center;
  }

  .nav.is-scrolled .nav__actions {
    flex-shrink: 0;
  }

  .nav.is-scrolled .btn--pill.btn--nav {
    padding: 8px 14px;
    font-size: 13px;
  }

  .feature-block,
  .feature-block--reverse {
    grid-template-columns: 1fr;
  }

  .feature-block--reverse .feature-block__media,
  .feature-block--reverse .feature-block__content {
    order: unset;
  }

  .feature-grid,
  .feature-grid--3,
  .feature-grid--4 {
    grid-template-columns: repeat(2, 1fr);
  }

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

@media (max-width: 768px) {
  .hero__inner {
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    padding-top: clamp(32px, 8svh, 64px);
    padding-bottom: clamp(16px, 4vw, 28px);
    box-sizing: border-box;
    overflow-x: clip;
  }

  .hero__content {
    margin-bottom: clamp(36px, 7vw, 56px);
    flex-shrink: 0;
    overflow-x: clip;
  }

  .hero__title {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.12em;
    width: 100%;
    max-width: 100%;
    margin-inline: 0;
    font-size: clamp(1.875rem, 7.5vw, 2.625rem);
    line-height: 1;
    overflow: visible;
  }

  .hero__title-ending--desktop {
    display: none;
  }

  .hero__title-space-desktop {
    display: none;
  }

  .hero__title-line--second {
    display: contents;
  }

  .hero__title-line-part,
  .hero__title-accent {
    display: block;
    line-height: 1;
    text-align: center;
  }

  .hero__title-line {
    width: auto;
    max-width: 100%;
    line-height: 1;
    text-align: center;
  }

  .hero__title-accent {
    line-height: 1;
    padding-block: 0;
  }

  .hero__media {
    margin-top: clamp(8px, 2vw, 16px);
    flex-shrink: 0;
    margin-bottom: 0;
    -webkit-mask-image: none;
    mask-image: none;
  }

  .hero__media-frame:not(.hero__media-frame--platform) {
    border-radius: var(--radius-md);
  }

  .hero__media-frame:not(.hero__media-frame--platform) img {
    border-radius: calc(var(--radius-md) - 2.5px);
  }

  .hero--wayflyer:has(.hero__media-frame--platform) .hero__media {
    width: min(100%, 90vw);
    max-width: min(var(--hero-media-max), 90vw);
    margin-inline: auto;
  }

  .hero__media-frame--platform .story-scene__teams-mockup-wrap {
    width: 100%;
    margin-inline: 0;
  }
}

@media (max-width: 640px) {
  .hero__inner {
    padding-top: 32px;
  }

  .hero__content {
    margin-bottom: clamp(32px, 6vw, 48px);
  }

  .hero--wayflyer:has(.hero__media-frame--platform) .hero__media {
    width: min(100%, 86vw);
    max-width: 86vw;
  }

  .hero__trust-divider {
    display: none;
  }

  .hero__trust {
    flex-direction: column;
    gap: 6px;
  }

  .hero__play {
    width: 52px;
    height: 52px;
  }

  .hero__cta {
    gap: 8px;
  }

  .hero__cta-disclaimer {
    font-size: 12px;
  }

  .tabs {
    justify-content: flex-start;
    overflow-x: auto;
    flex-wrap: nowrap;
    scrollbar-width: none;
  }

  .tabs::-webkit-scrollbar {
    display: none;
  }

  .feature-grid,
  .feature-grid--3,
  .feature-grid--4 {
    grid-template-columns: 1fr;
  }

  .cta-banner__actions,
  .final-cta__actions {
    flex-direction: column;
    width: 100%;
  }

  .cta-banner__actions .btn,
  .final-cta__actions .btn {
    width: 100%;
  }
}
