:root {
  --brand-violet: #4b30ed;
  --brand-pink: #ed30d1;
  --ink: #11121a;
  --muted: #686a78;
  --paper: #ffffff;
  --soft: #f6f4ff;
  --line: rgba(17, 18, 26, 0.12);
  --shadow: 0 24px 80px rgba(27, 16, 85, 0.18);
  --shadow-soft: 0 16px 45px rgba(27, 16, 85, 0.12);
  --radius: 24px;
  --radius-sm: 14px;
  --max-width: 1160px;
  --header-height: 68px;
  --gradient: linear-gradient(135deg, var(--brand-violet), var(--brand-pink));
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-width: 320px;
  color: var(--ink);
  background:
    radial-gradient(circle at 14% 8%, rgba(237, 48, 209, 0.14), transparent 26rem),
    radial-gradient(circle at 86% 20%, rgba(75, 48, 237, 0.13), transparent 28rem),
    #fff;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.5;
  overflow-x: hidden;
}

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

a {
  color: inherit;
}

button,
input,
textarea {
  font: inherit;
}

button,
a,
input,
textarea {
  outline-offset: 4px;
}

:focus-visible {
  outline: 3px solid rgba(237, 48, 209, 0.55);
}

[hidden] {
  display: none !important;
}

[data-lang] {
  display: none;
}

[data-lang].active {
  display: inline;
}

[data-lang].block.active {
  display: block;
}

.optional-image {
  opacity: 0;
  transition: opacity 180ms ease;
}

.optional-image.is-loaded {
  opacity: 1;
}

.site-header {
  position: fixed;
  z-index: 30;
  top: 12px;
  left: 50%;
  display: flex;
  box-sizing: border-box;
  width: min(calc(100% - 24px), var(--max-width));
  max-width: calc(100vw - 24px);
  height: var(--header-height);
  align-items: center;
  justify-content: space-between;
  padding: 8px 12px 8px 14px;
  border: 1px solid rgba(255, 255, 255, 0.68);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.78);
  box-shadow: 0 16px 46px rgba(32, 20, 96, 0.14);
  backdrop-filter: blur(18px);
  opacity: 0;
  pointer-events: none;
  transform: translate(-50%, calc(-100% - 32px));
  visibility: hidden;
  transition: transform 260ms ease, opacity 180ms ease, visibility 0s linear 260ms, background-color 260ms ease, box-shadow 260ms ease;
}

.site-header.is-visible,
body[data-header-mode="visible"] .site-header {
  opacity: 1;
  pointer-events: auto;
  transform: translate(-50%, 0);
  visibility: visible;
  transition-delay: 0s;
}

.brand-link,
.footer-brand {
  display: inline-flex;
  height: 100%;
  min-width: 0;
  align-items: center;
  text-decoration: none;
}

.brand-logo {
  width: auto;
  height: calc(var(--header-height) - 8px);
  max-width: 72px;
  aspect-ratio: 1.3 / 1;
  object-fit: contain;
}

.header-actions,
.footer-links {
  display: flex;
  min-width: 0;
  align-items: center;
  gap: 8px;
}

.header-actions {
  flex: 0 0 auto;
}

.social-link {
  display: inline-flex;
  width: 36px;
  height: 36px;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(75, 48, 237, 0.12);
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.58);
  text-decoration: none;
  transition: transform 180ms ease, border-color 180ms ease, background-color 180ms ease;
}

.social-link:hover {
  transform: translateY(-1px);
  border-color: rgba(237, 48, 209, 0.35);
  background: rgba(255, 255, 255, 0.92);
}

.social-icon {
  width: 30px;
  height: 30px;
  object-fit: contain;
}

.language-button {
  min-width: 48px;
  height: 36px;
  border: 0;
  border-radius: 999px;
  color: #fff;
  background: var(--gradient);
  box-shadow: 0 10px 26px rgba(75, 48, 237, 0.24);
  cursor: pointer;
  font-weight: 800;
  letter-spacing: 0;
}

