:root {
  --bg: #07060e;
  --text: #ffffff;
  --muted: #c5c1d0;
  --soft: #a9a4b8;
  --pink: #e879f9;
  --line: rgba(255, 255, 255, 0.14);
  --header-h: 64px;
  --page-pad-top: 28px;
}

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

html,
body {
  margin: 0;
  min-height: 100%;
}

body {
  font-family: "Plus Jakarta Sans", sans-serif;
  color: var(--text);
  background: var(--bg);
  overflow-x: hidden;
}

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

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

button,
label {
  font-family: inherit;
}

.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;
}

.backdrop {
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background:
    radial-gradient(
      ellipse 70% 42% at 78% 18%,
      rgba(88, 28, 135, 0.28),
      transparent 70%
    ),
    #07060e;
}

.backdrop__posters {
  position: absolute;
  top: 0;
  right: 0;
  width: max(40vw, 40%);
  min-width: 40%;
  height: 100%;
  object-fit: cover;
  object-position: center 18%;
  opacity: 0.6;
  filter: saturate(1) brightness(0.88) contrast(1.04);
  -webkit-mask-image: linear-gradient(
    90deg,
    transparent 0%,
    rgba(0, 0, 0, 0.55) 8%,
    #000 18%,
    #000 100%
  );
  mask-image: linear-gradient(
    90deg,
    transparent 0%,
    rgba(0, 0, 0, 0.55) 8%,
    #000 18%,
    #000 100%
  );
}

.backdrop__shade {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    90deg,
    #07060e 0%,
    rgba(7, 6, 14, 0.94) 48%,
    rgba(7, 6, 14, 0.28) 60%,
    rgba(7, 6, 14, 0.08) 72%,
    transparent 100%
  );
}

.backdrop__glow {
  display: none;
}

/* Bottom purple glow + lower shade fade: home page on desktop only */
@media (min-width: 768px) {
  body.home-page .backdrop__glow {
    display: block;
    position: absolute;
    left: 50%;
    bottom: -140px;
    width: min(1100px, 92vw);
    height: 280px;
    transform: translateX(-50%);
    background: radial-gradient(
      ellipse at center,
      rgba(147, 51, 234, 0.55) 0%,
      rgba(126, 34, 206, 0.22) 42%,
      transparent 72%
    );
    filter: blur(8px);
  }

  body.home-page .backdrop__shade {
    background:
      linear-gradient(
        90deg,
        #07060e 0%,
        rgba(7, 6, 14, 0.94) 48%,
        rgba(7, 6, 14, 0.28) 60%,
        rgba(7, 6, 14, 0.08) 72%,
        transparent 100%
      ),
      linear-gradient(
        180deg,
        rgba(7, 6, 14, 0.08) 0%,
        rgba(7, 6, 14, 0.08) 62%,
        #07060e 100%
      );
  }
}

.page {
  position: relative;
  z-index: 1;
  min-height: auto;
  max-width: 1240px;
  margin: 0 auto;
  padding: 28px 48px 40px;
  display: flex;
  flex-direction: column;
}

.header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: var(--header-h);
  min-height: var(--header-h);
  flex: none;
  gap: 24px;
}

.logo {
  display: inline-flex;
  align-items: center;
  position: relative;
  z-index: 3;
}

.logo__img {
  width: auto;
  height: 56px;
  filter: drop-shadow(0 8px 16px rgba(126, 34, 206, 0.35));
}

.tagline {
  margin: 0;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.82);
}

.tagline span {
  margin: 0 0.35em;
  color: #c084fc;
}

.layout {
  flex: none;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  grid-template-areas: "copy visual";
  column-gap: 28px;
  row-gap: 0;
  align-items: center;
  min-height: calc(100svh - var(--header-h) - var(--page-pad-top));
  padding-top: 0;
}

.copy {
  grid-area: copy;
  align-self: center;
  max-width: 560px;
  padding-bottom: 8px;
  text-align: left;
}

.eyebrow {
  margin: 0 0 18px;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.78);
}

h1 {
  margin: 0;
  font-size: clamp(46px, 4.6vw, 68px);
  line-height: 0.98;
  font-weight: 800;
  letter-spacing: -0.045em;
}

