/**
 * Normdesk — design tokens + global chrome (navbar, footer).
 */

:root {
  --nd-black: #000000;
  --nd-white: #ffffff;
  --nd-ink: #111827;
  --nd-muted: #6b7280;
  --nd-footer-bg: #f3f4f6;
  --nd-footer-border: #e5e7eb;
  --nd-footer-loader-base: 0%;
  --nd-footer-loader-track: #d1d5db;
  --nd-footer-loader-scroll-budget: 1600;
  --nd-footer-loader-radius: 9999px;
  --nd-brand: #4d00ff;
  --nd-brand-end: #7000ff;
  --nd-brand-hover: #4300e0;
  --nd-brand-gradient: linear-gradient(90deg, var(--nd-brand) 0%, var(--nd-brand-end) 100%);
  --nd-container: 1200px;
  --nd-nav-height: 80px;
  --nd-radius-pill: 9999px;
  --nd-radius-btn: 50px;
  --nd-font: "Inter", ui-sans-serif, system-ui, sans-serif;
  --nd-font-script: "Caveat", "Segoe Script", cursive;
  --nd-space-1: 0.25rem;
  --nd-space-2: 0.5rem;
  --nd-space-3: 0.75rem;
  --nd-space-4: 1rem;
  --nd-space-6: 1.5rem;
  --nd-space-8: 2rem;
}

.nd-site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 50;
  background: var(--nd-black);
}

.nd-site-header.is-nav-hidden {
  transform: translateY(-100%);
  pointer-events: none;
}

.nd-site-header-offset {
  height: var(--nd-nav-height);
  pointer-events: none;
}

.nd-site-header__inner {
  max-width: var(--nd-container);
  margin: 0 auto;
  min-height: var(--nd-nav-height);
  padding: var(--nd-space-4) clamp(1rem, 4vw, 5rem);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--nd-space-6);
}

@media (min-width: 768px) {
  .nd-site-header__inner {
    display: grid;
    grid-template-columns: auto 1fr auto;
    align-items: center;
    gap: var(--nd-space-6);
  }

  .nd-site-header__brand {
    justify-self: start;
  }

  .nd-site-header__nav {
    justify-self: start;
    margin-left: clamp(1rem, 4vw, 3rem);
    margin-right: 0;
    overflow: visible;
  }

  .nd-site-header__actions {
    justify-self: end;
    margin-left: 0;
  }
}

.nd-site-header__brand {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  color: var(--nd-white);
  text-decoration: none;
  flex-shrink: 0;
}

.nd-site-header__brand:focus-visible {
  outline: 2px solid var(--nd-brand);
  outline-offset: 4px;
  border-radius: 6px;
}

.nd-site-header__mark {
  width: 32px;
  height: 32px;
  flex-shrink: 0;
}

.nd-site-header__logo-img {
  height: 23px;
  width: auto;
  max-width: min(156px, 42vw);
  display: block;
}

.nd-site-footer__logo-img {
  height: 32px;
  width: auto;
  max-width: min(222px, 70vw);
  display: block;
}

.nd-site-header__wordmark {
  font-family: var(--nd-font);
  font-size: 0.95rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  line-height: 1;
}

.nd-site-header__nav {
  display: none;
  align-items: center;
  gap: clamp(1.5rem, 3vw, 2.5rem);
}

@media (min-width: 768px) {
  .nd-site-header__nav {
    display: flex;
  }
}

.nd-site-header__link {
  font-family: var(--nd-font);
  font-size: 0.9375rem;
  font-weight: 700;
  color: var(--nd-white);
  text-decoration: none;
  white-space: nowrap;
  transition: opacity 0.15s ease;
}

.nd-site-header__link:hover,
.nd-site-header__link:focus-visible {
  opacity: 0.85;
}

.nd-site-header__actions {
  display: none;
  align-items: center;
  gap: var(--nd-space-4);
  flex-shrink: 0;
}

@media (min-width: 768px) {
  .nd-site-header__actions {
    display: flex;
  }
}

.nd-btn-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 8.75rem;
  padding: 0.75rem 1.75rem;
  border-radius: var(--nd-radius-btn);
  background: var(--nd-brand-gradient);
  color: var(--nd-white);
  font-family: var(--nd-font);
  font-size: 0.9375rem;
  font-weight: 700;
  text-decoration: none;
  border: none;
  box-shadow: 0 8px 24px rgba(77, 0, 255, 0.28);
  transition: filter 0.15s ease, transform 0.15s ease, box-shadow 0.15s ease;
}

.nd-btn-cta:hover {
  filter: brightness(1.06);
  box-shadow: 0 10px 28px rgba(77, 0, 255, 0.36);
}

.nd-btn-cta:focus-visible {
  outline: 2px solid var(--nd-white);
  outline-offset: 2px;
}

.nd-site-header__menu-toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-left: auto;
  width: 44px;
  height: 44px;
  border-radius: var(--nd-radius-pill);
  border: 1px solid rgba(255, 255, 255, 0.2);
  background: transparent;
  color: var(--nd-white);
  cursor: pointer;
}

@media (min-width: 768px) {
  .nd-site-header__menu-toggle {
    display: none;
  }
}

.nd-site-header__menu-toggle:focus-visible {
  outline: 2px solid var(--nd-brand);
  outline-offset: 2px;
}

.nd-site-header__panel {
  display: none;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  background: var(--nd-black);
}

.nd-site-header__panel.is-open {
  display: block;
}

@media (min-width: 768px) {
  .nd-site-header__panel {
    display: none !important;
  }
}

.nd-site-header__panel-inner {
  max-width: var(--nd-container);
  margin: 0 auto;
  padding: var(--nd-space-4) clamp(1rem, 4vw, 5rem) var(--nd-space-6);
  display: grid;
  gap: var(--nd-space-2);
}

.nd-site-header__panel .nd-site-header__link {
  display: block;
  padding: 0.75rem 0;
  font-size: 1rem;
}

.nd-site-header__panel .nd-btn-cta {
  width: 100%;
  margin-top: var(--nd-space-3);
  padding-top: 0.85rem;
  padding-bottom: 0.85rem;
}

/* Agent pages — white navbar */
.nd-site-header--light {
  background: var(--nd-white);
  box-shadow: 0 1px 0 rgba(0, 0, 0, 0.06);
}

.nd-site-header--light .nd-site-header__brand {
  color: var(--nd-ink);
}

.nd-site-header--light .nd-site-header__link {
  color: var(--nd-ink);
}

.nd-site-header--light .nd-site-header__link:hover,
.nd-site-header--light .nd-site-header__link:focus-visible {
  opacity: 0.72;
}

.nd-site-header--light .nd-site-header__menu-toggle {
  border-color: rgba(0, 0, 0, 0.12);
  color: var(--nd-ink);
}

.nd-site-header--light .nd-site-header__panel {
  background: var(--nd-white);
  border-top-color: rgba(0, 0, 0, 0.08);
}

/* Agents mega-menu — glass dropdown */
.nav_mega {
  --nav-mega-refraction: 80;
  --nav-mega-depth: 20;
  --nav-mega-dispersion: 50;
  --nav-mega-frost: 19;
  --nav-mega-splay: 0;
  --nav-mega-offset-x: 1.35rem;
  position: relative;
}

.nav_mega__trigger {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  text-decoration: none;
}

.nav_mega__chevron {
  display: inline-flex;
  align-items: center;
  transition: transform 0.2s ease;
}

.nav_mega.is-open .nav_mega__chevron {
  transform: rotate(180deg);
}

.nav_mega__layout {
  --nav-mega-bg: rgba(18, 18, 22, 0.62);
  --nav-mega-border: rgba(255, 255, 255, 0.14);
  --nav-mega-shadow: 0 18px 48px rgba(0, 0, 0, 0.38);
  position: absolute;
  top: calc(100% + 0.65rem);
  left: 50%;
  transform: translateX(calc(-50% + var(--nav-mega-offset-x)));
  display: flex;
  align-items: stretch;
  gap: 0.5rem;
  min-width: 36.5rem;
  padding: 0.85rem 1rem;
  border-radius: 16px;
  background: var(--nav-mega-bg);
  border: 1px solid var(--nav-mega-border);
  box-shadow: var(--nav-mega-shadow);
  backdrop-filter: blur(calc(var(--nav-mega-frost) * 1px)) saturate(1.65);
  -webkit-backdrop-filter: blur(calc(var(--nav-mega-frost) * 1px)) saturate(1.65);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.2s ease, visibility 0.2s ease, transform 0.2s ease;
  transform: translateX(calc(-50% + var(--nav-mega-offset-x))) translateY(6px);
  z-index: 60;
}

.nav_mega.is-open .nav_mega__layout {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translateX(calc(-50% + var(--nav-mega-offset-x))) translateY(0);
}

.nav_mega::after {
  content: "";
  position: absolute;
  left: 50%;
  top: 100%;
  width: 36.5rem;
  height: 0.85rem;
  transform: translateX(calc(-50% + var(--nav-mega-offset-x)));
  pointer-events: none;
}

.nav_mega.is-open::after {
  pointer-events: auto;
}

.nav_mega__agent {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  flex: 1 1 0;
  min-width: 0;
  padding: 0.65rem 0.85rem;
  border-radius: 12px;
  color: var(--nd-white);
  text-decoration: none;
  transition: background 0.15s ease;
}

.nav_mega__agent:hover,
.nav_mega__agent:focus-visible {
  background: rgba(255, 255, 255, 0.08);
}

.nav_mega__icon-wrap {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  width: 3.5rem;
  height: 3.5rem;
  border-radius: 50%;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.06);
}

.nav_mega__icon {
  width: 3.5rem;
  height: 3.5rem;
  object-fit: cover;
  display: block;
}

.nav_mega__copy {
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
  min-width: 0;
}

.nav_mega__role {
  font-family: var(--nd-font);
  font-size: 0.875rem;
  font-weight: 700;
  line-height: 1.2;
  white-space: nowrap;
}

.nav_mega__name {
  font-family: var(--nd-font);
  font-size: 0.875rem;
  font-weight: 500;
  line-height: 1.2;
  color: rgba(255, 255, 255, 0.72);
  white-space: nowrap;
}

.nd-site-header--light .nav_mega__layout {
  --nav-mega-bg: rgba(255, 255, 255, 0.78);
  --nav-mega-border: rgba(0, 0, 0, 0.08);
  --nav-mega-shadow: 0 16px 40px rgba(0, 0, 0, 0.12);
}

.nd-site-header--light .nav_mega__agent {
  color: var(--nd-ink);
}

.nd-site-header--light .nav_mega__agent:hover,
.nd-site-header--light .nav_mega__agent:focus-visible {
  background: rgba(0, 0, 0, 0.04);
}

.nd-site-header--light .nav_mega__name {
  color: var(--nd-muted);
}

.nd-site-header--light .nav_mega__icon-wrap {
  background: rgba(0, 0, 0, 0.04);
}

@media (max-width: 767px) {
  .nav_mega__layout {
    display: none !important;
  }

  .nav_mega::after {
    display: none;
  }
}

.nav_mega__mobile-agents {
  display: grid;
  gap: 0.15rem;
  padding: 0.15rem 0 0.5rem;
}

.nav_mega__mobile-agent {
  display: flex !important;
  align-items: center;
  gap: 0.75rem;
  padding: 0.65rem 0 0.65rem 0.75rem !important;
}

.nav_mega__mobile-agent .nav_mega__icon-wrap {
  width: 2.5rem;
  height: 2.5rem;
}

.nav_mega__mobile-agent .nav_mega__icon {
  width: 2.5rem;
  height: 2.5rem;
}

.nav_mega__mobile-agent .nav_mega__role {
  font-size: 0.8125rem;
}

.nav_mega__mobile-agent .nav_mega__name {
  font-size: 0.8125rem;
}

.nd-site-header__link--sub {
  padding-left: 0.75rem !important;
  font-size: 0.9375rem !important;
  font-weight: 600 !important;
}

.nd-landing-agents__card-link {
  text-decoration: none;
  color: inherit;
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}

.nd-landing-agents__card-link:hover,
.nd-landing-agents__card-link:focus-visible {
  transform: translateY(-2px);
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.08);
}

.nd-landing-agents-roster__slide-link {
  text-decoration: none;
  color: inherit;
  transition: transform 0.15s ease;
}

.nd-landing-agents-roster__slide-link:hover,
.nd-landing-agents-roster__slide-link:focus-visible {
  transform: translateY(-2px);
}

.nd-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.85rem 1.75rem;
  border-radius: var(--nd-radius-btn);
  font-family: var(--nd-font);
  font-size: 0.9375rem;
  font-weight: 700;
  text-decoration: none;
  border: none;
  transition: filter 0.15s ease, transform 0.15s ease;
}

.nd-btn--dark {
  background: var(--nd-black);
  color: var(--nd-white);
}

.nd-btn--dark:hover {
  filter: brightness(1.12);
}

.nd-btn--dark:focus-visible {
  outline: 2px solid var(--nd-brand);
  outline-offset: 2px;
}

/* Footer */
.nd-site-footer {
  position: relative;
  background: var(--nd-footer-bg);
  color: var(--nd-ink);
  border-top: 1px solid var(--nd-footer-border);
  overflow: visible;
}

.nd-site-footer__columns {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 1.5rem;
}

.nd-site-footer__columns-row {
  display: grid;
  gap: 2rem;
  width: 100%;
}

@media (min-width: 768px) {
  .nd-site-footer__columns-row {
    grid-auto-flow: column;
    gap: clamp(3rem, 6vw, 5.5rem);
    width: auto;
  }
}

.nd-site-footer__accent {
  position: relative;
  width: min(11rem, 58%);
  max-width: 11rem;
  height: 5px;
  margin-top: 0.5rem;
  margin-bottom: 0.25rem;
  flex-shrink: 0;
  pointer-events: none;
  align-self: flex-end;
  z-index: 2;
  border-radius: var(--nd-footer-loader-radius);
  overflow: hidden;
}

@media (min-width: 768px) {
  .nd-site-footer__accent {
    width: min(13rem, 22vw);
    max-width: 13rem;
    margin-top: 0.75rem;
  }
}

.nd-site-footer:not([data-nd-footer-loader]) .nd-site-footer__accent {
  border-radius: var(--nd-footer-loader-radius);
  background: linear-gradient(
    90deg,
    #1d4ed8 0%,
    #4d00ff 32%,
    #a855f7 52%,
    #ec4899 68%,
    #ef4444 72%,
    var(--nd-footer-loader-track) 72%
  );
}

.nd-site-footer__accent-track {
  width: 100%;
  height: 100%;
  background: var(--nd-footer-loader-track);
  border-radius: inherit;
  overflow: hidden;
}

