:root {
  --site-light-bg: #f7f6fb;
  --site-light-panel: #ffffff;
  --site-light-panel-soft: #f3f1f7;
  --site-light-line: rgba(62, 45, 82, .12);
  --site-light-text: #1d1824;
  --site-light-dim: #6f6678;
  --site-light-shadow: 0 18px 50px rgba(68, 48, 91, .10);
}

html[data-route="site"] {
  color-scheme: light;
  --bg: var(--site-light-bg);
  --panel: var(--site-light-panel);
  --panel-2: var(--site-light-panel-soft);
  --line: var(--site-light-line);
  --text: var(--site-light-text);
  --dim: var(--site-light-dim);
  background: var(--site-light-bg);
  scroll-behavior: smooth;
}

html[data-route="site"] body {
  color: var(--site-light-text);
  background: linear-gradient(180deg, #fcfbfe 0%, #f7f6fb 46%, #f5f7fa 100%);
}

html[data-route="site"] .landing {
  position: relative;
}

html[data-route="site"] .landing-topbar {
  position: relative;
  z-index: 20;
  min-height: 72px;
  padding: 15px 0 12px;
  border-bottom: 1px solid var(--site-light-line);
}

html[data-route="site"] .brand {
  color: var(--site-light-text);
  text-shadow: none;
}

html[data-route="site"] .mark-img {
  box-shadow:
    0 0 0 1px rgba(73, 52, 98, .10),
    0 9px 24px rgba(88, 56, 132, .14);
}

html[data-route="site"] .landing-nav a {
  border-color: var(--site-light-line);
  background: rgba(255, 255, 255, .78);
  color: #62586c;
  transition: color .18s ease, border-color .18s ease, background .18s ease, transform .18s ease;
}

html[data-route="site"] .landing-nav a:hover {
  border-color: rgba(124, 92, 255, .24);
  background: #fff;
  color: #33283e;
  transform: translateY(-1px);
}

html[data-route="site"] .landing-language {
  border-color: var(--site-light-line);
  background: rgba(255, 255, 255, .92);
  color: var(--site-light-text);
  box-shadow: inset 0 1px 0 #fff;
}

html[data-route="site"] .landing-hero {
  position: relative;
  isolation: isolate;
  min-height: min(680px, calc(100svh - 88px));
  padding: 54px 0 58px;
}

html[data-route="site"] .landing-hero::before {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  left: 50%;
  z-index: -2;
  width: 100vw;
  border: 0;
  border-radius: 0;
  background:
    linear-gradient(120deg, rgba(255, 255, 255, .95) 0%, rgba(250, 247, 253, .92) 54%, rgba(244, 241, 250, .90) 100%);
  box-shadow: inset 0 -1px 0 rgba(62, 45, 82, .08);
  transform: translateX(-50%);
}

html[data-route="site"] .landing-hero::after {
  content: "";
  position: absolute;
  right: 3%;
  bottom: 8%;
  z-index: -1;
  width: 34%;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(124, 92, 255, .32), rgba(236, 72, 153, .24), transparent);
}

html[data-route="site"] .landing-hero-copy {
  position: relative;
  z-index: 2;
  padding-left: 42px;
}