.h1-light,
.h1-gradient {
  display: block;
}

.h1-gradient {
  margin-top: 2px;
  background: linear-gradient(90deg, #e378fa 0%, #d06af4 15%, #9248f8 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  align-self: flex-start;
}

.lead {
  margin: 22px 0 0;
  font-size: 20px;
  font-weight: 700;
  letter-spacing: -0.02em;
}

.body {
  margin: 10px 0 0;
  max-width: 460px;
  font-size: 16.5px;
  line-height: 1.55;
  color: var(--muted);
}

.stores {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-start;
  align-items: flex-end;
  gap: 32px;
  margin-top: 56px;
}

.store-block {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
}

.qr {
  width: 132px;
  height: 132px;
  padding: 8px;
  background: #fff;
  border-radius: 14px;
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.35);
}

.store {
  display: inline-block;
  line-height: 0;
  border-radius: 8px;
  transition: transform 0.2s ease;
}

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

.store img {
  width: 176px;
  height: 53px;
  object-fit: fill;
}

.visual {
  grid-area: visual;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  width: min(620px, 60vw);
}

.phones-frame {
  position: relative;
  display: block;
  width: 100%;
}

.phones-frame::before {
  content: "";
  position: absolute;
  left: 50%;
  top: 50%;
  width: 100%;
  height: 135%;
  transform: translate(-50%, -50%);
  pointer-events: none;
  z-index: 0;
  background: radial-gradient(
    ellipse at center,
    rgba(0, 0, 0, 0.95) 0%,
    rgba(0, 0, 0, 0.72) 32%,
    rgba(0, 0, 0, 0.65) 54%,
    rgba(0, 0, 0, 0) 75%
  );
}

.phones {
  position: relative;
  z-index: 1;
  width: 100%;
  height: auto;
}

.bottom {
  display: flex;
  align-items: stretch;
  width: 100%;
  max-width: 100%;
  margin: 48px 0 36px;
  padding: 28px 32px;
  background: rgba(4, 3, 10, 0.88);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 16px;
  box-sizing: border-box;
}

.script {
  flex: none;
  margin: 0 8px 0 0;
  font-family: "Yellowtail", cursive;
  font-size: 34px;
  font-weight: 400;
  line-height: 0.95;
  letter-spacing: 0.01em;
  color: #e879f9;
  transform: rotate(-8deg);
  transform-origin: right center;
  text-shadow: 0 8px 24px rgba(168, 85, 247, 0.35);
}

.script--mobile {
  display: none;
}

.features {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0;
  flex: 1;
  margin: 0;
  padding: 0;
}

.feature {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  text-align: center;
  gap: 20px;
  padding: 8px 20px;
  min-height: 0;
}

.feature + .feature {
  position: relative;
  padding-left: 20px;
}

.feature + .feature::before {
  content: "";
  position: absolute;
  left: 0;
  top: 50%;
  width: 1px;
  height: 72px;
  transform: translateY(-50%);
  background: rgba(255, 255, 255, 0.16);
}

.feature > div {
  display: flex;
  flex-direction: column;
  align-items: center;
  min-width: 0;
}

.feature__icon {
  width: 46px;
  height: 46px;
  flex: none;
  display: grid;
  place-items: center;
  border-radius: 50%;
  color: #fff;
  background: #9848e8;
  box-shadow:
    0 0 0 7px rgba(152, 72, 232, 0.16),
    0 0 18px 4px rgba(168, 85, 247, 0.55);
}

.feature__icon svg,
.feature__icon img {
  width: 22px;
  height: 22px;
}

.feature h2 {
  margin: 0 0 6px;
  font-size: 16px;
  font-weight: 700;
  letter-spacing: -0.02em;
  white-space: normal;
}

.feature p {
  margin: 0;
  max-width: 200px;
  font-size: 14px;
  line-height: 1.5;
  color: var(--soft);
}

@media (max-width: 1100px) {
  .page {
    --page-pad-top: 24px;
    padding: 24px 32px 32px;
  }

  .bottom {
    margin: 40px 0 28px;
    padding: 24px 20px;
  }

  h1 {
    font-size: 52px;
  }

  .visual {
    width: min(480px, 44vw);
  }

  .script {
    font-size: 30px;
  }

  .footer {
    padding: 36px 32px 44px;
  }
}