.nd-site-footer__accent-fill {
  display: block;
  height: 100%;
  width: var(--nd-footer-loader-base);
  border-radius: inherit;
  background: linear-gradient(
    90deg,
    #1d4ed8 0%,
    #4d00ff 28%,
    #7c3aed 48%,
    #ec4899 72%,
    #ef4444 100%
  );
  transition: width 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.nd-site-footer.is-scroll-loading .nd-site-footer__accent-fill {
  transition: none;
}

.nd-site-footer.is-scroll-releasing .nd-site-footer__accent-fill {
  transition: width 0.55s cubic-bezier(0.4, 0, 0.2, 1);
}

.nd-site-footer.is-scroll-complete .nd-site-footer__accent-fill {
  width: 100% !important;
}

html.nd-footer-scroll-lock {
  overflow: hidden;
}

html.nd-footer-scroll-lock body {
  overscroll-behavior: none;
}

.nd-site-footer__inner {
  position: relative;
  z-index: 1;
  max-width: var(--nd-container);
  margin: 0 auto;
  padding: 3.5rem clamp(1rem, 4vw, 5rem) 2rem;
}

.nd-site-footer[data-nd-footer-loader] .nd-site-footer__inner {
  padding-bottom: 2.25rem;
}

.nd-site-footer__grid {
  display: grid;
  gap: 2.5rem;
}

@media (min-width: 768px) {
  .nd-site-footer__grid {
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: start;
    gap: 3rem;
  }
}


.nd-site-footer__brand {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.nd-site-footer__brand-link {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  color: var(--nd-ink);
  text-decoration: none;
}

.nd-site-footer__brand-link .nd-site-header__wordmark {
  color: var(--nd-ink);
  font-size: 0.9rem;
}

.nd-site-footer__copyright {
  display: grid;
  gap: 0.15rem;
}

.nd-site-footer__copyright p {
  font-family: var(--nd-font);
  font-size: 0.8125rem;
  color: var(--nd-muted);
  line-height: 1.45;
  margin: 0;
}

.nd-site-footer__column-title {
  font-family: var(--nd-font);
  font-size: 0.9375rem;
  font-weight: 700;
  color: var(--nd-ink);
  margin: 0 0 1rem;
  letter-spacing: -0.01em;
}

.nd-site-footer__links {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0.5rem;
}

.nd-site-footer__links a {
  font-family: var(--nd-font);
  font-size: 0.8125rem;
  color: var(--nd-muted);
  text-decoration: none;
  transition: color 0.15s ease;
}

.nd-site-footer__links a:hover,
.nd-site-footer__links a:focus-visible {
  color: var(--nd-ink);
}

.nd-site-footer__bottom {
  margin-top: 2.5rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--nd-footer-border);
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.nd-site-footer__socials {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-left: auto;
}

.nd-site-footer__socials a {
  font-family: var(--nd-font);
  font-size: 0.75rem;
  font-weight: 500;
  color: var(--nd-muted);
  text-decoration: none;
}

.nd-site-footer__socials a:hover {
  color: var(--nd-ink);
}

/* Landing hero */
.nd-landing-hero {
  position: relative;
  display: flex;
  align-items: center;
  min-height: min(88vh, 820px);
  background: #000;
  color: var(--nd-white);
  overflow: hidden;
}

.nd-landing-hero__media {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.nd-landing-hero__image,
.nd-landing-hero__video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 68% center;
}

.nd-landing-hero__video {
  display: block;
}

.nd-landing-hero__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    90deg,
    #000 0%,
    #000 28%,
    rgba(0, 0, 0, 0.85) 42%,
    rgba(0, 0, 0, 0.35) 58%,
    rgba(0, 0, 0, 0.08) 72%,
    transparent 100%
  );
  pointer-events: none;
}

.nd-landing-hero--no-media .nd-landing-hero__overlay {
  background: linear-gradient(135deg, #000 0%, #1a0a3e 45%, #0f172a 100%);
}

.nd-landing-hero__inner {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: var(--nd-container);
  margin: 0 auto;
  padding: clamp(5.5rem, 14vh, 7.5rem) clamp(1rem, 4vw, 5rem) clamp(3rem, 8vh, 4rem);
}

.nd-landing-hero__content {
  max-width: 34rem;
}

.nd-landing-hero__title {
  margin: 0;
  font-family: var(--nd-font);
  font-size: clamp(2rem, 4.5vw, 3.25rem);
  font-weight: 700;
  line-height: 1.12;
  letter-spacing: -0.02em;
  color: var(--nd-white);
}

.nd-landing-hero__subtitle {
  margin-top: 1.25rem;
  font-family: var(--nd-font);
  font-size: clamp(0.9375rem, 1.6vw, 1.0625rem);
  font-weight: 400;
  line-height: 1.65;
  color: rgba(255, 255, 255, 0.88);
}

.nd-landing-hero__subtitle p {
  margin: 0 0 0.75rem;
}

.nd-landing-hero__subtitle p:last-child {
  margin-bottom: 0;
}

.nd-landing-hero__cta-wrap {
  margin: 1.75rem 0 0;
}

.nd-landing-hero__cta {
  min-width: 12rem;
}

@media (max-width: 767px) {
  .nd-landing-hero {
    min-height: min(78vh, 640px);
  }

  .nd-landing-hero__image,
  .nd-landing-hero__video {
    object-position: center center;
  }

  .nd-landing-hero__overlay {
    background: linear-gradient(
      180deg,
      rgba(0, 0, 0, 0.55) 0%,
      rgba(0, 0, 0, 0.75) 35%,
      rgba(0, 0, 0, 0.92) 100%
    );
  }

  .nd-landing-hero__content {
    max-width: none;
  }
}

/* Landing problem — dispersion (under hero) */
.nd-landing-problem {
  background: #000;
  color: var(--nd-white);
  text-align: center;
}

.nd-landing-problem__inner {
  max-width: var(--nd-container);
  margin: 0 auto;
  padding: clamp(3.5rem, 9vw, 5.5rem) clamp(1rem, 4vw, 2.5rem) clamp(4rem, 10vw, 6rem);
}

.nd-landing-problem__title {
  margin: 0 auto;
  max-width: 52rem;
  font-family: var(--nd-font);
  font-size: clamp(1.75rem, 4.2vw, 2.75rem);
  font-weight: 700;
  line-height: 1.18;
  letter-spacing: -0.02em;
  color: var(--nd-white);
}

.nd-landing-problem__description {
  margin: 1.35rem auto 0;
  max-width: 42rem;
  font-family: var(--nd-font);
  font-size: clamp(0.9375rem, 1.55vw, 1.0625rem);
  font-weight: 400;
  line-height: 1.65;
  color: rgba(255, 255, 255, 0.88);
}

.nd-landing-problem__description p {
  margin: 0;
}

.nd-landing-problem__visual {
  margin: clamp(2.5rem, 6vw, 3.75rem) auto 0;
  max-width: 56rem;
}

.nd-landing-problem__image,
.nd-landing-problem__video {
  display: block;
  width: 100%;
  height: auto;
  margin: 0 auto;
  border-radius: 0.5rem;
}

.nd-landing-problem__video {
  background: #000;
}

@media (max-width: 767px) {
  .nd-landing-problem__inner {
    padding-top: clamp(2.75rem, 8vw, 3.5rem);
    padding-bottom: clamp(3rem, 8vw, 4rem);
  }

  .nd-landing-problem__title {
    font-size: clamp(1.5rem, 6.5vw, 2rem);
  }

  .nd-landing-problem__visual {
    max-width: 100%;
  }
}

/* Landing CRM — two columns (under problem) */
.nd-landing-crm {
  background: #000;
  color: var(--nd-white);
}

.nd-landing-crm__inner {
  max-width: var(--nd-container);
  margin: 0 auto;
  padding: clamp(3rem, 8vw, 5rem) clamp(1rem, 4vw, 2.5rem);
}

.nd-landing-crm__grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr);
  gap: clamp(2rem, 5vw, 3.5rem);
  align-items: center;
}

.nd-landing-crm__title {
  margin: 0 0 clamp(1.75rem, 4vw, 2.25rem);
  font-family: var(--nd-font);
  font-size: clamp(1.75rem, 3.8vw, 2.5rem);
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: -0.02em;
  color: var(--nd-white);
}

.nd-landing-crm__columns {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(1.25rem, 3vw, 2rem);
}

.nd-landing-crm__column-title {
  margin: 0 0 0.65rem;
  font-family: var(--nd-font);
  font-size: clamp(0.9375rem, 1.4vw, 1.0625rem);
  font-weight: 700;
  line-height: 1.35;
  color: var(--nd-white);
}

.nd-landing-crm__column-text {
  margin: 0;
  font-family: var(--nd-font);
  font-size: clamp(0.8125rem, 1.25vw, 0.9375rem);
  font-weight: 400;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.82);
}

.nd-landing-crm__visual {
  min-width: 0;
}

.nd-landing-crm__image {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 0.25rem;
}

@media (max-width: 991px) {
  .nd-landing-crm__grid {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }

  .nd-landing-crm__visual {
    order: 2;
  }

  .nd-landing-crm__content {
    order: 1;
  }
}

@media (max-width: 640px) {
  .nd-landing-crm__columns {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }
}

/* Landing agents — bento grid (under CRM) */
.nd-landing-agents {
  background: #000;
  color: var(--nd-white);
}

.nd-landing-agents__inner {
  max-width: min(76rem, 96vw);
  margin: 0 auto;
  padding: clamp(2.5rem, 7vw, 4rem) clamp(1rem, 3vw, 1.5rem) clamp(3.5rem, 9vw, 5.5rem);
}

.nd-landing-agents__grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  align-items: stretch;
  gap: clamp(0.85rem, 1.5vw, 1.25rem);
}

.nd-landing-agents__card {
  position: relative;
  overflow: hidden;
  isolation: isolate;
  border-radius: 3rem;
  color: var(--nd-white);
}

.nd-landing-agents__card--span-2 {
  grid-column: 1 / -1;
}

.nd-landing-agents__card--purple {
  background: #8b5cf6;
}

.nd-landing-agents__card--blue {
  background: #3b82f6;
}

.nd-landing-agents__card--orange {
  background: #e3961c;
}

/* Wendie — full width, copy left / visual right */
.nd-landing-agents__card--wide {
  display: grid;
  grid-template-columns: minmax(0, 42%) minmax(0, 58%);
  align-items: end;
  min-height: clamp(18rem, 26vw, 23rem);
  padding: clamp(2.15rem, 3.4vw, 2.65rem) 0 0 clamp(2.15rem, 3.4vw, 2.65rem);
}

.nd-landing-agents__card--wide .nd-landing-agents__card-body {
  align-self: center;
  padding: 0 1.25rem 0 0;
  z-index: 2;
}

.nd-landing-agents__card--wide .nd-landing-agents__card-media {
  position: relative;
  align-self: end;
  justify-self: stretch;
  display: flex;
  align-items: flex-end;
  justify-content: flex-end;
  height: 100%;
  min-height: clamp(14rem, 24vw, 18.5rem);
  margin: 0;
  padding: 0;
  z-index: 1;
}

.nd-landing-agents__card--wide .nd-landing-agents__card-image,
.nd-landing-agents__card--wendie .nd-landing-agents__card-image {
  width: auto;
  max-width: min(130%, 38rem);
  height: clamp(17rem, 30vw, 23rem);
  margin: 0 -1rem 0 0;
  object-fit: contain;
  object-position: bottom right;
}

/* Sergio / Lina — copy top, illustration pinned bottom-right (82px corner) */
.nd-landing-agents__card--tall {
  display: flex;
  flex-direction: column;
  height: 100%;
  min-height: clamp(28rem, 42vw, 34rem);
  padding: clamp(1.85rem, 3vw, 2.25rem) 0 0 clamp(1.65rem, 2.8vw, 2rem);
  border-radius: 3rem 3rem 82px 3rem;
}

.nd-landing-agents__card--tall .nd-landing-agents__card-body {
  position: relative;
  z-index: 2;
  flex: 0 0 auto;
  max-width: 100%;
  padding: 0 clamp(1.25rem, 2.5vw, 1.65rem) clamp(1rem, 2vw, 1.35rem) 0;
}

.nd-landing-agents__card--tall .nd-landing-agents__card-media {
  position: absolute;
  right: 0;
  bottom: 0;
  z-index: 1;
  display: flex;
  align-items: flex-end;
  justify-content: flex-end;
  width: 100%;
  max-width: 100%;
  height: min(58%, 26rem);
  min-height: clamp(14rem, 24vw, 18.5rem);
  margin: 0;
  padding: 0;
  overflow: hidden;
  border-bottom-right-radius: 82px;
  pointer-events: none;
}

.nd-landing-agents__card--tall .nd-landing-agents__card-media::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  border-bottom-right-radius: 82px;
  pointer-events: none;
}

.nd-landing-agents__card--blue.nd-landing-agents__card--tall .nd-landing-agents__card-media::before {
  background: linear-gradient(
    135deg,
    transparent 20%,
    rgba(37, 99, 201, 0.22) 55%,
    rgba(29, 78, 168, 0.38) 100%
  );
}

.nd-landing-agents__card--orange.nd-landing-agents__card--tall .nd-landing-agents__card-media::before {
  background: linear-gradient(
    135deg,
    transparent 18%,
    rgba(180, 90, 8, 0.2) 50%,
    rgba(140, 72, 6, 0.35) 100%
  );
}

.nd-landing-agents__card--tall .nd-landing-agents__card-image {
  position: relative;
  z-index: 1;
  display: block;
  width: auto;
  max-width: min(100%, 22rem);
  height: auto;
  max-height: 100%;
  margin: 0;
  object-fit: contain;
  object-position: bottom right;
}

.nd-landing-agents__card-body {
  min-width: 0;
}

.nd-landing-agents__card-title {
  margin: 0;
  font-family: var(--nd-font);
  font-weight: 700;
  line-height: 1.22;
  letter-spacing: -0.02em;
  color: var(--nd-white);
}

.nd-landing-agents__card--wide .nd-landing-agents__card-title {
  font-size: clamp(1.6rem, 3vw, 2.25rem);
  max-width: 30rem;
}

.nd-landing-agents__card--tall .nd-landing-agents__card-title {
  font-size: clamp(1.125rem, 2vw, 1.375rem);
  max-width: 23rem;
}

.nd-landing-agents__card-text {
  margin: 0.85rem 0 0;
  font-family: var(--nd-font);
  font-size: clamp(0.8125rem, 1.15vw, 0.9375rem);
  font-weight: 400;
  line-height: 1.55;
  color: rgba(255, 255, 255, 0.96);
}

.nd-landing-agents__card--wide .nd-landing-agents__card-text {
  max-width: 26rem;
}

.nd-landing-agents__card--tall .nd-landing-agents__card-text {
  max-width: 21rem;
}

.nd-landing-agents__card-media {
  pointer-events: none;
  user-select: none;
}

.nd-landing-agents__card-image {
  display: block;
}

@media (max-width: 767px) {
  .nd-landing-agents__grid {
    grid-template-columns: 1fr;
    gap: 1rem;
  }

  .nd-landing-agents__card {
    border-radius: 1.75rem;
  }

  .nd-landing-agents__card--span-2 {
    grid-column: auto;
  }

  .nd-landing-agents__card--wide {
    grid-template-columns: 1fr;
    min-height: 0;
    padding: 1.65rem 1.25rem 0;
  }

  .nd-landing-agents__card--wide .nd-landing-agents__card-body {
    padding: 0 0 1rem;
  }

  .nd-landing-agents__card--wide .nd-landing-agents__card-media {
    min-height: 12.5rem;
    justify-content: center;
  }

  .nd-landing-agents__card--wide .nd-landing-agents__card-image,
  .nd-landing-agents__card--wendie .nd-landing-agents__card-image {
    height: clamp(14rem, 52vw, 18rem);
    max-width: 100%;
    margin: 0 auto;
    object-position: bottom center;
  }

  .nd-landing-agents__card--wide .nd-landing-agents__card-title,
  .nd-landing-agents__card--wide .nd-landing-agents__card-text {
    max-width: none;
  }

  .nd-landing-agents__card--tall {
    min-height: clamp(21rem, 64vw, 26rem);
    border-radius: 1.75rem 1.75rem 3.5rem 1.75rem;
  }

  .nd-landing-agents__card--tall .nd-landing-agents__card-media {
    border-bottom-right-radius: 3.5rem;
  }

  .nd-landing-agents__card--tall .nd-landing-agents__card-media::before {
    border-bottom-right-radius: 3.5rem;
  }

  .nd-landing-agents__card--tall .nd-landing-agents__card-image {
    max-width: min(100%, 18rem);
    object-position: bottom right;
  }

  .nd-landing-agents__card--tall .nd-landing-agents__card-title,
  .nd-landing-agents__card--tall .nd-landing-agents__card-text {
    max-width: none;
  }

}

/* Landing agents roster — carousel (under bento agents) */
.nd-landing-agents-roster {
  background: #000;
  color: var(--nd-white);
}

.nd-landing-agents-roster__inner {
  max-width: min(76rem, 96vw);
  margin: 0 auto;
  padding: clamp(2rem, 6vw, 3.5rem) clamp(0.5rem, 2vw, 1rem) clamp(4rem, 9vw, 5.5rem);
}

.nd-landing-agents-roster__carousel {
  position: relative;
}

.nd-landing-agents-roster__viewport {
  overflow-x: auto;
  overflow-y: hidden;
  scroll-snap-type: x mandatory;
  scroll-padding-inline: clamp(2.5rem, 6vw, 3.5rem);
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
}

.nd-landing-agents-roster__viewport::-webkit-scrollbar {
  display: none;
}

.nd-landing-agents-roster__viewport:focus {
  outline: 2px solid rgba(255, 255, 255, 0.35);
  outline-offset: 4px;
}