.hero-section {
  position: relative;
  min-height: 100svh;
  padding: 0;
  color: #fff;
  background:
    linear-gradient(180deg, rgba(10, 7, 28, 0.74), rgba(10, 7, 28, 0.45) 45%, rgba(10, 7, 28, 0.86)),
    var(--gradient);
  overflow: hidden;
}

.hero-stage {
  position: relative;
  display: grid;
  min-height: 100svh;
  place-items: center;
  width: min(100%, 1600px);
  max-width: 1600px;
  margin: 0 auto;
  border-radius: 0;
  overflow: hidden;
  isolation: isolate;
}

.hero-stage > picture {
  display: contents;
}

.hero-image {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.hero-vignette {
  position: absolute;
  inset: auto 0 0;
  height: 46%;
  background: linear-gradient(180deg, transparent, rgba(9, 7, 24, 0.78));
  pointer-events: none;
  z-index: 1;
}

.hero-content {
  position: absolute;
  z-index: 2;
  left: 50%;
  bottom: clamp(42px, 8vw, 96px);
  display: grid;
  width: min(92%, 760px);
  justify-items: center;
  gap: 14px;
  text-align: center;
  transform: translateX(-50%);
}

.hero-logo {
  position: absolute;
  z-index: 2;
  top: clamp(26px, 5vw, 58px);
  left: 50%;
  width: clamp(264px, 25.2vw, 298px);
  height: auto;
  object-fit: contain;
  filter: drop-shadow(0 10px 20px rgba(0, 0, 0, 0.26));
  transform: translateX(-50%);
}

.hero-claim {
  margin: 0;
  font-size: clamp(1.35rem, 4.8vw, 3.8rem);
  font-weight: 900;
  letter-spacing: 0;
  line-height: 0.98;
  text-shadow: 0 4px 28px rgba(0, 0, 0, 0.4);
}

.store-buttons {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
  margin-top: 2px;
}

.store-button {
  position: relative;
  display: inline-flex;
  min-height: 46px;
  align-items: center;
  justify-content: center;
  border-radius: 12px;
  transition: transform 180ms ease, opacity 180ms ease, filter 180ms ease;
}

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

.store-badge {
  width: min(42vw, 168px);
  min-width: 134px;
  height: auto;
}

.soon-pill {
  position: absolute;
  right: -8px;
  top: -9px;
  padding: 3px 8px;
  border-radius: 999px;
  color: #fff;
  background: var(--gradient);
  font-size: 0.72rem;
  font-weight: 800;
  box-shadow: 0 8px 18px rgba(75, 48, 237, 0.24);
}

.content-section,
.logo-section {
  width: min(calc(100% - 32px), var(--max-width));
  margin: 0 auto;
  padding: clamp(56px, 8vw, 104px) 0;
}

.section-copy {
  max-width: 830px;
  margin: 0 auto 34px;
  text-align: center;
}

.section-copy.compact {
  max-width: 720px;
}

.eyebrow {
  margin: 0 0 8px;
  color: var(--brand-violet);
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

h1,
h2 {
  margin: 0;
  font-size: clamp(2rem, 5vw, 4.4rem);
  line-height: 0.98;
  letter-spacing: 0;
}

h2 {
  font-size: clamp(1.9rem, 4.2vw, 3.6rem);
}

.section-copy p:not(.eyebrow),
.closing-line,
.contact-copy p,
.mail-note {
  color: var(--muted);
  font-size: clamp(1rem, 2vw, 1.18rem);
}

.phone-carousel,
.square-carousel {
  position: relative;
  margin: 0 auto;
  touch-action: pan-y;
}

.scroll-reveal {
  opacity: 0;
  transform: translateY(72px);
  transition: opacity 700ms ease, transform 700ms cubic-bezier(0.16, 1, 0.3, 1);
  will-change: opacity, transform;
}

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

.phone-carousel {
  --phone-width: clamp(230px, 34vw, 390px);
  --phone-height: clamp(434px, 64.222vw, 737px);
  width: min(100%, 980px);
  padding: 10px 0 64px;
}

.phone-carousel-stage {
  position: relative;
  height: calc(var(--phone-height) + 76px);
  overflow: hidden;
}

.phone-slide {
  position: absolute;
  top: 0;
  left: 50%;
  width: var(--phone-width);
  margin: 0;
  opacity: 0;
  transform: translateX(-50%) scale(0.72);
  transition: transform 420ms ease, opacity 420ms ease, filter 420ms ease;
  pointer-events: none;
}

.phone-slide img {
  width: 100%;
  height: var(--phone-height);
  aspect-ratio: 9 / 17;
  border-radius: 26px;
  object-fit: cover;
  box-shadow: 0 24px 70px rgba(31, 21, 105, 0.24);
}

.phone-slide picture,
.square-slide picture {
  display: block;
  width: 100%;
}

.phone-slide figcaption,
.square-slide figcaption {
  margin-top: 14px;
  color: var(--ink);
  font-size: 1.5em;
  font-weight: 850;
  line-height: 1.25;
  text-align: center;
}

.phone-slide.is-active {
  z-index: 3;
  opacity: 1;
  transform: translateX(-50%) scale(1);
}

.phone-slide.is-prev {
  z-index: 2;
  opacity: 0.42;
  filter: saturate(0.75);
  transform: translateX(calc(-50% - min(31vw, 300px))) scale(0.78);
}

.phone-slide.is-next {
  z-index: 2;
  opacity: 0.42;
  filter: saturate(0.75);
  transform: translateX(calc(-50% + min(31vw, 300px))) scale(0.78);
}

.carousel-arrow {
  position: absolute;
  z-index: 8;
  top: 44%;
  display: inline-grid;
  width: 46px;
  height: 46px;
  place-items: center;
  border: 1px solid rgba(75, 48, 237, 0.13);
  border-radius: 50%;
  color: var(--ink);
  background: rgba(255, 255, 255, 0.88);
  box-shadow: var(--shadow-soft);
  cursor: pointer;
  font-size: 2rem;
  line-height: 1;
  transition: transform 180ms ease, background-color 180ms ease;
}

.carousel-arrow:hover {
  transform: translateY(-1px);
  background: #fff;
}

.carousel-prev {
  left: 0;
}

.carousel-next {
  right: 0;
}

.carousel-dots {
  position: absolute;
  left: 50%;
  bottom: 8px;
  display: flex;
  gap: 8px;
  transform: translateX(-50%);
}

.carousel-dot {
  width: 10px;
  height: 10px;
  border: 0;
  border-radius: 50%;
  background: rgba(75, 48, 237, 0.22);
  cursor: pointer;
}

.carousel-dot.is-active {
  width: 26px;
  border-radius: 999px;
  background: var(--gradient);
}

.collab-section {
  position: relative;
}

.collab-section::before {
  content: "";
  position: absolute;
  inset: 58px 50% auto auto;
  width: min(78vw, 760px);
  height: 360px;
  border-radius: 40px;
  background: linear-gradient(135deg, rgba(75, 48, 237, 0.1), rgba(237, 48, 209, 0.08));
  transform: translateX(50%) rotate(-2deg);
  z-index: -1;
}

.square-carousel {
  width: min(100%, 620px);
  padding: 0 58px 52px;
}

.square-viewport {
  overflow: hidden;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  background: #fff;
}

.square-track {
  display: flex;
  align-items: stretch;
  transition: transform 420ms ease;
}

.square-slide {
  display: grid;
  grid-template-rows: auto minmax(2.8em, auto);
  min-width: 100%;
  margin: 0;
  padding: clamp(12px, 2vw, 18px);
  background: #fff;
}

.square-slide img {
  width: 100%;
  height: auto;
  aspect-ratio: 1;
  border-radius: 18px;
  object-fit: cover;
}

.closing-line {
  max-width: 700px;
  margin: 8px auto 0;
  text-align: center;
}

.partner-logos {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 18px;
}

.partner-logo {
  width: clamp(86px, 16vw, 132px);
  height: clamp(86px, 16vw, 132px);
  aspect-ratio: 1;
  border-radius: 22px;
  object-fit: contain;
  padding: 14px;
  background: #fff;
  box-shadow: var(--shadow-soft);
}

.install-card .store-button-disabled {
  cursor: default;
  filter: grayscale(1);
  opacity: 0.72;
}

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

.image-band-section {
  --band-size: clamp(225px, 30vw, 390px);
  position: relative;
  width: 100%;
  height: var(--band-size);
  overflow: hidden;
  background: linear-gradient(90deg, rgba(75, 48, 237, 0.08), rgba(237, 48, 209, 0.09));
}

.image-band-tilt {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 100%;
  transform: translate(-50%, -50%);
}

.image-band-track {
  display: flex;
  width: max-content;
  will-change: transform;
}

.band-image {
  width: var(--band-size);
  height: var(--band-size);
  aspect-ratio: 1;
  flex: 0 0 auto;
  object-fit: cover;
}

.contact-grid {
  display: grid;
  gap: clamp(24px, 5vw, 54px);
  align-items: start;
}

.contact-copy {
  margin-bottom: 0;
  text-align: left;
}

.mail-note {
  margin-top: 18px;
  padding-left: 14px;
  border-left: 4px solid var(--brand-pink);
}

.contact-form {
  display: grid;
  gap: 16px;
  padding: clamp(20px, 4vw, 34px);
  border: 1px solid rgba(75, 48, 237, 0.12);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.82);
  box-shadow: var(--shadow-soft);
  backdrop-filter: blur(18px);
}

.contact-form label {
  display: grid;
  gap: 7px;
  color: var(--ink);
  font-weight: 800;
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  padding: 13px 14px;
  color: var(--ink);
  background: #fff;
  resize: vertical;
}

.contact-form input:focus,
.contact-form textarea:focus {
  border-color: rgba(75, 48, 237, 0.5);
}

.primary-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 0;
  border-radius: 999px;
  padding: 14px 20px;
  color: #fff;
  background: var(--gradient);
  box-shadow: 0 16px 34px rgba(75, 48, 237, 0.22);
  cursor: pointer;
  font-weight: 900;
  text-decoration: none;
}

