:root {
  --bg: #06090f;
  --bg-animation-time: 120s;
  --key-1: #7f7ce7;
  --key-2: #67a8ea;
  --key-3: #bba6ff;
  --key-4: #9cc5ff;
  --surface: rgba(32, 33, 74, 0.62);
  --line: rgba(156, 197, 255, 0.26);
  --text: #f3f7ff;
  --muted: #b9c7ea;
  --shadow: 0 28px 80px rgba(0, 0, 0, 0.55);
  --radius-xl: 34px;
  --radius-lg: 24px;
  --container: min(1340px, calc(100vw - 2.5rem));
}

* {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  padding: 0;
}

html {
  color-scheme: dark;
  background: var(--bg);
}

body {
  min-height: 100vh;
  font-family: -apple-system, BlinkMacSystemFont, "SF Pro Text", "SF Pro Display", "Helvetica Neue", Helvetica, Arial, sans-serif;
  color: var(--text);
  background: var(--bg);
  letter-spacing: 0.01em;
  overflow-x: hidden;
}

body::before,
body::after {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: -1;
}

body::before {
  background: none;
}

body::after {
  background-image:
    linear-gradient(to right, rgba(127, 124, 231, 0.08) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(103, 168, 234, 0.08) 1px, transparent 1px);
  background-size: 38px 38px;
  opacity: 0.14;
}

.page {
  width: var(--container);
  margin: 0 auto;
  padding: 0 0 4rem;
  position: relative;
  z-index: 5;
}

.bg {
  position: fixed;
  inset: 0;
  width: 100%;
  height: calc(100dvh + env(safe-area-inset-bottom, 0px));
  min-height: calc(100vh + env(safe-area-inset-bottom, 0px));
  pointer-events: none;
  z-index: 1;
  overflow: hidden;
}

.bg::before {
  content: "";
  position: absolute;
  inset: -20vh -8vw;
  background:
    linear-gradient(128deg, rgba(127, 124, 231, 0.14), rgba(127, 124, 231, 0) 62%),
    linear-gradient(228deg, rgba(103, 168, 234, 0.12), rgba(103, 168, 234, 0) 58%),
    linear-gradient(176deg, rgba(187, 166, 255, 0.1), rgba(187, 166, 255, 0) 64%);
  animation: bg-drift 48s ease-in-out infinite alternate;
}

.circles {
  position: absolute;
  top: -20vh;
  left: 0;
  width: 100%;
  height: 140vh;
  overflow: hidden;
}

.circles li {
  position: absolute;
  display: block;
  list-style: none;
  width: 500px;
  height: 500px;
  opacity: 0.3;
  animation-name: animate-circles;
  animation-duration: var(--bg-animation-time);
  animation-iteration-count: infinite;
  animation-direction: alternate;
  animation-timing-function: ease-in-out;
}

.app-store {
  display: inline-block;
  line-height: 0;
  text-decoration: none;
  transition: transform 180ms ease, filter 180ms ease;
}

.app-store-badge {
  display: block;
  width: 180px;
  height: auto;
}

.app-store:hover,
.app-store:focus-visible {
  transform: translateY(-2px);
  filter: brightness(1.06);
}

.hero {
  position: relative;
  margin-bottom: 0;
  border-radius: 0;
  background: #000;
  box-shadow: var(--shadow), 0 0 0 100vmax #000;
  clip-path: inset(0 -100vmax);
  overflow: hidden;
  isolation: isolate;
}

.hero-image {
  display: block;
  width: 100%;
  height: clamp(24rem, 58vw, 52rem);
  object-fit: cover;
  object-position: center 42%;
  filter: saturate(1.04) contrast(1.02);
}

.hero-overlay {
  position: absolute;
  inset: 0;
  z-index: 2;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  align-items: flex-start;
  padding: clamp(1.2rem, 2.9vw, 2.4rem);
  padding-inline-start: clamp(2.6rem, 6vw, 5.5rem);
  pointer-events: none;
}