.nd-landing-agents-roster__track {
  display: flex;
  gap: clamp(1rem, 2vw, 1.35rem);
  padding: 0 clamp(2.75rem, 7vw, 4rem);
}

.nd-landing-agents-roster__slide {
  flex: 0 0 clamp(15.5rem, 28vw, 21.5rem);
  scroll-snap-align: start;
  min-width: 0;
}

.nd-landing-agents-roster__photo-wrap {
  aspect-ratio: 3 / 4;
  border-radius: 2.5rem;
  overflow: hidden;
  background: linear-gradient(145deg, #1e293b 0%, #0f172a 100%);
}

.nd-landing-agents-roster__photo {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
}

.nd-landing-agents-roster__photo-placeholder {
  width: 100%;
  height: 100%;
  background: linear-gradient(145deg, #334155 0%, #1e293b 50%, #0f172a 100%);
}

.nd-landing-agents-roster__name {
  margin: 1rem 0 0;
  font-family: var(--nd-font);
  font-size: clamp(1.125rem, 2vw, 1.375rem);
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: -0.01em;
  color: var(--nd-white);
}

.nd-landing-agents-roster__description {
  margin: 0.65rem 0 0;
  font-family: var(--nd-font);
  font-size: clamp(0.8125rem, 1.15vw, 0.9375rem);
  font-weight: 400;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.78);
}

.nd-landing-agents-roster__nav {
  position: absolute;
  top: 32%;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 2.75rem;
  height: 2.75rem;
  padding: 0;
  border: 1px solid rgba(255, 255, 255, 0.35);
  border-radius: 50%;
  background: rgba(0, 0, 0, 0.72);
  color: var(--nd-white);
  font-size: 1.125rem;
  line-height: 1;
  cursor: pointer;
  transition: background 0.2s ease, border-color 0.2s ease, opacity 0.2s ease;
}

.nd-landing-agents-roster__nav:hover:not(:disabled) {
  background: rgba(0, 0, 0, 0.9);
  border-color: rgba(255, 255, 255, 0.55);
}

.nd-landing-agents-roster__nav:disabled {
  opacity: 0.35;
  cursor: default;
}

.nd-landing-agents-roster__nav--prev {
  left: 0;
  transform: translateX(-15%);
}

.nd-landing-agents-roster__nav--next {
  right: 0;
  transform: translateX(15%);
}

@media (max-width: 767px) {
  .nd-landing-agents-roster__track {
    padding: 0 3.25rem;
  }

  .nd-landing-agents-roster__slide {
    flex: 0 0 clamp(14rem, 72vw, 17.5rem);
  }

  .nd-landing-agents-roster__nav {
    width: 2.5rem;
    height: 2.5rem;
    top: 28%;
  }

  .nd-landing-agents-roster__nav--prev {
    transform: translateX(-5%);
  }

  .nd-landing-agents-roster__nav--next {
    transform: translateX(5%);
  }
}

/* Landing assistant — phone left, copy right (under agents roster) */
.nd-landing-assistant {
  background: #000;
  color: var(--nd-white);
}

.nd-landing-assistant__inner {
  max-width: min(76rem, 96vw);
  margin: 0 auto;
  padding: clamp(3rem, 8vw, 5rem) clamp(1rem, 4vw, 2.5rem);
}

.nd-landing-assistant__grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: clamp(2rem, 5vw, 4rem);
  align-items: center;
}

.nd-landing-assistant__visual {
  min-width: 0;
  display: flex;
  align-items: center;
  justify-content: flex-start;
}

.nd-landing-assistant__visual--crop-default {
  overflow: hidden;
  max-height: clamp(18rem, 42vw, 28rem);
}

.nd-landing-assistant__visual--crop-default .nd-landing-assistant__image {
  width: 210%;
  max-width: none;
  object-fit: cover;
  object-position: left center;
}

.nd-landing-assistant__image {
  display: block;
  width: 100%;
  max-width: min(100%, 28rem);
  height: auto;
  margin: 0 auto;
  object-fit: contain;
  object-position: left center;
}

.nd-landing-assistant__content {
  min-width: 0;
  max-width: 34rem;
}

.nd-landing-assistant__title {
  margin: 0;
  font-family: var(--nd-font);
  font-size: clamp(1.75rem, 3.6vw, 2.5rem);
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: -0.02em;
  color: var(--nd-white);
}

.nd-landing-assistant__description {
  margin: 1.35rem 0 0;
  font-family: var(--nd-font);
  font-size: clamp(0.9375rem, 1.5vw, 1.0625rem);
  font-weight: 400;
  line-height: 1.65;
  color: rgba(255, 255, 255, 0.88);
}

.nd-landing-assistant__description strong {
  font-weight: 700;
  color: var(--nd-white);
}

@media (max-width: 991px) {
  .nd-landing-assistant__grid {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }

  .nd-landing-assistant__visual {
    justify-content: center;
  }

  .nd-landing-assistant__image {
    max-width: min(100%, 22rem);
  }

  .nd-landing-assistant__content {
    max-width: none;
  }
}

/* Landing team control — centered (under assistant) */
.nd-landing-team-control {
  background: #000;
  color: var(--nd-white);
  text-align: center;
}

.nd-landing-team-control__inner {
  max-width: min(52rem, 94vw);
  margin: 0 auto;
  padding: clamp(3rem, 8vw, 5.5rem) clamp(1rem, 4vw, 2rem);
}

.nd-landing-team-control__visual {
  margin: 0 auto clamp(1.25rem, 3.5vw, 2rem);
}

.nd-landing-team-control__visual--crop-default {
  max-height: clamp(18rem, 38vw, 24rem);
  overflow: hidden;
}

.nd-landing-team-control__visual--crop-default .nd-landing-team-control__image {
  object-fit: cover;
  object-position: top center;
}

.nd-landing-team-control__image {
  display: block;
  width: 100%;
  max-width: min(32rem, 92vw);
  height: auto;
  margin: 0 auto;
  object-fit: contain;
}

.nd-landing-team-control__headings {
  margin: 0;
}

.nd-landing-team-control__title,
.nd-landing-team-control__subtitle {
  margin: 0;
  font-family: var(--nd-font);
  font-size: clamp(2rem, 5.5vw, 3.25rem);
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: -0.02em;
  color: var(--nd-white);
}

.nd-landing-team-control__subtitle {
  margin-top: 0.12em;
}

.nd-landing-team-control__description {
  margin: clamp(1.75rem, 4vw, 2.5rem) auto 0;
  max-width: 40rem;
  font-family: var(--nd-font);
  font-size: clamp(0.875rem, 1.35vw, 1rem);
  font-weight: 400;
  line-height: 1.65;
  color: rgba(255, 255, 255, 0.82);
  text-align: center;
}

.nd-landing-team-control__description p {
  margin: 0 0 0.75rem;
}

.nd-landing-team-control__description p:last-child {
  margin-bottom: 0;
}

.nd-landing-team-control__description strong {
  font-weight: 700;
  color: var(--nd-white);
}

/* Landing channels — unified dashboard (under team control) */
.nd-landing-channels {
  background: #000;
  color: var(--nd-white);
}

.nd-landing-channels__visual {
  position: relative;
  width: 100%;
  line-height: 0;
  background: #000;
}

.nd-landing-channels__visual::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 1;
  height: clamp(4rem, 18vw, 9rem);
  background: linear-gradient(180deg, transparent 0%, rgba(0, 0, 0, 0.55) 45%, #000 100%);
  pointer-events: none;
}

.nd-landing-channels__image {
  position: relative;
  z-index: 0;
  display: block;
  width: 100%;
  height: auto;
  max-height: none;
  margin: 0 auto;
  object-fit: contain;
  object-position: center center;
}

.nd-landing-channels__visual--crop-default {
  max-height: none;
  overflow: visible;
}

.nd-landing-channels__visual--crop-default .nd-landing-channels__image {
  width: 100%;
  height: auto;
  min-height: 0;
  object-fit: contain;
  object-position: center center;
}

.nd-landing-channels__content {
  position: relative;
  z-index: 2;
  margin-top: clamp(-3.5rem, -8vw, -1.5rem);
  text-align: center;
}

.nd-landing-channels__inner {
  max-width: min(44rem, 92vw);
  margin: 0 auto;
  padding: 0 clamp(1rem, 4vw, 2rem) clamp(3.5rem, 8vw, 5rem);
}

.nd-landing-channels__title {
  margin: 0;
  font-family: var(--nd-font);
  font-size: clamp(1.75rem, 4vw, 2.75rem);
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: -0.02em;
  color: var(--nd-white);
}

.nd-landing-channels__description {
  margin: 1.25rem 0 0;
  font-family: var(--nd-font);
  font-size: clamp(0.875rem, 1.4vw, 1.0625rem);
  font-weight: 400;
  line-height: 1.65;
  color: rgba(255, 255, 255, 0.82);
}

.nd-landing-channels__description strong {
  font-weight: 700;
  color: var(--nd-white);
}

@media (max-width: 767px) {
  .nd-landing-channels__visual::after {
    height: clamp(3rem, 14vw, 5rem);
  }

  .nd-landing-channels__content {
    margin-top: clamp(-2rem, -6vw, -0.75rem);
  }
}

/* Landing pricing — dark plan cards */
.nd-landing-pricing {
  --nd-pricing-blue: #3b82f6;
  --nd-pricing-blue-glow: rgba(59, 130, 246, 0.45);
  --nd-pricing-card: #1e242c;
  --nd-pricing-card-border: rgba(255, 255, 255, 0.08);
  --nd-pricing-muted: #9ca3af;
  --nd-pricing-save: #ef4444;
  background: #000;
  color: var(--nd-white);
  padding: clamp(3.5rem, 8vw, 5.5rem) clamp(1rem, 4vw, 2rem);
}

.nd-landing-pricing__inner {
  max-width: min(68rem, 100%);
  margin: 0 auto;
  text-align: center;
}

.nd-landing-pricing__heading {
  margin: 0 0 clamp(2rem, 5vw, 3rem);
  font-family: var(--nd-font);
  font-size: clamp(1.75rem, 4.5vw, 2.5rem);
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: -0.03em;
  color: var(--nd-white);
}

.nd-landing-pricing__grid {
  display: grid;
  gap: 1rem;
  align-items: stretch;
  padding-top: 0.75rem;
  text-align: left;
}

@media (min-width: 900px) {
  .nd-landing-pricing__grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1.125rem;
    align-items: start;
  }
}

.nd-landing-pricing__card {
  position: relative;
  display: flex;
  flex-direction: column;
  min-height: 100%;
  padding: 1.35rem 1.35rem 1.25rem;
  border: 1px solid var(--nd-pricing-card-border);
  border-radius: 1rem;
  background: var(--nd-pricing-card);
  cursor: pointer;
  transition:
    border-color 0.2s ease,
    box-shadow 0.2s ease,
    transform 0.2s ease;
}

.nd-landing-pricing__card:hover {
  border-color: rgba(255, 255, 255, 0.16);
}

.nd-landing-pricing__card--recommended {
  padding-top: 1.5rem;
}

.nd-landing-pricing__card--selected {
  border: 2px solid var(--nd-pricing-blue);
  box-shadow:
    0 0 0 1px rgba(59, 130, 246, 0.15),
    0 16px 40px rgba(59, 130, 246, 0.18);
}

.nd-landing-pricing__card--selected:hover {
  border-color: #60a5fa;
  box-shadow:
    0 0 0 1px rgba(96, 165, 250, 0.25),
    0 20px 48px var(--nd-pricing-blue-glow);
}

@media (min-width: 900px) {
  .nd-landing-pricing__card--selected {
    transform: translateY(-0.5rem);
  }
}

.nd-landing-pricing__card:focus-visible {
  outline: 2px solid var(--nd-pricing-blue);
  outline-offset: 3px;
}

.nd-landing-pricing__tab {
  position: absolute;
  top: 0;
  left: 50%;
  z-index: 1;
  transform: translate(-50%, -50%);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.4rem 1rem;
  border-radius: 0.5rem;
  background: var(--nd-pricing-blue);
  color: var(--nd-white);
  font-family: var(--nd-font);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  white-space: nowrap;
}

.nd-landing-pricing__card-top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 1.25rem;
}

.nd-landing-pricing__card-intro {
  min-width: 0;
  flex: 1 1 auto;
}

.nd-landing-pricing__plan-name {
  margin: 0;
  font-family: var(--nd-font);
  font-size: 1.0625rem;
  font-weight: 700;
  line-height: 1.25;
  letter-spacing: -0.02em;
  color: var(--nd-white);
}

.nd-landing-pricing__plan-tagline {
  margin: 0.4rem 0 0;
  font-family: var(--nd-font);
  font-size: 0.8125rem;
  font-weight: 400;
  line-height: 1.45;
  color: var(--nd-pricing-muted);
}

.nd-landing-pricing__radio {
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 1.375rem;
  height: 1.375rem;
  margin-top: 0.15rem;
  border: 2px solid rgba(156, 163, 175, 0.55);
  border-radius: 50%;
  background: transparent;
}

.nd-landing-pricing__radio--selected {
  border-color: var(--nd-pricing-blue);
  background: rgba(59, 130, 246, 0.12);
}

.nd-landing-pricing__radio-dot {
  width: 0.5rem;
  height: 0.5rem;
  border-radius: 50%;
  background: var(--nd-pricing-blue);
  opacity: 0;
  transform: scale(0.5);
  transition: opacity 0.15s ease, transform 0.15s ease;
}

.nd-landing-pricing__radio--selected .nd-landing-pricing__radio-dot {
  opacity: 1;
  transform: scale(1);
}

.nd-landing-pricing__price-block {
  margin-bottom: 1rem;
}

.nd-landing-pricing__price-before {
  display: block;
  margin-bottom: 0.35rem;
  font-family: var(--nd-font);
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--nd-pricing-muted);
  text-decoration: line-through;
}

.nd-landing-pricing__price {
  margin: 0;
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 0.2rem 0.45rem;
  font-family: var(--nd-font);
}

.nd-landing-pricing__price-value {
  font-size: clamp(1.75rem, 3.5vw, 2.125rem);
  font-weight: 800;
  line-height: 1;
  letter-spacing: -0.03em;
  color: var(--nd-white);
}

.nd-landing-pricing__price-suffix {
  font-size: 1rem;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.88);
}

.nd-landing-pricing__price-note {
  display: block;
  margin-top: 0.35rem;
  font-size: 0.8125rem;
  font-weight: 500;
  color: var(--nd-pricing-muted);
}

.nd-landing-pricing__card-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  margin-bottom: 1rem;
  padding-top: 0.85rem;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.nd-landing-pricing__summary {
  margin: 0;
  flex: 1 1 auto;
  min-width: 0;
  font-family: var(--nd-font);
  font-size: 0.75rem;
  line-height: 1.4;
  color: var(--nd-pricing-muted);
}

.nd-landing-pricing__save {
  flex-shrink: 0;
  padding: 0.3rem 0.55rem;
  border-radius: 0.375rem;
  background: var(--nd-pricing-save);
  color: var(--nd-white);
  font-family: var(--nd-font);
  font-size: 0.6875rem;
  font-weight: 700;
  line-height: 1.2;
  white-space: nowrap;
}