.direct-email {
  color: var(--brand-violet);
  font-weight: 800;
  text-align: center;
}

.form-status {
  min-height: 1.35em;
  margin: 0;
  color: #b32424;
  font-weight: 750;
}

.site-footer {
  padding: 38px 16px;
  color: #fff;
  background: #11121a;
}

.footer-inner {
  display: grid;
  width: min(100%, var(--max-width));
  margin: 0 auto;
  gap: 16px;
  justify-items: center;
  text-align: center;
}

.footer-logo {
  width: 68px;
  height: auto;
}

.footer-inner p {
  max-width: 560px;
  margin: 0;
  color: rgba(255, 255, 255, 0.76);
}

.footer-links {
  flex-wrap: wrap;
  justify-content: center;
}

.footer-links > a:not(.social-link) {
  color: #fff;
  font-weight: 800;
}

.copyright {
  font-size: 0.92rem;
}

.legal-page,
.utility-page {
  padding-top: 98px;
  background: #fff;
}

.utility-page-no-header {
  padding-top: 0;
}

.legal-hero,
.utility-hero {
  width: min(calc(100% - 32px), 920px);
  margin: 0 auto;
  padding: 52px 0 22px;
  text-align: center;
}

.legal-hero h1,
.utility-hero h1 {
  margin: 0 0 14px;
}

