:root {
  --page-bg: #050506;
  --surface: #0d0d10;
  --surface-soft: #0a0a0c;
  --surface-purple: #0e0b14;
  --text: #ffffff;
  --muted: #c5cadb;
  --muted-strong: #e2e4eb;
  --line: rgba(255, 255, 255, 0.09);
  --accent: #ed45d6;
  --brand: #ed45d6;
  --purple: #7734d8;
  --content: 1100px;
  --header-content: 1200px;
  color-scheme: dark;
  font-family: "Inter", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: 108px;
  background: var(--page-bg);
}

body {
  margin: 0;
  min-width: 320px;
  overflow-x: hidden;
  background: var(--page-bg);
  color: var(--text);
  font-family: inherit;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

body.menu-open {
  overflow: hidden;
}

img {
  display: block;
  max-width: 100%;
}

a {
  color: inherit;
  text-decoration: none;
}

button,
input {
  font: inherit;
}

button,
a {
  -webkit-tap-highlight-color: transparent;
}

:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 4px;
}

.skip-link {
  position: fixed;
  z-index: 1000;
  top: 12px;
  left: 12px;
  padding: 12px 16px;
  border-radius: 10px;
  background: #fff;
  color: #050506;
  font-size: 14px;
  font-weight: 800;
  opacity: 0;
  pointer-events: none;
  transform: translateY(-150%);
  transition: opacity 160ms ease, transform 200ms ease;
}

.skip-link:focus {
  opacity: 1;
  outline: 3px solid var(--accent);
  outline-offset: 3px;
  pointer-events: auto;
  transform: translateY(0);
}

.site-shell {
  position: relative;
  overflow: clip;
  width: 100%;
  background: var(--page-bg);
}

.section {
  position: relative;
  z-index: 1;
  width: 100%;
}

.accent {
  color: var(--accent);
}

.eyebrow,
.section-kicker {
  margin: 0 0 18px;
  color: var(--accent);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.13em;
  line-height: 1.3;
  text-transform: uppercase;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 43px;
  padding: 13px 24px;
  border: 1px solid transparent;
  border-radius: 999px;
  font-size: 14px;
  font-weight: 700;
  gap: 9px;
  line-height: 1;
  transition: border-color 180ms ease, background-color 180ms ease, color 180ms ease, box-shadow 180ms ease;
}

.button-dark {
  background: rgba(16, 16, 20, 0.92);
  color: #fff;
}

.button-dark:hover {
  background: #1a1a20;
  border-color: rgba(255, 255, 255, 0.12);
}

.button-accent {
  background: var(--accent);
  color: #050505;
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.2);
}

.button-accent:hover {
  background: #f56ce2;
  box-shadow: 0 14px 30px rgba(0, 0, 0, 0.3);
}

.button-large {
  min-height: 67px;
  padding: 20px 32px 22px;
  font-size: 22px;
}

.glass-panel {
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(8, 8, 8, 0.62);
  box-shadow: 0 24px 70px rgba(0, 0, 0, 0.3);
  -webkit-backdrop-filter: blur(24px);
  backdrop-filter: blur(24px);
}

.site-header {
  position: sticky;
  z-index: 50;
  top: 0;
  height: 91px;
  background: transparent;
  box-shadow: 0 0 0 rgba(0, 0, 0, 0);
  transition: background-color 280ms ease, box-shadow 280ms ease;
}

.site-header::after {
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.08) 20%, rgba(237, 69, 214, 0.34) 50%, rgba(255, 255, 255, 0.08) 80%, transparent);
  content: "";
  opacity: 0;
  transform: scaleX(0.72);
  transition: opacity 280ms ease, transform 340ms cubic-bezier(0.22, 1, 0.36, 1);
}

.site-header.is-scrolled {
  background: rgba(5, 5, 6, 0.94);
  box-shadow: 0 18px 48px rgba(0, 0, 0, 0.28);
}

.site-header.is-scrolled::after {
  opacity: 1;
  transform: scaleX(1);
}

.header-inner {
  display: grid;
  grid-template-columns: 220px minmax(0, 1fr) auto;
  align-items: center;
  width: min(calc(100% - 48px), var(--header-content));
  height: 100%;
  margin: 0 auto;
}

.brand {
  position: relative;
  display: inline-flex;
  align-items: center;
  width: 160px;
  height: 42px;
  overflow: hidden;
}

.brand img {
  position: static;
  width: 160px;
  max-width: none;
  height: auto;
  object-fit: contain;
}

.main-menu {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 31px;
  min-width: 0;
}

.nav-glider {
  position: absolute;
  bottom: 3px;
  left: 0;
  width: 0;
  height: 1px;
  border-radius: 999px;
  background: var(--accent);
  box-shadow: 0 0 14px rgba(237, 69, 214, 0.64);
  opacity: 0;
  pointer-events: none;
}

