/* ─── Brandvertise tokens on Nexsas template ─── */
.landing-template-root {
  --color-primary-50: #e8ecff;
  --color-primary-400: #4a7dff;
  --color-primary-500: #003bff;
  --color-primary-600: #002cc7;
  --color-ns-green: #003bff;
  --color-ns-green-light: #e8ecff;
  --color-gradient-8: linear-gradient(156deg, #fff 32.92%, #4a7dff 91%);
  --color-gradient-12: radial-gradient(73.01% 80.77% at 19.23% 47.79%, #4a7dff 0%, #003bff00 100%);
  --landing-page-bg: #f4f5f8;
  --landing-surface: #ffffff;
  --landing-surface-muted: #eaeceb;
  --landing-text: #1a1a1c;
  --landing-text-muted: #5c5c66;
  --landing-border: #d7dde5;
  min-height: 100vh;
  background-color: #f4f5f8;
  color: var(--landing-text);
}

.landing-template-root .fill-\[\#864FFE\] {
  fill: #003bff;
}

.landing-template-root .bg-ns-green,
.landing-template-root .top-nav.bg-ns-green {
  background-color: #e8ecff !important;
}

.landing-template-root .text-ns-green {
  color: #003bff;
}

.landing-template-root .bg-ns-green:not(.top-nav) :is(h3, p, .text-secondary, span) {
  color: #1a1a1c !important;
}

/* Card copy — titles + descriptions on landing feature / how-it-works cards */
.landing-template-root .landing-card-copy :is(h3, h4) {
  color: var(--landing-text, #1a1a1c);
}

.landing-template-root .landing-card-copy .landing-card-desc {
  color: color-mix(in oklab, var(--landing-text, #1a1a1c) 72%, transparent);
}

.landing-template-root .bg-ns-green:not(.top-nav) .landing-card-copy :is(h3, h4),
.landing-template-root .bg-ns-green:not(.top-nav) .landing-card-copy .landing-card-desc {
  color: #1a1a1c !important;
}

.landing-template-root .bg-ns-green:not(.top-nav) .landing-card-copy .landing-card-desc {
  opacity: 0.72;
}

/* How it works — image fills card; text overlay without gradient scrim */
.landing-step-card-foot {
  margin-top: auto;
}

.landing-step-card-foot-blue .landing-card-copy :is(h3, h4),
.landing-step-card-foot-blue .landing-card-copy .landing-card-desc {
  color: #ffffff !important;
  opacity: 1;
}

.landing-step-card-foot-blue .landing-card-copy .landing-card-desc {
  color: rgb(255 255 255 / 0.82) !important;
}

.landing-step-card-foot-light .landing-card-copy :is(h3, h4) {
  color: #1a1a1c !important;
  opacity: 1;
}

.landing-step-card-foot-light .landing-card-copy .landing-card-desc {
  color: rgb(26 26 28 / 0.72) !important;
  opacity: 1;
}

/* Ready-to-publish creative PNG stack */
.feature-creative-stack {
  isolation: isolate;
  background: #ffffff;
  max-width: 100%;
}

.feature-creative-item {
  overflow: hidden;
  border-radius: 20px;
  line-height: 0;
  transform-origin: center bottom;
  width: 214px;
  height: 268px;
  will-change: transform;
}

@media (max-width: 639px) {
  .feature-creative-item {
    width: clamp(88px, 27vw, 132px);
    height: auto;
    aspect-ratio: 214 / 268;
  }
}

@media (min-width: 640px) and (max-width: 767px) {
  .feature-creative-item {
    width: 168px;
    height: auto;
    aspect-ratio: 214 / 268;
  }
}

.feature-creative-img {
  display: block;
  width: 100%;
  height: auto;
}

.feature-creative-item:nth-child(2) .feature-creative-img {
  width: 106%;
  margin: -3% -3% -4%;
}

/* Brand DNA feature card — full-bleed image, white copy */
.feature-brand-dna-copy :is(h3, h4) {
  color: #ffffff !important;
}

.feature-brand-dna-copy .landing-card-desc {
  color: rgb(255 255 255 / 0.82) !important;
}

.landing-template-root .btn-green-v2 {
  background-color: #003bff;
  color: #ffffff;
}

.landing-template-root .btn-green-v2 .btn-v2-icon {
  fill: #ffffff;
}

.landing-template-root .btn-primary-v2 {
  background-color: #003bff;
  color: #ffffff;
}

.landing-template-root .btn-primary-v2 .btn-v2-icon {
  fill: #ffffff;
}

.landing-template-root .badge-green-v2 {
  background-color: #e8ecff;
  color: #003bff;
}

.landing-template-root .hover\:bg-primary-500:hover,
.landing-template-root .bg-primary-500 {
  background-color: #003bff;
}

/* Mission band: always charcoal + light text */
.landing-template-root .mission-band {
  background-color: #1a1a1c !important;
}

.landing-template-root .mission-band h2 {
  color: #fcfcfc !important;
}

.landing-template-root .mission-band .split-text-team-title :is(.word, .char) {
  display: inline-block;
  will-change: opacity;
}

/* Fallback before GSAP reveal runs */
.landing-template-root [data-ns-animate].opacity-0,
.landing-template-root .header-one.opacity-0,
.landing-template-root [data-ns-animate] {
  opacity: 1 !important;
  filter: none !important;
  visibility: visible;
}

/* Document scroll — Lenis smooth wheel on desktop (see TemplatePageEffects) */
html:has(.landing-template-root) {
  scroll-behavior: auto;
  overflow-y: auto;
  height: auto;
}

html:has(.landing-template-root) body {
  display: block !important;
  overflow-x: hidden !important;
  overflow-y: auto !important;
  height: auto !important;
  min-height: 100%;
  background: var(--landing-page-bg, #f4f5f8) !important;
  color: inherit;
}

.landing-template-root section[id],
.landing-template-root [id="faq"] {
  scroll-margin-top: 7rem;
}

/* Fixed site header */
.landing-template-root {
  --landing-header-top: calc(var(--spacing) * 4);
  --landing-header-clearance: calc(var(--spacing) * 23);
}

.landing-template-root .landing-site-header.has-top-nav,
.landing-template-root .landing-site-header.has-top-nav.is-cookie-true,
.landing-template-root .landing-site-header.has-top-nav.is-cookie-false {
  top: var(--landing-header-top);
  transition: top 0.5s ease-in-out;
}

.landing-template-root .landing-site-header.header-one.scroll-header {
  top: calc(var(--spacing) * 2) !important;
}

.landing-template-root .landing-header-bar {
  min-height: 3rem;
}

@media (min-width: 768px) {
  .landing-template-root .landing-header-bar {
    min-height: 3.25rem;
  }
}

.landing-template-root main.landing-sections.has-top-nav {
  padding-top: 0 !important;
}

.landing-template-root main.has-top-nav:not(.landing-sections),
.landing-template-root .landing-auth-section {
  padding-top: var(--landing-header-clearance) !important;
}

.landing-template-root .landing-header-logo {
  padding-left: 0.35rem;
}

@media (min-width: 1024px) {
  .landing-template-root .landing-header-logo {
    padding-left: 0.65rem;
  }
}

.landing-template-root .landing-header-nav {
  width: max-content;
  max-width: min(calc(100% - 18rem), 42rem);
}

@media (min-width: 1024px) and (max-width: 1279px) {
  .landing-template-root .landing-header-nav .nav-item a {
    padding-inline: 0.65rem;
    font-size: 0.875rem;
  }
}

.landing-template-root .main-container {
  max-width: min(1290px, 100%);
}

@media (max-width: 639px) {
  .landing-template-root .main-container {
    padding-inline: 1rem;
  }
}

.landing-template-root .landing-faq-title {
  color: #1a1a1c !important;
}

.landing-template-root .landing-faq-subtitle,
.landing-template-root .landing-faq-answer {
  color: #5c5c66 !important;
}

.landing-template-root .landing-faq-intro .badge-white-v2 {
  color: #1a1a1c !important;
  background-color: #ffffff !important;
}

.landing-sections {
  display: flex;
  flex-direction: column;
  gap: 3.5rem;
}

@media (min-width: 768px) {
  .landing-sections {
    gap: 4.5rem;
  }
}

@media (min-width: 1280px) {
  .landing-sections {
    gap: 5.5rem;
  }
}

.landing-sections > .landing-section-hero {
  margin-bottom: -0.5rem;
}

.landing-template-root main.landing-sections + footer {
  margin-top: 3.5rem;
}

@media (min-width: 768px) {
  .landing-template-root main.landing-sections + footer {
    margin-top: 4.5rem;
  }
}

@media (min-width: 1280px) {
  .landing-template-root main.landing-sections + footer {
    margin-top: 5.5rem;
  }
}

/* ─── Hero ─── */
.landing-hero-shell {
  position: relative;
  overflow: hidden;
  border-color: transparent !important;
  background: linear-gradient(165deg, #2578f5 0%, #003bff 45%, #001faa 100%);
}

.landing-hero-grainient {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
}

.landing-hero-grainient .grainient-container {
  width: 100%;
  height: 100%;
  min-height: 100%;
}

.landing-hero-shell > :not(.landing-hero-grainient) {
  position: relative;
  z-index: 1;
}

.landing-hero-shell .landing-hero-copy h1,
.landing-hero-shell .landing-hero-subtitle,
.landing-hero-shell .landing-hero-trust {
  color: #ffffff !important;
}

.landing-hero-shell .landing-hero-trust {
  color: rgba(255, 255, 255, 0.72) !important;
}

.landing-hero-dashboard-wrap {
  position: relative;
  z-index: 2;
  padding: 0 1.5rem 0;
  margin-top: -1rem;
}

.landing-hero-dashboard-frame {
  position: relative;
  z-index: 10;
  width: 89%;
  max-width: 80rem;
  margin-left: auto;
  margin-right: auto;
  border-radius: 20px 20px 0 0;
  overflow: hidden;
  line-height: 0;
  box-shadow:
    0 28px 90px rgba(0, 31, 170, 0.45),
    0 10px 36px rgba(0, 0, 0, 0.2);
}

.landing-hero-dashboard-frame img {
  display: block;
  height: auto;
  width: 100%;
}

@media (max-width: 768px) {
  .landing-hero-dashboard-frame {
    width: 96%;
  }
}

@media (min-width: 1280px) {
  .landing-hero-dashboard-frame {
    width: 92%;
  }
}

@media (prefers-reduced-motion: reduce) {
  .landing-hero-grainient .grainient-container canvas {
    animation: none;
  }
}

@keyframes feature-platform-scroll {
  from {
    transform: translateX(0);
  }
  to {
    transform: translateX(-50%);
  }
}

.feature-platform-marquee {
  padding-inline: 1.25rem;
  mask-image: linear-gradient(
    to right,
    transparent,
    #000 10%,
    #000 90%,
    transparent
  );
}

.feature-platform-track {
  animation: feature-platform-scroll 28s linear infinite;
}

@media (prefers-reduced-motion: reduce) {
  .feature-platform-track {
    animation: none;
  }
}

.landing-blur-seam-feather {
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  -webkit-mask-image: linear-gradient(to bottom, transparent 0%, #000 38%, #000 62%, transparent 100%);
  mask-image: linear-gradient(to bottom, transparent 0%, #000 38%, #000 62%, transparent 100%);
}

.landing-progressive-blur {
  isolation: isolate;
}

.landing-progressive-blur > div {
  position: absolute;
  inset: 0;
  -webkit-backdrop-filter: blur(var(--landing-blur, 8px));
  backdrop-filter: blur(var(--landing-blur, 8px));
  -webkit-mask-image: linear-gradient(to top, #000 0%, transparent var(--landing-blur-to, 50%));
  mask-image: linear-gradient(to top, #000 0%, transparent var(--landing-blur-to, 50%));
}

.landing-progressive-blur > div:nth-child(1) {
  --landing-blur: 2px;
  --landing-blur-to: 28%;
}

.landing-progressive-blur > div:nth-child(2) {
  --landing-blur: 6px;
  --landing-blur-to: 40%;
}

.landing-progressive-blur > div:nth-child(3) {
  --landing-blur: 14px;
  --landing-blur-to: 55%;
}

.landing-progressive-blur > div:nth-child(4) {
  --landing-blur: 28px;
  --landing-blur-to: 72%;
}

@media (prefers-reduced-motion: reduce) {
  .landing-progressive-blur {
    display: none;
  }
}

/* Auth modal — split popup layout */
.auth-modal-form .auth-form-input {
  height: 48px;
  border-radius: 10px;
  padding-inline: 14px;
}

.auth-modal-form .auth-form-input:focus {
  border-color: #003bff;
  box-shadow: 0 0 0 3px rgba(0, 59, 255, 0.12);
}

.auth-modal-form.auth-modal-light {
  background-color: #ffffff;
  color: #1a1a1c;
  color-scheme: light;
}

.auth-modal-form .auth-split-brand-btn.bv-brand-btn--primary {
  background-color: #191919 !important;
  color: #ffffff !important;
  box-shadow: 0 1px 2px rgba(16, 24, 40, 0.18);
}

.auth-modal-form .auth-split-brand-btn.bv-brand-btn--primary:hover {
  background-color: #003bff !important;
  color: #ffffff !important;
}

.auth-modal-form .auth-split-link {
  color: #003bff !important;
}

html.dark .auth-modal-light .auth-split-back {
  color: color-mix(in oklab, #1a1a1c 55%, transparent) !important;
}

html.dark .auth-modal-light .auth-split-back:hover {
  color: #1a1a1c !important;
}

html.dark .auth-modal-light .auth-split-muted {
  color: color-mix(in oklab, #1a1a1c 60%, transparent) !important;
}

html.dark .auth-modal-light label,
html.dark .auth-modal-light .auth-or-divider {
  color: color-mix(in oklab, #1a1a1c 85%, transparent) !important;
}

html.dark .auth-modal-light .auth-or-divider {
  color: color-mix(in oklab, #1a1a1c 55%, transparent) !important;
}

html.dark .auth-modal-light p:not([class*="rose"]):not([class*="sky"]):not([class*="amber"]) {
  color: color-mix(in oklab, #1a1a1c 60%, transparent);
}

html.dark .auth-modal-light span:not([class*="rose"]):not([class*="highlight"]) {
  color: inherit;
}

.auth-modal-form .auth-split-brand-btn {
  width: 100%;
  min-height: 48px;
  border-radius: 9999px;
  font-size: 1rem;
  font-weight: 600;
}

.auth-modal-form .btn-md-v2.btn-gray-v2.auth-google-split {
  height: 48px;
  border-radius: 10px;
  background-color: var(--color-background-1);
  border: 1px solid var(--color-stroke-3);
  color: var(--color-secondary);
}

.auth-modal-form .btn-md-v2.btn-gray-v2.auth-google-split:hover {
  background-color: var(--color-background-2, #f5f5f7);
}

.auth-split-heading {
  text-align: left;
}

.auth-modal-form .auth-split-heading h1,
.auth-split-heading h1 {
  font-size: 1.625rem !important;
  font-weight: 700 !important;
  letter-spacing: -0.02em !important;
  line-height: 1.25 !important;
  margin: 0 0 0.25rem 0 !important;
}

.auth-split-heading p {
  text-align: left;
  margin-bottom: 1.5rem;
  color: color-mix(in oklab, var(--color-secondary) 55%, transparent);
}

.auth-split-heading:where(.dark, .dark *) p {
  color: color-mix(in oklab, var(--color-accent) 55%, transparent);
}

.auth-split-logo img {
  margin-left: 0;
  margin-bottom: 1.25rem;
  height: 2.5rem;
}

.auth-google-split {
  border-radius: 10px !important;
}

.auth-promo-panel {
  min-height: 540px;
}

.auth-promo-panel .auth-promo-headline,
.auth-promo-mobile .auth-promo-headline {
  font-family: var(--font-sans), "Inter Tight", ui-sans-serif, system-ui, sans-serif;
  text-shadow: 0 2px 28px rgba(0, 10, 40, 0.45);
}

.auth-promo-panel .auth-promo-headline .text-highlight,
.auth-promo-mobile .auth-promo-headline .text-highlight {
  background-image: var(--bv-highlight-gradient-on-dark);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
  text-shadow: none;
}

.auth-promo-panel .auth-promo-eyebrow,
.auth-promo-mobile .auth-promo-eyebrow,
.auth-promo-panel .auth-promo-tagline,
.auth-promo-mobile .auth-promo-tagline {
  text-shadow: 0 1px 16px rgba(0, 10, 40, 0.4);
}

.auth-promo-mobile {
  position: relative;
  min-height: 200px;
  overflow: hidden;
}

.auth-promo-mobile img {
  position: absolute;
  inset: 0;
  height: 100%;
  width: 100%;
  object-fit: cover;
}

.auth-platform-marquee {
  overflow: hidden;
  width: 100%;
  mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
}

.auth-platform-marquee-track {
  display: flex !important;
  flex-direction: row !important;
  flex-wrap: nowrap !important;
  align-items: center;
  width: max-content !important;
  gap: 0.75rem;
  animation: auth-platform-scroll 28s linear infinite;
}

@keyframes auth-platform-scroll {
  from {
    transform: translateX(0);
  }
  to {
    transform: translateX(-50%);
  }
}

@media (prefers-reduced-motion: reduce) {
  .auth-platform-marquee-track {
    animation: none;
    flex-wrap: wrap;
    justify-content: center;
    width: 100%;
  }
}