.nd-landing-pricing__features {
  margin: 0;
  padding: 0.25rem 0 0;
  list-style: none;
  flex: 1 1 auto;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.nd-landing-pricing__feature {
  display: flex;
  align-items: flex-start;
  gap: 0.55rem;
  margin: 0;
  padding: 0.55rem 0;
  font-family: var(--nd-font);
  font-size: 0.75rem;
  line-height: 1.4;
  color: rgba(209, 213, 219, 0.92);
  border-bottom: 1px solid rgba(255, 255, 255, 0.04);
}

.nd-landing-pricing__feature:last-child {
  border-bottom: none;
  padding-bottom: 0;
}

.nd-landing-pricing__check {
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 1.125rem;
  height: 1.125rem;
  margin-top: 0.05rem;
  border-radius: 50%;
  background: rgba(59, 130, 246, 0.18);
  color: #93c5fd;
}

.nd-landing-pricing__card--selected .nd-landing-pricing__check {
  background: rgba(59, 130, 246, 0.28);
  color: #bfdbfe;
}

.nd-landing-pricing__actions {
  margin-top: clamp(2rem, 5vw, 2.75rem);
}

.nd-landing-pricing__cta-main {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: min(100%, 18rem);
  padding: 1rem 2.5rem;
  border-radius: var(--nd-radius-pill);
  background: var(--nd-pricing-blue);
  color: var(--nd-white);
  font-family: var(--nd-font);
  font-size: 1rem;
  font-weight: 700;
  text-decoration: none;
  box-shadow: 0 12px 32px rgba(59, 130, 246, 0.35);
  transition: filter 0.15s ease, transform 0.15s ease, box-shadow 0.15s ease;
}

.nd-landing-pricing__cta-main:hover {
  filter: brightness(1.08);
  transform: translateY(-1px);
  box-shadow: 0 16px 40px rgba(59, 130, 246, 0.45);
}

.nd-landing-pricing__cta-main:focus-visible {
  outline: 2px solid var(--nd-white);
  outline-offset: 3px;
}

@media (max-width: 899px) {
  .nd-landing-pricing__card--selected {
    transform: none;
  }
}

/* CTA banner — landing section */
.nd-cta-banner {
  position: relative;
  overflow: hidden;
  background-color: #030508;
  background-image:
    radial-gradient(
      ellipse 100% 85% at 50% 42%,
      #0f1628 0%,
      #080d18 38%,
      #030508 68%,
      #000000 100%
    ),
    radial-gradient(
      ellipse 48% 62% at 74% 48%,
      rgba(55, 72, 140, 0.42) 0%,
      rgba(28, 42, 88, 0.16) 42%,
      transparent 68%
    ),
    radial-gradient(
      ellipse 36% 48% at 22% 72%,
      rgba(35, 50, 105, 0.14) 0%,
      transparent 58%
    );
  color: var(--nd-white);
}

.nd-cta-banner__inner {
  max-width: min(76rem, 96vw);
  margin: 0 auto;
  padding: clamp(3.5rem, 9vw, 5.5rem) clamp(1rem, 4vw, 2.5rem);
}

.nd-cta-banner__grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: clamp(2rem, 5vw, 3.5rem);
  align-items: center;
}

.nd-cta-banner__content {
  min-width: 0;
  max-width: 34rem;
}

.nd-cta-banner__title {
  margin: 0;
  font-family: var(--nd-font);
  font-size: clamp(1.75rem, 3.8vw, 2.75rem);
  font-weight: 700;
  line-height: 1.12;
  letter-spacing: -0.02em;
  color: var(--nd-white);
}

.nd-cta-banner__description {
  margin-top: 1.25rem;
  font-family: var(--nd-font);
  font-size: clamp(0.9375rem, 1.5vw, 1.0625rem);
  font-weight: 400;
  line-height: 1.65;
  color: rgba(255, 255, 255, 0.88);
}

.nd-cta-banner__description p {
  margin: 0 0 0.75rem;
}

.nd-cta-banner__description p:last-child {
  margin-bottom: 0;
}

.nd-cta-banner__cta-wrap {
  margin: 1.75rem 0 0;
}

.nd-cta-banner__cta {
  min-width: 12rem;
}

.nd-cta-banner__visual {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  min-width: 0;
  background: transparent;
  border-radius: 0;
  overflow: visible;
}

.nd-cta-banner__visual::before {
  content: "";
  position: absolute;
  inset: -6% -8% -10% -12%;
  background: radial-gradient(
    ellipse 62% 68% at 52% 50%,
    rgba(70, 90, 165, 0.38) 0%,
    rgba(40, 58, 115, 0.14) 45%,
    transparent 72%
  );
  pointer-events: none;
  z-index: 0;
}

.nd-cta-banner__image {
  position: relative;
  z-index: 1;
  display: block;
  width: 100%;
  max-width: min(100%, 28rem);
  height: auto;
  object-fit: contain;
  filter: drop-shadow(0 28px 56px rgba(0, 0, 0, 0.4));
}

@media (max-width: 991px) {
  .nd-cta-banner__grid {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }

  .nd-cta-banner__content {
    max-width: none;
    text-align: center;
  }

  .nd-cta-banner__cta-wrap {
    display: flex;
    justify-content: center;
  }

  .nd-cta-banner__visual {
    order: 2;
  }

  .nd-cta-banner__content {
    order: 1;
  }
}

/* FAQ — reusable accordion (under CTA banner) */
.nd-faq {
  background: #000;
  color: var(--nd-white);
}

.nd-faq__inner {
  max-width: min(76rem, 96vw);
  margin: 0 auto;
  padding: clamp(3.5rem, 9vw, 5.5rem) clamp(1rem, 4vw, 2.5rem);
}

.nd-faq__grid {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr);
  gap: clamp(2.5rem, 6vw, 4.5rem);
  align-items: start;
}

.nd-faq__title {
  margin: 0;
  font-family: var(--nd-font);
  font-size: clamp(1.75rem, 3.6vw, 2.75rem);
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: -0.02em;
  color: var(--nd-white);
}

.nd-faq__intro-text {
  margin-top: 1.35rem;
  font-family: var(--nd-font);
  font-size: clamp(0.875rem, 1.35vw, 1rem);
  font-weight: 400;
  line-height: 1.65;
  color: rgba(255, 255, 255, 0.82);
}

.nd-faq__intro-text p {
  margin: 0 0 1rem;
}

.nd-faq__intro-text p:last-child {
  margin-bottom: 0;
}

.nd-faq__accordion {
  border-top: 1px solid rgba(255, 255, 255, 0.12);
}

.nd-faq__item {
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
}

.nd-faq__question {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.25rem;
  padding: 1.15rem 0;
  list-style: none;
  cursor: pointer;
  font-family: var(--nd-font);
  font-size: clamp(0.9375rem, 1.4vw, 1.0625rem);
  font-weight: 400;
  line-height: 1.4;
  color: var(--nd-white);
}

.nd-faq__question::-webkit-details-marker {
  display: none;
}

.nd-faq__question-text {
  flex: 1;
  min-width: 0;
  text-align: left;
}

.nd-faq__icon {
  flex-shrink: 0;
  width: 0.55rem;
  height: 0.55rem;
  border-right: 2px solid rgba(255, 255, 255, 0.85);
  border-bottom: 2px solid rgba(255, 255, 255, 0.85);
  transform: rotate(45deg);
  margin-top: -0.2rem;
  transition: transform 0.2s ease;
}

.nd-faq__item[open] .nd-faq__icon {
  transform: rotate(-135deg);
  margin-top: 0.15rem;
}

.nd-faq__answer {
  padding: 0 0 1.15rem;
  font-family: var(--nd-font);
  font-size: clamp(0.8125rem, 1.2vw, 0.9375rem);
  font-weight: 400;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.72);
}

.nd-faq__answer p {
  margin: 0 0 0.65rem;
}

.nd-faq__answer p:last-child {
  margin-bottom: 0;
}

@media (max-width: 991px) {
  .nd-faq__grid {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }
}

/* Page Demo — hero */
.site-main--demo {
  background: var(--nd-white);
}

.nd-demo-hero {
  background: var(--nd-white);
  padding: clamp(2.5rem, 6vw, 4.5rem) clamp(1rem, 4vw, 5rem) clamp(3rem, 7vw, 5rem);
}

.nd-demo-hero__inner {
  max-width: var(--nd-container);
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  align-items: center;
  gap: clamp(2rem, 5vw, 4rem);
}

.nd-demo-hero__title {
  margin: 0;
  font-family: var(--nd-font);
  font-size: clamp(2rem, 4.2vw, 3.25rem);
  font-weight: 800;
  line-height: 1.12;
  letter-spacing: -0.03em;
  color: var(--nd-black);
}

.nd-demo-hero__bullets {
  margin: clamp(1.5rem, 3vw, 2rem) 0 0;
  padding: 0;
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 1.15rem;
}

.nd-demo-hero__bullet {
  display: flex;
  align-items: flex-start;
  gap: 0.85rem;
}

.nd-demo-hero__check {
  flex-shrink: 0;
  width: 20px;
  height: 20px;
  margin-top: 0.15rem;
}

.nd-demo-hero__check svg {
  display: block;
  width: 20px;
  height: 20px;
}

.nd-demo-hero__bullet-text {
  font-family: var(--nd-font);
  font-size: clamp(0.9375rem, 1.5vw, 1.0625rem);
  line-height: 1.55;
  color: var(--nd-ink);
}

.nd-demo-hero__bullet-text strong {
  display: inline;
  font-weight: 700;
  color: var(--nd-black);
}

.nd-demo-hero__cta-wrap {
  margin: clamp(1.75rem, 3vw, 2.25rem) 0 0;
}

.nd-demo-hero__cta {
  min-width: 14rem;
  padding: 0.9rem 2rem;
  font-size: 1rem;
}

.nd-demo-hero__visual {
  position: relative;
  justify-self: center;
  width: min(100%, 520px);
}

.nd-demo-hero__image {
  display: block;
  width: 100%;
  height: auto;
  object-fit: contain;
}

.nd-demo-hero__badge {
  position: absolute;
  display: flex;
  align-items: center;
  gap: 0.65rem;
  padding: 0.65rem 0.9rem;
  border-radius: 14px;
  background: var(--nd-white);
  box-shadow: 0 12px 32px rgba(17, 24, 39, 0.12);
  max-width: min(240px, 46vw);
}

.nd-demo-hero__badge--primary {
  top: 8%;
  left: -4%;
}

.nd-demo-hero__badge--secondary {
  right: -2%;
  bottom: 10%;
}

.nd-demo-hero__badge-icon {
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}

.nd-demo-hero__badge-copy {
  display: flex;
  flex-direction: column;
  gap: 0.1rem;
  font-family: var(--nd-font);
  font-size: 0.75rem;
  line-height: 1.35;
  color: var(--nd-muted);
}

.nd-demo-hero__badge-copy strong {
  font-size: 0.8125rem;
  font-weight: 700;
  color: var(--nd-black);
}

@media (max-width: 991px) {
  .nd-demo-hero__inner {
    grid-template-columns: 1fr;
  }

  .nd-demo-hero__content {
    order: 1;
  }

  .nd-demo-hero__visual {
    order: 0;
    width: min(100%, 400px);
    margin: 0 auto;
  }

  .nd-demo-hero__badge--primary {
    left: 0;
    top: 4%;
  }

  .nd-demo-hero__badge--secondary {
    right: 0;
    bottom: 6%;
  }
}

@media (max-width: 479px) {
  .nd-demo-hero__badge {
    max-width: 52vw;
    padding: 0.5rem 0.65rem;
  }

  .nd-demo-hero__badge-copy {
    font-size: 0.6875rem;
  }

  .nd-demo-hero__badge-copy strong {
    font-size: 0.75rem;
  }
}

/* Page Demo — process (pendant l'appel) */
.nd-demo-process {
  background: linear-gradient(180deg, #eef4ff 0%, #f8fafc 45%, var(--nd-white) 100%);
  padding: clamp(3rem, 7vw, 5rem) clamp(1rem, 4vw, 5rem) clamp(3.5rem, 8vw, 5.5rem);
}

.nd-demo-process__inner {
  max-width: var(--nd-container);
  margin: 0 auto;
}

.nd-demo-process__header {
  text-align: center;
  max-width: 42rem;
  margin: 0 auto clamp(2.5rem, 5vw, 3.5rem);
}

.nd-demo-process__title {
  margin: 0;
  font-family: var(--nd-font);
  font-size: clamp(1.75rem, 3.5vw, 2.5rem);
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -0.02em;
  color: var(--nd-black);
}

.nd-demo-process__subtitle {
  margin: 0.85rem 0 0;
  font-family: var(--nd-font);
  font-size: clamp(0.9375rem, 1.6vw, 1.125rem);
  font-weight: 400;
  line-height: 1.5;
  color: var(--nd-muted);
}

.nd-demo-process__grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(1rem, 2.5vw, 1.5rem);
  align-items: stretch;
}

.nd-demo-process__card {
  position: relative;
  background: var(--nd-white);
  border-radius: 20px;
  padding: clamp(1.5rem, 3vw, 2rem) clamp(1.25rem, 2.5vw, 1.75rem) clamp(1.5rem, 3vw, 2rem);
  box-shadow: 0 8px 32px rgba(17, 24, 39, 0.08);
  border: 1px solid rgba(17, 24, 39, 0.04);
}

.nd-demo-process__step-num {
  margin: 0 0 0.35rem;
  font-family: var(--nd-font);
  font-size: clamp(2.5rem, 4vw, 3.25rem);
  font-weight: 800;
  line-height: 1;
  letter-spacing: -0.03em;
  color: rgba(17, 24, 39, 0.12);
}

.nd-demo-process__card-title {
  margin: 0 0 0.75rem;
  font-family: var(--nd-font);
  font-size: clamp(1rem, 1.8vw, 1.125rem);
  font-weight: 700;
  line-height: 1.35;
  color: var(--nd-black);
}

.nd-demo-process__card-text {
  font-family: var(--nd-font);
  font-size: clamp(0.875rem, 1.4vw, 0.9375rem);
  font-weight: 400;
  line-height: 1.6;
  color: var(--nd-muted);
}

.nd-demo-process__card-text p {
  margin: 0 0 0.65rem;
}

.nd-demo-process__card-text p:last-child {
  margin-bottom: 0;
}

@media (max-width: 991px) {
  .nd-demo-process__grid {
    grid-template-columns: 1fr;
    max-width: 28rem;
    margin: 0 auto;
  }
}

@media (min-width: 992px) and (max-width: 1100px) {
  .nd-demo-process__grid {
    gap: 1rem;
  }

  .nd-demo-process__card {
    padding: 1.35rem 1.15rem 1.5rem;
  }
}

/* Landing splash (2s, first visit only) */
html.nd-splash-skipped .nd-splash {
  display: none !important;
}

html.nd-splash-active:not(.nd-splash-skipped) body {
  overflow: hidden;
}

html.nd-splash-active:not(.nd-splash-skipped) body > header,
html.nd-splash-active:not(.nd-splash-skipped) body > footer,
html.nd-splash-active:not(.nd-splash-skipped) main#contenu {
  visibility: hidden;
}

.nd-splash {
  --nd-splash-duration: 2s;
  --nd-splash-track: #1a2744;
  --nd-splash-logo-size: 1.5rem;
  --nd-splash-glow-tr: #0b3c4d;
  --nd-splash-glow-br: #221941;
  --nd-splash-orbit-radius: 34vmin;
  --nd-splash-glow-size: 125vmin;
  position: fixed;
  inset: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: visible;
  background:
    radial-gradient(
      ellipse 100% 85% at 100% 0%,
      rgba(11, 60, 77, 0.88) 0%,
      rgba(11, 60, 77, 0.5) 28%,
      rgba(11, 60, 77, 0.22) 48%,
      transparent 72%
    ),
    radial-gradient(
      ellipse 100% 85% at 100% 100%,
      rgba(34, 25, 65, 0.92) 0%,
      rgba(34, 25, 65, 0.55) 26%,
      rgba(34, 25, 65, 0.24) 46%,
      transparent 70%
    ),
    radial-gradient(ellipse 100% 90% at 50% 50%, transparent 55%, rgba(0, 0, 0, 0.25) 100%),
    #000;
  opacity: 1;
  transition: opacity 0.35s ease;
}

.nd-splash--hide {
  opacity: 0;
  pointer-events: none;
}

@keyframes nd-splash-glow-orbit {
  from {
    transform: rotate(0deg) translateX(var(--nd-splash-orbit-radius)) rotate(0deg);
  }
  to {
    transform: rotate(360deg) translateX(var(--nd-splash-orbit-radius)) rotate(-360deg);
  }
}

.nd-splash__glows {
  position: absolute;
  inset: 0;
  overflow: visible;
  pointer-events: none;
}

.nd-splash__glow {
  position: absolute;
  top: 50%;
  left: 50%;
  width: var(--nd-splash-glow-size);
  height: var(--nd-splash-glow-size);
  margin-top: calc(var(--nd-splash-glow-size) / -2);
  margin-left: calc(var(--nd-splash-glow-size) / -2);
  pointer-events: none;
  border-radius: 50%;
  backface-visibility: hidden;
  will-change: transform;
}

