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

:root {
  --bg: #030304;
  --panel: rgba(12, 12, 12, 0.76);
  --panel-strong: rgba(8, 8, 8, 0.92);
  --line: rgba(255, 255, 255, 0.14);
  --line-soft: rgba(255, 255, 255, 0.08);
  --text: #f2f2f2;
  --muted: #a6a6a6;
  --accent: #d7d7d7;
  --accent-soft: rgba(255, 255, 255, 0.18);
  --shadow: 0 30px 60px rgba(0, 0, 0, 0.45);
  --icon-filter: none;
  --font-ios: -apple-system, BlinkMacSystemFont, "SF Pro Text", "SF Pro Display", "Helvetica Neue", Helvetica, Arial, sans-serif;
}

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

html,
body {
  min-height: 100%;
  background-color: #050506;
}

html:not(.js-enabled) .page {
  display: none !important;
}

.no-js-screen {
  min-height: 100dvh;
  display: grid;
  place-items: center;
  padding: 24px;
}

.no-js-card {
  width: min(560px, 100%);
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 18px;
  background: rgba(10, 10, 12, 0.92);
  padding: 22px;
  color: #f2f2f2;
}

html {
  scroll-behavior: smooth;
  scrollbar-width: none;
  -ms-overflow-style: none;
}

html::-webkit-scrollbar,
body::-webkit-scrollbar {
  width: 0;
  height: 0;
  display: none;
}

body {
  margin: 0;
  font-family: var(--font-ios);
  color: var(--text);
  background:
    linear-gradient(118deg, rgba(0, 0, 0, 0.72), rgba(0, 0, 0, 0.56)),
    url("/assets/bg.png") center / cover fixed no-repeat;
  position: relative;
  isolation: isolate;
  overflow-x: hidden;
}

body.is-loading {
  overflow: hidden;
}

body.is-loading .page {
  opacity: 0;
}

body.is-loading .topbar,
body.is-loading .hero {
  opacity: 0;
}

.page-loader {
  position: fixed;
  inset: 0;
  z-index: 9999;
  display: grid;
  place-items: center;
  background:
    linear-gradient(118deg, rgba(0, 0, 0, 0.72), rgba(0, 0, 0, 0.56)),
    url("/assets/bg.png") center / cover no-repeat;
  opacity: 1;
  visibility: visible;
  transition: opacity 0.62s cubic-bezier(0.22, 1, 0.36, 1), visibility 0s linear 0.62s;
}

.page-loader.is-hiding {
  opacity: 0;
  visibility: hidden;
}

.page-loader-logo {
  width: clamp(112px, 14vw, 188px);
  height: auto;
  display: block;
  filter: drop-shadow(0 16px 32px rgba(0, 0, 0, 0.45));
  opacity: 0.98;
  transform: rotate(-0.8deg) scale(1);
  animation: loader-idle-tilt 1.2s ease-in-out infinite alternate;
}

.page-loader.is-animating .page-loader-logo {
  animation: loader-spin-fade 0.66s cubic-bezier(0.22, 1, 0.36, 1) forwards;
}

@keyframes loader-idle-tilt {
  from {
    transform: rotate(-1.1deg) scale(1);
  }

  to {
    transform: rotate(1.1deg) scale(1.01);
  }
}

@keyframes loader-spin-fade {
  from {
    transform: rotate(-0.8deg) scale(1);
    opacity: 0.98;
  }

  to {
    transform: rotate(0.14turn) scale(0.94);
    opacity: 0;
  }
}

@keyframes grid-drift {
  from {
    transform: translate3d(0, 0, 0);
  }

  to {
    transform: translate3d(-56px, -56px, 0);
  }
}

body::before {
  content: "";
  position: fixed;
  inset: -56px;
  z-index: 1;
  pointer-events: none;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.3) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.3) 1px, transparent 1px);
  background-size: 56px 56px, 56px 56px;
  mix-blend-mode: screen;
  opacity: 0.05;
  -webkit-mask-image: radial-gradient(circle at center, rgba(0, 0, 0, 1) 42%, rgba(0, 0, 0, 0) 100%);
  mask-image: radial-gradient(circle at center, rgba(0, 0, 0, 1) 42%, rgba(0, 0, 0, 0) 100%);
  animation: grid-drift 24s linear infinite;
}

body::after {
  content: none;
}

html.is-protected,
body.is-protected,
body.is-protected * {
  -webkit-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  user-select: none;
  -webkit-touch-callout: none;
}

body.is-protected img,
body.is-protected video,
body.is-protected canvas {
  -webkit-user-drag: none;
  user-drag: none;
  pointer-events: none;
}

body.is-protected .gallery-view img,
body.is-protected .gallery-modal img {
  pointer-events: auto;
}

body.is-protected::after {
  content: "SHITPASTE PROTECTED";
  position: fixed;
  bottom: 14px;
  right: 16px;
  z-index: 10000;
  pointer-events: none;
  color: rgba(255, 255, 255, 0.26);
  font-size: 11px;
  letter-spacing: 0.14em;
  font-weight: 700;
}

@media print {
  html,
  body {
    display: none !important;
  }
}

.page {
  position: relative;
  z-index: 2;
  width: min(1080px, 100% - 24px);
  margin: 24px auto 0;
}