.motion-enhanced .main-menu a::after {
  opacity: 0 !important;
}

.main-menu a {
  position: relative;
  padding: 10px 0;
  color: rgba(255, 255, 255, 0.84);
  font-size: 15px;
  font-weight: 400;
  line-height: 1.2;
  transition: color 180ms ease;
}

.main-menu a::after {
  position: absolute;
  right: 0;
  bottom: 3px;
  left: 0;
  height: 1px;
  background: var(--accent);
  content: "";
  opacity: 0;
  transform: scaleX(0.5);
  transition: opacity 180ms ease, transform 180ms ease;
}

.main-menu a:hover,
.main-menu a:focus-visible {
  color: #fff;
}

.main-menu a:hover::after,
.main-menu a:focus-visible::after {
  opacity: 1;
  transform: scaleX(1);
}

.menu-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border: 1px solid var(--line);
  border-radius: 50%;
  background: rgba(14, 14, 17, 0.94);
  color: #fff;
  cursor: pointer;
}

.hero {
  position: relative;
  z-index: 2;
  min-height: 980px;
  padding-top: 74px;
}

.hero::before {
  position: absolute;
  z-index: -1;
  inset: -91px 0 -80px;
  background: rgba(5, 5, 6, 0.48);
  content: "";
  pointer-events: none;
}

.hero-intro {
  position: relative;
  z-index: 6;
  display: flex;
  flex-direction: column;
  align-items: center;
  width: min(calc(100% - 48px), 1240px);
  margin: 0 auto;
  text-align: center;
}

.hero-intro h1 {
  max-width: 1180px;
  margin: 0;
  font-size: clamp(52px, 5.15vw, 74px);
  font-weight: 700;
  letter-spacing: -0.04em;
  line-height: 1.08;
}

.hero-lead {
  max-width: 800px;
  margin: 31px auto 34px;
  color: rgba(255, 255, 255, 0.92);
  font-size: 23px;
  font-weight: 500;
  line-height: 1.6;
}

.hero-socials {
  display: flex;
  gap: 10px;
  justify-content: center;
  width: max-content;
  margin: 14px auto 0;
}

.hero-socials a {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 50%;
  background: #0d0d10;
  color: rgba(255, 255, 255, 0.82);
  transition: color 180ms ease, border-color 180ms ease, background-color 180ms ease, box-shadow 180ms ease, text-shadow 180ms ease;
}

.hero-socials a:hover,
.hero-socials a:focus-visible {
  outline: none;
}

.hero-socials a:focus-visible {
  outline: 2px solid currentColor;
  outline-offset: 3px;
}

.hero-socials .social-discord:hover,
.hero-socials .social-discord:focus-visible {
  border-color: rgba(88, 101, 242, 0.86);
  background: rgba(88, 101, 242, 0.14);
  color: #5865f2;
  box-shadow: 0 0 26px rgba(88, 101, 242, 0.32);
}

.hero-socials .social-youtube:hover,
.hero-socials .social-youtube:focus-visible {
  border-color: rgba(255, 0, 0, 0.84);
  background: rgba(255, 0, 0, 0.12);
  color: #ff0000;
  box-shadow: 0 0 26px rgba(255, 0, 0, 0.28);
}

.hero-socials .social-tiktok:hover,
.hero-socials .social-tiktok:focus-visible {
  border-color: rgba(37, 244, 238, 0.78);
  background: rgba(255, 255, 255, 0.045);
  color: #fff;
  box-shadow: -7px 0 22px rgba(37, 244, 238, 0.22), 7px 0 22px rgba(254, 44, 85, 0.2);
  text-shadow: -1.5px 0 #25f4ee, 1.5px 0 #fe2c55;
}

.hero-showcase {
  position: relative;
  width: min(calc(100% - 96px), 1152px);
  height: 550px;
  margin: 12px auto 0;
}

.hero-screen {
  position: absolute;
  top: 0;
  left: 50%;
  width: 100%;
  height: 550px;
  overflow: visible;
  pointer-events: none;
  transform: translateX(-50%);
}

.hero-screen::after {
  content: none;
}

.hero-art-wrap {
  position: absolute;
  z-index: 2;
  inset: 22px 0 -56px -18%;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  overflow: visible;
}

.hero-art {
  position: relative;
  width: auto;
  max-width: none;
  height: 108%;
  object-fit: contain;
  object-position: center bottom;
  filter: saturate(0.97) contrast(1.03) drop-shadow(0 30px 42px rgba(0, 0, 0, 0.62)) drop-shadow(0 0 28px rgba(237, 69, 214, 0.08));
}

