:root {
  --app-ink: #17172a;
  --app-ink-soft: #55556d;
  --app-paper: #f7f7fb;
  --app-card: #ffffff;
  --app-line: rgba(38, 36, 68, 0.11);
  --app-violet: #815fe5;
  --app-violet-deep: #5840b9;
  --app-lilac: #d6c8ff;
  --app-night: #12132e;
  --app-night-soft: #25265b;
  --app-blue: #85a8ff;
  --app-display: var(
    --font-editorial,
    "Songti SC",
    STSong,
    "SimSun",
    "Times New Roman",
    serif
  );
  --app-body: var(
    --font-ui,
    -apple-system,
    BlinkMacSystemFont,
    "PingFang SC",
    "Hiragino Sans GB",
    "Microsoft YaHei",
    Arial,
    sans-serif
  );
}

html {
  scroll-behavior: smooth;
}

body.app-product-body {
  margin: 0;
  overflow-x: clip;
  background: var(--app-paper);
  color: var(--app-ink);
  font-family: var(--app-body);
  font-variant-numeric: tabular-nums;
}

body.app-product-body .single-page-view {
  display: block;
  background: var(--app-paper);
}

body.app-product-body .blog-nav {
  position: fixed;
  top: 0;
  right: 0;
  left: 0;
  z-index: 70;
  border-bottom: 1px solid transparent;
  background: transparent;
  backdrop-filter: none;
  box-shadow: none;
  transition:
    background 0.24s ease,
    border-color 0.24s ease,
    box-shadow 0.24s ease,
    backdrop-filter 0.24s ease;
}

body.app-product-body .blog-nav.is-content {
  border-bottom-color: rgba(38, 36, 68, 0.1);
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: saturate(180%) blur(16px);
  box-shadow: 0 10px 30px rgba(31, 27, 63, 0.06);
}

body.app-product-body .blog-logo img {
  filter: brightness(0) invert(1);
  transition: filter 0.2s ease;
}

body.app-product-body .blog-nav.is-content .blog-logo img {
  filter: none;
}

body.app-product-body .blog-links a {
  color: rgba(255, 255, 255, 0.64);
  transition: color 0.2s ease;
}

body.app-product-body .blog-links a:hover,
body.app-product-body .blog-links a.active {
  color: #fff;
}

body.app-product-body .blog-nav.is-content .blog-links a {
  color: #55556d;
}

body.app-product-body .blog-nav.is-content .blog-links a:hover,
body.app-product-body .blog-nav.is-content .blog-links a.active {
  color: #5840b9;
}

body.app-product-body .blog-cta {
  display: none;
  border: 1px solid rgba(255, 255, 255, 0.18);
  background: linear-gradient(135deg, #9878ef, #6e4cd3);
  box-shadow:
    0 12px 30px rgba(8, 8, 30, 0.28),
    inset 0 1px 0 rgba(255, 255, 255, 0.28);
}

.app-product-main {
  min-width: 0;
  background: var(--app-paper);
}

.app-launch-hero {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  min-height: 780px;
  background: #17183d;
  color: #fff;
}

.app-launch-backdrop {
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  z-index: 0;
  height: 100%;
  display: block;
  pointer-events: none;
}

.app-launch-backdrop img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  object-position: center bottom;
}

.app-launch-hero::before,
.app-launch-hero::after {
  position: absolute;
  z-index: 1;
  content: "";
  pointer-events: none;
}

.app-launch-hero::before {
  inset: 0;
  background:
    linear-gradient(
      90deg,
      rgba(10, 10, 31, 0.94) 0%,
      rgba(12, 12, 37, 0.86) 30%,
      rgba(13, 13, 42, 0.6) 50%,
      rgba(12, 12, 40, 0.2) 76%,
      rgba(10, 10, 33, 0.08) 100%
    ),
    linear-gradient(
      180deg,
      rgba(8, 8, 29, 0.2) 0%,
      rgba(8, 8, 29, 0.04) 52%,
      rgba(8, 8, 29, 0.24) 100%
    );
}

.app-launch-hero::after {
  display: none;
}