@media (max-width: 1024px) and (min-width: 768px) {
  .page {
    --page-pad-top: 18px;
    max-width: 980px;
    padding: 18px 28px 28px;
  }

  .layout {
    column-gap: 8px;
  }

  h1 {
    font-size: 46px;
  }

  .lead {
    font-size: 18px;
  }

  .body {
    font-size: 15px;
    max-width: 420px;
  }

  .visual {
    width: min(300px, 36vw);
  }

  .bottom {
    gap: 0;
    margin: 32px 0 24px;
    padding: 20px 16px;
  }

  .feature {
    align-items: center;
    gap: 10px;
    padding: 8px 12px;
  }

  .feature + .feature {
    padding-left: 12px;
  }

  .feature h2 {
    font-size: 13px;
    white-space: normal;
  }

  .feature p {
    font-size: 12px;
  }

  .feature__icon {
    width: 36px;
    height: 36px;
  }

  .feature__icon svg,
  .feature__icon img {
    width: 18px;
    height: 18px;
  }

  .script {
    font-size: 24px;
    margin-right: 0;
  }

  .backdrop__posters {
    width: max(40vw, 40%);
    min-width: 40%;
    opacity: 0.8;
  }
}

@media (max-width: 767px) {
  .page {
    --header-h: 56px;
    --page-pad-top: 14px;
    max-width: 480px;
    padding: 14px 18px 28px;
  }

  .tagline {
    display: none;
  }

  .logo__img {
    height: 40px;
  }

  .header {
    position: relative;
  }

  .layout {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    min-height: calc(100svh - var(--header-h) - var(--page-pad-top));
    padding-top: 8px;
    gap: 0;
  }

  .bottom {
    display: flex;
    margin: 28px 0 20px;
    padding: 22px 14px;
  }

  .copy {
    max-width: none;
    padding-bottom: 0;
  }

  .eyebrow {
    font-size: 12px;
    letter-spacing: 0.22em;
    margin-bottom: 8px;
  }

  h1 {
    font-size: 32px;
    letter-spacing: normal;
    text-align: center;
  }

  .lead {
    margin-top: 10px;
    font-size: 15px;
  }

  .body {
    margin-top: 6px;
    font-size: 14px;
    max-width: 34em;
    line-height: 1.45;
  }

  .stores {
    flex-direction: column;
    align-items: center;
    gap: 44px;
    margin-top: 32px;
    width: 100%;
  }

  .store-block {
    align-items: center;
    gap: 20px;
  }

  .qr {
    width: 120px;
    height: 120px;
    padding: 8px;
    border-radius: 16px;
  }

  .store img {
    width: 180px;
    height: 54px;
    max-width: 100%;
  }

  .visual {
    order: 2;
    position: relative;
    min-height: 0;
    margin: 56px auto 16px;
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 100%;
  }

  .phones-frame {
    display: block;
    width: 100%;
    height: 360px;
    margin: 0 auto;
    overflow: visible;
    position: relative;
  }

  .phones {
    position: absolute;
    width: min(128vw, 480px);
    max-width: none;
    height: auto;
    left: 50%;
    top: 50%;
    margin: 0;
    transform: translate(-50%, -50%);
  }

  .script--desktop {
    display: none;
  }

  .script--mobile {
    display: block;
    position: absolute;
    right: 0;
    bottom: -6px;
    margin: 0;
    font-size: 26px;
    line-height: 0.92;
    text-align: right;
    transform: rotate(-8deg);
    transform-origin: right bottom;
    z-index: 2;
  }

  .features {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    gap: 28px 0;
    margin: 0;
    padding: 0;
    width: 100%;
  }

  .feature h2 {
    white-space: normal;
    font-size: 13.5px;
  }

  .feature,
  .feature + .feature {
    padding: 8px 12px;
    min-height: 0;
  }

  .feature + .feature::before {
    display: none;
  }

  .feature:nth-child(even) {
    padding-left: 18px;
  }

  .feature:nth-child(even)::before {
    display: block;
    top: 50%;
    height: 72px;
    background: rgba(255, 255, 255, 0.16);
  }

  .feature p {
    font-size: 12.5px;
    max-width: 160px;
  }

  .feature {
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 10px;
  }

  .feature__icon {
    width: 44px;
    height: 44px;
  }

  .backdrop__posters {
    top: 0;
    right: 0;
    width: max(40vw, 40%);
    min-width: 40%;
    height: 100%;
    object-position: center 12%;
    opacity: 0.8;
    -webkit-mask-image: linear-gradient(
      90deg,
      transparent 0%,
      rgba(0, 0, 0, 0.5) 10%,
      #000 20%,
      #000 100%
    );
    mask-image: linear-gradient(
      90deg,
      transparent 0%,
      rgba(0, 0, 0, 0.5) 10%,
      #000 20%,
      #000 100%
    );
  }

  .backdrop__shade {
    background: linear-gradient(
      90deg,
      rgba(7, 6, 14, 0.88) 0%,
      rgba(7, 6, 14, 0.5) 52%,
      rgba(7, 6, 14, 0.12) 72%,
      transparent 100%
    );
  }
}

