:root {
  --page-bg: #020915;
  --page-bg-soft: #0a1730;
  --card-bg: rgba(255, 255, 255, 0.1);
  --card-border: rgba(255, 255, 255, 0.18);
  --text-main: #ffffff;
  --text-muted: rgba(255, 255, 255, 0.72);
  --accent: #4d89ff;
  --accent-soft: #8eb2ff;
  --shadow-strong: 0 32px 80px rgba(0, 0, 0, 0.45);
  --shell-width: min(1180px, calc(100vw - 32px));
}

* {
  box-sizing: border-box;
}

html {
  background:
    radial-gradient(circle at 50% -8%, rgba(85, 132, 255, 0.28), transparent 30%),
    radial-gradient(circle at 50% 22%, rgba(28, 58, 120, 0.42), transparent 42%),
    linear-gradient(180deg, #152448 0%, #0d1731 16%, #071120 38%, #040b16 66%, #02060e 100%);
}

body {
  margin: 0;
  min-width: 320px;
  color: var(--text-main);
  font-family: "Avenir Next", "Segoe UI", sans-serif;
  background: transparent;
}

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

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

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

.page-shell {
  position: relative;
  min-height: 100vh;
  overflow: clip;
  background:
    radial-gradient(circle at 50% 16%, rgba(72, 122, 245, 0.16), transparent 20%),
    radial-gradient(circle at 50% 32%, rgba(19, 36, 73, 0.36), transparent 34%);
}

.page-shell::before,
.page-shell::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.page-shell::before {
  background:
    radial-gradient(circle at 50% 8%, rgba(112, 154, 255, 0.34), transparent 22%),
    radial-gradient(ellipse at 50% 18%, rgba(45, 76, 152, 0.36), transparent 36%),
    linear-gradient(180deg, rgba(48, 79, 155, 0.18), rgba(10, 18, 36, 0) 58%);
  background-repeat: no-repeat;
  background-size: 100% 520px;
  background-position: top center;
  z-index: 0;
}

.page-shell::after {
  display: none;
  z-index: 0;
}

.hero {
  position: relative;
  width: var(--shell-width);
  margin: 0 auto;
  padding: clamp(24px, 3.8vw, 44px) 0 0;
  z-index: 1;
}

.brand-block,
.store-section,
.visual-stage,
.site-footer {
  position: relative;
  z-index: 1;
}

.brand-block {
  position: relative;
  display: grid;
  justify-items: center;
  gap: 16px;
  padding-top: clamp(52px, 8.4vw, 96px);
}

.brand-lockup {
  position: relative;
  z-index: 1;
  display: grid;
  justify-items: center;
  justify-content: center;
  gap: 14px;
  width: min(360px, 42vw);
}

.brand-orbit {
  position: absolute;
  top: -54px;
  left: 50%;
  width: min(1180px, 104vw);
  transform: translateX(-50%);
  opacity: 0.64;
  pointer-events: none;
}

.brand-icon {
  width: clamp(78px, 7.2vw, 108px);
  height: auto;
  object-fit: contain;
}

.brand-name {
  width: min(100%, 366px);
  height: auto;
  object-fit: contain;
}

.brand-tagline {
  position: relative;
  z-index: 1;
  margin: 0;
  font-size: clamp(1.08rem, 1.5vw, 1.45rem);
  letter-spacing: 0.015em;
  color: rgba(255, 255, 255, 0.76);
}

.store-section {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  align-items: start;
  justify-content: center;
  gap: 22px 24px;
  width: min(560px, calc(100vw - 32px));
  margin-left: auto;
  margin-right: auto;
  margin-top: 24px;
}

.store-card-group {
  display: grid;
  justify-items: center;
  gap: 12px;
  min-width: 0;
  width: min(100%, 258px);
}

.store-card {
  display: block;
  width: 100%;
  max-width: 100%;
  transition:
    transform 180ms ease,
    opacity 180ms ease;
}

.store-card:hover {
  transform: translateY(-2px);
}

.store-card-disabled {
  cursor: default;
  opacity: 0.82;
}

.store-card-disabled:hover {
  transform: none;
}

.store-button-image {
  width: 100%;
  height: auto;
}

.store-note {
  margin: 0;
  font-size: 1rem;
  color: rgba(255, 255, 255, 0.88);
}

.visual-stage {
  position: relative;
  margin-top: 42px;
  padding: 0;
}

.preview-frame {
  position: relative;
  width: min(980px, 90vw);
  margin: 0 auto;
  filter: drop-shadow(var(--shadow-strong));
}

.preview-shot {
  width: 100%;
}

.site-footer {
  display: grid;
  justify-items: center;
  gap: 14px;
  padding: 16px 16px 28px;
  color: var(--text-muted);
}

.site-footer p {
  margin: 0;
}

.site-footer nav {
  display: flex;
  align-items: center;
  gap: 14px;
}

.site-footer a {
  transition: color 180ms ease;
}

.site-footer a:hover {
  color: var(--text-main);
}

.footer-separator {
  width: 1px;
  height: 14px;
  background: rgba(255, 255, 255, 0.22);
}

.legal-page {
  width: min(880px, calc(100vw - 32px));
  margin: 0 auto;
  padding: 136px 0 96px;
}

.legal-page h1 {
  margin: 0 0 20px;
  font-size: clamp(2rem, 4vw, 3.4rem);
}

.legal-shell {
  min-height: 100vh;
}

.legal-header {
  position: absolute;
  top: 24px;
  left: max(20px, calc((100vw - min(880px, calc(100vw - 32px))) / 2));
  z-index: 2;
}

.legal-home {
  display: inline-flex;
  align-items: center;
  gap: 10px;
}

.legal-home-icon {
  width: 28px;
  height: 28px;
}

.legal-home-name {
  width: 106px;
  height: auto;
}

.legal-copy {
  display: grid;
  gap: 14px;
}

.legal-copy h2 {
  margin: 22px 0 2px;
  font-size: 1.15rem;
  font-weight: 700;
}

.legal-copy p {
  margin: 0;
  line-height: 1.72;
  color: rgba(255, 255, 255, 0.86);
}

@media (max-width: 900px) {
  .hero {
    padding-top: 22px;
  }

  .brand-lockup {
    width: min(320px, 72vw);
  }

  .brand-block {
    padding-top: 54px;
  }

  .brand-orbit {
    top: -34px;
    width: min(920px, 118vw);
    opacity: 0.54;
  }

  .legal-page {
    padding-top: 124px;
  }

  .store-section {
    grid-template-columns: 1fr;
    gap: 16px;
    width: min(300px, calc(100vw - 48px));
  }

  .store-card-group {
    width: min(100%, 258px);
  }

  .visual-stage {
    margin-top: 34px;
  }
}

@media (max-width: 560px) {
  .hero {
    width: min(100vw - 24px, 520px);
    padding-top: 18px;
  }

  .brand-lockup {
    gap: 14px;
    width: min(320px, 76vw);
  }

  .brand-block {
    padding-top: 42px;
    gap: 12px;
  }

  .brand-orbit {
    top: -14px;
    width: 132vw;
    opacity: 0.46;
  }

  .brand-icon {
    width: min(96px, 26vw);
  }

  .brand-name {
    width: 100%;
    max-width: 260px;
  }

  .brand-tagline {
    font-size: 1rem;
  }

  .store-section {
    margin-top: 20px;
    width: min(72vw, 300px);
  }

  .store-card-group {
    width: 100%;
  }

  .store-note,
  .site-footer,
  .legal-copy p {
    font-size: 0.95rem;
  }

  .site-footer nav {
    gap: 10px;
    flex-wrap: wrap;
    justify-content: center;
  }

  .visual-stage {
    margin-top: 24px;
  }

  .site-footer {
    padding-top: 12px;
    padding-bottom: 20px;
  }

  .legal-header {
    top: 20px;
    left: 16px;
  }

  .legal-page {
    padding-top: 108px;
    padding-bottom: 80px;
  }

  .legal-home-icon {
    width: 24px;
    height: 24px;
  }

  .legal-home-name {
    width: 96px;
  }
}