.nd-splash__glow--tr {
  background: radial-gradient(
    circle at 50% 50%,
    rgba(11, 60, 77, 0.95) 0%,
    rgba(11, 60, 77, 0.55) 32%,
    rgba(11, 60, 77, 0.28) 52%,
    rgba(11, 60, 77, 0.1) 72%,
    transparent 88%
  );
  filter: blur(72px);
  animation: nd-splash-glow-orbit 5.5s linear infinite;
}

.nd-splash__glow--br {
  background: radial-gradient(
    circle at 50% 50%,
    rgba(34, 25, 65, 0.95) 0%,
    rgba(34, 25, 65, 0.55) 32%,
    rgba(34, 25, 65, 0.28) 52%,
    rgba(34, 25, 65, 0.1) 72%,
    transparent 88%
  );
  filter: blur(72px);
  animation: nd-splash-glow-orbit 5.5s linear infinite;
  animation-delay: -2.75s;
}

.nd-splash__content {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.15rem;
}

.nd-splash__logo {
  display: block;
  width: var(--nd-splash-logo-size);
  height: auto;
  max-width: 100%;
}

.nd-splash__progress {
  width: 4rem;
  height: 2px;
  border-radius: 9999px;
  background: var(--nd-splash-track);
  overflow: hidden;
}

.nd-splash__progress-fill {
  display: block;
  height: 100%;
  width: 0;
  border-radius: inherit;
  background: #fff;
  transition: width 0.05s linear;
}

@media (prefers-reduced-motion: reduce) {
  .nd-splash__glow {
    animation: none;
  }

  .nd-splash__progress-fill {
    transition: none;
  }
}

/* Page Contact */
.site-main--contact {
  background: var(--nd-white);
}

.nd-contact-hero {
  background: linear-gradient(180deg, #000 0%, #0a0618 55%, #1a0a3e 100%);
  color: var(--nd-white);
  padding: clamp(2.5rem, 6vw, 4rem) clamp(1rem, 4vw, 5rem) clamp(3rem, 8vw, 5rem);
}

.nd-contact-hero__inner {
  max-width: var(--nd-container);
  margin: 0 auto;
}

.nd-contact-hero__title {
  margin: 0;
  max-width: 52rem;
  font-family: var(--nd-font);
  font-size: clamp(2rem, 4.5vw, 3.25rem);
  font-weight: 700;
  line-height: 1.12;
  letter-spacing: -0.02em;
  color: var(--nd-white);
}

.nd-contact-hero__grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(1.5rem, 3vw, 2.5rem);
  margin-top: clamp(2.5rem, 5vw, 3.5rem);
}

.nd-contact-hero__card {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  min-width: 0;
}

.nd-contact-hero__icon {
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 3rem;
  height: 3rem;
  border-radius: 0.75rem;
  background: rgba(255, 255, 255, 0.08);
  color: rgba(255, 255, 255, 0.9);
}

.nd-contact-hero__icon svg {
  display: block;
}

.nd-contact-hero__card-body {
  min-width: 0;
}

.nd-contact-hero__card-label {
  margin: 0 0 0.5rem;
  font-family: var(--nd-font);
  font-size: 0.8125rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  color: rgba(255, 255, 255, 0.65);
}

.nd-contact-hero__card-values {
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
  font-family: var(--nd-font);
  font-size: clamp(0.9375rem, 1.4vw, 1.0625rem);
  font-weight: 500;
  line-height: 1.45;
  color: var(--nd-white);
}

.nd-contact-hero__card-values--address {
  font-weight: 400;
  color: rgba(255, 255, 255, 0.92);
}

.nd-contact-hero__link {
  color: inherit;
  text-decoration: none;
  transition: color 0.15s ease;
}

.nd-contact-hero__link:hover,
.nd-contact-hero__link:focus-visible {
  color: #c4b5fd;
}

@media (max-width: 991px) {
  .nd-contact-hero__grid {
    grid-template-columns: 1fr;
    gap: 1.75rem;
  }
}

/* Contact form section */
.nd-contact-form {
  background: var(--nd-white);
  color: var(--nd-black);
  padding: clamp(2.5rem, 6vw, 4rem) clamp(1rem, 4vw, 5rem) clamp(3.5rem, 8vw, 5rem);
}

.nd-contact-form__inner {
  max-width: var(--nd-container);
  margin: 0 auto;
}

.nd-contact-form__title {
  margin: 0 0 clamp(1.75rem, 4vw, 2.5rem);
  font-family: var(--nd-font);
  font-size: clamp(1.5rem, 3vw, 2rem);
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: -0.02em;
  color: var(--nd-black);
}

.nd-contact-form__grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.25rem 1.5rem;
}

.nd-contact-form__field--full {
  grid-column: 1 / -1;
}

.nd-contact-form__label {
  display: block;
  margin-bottom: 0.5rem;
  font-family: var(--nd-font);
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--nd-ink);
}

.nd-contact-form__required {
  color: #ef4444;
  margin-left: 0.1rem;
}

.nd-contact-form__input,
.nd-contact-form__textarea,
.nd-contact-form__cf7 input[type="text"],
.nd-contact-form__cf7 input[type="email"],
.nd-contact-form__cf7 input[type="tel"],
.nd-contact-form__cf7 input[type="url"],
.nd-contact-form__cf7 input[type="number"],
.nd-contact-form__cf7 select,
.nd-contact-form__cf7 textarea {
  width: 100%;
  box-sizing: border-box;
  padding: 0.85rem 1rem;
  border: 1px solid #e5e7eb;
  border-radius: 0.65rem;
  background: var(--nd-white);
  font-family: var(--nd-font);
  font-size: 0.9375rem;
  line-height: 1.4;
  color: var(--nd-ink);
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}

.nd-contact-form__input:focus,
.nd-contact-form__textarea:focus,
.nd-contact-form__cf7 input:focus,
.nd-contact-form__cf7 select:focus,
.nd-contact-form__cf7 textarea:focus {
  outline: none;
  border-color: var(--nd-brand);
  box-shadow: 0 0 0 3px rgba(77, 0, 255, 0.12);
}

.nd-contact-form__textarea,
.nd-contact-form__cf7 textarea {
  min-height: 9rem;
  resize: vertical;
}

.nd-contact-form__accept,
.nd-contact-form__cf7 .wpcf7-acceptance,
.nd-contact-form__cf7 .wpcf7-checkbox {
  display: flex;
  align-items: flex-start;
  gap: 0.65rem;
  margin-top: 1.25rem;
  font-family: var(--nd-font);
  font-size: 0.8125rem;
  line-height: 1.5;
  color: var(--nd-muted);
  cursor: pointer;
}

.nd-contact-form__accept input,
.nd-contact-form__cf7 input[type="checkbox"] {
  width: 1rem;
  height: 1rem;
  margin-top: 0.15rem;
  flex-shrink: 0;
  accent-color: var(--nd-brand);
}

.nd-contact-form__actions {
  display: flex;
  justify-content: flex-end;
  margin-top: 1.5rem;
}

.nd-contact-form__submit,
.nd-contact-form__cf7 input[type="submit"],
.nd-contact-form__cf7 button[type="submit"] {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.65rem;
  min-width: 10rem;
  padding: 0.9rem 1.75rem;
  border: none;
  border-radius: var(--nd-radius-pill);
  background: var(--nd-black);
  font-family: var(--nd-font);
  font-size: 0.9375rem;
  font-weight: 600;
  color: var(--nd-white);
  cursor: pointer;
  transition: background 0.15s ease, transform 0.15s ease;
}

.nd-contact-form__submit:hover:not(:disabled),
.nd-contact-form__cf7 input[type="submit"]:hover,
.nd-contact-form__cf7 button[type="submit"]:hover {
  background: #1f2937;
}

.nd-contact-form__submit:disabled {
  opacity: 0.85;
  cursor: not-allowed;
}

.nd-contact-form__submit-icon {
  display: inline-flex;
}

.nd-contact-form__admin-hint {
  margin: 1rem 0 0;
  font-family: var(--nd-font);
  font-size: 0.75rem;
  color: var(--nd-muted);
  text-align: right;
}

/* Contact Form 7 — layout inside contact section */
.nd-contact-form__cf7 .wpcf7-form {
  margin: 0;
}

.nd-contact-form__cf7 .wpcf7-form > p,
.nd-contact-form__cf7 .wpcf7-form > div {
  margin: 0 0 1.25rem;
}

.nd-contact-form__cf7 .wpcf7-form-control-wrap {
  display: block;
}

.nd-contact-form__cf7 label {
  display: block;
  margin-bottom: 0.5rem;
  font-family: var(--nd-font);
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--nd-ink);
}

.nd-contact-form__cf7 .wpcf7-response-output {
  margin: 1rem 0 0;
  padding: 0.75rem 1rem;
  border-radius: 0.5rem;
  font-size: 0.875rem;
}

.nd-contact-form__cf7 .wpcf7-not-valid-tip {
  margin-top: 0.35rem;
  font-size: 0.75rem;
  color: #ef4444;
}

@media (max-width: 767px) {
  .nd-contact-form__grid {
    grid-template-columns: 1fr;
  }

  .nd-contact-form__actions {
    justify-content: stretch;
  }

  .nd-contact-form__submit,
  .nd-contact-form__cf7 input[type="submit"],
  .nd-contact-form__cf7 button[type="submit"] {
    width: 100%;
  }
}

/* Agent product pages (Wendie, etc.) */
.nd-agent-hero {
  background: var(--nd-white);
  color: var(--nd-ink);
}

.nd-agent-hero__inner {
  max-width: var(--nd-container);
  margin: 0 auto;
  padding: clamp(2.5rem, 7vw, 4.5rem) clamp(1rem, 4vw, 2.5rem);
}

.nd-agent-hero__layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(10rem, 26rem) minmax(0, 1fr);
  gap: clamp(1rem, 3vw, 2rem);
  align-items: center;
}

.nd-agent-hero__copy {
  justify-self: start;
  max-width: 22rem;
}

.nd-agent-hero__visual {
  justify-self: center;
  grid-column: 2;
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100%;
}

.nd-agent-hero__stats {
  justify-self: end;
  grid-column: 3;
  display: flex;
  flex-direction: column;
  gap: clamp(1rem, 2.5vw, 1.5rem);
  min-width: 8rem;
  text-align: right;
}

.nd-agent-hero__badge {
  display: inline-flex;
  margin: 0 0 1rem;
  padding: 0.35rem 0.85rem;
  border-radius: var(--nd-radius-pill);
  background: rgba(0, 0, 0, 0.06);
  font-family: var(--nd-font);
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--nd-ink);
}

.nd-agent-hero__title {
  margin: 0 0 0.85rem;
  font-family: var(--nd-font);
  font-size: clamp(1.25rem, 2.2vw, 1.65rem);
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: -0.02em;
}

.nd-agent-hero__title-main {
  display: block;
}

.nd-agent-hero__title-script {
  display: block;
  font-family: var(--nd-font-script);
  font-size: clamp(1.65rem, 3.2vw, 2.15rem);
  font-weight: 700;
  line-height: 1.08;
  letter-spacing: 0;
}

.nd-agent-benefits__title-script {
  display: block;
  font-family: var(--nd-font-script);
  font-size: clamp(2.35rem, 5.5vw, 3.65rem);
  font-weight: 700;
  line-height: 1.05;
  letter-spacing: 0;
}

.nd-agent-hero__description {
  margin: 0 0 1.15rem;
  max-width: 20rem;
  font-family: var(--nd-font);
  font-size: clamp(0.8125rem, 1.1vw, 0.9375rem);
  line-height: 1.6;
  color: var(--nd-muted);
}

.nd-agent-hero__cta-wrap {
  margin: 0;
}

.nd-agent-hero__reveal {
  position: relative;
  display: block;
  width: min(100%, 20rem);
  max-width: 100%;
  line-height: 0;
}

.nd-agent-hero__reveal--interactive {
  cursor: crosshair;
  touch-action: none;
}

.nd-agent-hero__image {
  display: block;
  width: 100%;
  height: auto;
  object-fit: contain;
  user-select: none;
  -webkit-user-drag: none;
}

.nd-agent-hero__reveal-hover {
  position: absolute;
  inset: 0;
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.12s ease;
  -webkit-mask-image: radial-gradient(
    circle var(--reveal-r, 110px) at var(--reveal-x, -999px) var(--reveal-y, -999px),
    #000 0,
    #000 72%,
    transparent 100%
  );
  mask-image: radial-gradient(
    circle var(--reveal-r, 110px) at var(--reveal-x, -999px) var(--reveal-y, -999px),
    #000 0,
    #000 72%,
    transparent 100%
  );
}

.nd-agent-hero__reveal.is-hovering .nd-agent-hero__reveal-hover {
  opacity: 1;
}

.nd-agent-hero__reveal-hover .nd-agent-hero__image--hover {
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center bottom;
}

.nd-agent-hero__stat-value {
  margin: 0;
  font-family: var(--nd-font);
  font-size: clamp(1.05rem, 1.8vw, 1.25rem);
  font-weight: 700;
  line-height: 1.1;
  color: var(--nd-ink);
}

.nd-agent-hero__stat-label {
  margin: 0.25rem 0 0;
  font-family: var(--nd-font);
  font-size: 0.75rem;
  line-height: 1.4;
  color: var(--nd-muted);
}

.nd-agent-hero__cta {
  padding: 0.65rem 1.35rem;
  font-size: 0.875rem;
}

.nd-agent-features {
  background: #ffffff;
  color: var(--nd-ink);
}

.nd-agent-features__inner {
  max-width: min(76rem, 96vw);
  margin: 0 auto;
  padding: clamp(3rem, 8vw, 4.5rem) clamp(1rem, 4vw, 2.5rem);
  background: #ffffff;
}

.nd-agent-features__header {
  max-width: 40rem;
  margin: 0 auto 2.5rem;
  text-align: center;
}

.nd-agent-features__title {
  margin: 0 0 1rem;
  font-family: var(--nd-font);
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: -0.02em;
}

.nd-agent-features__title-main {
  display: block;
  font-size: clamp(1.5rem, 3vw, 2rem);
  color: var(--nd-black);
}

.nd-agent-features__title-script {
  display: block;
  margin-top: 0.15rem;
  font-family: var(--nd-font-script);
  font-size: clamp(2rem, 4.5vw, 2.75rem);
  font-weight: 700;
  line-height: 1.05;
  color: var(--nd-black);
}

.nd-agent-features__subtitle {
  margin: 0 auto;
  max-width: 36rem;
  font-family: var(--nd-font);
  font-size: clamp(0.8125rem, 1.25vw, 0.9375rem);
  line-height: 1.65;
  color: var(--nd-ink);
}

.nd-agent-features__grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: clamp(0.85rem, 1.6vw, 1.35rem);
  align-items: stretch;
}

/* Carte : fond blanc + dégradé bas → blanc (maquette) */
.nd-agent-features__card {
  position: relative;
  display: flex;
  flex-direction: column;
  min-height: 23.5rem;
  border-radius: 1.5rem;
  background: #ffffff;
  overflow: hidden;
  box-shadow: none;
  border: none;
  isolation: isolate;
}

.nd-agent-features__card::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 62%;
  z-index: 0;
  pointer-events: none;
  border-radius: 0 0 1.5rem 1.5rem;
}

.nd-agent-features__card--blue::after {
  background: linear-gradient(
    to top,
    #4338ca 0%,
    #5b52e8 18%,
    #8b7cf8 34%,
    rgba(255, 255, 255, 0.25) 52%,
    #ffffff 72%,
    #ffffff 100%
  );
}

.nd-agent-features__card--pink::after {
  background: linear-gradient(
    to top,
    #dc2626 0%,
    #ef4444 18%,
    #f87171 34%,
    rgba(255, 255, 255, 0.25) 52%,
    #ffffff 72%,
    #ffffff 100%
  );
}

.nd-agent-features__card--orange::after {
  background: linear-gradient(
    to top,
    #ea580c 0%,
    #f97316 18%,
    #fb923c 34%,
    rgba(255, 255, 255, 0.25) 52%,
    #ffffff 72%,
    #ffffff 100%
  );
}