.topbar {
  position: sticky;
  top: 12px;
  z-index: 50;
  opacity: 1;
  transform: none;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 12px;
  padding: 13px 18px;
  border: 1px solid var(--line-soft);
  border-radius: 22px;
  background: linear-gradient(130deg, rgba(14, 14, 14, 0.8), rgba(7, 7, 7, 0.92));
  backdrop-filter: blur(14px);
  box-shadow: var(--shadow);
  width: min(1048px, calc(100% - 6px));
  margin: 0 auto;
  transition:
    opacity 0.58s cubic-bezier(0.22, 1, 0.36, 1),
    width 0.32s ease,
    padding 0.32s ease,
    border-radius 0.32s ease,
    top 0.32s ease,
    box-shadow 0.32s ease,
    background-color 0.32s ease;
}

.topbar.is-entering {
  animation: topbar-slide-in 0.48s cubic-bezier(0.16, 0.84, 0.3, 1) 0.06s both;
}

@keyframes topbar-slide-in {
  from {
    opacity: 0;
    transform: translateY(-34px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.topbar.is-compact {
  width: min(930px, calc(100% - 120px));
  padding: 9px 14px;
  border-radius: 16px;
  top: 8px;
  box-shadow: 0 16px 38px rgba(0, 0, 0, 0.45);
}

.brand-title {
  grid-column: 1;
  justify-self: start;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  text-decoration: none;
  color: #f0f0f0;
  font-family: var(--font-ios);
  font-size: 1.03rem;
  font-weight: 700;
  letter-spacing: 0.01em;
  transition: font-size 0.32s ease;
}

.brand-title span {
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.07em;
  border: 1px solid rgba(255, 255, 255, 0.24);
  border-radius: 7px;
  padding: 3px 7px;
  color: #d5d5d5;
  transition: padding 0.32s ease, font-size 0.32s ease;
}

.menu-toggle {
  display: none;
  border: 1px solid var(--line);
  background: transparent;
  width: 42px;
  height: 42px;
  border-radius: 12px;
  margin-left: 0;
  padding: 10px 8px;
  cursor: pointer;
}

.menu-toggle span {
  display: block;
  height: 2px;
  margin: 5px 0;
  background: #fff;
}

.nav {
  grid-column: 2;
  justify-self: center;
  display: flex;
  gap: 24px;
  margin: 0;
}

.nav a {
  position: relative;
  display: inline-block;
  color: var(--muted);
  text-decoration: none;
  font-weight: 700;
  font-size: 0.92rem;
  letter-spacing: 0.01em;
  transition: color 0.22s ease, transform 0.22s ease, text-shadow 0.22s ease, font-size 0.32s ease;
}

.nav a:hover {
  color: var(--text);
  transform: none;
  text-shadow: 0 0 14px rgba(255, 255, 255, 0.25);
}

.nav a.nav-placeholder {
  color: var(--muted);
  opacity: 1;
}

.nav a.nav-placeholder:hover {
  color: var(--text);
  opacity: 1;
}

.top-actions {
  grid-column: 3;
  justify-self: end;
  margin-left: 0;
  display: inline-flex;
  gap: 14px;
  transition: gap 0.32s ease;
}

.action {
  text-decoration: none;
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 9px 14px;
  font-size: 0.88rem;
  font-weight: 700;
  line-height: 1;
  transition:
    background-color 0.32s ease,
    border-color 0.32s ease,
    padding 0.32s ease,
    font-size 0.32s ease,
    border-radius 0.32s ease;
}

.action--ghost {
  color: #e6e6e6;
  background: rgba(255, 255, 255, 0.03);
}

.action--solid {
  color: #111;
  border-color: rgba(255, 255, 255, 0.85);
  background: #f1f1f1;
}

.action:hover {
  transform: none;
}

.topbar.is-compact .brand-title {
  font-size: 0.95rem;
}

.topbar.is-compact .brand-title span {
  font-size: 0.68rem;
  padding: 2px 6px;
}

.topbar.is-compact .nav a {
  font-size: 0.86rem;
}

.topbar.is-compact .action {
  padding: 8px 12px;
  font-size: 0.82rem;
  border-radius: 14px;
}

.topbar.is-compact .top-actions {
  gap: 8px;
}

.hero {
  position: relative;
  display: grid;
  gap: clamp(72px, 8vw, 150px);
  grid-template-columns: 1.1fr 0.9fr;
  align-items: center;
  min-height: calc(100vh - 96px);
  padding: 28px 6px 38px;
  opacity: 1;
  transition: opacity 1.08s cubic-bezier(0.22, 1, 0.36, 1) 0.12s;
}

.hero h1 {
  margin: 0;
  font-family: var(--font-ios);
  font-size: clamp(1.5rem, 3.5vw, 3.2rem);
  line-height: 0.99;
  font-weight: 700;
  letter-spacing: -0.03em;
  max-width: 620px;
}

.hero h1 span {
  color: #ffffff;
}

.hero-subtitle {
  margin: 24px 0 0;
  max-width: 620px;
  color: #c2c2c2;
  font-size: clamp(0.95rem, 1.5vw, 1.1rem);
  line-height: 1.45;
}

.hero-actions {
  margin-top: 30px;
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
}

.button {
  text-decoration: none;
  border-radius: 14px;
  padding: 13px 24px;
  font-weight: 800;
  border: 1px solid var(--line);
  transition: background-color 0.2s ease, border-color 0.2s ease;
}

.button--light {
  color: #0b0b0d;
  border-color: rgba(255, 255, 255, 0.85);
  background: linear-gradient(132deg, #ffffff, #dbdbdb);
}

.button--dark {
  color: var(--text);
  background: rgba(255, 255, 255, 0.05);
}

.button:hover {
  transform: none;
}

.hero-preview {
  border: 0;
  background: transparent;
  padding: 0;
  box-shadow: none;
  position: relative;
  justify-self: start;
  transform: translateX(150px);
  transition: transform 0.32s ease;
}

.hero-preview img {
  display: block;
  width: 100%;
  height: clamp(220px, 27vw, 340px);
  object-fit: contain;
  background: transparent;
  padding: 0;
  border-radius: 0;
}

.hero-scroll {
  position: absolute;
  left: 50%;
  bottom: 28px;
  width: 28px;
  height: 28px;
  display: grid;
  place-items: center;
  border: 2px solid rgba(255, 255, 255, 0.12);
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.02);
  transform: translateX(-50%);
  transition: border-color 0.2s ease, background-color 0.2s ease;
}

.hero-scroll::before {
  content: "";
  width: 9px;
  height: 9px;
  border-right: 2px solid rgba(255, 255, 255, 0.18);
  border-bottom: 2px solid rgba(255, 255, 255, 0.18);
  transform: translateY(-2px) rotate(45deg);
  transition: border-color 0.2s ease;
}

.hero-scroll:hover {
  border-color: rgba(255, 255, 255, 0.28);
  background: rgba(255, 255, 255, 0.04);
}

.hero-scroll:hover::before {
  border-color: rgba(255, 255, 255, 0.38);
}

.section {
  margin-top: 70px;
  padding: 24px 0 0;
}

.reveal-on-scroll {
  opacity: 0;
  transform: translateY(44px) scale(0.965);
  filter: blur(7px);
  transition:
    opacity 1.24s cubic-bezier(0.22, 1, 0.36, 1),
    transform 1.24s cubic-bezier(0.22, 1, 0.36, 1),
    filter 1.24s cubic-bezier(0.22, 1, 0.36, 1);
  will-change: opacity, transform, filter;
}

.reveal-on-scroll.is-visible {
  opacity: 1;
  transform: translateY(0) scale(1);
  filter: blur(0);
}

.hero-preview.reveal-on-scroll {
  transform: translateX(150px);
  filter: none;
  transition: opacity 1.36s cubic-bezier(0.22, 1, 0.36, 1);
}

.hero-preview.reveal-on-scroll.is-visible {
  transform: translateX(150px);
  filter: none;
}

.section-label {
  margin: 0;
  text-align: center;
  color: #b0b0b0;
  text-transform: uppercase;
  letter-spacing: 0.09em;
  font-size: 0.77rem;
  font-weight: 700;
}

.section h2 {
  margin: 10px 0 34px;
  text-align: center;
  font-family: var(--font-ios);
  font-size: clamp(1.6rem, 3.2vw, 2.6rem);
  line-height: 1.05;
}

.section-svg {
  display: block;
  width: 78px;
  height: 78px;
  margin: 0 auto 16px;
  background-position: center;
  background-repeat: no-repeat;
  background-size: contain;
  filter: drop-shadow(0 12px 20px rgba(0, 0, 0, 0.35));
  opacity: 0.95;
}

.section-svg--features {
  background-image: url("/assets/advantages.svg");
}

.section-svg--stats {
  background-image: url("/assets/statistics.svg");
}

.section--features .section-label,
.section--stats .section-label {
  color: #f1f1f1;
  font-family: var(--font-ios);
  font-size: clamp(1.8rem, 4vw, 3rem);
  font-weight: 700;
  letter-spacing: -0.01em;
  text-transform: none;
}

.section--features h2,
.section--stats h2 {
  color: #a5a5a5;
  font-family: var(--font-ios);
  font-size: 0.95rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-top: 20px;
  margin-bottom: 52px;
}

.section--stats {
  margin-top: clamp(110px, 15vh, 180px);
}

.section--video {
  margin-top: clamp(120px, 16vh, 200px);
}

.section--gallery {
  margin-top: clamp(86px, 12vh, 150px);
}

.section--gallery .showcase {
  grid-template-columns: minmax(0, 1.15fr) minmax(280px, 0.85fr);
}

.showcase {
  display: grid;
  grid-template-columns: minmax(280px, 0.85fr) minmax(0, 1.15fr);
  gap: clamp(26px, 4vw, 72px);
  align-items: center;
}

.showcase--reverse .showcase-copy {
  order: 2;
}

.showcase--reverse .showcase-media {
  order: 1;
}

.showcase-copy {
  max-width: 460px;
}

.showcase-media {
  min-width: 0;
}

.section-description {
  margin: 18px 0 0;
  color: #b6b6b6;
  line-height: 1.52;
  font-size: clamp(1rem, 1.3vw, 1.24rem);
}

.section--gallery .section-label,
.section--video .section-label {
  color: #f1f1f1;
  font-family: var(--font-ios);
  font-size: clamp(1.8rem, 3.6vw, 3rem);
  font-weight: 700;
  letter-spacing: -0.01em;
  text-transform: none;
  text-align: left;
}

.section--gallery h2,
.section--video h2 {
  color: #9e9e9e;
  font-family: var(--font-ios);
  font-size: 0.95rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-top: 16px;
  margin-bottom: 0;
  text-align: left;
}

.cards {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px;
}

.section--features .cards {
  width: min(1320px, calc(100% + 120px));
  margin-left: 50%;
  transform: translateX(-50%);
}

.card-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.card-icon {
  flex: 0 0 34px;
  width: 34px;
  height: 34px;
  background-position: center;
  background-repeat: no-repeat;
  background-size: contain;
  opacity: 0.92;
  filter: var(--icon-filter);
}

.card-icon--stability {
  background-image: url("/assets/feature-stability.svg");
  flex: 0 0 44px;
  width: 44px;
  height: 44px;
}

.card-icon--combat {
  background-image: url("/assets/feature-combat.svg");
}

.card-icon--support {
  background-image: url("/assets/feature-support.svg");
}

.card,
.stat {
  --card-rot-x: 0deg;
  --card-rot-y: 0deg;
  --card-lift: 0px;
  --card-scale: 1;
  --pointer-x: 50%;
  --pointer-y: 50%;
  --card-outline-outer-alpha: 0;
  position: relative;
  isolation: isolate;
  overflow: hidden;
  border-radius: 18px;
  transform-origin: 50% 72%;
  transform: perspective(920px) translateY(var(--card-lift)) rotateX(var(--card-rot-x)) rotateY(var(--card-rot-y)) scale(var(--card-scale));
  border: 1px solid transparent;
  background:
    linear-gradient(154deg, rgba(8, 8, 8, 0.94), rgba(14, 14, 16, 0.86)) padding-box,
    linear-gradient(130deg, rgba(156, 156, 156, 0.24), rgba(88, 88, 88, 0.2)) border-box;
  background-size: 100% 100%;
  padding: 24px;
  will-change: transform, box-shadow, background;
  transition:
    transform 0.11s cubic-bezier(0.2, 0.75, 0.3, 1),
    box-shadow 0.12s ease,
    background 0.12s ease;
}

.card.reveal-on-scroll,
.stat.reveal-on-scroll {
  transform: perspective(920px) translateY(var(--card-lift)) rotateX(var(--card-rot-x)) rotateY(var(--card-rot-y)) scale(var(--card-scale)) !important;
  transition:
    transform 0.11s cubic-bezier(0.2, 0.75, 0.3, 1),
    box-shadow 0.12s ease,
    background 0.12s ease,
    opacity 0.78s cubic-bezier(0.16, 1, 0.3, 1),
    filter 0.78s cubic-bezier(0.16, 1, 0.3, 1);
}

.card.reveal-on-scroll:not(.is-visible),
.stat.reveal-on-scroll:not(.is-visible) {
  opacity: 0;
  filter: blur(6px);
}

.card.reveal-on-scroll.is-visible,
.stat.reveal-on-scroll.is-visible {
  opacity: 1;
  filter: blur(0);
}

.card::before,
.stat::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: radial-gradient(
    240px circle at var(--pointer-x) var(--pointer-y),
    rgba(255, 255, 255, 0.1) 0%,
    rgba(214, 214, 214, 0.06) 35%,
    rgba(255, 255, 255, 0) 78%
  );
  opacity: 0;
  transform: scale(0.99);
  transition: opacity 0.11s ease, transform 0.11s ease;
  pointer-events: none;
  z-index: 1;
}

.card::after,
.stat::after {
  content: "";
  position: absolute;
  inset: -2px;
  border-radius: inherit;
  pointer-events: none;
  opacity: 0;
  box-shadow:
    0 0 0 1px rgba(236, 236, 236, 0.45),
    0 0 0 2px rgba(128, 128, 128, 0.22),
    0 0 0 5px rgba(218, 218, 218, var(--card-outline-outer-alpha));
  transition: opacity 0.11s ease;
  z-index: 1;
}

.card.is-hover,
.stat.is-hover {
  --card-lift: 0px;
  --card-scale: 1.026;
  --card-outline-outer-alpha: 0.16;
  background:
    linear-gradient(154deg, rgba(8, 8, 8, 0.94), rgba(14, 14, 16, 0.86)) padding-box,
    radial-gradient(
      290px circle at var(--pointer-x) var(--pointer-y),
      rgba(248, 248, 248, 0.9) 0%,
      rgba(196, 196, 196, 0.57) 30%,
      rgba(126, 126, 126, 0.27) 58%,
      rgba(96, 96, 96, 0.19) 76%,
      rgba(84, 84, 84, 0.24) 100%
    ) border-box;
  box-shadow:
    0 20px 34px rgba(0, 0, 0, 0.46),
    0 0 0 1px rgba(235, 235, 235, 0.42),
    0 0 0 2px rgba(122, 122, 122, 0.24);
}

.card.is-hover::before,
.stat.is-hover::before {
  opacity: 0.95;
  transform: scale(1);
}

.card.is-hover::after,
.stat.is-hover::after {
  opacity: 1;
}

.card-head,
.card h3,
.card p {
  position: relative;
  z-index: 2;
}

.card h3 {
  margin: 0;
  font-size: 1.32rem;
  line-height: 1.15;
}

.card p {
  margin: 14px 0 0;
  color: #c0c0c0;
  line-height: 1.5;
}

@media (prefers-reduced-motion: reduce) {
  .topbar {
    opacity: 1;
    transform: none;
    animation: none !important;
  }

  .reveal-on-scroll,
  .reveal-on-scroll.is-visible {
    opacity: 1;
    transform: none;
    filter: none;
    transition: none;
  }

  .card,
  .stat,
  .card::before,
  .stat::before,
  .card::after,
  .stat::after {
    transition: none;
    animation: none !important;
  }
}

.stats {
  display: grid;
  gap: clamp(30px, 3vw, 44px);
  grid-template-columns: repeat(4, minmax(220px, 1fr));
  width: min(1540px, calc(100% + 340px));
  margin-left: 50%;
  transform: translateX(-50%);
}

.stat {
  border-radius: 16px;
  padding: 24px 24px;
  text-align: center;
}

.stat-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 8px;
  width: 100%;
  margin: 0 0 10px;
}

.stat-icon {
  width: 24px;
  height: 24px;
  display: block;
  order: 2;
  transform: translateY(-8px);
  background-position: center;
  background-repeat: no-repeat;
  background-size: contain;
  filter: var(--icon-filter);
}

.stat-icon--users {
  background-image: url("/assets/stat-users.svg");
}

.stat-icon--launches {
  background-image: url("/assets/stat-launches.svg");
}

.stat-icon--days {
  background-image: url("/assets/stat-days.svg");
}

.stat-icon--update {
  background-image: url("/assets/stat-update.svg");
}

.stat-title {
  color: var(--muted);
  font-weight: 700;
  font-size: clamp(1rem, 1.1vw, 1.08rem);
  letter-spacing: 0.01em;
  order: 1;
  text-align: left;
  transform: translateY(-5px);
}

.stat strong {
  margin-top: 0;
  display: block;
  font-size: clamp(1.5rem, 2.05vw, 1.9rem);
  line-height: 0.9;
  letter-spacing: 0;
  transform: translateY(-3px);
  font-variant-numeric: tabular-nums lining-nums;
  font-weight: 700;
}

.stat .counter {
  font-family: "Zen Dots", var(--font-ios);
  font-weight: 700;
}

.stat p {
  margin: 10px 0 0;
  color: #cdcdcd;
  line-height: 1.25;
  font-size: 0.9rem;
}

.stat-head,
.stat strong,
.stat p {
  position: relative;
  z-index: 2;
}

.gallery-view {
  border-radius: 22px;
  border: 0;
  overflow: hidden;
  background: transparent;
  box-shadow: none;
  position: relative;
  min-height: clamp(190px, 30vw, 360px);
  display: grid;
  place-items: center;
}

.gallery-view img {
  width: 100%;
  display: block;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  will-change: transform, opacity;
  position: relative;
  z-index: 1;
  cursor: zoom-in;
}

.gallery-shell {
  border: 0;
  border-radius: 0;
  padding: 0;
  background: transparent;
  width: 100%;
  margin: 0;
}

.gallery-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 44px;
  height: 44px;
  border: 1px solid rgba(255, 255, 255, 0.28);
  border-radius: 999px;
  background: rgba(8, 8, 8, 0.58);
  cursor: pointer;
  z-index: 4;
  transition: background-color 0.2s ease, border-color 0.2s ease, transform 0.2s ease;
}