.app-launch-hero-inner {
  position: relative;
  z-index: 2;
  width: min(1500px, calc(100% - 48px));
  min-height: max(780px, 100svh);
  margin: 0 auto;
  padding: 0;
}

.app-launch-copy {
  position: relative;
  z-index: 2;
  max-width: 760px;
  margin-top: clamp(76px, 8vh, 112px);
}

.app-kicker {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin: 0 0 24px;
  color: var(--app-lilac);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
}

.app-kicker::before {
  width: 22px;
  height: 1px;
  background: currentColor;
  content: "";
}

.app-launch-title {
  max-width: 820px;
  margin: 0;
  color: #fff;
  font-family: var(--app-display);
  font-size: clamp(46px, 5.4vw, 74px);
  font-weight: 600;
  letter-spacing: 0;
  line-height: 1.05;
  text-wrap: balance;
}

.app-launch-title em {
  color: #c79cff;
  font-style: normal;
}

.app-launch-deck {
  max-width: 700px;
  margin: 28px 0 0;
  color: rgba(244, 243, 255, 0.75);
  font-size: clamp(17px, 1.65vw, 21px);
  line-height: 1.78;
}

.app-launch-deck p {
  margin: 0;
}

.app-launch-deck p + p {
  margin-top: 12px;
}

.app-launch-deck strong {
  color: rgba(255, 255, 255, 0.94);
  font-weight: 600;
}

.app-mobile-downloads {
  max-width: 620px;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
  margin-top: 32px;
}

.app-mobile-download-link {
  min-width: 0;
  min-height: 76px;
  display: grid;
  gap: 8px;
  place-items: center;
  padding: 12px 8px 10px;
  border: 1px solid rgba(255, 255, 255, 0.17);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.08);
  color: rgba(255, 255, 255, 0.9);
  font-size: 11px;
  font-weight: 600;
  line-height: 1.15;
  text-align: center;
  transition:
    border-color 0.18s ease,
    background 0.18s ease,
    transform 0.18s ease;
}

.app-mobile-download-link:hover {
  border-color: rgba(255, 255, 255, 0.3);
  background: rgba(255, 255, 255, 0.13);
  color: #fff;
  transform: translateY(-2px);
}

.app-mobile-download-icon {
  width: 25px;
  height: 25px;
  display: grid;
  place-items: center;
}

.app-mobile-download-icon svg {
  width: 100%;
  height: 100%;
  display: block;
  fill: currentColor;
}

.app-mobile-download-link:focus-visible,
.app-download-card a:focus-visible,
.app-feature a:focus-visible {
  outline: 3px solid rgba(194, 160, 255, 0.56);
  outline-offset: 4px;
}

.app-product-layout {
  position: relative;
  z-index: 1;
  width: min(1240px, calc(100% - 64px));
  display: grid;
  grid-template-columns: minmax(0, 1fr) 320px;
  gap: clamp(42px, 6vw, 76px);
  align-items: start;
  margin: 0 auto;
  padding: 86px 0 110px;
  background: var(--app-paper);
}

.app-story {
  min-width: 0;
}

.app-section-intro {
  max-width: 760px;
  margin-bottom: 82px;
}

.app-section-label {
  margin: 0 0 14px;
  color: var(--app-violet-deep);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.app-section-intro h2 {
  margin: 0;
  color: var(--app-ink);
  font-family: var(--app-display);
  font-size: clamp(36px, 4.2vw, 58px);
  font-weight: 600;
  letter-spacing: 0;
  line-height: 1.08;
  text-wrap: balance;
}

.app-section-intro p {
  max-width: 720px;
  margin: 22px 0 0;
  color: var(--app-ink-soft);
  font-size: 17px;
  line-height: 1.85;
}

.app-section-intro p + p {
  margin-top: 12px;
}

.app-feature-list {
  display: grid;
  gap: 112px;
}

.app-feature {
  position: relative;
  display: grid;
  grid-template-columns: minmax(260px, 0.84fr) minmax(0, 1fr);
  gap: clamp(44px, 6vw, 78px);
  align-items: center;
}

.app-feature:nth-child(even) {
  grid-template-columns: minmax(0, 1fr) minmax(260px, 0.84fr);
}

.app-feature:nth-child(even) .app-feature-media {
  order: 2;
}

.app-feature::after {
  position: absolute;
  top: calc(100% + 55px);
  left: 16%;
  width: 68%;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(110, 81, 190, 0.18), transparent);
  content: "";
}