.tool-dock {
  position: absolute;
  z-index: 5;
  top: 260px;
  left: -50px;
  display: flex;
  gap: 14px;
  align-items: center;
  padding: 22px 24px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 24px;
  background: rgba(0, 0, 0, 0.5);
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.38);
  -webkit-backdrop-filter: blur(28px);
  backdrop-filter: blur(28px);
}

.tool-dock a,
.tool-dock span {
  display: flex;
  flex-direction: column;
  gap: 7px;
  align-items: center;
  justify-content: center;
  min-width: 64px;
  color: rgba(255, 255, 255, 0.76);
  transition: color 180ms ease, transform 180ms ease;
}

.tool-dock a:hover,
.tool-dock a:focus-visible {
  color: var(--accent);
  transform: translateY(-2px);
}

.tool-dock i {
  font-size: 23px;
}

.tool-dock small {
  font-size: 10px;
  font-weight: 700;
}

.server-pill {
  position: absolute;
  z-index: 5;
  top: 70px;
  right: 30px;
  display: flex;
  gap: 18px;
  align-items: center;
  min-height: 72px;
  padding: 0 24px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 24px;
  background: rgba(0, 0, 0, 0.5);
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.34);
  font-size: 13px;
  font-weight: 600;
  -webkit-backdrop-filter: blur(28px);
  backdrop-filter: blur(28px);
  transition: border-color 220ms ease, box-shadow 220ms ease, background-color 220ms ease;
}

.server-pill[data-state="online"] {
  border-color: rgba(237, 69, 214, 0.22);
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.34), 0 0 34px rgba(237, 69, 214, 0.08);
}

.server-pill[data-state="offline"] {
  border-color: rgba(255, 89, 109, 0.22);
}

.server-pill[data-state="stale"],
.server-pill[data-state="unavailable"] {
  border-color: rgba(255, 255, 255, 0.08);
  background: rgba(0, 0, 0, 0.68);
}

.status-copy,
.player-count {
  display: inline-flex;
  gap: 8px;
  align-items: center;
  white-space: nowrap;
}

.player-count {
  color: rgba(255, 255, 255, 0.68);
}

.player-count[hidden],
.status-retry[hidden] {
  display: none;
}

.status-retry {
  display: inline-grid;
  width: 34px;
  height: 34px;
  margin: 0 -7px 0 -4px;
  padding: 0;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.035);
  color: rgba(255, 255, 255, 0.72);
  cursor: pointer;
  transition: border-color 180ms ease, color 180ms ease, background-color 180ms ease, transform 180ms ease;
}

.status-retry:hover,
.status-retry:focus-visible {
  border-color: rgba(237, 69, 214, 0.4);
  background: rgba(237, 69, 214, 0.1);
  color: var(--accent);
  transform: rotate(24deg);
}

.status-retry:focus-visible {
  outline: 2px solid rgba(237, 69, 214, 0.65);
  outline-offset: 3px;
}

.status-skeleton {
  display: inline-block;
  width: 34px;
  height: 8px;
  overflow: hidden;
  border-radius: 999px;
  background: linear-gradient(90deg, rgba(255, 255, 255, 0.08), rgba(255, 255, 255, 0.24), rgba(255, 255, 255, 0.08));
  background-size: 200% 100%;
  animation: statusSkeleton 1.25s ease-in-out infinite;
}

.status-dot {
  display: inline-block;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #929292;
  box-shadow: 0 0 0 4px rgba(146, 146, 146, 0.12);
}

.status-dot.status-online {
  background: var(--accent);
  box-shadow: 0 0 0 4px rgba(237, 69, 214, 0.12), 0 0 18px rgba(237, 69, 214, 0.7);
}

.status-dot.status-offline {
  background: #ff596d;
  box-shadow: 0 0 0 4px rgba(255, 89, 109, 0.12);
}

.status-dot.status-loading {
  animation: statusDotLoading 1.35s ease-in-out infinite;
}

.status-dot.status-stale,
.status-dot.status-unavailable {
  background: #8a8a91;
  box-shadow: 0 0 0 4px rgba(138, 138, 145, 0.1);
}

@keyframes statusSkeleton {
  from { background-position: 180% 0; }
  to { background-position: -80% 0; }
}

@keyframes statusDotLoading {
  0%, 100% { opacity: 0.45; transform: scale(0.86); }
  50% { opacity: 1; transform: scale(1); }
}

.story-section {
  min-height: 1061px;
  padding: 120px 24px 90px;
}

.story-inner {
  display: grid;
  grid-template-columns: 420px minmax(0, 1fr);
  gap: 64px;
  align-items: center;
  width: min(100%, 1148px);
  min-height: 760px;
  margin: 0 auto;
}