.legal-shell,
.utility-shell {
  width: min(calc(100% - 32px), 920px);
  margin: 0 auto;
  padding: 20px 0 72px;
}

.extras-paragraph {
  color: #242431;
}

.extras-paragraph h3 {
  margin: 2.2rem 0 0.9rem;
  font-size: clamp(1.45rem, 3vw, 2rem);
  text-align: center;
}

.extras-paragraph h5 {
  margin: 1.4rem 0 0.55rem;
  font-size: 1rem;
  letter-spacing: 0;
}

.extras-paragraph p,
.extras-paragraph li {
  color: #3f4050;
}

.extras-paragraph a {
  color: var(--brand-violet);
  font-weight: 750;
}

.toc {
  padding: 1rem;
  border-radius: var(--radius-sm);
  background: var(--soft);
}

.toc-list {
  padding-left: 1.1rem;
}

.language-pills {
  display: flex;
  justify-content: center;
  gap: 8px;
}

.language-pills button {
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 9px 14px;
  color: var(--ink);
  background: #fff;
  cursor: pointer;
  font-weight: 850;
}

.language-pills button.active {
  color: #fff;
  border-color: transparent;
  background: var(--gradient);
}

.utility-card {
  display: grid;
  gap: 16px;
  justify-items: center;
  padding: clamp(28px, 5vw, 56px);
  border-radius: var(--radius);
  background: #fff;
  box-shadow: var(--shadow-soft);
  text-align: center;
}