.gallery-arrow::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 11px;
  height: 11px;
  border-top: 2px solid #ffffff;
  border-right: 2px solid #ffffff;
}

.gallery-arrow--prev {
  left: 12px;
}

.gallery-arrow--prev::before {
  transform: translate(-35%, -50%) rotate(-135deg);
}

.gallery-arrow--next {
  right: 12px;
}

.gallery-arrow--next::before {
  transform: translate(-65%, -50%) rotate(45deg);
}

.gallery-arrow:hover {
  background: rgba(20, 20, 20, 0.74);
  border-color: rgba(255, 255, 255, 0.48);
}

.gallery-arrow:active {
  transform: translateY(-50%) scale(0.96);
}

.gallery-dots {
  margin-top: 16px;
  display: flex;
  justify-content: center;
  gap: 12px;
}

.gallery-dot {
  width: 28px;
  height: 6px;
  border: 0;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.2);
  cursor: pointer;
  transition: background-color 0.22s ease, transform 0.22s ease;
}

.gallery-dot.active {
  background: rgba(255, 255, 255, 0.92);
  transform: scaleX(1.16);
}

.video-frame {
  border: 0;
  border-radius: 0;
  background: transparent;
  padding: 0;
  width: 100%;
  margin: 0;
}

.video-frame lite-youtube {
  width: 100%;
  max-width: none;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 10px 22px rgba(0, 0, 0, 0.38);
}