.footer {
  position: relative;
  z-index: 1;
  background: #0000009e;
  padding: 40px 48px 48px;
}

.footer__inner {
  max-width: 1240px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 48px;
}

.footer h2 {
  margin: 0 0 18px;
  font-size: 18px;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: #fff;
}

.footer__links {
  flex: 1;
  min-width: 0;
}

.footer__links ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px 28px;
}

.footer__links a {
  font-size: 14px;
  font-weight: 400;
  color: #b3b3b3;
  transition: color 0.2s ease;
}

.footer__links a:hover {
  color: #fff;
}

.footer__social {
  flex: none;
  min-width: 220px;
}

.footer__social ul {
  list-style: none;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 18px;
  margin: 0;
  padding: 0;
}

.footer__social a {
  display: grid;
  place-items: center;
  width: 36px;
  height: 36px;
  transition:
    opacity 0.2s ease,
    transform 0.2s ease;
}

.footer__social a:hover {
  opacity: 0.88;
  transform: translateY(-1px);
}

.footer__social img {
  width: 32px;
  height: 32px;
  object-fit: contain;
}

.footer__social .social--x img {
  width: 24px;
  height: 24px;
  filter: invert(1);
}

.footer__social .social--youtube img {
  width: 36px;
  height: 26px;
}

@media (max-width: 767px) {
  .footer {
    padding: 28px 20px 36px;
  }

  .footer__inner {
    flex-direction: column;
    gap: 32px;
    align-items: center;
  }

  .footer h2 {
    font-size: 16px;
    margin-bottom: 14px;
  }

  .footer__links {
    max-width: none;
  }

  .footer__links ul {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    column-gap: 28px;
    row-gap: 12px;
  }

  .footer__links a {
    font-size: 13px;
  }

  .footer__social ul {
    gap: 16px;
    justify-content: center;
  }
}

body.legal-page {
  min-height: 100vh;
  min-height: 100dvh;
  display: flex;
  flex-direction: column;
  align-items: stretch;
  width: 100%;
}

body.legal-page .backdrop__posters {
  display: none;
}

body.legal-page .backdrop__shade {
  background: #07060e;
}

body.legal-page .page {
  flex: 1 0 auto;
  width: 100%;
  max-width: 1240px;
  margin-inline: auto;
  align-self: stretch;
  box-sizing: border-box;
}

body.legal-page .footer {
  flex: none;
}

.legal {
  flex: 1 0 auto;
  display: flex;
  flex-direction: column;
  align-items: stretch;
  width: 100%;
  max-width: 100%;
  min-width: 0;
  margin: 0;
  padding: 12px 0 8px;
  font-family: "IBM Plex Sans", sans-serif;
}

body.legal-page .header {
  width: 100%;
  max-width: 100%;
}

.legal h1 {
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
  margin: 0 0 8px;
  font-family: "IBM Plex Sans", sans-serif;
  font-size: 32px;
  font-weight: 700;
  line-height: 1.25;
  letter-spacing: 0;
  color: #fff;
  text-align: left;
}