.install-card {
  min-height: 430px;
}

.install-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
}

.qr-install-card {
  min-height: 0;
}

.qr-code-frame {
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  background: #fff;
  box-shadow: var(--shadow-soft);
}

.qr-code-image {
  width: min(68vw, 280px);
  height: auto;
  aspect-ratio: 1;
}

.qr-install-status {
  max-width: 540px;
  margin: 0;
  text-align: left;
}

@media (min-width: 780px) {
  .contact-grid {
    grid-template-columns: minmax(0, 0.9fr) minmax(360px, 1.1fr);
  }

  .brand-logo {
    max-width: 84px;
  }
}

@media (max-width: 620px) {
  :root {
    --header-height: 58px;
  }

  .site-header {
    left: 12px;
    top: 8px;
    width: calc(100% - 24px);
    max-width: calc(100vw - 24px);
    padding: 7px 8px 7px 10px;
    transform: translateY(calc(-100% - 32px));
  }

  .site-header.is-visible,
  body[data-header-mode="visible"] .site-header {
    transform: translateY(0);
  }

  .brand-logo {
    height: calc(var(--header-height) - 8px);
    max-width: 58px;
  }

  .header-actions {
    gap: 5px;
  }

  .social-link {
    width: 32px;
    height: 32px;
  }

  .social-icon {
    width: 28px;
    height: 28px;
  }

  .language-button {
    min-width: 42px;
    height: 32px;
  }

  .hero-section {
    padding: 0;
  }

  .hero-image {
    height: 100%;
  }

  .hero-logo {
    width: clamp(264px, 36vw, 426px);
  }

  .hero-content {
    bottom: 42px;
  }

  .phone-carousel-stage {
    height: calc(var(--phone-height) + 106px);
  }

  .phone-carousel {
    --phone-width: min(74vw, 280px);
    --phone-height: min(139.778vw, 529px);
  }

  .phone-slide {
    width: var(--phone-width);
  }

  .phone-slide.is-prev {
    transform: translateX(calc(-50% - 42vw)) scale(0.68);
  }

  .phone-slide.is-next {
    transform: translateX(calc(-50% + 42vw)) scale(0.68);
  }

  .carousel-arrow {
    width: 40px;
    height: 40px;
    font-size: 1.65rem;
  }

  .square-carousel {
    padding-inline: 0;
  }

  .square-carousel .carousel-prev {
    left: -6px;
  }

  .square-carousel .carousel-next {
    right: -6px;
  }

  .contact-copy {
    text-align: center;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
  }

  .scroll-reveal {
    opacity: 1;
    transform: none;
  }
}
