:root {
  color-scheme: dark;
  --background: #0c080a;
  --surface: #171013;
  --text: #fff6f6;
  --muted: #c6b7bb;
  --red: #ff4a61;
  --border: #482129;
  --page-gutter: clamp(1rem, 2.15vw, 3.75rem);
  font-family: "Segoe UI", "Microsoft YaHei", "PingFang SC", system-ui, sans-serif;
  background: var(--background);
  color: var(--text);
}

*, *::before, *::after { box-sizing: border-box; }
body { margin: 0; }
a { color: inherit; text-decoration: none; }
button { font: inherit; }
img { display: block; max-width: 100%; }
h1, h2, h3, p, figure { margin: 0; }
[hidden] { display: none !important; }
:focus-visible { outline: 2px solid #ff8293; outline-offset: 4px; }
[id] { scroll-margin-top: 1rem; }

.wrap { width: calc(100% - 2 * var(--page-gutter)); margin-inline: auto; }
.skip-link {
  position: absolute;
  z-index: 5;
  top: .75rem;
  left: .75rem;
  padding: .75rem 1rem;
  background: var(--text);
  color: var(--background);
  border-radius: .5rem;
}
.skip-link:not(:focus) { clip-path: inset(50%); }
.site-header {
  background: linear-gradient(100deg, #0c070a 26%, #24090f);
  border-bottom: 1px solid #751827;
}
.header-inner, .footer-inner, .brand, nav {
  display: flex;
  align-items: center;
}
.header-inner, .footer-inner { justify-content: space-between; gap: 1rem; }
.header-inner { min-height: 4.5rem; }
.brand { gap: .55rem; font-size: 1.32rem; font-weight: 750; letter-spacing: -.035em; }
.brand-accent { color: #e5091b; }
.brand img { flex: none; mix-blend-mode: screen; filter: brightness(1.22); }
nav { flex-wrap: wrap; gap: clamp(.8rem, 3vw, 2rem); font-size: .9375rem; }
.header-inner nav { justify-content: flex-end; }
nav a { padding-block: .65rem; color: var(--muted); }
nav a:hover, .text-link:hover { color: var(--text); }
.language-picker { position: relative; flex: none; }
.language-picker::after {
  content: "";
  position: absolute;
  inset: 50% .75rem auto auto;
  width: .4rem;
  height: .4rem;
  border: solid var(--muted);
  border-width: 0 2px 2px 0;
  transform: translateY(-70%) rotate(45deg);
  pointer-events: none;
}
.language {
  appearance: none;
  font: inherit;
  color: var(--text);
  background: #231219;
  border: 1px solid #74414a;
  border-radius: .45rem;
  min-width: 3.5rem;
  min-height: 2.35rem;
  padding: .25rem 1.65rem .25rem .65rem;
  cursor: pointer;
}
.language:hover { border-color: var(--red); }

.hero {
  overflow: clip;
  background:
    radial-gradient(ellipse at 75% 40%, #690e2090, transparent 51%),
    radial-gradient(ellipse at 56% 100%, #4d0b1680, transparent 55%),
    #10080b;
  border-bottom: 1px solid var(--border);
}
.hero-inner {
  display: grid;
  grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr);
  align-items: center;
  gap: clamp(1.75rem, 5vw, 7rem);
  padding-block: clamp(2.75rem, 5vw, 5.5rem);
}
.hero-copy { position: relative; z-index: 1; animation: enter .5s ease-out both; }
@keyframes enter { from { opacity: 0; transform: translateY(.5rem); } }
h1 { font-size: clamp(2.65rem, 1.65rem + 3.8vw, 5.15rem); line-height: 1.02; font-weight: 800; letter-spacing: -.065em; }
h1 span { display: block; }
h1 span + span { color: var(--red); }
:lang(zh) h1 { font-size: clamp(2.65rem, 1.7rem + 3.3vw, 4.85rem); letter-spacing: -.04em; }
.hero-copy p { color: var(--muted); max-width: 30rem; margin-top: 1.3rem; font-size: 1.08rem; line-height: 1.6; text-wrap: pretty; }
.hero-actions { display: flex; flex-wrap: wrap; gap: .6rem; margin-top: 1.65rem; }
.button {
  min-height: 3rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .55rem;
  border: 1px solid transparent;
  border-radius: .58rem;
  padding: .62rem .87rem;
  font-size: .9375rem;
  font-weight: 700;
  line-height: 1.2;
  transition: transform .16s ease, background-color .16s ease, border-color .16s ease;
}
.button img { flex: none; }
.button:hover, .store-card:hover { transform: translateY(-2px); }
.button:active, .store-card:active { transform: translateY(0); }
.button-primary { background: linear-gradient(180deg, #df1434, #a10720); border-color: #f24459; box-shadow: 0 4px 18px #c3002b2e; }
.button-primary:hover { border-color: #ff8a98; }
.button-secondary { background: linear-gradient(180deg, #302229, #1b1518); border-color: #69515a; }
.button-secondary:hover { border-color: #b57c84; }
.text-link { color: #ff9eaa; text-underline-offset: .22em; text-decoration: underline; }
.hero-download { display: inline-block; margin-top: .95rem; font-size: .9375rem; }

.platforms { margin-top: clamp(1.45rem, 3.5vw, 2.6rem); padding-top: 1rem; border-top: 1px solid #60323d; }
.platforms h2 { font-size: 1rem; font-weight: 650; }
.platforms ul {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: clamp(.35rem, 1vw, .8rem);
  max-width: 35rem;
  margin: .8rem 0 0;
  padding: 0;
  list-style: none;
}
.platforms li {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: .68rem .15rem .44rem;
  border: 1px solid #5e3540;
  border-radius: .65rem;
  background: #10090dc7;
  font-size: clamp(.72rem, 1.15vw, .9rem);
  font-weight: 650;
  line-height: 1.3;
  text-align: center;
}
.platforms img { width: clamp(2.15rem, 3.5vw, 3.4rem); height: auto; aspect-ratio: 1; border-radius: 24%; margin-bottom: .42rem; }
.platforms small { color: var(--muted); font-size: .76rem; font-weight: 500; }

.hero-visual {
  --arrow-size: clamp(1.95rem, 3vw, 2.65rem);
  container: hero-demo / inline-size;
  position: relative;
  min-width: 0;
  padding-inline: calc(var(--arrow-size) + .2rem);
  border-radius: 1rem;
}
.rotation-arrow {
  position: absolute;
  z-index: 2;
  inset-block-start: 50%;
  display: grid;
  place-items: center;
  width: var(--arrow-size);
  height: var(--arrow-size);
  padding: 0;
  border: 1px solid #9b4e63;
  border-radius: 50%;
  background: linear-gradient(155deg, #40202c, #180d14);
  color: #ffe6eb;
  transform: translateY(-50%);
  cursor: pointer;
  transition: border-color .16s ease, background-color .16s ease, scale .16s ease;
}
.rotation-previous { inset-inline-start: 0; }
.rotation-next { inset-inline-end: 0; }
.rotation-arrow::before {
  content: "";
  width: .53rem;
  height: .53rem;
  border: solid currentColor;
  border-width: 0 2px 2px 0;
  transform: rotate(-45deg);
  margin-inline-end: .13rem;
}
.rotation-previous::before { transform: rotate(135deg); margin-inline: .13rem 0; }
.rotation-arrow:hover { border-color: #f98298; background: #532031; }
.rotation-arrow:active { scale: .94; }
.rotation-status { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.demo-stage {
  position: relative;
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  align-items: start;
  min-block-size: clamp(23rem, 78cqi, 52rem);
  padding: clamp(1rem, 3.5cqi, 3rem) .55rem 1.5rem 1.2rem;
}
@media (prefers-reduced-motion: no-preference) {
  .demo-panel.is-entering .creator-card, .demo-panel.is-entering .popup-card {
    animation: reveal-demo .25s ease-out backwards;
  }
  @keyframes reveal-demo { from { opacity: .35; } }
}
.demo-stage::before {
  content: "";
  position: absolute;
  inset: 9% 4% 5% 7%;
  background: radial-gradient(ellipse at 58% 55%, #79182e88, transparent 67%);
  pointer-events: none;
}
.creator-card {
  height: auto;
  background: #0b080a;
  border: 1px solid;
  border-radius: 1rem;
}
.creator-card {
  --card-angle: -5deg;
  position: relative;
  grid-area: 1 / 1 / 2 / 10;
  width: min(100%, 58rem);
  justify-self: end;
  overflow: clip;
  border-color: #794453;
  box-shadow: 0 1.25rem 3rem #000a;
  transform: rotate(var(--card-angle));
}
.creator-shot { width: 100%; height: auto; }
.creator-logo {
  position: absolute;
  inset: clamp(.45rem, 1.35cqi, .9rem) clamp(.48rem, 1.4cqi, .9rem) auto auto;
  width: clamp(1.75rem, 5.15cqi, 3.3rem);
  height: auto;
  border: 1px solid #b58291;
  border-radius: 23%;
  box-shadow: 0 .35rem 1rem #000b;
}
.hero-mark {
  grid-area: 1 / 10 / 2 / -1;
  justify-self: end;
  width: min(112%, 21rem);
  max-width: none;
  height: auto;
  margin-top: -4.25cqi;
  clip-path: inset(8% 7%);
  mix-blend-mode: screen;
  filter: brightness(1.35) saturate(1.08);
}
.popup-card {
  position: absolute;
  inset: auto 2.2cqi 1.3rem auto;
  z-index: 1;
  width: min(64cqi, 36rem);
  filter: drop-shadow(0 .95rem 1.65rem #090406d9);
}
.popup-shot, .popup-detail {
  border: 1px solid #c76b7e;
  border-radius: 0 .85rem .85rem .85rem;
}
.popup-shot { width: 100%; height: auto; }
.telegram-stage .popup-card { width: min(66cqi, 37rem); }
.instagram-stage .popup-card { width: min(56cqi, 31.5rem); }
.card-summary {
  display: flex;
  align-items: baseline;
  gap: .42rem;
  width: max-content;
  max-width: 100%;
  padding: clamp(.45rem, 1cqi, .76rem) clamp(.55rem, 1.5cqi, 1rem);
  background: linear-gradient(110deg, #39141e, #1b0e14);
  border: 1px solid #c76b7e;
  border-bottom: 0;
  border-radius: .75rem .75rem 0 0;
}
.card-summary strong { color: #fff5f6; font-size: clamp(1.42rem, 4.2cqi, 2.65rem); font-variant-numeric: tabular-nums; line-height: .98; }
.card-summary > span { color: #ffc1cc; font-size: clamp(.67rem, 1.45cqi, .86rem); font-weight: 650; line-height: 1.25; }
.instagram-preview-stage .creator-card { --card-angle: -3deg; grid-column: 2 / 10; }
.instagram-preview-stage .popup-card { width: min(68cqi, 36rem); inset-block-end: clamp(2.6rem, 10cqi, 7rem); }
.card-detail-title { padding: .6em .8em; border: 1px solid #c76b7e; border-bottom: 0; border-radius: 0 .75rem 0 0; background: #211018; font-size: clamp(.75rem, 1.8cqi, 1rem); font-weight: 700; }
.popup-detail { position: relative; aspect-ratio: 621 / 137; overflow: clip; border-start-end-radius: 0; }
.popup-detail img { position: absolute; inset: auto 0 0; border: 0; border-radius: 0; }

@container hero-demo (width < 34rem) {
  .demo-stage { min-block-size: max(20rem, 98cqi); padding: .85rem .1rem 1rem .5rem; }
  .creator-card { --card-angle: -3deg; }
  .popup-card, .telegram-stage .popup-card { width: min(81cqi, 25rem); inset: auto 0 .25rem auto; }
  .instagram-stage .popup-card { width: min(76cqi, 23rem); }
  .instagram-preview-stage .popup-card { width: min(84cqi, 25rem); inset-block-end: 1.8rem; }
}

.section { padding-block: clamp(2rem, 5vw, 3.75rem); }
.section h2 { border-inline-start: 4px solid var(--red); padding-inline-start: .75rem; font-size: clamp(1.55rem, 1.15rem + 1.5vw, 2.1rem); line-height: 1.18; letter-spacing: -.035em; }
.feature-section { background: linear-gradient(105deg, #130c10, #260d14 57%, #140d10); }
.feature-list { display: grid; grid-template-columns: repeat(3, 1fr); margin-top: 1.5rem; }
.feature-list article { display: flex; gap: .85rem; padding: .1rem 1.2rem; border-inline-start: 1px solid #673039; }
.feature-list article:first-child { padding-inline-start: 0; border: 0; }
.feature-list img { flex: none; align-self: flex-start; object-fit: contain; }
.feature-list h3, .component h3 { font-size: 1.13rem; line-height: 1.3; }
.feature-list p, .component p, .questions p { color: var(--muted); font-size: 1rem; line-height: 1.55; margin-top: .4rem; }
.feature-list p { text-wrap: pretty; }

.install-section { border-block: 1px solid var(--border); background: radial-gradient(ellipse at 50% 68%, #2c0b15, transparent 75%), #0f090c; }
.store-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1rem; margin-top: 1.3rem; }
.store-card {
  display: flex;
  align-items: center;
  gap: .85rem;
  background: var(--surface);
  border: 1px solid #76303d;
  border-radius: .75rem;
  padding: 1rem;
  min-height: 4.75rem;
  font-weight: 650;
  transition: transform .16s ease, border-color .16s ease;
}
.store-card:hover { border-color: var(--red); }
.store-card img { flex: none; }
.store-action { margin-inline-start: auto; color: #ffa1ad; font-size: .875rem; font-weight: 650; text-align: end; }
.component {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-top: 1rem;
  padding: clamp(1rem, 3vw, 1.5rem);
  border: 1px solid #a03448;
  border-radius: .75rem;
  background: linear-gradient(110deg, #351319, #191015 60%);
}
.component-icon { flex: none; padding: .65rem; border: 1px solid #843145; border-radius: .65rem; background: #230a12; }
.component-copy { flex: 1; }
.component-action { display: grid; justify-items: center; gap: .35rem; flex: none; margin-inline-start: .3rem; }
.release-info { font-size: .8125rem; color: var(--muted); }

.help-inner { display: grid; grid-template-columns: minmax(10rem, 1fr) minmax(0, 2fr); gap: 1.4rem; align-items: start; }
.questions { border-top: 1px solid var(--border); }
.questions details { border-bottom: 1px solid var(--border); padding: .8rem 0; }
.questions summary { cursor: pointer; padding: .15rem 0; font-weight: 650; }
.questions summary::marker { color: var(--red); }
.questions p { margin-inline-start: 1rem; }
.site-footer { border-top: 1px solid var(--border); background: #10080b; }
.footer-inner { min-height: 4.25rem; }
.footer-inner .brand { font-size: 1.1rem; }

@media (max-width: 62rem) {
  .hero-inner { gap: 1.6rem; }
  .hero-actions { align-items: flex-start; flex-direction: column; }
  .feature-list article { padding-inline: .8rem; gap: .55rem; }
  .feature-list img { width: 1.9rem; height: 1.9rem; }
}
@media (max-width: 52rem) {
  .hero-inner { grid-template-columns: minmax(0, 1fr); gap: 2rem; }
  .hero-actions { flex-direction: row; }
}
@media (max-width: 47rem) {
  .feature-list { grid-template-columns: minmax(0, 1fr); gap: 1rem; }
  .feature-list article, .feature-list article:first-child { padding: 0 0 .8rem; border: 0; border-bottom: 1px solid var(--border); }
  .store-grid, .help-inner { grid-template-columns: minmax(0, 1fr); }
  .component { flex-wrap: wrap; }
  .component-copy { flex-basis: calc(100% - 5rem); }
  .component-action { justify-items: start; margin-inline-start: 0; }
}
@media (max-width: 31rem) {
  .header-inner { flex-wrap: wrap; gap: .1rem; padding-block: .35rem; }
  .header-inner nav { justify-content: start; width: 100%; gap: .15rem .75rem; }
  .language-picker { margin-inline-start: auto; }
  .hero-inner { padding-block: 2.4rem; }
  .hero-copy h1 { overflow-wrap: anywhere; }
  .hero-actions { flex-direction: column; }
  .store-card { gap: .55rem; padding: .8rem; }
  .footer-inner { flex-wrap: wrap; gap: 0 .5rem; padding-block: .45rem; }
}
@media (max-width: 22rem) {
  .platforms ul { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .button:hover, .store-card:hover { transform: none !important; }
}
