:root {
  --ui-bg: #060916;
  --ui-surface: rgba(12, 17, 34, 0.82);
  --ui-surface-strong: rgba(9, 13, 28, 0.95);
  --ui-border: rgba(197, 166, 92, 0.28);
  --ui-border-active: rgba(224, 191, 111, 0.7);
  --ui-gold: #e0bf6f;
  --ui-gold-soft: #f4dda2;
  --ui-violet: #8b5cf6;
  --ui-text: #f8fafc;
  --ui-muted: #cbd5e1;
  --ui-nav-height: 72px;
  --ui-radius: 18px;
  --ui-ease: cubic-bezier(0.16, 1, 0.3, 1);
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: var(--ui-nav-height);
}

body.site-experience {
  min-width: 0;
  overflow-x: hidden;
  color: var(--ui-text);
  background-color: var(--ui-bg);
  font-family: Lato, Arial, sans-serif;
}

body.site-experience *,
body.site-experience *::before,
body.site-experience *::after {
  box-sizing: border-box;
}

body.site-experience a,
body.site-experience button,
body.site-experience [data-open-wnd] {
  touch-action: manipulation;
}

.skip-link {
  position: fixed;
  z-index: 1000;
  top: 10px;
  left: 12px;
  padding: 11px 16px;
  color: #111827;
  font-weight: 700;
  text-decoration: none;
  background: var(--ui-gold-soft);
  border-radius: 10px;
  transform: translateY(-150%);
  transition: transform 180ms ease-out;
}

.skip-link:focus {
  transform: translateY(0);
}

body.site-experience :focus-visible {
  outline: 3px solid var(--ui-gold-soft);
  outline-offset: 4px;
}

body.site-experience > nav {
  height: var(--ui-nav-height);
  padding: 0 clamp(18px, 3vw, 48px);
  background: linear-gradient(180deg, rgba(3, 6, 18, 0.94), rgba(7, 10, 24, 0.72));
  border-bottom: 1px solid rgba(224, 191, 111, 0.18);
  box-shadow: 0 14px 40px rgba(0, 0, 0, 0.24);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  transition: background-color 220ms ease-out, box-shadow 220ms ease-out;
}

body.site-experience > nav.is-scrolled {
  background: rgba(4, 7, 19, 0.95);
  box-shadow: 0 16px 42px rgba(0, 0, 0, 0.42);
}

body.site-experience .nav-list {
  gap: clamp(16px, 2.3vw, 44px);
  margin: 0;
  padding: 0;
}

body.site-experience .nav-list .nav-brand > a {
  display: inline-flex;
  align-items: center;
  min-height: 56px;
  margin-top: 0;
}

body.site-experience .nav-list .logo {
  margin-right: clamp(10px, 1.8vw, 30px);
  padding-top: 0;
}

body.site-experience .nav-list .logo img {
  width: clamp(126px, 10vw, 154px);
  height: auto;
}

body.site-experience .nav-list li {
  margin: 0 !important;
}

body.site-experience .nav-list .nav-item {
  position: relative;
  min-height: 48px;
  padding: 0;
  color: rgba(248, 250, 252, 0.78);
  font: 600 13px/1.2 Lato, Arial, sans-serif;
  letter-spacing: 0.045em;
  white-space: nowrap;
  transition: color 180ms ease-out;
}

body.site-experience .nav-list button.nav-item {
  background: transparent;
  border: 0;
  cursor: pointer;
}

body.site-experience .nav-list .nav-item::after {
  content: "";
  position: absolute;
  right: 0;
  bottom: 7px;
  left: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--ui-gold), transparent);
  transform: scaleX(0);
  transition: transform 220ms var(--ui-ease);
}

body.site-experience .nav-list .nav-item:hover,
body.site-experience .nav-list .nav-item.is-active {
  color: #fff;
}

body.site-experience .nav-list .nav-item:hover::after,
body.site-experience .nav-list .nav-item.is-active::after {
  transform: scaleX(1);
}

body.site-experience .nav-list .nav-item img {
  width: 22px !important;
  height: 22px;
  margin-right: 9px;
  object-fit: contain;
  opacity: 0.9;
}

body.site-experience .nav-list1 {
  display: flex;
  align-items: center;
  margin: 0;
  padding: 0;
  list-style: none;
}

body.site-experience .nav-list1 a {
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  border: 1px solid transparent;
  border-radius: 12px;
  transition: background-color 180ms ease-out, border-color 180ms ease-out;
}

body.site-experience .nav-list1 a:hover {
  background: rgba(224, 191, 111, 0.09);
  border-color: var(--ui-border);
}