.nd-agent-features__card--cyan::after {
  background: linear-gradient(
    to top,
    #0284c7 0%,
    #0ea5e9 18%,
    #38bdf8 34%,
    rgba(255, 255, 255, 0.25) 52%,
    #ffffff 72%,
    #ffffff 100%
  );
}

.nd-agent-features__card-top {
  position: relative;
  z-index: 1;
  display: flex;
  flex: 1 1 auto;
  align-items: center;
  justify-content: center;
  min-height: 10.5rem;
  padding: clamp(1.35rem, 2.5vw, 1.85rem) clamp(1rem, 2vw, 1.25rem) clamp(0.75rem, 1.5vw, 1rem);
  background: #ffffff;
}

.nd-agent-features__card-icon-wrap {
  display: flex;
  align-items: center;
  justify-content: center;
  width: min(100%, 7.75rem);
  aspect-ratio: 1;
  border-radius: 1.2rem;
  background: #ebebed;
}

.nd-agent-features__card-icon {
  display: block;
  width: auto;
  height: auto;
  max-width: min(5.5rem, 85%);
  max-height: min(5.5rem, 85%);
  object-fit: contain;
}

.nd-agent-features__card-icon-placeholder {
  display: block;
  width: 52%;
  height: 52%;
  border-radius: 0.45rem;
  background: linear-gradient(145deg, #d4d4d8 0%, #b8b8c0 100%);
}

.nd-agent-features__card-footer {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  margin-top: auto;
  min-height: 9.5rem;
  padding: 0 clamp(1.15rem, 2vw, 1.4rem) clamp(1.4rem, 2.5vw, 1.75rem);
}

.nd-agent-features__card-title {
  margin: 0 0 0.5rem;
  font-family: var(--nd-font);
  font-size: clamp(1rem, 1.55vw, 1.2rem);
  font-weight: 700;
  line-height: 1.22;
  color: var(--nd-white);
}

.nd-agent-features__card-text {
  margin: 0;
  font-family: var(--nd-font);
  font-size: clamp(0.6875rem, 1vw, 0.8125rem);
  font-weight: 400;
  line-height: 1.48;
  color: rgba(255, 255, 255, 0.95);
}

.nd-agent-process {
  width: 100%;
  background-color: #ffffff;
  color: var(--nd-ink);
}

.nd-agent-process__inner {
  max-width: min(46rem, 92vw);
  margin: 0 auto;
  padding: clamp(2rem, 6vw, 3.5rem) clamp(1rem, 4vw, 2.5rem);
  background-color: #ffffff;
}

.nd-agent-process__content {
  font-family: var(--nd-font);
  font-size: clamp(1rem, 1.8vw, 1.2rem);
  line-height: 1.75;
  text-align: center;
  color: var(--nd-ink);
  background-color: #ffffff;
}

/* Keep Processus white even when the site is in dark mode */
html.dark .nd-agent-process,
html.dark .nd-agent-process__inner,
html.dark .nd-agent-process__content {
  background-color: #ffffff;
  color: #111827;
}

html.dark .nd-agent-process__content strong {
  color: #000000;
}

.nd-agent-process__content p {
  margin: 0 0 1rem;
}

.nd-agent-process__content p:last-child {
  margin-bottom: 0;
}

.nd-agent-process__content strong {
  font-weight: 700;
  color: var(--nd-black);
}

.nd-agent-benefits {
  background-color: #ffffff;
  color: var(--nd-ink);
}

html.dark .nd-agent-benefits {
  background-color: #ffffff;
}

.nd-agent-benefits__inner {
  max-width: var(--nd-container);
  margin: 0 auto;
  padding: clamp(3rem, 8vw, 5rem) clamp(1rem, 4vw, 2.5rem);
}

.nd-agent-benefits__title {
  margin: 0 0 2.5rem;
  font-family: var(--nd-font);
  font-size: clamp(1.65rem, 3.5vw, 2.35rem);
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: -0.02em;
  text-align: center;
}

.nd-agent-benefits__title-main {
  display: block;
}

.nd-agent-benefits__layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 0.85fr);
  gap: clamp(2rem, 5vw, 3.5rem);
  align-items: center;
}

.nd-agent-benefits__list-wrap {
  position: relative;
  --nd-benefits-line-top: 0px;
  --nd-benefits-line-height: 0px;
  --nd-benefits-line-progress: 0;
}

.nd-agent-benefits__list {
  list-style: none;
  margin: 0;
  padding: 0;
  position: relative;
}

.nd-agent-benefits__timeline {
  position: absolute;
  left: 0.475rem;
  top: var(--nd-benefits-line-top);
  width: 2px;
  height: var(--nd-benefits-line-height);
  transform: translateX(-50%);
  pointer-events: none;
  z-index: 0;
}

.nd-agent-benefits__timeline-track,
.nd-agent-benefits__timeline-fill {
  position: absolute;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  border-radius: 1px;
}

.nd-agent-benefits__timeline-track {
  background: rgba(0, 0, 0, 0.1);
}

.nd-agent-benefits__timeline-fill {
  background: rgba(0, 0, 0, 0.22);
  transform-origin: top center;
  transform: scaleY(var(--nd-benefits-line-progress));
}

@media (prefers-reduced-motion: reduce) {
  .nd-agent-benefits__timeline-fill {
    transform: scaleY(1);
  }
}

.nd-agent-benefits__item {
  display: flex;
  gap: 1rem;
  padding: 0 0 1.75rem;
  position: relative;
}

.nd-agent-benefits__item:last-child {
  padding-bottom: 0;
}

.nd-agent-benefits__bullet {
  flex-shrink: 0;
  width: 0.95rem;
  height: 0.95rem;
  margin-top: 0.35rem;
  border-radius: 50%;
  background: var(--nd-black);
  position: relative;
  z-index: 1;
}

.nd-agent-benefits__item-value {
  margin: 0;
  font-family: var(--nd-font);
  font-size: 1.05rem;
  font-weight: 700;
  line-height: 1.25;
}

.nd-agent-benefits__item-label {
  margin: 0.25rem 0 0;
  font-family: var(--nd-font);
  font-size: 0.875rem;
  line-height: 1.5;
  color: var(--nd-muted);
}

.nd-agent-benefits__item-text {
  margin: 0.35rem 0 0;
  font-family: var(--nd-font);
  font-size: 0.8125rem;
  line-height: 1.5;
  color: var(--nd-muted);
}

.nd-agent-benefits__visual {
  display: flex;
  justify-content: center;
  align-items: flex-end;
}

.nd-agent-benefits__image {
  width: min(100%, 20rem);
  height: auto;
  object-fit: contain;
}

.nd-agent-benefits__cta-wrap {
  margin: 2.75rem 0 0;
  text-align: center;
}

.site-main--agent {
  background-color: #ffffff;
}

.site-main--agent .nd-faq {
  background-color: #ffffff;
  color: var(--nd-ink);
}

html.dark .site-main--agent .nd-faq {
  background-color: #ffffff;
  color: var(--nd-ink);
}

.site-main--agent .nd-faq__title {
  color: var(--nd-black);
}

.site-main--agent .nd-faq__intro-text {
  color: var(--nd-muted);
}

.site-main--agent .nd-faq__accordion {
  border-top-color: rgba(0, 0, 0, 0.1);
}

.site-main--agent .nd-faq__item {
  border-bottom-color: rgba(0, 0, 0, 0.1);
}

.site-main--agent .nd-faq__question {
  color: var(--nd-black);
}

.site-main--agent .nd-faq__icon {
  border-right-color: rgba(0, 0, 0, 0.75);
  border-bottom-color: rgba(0, 0, 0, 0.75);
}

.site-main--agent .nd-faq__answer {
  color: var(--nd-muted);
}

.site-main--agent .nd-faq__grid {
  grid-template-columns: 1fr;
}

.site-main--agent .nd-faq__intro:empty {
  display: none;
}

@media (max-width: 1023px) {
  .nd-agent-hero__layout {
    grid-template-columns: 1fr;
  }

  .nd-agent-hero__copy,
  .nd-agent-hero__visual,
  .nd-agent-hero__stats {
    grid-column: 1;
    justify-self: stretch;
    max-width: none;
  }

  .nd-agent-hero__visual {
    order: 2;
    margin: 0.5rem auto;
  }

  .nd-agent-hero__stats {
    order: 3;
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: center;
    gap: 1.5rem;
    text-align: center;
  }

  .nd-agent-hero__stat {
    flex: 1 1 8rem;
  }

  .nd-agent-features__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .nd-agent-benefits__layout {
    grid-template-columns: 1fr;
  }

  .nd-agent-benefits__visual {
    order: -1;
  }
}

@media (max-width: 639px) {
  .nd-agent-features__grid {
    grid-template-columns: 1fr;
  }
}

/* Page 404 */
.site-main--404 {
  background: #000;
}

.nd-404 {
  position: relative;
  min-height: calc(100vh - var(--nd-nav-height));
  min-height: calc(100dvh - var(--nd-nav-height));
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  color: var(--nd-white);
  padding: clamp(2rem, 6vw, 4rem) clamp(1rem, 4vw, 5rem);
}

.nd-404__bg {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.nd-404__grid {
  position: absolute;
  inset: -20%;
  background-image:
    linear-gradient(rgba(77, 0, 255, 0.07) 1px, transparent 1px),
    linear-gradient(90deg, rgba(77, 0, 255, 0.07) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: radial-gradient(ellipse 70% 60% at 50% 45%, #000 20%, transparent 72%);
  animation: nd-404-grid-drift 28s linear infinite;
}

.nd-404__beam {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    105deg,
    transparent 38%,
    rgba(112, 0, 255, 0.06) 48%,
    rgba(255, 255, 255, 0.04) 50%,
    rgba(77, 0, 255, 0.06) 52%,
    transparent 62%
  );
  background-size: 220% 100%;
  animation: nd-404-beam 6s ease-in-out infinite;
}

.nd-404__glows {
  position: absolute;
  inset: 0;
}

.nd-404__glow {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  will-change: transform;
}

.nd-404__glow--1 {
  top: 12%;
  left: 18%;
  width: min(420px, 55vw);
  height: min(420px, 55vw);
  background: radial-gradient(circle, rgba(77, 0, 255, 0.55) 0%, transparent 68%);
  animation: nd-404-float-a 9s ease-in-out infinite;
}

.nd-404__glow--2 {
  bottom: 8%;
  right: 12%;
  width: min(380px, 50vw);
  height: min(380px, 50vw);
  background: radial-gradient(circle, rgba(112, 0, 255, 0.45) 0%, transparent 70%);
  animation: nd-404-float-b 11s ease-in-out infinite;
}

.nd-404__glow--3 {
  top: 42%;
  left: 50%;
  width: min(280px, 40vw);
  height: min(280px, 40vw);
  margin-left: calc(min(280px, 40vw) / -2);
  background: radial-gradient(circle, rgba(34, 25, 65, 0.85) 0%, transparent 72%);
  animation: nd-404-pulse 5s ease-in-out infinite;
}

.nd-404__particles {
  position: absolute;
  inset: 0;
}

.nd-404__particle {
  position: absolute;
  left: calc(8% + (var(--nd-404-i) * 7.5%));
  bottom: -12px;
  width: 3px;
  height: 3px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.35);
  animation: nd-404-particle-rise calc(7s + (var(--nd-404-i) * 0.45s)) linear infinite;
  animation-delay: calc(var(--nd-404-i) * -0.65s);
  opacity: 0;
}

.nd-404__inner {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: 42rem;
  text-align: center;
}

.nd-404__code {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: clamp(0.35rem, 2vw, 1rem);
  margin-bottom: clamp(1.5rem, 4vw, 2.5rem);
  user-select: none;
}

.nd-404__digit {
  font-family: var(--nd-font);
  font-size: clamp(4.5rem, 18vw, 9rem);
  font-weight: 800;
  line-height: 1;
  letter-spacing: -0.04em;
  background: linear-gradient(180deg, #fff 0%, rgba(255, 255, 255, 0.55) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.nd-404__digit--1 {
  animation: nd-404-digit-float 5.5s ease-in-out infinite;
}

.nd-404__digit--2 {
  animation: nd-404-digit-float 5.5s ease-in-out infinite;
  animation-delay: -2.75s;
}

.nd-404__digit--logo {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: clamp(3.5rem, 14vw, 6.5rem);
  height: clamp(3.5rem, 14vw, 6.5rem);
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.12);
  box-shadow:
    0 0 0 1px rgba(77, 0, 255, 0.2),
    0 0 48px rgba(77, 0, 255, 0.35);
  animation: nd-404-logo-spin 12s linear infinite;
}

.nd-404__mark {
  width: 58%;
  height: auto;
  display: block;
  animation: nd-404-logo-counter 12s linear infinite;
}

.nd-404__content {
  animation: nd-404-fade-up 0.8s ease both;
  animation-delay: 0.15s;
}

.nd-404__eyebrow {
  margin: 0 0 0.75rem;
  font-family: var(--nd-font);
  font-size: 0.8125rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.55);
  animation: nd-404-fade-up 0.7s ease both;
  animation-delay: 0.25s;
}

.nd-404__title {
  margin: 0 0 1rem;
  font-family: var(--nd-font);
  font-size: clamp(1.75rem, 5vw, 2.75rem);
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: -0.02em;
  animation: nd-404-fade-up 0.7s ease both;
  animation-delay: 0.35s;
}

.nd-404__lead {
  margin: 0 auto 2rem;
  max-width: 34rem;
  font-family: var(--nd-font);
  font-size: clamp(1rem, 2.2vw, 1.125rem);
  line-height: 1.65;
  color: rgba(255, 255, 255, 0.72);
  animation: nd-404-fade-up 0.7s ease both;
  animation-delay: 0.45s;
}

.nd-404__actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 0.875rem;
  animation: nd-404-fade-up 0.7s ease both;
  animation-delay: 0.55s;
}

.nd-404__btn {
  min-width: 11rem;
}

.nd-btn--ghost {
  background: transparent;
  color: var(--nd-white);
  border: 1px solid rgba(255, 255, 255, 0.28);
  box-shadow: none;
}

.nd-btn--ghost:hover {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.45);
  filter: none;
}

.nd-btn--ghost:focus-visible {
  outline: 2px solid var(--nd-brand);
  outline-offset: 2px;
}

@keyframes nd-404-grid-drift {
  from { background-position: 0 0; }
  to { background-position: 64px 64px; }
}

@keyframes nd-404-beam {
  0%, 100% { background-position: 0% 50%; opacity: 0.35; }
  50% { background-position: 100% 50%; opacity: 0.85; }
}

@keyframes nd-404-float-a {
  0%, 100% { transform: translate3d(0, 0, 0); }
  50% { transform: translate3d(24px, -18px, 0); }
}

@keyframes nd-404-float-b {
  0%, 100% { transform: translate3d(0, 0, 0); }
  50% { transform: translate3d(-20px, 16px, 0); }
}

@keyframes nd-404-pulse {
  0%, 100% { transform: scale(1); opacity: 0.65; }
  50% { transform: scale(1.12); opacity: 1; }
}

@keyframes nd-404-particle-rise {
  0% { transform: translate3d(0, 0, 0); opacity: 0; }
  12% { opacity: 0.7; }
  88% { opacity: 0.35; }
  100% { transform: translate3d(calc((var(--nd-404-i) - 6) * 8px), -105vh, 0); opacity: 0; }
}

@keyframes nd-404-digit-float {
  0%, 100% { transform: translate3d(0, 0, 0); }
  50% { transform: translate3d(0, -10px, 0); }
}

@keyframes nd-404-logo-spin {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}

@keyframes nd-404-logo-counter {
  from { transform: rotate(0deg); }
  to { transform: rotate(-360deg); }
}

@keyframes nd-404-fade-up {
  from { opacity: 0; transform: translate3d(0, 18px, 0); }
  to { opacity: 1; transform: translate3d(0, 0, 0); }
}

@media (prefers-reduced-motion: reduce) {
  .nd-404__grid,
  .nd-404__beam,
  .nd-404__glow,
  .nd-404__particle,
  .nd-404__digit,
  .nd-404__digit--logo,
  .nd-404__mark,
  .nd-404__content,
  .nd-404__eyebrow,
  .nd-404__title,
  .nd-404__lead,
  .nd-404__actions {
    animation: none !important;
  }
}

/* ==========================================================================
   Blog — OpenAI-inspired article & archive layout
   ========================================================================== */

