html {
  max-width: 100%;
}

:root,
[data-bs-theme="dark"] {
  --bs-body-bg: #06080f;
  --bs-body-color: #e2e8f0;
  --bs-secondary-bg: #0b0f18;
  --bs-tertiary-bg: #111827;
  --bs-border-color: rgba(148, 163, 184, 0.14);
  --bs-primary: #6366f1;
  --bs-primary-rgb: 99, 102, 241;
  --bs-link-color: #a5b4fc;
  --bs-link-hover-color: #c7d2fe;
}

body {
  font-family: Inter, system-ui, -apple-system, sans-serif;
  -webkit-font-smoothing: antialiased;
  max-width: 100%;
}

main {
  overflow-x: clip;
}

.navbar-solid {
  background: rgba(6, 8, 15, 0.82);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
}

.landing-hero {
  position: relative;
  overflow: hidden;
  background: radial-gradient(ellipse 80% 60% at 70% 0%, rgba(99, 102, 241, 0.22) 0%, transparent 55%),
    radial-gradient(ellipse 50% 40% at 10% 90%, rgba(34, 211, 238, 0.12) 0%, transparent 50%),
    var(--bs-body-bg);
}

.landing-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background-image: linear-gradient(rgba(148, 163, 184, 0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(148, 163, 184, 0.04) 1px, transparent 1px);
  background-size: 48px 48px;
  mask-image: linear-gradient(to bottom, black 0%, transparent 85%);
  pointer-events: none;
}

.landing-hero .container {
  position: relative;
  z-index: 1;
}

.hero-brand {
  width: 100%;
  max-width: 420px;
}

.hero-brand__inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.5rem;
}

.hero-brand__logo {
  width: auto;
  max-height: 9rem;
}

.hero-brand__text-logo {
  width: auto;
  max-width: 90%;
  max-height: 10rem;
}