body.site-experience .nav-list1 .logo img {
  width: 30px !important;
  margin: 0 !important;
}

body.site-experience .mobile-menu {
  width: 48px;
  height: 48px;
  padding: 12px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.04);
}

body.site-experience .mobile-menu div {
  width: 22px;
  margin: 5px 0;
  border-radius: 2px;
}

body.site-experience #main-content {
  position: relative;
}

body.site-experience #main-content > section,
body.site-experience footer {
  position: relative;
  isolation: isolate;
}

body.site-experience .site-section {
  min-height: calc(100svh - var(--ui-nav-height));
  overflow: clip;
}

body.site-experience .top::after,
body.site-experience .referral::after,
body.site-experience .features::after {
  content: "";
  position: absolute;
  z-index: 0;
  inset: 0;
  pointer-events: none;
}

body.site-experience .top::after {
  background: linear-gradient(180deg, rgba(2, 6, 18, 0.08) 35%, rgba(3, 7, 20, 0.56) 100%);
}

body.site-experience .referral::after {
  background: linear-gradient(90deg, rgba(4, 8, 22, 0.32), transparent 62%);
}

body.site-experience .features::after {
  background: linear-gradient(180deg, rgba(5, 8, 22, 0.12), rgba(5, 8, 22, 0.54));
}

body.site-experience .top-content,
body.site-experience .referral-content,
body.site-experience .features > :not(.section-transition),
body.site-experience footer > * {
  position: relative;
  z-index: 1;
}

body.site-experience .top {
  display: grid;
  place-items: center;
  min-height: 100svh;
  padding-top: var(--ui-nav-height);
  padding-bottom: 0;
}

body.site-experience .top-background {
  position: absolute;
  z-index: -1;
}

body.site-experience .top-content.container {
  width: min(1180px, calc(100% - 40px));
  padding: clamp(64px, 10vh, 120px) 0 54px;
}

body.site-experience .image-container img {
  width: min(378px, 76vw) !important;
  height: auto !important;
  filter: drop-shadow(0 18px 36px rgba(0, 0, 0, 0.44));
}

body.site-experience .top-content-play {
  width: min(720px, 100%);
  margin: 24px auto 0;
  text-align: center;
  text-wrap: balance;
}

body.site-experience .top-content-play h1,
body.site-experience .top-content-play h2,
body.site-experience .top-content-play p {
  text-shadow: 0 4px 24px rgba(0, 0, 0, 0.72);
}

body.site-experience .top-content-play > a[data-open-wnd] {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: min(463px, 100%);
  height: 92px;
  min-width: 0;
  min-height: 0;
  margin-top: 20px !important;
  padding: 0 42px;
  color: #22150b;
  font: 700 28px/1.1 Lato, Arial, sans-serif;
  text-decoration: none;
  text-shadow: 0 1px 0 rgba(255, 245, 205, 0.35);
  background: url(../images/1-1.png) center / 100% 100% no-repeat;
  border: 0;
  border-radius: 0;
  box-shadow: none;
  cursor: pointer;
  transition: transform 220ms var(--ui-ease), filter 220ms ease-out;
}

body.site-experience .top-content-play > a[data-open-wnd]:hover {
  transform: translateY(-3px);
  filter: brightness(1.07);
}

.scroll-cue {
  position: absolute;
  z-index: 3;
  bottom: 26px;
  left: 50%;
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  color: var(--ui-gold-soft);
  background: rgba(4, 8, 22, 0.48);
  border: 1px solid rgba(224, 191, 111, 0.36);
  border-radius: 999px;
  transform: translateX(-50%);
  animation: scroll-cue 2.2s var(--ui-ease) infinite;
}

.scroll-cue svg {
  width: 20px;
  height: 20px;
}

@keyframes scroll-cue {
  0%, 100% { transform: translate(-50%, 0); }
  50% { transform: translate(-50%, 7px); }
}

body.site-experience .referral {
  display: flex;
  align-items: center;
  height: auto;
  min-height: calc(100svh - var(--ui-nav-height));
  padding: clamp(90px, 12vh, 150px) 0 clamp(56px, 8vh, 96px);
}

body.site-experience .referral-content.container {
  width: min(1180px, calc(100% - 40px));
  margin: 0 auto;
  padding: clamp(28px, 4vw, 48px);
  text-align: left;
}