.section-copy h2,
.section-heading-split h2,
.gallery-heading h2,
.features-section > h2,
.cta-copy h2 {
  margin: 0;
  font-size: clamp(42px, 4.25vw, 62px);
  font-weight: 700;
  letter-spacing: -0.045em;
  line-height: 1.05;
}

.section-copy > p:last-child,
.section-heading-split p,
.gallery-heading p {
  color: var(--muted);
  font-size: 19px;
  line-height: 1.65;
}

.story-copy {
  position: relative;
  z-index: 4;
}

.story-copy p:last-child {
  max-width: 390px;
  margin: 38px 0 0;
}

.story-visual {
  position: relative;
  justify-self: end;
  width: min(100%, 650px);
  height: auto;
  aspect-ratio: 1361 / 1156;
}

.story-character {
  position: absolute;
  z-index: 2;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center bottom;
  pointer-events: none;
  filter: drop-shadow(0 28px 46px rgba(0, 0, 0, 0.58)) drop-shadow(0 0 20px rgba(237, 69, 214, 0.1));
}

.creative-note small {
  margin-bottom: 7px;
  color: var(--accent);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.creative-note strong {
  font-size: 19px;
  line-height: 1.35;
}

.creative-section {
  min-height: 1085px;
  padding: 120px 24px 100px;
}

.section-heading-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 50px;
  width: min(100%, var(--content));
  margin: 0 auto;
}

.section-heading-split h2 {
  max-width: 525px;
}

.section-heading-split p {
  max-width: 525px;
  margin: 0;
  padding-top: 6px;
}

.creative-stage {
  position: relative;
  width: min(100%, 780px);
  height: 571px;
  margin: 100px auto 0;
}

.creative-scene {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 32px;
  object-fit: cover;
  opacity: 0.74;
}

.creative-stage::after {
  position: absolute;
  inset: 0;
  border-radius: 32px;
  background: rgba(9, 9, 9, 0.06);
  content: "";
}

.creative-people {
  position: absolute;
  z-index: 2;
  bottom: -2px;
  left: 50%;
  width: 690px;
  height: 610px;
  object-fit: contain;
  object-position: center bottom;
  transform: translateX(-50%);
}

.creative-tools {
  position: absolute;
  z-index: 4;
  bottom: 56px;
  left: -129px;
  display: flex;
  gap: 12px;
  align-items: center;
  width: 372px;
  min-height: 100px;
  padding: 24px;
  border-radius: 24px;
}

.creative-tools span {
  display: flex;
  flex: 1;
  flex-direction: column;
  gap: 9px;
  align-items: center;
  color: rgba(255, 255, 255, 0.72);
  font-size: 9px;
  font-weight: 700;
}

.creative-tools i {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.08);
  color: #fff;
  font-size: 15px;
}

.creative-note {
  position: absolute;
  z-index: 4;
  top: 66px;
  right: -123px;
  display: flex;
  flex-direction: column;
  width: 248px;
  min-height: 126px;
  padding: 26px;
  border-radius: 24px;
}

.phone-section {
  min-height: 1124px;
  padding: 200px 24px 100px;
}

.phone-inner {
  display: grid;
  grid-template-columns: 418px minmax(0, 1fr);
  gap: 100px;
  align-items: center;
  width: min(100%, 1140px);
  margin: 0 auto;
}

.phone-visual {
  position: relative;
  height: 824px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 44px;
  background: #0b0b0e;
  box-shadow: 0 50px 100px rgba(0, 0, 0, 0.38);
}

.phone-night {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  opacity: 0.48;
}

.phone-visual::after {
  position: absolute;
  inset: 0;
  background: rgba(8, 8, 8, 0.28);
  content: "";
}

.phone-product {
  position: absolute;
  z-index: 2;
  top: 112px;
  left: 50%;
  width: 440px;
  max-width: none;
  transform: translateX(-50%);
}

.phone-message {
  position: absolute;
  z-index: 4;
  right: 25px;
  bottom: 38px;
  left: 25px;
  display: flex;
  gap: 15px;
  align-items: center;
  min-height: 82px;
  padding: 18px 20px;
  border-radius: 22px;
}

.phone-message > i {
  display: grid;
  flex: 0 0 auto;
  place-items: center;
  width: 44px;
  height: 44px;
  border-radius: 14px;
  background: var(--accent);
  color: #111;
}

.phone-message span {
  display: flex;
  flex-direction: column;
  gap: 5px;
}

.phone-message small {
  color: var(--muted);
  font-size: 11px;
}

.phone-message strong {
  font-size: 14px;
}

.phone-copy h2 {
  max-width: 620px;
}

.phone-copy > p:last-child {
  max-width: 590px;
  margin: 42px 0 0;
}

.cinematic-section {
  min-height: 882px;
  padding: 155px 24px 7px;
}