.video-frame lite-youtube::before {
  content: "";
  height: 100%;
  padding: 0;
  background-image: linear-gradient(180deg, rgba(0, 0, 0, 0.08), rgba(0, 0, 0, 0.26));
}

.video-frame lite-youtube > iframe {
  width: 100%;
  height: 100%;
  border: 0;
  border-radius: 10px;
}

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

.gallery-modal {
  position: fixed;
  inset: 0;
  z-index: 200;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 26px;
}

.gallery-modal.is-open {
  display: flex;
}

.gallery-modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.82);
  backdrop-filter: blur(4px);
}

.gallery-modal-stage {
  position: relative;
  z-index: 2;
  max-width: min(92vw, 1280px);
  max-height: 84vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0;
}

.gallery-modal-stage img {
  max-width: min(90vw, 1240px);
  max-height: 78vh;
  object-fit: contain;
  transform-origin: center center;
  transition: transform 0.16s ease;
  cursor: zoom-in;
  user-select: none;
  pointer-events: auto;
}

.gallery-modal-close,
.gallery-modal-nav {
  border: 1px solid rgba(255, 255, 255, 0.26);
  border-radius: 999px;
  background: rgba(12, 12, 12, 0.66);
  color: #ffffff;
}

.gallery-modal-close {
  position: absolute;
  z-index: 3;
  top: 24px;
  right: 24px;
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  padding: 0;
  font-size: 0;
  line-height: 0;
  appearance: none;
  -webkit-appearance: none;
  cursor: pointer;
}