.text-gradient {
  background: linear-gradient(135deg, #a5b4fc 0%, #c084fc 42%, #22d3ee 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.btn-solid {
  --bs-btn-color: #fff;
  --bs-btn-bg: transparent;
  --bs-btn-border-color: transparent;
  --bs-btn-hover-color: #fff;
  --bs-btn-hover-bg: transparent;
  --bs-btn-hover-border-color: transparent;
  --bs-btn-active-color: #fff;
  --bs-btn-active-bg: transparent;
  --bs-btn-active-border-color: transparent;
  border: 0;
  color: #fff !important;
  background: linear-gradient(135deg, #6366f1 0%, #8b5cf6 48%, #0891b2 100%) !important;
  box-shadow: 0 4px 28px rgba(99, 102, 241, 0.38);
  transition: filter 0.2s ease, box-shadow 0.2s ease, transform 0.15s ease;
}

.btn-solid:hover {
  filter: brightness(1.08);
  box-shadow: 0 6px 32px rgba(99, 102, 241, 0.48);
}

.btn-solid:active {
  transform: translateY(1px);
}

.btn-solid-outline {
  border: 1px solid rgba(148, 163, 184, 0.35);
  color: #e2e8f0 !important;
  background: rgba(15, 23, 42, 0.45);
  transition: border-color 0.2s ease, background 0.2s ease, color 0.2s ease;
}

.btn-solid-outline:hover {
  border-color: rgba(165, 180, 252, 0.65);
  color: #fff !important;
  background: rgba(99, 102, 241, 0.14);
}

.landing-surface {
  background: linear-gradient(180deg, var(--bs-secondary-bg) 0%, var(--bs-body-bg) 100%);
  border-block: 1px solid var(--bs-border-color);
}

.card-solid {
  background: var(--bs-tertiary-bg);
  border: 1px solid var(--bs-border-color);
  border-radius: 1rem;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.card-solid:hover {
  border-color: rgba(129, 140, 248, 0.35);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.35);
}

.badge-solid {
  min-width: 2rem;
  padding: 0.45em 0.65em;
  font-weight: 600;
  background: linear-gradient(135deg, #6366f1, #8b5cf6);
  color: #fff;
  border: 0;
}

.step-tile {
  background: var(--bs-tertiary-bg);
  border: 1px solid var(--bs-border-color);
  border-radius: 1rem;
  transition: border-color 0.2s ease;
}

.step-tile:hover {
  border-color: rgba(129, 140, 248, 0.35);
}

.step-num {
  font-size: 2.5rem;
  line-height: 1;
  background: linear-gradient(135deg, #a5b4fc 0%, #22d3ee 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.landing-cta {
  position: relative;
  overflow: hidden;
  background: linear-gradient(135deg, #1e1b4b 0%, #312e81 38%, #0f766e 100%);
  border-block: 1px solid rgba(255, 255, 255, 0.08);
}

.landing-cta::before {
  content: "";
  position: absolute;
  inset: -40% -20%;
  background: radial-gradient(circle at 30% 50%, rgba(99, 102, 241, 0.35) 0%, transparent 45%),
    radial-gradient(circle at 80% 30%, rgba(34, 211, 238, 0.2) 0%, transparent 40%);
  pointer-events: none;
}

.landing-cta .container {
  position: relative;
  z-index: 1;
}

.btn-cta-ghost {
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.38);
  background: rgba(255, 255, 255, 0.08);
  transition: background 0.2s ease, border-color 0.2s ease;
}

.btn-cta-ghost:hover {
  color: #fff;
  border-color: rgba(255, 255, 255, 0.6);
  background: rgba(255, 255, 255, 0.16);
}

.img-placeholder {
  background: repeating-linear-gradient(-45deg,
      rgba(148, 163, 184, 0.12),
      rgba(148, 163, 184, 0.12) 1px,
      transparent 1px,
      transparent 8px);
  background-color: rgba(17, 24, 39, 0.85);
  box-shadow: inset 0 0 0 1px var(--bs-border-color);
}

.img-placeholder--hero {
  min-height: 220px;
}

@media (min-width: 768px) {
  .img-placeholder--hero {
    min-height: 320px;
  }
}

.img-placeholder--feature {
  min-height: 140px;
}

.img-placeholder--card {
  min-height: 120px;
}

.audience-card-img {
  height: 180px;
}

.landing-devices {
  --landing-device-bevel: rgba(148, 163, 184, 0.22);
}

.landing-device--phone .landing-device__shell {
  padding: 0.3rem;
  border-radius: 1.15rem;
  background: linear-gradient(155deg, #2a3548 0%, #141a26 52%, #0a0e14 100%);
  border: 1px solid var(--landing-device-bevel);
  box-shadow:
    0 1px 0 rgba(255, 255, 255, 0.06) inset,
    0 18px 50px rgba(0, 0, 0, 0.55);
}

.landing-device--phone .landing-device__screen {
  overflow: hidden;
  border-radius: 0.88rem;
  line-height: 0;
  background: #0f172a;
}

.landing-device--phone img {
  display: block;
  width: 100%;
  height: auto;
  max-width: 7.25rem;
  max-height: 15.5rem;
  object-fit: cover;
  object-position: top center;
}

.landing-device--phone-feature .landing-device__screen {
  width: min(14.2rem, 100%);
  margin-left: auto;
  margin-right: auto;
}

.landing-device--phone.landing-device--phone-feature img {
  max-width: none;
  width: 100%;
  max-height: 500px;
  object-fit: cover;
  object-position: top center;
}

.landing-device--monitor .landing-device__shell {
  padding: 0.45rem 0.5rem 0.55rem;
  border-radius: 0.28rem 0.28rem 0 0;
  background: linear-gradient(180deg, #2d3849 0%, #151b27 100%);
  border: 1px solid var(--landing-device-bevel);
  box-shadow:
    0 0 0 1px rgba(0, 0, 0, 0.4) inset,
    0 14px 40px rgba(0, 0, 0, 0.48);
}

.landing-device--monitor .landing-device__screen {
  overflow: hidden;
  border-radius: 0.12rem;
  line-height: 0;
  background: #0f172a;
}

.landing-device--monitor img {
  display: block;
  width: 100%;
  height: auto;
  max-height: 8.5rem;
  object-fit: cover;
  object-position: top left;
}

.landing-device--monitor-feature.landing-device--monitor {
  flex: none;
  width: 100%;
  max-width: none;
}

.landing-device--monitor.landing-device--monitor-feature img {
  max-height: none;
  object-fit: contain;
  object-position: top center;
}

.landing-device__stand--monitor {
  margin: 0 auto;
}

.landing-device__monitor-neck {
  width: clamp(1.65rem, 18%, 2.85rem);
  height: 1.35rem;
  border-radius: 0.12rem 0.12rem 0 0;
  background: linear-gradient(90deg, #1a2332 0%, #4b5c73 42%, #3d4d63 58%, #1a2332 100%);
  box-shadow:
    0 1px 0 rgba(255, 255, 255, 0.07) inset,
    inset 0 -2px 4px rgba(0, 0, 0, 0.35);
}

.landing-device__monitor-foot {
  width: clamp(3.5rem, 58%, 7.5rem);
  height: 0.5rem;
  margin-top: -1px;
  border-radius: 0 0 0.22rem 0.22rem;
  background: linear-gradient(180deg, #3d4d63, #1e293b);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.42);
}

.landing-device--tv .landing-device__shell {
  padding: 0.3rem;
  border-radius: 0.22rem;
  background: linear-gradient(180deg, #1c2432 0%, #0c1018 100%);
  border: 1px solid rgba(100, 116, 139, 0.4);
  box-shadow:
    0 0 0 1px rgba(0, 0, 0, 0.45) inset,
    0 10px 32px rgba(0, 0, 0, 0.45);
}

.landing-device--tv .landing-device__screen {
  overflow: hidden;
  border-radius: 0.1rem;
  aspect-ratio: 16 / 9;
  background: #000;
}

.landing-device--tv img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.landing-device__stand--tv {
  width: 42%;
  max-width: 6rem;
  height: 0.4rem;
  margin: 0.35rem auto 0;
  border-radius: 0 0 0.12rem 0.12rem;
  background: linear-gradient(180deg, #334155, #1e293b);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.35);
}

.landing-device--monitor {
  flex: 1.2 1 0;
  min-width: 0;
}

.landing-device--tv {
  flex: 1 1 0;
  min-width: 0;
}

.landing-device--tv-hero.landing-device--tv {
  flex: none;
  width: 100%;
  max-width: none;
}

.landing-device--tv-hero .landing-device__stand--tv {
  width: 36%;
  max-width: 10rem;
  height: 0.48rem;
  margin-top: 0.45rem;
}

@media (max-width: 767.98px) {

  .landing-device--monitor:not(.landing-device--monitor-feature),
  .landing-device--tv:not(.landing-device--tv-hero) {
    width: 100%;
    max-width: 17.5rem;
  }

  .landing-device--monitor:not(.landing-device--monitor-feature) img {
    max-height: 10rem;
  }
}

@media (min-width: 992px) {
  .landing-device--phone img {
    max-width: 7.75rem;
    max-height: 17rem;
  }

  .landing-device--monitor:not(.landing-device--monitor-feature) img {
    max-height: 9.75rem;
  }

  .landing-device__monitor-neck {
    height: 3.35rem;
  }

  .landing-device__monitor-foot {
    height: 0.6rem;
  }
}

section {
  scroll-margin-top: 5rem;
}

.footer-solid {
  background: #04050a;
  border-top: 1px solid var(--bs-border-color);
}

.landing-kicker {
  letter-spacing: 0.12em;
}

.navbar-brand .landing-kicker {
  font-size: 0.6875rem;
}

.scroll-progress {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  z-index: 1080;
  transform-origin: left center;
  transform: scaleX(0);
  background: linear-gradient(90deg, #6366f1, #a855f7, #22d3ee);
  pointer-events: none;
}

#site-header {
  overflow-x: clip;
  transition: box-shadow 0.28s ease, background-color 0.28s ease;
}

#site-header.is-scrolled {
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.5);
  background: rgba(6, 8, 15, 0.94) !important;
}

#hero-parallax {
  will-change: transform;
}

@media (prefers-reduced-motion: no-preference) {
  .scroll-anim {
    opacity: 0;
    transition: opacity 0.8s cubic-bezier(0.22, 1, 0.36, 1),
      transform 0.8s cubic-bezier(0.22, 1, 0.36, 1),
      filter 0.85s ease;
  }

  .scroll-anim--up {
    transform: translateY(40px);
  }

  .scroll-anim--left {
    transform: translateX(-44px);
  }

  .scroll-anim--right {
    transform: translateX(44px);
  }

  @media (max-width: 767.98px) {
    .scroll-anim--left,
    .scroll-anim--right {
      transform: translateY(32px);
    }
  }

  .scroll-anim--scale {
    transform: scale(0.92) translateY(28px);
  }

  .scroll-anim--blur {
    transform: translateY(20px);
    filter: blur(16px);
  }

  .scroll-anim.is-inview {
    opacity: 1;
    transform: none;
    filter: none;
  }

  .scroll-anim--d1 {
    transition-delay: 0.06s;
  }

  .scroll-anim--d2 {
    transition-delay: 0.12s;
  }

  .scroll-anim--d3 {
    transition-delay: 0.18s;
  }

  .scroll-anim--d4 {
    transition-delay: 0.24s;
  }

  .scroll-anim--d5 {
    transition-delay: 0.3s;
  }

  .scroll-anim--d6 {
    transition-delay: 0.36s;
  }

  @keyframes landing-cta-glow {

    0%,
    100% {
      box-shadow: 0 4px 28px rgba(99, 102, 241, 0.38);
    }

    50% {
      box-shadow: 0 6px 36px rgba(34, 211, 238, 0.42);
    }
  }

  #cta.is-inview .btn-solid {
    animation: landing-cta-glow 1.35s ease-out 1;
  }
}

@media (prefers-reduced-motion: reduce) {
  .scroll-anim {
    opacity: 1 !important;
    transform: none !important;
    filter: none !important;
    transition: none !important;
  }

  .scroll-progress {
    display: none !important;
  }

  #hero-parallax {
    transform: none !important;
  }
}

.download-modal .modal-content {
  background: var(--bs-tertiary-bg);
  border: 1px solid var(--bs-border-color);
  color: var(--bs-body-color);
}

.download-modal .modal-header,
.download-modal .modal-footer {
  border-color: var(--bs-border-color);
}

.download-modal .download-platform {
  padding-bottom: 1rem;
  margin-bottom: 1rem;
  border-bottom: 1px solid var(--bs-border-color);
}

.download-modal .download-platform:last-child {
  margin-bottom: 0;
  padding-bottom: 0;
  border-bottom: 0;
}

.download-qr-wrap {
  background: rgba(15, 23, 42, 0.55);
}

.download-qr-frame {
  background: #fff;
}

@media (min-width: 992px) {
  .download-modal .download-qr-wrap {
    position: sticky;
    top: 0.25rem;
  }
}

.legal-page {
  max-width: 52rem;
}

.legal-page article h2 {
  font-size: 1.1rem;
  margin-top: 1.75rem;
  margin-bottom: 0.75rem;
}

.legal-page article h2:first-of-type {
  margin-top: 0;
}

.legal-page article p,
.legal-page article li {
  color: var(--bs-secondary-color);
}

.legal-page article ul {
  padding-left: 1.25rem;
}