.hero-copy {
  max-width: 100%;
}

.hero-copy h1 {
  margin: 0;
  font-size: clamp(1.95rem, 4.2vw, 5.1rem);
  line-height: 1.02;
  letter-spacing: -0.024em;
  white-space: nowrap;
  text-wrap: nowrap;
  text-shadow: 0 16px 46px rgba(2, 8, 15, 0.72);
}

.hero-title-emphasis {
  font-weight: inherit;
}

.hero-title-line-regular {
  font-weight: 200;
}

.hero-copy .subtitle {
  margin: 0.72rem 0 0;
  color: #cfdbff;
  font-size: clamp(1rem, 1.95vw, 2rem);
  line-height: 1.25;
  text-shadow: 0 10px 26px rgba(2, 8, 15, 0.7);
}

.hero-cta {
  display: flex;
  justify-content: center;
  margin: 0 0 2.65rem;
  position: relative;
  z-index: 1;
}

.hero-cta-in-hero {
  position: absolute;
  left: clamp(2.6rem, 6vw, 5.5rem);
  bottom: clamp(1.2rem, 2.9vw, 2.4rem);
  justify-content: flex-start;
  margin: 0;
  pointer-events: auto;
}

.hero-cta-anchor {
  position: absolute;
  left: clamp(2.6rem, 6vw, 5.5rem);
  bottom: 25%;
  z-index: 3;
}

.hero-content-zstack {
  position: relative;
  margin-top: -80px;
}

.hero-transition {
  position: absolute;
  top: 0;
  left: 0;
  margin-top: 80px;
  width: 100%;
  height: 400px;
  z-index: 1;
  pointer-events: none;
}

