@font-face {
  font-family: "Inter";
  src: url("s/fonts/inter/Inter-Regular.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Inter";
  src: url("s/fonts/inter/Inter-SemiBold.woff2") format("woff2");
  font-weight: 600;
  font-style: normal;
  font-display: swap;
}

:root {
  color-scheme: dark;
  --bg: #090a0b;
  --text: #f7f7f8;
  --muted: #aaa7b2;
  --line: rgba(255, 255, 255, .1);
  --blue: #2ba8ff;
  --violet: #8e2cff;
  --content: 1440px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  margin: 0;
  min-width: 320px;
  background: var(--bg);
  color: var(--text);
  font-family: "Inter", Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
}

a { color: inherit; text-decoration: none; }
button, a { -webkit-tap-highlight-color: transparent; }

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

.site-header {
  position: sticky;
  top: 24px;
  z-index: 50;
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 100px;
  margin-top: 32px;
  padding: 18px 36px;
  border: 1px solid rgba(255, 255, 255, .05);
  border-radius: 34px;
  background: rgba(33, 25, 45, .92);
  box-shadow: 0 16px 50px rgba(0, 0, 0, .28);
  backdrop-filter: blur(18px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-weight: 600;
}

.brand-mark {
  display: grid;
  width: 44px;
  height: 44px;
  place-items: center;
  border-radius: 15px;
  background: linear-gradient(145deg, var(--blue), var(--violet));
  color: #fff;
  font-size: 24px;
  box-shadow: 0 8px 28px rgba(95, 62, 255, .35);
}

.brand-name { font-size: 22px; letter-spacing: .02em; }

.brand-note {
  padding: 5px 9px;
  border: 1px solid rgba(255, 255, 255, .16);
  border-radius: 999px;
  color: var(--muted);
  font-size: 11px;
  font-weight: 400;
  letter-spacing: .04em;
  text-transform: uppercase;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 38px;
  color: #d4d1d9;
  font-size: 17px;
}

.site-nav a,
.site-footer nav a { transition: color .2s ease, opacity .2s ease; }

.site-nav a:hover,
.site-nav a:focus-visible,
.site-footer nav a:hover,
.site-footer nav a:focus-visible { color: #fff; }

.site-nav .nav-accent { color: #70bfff; }

.menu-toggle {
  display: none;
  width: 48px;
  height: 48px;
  padding: 12px;
  border: 0;
  border-radius: 14px;
  background: rgba(255, 255, 255, .08);
  color: #fff;
  cursor: pointer;
}

.menu-toggle span:not(.sr-only) {
  display: block;
  width: 100%;
  height: 2px;
  margin: 5px 0;
  border-radius: 2px;
  background: currentColor;
}

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

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(420px, .95fr);
  align-items: center;
  min-height: 790px;
  padding: 80px 64px 36px;
  overflow: hidden;
}

.eyebrow {
  margin: 0 0 22px;
  color: #7dbfff;
  font-size: 16px;
  font-weight: 600;
  letter-spacing: .09em;
  text-transform: uppercase;
}

.hero h1 {
  max-width: 850px;
  margin: 0;
  font-size: clamp(58px, 6.3vw, 104px);
  font-weight: 400;
  letter-spacing: -.055em;
  line-height: .98;
}

.hero h1 span {
  background: linear-gradient(100deg, #27b6ff 2%, #9162ff 60%, #ba24fb 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.hero-description {
  max-width: 750px;
  margin: 34px 0 0;
  color: #c5c2ca;
  font-size: clamp(19px, 1.6vw, 26px);
  line-height: 1.42;
}

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

.button {
  display: inline-flex;
  min-height: 58px;
  align-items: center;
  justify-content: center;
  padding: 0 28px;
  border: 1px solid transparent;
  border-radius: 17px;
  font-size: 18px;
  font-weight: 600;
  transition: transform .2s ease, background .2s ease, border-color .2s ease;
}

.button:hover,
.button:focus-visible { transform: translateY(-2px); }

.button-primary {
  background: linear-gradient(110deg, #163ecb, #5a0ca4);
  box-shadow: 0 12px 36px rgba(55, 33, 220, .3);
}

.button-primary:hover,
.button-primary:focus-visible { background: linear-gradient(110deg, #2251ec, #7418c6); }

.button-secondary {
  border-color: rgba(255, 255, 255, .18);
  background: rgba(255, 255, 255, .06);
}

.button-secondary:hover,
.button-secondary:focus-visible {
  border-color: rgba(255, 255, 255, .3);
  background: rgba(255, 255, 255, .1);
}

.hero-media,
.feature-media {
  position: relative;
  display: grid;
  min-height: 660px;
  place-items: center;
}

.glow {
  position: absolute;
  width: 70%;
  aspect-ratio: 1;
  border-radius: 50%;
  filter: blur(75px);
  opacity: .36;
}

.glow-blue { left: 0; background: #073cca; }
.glow-purple { right: 0; background: #7d16d8; }

.phone-frame {
  position: relative;
  z-index: 2;
  width: min(430px, 88%);
  aspect-ratio: 972 / 2160;
  filter: drop-shadow(0 35px 60px rgba(0, 0, 0, .45));
}

.phone-frame img,
.phone-frame video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.phone-frame img {
  z-index: 2;
  object-fit: fill;
  pointer-events: none;
}

.phone-frame video {
  z-index: 1;
  padding: 2.8% 3.4%;
  border-radius: 13% / 6%;
  object-fit: cover;
}

.features { border-top: 1px solid var(--line); }

.feature-row {
  display: grid;
  grid-template-columns: minmax(360px, .9fr) minmax(0, 1.1fr);
  align-items: center;
  min-height: 850px;
  padding: 70px 7%;
  border-bottom: 1px solid var(--line);
}

.feature-row-reverse { grid-template-columns: minmax(0, 1.1fr) minmax(360px, .9fr); }
.feature-row .feature-media { min-height: 700px; }
.phone-frame-small { width: min(360px, 82%); }

.feature-copy {
  max-width: 720px;
  padding: 40px 6%;
}

.feature-number {
  margin: 0 0 22px;
  color: #6d69ff;
  font-size: 16px;
  font-weight: 600;
  letter-spacing: .12em;
}

.feature-copy h2,
.download-copy h2 {
  margin: 0;
  font-size: clamp(44px, 5vw, 76px);
  font-weight: 400;
  letter-spacing: -.04em;
  line-height: 1.04;
}

.feature-copy > p:last-child,
.download-copy > p {
  margin: 30px 0 0;
  color: var(--muted);
  font-size: clamp(20px, 1.8vw, 27px);
  line-height: 1.5;
}

.download-section {
  position: relative;
  display: grid;
  grid-template-columns: .75fr 1.25fr;
  align-items: center;
  min-height: 720px;
  padding: 90px 8%;
  overflow: hidden;
  border-bottom: 1px solid var(--line);
  background:
    radial-gradient(circle at 22% 50%, rgba(19, 93, 255, .38), transparent 35%),
    radial-gradient(circle at 76% 45%, rgba(126, 18, 200, .24), transparent 39%);
}

.download-logo {
  display: grid;
  width: min(370px, 75%);
  aspect-ratio: 1;
  place-items: center;
  border-radius: 30%;
  transform: rotate(12deg);
  background: linear-gradient(145deg, #25b6ff, #383deb 45%, #9d27dd);
  color: #fff;
  font-size: clamp(150px, 17vw, 270px);
  font-weight: 600;
  box-shadow: 0 40px 100px rgba(80, 37, 255, .32);
}

.download-copy { max-width: 780px; }
.download-copy .eyebrow { margin-top: 0; }

.site-footer {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 50px;
  padding: 80px 40px;
  color: #9c99a3;
}

.brand-footer { color: #fff; }
.site-footer p { margin: 24px 0 0; }

.site-footer nav {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 22px 50px;
  align-content: center;
}

.inner-main {
  min-height: 65vh;
}

.page-hero {
  padding: 130px 6% 80px;
  border-bottom: 1px solid var(--line);
}

.page-hero h1,
.error-page h1 {
  max-width: 1050px;
  margin: 0;
  font-size: clamp(58px, 7.5vw, 112px);
  font-weight: 400;
  letter-spacing: -.055em;
  line-height: .98;
}

.page-hero > p:last-child,
.page-hero > div > p:last-of-type,
.error-page > p:not(.eyebrow, .error-code) {
  max-width: 820px;
  margin: 30px 0 0;
  color: var(--muted);
  font-size: clamp(20px, 1.8vw, 28px);
  line-height: 1.5;
}

.card-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px;
  padding: 64px 4% 110px;
}

.product-grid,
.marketplace-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.content-card {
  min-width: 0;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 30px;
  background: linear-gradient(145deg, rgba(255, 255, 255, .065), rgba(255, 255, 255, .018));
  transition: transform .25s ease, border-color .25s ease, background .25s ease;
}

a.content-card:hover,
a.content-card:focus-visible,
.product-card.is-available:hover {
  transform: translateY(-6px);
  border-color: rgba(102, 114, 255, .5);
  background: linear-gradient(145deg, rgba(68, 70, 173, .18), rgba(255, 255, 255, .025));
}

.card-media {
  display: grid;
  min-height: 310px;
  place-items: center;
  overflow: hidden;
  background:
    radial-gradient(circle at 45% 50%, rgba(77, 50, 255, .24), transparent 45%),
    #101115;
}

.card-media img {
  display: block;
  width: 100%;
  height: 100%;
  max-height: 390px;
  object-fit: cover;
}

.product-card .card-media img {
  object-fit: contain;
}

.store-media,
.marketplace-media {
  min-height: 260px;
  padding: 34px;
}

.store-media img,
.marketplace-media img {
  width: min(100%, 300px);
  height: auto;
  border-radius: 22px;
  object-fit: contain;
}

.apk-media {
  position: relative;
}

.apk-badge {
  position: absolute;
  top: 22px;
  right: 22px;
  padding: 8px 13px;
  border: 1px solid rgba(255, 255, 255, .28);
  border-radius: 999px;
  background: rgba(14, 15, 22, .78);
  color: #fff;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: .12em;
  backdrop-filter: blur(12px);
}

.file-meta {
  margin: 16px 0 0;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.55;
  overflow-wrap: anywhere;
}

.card-body {
  padding: 30px;
}

.card-kicker {
  margin: 0 0 14px;
  color: #7772ff;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: .1em;
  text-transform: uppercase;
}

.card-body h2 {
  margin: 0;
  font-size: clamp(28px, 2.8vw, 44px);
  font-weight: 400;
  letter-spacing: -.035em;
  line-height: 1.05;
}

.card-body > p:not(.card-kicker) {
  margin: 18px 0 0;
  color: var(--muted);
  font-size: 18px;
  line-height: 1.45;
}

.card-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 28px;
}

.card-actions .button {
  min-height: 50px;
  flex: 1 1 130px;
  padding: 0 18px;
  font-size: 16px;
}

.text-link {
  display: inline-block;
  margin-top: 22px;
  color: #8ac8ff;
  font-weight: 600;
}

.is-coming {
  opacity: .58;
}

.notice-panel {
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  gap: 20px 40px;
  margin: 0 4% 110px;
  padding: 38px 42px;
  border: 1px solid rgba(102, 114, 255, .3);
  border-radius: 28px;
  background: linear-gradient(115deg, rgba(25, 72, 202, .2), rgba(111, 22, 153, .18));
}

.notice-panel h2 {
  margin: 0;
  font-size: 32px;
  font-weight: 400;
}

.notice-panel p {
  grid-column: 1;
  margin: 0;
  color: var(--muted);
  font-size: 18px;
  line-height: 1.5;
}

.notice-panel .button {
  grid-column: 2;
  grid-row: 1 / span 2;
}

.release-section {
  margin: 0 4% 64px;
}

.release-heading {
  max-width: 900px;
  margin-bottom: 30px;
}

.release-heading h2 {
  margin: 0;
  font-size: clamp(36px, 4.8vw, 72px);
  font-weight: 400;
  letter-spacing: -.045em;
  line-height: 1.03;
}

.release-description {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 28px;
  background: rgba(255, 255, 255, .035);
}

.release-description summary {
  position: relative;
  padding: 25px 68px 25px 28px;
  cursor: pointer;
  list-style: none;
  font-size: 20px;
}

.release-description summary::-webkit-details-marker {
  display: none;
}

.release-description summary::after {
  position: absolute;
  top: 50%;
  right: 28px;
  content: "+";
  color: #8ac8ff;
  font-size: 28px;
  transform: translateY(-50%);
}

.release-description[open] summary::after {
  content: "−";
}

.release-description pre {
  max-height: 720px;
  margin: 0;
  padding: 28px;
  overflow: auto;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font: inherit;
  font-size: 16px;
  line-height: 1.65;
  white-space: pre-wrap;
  overflow-wrap: anywhere;
}

.release-notice {
  margin-bottom: 64px;
}

.product-hero {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(320px, .9fr);
  align-items: center;
  gap: 70px;
}

.product-visual {
  display: grid;
  min-height: 520px;
  place-items: center;
  padding: 44px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 38px;
  background:
    radial-gradient(circle, rgba(91, 45, 255, .35), transparent 58%),
    #101115;
}

.product-visual img {
  display: block;
  width: min(100%, 470px);
  max-height: 560px;
  object-fit: contain;
}

.details-section {
  padding: 100px 8% 120px;
}

.details-section > h2 {
  margin: 0 0 55px;
  font-size: clamp(44px, 5vw, 76px);
  font-weight: 400;
  letter-spacing: -.04em;
}

.details-list {
  border-top: 1px solid var(--line);
}

.details-list details {
  border-bottom: 1px solid var(--line);
}

.details-list summary {
  position: relative;
  padding: 30px 64px 30px 0;
  cursor: pointer;
  list-style: none;
  font-size: clamp(24px, 2.5vw, 36px);
}

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

.details-list summary::after {
  position: absolute;
  top: 50%;
  right: 12px;
  width: 28px;
  height: 28px;
  content: "+";
  color: #8ac8ff;
  font-size: 30px;
  line-height: 24px;
  text-align: center;
  transform: translateY(-50%);
}

.details-list details[open] summary::after {
  content: "−";
}

.details-content {
  max-width: 980px;
  padding: 0 0 34px;
  color: var(--muted);
  font-size: 19px;
  line-height: 1.55;
}

.gallery-grid {
  display: grid;
  max-width: none;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

.gallery-grid img {
  width: 100%;
  aspect-ratio: 4 / 3;
  border-radius: 18px;
  object-fit: cover;
}

.faq-placeholder p {
  margin: 8px 0;
}

.error-page {
  display: flex;
  min-height: 760px;
  align-items: flex-start;
  justify-content: center;
  flex-direction: column;
  padding: 90px 8%;
  overflow: hidden;
  background:
    radial-gradient(circle at 70% 45%, rgba(108, 28, 201, .22), transparent 32%),
    radial-gradient(circle at 15% 70%, rgba(15, 89, 219, .2), transparent 34%);
}

.error-code {
  margin: 0 0 -25px;
  background: linear-gradient(100deg, #27b6ff, #ba24fb);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  font-size: clamp(130px, 23vw, 340px);
  font-weight: 600;
  letter-spacing: -.08em;
  line-height: .8;
  opacity: .28;
}

@media (max-width: 1050px) {
  .site-header { min-height: 84px; padding: 16px 20px; }
  .brand-note { display: none; }
  .menu-toggle { display: block; }

  .site-nav {
    position: absolute;
    top: calc(100% + 10px);
    right: 0;
    left: 0;
    display: none;
    align-items: stretch;
    gap: 0;
    padding: 14px;
    border: 1px solid var(--line);
    border-radius: 24px;
    background: rgba(27, 22, 36, .98);
  }

  .site-nav.is-open { display: grid; }
  .site-nav a { padding: 15px 16px; border-radius: 14px; }

  .site-nav a:hover,
  .site-nav a:focus-visible { background: rgba(255, 255, 255, .07); }

  .hero { grid-template-columns: 1fr; padding: 90px 36px 30px; }
  .hero-media { min-height: 690px; }

  .feature-row,
  .feature-row-reverse {
    grid-template-columns: 1fr 1fr;
    min-height: 720px;
    padding: 50px 2%;
  }

  .feature-row .feature-media { min-height: 620px; }
  .download-section { grid-template-columns: .8fr 1.2fr; padding: 80px 5%; }

  .product-grid,
  .marketplace-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }

  .product-hero { grid-template-columns: 1fr; }
  .product-visual { min-height: 430px; }
}

@media (max-width: 760px) {
  .page-shell { width: min(calc(100% - 24px), var(--content)); }
  .site-header { top: 12px; margin-top: 12px; border-radius: 24px; }

  .brand-mark {
    width: 38px;
    height: 38px;
    border-radius: 12px;
    font-size: 20px;
  }

  .brand-name { font-size: 18px; }
  .hero { min-height: auto; padding: 78px 10px 20px; }
  .hero h1 { font-size: clamp(46px, 14vw, 72px); }
  .hero-description { font-size: 19px; }

  .hero-actions,
  .download-actions { display: grid; }

  .button { width: 100%; }
  .hero-media { min-height: 600px; }

  .feature-row,
  .feature-row-reverse {
    display: flex;
    min-height: auto;
    flex-direction: column;
    padding: 55px 10px 70px;
  }

  .feature-row-reverse .feature-copy { order: 2; }
  .feature-row-reverse .feature-media { order: 1; }
  .feature-row .feature-media { width: 100%; min-height: 570px; }
  .feature-copy { padding: 30px 4px 0; }

  .feature-copy h2,
  .download-copy h2 { font-size: clamp(40px, 11vw, 58px); }

  .feature-copy > p:last-child,
  .download-copy > p { font-size: 20px; }

  .download-section {
    grid-template-columns: 1fr;
    gap: 70px;
    padding: 90px 10px;
  }

  .download-logo { width: min(300px, 72%); margin: 0 auto; }
  .site-footer { grid-template-columns: 1fr; padding: 62px 10px; }
  .site-footer nav { grid-template-columns: 1fr; }

  .page-hero { padding: 100px 10px 60px; }
  .page-hero h1,
  .error-page h1 { font-size: clamp(48px, 14vw, 72px); }

  .card-grid,
  .product-grid,
  .marketplace-grid {
    grid-template-columns: 1fr;
    padding: 42px 0 80px;
  }

  .card-media { min-height: 260px; }
  .store-media,
  .marketplace-media { min-height: 220px; }
  .card-body { padding: 26px 22px; }

  .notice-panel {
    display: block;
    margin: 0 0 80px;
    padding: 28px 22px;
  }

  .notice-panel p { margin-top: 14px; }
  .notice-panel .button { margin-top: 24px; }
  .release-section { margin: 0 0 48px; }
  .release-heading { padding: 0 10px; }
  .release-description { border-radius: 22px; }
  .release-description summary { padding: 22px 58px 22px 22px; }
  .release-description summary::after { right: 22px; }
  .release-description pre { max-height: 600px; padding: 22px; font-size: 15px; }

  .product-hero { gap: 50px; }
  .product-visual { min-height: 360px; padding: 28px; }
  .details-section { padding: 75px 10px 90px; }
  .details-list summary { padding: 25px 52px 25px 0; }
  .gallery-grid { grid-template-columns: 1fr 1fr; }
  .error-page { min-height: 650px; padding: 70px 10px; }
}

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