body.nd-blog-page {
  background: #000 !important;
  color: #fff !important;
}

body.nd-blog-page .nd-site-footer {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.nd-blog {
  background: #000;
  color: #fff;
  font-family: var(--nd-font);
}

.nd-blog-archive__hero {
  padding: clamp(2.5rem, 6vw, 4.5rem) clamp(1.25rem, 4vw, 5rem) clamp(1.5rem, 3vw, 2.5rem);
}

.nd-blog-archive__hero-inner {
  max-width: var(--nd-container);
  margin: 0 auto;
}

.nd-blog-breadcrumb {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 1.75rem;
  font-size: 0.8125rem;
  color: rgba(255, 255, 255, 0.45);
}

.nd-blog-breadcrumb a {
  color: rgba(255, 255, 255, 0.55);
  transition: color 0.15s ease;
}

.nd-blog-breadcrumb a:hover {
  color: #fff;
}

.nd-blog-archive__title {
  margin: 0;
  font-size: clamp(2.25rem, 5vw, 3.5rem);
  font-weight: 600;
  letter-spacing: -0.03em;
  line-height: 1.08;
  color: #fff;
}

.nd-blog-archive__subtitle {
  margin: 1rem 0 0;
  max-width: 36rem;
  font-size: 1.0625rem;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.55);
}

.nd-blog-archive__toolbar {
  padding: 0 clamp(1.25rem, 4vw, 5rem) 2rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.nd-blog-archive__toolbar-inner {
  max-width: var(--nd-container);
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.nd-blog-search {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  max-width: 28rem;
}

.nd-blog-search__input {
  flex: 1 1 12rem;
  min-width: 0;
  padding: 0.65rem 1rem;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 9999px;
  background: rgba(255, 255, 255, 0.04);
  color: #fff;
  font: inherit;
  font-size: 0.9375rem;
  outline: none;
  transition: border-color 0.15s ease, background 0.15s ease;
}

.nd-blog-search__input::placeholder {
  color: rgba(255, 255, 255, 0.35);
}

.nd-blog-search__input:focus {
  border-color: rgba(255, 255, 255, 0.28);
  background: rgba(255, 255, 255, 0.06);
}

.nd-blog-search__btn {
  padding: 0.65rem 1.25rem;
  border: none;
  border-radius: 9999px;
  background: #fff;
  color: #000;
  font: inherit;
  font-size: 0.875rem;
  font-weight: 600;
  cursor: pointer;
  transition: opacity 0.15s ease;
}

.nd-blog-search__btn:hover {
  opacity: 0.88;
}

.nd-blog-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.nd-blog-tags__pill {
  display: inline-flex;
  align-items: center;
  padding: 0.4rem 0.85rem;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 9999px;
  font-size: 0.8125rem;
  color: rgba(255, 255, 255, 0.65);
  transition: border-color 0.15s ease, color 0.15s ease, background 0.15s ease;
}

.nd-blog-tags__pill:hover,
.nd-blog-tags__pill.is-active {
  border-color: rgba(255, 255, 255, 0.35);
  color: #fff;
  background: rgba(255, 255, 255, 0.06);
}

.nd-blog-archive__content {
  padding: clamp(2rem, 4vw, 3.5rem) clamp(1.25rem, 4vw, 5rem) clamp(4rem, 8vw, 6rem);
}

.nd-blog-grid {
  max-width: var(--nd-container);
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(1, minmax(0, 1fr));
  gap: clamp(1.5rem, 3vw, 2.5rem);
}

@media (min-width: 640px) {
  .nd-blog-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

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

.nd-blog-card {
  display: flex;
  flex-direction: column;
  height: 100%;
}

.nd-blog-card__media {
  display: block;
  position: relative;
  overflow: hidden;
  border-radius: 14px;
  aspect-ratio: 16 / 10;
  background: #141414;
}

.nd-blog-card__img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.35s ease;
}

.nd-blog-card:hover .nd-blog-card__img {
  transform: scale(1.03);
}

.nd-blog-card__placeholder {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, #1a1a2e 0%, #16213e 50%, #0f3460 100%);
}

.nd-blog-card__placeholder-icon {
  font-size: 1.5rem;
  color: rgba(255, 255, 255, 0.25);
}

.nd-blog-card__body {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  padding-top: 1rem;
}

.nd-blog-card__category {
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.45);
  transition: color 0.15s ease;
}

.nd-blog-card__category:hover {
  color: rgba(255, 255, 255, 0.75);
}

.nd-blog-card__title {
  margin: 0;
  font-size: 1.125rem;
  font-weight: 600;
  line-height: 1.35;
  letter-spacing: -0.01em;
}

.nd-blog-card__title a {
  color: #fff;
  transition: opacity 0.15s ease;
}

.nd-blog-card__title a:hover {
  opacity: 0.78;
}

.nd-blog-card__date {
  font-size: 0.8125rem;
  color: rgba(255, 255, 255, 0.4);
}

.nd-blog-card__excerpt {
  margin: 0.25rem 0 0;
  font-size: 0.9375rem;
  line-height: 1.55;
  color: rgba(255, 255, 255, 0.5);
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.nd-blog-card--compact .nd-blog-card__media {
  aspect-ratio: 16 / 9;
}

.nd-blog-pagination {
  max-width: var(--nd-container);
  margin: 3rem auto 0;
}

.nd-blog-pagination .page-numbers {
  display: inline-flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 0.35rem;
  list-style: none;
  margin: 0;
  padding: 0;
}

.nd-blog-pagination ul.page-numbers {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.35rem;
}

.nd-blog-pagination .page-numbers li {
  list-style: none;
}

.nd-blog-pagination .page-numbers a,
.nd-blog-pagination .page-numbers span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 2.25rem;
  padding: 0.45rem 0.75rem;
  border-radius: 9999px;
  font-size: 0.875rem;
  color: rgba(255, 255, 255, 0.55);
  transition: background 0.15s ease, color 0.15s ease;
}

.nd-blog-pagination .page-numbers a:hover {
  background: rgba(255, 255, 255, 0.08);
  color: #fff;
}

.nd-blog-pagination .page-numbers .current {
  background: rgba(255, 255, 255, 0.12);
  color: #fff;
  font-weight: 600;
}

.nd-blog-empty {
  max-width: 28rem;
  margin: 0 auto;
  text-align: center;
  padding: 3rem 0;
}

.nd-blog-empty__title {
  margin: 0 0 0.5rem;
  font-size: 1.25rem;
  font-weight: 600;
  color: #fff;
}

.nd-blog-empty__text {
  margin: 0 0 1.5rem;
  color: rgba(255, 255, 255, 0.5);
}

.nd-blog-empty__link {
  display: inline-flex;
  padding: 0.65rem 1.25rem;
  border-radius: 9999px;
  background: #fff;
  color: #000;
  font-size: 0.875rem;
  font-weight: 600;
}

.nd-blog-article__header {
  padding: clamp(2.5rem, 5vw, 4rem) clamp(1.25rem, 4vw, 5rem) clamp(1.5rem, 3vw, 2rem);
}

.nd-blog-article__header-inner {
  max-width: 42rem;
  margin: 0 auto;
  text-align: center;
}

.nd-blog-article__category {
  display: inline-block;
  margin-bottom: 1.25rem;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.45);
  transition: color 0.15s ease;
}

.nd-blog-article__category:hover {
  color: rgba(255, 255, 255, 0.75);
}

.nd-blog-article__title {
  margin: 0;
  font-size: clamp(2rem, 4.5vw, 3.25rem);
  font-weight: 600;
  letter-spacing: -0.03em;
  line-height: 1.1;
  color: #fff;
}

.nd-blog-article__title--section {
  font-size: clamp(1.5rem, 3vw, 2rem);
  text-align: left;
  margin-top: 0.5rem;
}

.nd-blog-article__meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  margin-top: 1.25rem;
  font-size: 0.875rem;
  color: rgba(255, 255, 255, 0.4);
}

.nd-blog-article__meta-sep {
  opacity: 0.5;
}

.nd-blog-article__kicker {
  margin: 0 0 0.75rem;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.45);
}

.nd-blog-article__figure {
  position: relative;
  max-width: 56rem;
  margin: 0 auto clamp(2rem, 4vw, 3.5rem);
  padding: 0 clamp(1.25rem, 4vw, 5rem);
}

.nd-blog-article__figure-glow {
  position: absolute;
  inset: 10% 5% -5%;
  background: radial-gradient(ellipse at center, rgba(77, 0, 255, 0.35) 0%, rgba(0, 180, 255, 0.15) 40%, transparent 70%);
  filter: blur(40px);
  pointer-events: none;
  z-index: 0;
}

.nd-blog-article__figure-img {
  position: relative;
  z-index: 1;
  display: block;
  width: 100%;
  height: auto;
  border-radius: 16px;
}

.nd-blog-article__content {
  padding-bottom: clamp(3rem, 6vw, 5rem);
}

.nd-blog-section {
  padding: clamp(1.5rem, 3vw, 2.5rem) clamp(1.25rem, 4vw, 5rem);
}

.nd-blog-section--editorial {
  padding-top: clamp(2rem, 4vw, 3rem);
}

.nd-blog-article__prose {
  max-width: 42rem;
  margin: 0 auto;
}

.nd-blog .nd-prose {
  color: rgba(255, 255, 255, 0.72);
  font-size: 1.0625rem;
  line-height: 1.75;
}

.nd-blog .nd-prose > * + * {
  margin-top: 1.25rem;
}

.nd-blog .nd-prose h2,
.nd-blog .nd-prose h3,
.nd-blog .nd-prose h4 {
  color: #fff;
  font-weight: 600;
  letter-spacing: -0.02em;
  margin-top: 2.5rem;
  margin-bottom: 0.75rem;
}

.nd-blog .nd-prose h2 {
  font-size: clamp(1.375rem, 2.5vw, 1.75rem);
  line-height: 1.3;
}

.nd-blog .nd-prose h3 {
  font-size: clamp(1.125rem, 2vw, 1.375rem);
  line-height: 1.35;
}

.nd-blog .nd-prose p {
  margin: 1rem 0;
}

.nd-blog .nd-prose ul,
.nd-blog .nd-prose ol {
  margin: 1rem 0;
  padding-left: 1.5rem;
}

.nd-blog .nd-prose ul {
  list-style: disc;
}

.nd-blog .nd-prose ol {
  list-style: decimal;
}

.nd-blog .nd-prose li {
  margin: 0.4rem 0;
}

.nd-blog .nd-prose a {
  color: #fff;
  font-weight: 500;
  text-decoration: underline;
  text-underline-offset: 3px;
  text-decoration-color: rgba(255, 255, 255, 0.35);
  transition: text-decoration-color 0.15s ease;
}

.nd-blog .nd-prose a:hover {
  text-decoration-color: rgba(255, 255, 255, 0.8);
}

.nd-blog .nd-prose blockquote {
  margin: 1.5rem 0;
  padding: 1rem 1.25rem;
  border-left: 3px solid rgba(255, 255, 255, 0.25);
  background: rgba(255, 255, 255, 0.04);
  border-radius: 0 12px 12px 0;
  color: rgba(255, 255, 255, 0.6);
}

.nd-blog .nd-prose code {
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
  font-size: 0.875em;
  padding: 0.15em 0.4em;
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.08);
  color: rgba(255, 255, 255, 0.85);
}

.nd-blog .nd-prose pre {
  margin: 1.5rem 0;
  padding: 1.25rem;
  border-radius: 12px;
  background: #141414;
  overflow-x: auto;
  font-size: 0.875rem;
  line-height: 1.6;
}

.nd-blog .nd-prose pre code {
  padding: 0;
  background: none;
}

.nd-blog .nd-prose img,
.nd-blog .nd-prose figure img {
  display: block;
  width: 100%;
  height: auto;
  margin: 2rem 0;
  border-radius: 14px;
}

.nd-blog .nd-prose figcaption {
  margin-top: 0.75rem;
  font-size: 0.8125rem;
  color: rgba(255, 255, 255, 0.4);
  text-align: center;
}