.gallery-modal-close::before,
.gallery-modal-close::after {
  content: "";
  position: absolute;
  width: 16px;
  height: 2px;
  border-radius: 2px;
  background: #ffffff;
}

.gallery-modal-close::before {
  transform: rotate(45deg);
}

.gallery-modal-close::after {
  transform: rotate(-45deg);
}

.gallery-modal-nav {
  position: absolute;
  z-index: 3;
  top: 50%;
  transform: translateY(-50%);
  width: 48px;
  height: 48px;
  cursor: pointer;
}

.gallery-modal-nav::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 12px;
  height: 12px;
  border-top: 2px solid #ffffff;
  border-right: 2px solid #ffffff;
}

.gallery-modal-nav--prev {
  left: 24px;
}

.gallery-modal-nav--prev::before {
  transform: translate(-35%, -50%) rotate(-135deg);
}

.gallery-modal-nav--next {
  right: 24px;
}

.gallery-modal-nav--next::before {
  transform: translate(-65%, -50%) rotate(45deg);
}

.gallery-modal-close:hover,
.gallery-modal-nav:hover {
  background: rgba(30, 30, 30, 0.86);
  border-color: rgba(255, 255, 255, 0.46);
}

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

.auth-modal {
  position: fixed;
  inset: 0;
  z-index: 210;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 22px;
}