.cinematic-frame {
  width: min(100%, 1202px);
  height: 720px;
  margin: 0 auto;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 30px;
  background: #0b0b0e;
  box-shadow: 0 34px 90px rgba(0, 0, 0, 0.34);
}

.cinematic-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.gallery-section {
  min-height: 1145px;
  padding: 150px 0 95px;
}

.gallery-heading {
  width: min(calc(100% - 48px), var(--content));
  margin: 0 auto;
}

.gallery-heading h2 {
  max-width: 660px;
}

.gallery-heading p {
  max-width: 760px;
  margin: 41px 0 0;
}

.city-mosaic {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  grid-template-rows: repeat(2, minmax(0, 1fr));
  gap: 18px;
  width: min(calc(100% - 48px), 1100px);
  height: 516px;
  margin: 70px auto 0;
}

.mosaic-item {
  position: relative;
  min-width: 0;
  min-height: 0;
  margin: 0;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 24px;
  background: #0d0d10;
  box-shadow: 0 26px 70px rgba(0, 0, 0, 0.28);
  transition: border-color 260ms ease, box-shadow 260ms ease;
}

.mosaic-main {
  grid-column: 1 / 9;
  grid-row: 1 / 3;
}

.mosaic-top,
.mosaic-bottom {
  grid-column: 9 / 13;
}

.mosaic-top {
  grid-row: 1;
}

.mosaic-bottom {
  grid-row: 2;
}

.mosaic-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 500ms cubic-bezier(0.22, 1, 0.36, 1);
}

.mosaic-main img {
  object-position: 62% 54%;
}

.mosaic-top img {
  object-position: 52% 54%;
}

.mosaic-bottom img {
  object-position: 50% 42%;
}

.features-section {
  min-height: 2189px;
  padding: 130px 24px 120px;
}

.features-section > h2 {
  width: min(100%, var(--content));
  margin: 0 auto;
  text-align: center;
}

.feature-columns {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
  width: min(100%, var(--content));
  margin: 86px auto 0;
}

.feature-column {
  display: flex;
  flex-direction: column;
  gap: 32px;
}

.feature-column-offset {
  padding-top: 87px;
}

.feature-card {
  position: relative;
  min-height: 480px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 14px;
  background: var(--surface);
  box-shadow: 0 25px 65px rgba(0, 0, 0, 0.22);
  transition: border-color 260ms ease, box-shadow 260ms ease;
}

.feature-card-tall {
  min-height: 600px;
}

.feature-card-medium {
  min-height: 520px;
}

.feature-card-compact {
  min-height: 375px;
}

.feature-copy {
  position: relative;
  z-index: 2;
  padding: 46px 48px 31px;
}

.feature-copy h3 {
  margin: 0;
  font-size: 28px;
  font-weight: 700;
  letter-spacing: -0.025em;
  line-height: 1.2;
}

.feature-copy p {
  max-width: 440px;
  margin: 17px 0 0;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.6;
}

.feature-card > img {
  width: calc(100% - 96px);
  height: 285px;
  margin: 0 48px 32px;
  border-radius: 12px;
  object-fit: cover;
}

.feature-card-tall > img {
  height: 390px;
}

.feature-card-medium > img {
  height: 305px;
}

.feature-card-compact > img {
  height: 160px;
}

.feature-card > .feature-contain,
.feature-card > .feature-logo {
  object-fit: contain;
}

.feature-card > .feature-logo {
  padding: 38px;
  background: #070708;
}

.cta-section {
  min-height: 648px;
  overflow: hidden;
  background: var(--surface-purple);
}

.cta-inner {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 430px minmax(0, 1fr);
  gap: 72px;
  align-items: center;
  width: min(calc(100% - 48px), var(--content));
  min-height: 648px;
  margin: 0 auto;
}

.cta-copy h2 {
  font-size: clamp(42px, 3.9vw, 58px);
}

.cta-actions {
  display: flex;
  gap: 18px;
  margin-top: 48px;
}

.store-button {
  display: inline-flex;
  gap: 13px;
  align-items: center;
  min-width: 198px;
  min-height: 65px;
  padding: 13px 17px;
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 14px;
  background: #fff;
  color: #111;
  box-shadow: 0 18px 50px rgba(0, 0, 0, 0.24);
}

.store-button-purple {
  background: #bc36d4;
  color: #fff;
}

.store-button > i {
  display: grid;
  flex: 0 0 auto;
  place-items: center;
  width: 33px;
  height: 33px;
  border-radius: 10px;
  background: rgba(0, 0, 0, 0.08);
  font-size: 18px;
}

.store-button span {
  display: flex;
  flex-direction: column;
  gap: 3px;
}

.store-button small {
  font-size: 9px;
  font-weight: 600;
}

.store-button strong {
  font-size: 14px;
}