.app-feature:last-child::after {
  display: none;
}

.app-feature-media {
  position: relative;
  width: min(100%, 390px);
  justify-self: center;
}

.app-feature-media::before {
  display: none;
}

.app-feature-media picture {
  display: block;
  overflow: visible;
}

.app-feature-media img {
  width: 100%;
  height: auto;
  display: block;
  filter: drop-shadow(0 28px 30px rgba(39, 32, 83, 0.16));
}

#today-ai .app-feature-media img {
  transform: translateY(-10.9%) scale(1.216);
  transform-origin: center top;
}

.app-feature-copy {
  min-width: 0;
}

.app-feature-number {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin: 0 0 16px;
  color: var(--app-violet-deep);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.app-feature-number::before {
  width: 22px;
  height: 1px;
  background: currentColor;
  content: "";
}

.app-feature h3 {
  margin: 0;
  color: var(--app-ink);
  font-family: var(--app-display);
  font-size: clamp(30px, 3.2vw, 44px);
  font-weight: 600;
  letter-spacing: 0;
  line-height: 1.14;
  text-wrap: balance;
}

.app-feature-body > p {
  margin: 20px 0 0;
  color: var(--app-ink-soft);
  font-size: 16px;
  line-height: 1.82;
}

.app-feature-body > p + p {
  margin-top: 12px;
}

.app-feature-points {
  display: grid;
  gap: 11px;
  margin: 24px 0 0;
  padding: 0;
  list-style: none;
}

.app-feature-points li {
  position: relative;
  padding-left: 22px;
  color: #37364d;
  font-size: 13px;
  font-weight: 500;
  line-height: 1.55;
}

.app-feature-points li::before {
  position: absolute;
  top: 0.6em;
  left: 2px;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--app-violet);
  box-shadow: 0 0 0 4px #eee9ff;
  content: "";
}

.app-download-rail {
  position: sticky;
  top: 88px;
}

.app-download-card {
  padding: 24px;
  border: 1px solid var(--app-line);
  border-radius: 26px;
  background: rgba(255, 255, 255, 0.96);
  box-shadow: 0 22px 60px rgba(42, 35, 82, 0.11);
}

.app-download-card .app-section-label {
  margin-bottom: 9px;
}

.app-download-card h2 {
  margin: 0;
  color: var(--app-ink);
  font-family: var(--app-display);
  font-size: 24px;
  font-weight: 600;
  letter-spacing: 0;
  line-height: 1.25;
}

.app-download-card > p {
  margin: 11px 0 20px;
  color: var(--app-ink-soft);
  font-size: 12px;
  line-height: 1.62;
}

.app-store-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}

.app-store-qr {
  display: grid;
  gap: 10px;
  padding: 10px;
  border: 1px solid var(--app-line);
  border-radius: 18px;
  background: #faf9fd;
  color: var(--app-ink);
  transition:
    border-color 0.18s ease,
    transform 0.18s ease;
}

.app-store-qr:hover {
  border-color: rgba(103, 73, 190, 0.34);
  color: var(--app-violet-deep);
  transform: translateY(-2px);
}

.app-store-qr img {
  width: 100%;
  aspect-ratio: 1;
  display: block;
  border-radius: 10px;
  background: #fff;
  object-fit: contain;
  image-rendering: pixelated;
}

.app-store-qr span {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 6px;
  font-size: 11px;
  font-weight: 600;
}

.app-store-qr span::after {
  color: #9277d6;
  content: "↗";
}

.app-download-links {
  display: grid;
  gap: 9px;
  margin-top: 14px;
}

.app-download-link {
  min-height: 50px;
  display: grid;
  grid-template-columns: 34px minmax(0, 1fr) auto;
  gap: 10px;
  align-items: center;
  padding: 8px 13px;
  border: 1px solid var(--app-line);
  border-radius: 16px;
  color: var(--app-ink);
  transition:
    border-color 0.18s ease,
    background 0.18s ease;
}