body.site-experience .referral-content::before {
  content: "";
  position: absolute;
  z-index: -1;
  top: 0;
  bottom: 0;
  left: 0;
  width: min(680px, 62%);
  background: linear-gradient(135deg, rgba(7, 11, 26, 0.88), rgba(13, 18, 38, 0.56));
  border: 1px solid rgba(224, 191, 111, 0.2);
  border-radius: 22px;
  box-shadow: 0 28px 70px rgba(0, 0, 0, 0.3);
  backdrop-filter: blur(5px);
}

body.site-experience .referral .referral-content h1 {
  max-width: 620px;
  margin: 0 0 28px;
  font-size: clamp(34px, 4vw, 58px);
  line-height: 1.12;
  letter-spacing: -0.025em;
  text-wrap: balance;
}

body.site-experience .referral .referral-content p {
  width: min(570px, 100%);
  margin-bottom: 22px;
  color: rgba(248, 250, 252, 0.82);
  font: 400 clamp(16px, 1.35vw, 19px)/1.65 Lato, Arial, sans-serif;
}

body.site-experience .referral .referral-content a {
  width: auto;
  min-width: 220px;
  height: auto;
  min-height: 50px;
  margin-top: 8px;
  padding: 12px 22px;
  color: #1b1304;
  font: 700 15px/1.2 Lato, Arial, sans-serif;
  background: linear-gradient(135deg, #f5dfa2, #c79b42);
  border: 1px solid rgba(255, 242, 198, 0.7);
  border-radius: 12px;
  box-shadow: 0 14px 32px rgba(0, 0, 0, 0.26);
  transition: transform 200ms var(--ui-ease), filter 200ms ease-out;
}

body.site-experience .referral .referral-content a:hover {
  transform: translateY(-2px);
  filter: brightness(1.08);
}

body.site-experience .seo-showcase {
  min-height: calc(100svh - var(--ui-nav-height));
  display: grid;
  align-items: center;
  padding: clamp(74px, 9vh, 104px) 20px;
  background:
    radial-gradient(circle at 50% 0, rgba(124, 58, 237, 0.2), transparent 42%),
    linear-gradient(180deg, #070b1a 0%, #090d20 100%);
}

body.site-experience .seo-showcase__inner {
  width: min(1120px, 100%);
}

body.site-experience .seo-showcase__eyebrow {
  border-color: rgba(224, 191, 111, 0.3);
  color: var(--ui-gold-soft);
  background: rgba(224, 191, 111, 0.08);
}

body.site-experience .seo-showcase__grid {
  gap: 18px;
}

body.site-experience .seo-showcase__card {
  border-color: rgba(139, 92, 246, 0.34);
  border-radius: var(--ui-radius);
}

body.site-experience .seo-showcase__number {
  color: #1b1304;
  background: linear-gradient(135deg, #f5dfa2, #c79b42);
  box-shadow: 0 8px 22px rgba(199, 155, 66, 0.24);
}

body.site-experience .seo-showcase__action {
  min-height: 48px;
  color: #1b1304 !important;
  background: linear-gradient(135deg, #f5dfa2, #c79b42);
  border-color: rgba(255, 242, 198, 0.72);
  box-shadow: 0 12px 26px rgba(199, 155, 66, 0.2);
}

body.site-experience .seo-showcase__action--secondary {
  color: var(--ui-gold-soft) !important;
  background: rgba(224, 191, 111, 0.07);
  border-color: rgba(224, 191, 111, 0.3);
}

body.site-experience .features {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  min-height: calc(100svh - var(--ui-nav-height));
  padding: clamp(82px, 9vh, 108px) 20px 0;
}

body.site-experience .features > h2 {
  position: relative;
  z-index: 1;
  margin: 0 auto;
  font-size: clamp(30px, 3.5vw, 48px);
  line-height: 1.2;
  text-wrap: balance;
}

body.site-experience .features-content.container {
  width: min(820px, 100%);
  margin-top: 26px;
  padding: 0;
}

body.site-experience .features-content > div {
  width: 100%;
  height: auto;
  min-height: 112px;
  max-height: min(440px, 52vh);
  display: grid;
  place-items: center;
  padding: clamp(20px, 3vw, 30px);
  overflow: auto;
  background: linear-gradient(145deg, rgba(8, 13, 30, 0.82), rgba(13, 18, 38, 0.58));
  border: 1px solid var(--ui-border);
  border-radius: var(--ui-radius);
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.24);
  backdrop-filter: blur(5px);
}

body.site-experience .content-slider {
  width: 100%;
  margin: 0;
}

body.site-experience .social {
  right: 18px;
  z-index: 15;
  gap: 8px;
}

body.site-experience .social a {
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  background: rgba(7, 11, 27, 0.72);
  border: 1px solid var(--ui-border);
  border-radius: 13px;
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.24);
  transition: transform 180ms var(--ui-ease), border-color 180ms ease-out;
}

body.site-experience .social a:hover {
  transform: translateY(-2px);
  border-color: var(--ui-border-active);
}

.section-pagination {
  position: fixed;
  z-index: 18;
  top: 50%;
  left: 18px;
  display: grid;
  gap: 10px;
  transform: translateY(-50%);
}

.section-pagination__link {
  position: relative;
  display: block;
  width: 12px;
  height: 12px;
  padding: 0;
  background: rgba(255, 255, 255, 0.25);
  border: 1px solid rgba(255, 255, 255, 0.38);
  border-radius: 999px;
  cursor: pointer;
  transition: height 220ms var(--ui-ease), background-color 220ms ease-out, border-color 220ms ease-out;
}

.section-pagination__link::after {
  content: attr(aria-label);
  position: absolute;
  top: 50%;
  left: 22px;
  width: max-content;
  max-width: 180px;
  padding: 6px 9px;
  color: var(--ui-text);
  font: 600 12px/1.2 Lato, Arial, sans-serif;
  background: rgba(6, 9, 22, 0.92);
  border: 1px solid var(--ui-border);
  border-radius: 8px;
  opacity: 0;
  pointer-events: none;
  transform: translate(8px, -50%);
  transition: opacity 160ms ease-out, transform 160ms ease-out;
}

.section-pagination__link:hover::after,
.section-pagination__link:focus-visible::after {
  opacity: 1;
  transform: translate(0, -50%);
}

.section-pagination__link.is-active {
  height: 30px;
  background: var(--ui-gold);
  border-color: var(--ui-gold-soft);
}

body.site-experience footer {
  min-height: 0;
  padding-top: 0;
  border-top: 1px solid rgba(224, 191, 111, 0.18);
}

body.site-experience .site-footer--embedded {
  width: calc(100% + 40px);
  margin: clamp(30px, 5vh, 52px) -20px 0;
  margin-top: auto;
}

body.site-experience footer .container {
  width: min(1120px, calc(100% - 40px));
  padding-top: clamp(28px, 4vh, 42px);
}

body.site-experience footer .footer-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 14px 24px;
}

body.site-experience footer .socialformodal {
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  color: rgba(248, 250, 252, 0.74);
  transition: color 180ms ease-out;
}

body.site-experience footer .socialformodal:hover {
  color: var(--ui-gold-soft);
}

body.site-experience footer .footer-copyright p {
  color: rgba(203, 213, 225, 0.62);
}

body.site-experience footer .footer-copyright {
  margin-bottom: 22px;
}

body.site-experience .ps__list {
  gap: 12px !important;
  margin-top: 18px !important;
}

body.site-experience .ps__link {
  opacity: 0.68;
  transition: opacity 180ms ease-out, transform 180ms var(--ui-ease);
}

body.site-experience .ps__link:hover {
  opacity: 1;
  transform: translateY(-2px);
}

body.site-experience .wnd-bg {
  background: rgba(2, 5, 14, 0.78);
  backdrop-filter: blur(7px);
}

body.site-experience .wnd {
  top: 50%;
  left: 50%;
  width: min(820px, calc(100vw - 32px));
  height: auto;
  max-height: calc(100dvh - 32px);
  overflow-x: hidden;
  overflow-y: auto;
  padding: 8px 0;
  background: linear-gradient(145deg, rgba(12, 17, 34, 0.98), rgba(5, 9, 21, 0.99));
  border: 1px solid var(--ui-border-active);
  border-radius: 18px;
  box-shadow: 0 36px 100px rgba(0, 0, 0, 0.64);
  transform: translate(-50%, -48%) scale(0.96);
}

body.site-experience .wnd.active {
  transform: translate(-50%, -50%) scale(1);
}

body.site-experience .wnd-cancel {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  top: 12px;
  right: 12px;
  background-position: center;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 12px;
}

body.site-experience .wnd-title {
  margin-top: 28px;
  font-size: clamp(22px, 3vw, 30px);
  line-height: 1.2;
}

body.site-experience .wnd-desc,
body.site-experience .wnd-files-title-desc {
  color: #aab4c4;
  font-size: 14px;
  line-height: 1.5;
}

body.site-experience .wnd-files {
  border-color: rgba(224, 191, 111, 0.22);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.025);
}