.cta-visual {
  position: relative;
  height: 548px;
}

.cta-car {
  position: absolute;
  right: -55px;
  bottom: 45px;
  width: 650px;
  max-width: none;
}

.cta-logo {
  position: absolute;
  top: 44px;
  right: 40px;
  width: 160px;
  height: 160px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 30px;
  box-shadow: 0 28px 60px rgba(0, 0, 0, 0.36);
}

.site-footer {
  position: relative;
  z-index: 2;
  min-height: 556px;
  padding: 98px 24px 30px;
  border-top: 1px solid var(--line);
  background: #09070d;
}

.footer-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: min(100%, var(--content));
  min-height: 46px;
  margin: 0 auto;
}

.footer-top > div:first-child {
  display: flex;
  flex-direction: column;
  gap: 5px;
}

.footer-top strong {
  font-size: 16px;
}

.footer-top span {
  color: var(--muted);
  font-size: 14px;
}

.copy-server {
  display: flex;
  width: 444px;
  min-height: 43px;
}

.copy-server input {
  min-width: 0;
  flex: 1;
  padding: 0 20px;
  border: 1px solid rgba(206, 201, 211, 0.15);
  border-radius: 999px 0 0 999px;
  background: rgba(206, 201, 211, 0.1);
  color: var(--muted-strong);
  outline: none;
}

.copy-server button {
  width: 124px;
  border: 0;
  border-radius: 0 999px 999px 0;
  background: #bc36d4;
  color: #fff;
  cursor: pointer;
  font-size: 14px;
  transition: background-color 180ms ease;
}

.copy-server button:hover {
  background: #d44de9;
}

.footer-links-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 72px;
  width: min(100%, var(--content));
  margin: 60px auto 0;
}

.footer-links-grid > div {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer-links-grid strong {
  margin-bottom: 4px;
  font-size: 16px;
}

.footer-links-grid a {
  display: inline-flex;
  align-items: center;
  min-height: 28px;
  width: fit-content;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.35;
  transition: color 180ms ease;
}

.footer-links-grid a:hover {
  color: #fff;
}

.footer-bottom {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  width: min(100%, var(--content));
  min-height: 60px;
  margin: 34px auto 0;
  padding-top: 30px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 11px;
}

.motion-enhanced .motion-button,
.motion-enhanced .btn-portal,
.motion-enhanced .copy-server button {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  transform-origin: center;
}

.motion-enhanced .motion-button::before,
.motion-enhanced .btn-portal::before,
.motion-enhanced .copy-server button::before {
  position: absolute;
  z-index: 0;
  top: -80%;
  bottom: -80%;
  left: -45%;
  width: 22%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.38), transparent);
  content: "";
  opacity: 0;
  pointer-events: none;
  transform: translateX(-220%) rotate(15deg);
  transition: opacity 180ms ease, transform 680ms cubic-bezier(0.22, 1, 0.36, 1);
}

.motion-enhanced .motion-button:hover::before,
.motion-enhanced .motion-button:focus-visible::before,
.motion-enhanced .btn-portal:hover::before,
.motion-enhanced .btn-portal:focus-visible::before,
.motion-enhanced .copy-server button:hover::before,
.motion-enhanced .copy-server button:focus-visible::before {
  opacity: 0.48;
  transform: translateX(720%) rotate(15deg);
}

.motion-enhanced .motion-button:active,
.motion-enhanced .btn-portal:active,
.motion-enhanced .copy-server button:active {
  scale: 0.985;
}

.copy-server button.is-copied {
  background: #ed45d6;
  box-shadow: 0 0 0 1px rgba(237, 69, 214, 0.22), 0 0 28px rgba(237, 69, 214, 0.24);
}

.motion-paused *,
.motion-paused *::before,
.motion-paused *::after {
  animation-play-state: paused !important;
}

.motion-ready [data-reveal] {
  opacity: 0;
  transform: translate3d(0, 32px, 0);
}

.motion-ready .mosaic-item {
  opacity: 0;
  transform: translate3d(0, 34px, 0);
}

@media (max-width: 1180px) {
  .header-inner {
    grid-template-columns: 160px minmax(0, 1fr) auto;
  }

  .main-menu {
    gap: 21px;
  }

  .tool-dock {
    left: 0;
  }

  .server-pill {
    right: 0;
  }

  .story-inner {
    grid-template-columns: minmax(330px, 0.72fr) minmax(0, 1.28fr);
    gap: 36px;
  }

  .story-visual {
    width: 100%;
  }

  .creative-tools {
    left: -70px;
  }

  .creative-note {
    right: -70px;
  }

  .phone-inner {
    gap: 68px;
  }

  .cta-actions {
    flex-direction: column;
    align-items: flex-start;
  }
}