.legal:not(:has(.updated)) h1 {
  margin: 0 0 28px;
  padding-bottom: 16px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.16);
}

.cms-content {
  flex: 1 0 auto;
  align-self: stretch;
  width: 100%;
  max-width: 100%;
  min-width: 0;
  background: transparent;
  border: 0;
  padding: 0 0 8px;
  font-family: "IBM Plex Sans", sans-serif;
  font-size: 16px;
  font-weight: 400;
  line-height: 26px;
  color: #9d9d9d;
}

.cms-content h2 {
  margin: 28px 0 10px;
  font-family: inherit;
  font-size: 16px;
  font-weight: 700;
  line-height: 24px;
  letter-spacing: 0;
  color: #fff;
}

.cms-content h2:first-child {
  margin-top: 0;
}

.cms-content p {
  margin: 0 0 16px;
  font-size: 16px;
  line-height: 26px;
  color: #9d9d9d;
}

.cms-content ul {
  margin: 0 0 16px;
  padding-left: 2rem;
}

.cms-content li {
  margin: 0 0 16px;
  font-size: 16px;
  line-height: 26px;
  color: #9d9d9d;
}

.cms-content li::marker {
  color: #9d9d9d;
}

.cms-content a {
  color: #d554ff;
  font-size: 18px;
  font-weight: 500;
  text-decoration: none;
}

.cms-content .updated {
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
  margin: 0 0 28px;
  padding-bottom: 16px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.16);
  font-size: 14px;
  line-height: 22px;
  font-weight: 400;
  color: #9d9d9d;
}

.cms-content .updated strong {
  font-weight: 500;
  color: inherit;
}

.contact-intro {
  margin-top: 0;
}

.cms-content .contact-form-wrap {
  width: 100%;
  max-width: 640px;
  margin-inline: auto;
  text-align: left;
}

.contact-form {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 16px;
  width: 100%;
  max-width: 100%;
  min-width: 0;
  margin-top: 8px;
}

.contact-form .form-field {
  width: 100%;
  max-width: 100%;
  min-width: 0;
}

.form-field label {
  display: block;
  margin-bottom: 0.35rem;
  font-size: 0.875rem;
  font-weight: 600;
}

.required-mark {
  color: #e879f9;
}

.form-field input,
.form-field textarea {
  width: 100%;
  padding: 0.75rem 0.9rem;
  border-radius: 10px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  background: rgba(255, 255, 255, 0.06);
  color: #fff;
  font: inherit;
}

.form-field input:focus,
.form-field textarea:focus {
  outline: 2px solid rgba(232, 121, 249, 0.55);
  border-color: transparent;
}

.cms-content .field-error,
.cms-content .form-status {
  margin: 0.35rem 0 0;
  font-size: 14px;
  line-height: 20px;
  font-weight: 500;
}

.cms-content .field-error,
.cms-content .form-status.is-error {
  color: #ff4d4f;
}

.cms-content .form-status.is-success {
  color: #3ddc84;
}

.char-count {
  margin: 0.3rem 0 0;
  font-size: 0.8rem;
  color: #c5c1d0;
}

.contact-submit {
  appearance: none;
  align-self: flex-start;
  border: 0;
  border-radius: 999px;
  padding: 0.8rem 1.5rem;
  font: inherit;
  font-weight: 700;
  color: #fff;
  cursor: pointer;
  background: linear-gradient(90deg, #e378fa 0%, #9248f8 100%);
}

.contact-submit:disabled {
  opacity: 0.65;
  cursor: progress;
}

@media (max-width: 767px) {
  .legal h1 {
    font-size: 24px;
    text-align: left;
  }

  .cms-content,
  .cms-content p,
  .cms-content li,
  .cms-content .updated {
    font-size: 14px;
    line-height: 24px;
  }

  .cms-content h2 {
    font-size: 16px;
    line-height: 24px;
    color: #fff;
  }
}

@media (max-width: 380px) {
  h1 {
    font-size: 32px;
  }

  .script--mobile {
    font-size: 22px;
    bottom: 4px;
  }

  .phones-frame {
    height: 290px;
  }

  .phones {
    width: 100%;
  }
}