.app-download-link:hover {
  border-color: rgba(103, 73, 190, 0.28);
  background: #f7f3ff;
  color: var(--app-violet-deep);
}

.app-download-icon {
  width: 34px;
  height: 34px;
  display: grid;
  place-items: center;
  border-radius: 11px;
  background: #efebfb;
  color: var(--app-violet-deep);
  font-size: 10px;
  font-weight: 600;
  letter-spacing: -0.02em;
}

.app-download-link strong,
.app-download-link small {
  display: block;
}

.app-download-link strong {
  font-size: 12px;
  line-height: 1.3;
}

.app-download-link small {
  margin-top: 2px;
  color: var(--app-ink-soft);
  font-size: 9px;
  line-height: 1.35;
}

.app-download-link > span:last-child {
  color: #8c75c5;
  font-size: 12px;
}

.app-download-note {
  margin: 14px 2px 0 !important;
  color: #747187 !important;
  font-size: 10px !important;
  line-height: 1.55 !important;
}

@media (min-width: 861px) {
  .app-launch-hero-inner {
    box-sizing: border-box;
    padding: clamp(126px, 13vh, 160px) 0 clamp(54px, 6vh, 78px);
  }

  .app-launch-copy {
    width: min(55vw, 840px);
    max-width: none;
    margin: 0 0 0 clamp(18px, 2.4vw, 42px);
  }

  html[lang="en"] .app-launch-title {
    font-size: clamp(42px, 5vw, 70px);
  }

  .app-launch-deck {
    max-width: 740px;
  }

  .app-mobile-downloads {
    max-width: 680px;
  }

}

body.app-product-body .site-footer {
  background: #101126;
  color: rgba(255, 255, 255, 0.74);
}

body.app-product-body .site-footer h4,
body.app-product-body .site-footer a {
  color: rgba(255, 255, 255, 0.82);
}

body.app-product-body .site-footer a:hover {
  color: #cdbbff;
}

body.app-product-body .site-footer .foot-logo {
  filter: brightness(0) invert(1);
}

@media (max-width: 1080px) {
  .app-launch-hero-inner {
    grid-template-columns: minmax(0, 1fr) minmax(360px, 420px);
    gap: 46px;
  }

  .app-product-layout {
    grid-template-columns: minmax(0, 1fr) 292px;
    gap: 40px;
  }

  .app-feature {
    gap: 40px;
  }

}

@media (max-width: 860px) {
  .app-launch-hero {
    min-height: 0;
  }

  .app-launch-backdrop img {
    object-position: 70% bottom;
  }

  .app-launch-hero::before {
    background:
      linear-gradient(
        90deg,
        rgba(9, 8, 29, 0.96) 0%,
        rgba(10, 9, 31, 0.88) 48%,
        rgba(10, 9, 31, 0.62) 76%,
        rgba(10, 9, 31, 0.46) 100%
      ),
      linear-gradient(
        180deg,
        rgba(8, 8, 29, 0.3) 0%,
        rgba(8, 8, 29, 0.12) 44%,
        rgba(8, 8, 29, 0.48) 100%
      );
  }

  .app-launch-hero-inner {
    min-height: 100svh;
    display: flex;
    align-items: center;
    padding: 46px 0 58px;
    box-sizing: border-box;
  }

  .app-launch-copy {
    max-width: 720px;
    margin-top: 0;
  }

  .app-product-layout {
    display: flex;
    flex-direction: column;
    padding-top: 86px;
  }

  .app-download-rail {
    position: static;
    order: -1;
    width: 100%;
  }

  .app-download-card {
    display: grid;
    grid-template-columns: minmax(180px, 0.8fr) minmax(0, 1.2fr);
    gap: 0 24px;
    align-items: start;
  }

  .app-download-card > .app-section-label,
  .app-download-card > h2,
  .app-download-card > p,
  .app-download-note {
    grid-column: 1;
  }

  .app-store-grid,
  .app-download-links {
    grid-column: 2;
  }

  .app-store-grid {
    grid-row: 1 / span 3;
  }
}