@media (max-width: 900px) {
  html {
    scroll-padding-top: 92px;
  }

  .site-header {
    height: 76px;
  }

  .header-inner {
    grid-template-columns: 1fr auto;
    width: min(calc(100% - 32px), var(--header-content));
  }

  .brand {
    width: 144px;
  }

  .brand img {
    width: 144px;
    height: auto;
  }

  .menu-toggle {
    display: grid;
    place-items: center;
  }

  .header-cta {
    display: none;
  }

  .main-menu {
    position: fixed;
    z-index: 60;
    top: 76px;
    right: 16px;
    left: 16px;
    display: flex;
    flex-direction: column;
    gap: 5px;
    align-items: stretch;
    padding: 18px;
    border: 1px solid var(--line);
    border-radius: 22px;
    background: rgba(8, 8, 10, 0.98);
    box-shadow: 0 34px 80px rgba(0, 0, 0, 0.55);
    opacity: 0;
    pointer-events: none;
    visibility: hidden;
    transform: translateY(-12px);
    transition: opacity 180ms ease, transform 180ms ease, visibility 180ms ease;
    -webkit-backdrop-filter: blur(26px);
    backdrop-filter: blur(26px);
  }

  .main-menu.is-open {
    opacity: 1;
    pointer-events: auto;
    visibility: visible;
    transform: translateY(0);
  }

  .main-menu a {
    padding: 13px 15px;
    border-radius: 13px;
  }

  .main-menu a:hover {
    background: rgba(255, 255, 255, 0.06);
  }

  .main-menu a::after {
    display: none;
  }

  .nav-glider {
    display: none;
  }

  .hero {
    min-height: auto;
    padding: 68px 0 130px;
  }

  .hero-intro h1 {
    font-size: clamp(44px, 9vw, 64px);
  }

  .hero-lead {
    max-width: 680px;
    font-size: 19px;
  }

  .hero-showcase {
    width: calc(100% - 36px);
    height: 470px;
    margin-top: 16px;
  }

  .hero-screen {
    width: 100%;
    height: 470px;
  }

  .tool-dock {
    top: auto;
    right: 18px;
    bottom: -72px;
    left: 18px;
    justify-content: space-between;
    padding: 18px;
  }

  .server-pill {
    top: 20px;
    right: 20px;
  }

  .story-section,
  .creative-section,
  .phone-section,
  .cinematic-section,
  .gallery-section,
  .features-section,
  .cta-section {
    min-height: auto;
  }

  .story-section,
  .creative-section,
  .phone-section,
  .features-section {
    padding: 110px 24px;
  }

  .story-inner,
  .section-heading-split,
  .phone-inner,
  .cta-inner {
    grid-template-columns: 1fr;
  }

  .story-inner {
    gap: 56px;
    min-height: 0;
  }

  .story-copy p:last-child {
    max-width: 620px;
  }

  .story-visual {
    width: 100%;
    max-width: 690px;
    margin: 0 auto;
  }

  .creative-stage {
    margin-top: 100px;
  }

  .creative-tools {
    bottom: 26px;
    left: 18px;
  }

  .creative-note {
    top: 22px;
    right: 18px;
  }

  .phone-inner {
    gap: 80px;
  }

  .phone-visual {
    width: min(100%, 418px);
    margin: 0 auto;
  }

  .phone-copy {
    width: min(100%, 680px);
    margin: 0 auto;
  }

  .cinematic-section {
    padding: 90px 24px;
  }

  .cinematic-frame {
    height: min(62vw, 620px);
  }

  .gallery-section {
    padding: 110px 0;
  }

  .city-mosaic {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    grid-template-rows: auto auto;
    width: calc(100% - 36px);
    height: auto;
    margin-top: 68px;
  }

  .mosaic-main {
    grid-column: 1 / -1;
    grid-row: 1;
    aspect-ratio: 16 / 10;
  }

  .mosaic-top,
  .mosaic-bottom {
    grid-column: auto;
    grid-row: 2;
    aspect-ratio: 4 / 3;
  }

  .feature-columns {
    grid-template-columns: 1fr;
    max-width: 640px;
  }

  .feature-column-offset {
    padding-top: 0;
  }

  .cta-inner {
    gap: 30px;
    padding: 88px 0 30px;
  }

  .cta-copy {
    max-width: 680px;
  }

  .cta-actions {
    flex-direction: row;
  }

  .cta-visual {
    height: 430px;
  }

  .cta-car {
    right: 50%;
    width: min(720px, 108vw);
    transform: translateX(50%);
  }

  .cta-logo {
    top: 10px;
    right: 8%;
    width: 130px;
    height: 130px;
  }

  .site-footer {
    min-height: auto;
  }

  .footer-top {
    align-items: flex-start;
    flex-direction: column;
    gap: 28px;
  }

  .copy-server {
    width: 100%;
  }
}