html[data-route="site"] .landing-kicker {
  background: linear-gradient(100deg, #7255d8 0%, #dc3d8c 58%, #ef704a 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

html[data-route="site"] .landing-hero h1 {
  color: var(--site-light-text);
  font-size: 68px;
  line-height: 1.02;
  letter-spacing: 0;
}

html[data-route="site"] .landing-hero p,
html[data-route="site"] .landing-section-head p,
html[data-route="site"] .landing-split p {
  color: var(--site-light-dim);
}

html[data-route="site"] .landing-actions {
  gap: 10px;
}

html[data-route="site"] .landing-cta {
  overflow: hidden;
  border: 0;
  background-size: 100% 100%;
  background-position: center;
  background-repeat: no-repeat;
  background-clip: padding-box;
  box-shadow: none;
  transition: transform .18s ease, box-shadow .18s ease, filter .18s ease;
  -webkit-transform: translateZ(0);
  transform: translateZ(0);
}

html[data-route="site"] .landing-cta:hover {
  transform: translateY(-2px);
  filter: saturate(1.05);
}

html[data-route="site"] #landingOpenApp {
  background: linear-gradient(115deg, #66d8f0 0%, #5fc7ef 42%, #8d74f7 100%);
  color: #101722;
  box-shadow: 0 14px 32px rgba(73, 173, 224, .20);
}

html[data-route="site"] #landingRegister {
  background: linear-gradient(115deg, #8a65f4 0%, #ec4899 58%, #ff8250 100%);
  color: #17111c;
  box-shadow: 0 14px 32px rgba(224, 64, 153, .18);
}

html[data-route="site"] .landing-trust span {
  border: 1px solid rgba(54, 155, 122, .13);
  background: rgba(239, 250, 246, .92);
  color: #4d6a61;
}

html[data-route="site"] .landing-phone {
  position: relative;
  z-index: 1;
  width: min(365px, 100%);
}

html[data-route="site"] .landing-phone-img {
  filter: drop-shadow(0 28px 44px rgba(43, 33, 56, .20));
}

html[data-route="site"] .landing-phone-mobile {
  display: none;
}

html[data-route="site"] .landing-section {
  border-top-color: var(--site-light-line);
}

html[data-route="site"] .landing-section h2,
html[data-route="site"] .landing-grid h3,
html[data-route="site"] .landing-faq summary,
html[data-route="site"] .landing-money b {
  color: var(--site-light-text);
}

html[data-route="site"] .landing-section h2 {
  font-size: 46px;
  letter-spacing: 0;
}

html[data-route="site"] .landing-grid article,
html[data-route="site"] .landing-money,
html[data-route="site"] .landing-faq details {
  border-color: var(--site-light-line);
  border-radius: 12px;
  background: rgba(255, 255, 255, .94);
  box-shadow: var(--site-light-shadow);
}

html[data-route="site"] .landing-grid article {
  position: relative;
  overflow: hidden;
  min-height: 180px;
  padding: 20px;
}

html[data-route="site"] .landing-grid strong {
  border-radius: 8px;
  background: linear-gradient(135deg, #7a60e8 0%, #e44798 60%, #ff8150 100%);
  color: #fff;
  box-shadow: 0 8px 20px rgba(210, 62, 147, .17);
}

html[data-route="site"] .landing-grid p,
html[data-route="site"] .landing-faq p,
html[data-route="site"] .landing-money span {
  color: var(--site-light-dim);
}

html[data-route="site"] .landing-money {
  gap: 8px;
  padding: 12px;
}

html[data-route="site"] .landing-money div {
  border: 1px solid rgba(62, 45, 82, .08);
  background: #f6f4f9;
}

html[data-route="site"] .landing-faq details {
  padding: 0;
  overflow: hidden;
}

html[data-route="site"] .landing-faq summary {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  min-height: 58px;
  padding: 16px 52px 16px 18px;
  list-style: none;
  -webkit-tap-highlight-color: transparent;
  -webkit-user-select: none;
  user-select: none;
}

html[data-route="site"] .landing-faq summary::-webkit-details-marker {
  display: none;
}

html[data-route="site"] .landing-faq summary::after {
  content: "+";
  position: absolute;
  right: 18px;
  top: 50%;
  display: grid;
  place-items: center;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: #f0edf5;
  color: #7559cf;
  font-size: 18px;
  line-height: 1;
  transform: translateY(-50%);
  transition: transform .18s ease, background .18s ease;
}

html[data-route="site"] .landing-faq details[open] summary::after {
  background: #ebe5fa;
  transform: translateY(-50%) rotate(45deg);
}

html[data-route="site"] .landing-faq p {
  margin: 0;
  padding: 0 18px 18px;
}

@media (max-width: 900px) {
  html[data-route="site"] .landing-hero h1 {
    font-size: 50px;
  }

  html[data-route="site"] .landing-hero-copy {
    padding-left: 24px;
  }

  html[data-route="site"] .landing-section h2 {
    font-size: 38px;
  }
}

@media (max-width: 760px) {
  html[data-route="site"] .landing-topbar {
    align-items: center;
    min-height: 62px;
    padding: 11px 0 10px;
  }

  html[data-route="site"] .landing-nav a {
    display: none;
  }

  html[data-route="site"] .landing-hero {
    min-height: auto;
    gap: 4px;
    padding: 34px 0 18px;
  }

  html[data-route="site"] .landing-hero::before {
    top: 0;
    bottom: 0;
    left: 50%;
    width: 100vw;
    border-radius: 0;
  }

  html[data-route="site"] .landing-hero::after {
    display: none;
  }

  html[data-route="site"] .landing-hero-copy {
    padding: 0 18px 10px;
  }

  html[data-route="site"] .landing-phone {
    display: none;
  }

  html[data-route="site"] .landing-phone-mobile {
    position: relative;
    display: grid;
    align-items: center;
    grid-template-columns: minmax(0, 48%) minmax(0, 52%);
    width: calc(100% + 24px);
    min-height: 300px;
    margin: 24px -12px 20px;
    overflow: hidden;
    border: 1px solid rgba(80,61,107,.10);
    border-radius: 24px;
    background:
      linear-gradient(125deg, rgba(93,214,237,.20) 0%, rgba(146,96,247,.15) 48%, rgba(242,70,151,.14) 100%),
      rgba(255,255,255,.86);
    box-shadow:
      inset 0 1px 0 rgba(255,255,255,.92),
      0 20px 44px rgba(68,48,95,.10);
  }

  html[data-route="site"] .landing-phone-mobile::after {
    content: "";
    position: absolute;
    inset: 0;
    pointer-events: none;
    background: linear-gradient(105deg, rgba(255,255,255,.28), transparent 44%, rgba(255,255,255,.08));
  }

  html[data-route="site"] .landing-phone-mobile-copy {
    position: relative;
    z-index: 2;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    width: 100%;
    min-width: 0;
    padding: 24px 0 24px 20px;
  }

  html[data-route="site"] .landing-live {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    margin-bottom: 14px;
    padding: 7px 10px;
    border: 1px solid rgba(220,57,132,.13);
    border-radius: 999px;
    background: rgba(255,255,255,.75);
    color: #c8337b;
    font-size: 10px;
    font-weight: 800;
  }

  html[data-route="site"] .landing-live i {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: #f23877;
    box-shadow: 0 0 0 5px rgba(242,56,119,.10);
    animation: siteLivePulse 1.8s ease-in-out infinite;
  }

  html[data-route="site"] .landing-phone-mobile-title {
    max-width: 100%;
    color: #211927;
    font-family: "Space Grotesk", sans-serif;
    font-size: clamp(19px, 5.6vw, 24px);
    font-weight: 700;
    line-height: 1.08;
  }

  html[data-route="site"] .landing-phone-mobile-text {
    max-width: 100%;
    margin-top: 11px;
    color: #64596d;
    font-size: 12px;
    line-height: 1.45;
  }

  html[data-route="site"] .landing-phone-mobile img {
    position: absolute;
    right: 2px;
    bottom: -58px;
    z-index: 1;
    display: block;
    width: min(176px, 43vw);
    height: auto;
    filter: drop-shadow(0 20px 30px rgba(42,31,57,.24));
    animation: sitePhoneMobileFloat 5.4s ease-in-out infinite;
  }

  html[data-route="site"] .landing-hero h1 {
    font-size: 39px;
    line-height: 1.04;
  }

  html[data-route="site"] .landing-actions {
    display: grid;
    grid-template-columns: 1fr;
  }

  html[data-route="site"] .landing-cta {
    width: 100%;
  }

  html[data-route="site"] .landing-section {
    padding: 44px 0;
  }

  html[data-route="site"] .landing-section h2 {
    font-size: 32px;
  }

  html[data-route="site"] .landing-grid article {
    min-height: 0;
  }
}

@keyframes sitePhoneMobileFloat {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-9px); }
}

@keyframes siteLivePulse {
  0%, 100% { opacity: .72; transform: scale(.92); }
  50% { opacity: 1; transform: scale(1.08); }
}

@media (max-width: 390px) {
  html[data-route="site"] .landing {
    padding-right: 12px;
    padding-left: 12px;
  }

  html[data-route="site"] .landing-hero-copy {
    padding-right: 14px;
    padding-left: 14px;
  }

  html[data-route="site"] .landing-hero h1 {
    font-size: 35px;
  }
}