.auth-modal.is-open {
  display: flex;
}

.auth-modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.74);
  backdrop-filter: blur(4px);
}

.auth-modal-dialog {
  position: relative;
  z-index: 1;
  width: min(460px, 92vw);
  border: 1px solid var(--line-soft);
  border-radius: 18px;
  background: linear-gradient(130deg, rgba(14, 14, 14, 0.88), rgba(7, 7, 7, 0.96));
  box-shadow: 0 24px 64px rgba(0, 0, 0, 0.56);
  padding: 18px;
}

.auth-modal-close {
  position: absolute;
  top: 12px;
  right: 12px;
  width: 34px;
  height: 34px;
  border-radius: 10px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.04);
  color: #efefef;
  font-size: 1.1rem;
  line-height: 1;
  cursor: pointer;
}

.auth-tabs {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  margin-right: 44px;
  margin-bottom: 14px;
}

.auth-tab {
  border: 1px solid var(--line);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.04);
  color: #c5c5c5;
  font-size: 0.92rem;
  font-weight: 700;
  padding: 10px 12px;
  cursor: pointer;
  transition: color 0.2s ease, border-color 0.2s ease, background-color 0.2s ease;
}

.auth-tab.is-active {
  color: #111;
  border-color: rgba(255, 255, 255, 0.85);
  background: #f1f1f1;
}

.auth-pane {
  display: none;
}

.auth-pane.is-active {
  display: block;
}

.auth-pane h3 {
  margin: 4px 0 14px;
  font-size: 1.12rem;
  font-weight: 700;
  color: #f1f1f1;
}

.auth-form {
  display: grid;
  gap: 10px;
}

.auth-form label {
  display: grid;
  gap: 7px;
  color: #b8b8b8;
  font-size: 0.86rem;
  font-weight: 600;
}

.auth-form input {
  width: 100%;
  height: 42px;
  border-radius: 11px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.03);
  color: #f5f5f5;
  padding: 0 12px;
  font-family: var(--font-ios);
  font-size: 0.95rem;
}

.auth-form input:focus {
  outline: none;
  border-color: rgba(255, 255, 255, 0.42);
  box-shadow: 0 0 0 2px rgba(255, 255, 255, 0.08);
}

.auth-submit {
  margin-top: 6px;
  height: 42px;
  border-radius: 12px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.04);
  color: #f0f0f0;
  font-size: 0.94rem;
  font-weight: 700;
  cursor: pointer;
}

.auth-submit--solid {
  color: #111;
  border-color: rgba(255, 255, 255, 0.86);
  background: #f1f1f1;
}