@media (max-width: 620px) {
  .button-large {
    min-height: 58px;
    padding: 18px 27px;
    font-size: 18px;
  }

  .hero {
    padding-top: 50px;
  }

  .city-mosaic {
    grid-template-columns: 1fr;
  }

  .mosaic-main,
  .mosaic-top,
  .mosaic-bottom {
    grid-column: 1;
    grid-row: auto;
  }

  .mosaic-top,
  .mosaic-bottom {
    aspect-ratio: 4 / 3;
  }

  .hero-intro {
    width: calc(100% - 34px);
  }

  .hero-intro h1 {
    font-size: clamp(42px, 12.5vw, 58px);
  }

  .hero-lead {
    margin-top: 24px;
    font-size: 17px;
    line-height: 1.55;
  }

  .hero-showcase {
    height: 350px;
  }

  .hero-screen {
    height: 350px;
  }

  .hero-art {
    width: 126%;
    height: auto;
  }

  .server-pill {
    top: 13px;
    right: 13px;
    gap: 11px;
    min-height: 54px;
    padding: 0 15px;
    border-radius: 18px;
    font-size: 10px;
  }

  .tool-dock {
    right: 8px;
    bottom: -69px;
    left: 8px;
    gap: 4px;
    padding: 15px 8px;
    border-radius: 20px;
  }

  .tool-dock a,
  .tool-dock span {
    min-width: 0;
  }

  .tool-dock i {
    font-size: 17px;
  }

  .tool-dock small {
    font-size: 8px;
  }

  .story-section,
  .creative-section,
  .phone-section,
  .features-section {
    padding: 90px 18px;
  }

  .section-copy h2,
  .section-heading-split h2,
  .gallery-heading h2,
  .features-section > h2,
  .cta-copy h2 {
    font-size: clamp(38px, 11vw, 52px);
  }

  .section-copy > p:last-child,
  .section-heading-split p,
  .gallery-heading p {
    font-size: 16px;
  }

  .story-visual {
    width: 100%;
    max-width: 680px;
    margin-inline: auto;
  }

  .section-heading-split {
    gap: 34px;
  }

  .creative-stage {
    height: 500px;
    margin-top: 72px;
  }

  .creative-people {
    width: 570px;
    height: 520px;
  }

  .creative-tools {
    right: 10px;
    bottom: 12px;
    left: 10px;
    width: auto;
    min-height: 82px;
    padding: 15px 12px;
  }

  .creative-tools i {
    width: 34px;
    height: 34px;
  }

  .creative-tools span {
    font-size: 7px;
  }

  .creative-note {
    top: 16px;
    right: 12px;
    width: 190px;
    min-height: 104px;
    padding: 20px;
  }

  .phone-visual {
    height: 690px;
  }

  .phone-product {
    top: 110px;
    width: 390px;
  }

  .cinematic-section {
    padding: 70px 18px;
  }

  .cinematic-frame {
    height: 64vw;
    border-radius: 20px;
  }

  .gallery-section {
    padding: 90px 0;
  }

  .gallery-heading {
    width: calc(100% - 36px);
  }

  .features-section > h2 {
    text-align: left;
  }

  .feature-columns {
    margin-top: 62px;
  }

  .feature-card,
  .feature-card-tall,
  .feature-card-medium,
  .feature-card-compact {
    min-height: auto;
  }

  .feature-copy {
    padding: 32px 28px 24px;
  }

  .feature-copy h3 {
    font-size: 24px;
  }

  .feature-card > img,
  .feature-card-tall > img,
  .feature-card-medium > img,
  .feature-card-compact > img {
    width: calc(100% - 56px);
    height: 270px;
    margin: 0 28px 28px;
  }

  .feature-card > .feature-logo {
    height: 150px;
  }

  .cta-inner {
    width: calc(100% - 36px);
    padding-top: 76px;
  }

  .cta-actions {
    flex-direction: column;
  }

  .store-button {
    width: 100%;
  }

  .cta-visual {
    height: 350px;
  }

  .cta-car {
    bottom: 25px;
  }

  .cta-logo {
    width: 98px;
    height: 98px;
    border-radius: 21px;
  }

  .site-footer {
    padding: 74px 18px 28px;
  }

  .copy-server {
    flex-direction: column;
    gap: 10px;
  }

  .copy-server input,
  .copy-server button {
    width: 100%;
    min-height: 46px;
    border-radius: 999px;
  }

  .footer-links-grid {
    grid-template-columns: 1fr 1fr;
    gap: 46px 30px;
  }

  .footer-bottom {
    flex-direction: column;
    gap: 9px;
    align-items: flex-start;
  }
}

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

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