body.site-experience .wnd-files-flag {
  color: #1b1304;
  background: linear-gradient(135deg, #f5dfa2, #c79b42);
  border-radius: 7px;
}

body.site-experience .wnd-files-line {
  gap: 14px;
  background: rgba(255, 255, 255, 0.035);
  border-radius: 10px;
}

body.site-experience .wnd-files-line-btn {
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 10px 16px;
  color: #1b1304;
  background: linear-gradient(135deg, #f5dfa2, #c79b42);
  border-radius: 9px;
}

.has-motion .reveal-target {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 700ms var(--ui-ease), transform 700ms var(--ui-ease);
}

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

.has-motion .seo-showcase__card.reveal-target:nth-child(2) {
  transition-delay: 70ms;
}

.has-motion .seo-showcase__card.reveal-target:nth-child(3) {
  transition-delay: 140ms;
}

@media (min-width: 1024px) and (min-height: 700px) {
  html:has(body.site-experience) {
    scroll-snap-type: y mandatory;
  }

  body.site-experience .site-section,
  body.site-experience footer {
    scroll-snap-align: start;
    scroll-snap-stop: always;
  }
}

@media (max-width: 1280px) {
  body.site-experience > nav {
    justify-content: flex-end;
  }

  body.site-experience .nav-list {
    top: 0;
    width: min(420px, 88vw) !important;
    height: 100dvh;
    gap: 6px;
    padding: 92px 24px 40px;
    background: rgba(4, 7, 18, 0.98);
    border-left: 1px solid rgba(224, 191, 111, 0.2);
    box-shadow: -24px 0 70px rgba(0, 0, 0, 0.5);
  }

  body.site-experience .nav-list .nav-brand {
    display: none;
  }

  body.site-experience .nav-list li {
    width: 100%;
    margin: 0 !important;
  }

  body.site-experience .nav-list .nav-item {
    width: 100%;
    min-height: 52px;
    padding: 0 12px;
    border-radius: 10px;
  }

  body.site-experience .nav-list .nav-item:hover {
    background: rgba(224, 191, 111, 0.08);
  }

  body.site-experience .nav-list1 {
    margin-left: 8px;
  }
}

@media (max-width: 900px) {
  .section-pagination {
    display: none;
  }

  body.site-experience .social {
    right: 10px;
  }

  body.site-experience .social > span {
    display: none;
  }

  body.site-experience .referral-content::before {
    width: 100%;
  }

  body.site-experience .referral .referral-content p {
    width: 100%;
  }

  body.site-experience .seo-showcase__grid {
    grid-template-columns: 1fr;
  }

  body.site-experience .site-section {
    min-height: auto;
  }
}

@media (max-width: 600px) {
  :root {
    --ui-nav-height: 66px;
  }

  body.site-experience > nav {
    padding: 0 12px;
  }

  body.site-experience .top {
    min-height: 100svh;
  }

  .scroll-cue {
    display: none;
  }

  body.site-experience .top-content.container,
  body.site-experience .referral-content.container,
  body.site-experience footer .container {
    width: min(100% - 28px, 1120px);
  }

  body.site-experience .top-content.container {
    padding-top: 86px;
  }

  body.site-experience .top-content-play > a[data-open-wnd] {
    width: min(260px, 100%);
    height: 60px;
    padding: 0 24px;
    font-size: 17px;
    background-size: contain;
  }

  body.site-experience .referral {
    padding: 88px 0 52px;
  }

  body.site-experience .referral-content.container {
    padding: 24px 20px;
  }

  body.site-experience .referral .referral-content h1 {
    font-size: clamp(30px, 10vw, 42px);
  }

  body.site-experience .seo-showcase {
    padding: 72px 14px 54px;
  }

  body.site-experience .features {
    padding: 78px 14px 54px;
  }

  body.site-experience .social {
    top: auto;
    right: 12px;
    bottom: 14px;
  }

  body.site-experience .wnd {
    width: calc(100vw - 20px);
    max-height: calc(100dvh - 20px);
  }

  body.site-experience .wnd-files {
    width: calc(100% - 28px);
    padding: 18px 14px;
  }

  body.site-experience .wnd-files-line,
  body.site-experience .wnd-files-line-btns {
    flex-direction: column;
    align-items: stretch;
    width: 100% !important;
  }

  body.site-experience .wnd-files-line-name {
    margin: 0 0 8px;
    padding: 0;
    text-align: center;
  }

  body.site-experience .wnd-files-line-btn {
    width: 100% !important;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  html:has(body.site-experience) {
    scroll-snap-type: none;
  }

  .scroll-cue,
  .has-motion .reveal-target {
    animation: none;
    opacity: 1;
    transform: none;
    transition: none;
  }

  body.site-experience *,
  body.site-experience *::before,
  body.site-experience *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
  }
}