@media (max-width: 700px) {
  body.app-product-body .blog-cta {
    display: inline-flex;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transform: translateY(-6px);
    transition:
      opacity 0.2s ease,
      visibility 0.2s ease,
      transform 0.2s ease,
      background 0.18s ease,
      box-shadow 0.18s ease;
  }

  body.app-product-body .blog-cta.is-visible {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transform: translateY(0);
  }

  .app-launch-backdrop img {
    object-position: 72% bottom;
  }

  .app-launch-hero::before {
    background:
      linear-gradient(
        90deg,
        rgba(8, 7, 27, 0.97) 0%,
        rgba(9, 8, 29, 0.9) 48%,
        rgba(9, 8, 29, 0.7) 78%,
        rgba(9, 8, 29, 0.58) 100%
      ),
      linear-gradient(
        180deg,
        rgba(8, 7, 27, 0.38) 0%,
        rgba(8, 7, 27, 0.14) 42%,
        rgba(8, 7, 27, 0.54) 100%
      );
  }

  .app-launch-hero-inner,
  .app-product-layout {
    width: calc(100% - 40px);
  }

  .app-launch-hero-inner {
    min-height: 0;
    gap: 42px;
    min-height: 100svh;
    padding: 34px 0 46px;
  }

  .app-launch-title {
    font-size: 42px;
    letter-spacing: 0;
    line-height: 1.12;
  }

  html[lang="en"] .app-launch-title {
    font-size: 39px;
  }

  .app-launch-deck {
    font-size: 16px;
    line-height: 1.75;
  }

  .app-mobile-downloads {
    gap: 8px;
    margin-top: 24px;
  }

  .app-mobile-download-link {
    min-height: 68px;
    gap: 7px;
    padding: 10px 5px 9px;
    border-radius: 16px;
    font-size: 10px;
  }

  .app-mobile-download-icon {
    width: 23px;
    height: 23px;
  }

  .app-product-layout {
    gap: 72px;
    padding: 76px 0 84px;
  }

  .app-download-rail {
    display: none;
  }

  .app-feature-list {
    gap: 94px;
  }

  .app-feature,
  .app-feature:nth-child(even) {
    grid-template-areas:
      "heading heading"
      "body media";
    grid-template-columns: minmax(0, 1fr) minmax(118px, 40%);
    gap: 14px;
    align-items: start;
    scroll-margin-top: 82px;
  }

  .app-feature-copy {
    display: contents;
  }

  .app-feature-heading {
    grid-area: heading;
  }

  .app-feature-body {
    min-width: 0;
    grid-area: body;
  }

  .app-feature:nth-child(even) .app-feature-media {
    order: initial;
  }

  .app-feature-media {
    width: min(40vw, 158px);
    height: auto;
    grid-area: media;
    align-self: start;
    justify-self: end;
  }

  .app-feature-media picture {
    height: auto;
  }

  .app-feature-media img {
    width: 100%;
    max-width: 100%;
    height: auto;
    margin: 0 0 0 auto;
    object-fit: contain;
  }

  .app-feature-number {
    margin-bottom: 10px;
  }

  .app-feature h3 {
    font-size: clamp(28px, 8.4vw, 36px);
  }

  .app-feature-body > p {
    margin-top: 0;
    font-size: 14px;
    line-height: 1.72;
  }

  .app-feature-body > p + p {
    margin-top: 10px;
  }

  .app-feature-points {
    gap: 8px;
    margin-top: 16px;
  }

  .app-feature-points li {
    padding-left: 17px;
    font-size: 12px;
    line-height: 1.55;
  }

  .app-feature-points li::before {
    left: 1px;
    width: 5px;
    height: 5px;
    box-shadow: 0 0 0 3px #eee9ff;
  }

}

@media (max-width: 430px) {
  body.app-product-body .blog-nav-inner {
    padding-right: 14px;
    padding-left: 14px;
  }

  body.app-product-body .blog-cta {
    max-width: 182px;
    padding: 0 12px;
    font-size: 11px;
  }

  .app-launch-hero-inner,
  .app-product-layout {
    width: calc(100% - 32px);
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  body.app-product-body .blog-nav,
  body.app-product-body .blog-logo img,
  body.app-product-body .blog-links a,
  body.app-product-body .blog-cta,
  .app-mobile-download-link,
  .app-store-qr,
  .app-download-link {
    transition: none;
  }
}