.footer {
  margin-top: 118px;
  width: 100vw;
  margin-left: calc(50% - 50vw);
  margin-right: calc(50% - 50vw);
  margin-bottom: 0;
  background: linear-gradient(130deg, rgba(14, 14, 14, 0.8), rgba(7, 7, 7, 0.92));
  border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.footer-wrap {
  width: min(1080px, calc(100% - 36px));
  margin: 0 auto;
  padding: 34px 0 16px;
}

.footer-top {
  display: grid;
  grid-template-columns: minmax(300px, 1.25fr) minmax(180px, 0.75fr) minmax(220px, 0.85fr);
  gap: clamp(24px, 4vw, 88px);
  align-items: start;
}

.footer-brand-row {
  display: flex;
  align-items: center;
  gap: 12px;
}

.footer-brand-logo {
  width: 24px;
  height: 24px;
  display: block;
  object-fit: contain;
  filter: drop-shadow(0 0 4px rgba(255, 255, 255, 0.16));
}

.footer-brand-name {
  font-family: var(--font-ios);
  color: #f1f5ff;
  font-size: 1.2rem;
  line-height: 1;
  font-weight: 500;
  letter-spacing: 0.02em;
}

.footer-brand p {
  margin: 14px 0 0;
  max-width: 380px;
  color: #b6b6b6;
  line-height: 1.5;
  font-size: 0.92rem;
  font-weight: 500;
}

.footer-block h3 {
  margin: 0 0 12px;
  color: #a8a8a8;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  font-size: 0.74rem;
  font-weight: 500;
}

.footer-links {
  display: flex;
  flex-direction: column;
  gap: 9px;
}

.footer-links a {
  color: #d4d4d4;
  text-decoration: none;
  line-height: 1.35;
  font-size: 0.92rem;
  font-weight: 500;
  transition: color 0.2s ease, transform 0.2s ease;
}

.footer-links a:hover {
  color: #f2f6ff;
  transform: none;
}

.footer-links--social a {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  width: fit-content;
}

.footer-links--social a::before {
  content: "";
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: rgba(244, 244, 244, 0.78);
}

.footer-divider {
  display: block;
  height: 1px;
  margin: 24px 0 14px;
  background: linear-gradient(90deg, rgba(255, 255, 255, 0), rgba(255, 255, 255, 0.14), rgba(255, 255, 255, 0));
}

.footer-bottom {
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  gap: 12px;
}

.footer-legal p {
  margin: 0;
  color: #949494;
  line-height: 1.4;
  font-size: 0.88rem;
  font-weight: 500;
}

.footer-meta {
  margin: 0;
  color: #7f7f7f;
  font-size: 0.84rem;
  letter-spacing: 0.02em;
  font-weight: 500;
}

.nav a.nav-active {
  color: var(--text);
}

.section--faq {
  margin-top: 94px;
  padding-top: 20px;
}

.faq-page .section--faq {
  margin-top: 42px;
  padding-top: 0;
  min-height: calc(100dvh - 190px);
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.faq-page .section--faq h2 {
  margin-bottom: 28px;
}

.faq-page .footer {
  margin-top: 64px;
}

.faq-list {
  width: min(760px, 100%);
  margin: 0 auto;
  display: grid;
  gap: 12px;
}

.faq-item {
  border: 1px solid var(--line-soft);
  border-radius: 14px;
  background: linear-gradient(150deg, rgba(10, 10, 12, 0.9), rgba(7, 7, 8, 0.94));
  padding: 0 16px;
  opacity: 0;
  transform: translateY(26px) scale(0.985);
  filter: blur(4px);
  transition:
    border-color 0.24s ease,
    background-color 0.24s ease,
    opacity 0.54s cubic-bezier(0.22, 1, 0.36, 1),
    transform 0.54s cubic-bezier(0.22, 1, 0.36, 1),
    filter 0.54s cubic-bezier(0.22, 1, 0.36, 1);
}

.faq-item.reveal-on-scroll.is-visible {
  opacity: 1;
  transform: translateY(0) scale(1);
  filter: blur(0);
}

.faq-item:nth-child(1) {
  transition-delay: 0.02s;
}

.faq-item:nth-child(2) {
  transition-delay: 0.06s;
}

.faq-item:nth-child(3) {
  transition-delay: 0.1s;
}

.faq-item:nth-child(4) {
  transition-delay: 0.14s;
}

.faq-item:nth-child(5) {
  transition-delay: 0.18s;
}

.faq-item[open] {
  border-color: rgba(255, 255, 255, 0.22);
}

.faq-item summary {
  list-style: none;
  cursor: pointer;
  padding: 16px 24px 16px 0;
  color: #f1f1f1;
  font-weight: 700;
  position: relative;
}

.faq-item summary::-webkit-details-marker {
  display: none;
}

.faq-item summary::after {
  content: "";
  position: absolute;
  right: 0;
  top: 50%;
  width: 18px;
  height: 18px;
  transform: translateY(-50%) rotate(-90deg);
  background: #bfbfbf;
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2.3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E") center / contain no-repeat;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2.3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E") center / contain no-repeat;
  transition: transform 0.36s cubic-bezier(0.22, 1, 0.36, 1), background-color 0.3s ease;
}

.faq-item[open] summary::after {
  transform: translateY(-50%) rotate(0deg);
  background: #f1f1f1;
}

.faq-answer {
  height: 0;
  overflow: hidden;
  transition: height 0.5s cubic-bezier(0.22, 1, 0.36, 1);
}

.faq-answer > * {
  opacity: 0;
  transform: translateY(-8px);
  transition:
    opacity 0.3s cubic-bezier(0.22, 1, 0.36, 1),
    transform 0.3s cubic-bezier(0.22, 1, 0.36, 1);
}

.faq-item[open] .faq-answer > * {
  opacity: 1;
  transform: translateY(0);
}

.faq-item.is-collapsing .faq-answer > * {
  opacity: 0;
  transform: translateY(-8px);
}

.faq-answer p {
  margin: 0 0 16px;
  color: #b7b7b7;
  line-height: 1.52;
}

.faq-item a {
  color: #efefef;
}

@media (max-width: 1024px) {
  .hero {
    grid-template-columns: 1fr;
    min-height: auto;
    padding-top: 30px;
  }

  .hero-preview {
    transform: translateX(0);
    justify-self: center;
  }

  .hero-preview.reveal-on-scroll,
  .hero-preview.reveal-on-scroll.is-visible {
    transform: translateX(0);
  }

  .cards {
    grid-template-columns: 1fr;
  }

  .section--features .cards {
    width: 100%;
    margin-left: 0;
    transform: none;
  }

  .stats {
    grid-template-columns: repeat(2, minmax(220px, 1fr));
    width: 100%;
    margin-left: 0;
    transform: none;
  }

  .section--stats {
    margin-top: 9vh;
  }

  .section--video,
  .section--gallery {
    margin-top: 14vh;
  }

  .showcase {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .showcase--reverse .showcase-copy,
  .showcase--reverse .showcase-media {
    order: initial;
  }

  .showcase-copy {
    max-width: none;
  }

  .section--video .section-label,
  .section--gallery .section-label,
  .section--video h2,
  .section--gallery h2,
  .section-description {
    text-align: center;
  }

  .video-frame,
  .gallery-shell {
    width: min(920px, 100%);
    margin: 0 auto;
  }

  .faq-page .section--faq {
    min-height: auto;
    justify-content: flex-start;
  }

  .footer-wrap {
    width: min(1160px, calc(100% - 36px));
    padding: 34px 0 18px;
  }

  .footer-top {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 24px 28px;
  }

  .footer-brand {
    grid-column: 1 / -1;
  }

  .footer-bottom {
    grid-template-columns: 1fr auto;
    gap: 10px;
  }

  .footer-legal {
    text-align: left;
  }
}

@media (max-width: 840px) {
  .topbar {
    grid-template-columns: 42px 1fr auto;
    row-gap: 10px;
    padding: 12px 12px 14px;
    width: 100%;
  }

  .topbar.is-compact {
    width: 100%;
    padding: 12px 12px 14px;
    border-radius: 22px;
    top: 12px;
  }

  .menu-toggle {
    display: block;
    position: static;
    grid-column: 1;
    grid-row: 1;
    justify-self: start;
  }

  .brand-title {
    grid-column: 2;
    justify-self: start;
  }

  .nav {
    grid-column: 1 / -1;
    grid-row: 2;
    width: 100%;
    flex-direction: column;
    gap: 12px;
    margin: 0;
    padding: 12px;
    border-radius: 14px;
    border: 1px solid var(--line-soft);
    background: rgba(0, 0, 0, 0.5);
    display: none;
    text-align: center;
  }

  .topbar.open .nav {
    display: flex;
  }

  .top-actions {
    grid-column: 3;
    grid-row: 1;
    width: auto;
    margin-left: 0;
    justify-content: center;
  }

  .gallery-modal {
    padding: 14px;
  }

  .gallery-modal-nav--prev {
    left: 10px;
  }

  .gallery-modal-nav--next {
    right: 10px;
  }

  .gallery-modal-close {
    top: 10px;
    right: 10px;
  }
}

@media (max-width: 640px) {
  .page {
    width: calc(100% - 14px);
    margin-top: 10px;
  }

  .brand-title {
    font-size: 0.9rem;
  }

  .top-actions {
    width: auto;
    gap: 4px;
  }

  .action {
    padding: 7px 8px;
    font-size: 0.72rem;
  }

  .hero-actions {
    flex-direction: column;
    align-items: stretch;
  }

  .button {
    text-align: center;
  }

  .stats {
    grid-template-columns: 1fr;
  }

  .footer {
    margin-top: 94px;
  }

  .footer-wrap {
    width: calc(100% - 24px);
    padding: 24px 0 14px;
  }

  .footer-top {
    grid-template-columns: 1fr;
    gap: 18px;
  }

  .footer-brand-name {
    font-size: 1.3rem;
  }

  .footer-brand p {
    margin-top: 10px;
    max-width: none;
    font-size: 0.9rem;
  }

  .footer-block h3 {
    margin-bottom: 8px;
    font-size: 0.7rem;
  }

  .footer-links a {
    font-size: 0.9rem;
  }

  .footer-divider {
    margin: 16px 0 12px;
  }

  .footer-bottom {
    grid-template-columns: 1fr;
    gap: 6px;
    text-align: center;
  }

  .footer-legal p {
    font-size: 0.8rem;
  }

  .gallery-modal-nav {
    width: 42px;
    height: 42px;
  }

}

/* disable gear spin */
.gear, .icon-gear, [class*='gear'] {
  animation: none !important;
}