.hero-transition::before {
  content: "";
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 100vw;
  height: 100%;
  background: linear-gradient(to bottom, #000 0%, rgba(0, 0, 0, 0) 100%);
  z-index: 0;
  pointer-events: none;
}

.content-stack {
  position: relative;
  margin-top: 0;
  z-index: 2;
}

.intro {
  margin: 0 auto 3.25rem;
  color: var(--muted);
  max-width: 52rem;
  text-align: center;
  font-size: clamp(1.12rem, 1.95vw, 1.34rem);
  line-height: 1.65;
  position: relative;
  z-index: 1;
}

.section-title {
  margin: 0 0 4.8rem;
  text-align: center;
  font-size: clamp(1.9rem, 3.6vw, 2.85rem);
  letter-spacing: -0.01em;
}

.features-carousel {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 4.1rem 1.75rem;
  overflow: visible;
  padding: 0.2rem 0 4rem;
}

.feature-slide {
  --feature-accent: var(--key-1);
  --feature-accent-rgb: 127, 124, 231;
  width: 100%;
  position: relative;
  border-radius: 0;
  border: 0;
  background: transparent;
  box-shadow: none;
  padding: 0;
  overflow: visible;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.feature-slide:nth-child(1),
.feature-slide:nth-child(5) {
  --feature-accent: var(--key-1);
  --feature-accent-rgb: 127, 124, 231;
}

.feature-slide:nth-child(2) {
  --feature-accent: var(--key-2);
  --feature-accent-rgb: 103, 168, 234;
}

.feature-slide:nth-child(3) {
  --feature-accent: var(--key-3);
  --feature-accent-rgb: 187, 166, 255;
}

.feature-slide:nth-child(4) {
  --feature-accent: var(--key-4);
  --feature-accent-rgb: 156, 197, 255;
}

.feature-text {
  text-align: center;
  position: relative;
  z-index: 2;
}

.feature-text h3 {
  margin: 0;
  color: var(--feature-accent);
  font-size: clamp(1.4rem, 2.4vw, 1.85rem);
  line-height: 1.18;
}

.feature-text p {
  margin: 0.62rem 0 0;
  color: var(--muted);
  font-size: clamp(1.02rem, 1.25vw, 1.12rem);
  line-height: 1.52;
}

.feature-visual {
  position: relative;
  width: 100%;
  display: flex;
  justify-content: center;
  padding-bottom: 1.5rem;
  z-index: 1;
}

.feature-visual img {
  display: block;
  width: 480px;
  max-width: 100%;
  aspect-ratio: 2 / 3;
  object-fit: cover;
  border-radius: 1.25rem;
  border: 1px solid rgba(var(--feature-accent-rgb), 0.36);
  box-shadow: 0 24px 42px rgba(4, 10, 28, 0.68);
}

.legacy-groups {
  margin-top: 1rem;
  margin-inline: clamp(1rem, 6.8vw, 5.75rem);
  display: flex;
  flex-direction: column;
  gap: 3rem;
}

.legacy-group h3 {
  margin: 0 0 1.15rem;
  font-size: clamp(1.4rem, 2.3vw, 1.9rem);
  color: #f0f5ff;
}

.legacy-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
}

.legacy-item {
  display: flex;
  flex-direction: column;
  text-decoration: none;
  color: inherit;
  position: relative;
  border-radius: 1.1rem;
  border: 1px solid rgba(156, 197, 255, 0.24);
  background: linear-gradient(162deg, rgba(127, 124, 231, 0.12), rgba(17, 21, 51, 0.7));
  box-shadow: 0 12px 32px rgba(3, 8, 18, 0.44);
  min-height: 15.25rem;
  padding: 1.5rem 1.5rem 1.8rem;
  transition: transform 170ms ease, border-color 170ms ease, box-shadow 170ms ease;
}

.legacy-icon-shell {
  position: absolute;
  top: 1.5rem;
  left: 1.5rem;
  width: 80px;
  height: 80px;
  border-radius: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.legacy-icon-accent-1 {
  background: linear-gradient(155deg, rgba(127, 124, 231, 0.96), rgba(127, 124, 231, 0.78));
  box-shadow: 0 12px 26px rgba(127, 124, 231, 0.34);
}

.legacy-icon-accent-2 {
  background: linear-gradient(155deg, rgba(103, 168, 234, 0.96), rgba(103, 168, 234, 0.78));
  box-shadow: 0 12px 26px rgba(103, 168, 234, 0.34);
}

.legacy-icon-accent-3 {
  background: linear-gradient(155deg, rgba(187, 166, 255, 0.96), rgba(187, 166, 255, 0.78));
  box-shadow: 0 12px 26px rgba(187, 166, 255, 0.34);
}

.legacy-icon-accent-4 {
  background: linear-gradient(155deg, rgba(156, 197, 255, 0.96), rgba(156, 197, 255, 0.78));
  box-shadow: 0 12px 26px rgba(156, 197, 255, 0.34);
}

.legacy-icon-glyph {
  width: 48px;
  height: 48px;
  display: block;
  background-repeat: no-repeat;
  background-position: center;
  background-size: contain;
  object-fit: contain;
  filter: brightness(0) invert(1);
}

.legacy-item:hover {
  transform: translateY(-2px);
  border-color: rgba(187, 166, 255, 0.56);
  box-shadow: 0 16px 38px rgba(8, 16, 44, 0.56);
}

.legacy-item h4 {
  margin: auto 0 0;
  font-size: 1.04rem;
  line-height: 1.35;
  color: #f2f6ff;
  text-align: left;
}

.legacy-item p {
  margin: 0.55rem 0 0;
  font-size: 0.95rem;
  line-height: 1.48;
  color: var(--muted);
  text-align: left;
}

.legacy-static {
  cursor: default;
}

.legacy-static:hover {
  transform: none;
  border-color: rgba(156, 197, 255, 0.24);
  box-shadow: 0 12px 32px rgba(3, 8, 18, 0.44);
}

.site-footer {
  margin-top: 3.3rem;
  padding-top: 1rem;
  text-align: center;
}

.feature-nav {
  position: sticky;
  top: 0;
  z-index: 40;
  background: rgba(0, 0, 0, 0.9);
  border-bottom: 1px solid rgba(156, 197, 255, 0.18);
  backdrop-filter: blur(14px);
}

.feature-nav-inner {
  width: var(--container);
  margin: 0 auto;
  min-height: 64px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.feature-brand {
  display: inline-flex;
  align-items: center;
  gap: 0.72rem;
  text-decoration: none;
  color: #eef4ff;
}

.feature-brand img {
  width: 32px;
  height: 32px;
  border-radius: 8px;
  display: block;
}

.feature-brand-name {
  font-size: 1rem;
  font-weight: 620;
  line-height: 1;
  letter-spacing: -0.01em;
}

.feature-brand-bold {
  font-weight: 700;
}

.feature-brand-thin {
  font-weight: 200;
}

.feature-download {
  color: #d9e8ff;
  text-decoration: none;
  font-size: 0.94rem;
  font-weight: 600;
  letter-spacing: 0.01em;
}

.feature-download:hover,
.feature-download:focus-visible {
  color: #ffffff;
}

.feature-nav-actions {
  display: inline-flex;
  align-items: center;
  gap: 0.9rem;
}

.language-select {
  min-width: 7.8rem;
  height: 2.15rem;
  padding: 0 2rem 0 0.75rem;
  border-radius: 999px;
  border: 1px solid rgba(156, 197, 255, 0.34);
  background:
    linear-gradient(150deg, rgba(127, 124, 231, 0.28), rgba(103, 168, 234, 0.22));
  color: #e6efff;
  font-family: inherit;
  font-size: 0.86rem;
  font-weight: 550;
  line-height: 1;
  letter-spacing: 0.01em;
  -webkit-appearance: none;
  appearance: none;
  background-image:
    linear-gradient(150deg, rgba(127, 124, 231, 0.28), rgba(103, 168, 234, 0.22)),
    linear-gradient(45deg, transparent 50%, #d8e6ff 50%),
    linear-gradient(135deg, #d8e6ff 50%, transparent 50%);
  background-repeat: no-repeat;
  background-size: auto, 8px 8px, 8px 8px;
  background-position:
    0 0,
    calc(100% - 15px) calc(50% - 2px),
    calc(100% - 10px) calc(50% - 2px);
  cursor: pointer;
}

.language-select:hover,
.language-select:focus-visible {
  border-color: rgba(187, 166, 255, 0.62);
  outline: none;
}

.feature-page-main {
  width: var(--container);
  margin: 0 auto;
  padding: 2.3rem 0 1rem;
  position: relative;
  z-index: 5;
}

.feature-panel {
  border-radius: 1.4rem;
  border: 1px solid rgba(156, 197, 255, 0.24);
  background: linear-gradient(162deg, rgba(127, 124, 231, 0.14), rgba(17, 21, 51, 0.72));
  box-shadow: 0 18px 42px rgba(5, 10, 23, 0.46);
  padding: clamp(1.25rem, 2.2vw, 2rem);
}

.feature-heading {
  margin: 0;
  font-size: clamp(1.75rem, 3.4vw, 2.65rem);
  letter-spacing: -0.02em;
  line-height: 1.08;
  color: #f3f7ff;
}

.feature-intro {
  margin: 0.9rem 0 0;
  max-width: 60rem;
  color: #cfdbff;
  font-size: clamp(1.02rem, 1.45vw, 1.2rem);
  line-height: 1.62;
}

.feature-step {
  margin-top: 1.45rem;
  display: grid;
  gap: 0.85rem;
}

.feature-step p {
  margin: 0;
  color: #dce7ff;
  font-size: clamp(0.98rem, 1.22vw, 1.08rem);
  line-height: 1.62;
}

.feature-step-text {
  margin: 1.45rem 0 0;
  color: #dce7ff;
  font-size: clamp(0.98rem, 1.22vw, 1.08rem);
  line-height: 1.62;
}

.feature-shot {
  margin: 0;
  display: flex;
  justify-content: center;
}

.feature-step-text + .feature-shot {
  margin-top: 0.85rem;
}

.feature-shot img {
  display: block;
  width: min(560px, 100%);
  border-radius: 1.12rem;
  border: 1px solid rgba(156, 197, 255, 0.34);
  box-shadow: 0 24px 46px rgba(4, 10, 28, 0.64);
}

.feature-separator {
  height: 1px;
  margin: 2.2rem 0;
  background: linear-gradient(
    90deg,
    rgba(156, 197, 255, 0),
    rgba(156, 197, 255, 0.44),
    rgba(156, 197, 255, 0)
  );
}

.faq-main {
  width: var(--container);
  margin: 0 auto;
  padding: 2.3rem 0 1rem;
  position: relative;
  z-index: 5;
}

.faq-page h1 {
  margin: 0 0 1.2rem;
  font-size: clamp(1.9rem, 3.2vw, 2.8rem);
  line-height: 1.08;
  letter-spacing: -0.02em;
  color: #f3f7ff;
}

.faq-page .section {
  margin: 2rem 0 0.9rem;
  font-size: clamp(1.28rem, 2vw, 1.8rem);
  line-height: 1.2;
  letter-spacing: -0.01em;
  font-weight: 700;
  color: #edf3ff;
}

.faq-page .section_content {
  border-radius: 1.25rem;
  border: 1px solid rgba(156, 197, 255, 0.24);
  background: linear-gradient(160deg, rgba(127, 124, 231, 0.11), rgba(17, 21, 51, 0.68));
  box-shadow: 0 16px 36px rgba(5, 10, 23, 0.38);
  overflow: hidden;
}

.faq-page .accordion {
  position: relative;
  display: block;
  width: 100%;
  border: 0;
  border-top: 1px solid rgba(156, 197, 255, 0.2);
  background: transparent;
  color: #ecf3ff;
  text-align: left;
  cursor: pointer;
  font-size: clamp(0.98rem, 1.2vw, 1.08rem);
  line-height: 1.55;
  font-weight: 560;
  letter-spacing: -0.005em;
  padding: 1.05rem 3rem 1.05rem 1.15rem;
}

.faq-page .section_content > .accordion:first-child {
  border-top: 0;
}

.faq-page .accordion::before {
  content: "●";
  color: var(--key-1);
  margin-right: 0.5rem;
  font-size: 0.62rem;
  vertical-align: middle;
}

.faq-page .accordion .arrow {
  position: absolute;
  top: 50%;
  right: 1rem;
  width: 0.7rem;
  height: 0.7rem;
  border-right: 2px solid rgba(222, 234, 255, 0.8);
  border-bottom: 2px solid rgba(222, 234, 255, 0.8);
  transform: translateY(-65%) rotate(45deg);
  transition: transform 180ms ease;
}

.faq-page .accordion.active .arrow {
  transform: translateY(-35%) rotate(225deg);
}

.faq-page .panel {
  max-height: 0;
  overflow: hidden;
  transition: max-height 220ms ease;
  background: rgba(11, 17, 39, 0.38);
}

.faq-page .panel p {
  margin: 0;
  padding: 0.95rem 1.15rem 1.1rem;
  color: #cdd9f3;
  font-size: clamp(0.94rem, 1.12vw, 1.02rem);
  line-height: 1.62;
}

.footer-meta {
  margin: 0;
  color: #d7e4fb;
  font-size: 0.95rem;
}

.footer-meta a {
  color: #d7e4fb;
  text-decoration: none;
}

.footer-meta a:hover {
  color: #ffffff;
}

.footer-sep {
  padding: 0 0.5rem;
  color: rgba(208, 223, 250, 0.75);
}

.footer-support {
  margin: 0.65rem 0 0;
  color: var(--muted);
  font-size: 0.9rem;
}

.reveal {
  opacity: 1;
  transform: none;
  transition: none;
}

.reveal.in-view {
  opacity: 1;
  transform: none;
}

@keyframes animate-circles {
  0% {
    border-radius: 20%;
  }

  100% {
    transform: rotate(0.3turn);
    border-radius: 25%;
  }
}

@keyframes bg-drift {
  0% {
    transform: translateY(-2vh) scale(1);
  }

  100% {
    transform: translateY(2vh) scale(1.03);
  }
}

@media (max-width: 960px) {
  .hero-copy h1 {
    font-size: clamp(1.75rem, 5.2vw, 3.6rem);
  }

  .hero-copy .subtitle {
    font-size: clamp(0.96rem, 2.8vw, 1.45rem);
  }

  .features-carousel {
    gap: 3.5rem 1.25rem;
  }
}

@media (max-width: 700px) {
  .page {
    width: min(100vw - 1.35rem, 1340px);
    padding-top: 0;
    padding-bottom: 2.5rem;
  }

  .hero {
    margin-bottom: 0;
    border-radius: 0;
  }

  .hero-image {
    height: clamp(18rem, 84vw, 28rem);
  }

  .hero-copy h1 {
    font-size: clamp(1.35rem, 4.8vw, 2rem);
  }

  .hero-copy .subtitle {
    margin-top: 0.45rem;
    font-size: clamp(0.92rem, 2.8vw, 1.15rem);
  }

  .hero-overlay {
    padding-inline-start: clamp(1.4rem, 4.5vw, 2rem);
  }

  .hero-cta-in-hero {
    left: clamp(1.4rem, 4.5vw, 2rem);
  }

  .hero-cta-anchor {
    left: clamp(1.4rem, 4.5vw, 2rem);
    bottom: 25%;
  }

  .hero-transition {
    height: 240px;
  }

  .content-stack {
    margin-top: 0;
  }

  .hero-cta {
    margin-bottom: 2.15rem;
  }

  .features-carousel {
    grid-template-columns: 1fr;
    gap: 3.2rem;
    padding-bottom: 3.2rem;
  }

  .feature-slide {
    width: min(92vw, 520px);
    margin: 0 auto;
    padding: 1.2rem 1rem;
  }

  .feature-visual {
    padding-bottom: 1.2rem;
  }

  .legacy-grid {
    grid-template-columns: 1fr;
  }

  .legacy-groups {
    margin-inline: 0;
  }

  .feature-nav-inner {
    min-height: 58px;
  }

  .feature-brand-name {
    display: inline-flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 0.08rem;
    line-height: 1.03;
    font-size: 0.95rem;
  }

  .feature-brand-bold,
  .feature-brand-thin {
    display: block;
    white-space: nowrap;
  }

  .feature-brand-bold {
    font-size: 0.92rem;
    font-weight: 700;
  }

  .feature-brand-thin {
    font-size: 0.81rem;
    font-weight: 300;
  }

  .feature-download {
    display: none;
  }

  .feature-nav-actions {
    gap: 0.58rem;
  }

  .language-select {
    min-width: 6.95rem;
    font-size: 0.82rem;
    padding-inline-start: 0.65rem;
  }

  .feature-page-main {
    padding-top: 1.5rem;
  }

  .faq-main {
    padding-top: 1.5rem;
  }
}

@media (max-width: 470px) {
  .feature-slide {
    width: min(92vw, 380px);
  }

  .feature-text h3 {
    font-size: clamp(1.25rem, 5vw, 1.55rem);
  }

  .feature-text p {
    font-size: clamp(0.95rem, 3.6vw, 1.02rem);
  }
}

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