.nd-blog .nd-prose hr {
  margin: 2.5rem 0;
  border: none;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.nd-blog .nd-prose table {
  width: 100%;
  margin: 1.5rem 0;
  border-collapse: collapse;
  font-size: 0.9375rem;
}

.nd-blog .nd-prose th,
.nd-blog .nd-prose td {
  padding: 0.65rem 1rem;
  border: 1px solid rgba(255, 255, 255, 0.1);
  text-align: left;
}

.nd-blog .nd-prose th {
  background: rgba(255, 255, 255, 0.04);
  color: #fff;
  font-weight: 600;
}

.nd-blog-related {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding: clamp(3rem, 6vw, 5rem) clamp(1.25rem, 4vw, 5rem) clamp(4rem, 8vw, 6rem);
}

.nd-blog-related__inner {
  max-width: var(--nd-container);
  margin: 0 auto;
}

.nd-blog-related__heading {
  margin: 0 0 clamp(1.5rem, 3vw, 2.5rem);
  font-size: clamp(1.25rem, 2.5vw, 1.5rem);
  font-weight: 600;
  letter-spacing: -0.02em;
  color: #fff;
}

.nd-blog-related__grid {
  display: grid;
  grid-template-columns: repeat(1, minmax(0, 1fr));
  gap: clamp(1.5rem, 3vw, 2.5rem);
}

@media (min-width: 640px) {
  .nd-blog-related__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (min-width: 1024px) {
  .nd-blog-related__grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

.nd-blog-image-text {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.nd-blog-image-text__figure {
  position: relative;
  margin: 0;
}

.nd-blog-image-text__figure .nd-blog-article__figure-glow {
  inset: 8% 3% -3%;
}

@media (min-width: 768px) {
  .nd-blog-image-text {
    flex-direction: row;
    align-items: center;
    gap: 2.5rem;
  }

  .nd-blog-image-text__figure {
    flex: 0 0 45%;
  }

  .nd-blog-image-text__figure--right {
    order: 2;
  }
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* Hero text animation only */
html.nd-hero-animate [data-nd-hero-text] .nd-hero-reveal:not(.is-visible) {
  opacity: 0;
  transform: translate3d(0, 1.25rem, 0);
}
html.nd-hero-animate [data-nd-hero-text] .nd-hero-word:not(.is-visible) {
  opacity: 0;
  transform: translate3d(0, 0.4em, 0);
}
.nd-hero-reveal.is-visible {
  opacity: 1;
  transform: translate3d(0, 0, 0);
  transition:
    opacity 0.7s cubic-bezier(0.2, 0.8, 0.2, 1),
    transform 0.8s cubic-bezier(0.2, 0.8, 0.2, 1);
  transition-delay: var(--nd-delay, 0ms);
}
.nd-hero-word.is-visible {
  opacity: 1;
  transform: translate3d(0, 0, 0);
  transition:
    opacity 0.45s ease,
    transform 0.55s cubic-bezier(0.2, 0.8, 0.2, 1);
  transition-delay: calc(var(--nd-w, 0) * 55ms);
}
@media (prefers-reduced-motion: reduce) {
  html.nd-hero-animate [data-nd-hero-text] .nd-hero-reveal,
  html.nd-hero-animate [data-nd-hero-text] .nd-hero-word {
    opacity: 1;
    transform: none;
    transition: none;
  }
}

/* Page Tarifs — bannière image */
.nd-tarifs-banner {
  position: relative;
  z-index: 1;
  width: 100%;
  background: #0a0a0a;
}

.nd-tarifs-banner__media {
  position: relative;
  width: 100%;
  aspect-ratio: 2.35 / 1;
  min-height: clamp(18rem, 44vh, 38rem);
  overflow: hidden;
}

.nd-tarifs-banner__image {
  position: absolute;
  inset: 0;
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  /* Cadre centré sur le logo ND + agents (partie haute de l’image) */
  object-position: center 18%;
}

.nd-tarifs-banner__fade,
.nd-tarifs-hero__glow {
  position: absolute;
  pointer-events: none;
}

.nd-tarifs-banner__fade {
  inset: auto 0 0;
  z-index: 1;
  height: 45%;
  background: linear-gradient(
    to top,
    rgba(10, 10, 10, 0.55) 0%,
    rgba(10, 10, 10, 0.15) 45%,
    transparent 100%
  );
}

@media (max-width: 767px) {
  .nd-tarifs-banner__media {
    aspect-ratio: 4 / 3;
    min-height: clamp(16rem, 56vw, 24rem);
  }

  .nd-tarifs-banner__image {
    object-position: center 12%;
  }
}

@media (min-width: 1200px) {
  .nd-tarifs-banner__media {
    aspect-ratio: 2.5 / 1;
    min-height: clamp(22rem, 46vh, 38rem);
  }

  .nd-tarifs-banner__image {
    object-position: center 20%;
  }
}

/* Page Tarifs — en-tête */
.site-main--tarifs {
  background: var(--nd-white);
  color: var(--nd-ink);
}

.nd-tarifs-hero {
  position: relative;
  z-index: 2;
  padding: clamp(2.5rem, 6vw, 4rem) clamp(1rem, 4vw, 2rem) clamp(1.5rem, 4vw, 2rem);
  text-align: center;
  background: var(--nd-white);
}

.nd-tarifs-hero--over-banner {
  margin-top: clamp(-4.5rem, -10vw, -6.5rem);
  padding-top: clamp(3rem, 7vw, 4.5rem);
  border-radius: clamp(2.5rem, 8vw, 4rem) clamp(2.5rem, 8vw, 4rem) 0 0;
  box-shadow: 0 -12px 40px rgba(0, 0, 0, 0.06);
  overflow: hidden;
}

.nd-tarifs-hero__glow--gold {
  top: 0;
  right: 0;
  z-index: 0;
  width: min(58vw, 32rem);
  height: min(48vw, 24rem);
  background: radial-gradient(
    ellipse 100% 100% at 100% 0%,
    rgba(253, 224, 71, 0.55) 0%,
    rgba(251, 191, 36, 0.28) 32%,
    rgba(251, 191, 36, 0.08) 55%,
    transparent 75%
  );
}

.nd-tarifs-hero--over-banner .nd-tarifs-hero__inner {
  position: relative;
  z-index: 1;
}

.nd-tarifs-hero__inner {
  max-width: min(42rem, 100%);
  margin: 0 auto;
}

.nd-tarifs-hero__kicker {
  margin: 0 0 0.75rem;
  font-family: var(--nd-font);
  font-size: 0.8125rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--nd-black);
}

.nd-tarifs-hero__title {
  margin: 0 0 1rem;
  font-family: var(--nd-font);
  font-size: clamp(1.875rem, 4.5vw, 2.75rem);
  font-weight: 800;
  line-height: 1.12;
  letter-spacing: -0.03em;
  color: var(--nd-ink);
}

.nd-tarifs-hero__subtitle {
  margin: 0 auto;
  max-width: 36rem;
  font-family: var(--nd-font);
  font-size: clamp(0.9375rem, 2vw, 1.0625rem);
  line-height: 1.55;
  color: var(--nd-black);
}

.nd-tarifs-hero__billing {
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
  margin-top: clamp(1.5rem, 4vw, 2rem);
  padding: 0.25rem;
  border: 1px solid #e5e7eb;
  border-radius: var(--nd-radius-pill);
  background: #f9fafb;
}

.nd-tarifs-hero__billing-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.55rem 1.1rem;
  border: none;
  border-radius: var(--nd-radius-pill);
  background: transparent;
  color: var(--nd-muted);
  font-family: var(--nd-font);
  font-size: 0.875rem;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.15s ease, color 0.15s ease, box-shadow 0.15s ease;
}

.nd-tarifs-hero__billing-btn.is-active {
  background: var(--nd-white);
  color: var(--nd-ink);
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.08);
}

.nd-tarifs-hero__billing-badge {
  padding: 0.15rem 0.45rem;
  border-radius: 0.375rem;
  background: #dcfce7;
  color: #15803d;
  font-size: 0.6875rem;
  font-weight: 700;
}

/* Page Tarifs — cartes */
.nd-tarifs-pricing {
  padding: 0 clamp(1rem, 4vw, 2rem) clamp(3rem, 7vw, 5rem);
}

.nd-tarifs-pricing__inner {
  max-width: var(--nd-container);
  margin: 0 auto;
  overflow: visible;
}

.nd-tarifs-pricing__grid {
  display: grid;
  gap: 1.25rem;
  align-items: stretch;
  overflow: visible;
  padding-top: 0.875rem;
}

@media (min-width: 900px) {
  .nd-tarifs-pricing__grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1.5rem;
    align-items: start;
  }
}

.nd-tarifs-pricing__card-wrap {
  position: relative;
  display: flex;
  flex-direction: column;
  height: 100%;
  min-width: 0;
  overflow: visible;
}

.nd-tarifs-pricing__card {
  position: relative;
  display: flex;
  flex-direction: column;
  min-height: 100%;
  padding: 1.5rem;
  border: 1px solid #e5e7eb;
  border-radius: 1rem;
  background: var(--nd-white);
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.04);
  overflow: visible;
}

.nd-tarifs-pricing__card--highlighted {
  border: 2px solid var(--nd-black);
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.08);
}

.nd-tarifs-pricing__card--has-badge {
  padding-top: 2rem;
}

.nd-tarifs-pricing__card-header {
  background: var(--nd-white);
  padding-bottom: 1rem;
  margin-bottom: 0.25rem;
  border-bottom: 1px solid #f3f4f6;
}

.nd-tarifs-pricing__card-header .nd-tarifs-pricing__cta {
  margin-bottom: 0;
}

.nd-tarifs-pricing__card-body {
  flex: 1 1 auto;
}

.nd-tarifs-pricing__badge {
  position: absolute;
  top: 0;
  left: 50%;
  z-index: 5;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 1.625rem;
  padding: 0.4rem 0.9rem;
  border-radius: 0.375rem;
  background: var(--nd-black);
  color: var(--nd-white);
  font-family: var(--nd-font);
  font-size: 0.6875rem;
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  white-space: nowrap;
  transform: translate(-50%, -50%);
}

.nd-tarifs-pricing__card--highlighted .nd-tarifs-pricing__badge {
  background: var(--nd-black);
}

.nd-tarifs-pricing__plan-name {
  margin: 0;
  font-family: var(--nd-font);
  font-size: 1.125rem;
  font-weight: 700;
  line-height: 1.25;
  color: var(--nd-ink);
}

.nd-tarifs-pricing__plan-desc {
  margin: 0.45rem 0 0;
  font-family: var(--nd-font);
  font-size: 0.8125rem;
  line-height: 1.45;
  color: var(--nd-muted);
}

.nd-tarifs-pricing__price-block {
  margin: 1.25rem 0 1rem;
}

.nd-tarifs-pricing__price {
  margin: 0;
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 0.25rem 0.4rem;
  font-family: var(--nd-font);
}

.nd-tarifs-pricing__price-value {
  font-size: clamp(1.75rem, 3vw, 2.125rem);
  font-weight: 800;
  line-height: 1;
  letter-spacing: -0.03em;
  color: var(--nd-ink);
}

.nd-tarifs-pricing__price-suffix {
  font-size: 0.9375rem;
  font-weight: 600;
  color: var(--nd-muted);
}

.nd-tarifs-pricing__price-note {
  display: block;
  margin-top: 0.35rem;
  font-size: 0.75rem;
  color: var(--nd-muted);
}

.nd-tarifs-pricing__users {
  margin-bottom: 1rem;
  width: 100%;
}

.nd-tarifs-pricing__users-label {
  display: block;
  margin-bottom: 0.65rem;
  font-family: var(--nd-font);
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--nd-ink);
}

.nd-tarifs-pricing__users-range {
  -webkit-appearance: none;
  appearance: none;
  display: block;
  width: 100%;
  height: 0.375rem;
  margin: 0;
  border: none;
  border-radius: var(--nd-radius-pill);
  background: linear-gradient(to right, var(--nd-black) 0%, var(--nd-black) 20%, #e5e7eb 20%, #e5e7eb 100%);
  outline: none;
  cursor: default;
}

.nd-tarifs-pricing__users--fixed .nd-tarifs-pricing__users-range {
  pointer-events: none;
  opacity: 1;
}

.nd-tarifs-pricing__users-range:disabled {
  opacity: 1;
}

.nd-tarifs-pricing__users-range::-webkit-slider-runnable-track {
  height: 0.375rem;
  border-radius: var(--nd-radius-pill);
  background: transparent;
}

.nd-tarifs-pricing__users-range::-webkit-slider-thumb {
  -webkit-appearance: none;
  width: 1.125rem;
  height: 1.125rem;
  margin-top: -0.375rem;
  border: 2px solid var(--nd-white);
  border-radius: 50%;
  background: var(--nd-black);
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.18);
  cursor: pointer;
}

.nd-tarifs-pricing__users-range::-moz-range-track {
  height: 0.375rem;
  border: none;
  border-radius: var(--nd-radius-pill);
  background: #e5e7eb;
}

.nd-tarifs-pricing__users-range::-moz-range-progress {
  height: 0.375rem;
  border-radius: var(--nd-radius-pill);
  background: var(--nd-black);
}

.nd-tarifs-pricing__users-range::-moz-range-thumb {
  width: 1.125rem;
  height: 1.125rem;
  border: 2px solid var(--nd-white);
  border-radius: 50%;
  background: var(--nd-black);
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.18);
  cursor: pointer;
}

.nd-tarifs-pricing__users-output {
  display: block;
  margin-top: 0.35rem;
  font-family: var(--nd-font);
  font-size: 0.8125rem;
  color: var(--nd-muted);
}

.nd-tarifs-pricing__cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.35rem;
  width: 100%;
  margin-bottom: 1.25rem;
  padding: 0.85rem 1.25rem;
  border: 1px solid #d1d5db;
  border-radius: var(--nd-radius-pill);
  background: #f3f4f6;
  color: var(--nd-ink);
  font-family: var(--nd-font);
  font-size: 0.9375rem;
  font-weight: 600;
  text-decoration: none;
  transition: filter 0.15s ease, background 0.15s ease, border-color 0.15s ease;
}

.nd-tarifs-pricing__cta:hover {
  filter: brightness(0.98);
  background: #e5e7eb;
}

.nd-tarifs-pricing__cta--primary {
  border-color: var(--nd-black);
  background: var(--nd-black);
  color: var(--nd-white);
}

.nd-tarifs-pricing__cta--primary:hover {
  background: #1f2937;
  border-color: #1f2937;
  filter: none;
}

.nd-tarifs-pricing__card--accent-red .nd-tarifs-pricing__cta {
  border-color: var(--nd-ink);
  background: var(--nd-white);
}

.nd-tarifs-pricing__agents-label {
  margin: 0 0 0.65rem;
  font-family: var(--nd-font);
  font-size: 0.6875rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--nd-muted);
}

.nd-tarifs-pricing__agents-list {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin: 0 0 1rem;
  padding: 0;
  list-style: none;
}

.nd-tarifs-pricing__agent {
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  gap: 0.25rem;
  min-width: 3rem;
  font-family: var(--nd-font);
  font-size: 0.625rem;
  font-weight: 600;
  color: var(--nd-ink);
  text-align: center;
}

.nd-tarifs-pricing__agent-photo,
.nd-tarifs-pricing__agent-avatar {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 2.25rem;
  height: 2.25rem;
  border-radius: 50%;
  overflow: hidden;
  background: #e5e7eb;
}

.nd-tarifs-pricing__agent-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.nd-tarifs-pricing__agent-avatar {
  font-size: 0.875rem;
  font-weight: 700;
  color: #374151;
}

.nd-tarifs-pricing__agent-badge {
  padding: 0.1rem 0.35rem;
  border-radius: 0.25rem;
  background: #fef2f2;
  color: #dc2626;
  font-size: 0.5625rem;
  font-weight: 700;
  letter-spacing: 0.03em;
}

.nd-tarifs-pricing__features {
  margin: 0;
  padding: 1rem 0 0;
  list-style: none;
  border-top: 1px solid #f3f4f6;
  flex: 1 1 auto;
}

.nd-tarifs-pricing__feature {
  display: flex;
  align-items: flex-start;
  gap: 0.55rem;
  margin: 0;
  padding: 0.5rem 0;
  font-family: var(--nd-font);
  font-size: 0.8125rem;
  line-height: 1.4;
  color: #374151;
}

.nd-tarifs-pricing__check {
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 1.125rem;
  height: 1.125rem;
  margin-top: 0.05rem;
  border-radius: 50%;
  background: #f3f4f6;
  color: #6b7280;
}

.nd-tarifs-pricing__card--accent-blue .nd-tarifs-pricing__check {
  background: rgba(59, 130, 246, 0.12);
  color: #3b82f6;
}

.nd-tarifs-pricing__card--accent-red .nd-tarifs-pricing__check {
  background: rgba(239, 68, 68, 0.1);
  color: #ef4444;
}

/* Page Tarifs — tableau comparatif */
.nd-tarifs-compare {
  padding: clamp(2.5rem, 6vw, 4rem) clamp(1rem, 4vw, 2rem);
  background: #f9fafb;
}

.nd-tarifs-compare__inner {
  max-width: var(--nd-container);
  margin: 0 auto;
}

.nd-tarifs-compare__header {
  margin-bottom: clamp(1.5rem, 4vw, 2.5rem);
  text-align: center;
}

.nd-tarifs-compare__title {
  margin: 0 0 0.65rem;
  font-family: var(--nd-font);
  font-size: clamp(1.5rem, 3.5vw, 2rem);
  font-weight: 800;
  letter-spacing: -0.02em;
  color: var(--nd-ink);
}

.nd-tarifs-compare__subtitle {
  margin: 0 auto;
  max-width: 32rem;
  font-family: var(--nd-font);
  font-size: 0.9375rem;
  line-height: 1.5;
  color: var(--nd-muted);
}

.nd-tarifs-compare__table-wrap {
  overflow-x: auto;
  border: 1px solid #e5e7eb;
  border-radius: 1rem;
  background: var(--nd-white);
  -webkit-overflow-scrolling: touch;
}

.nd-tarifs-compare__table {
  width: 100%;
  min-width: 36rem;
  border-collapse: separate;
  border-spacing: 0;
  font-family: var(--nd-font);
}

.nd-tarifs-compare__table thead th {
  position: sticky;
  top: calc(var(--nd-nav-height) + 0.75rem);
  z-index: 5;
  background: #f9fafb;
  box-shadow: 0 1px 0 #e5e7eb;
}

.nd-tarifs-compare__th,
.nd-tarifs-compare__feature {
  padding: 1rem 1.15rem;
  text-align: left;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--nd-ink);
}

.nd-tarifs-compare__th {
  background: #f9fafb;
  border-bottom: 1px solid #e5e7eb;
}

.nd-tarifs-compare__th--feature {
  width: 34%;
  left: 0;
  z-index: 6;
}

.nd-tarifs-compare__feature {
  font-weight: 500;
  color: #374151;
  position: sticky;
  left: 0;
  z-index: 2;
  background: var(--nd-white);
  box-shadow: 1px 0 0 #f3f4f6;
}

.nd-tarifs-compare__category-row {
  background: #f3f4f6;
}

.nd-tarifs-compare__category {
  padding: 0.65rem 1.15rem;
  font-size: 0.6875rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  text-align: left;
  color: var(--nd-muted);
}

.nd-tarifs-compare__row:not(:last-child) .nd-tarifs-compare__feature,
.nd-tarifs-compare__row:not(:last-child) .nd-tarifs-compare__cell {
  border-bottom: 1px solid #f3f4f6;
}

.nd-tarifs-compare__cell {
  padding: 0.85rem 1.15rem;
  text-align: center;
  font-size: 0.8125rem;
  color: var(--nd-muted);
}

.nd-tarifs-compare__cell--highlight {
  background: rgba(59, 130, 246, 0.04);
}

.nd-tarifs-compare__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.nd-tarifs-compare__icon--check {
  width: 1.375rem;
  height: 1.375rem;
  border-radius: 50%;
  background: rgba(59, 130, 246, 0.12);
  color: #3b82f6;
}

.nd-tarifs-compare__icon--dash {
  color: #d1d5db;
  font-weight: 400;
}

@media (max-width: 899px) {
  .nd-tarifs-pricing__card-wrap:has(.nd-tarifs-pricing__card--highlighted) {
    order: -1;
  }
}
