:root {
  color-scheme: light;
  --blue: #0082fa;
  --paper: #fff;
  font-family: "HarmonyOS Sans SC", "Microsoft YaHei", "PingFang SC", sans-serif;
  color: #080808;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--paper); isolation: isolate; }
h1, h2, p { margin: 0; }
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; }
img { display: block; max-width: 100%; height: auto; }
a:focus-visible, button:focus-visible, summary:focus-visible { outline: 2px solid #004d9c; outline-offset: 4px; }
.site-header { position: relative; }
.header { width: min(1188px, calc(100% - 48px)); height: 98px; margin: auto; display: flex; align-items: center; justify-content: space-between; gap: 20px; }
.brand, nav, .button { display: inline-flex; align-items: center; }
.brand { gap: 12px; font-size: 14px; font-weight: 700; white-space: nowrap; }
.brand img { width: 29px; border-radius: 18%; }
nav { gap: 32px; font-size: 16px; }
nav a:not(.button):hover, .language:hover { color: #0066c7; }
.language { border: 0; background: none; color: inherit; padding: 0; font-size: 13px; }
.language sub { font-size: 10px; }
.button { justify-content: center; background: var(--blue); color: white; font-weight: 700; }
.button:hover { background: #0071dc; }
.nav-download { min-width: 48px; height: 24px; padding-inline: 10px; border-radius: 6px; font-size: 13px; }
.hero { padding-top: 65px; text-align: center; }
.hero h1 { font-size: 66px; line-height: 84px; font-weight: 700; }
.hero h1 b { font-weight: inherit; }
.hero h1 span, .feature h2, .policy h2 { color: var(--blue); }
.hero p { margin-top: 25px; font-size: 22px; line-height: 33px; }
.hero-download { width: 326px; min-height: 69px; gap: 13px; margin-top: 59px; border-radius: 19px; font-size: 28px; }
.hero-download svg { width: 34px; height: 33px; }
.hero-devices { width: 870px; margin: 54px auto 0; position: relative; left: 7px; }
.features { width: min(935px, calc(100% - 48px)); margin: 152px auto 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 42px 25px; }
.feature { isolation: isolate; min-height: 274px; padding: 36px 53px; border: 1px solid #c9def9; border-radius: 30px; background: linear-gradient(#e1e4fa33, transparent 65%) var(--paper); box-shadow: 0 3px 10px #00000018; }
.feature h2 { display: flex; align-items: center; justify-content: space-between; gap: 12px; font-size: 38px; line-height: 52px; }
.feature svg { width: 36px; height: 36px; flex: none; fill: none; stroke: currentColor; stroke-width: 3.4; stroke-linecap: round; stroke-linejoin: round; }
.feature p { font-size: 23px; line-height: 40px; margin-top: 9px; }
.setup { width: fit-content; max-width: calc(100% - 36px); min-height: 72px; margin: 126px auto 0; padding: 12px 47px; display: flex; align-items: center; gap: 10px; background: #eee; color: #525252; border: 1px solid #b8b8b8; border-radius: 23px; font-size: 27px; line-height: 38px; }
.setup span { width: 29px; height: 29px; flex: none; border: 1px solid currentColor; border-radius: 50%; text-align: center; line-height: 26px; color: #141414; }
.theme-preview { width: min(1110px, 100%); margin: 112px auto 0; position: relative; left: 3px; }
.guide {
  width: min(1188px, calc(100% - 48px));
  margin: 137px auto 0;
}
.guide h2 { margin-bottom: 46px; text-align: center; color: var(--blue); font-size: 40px; line-height: 52px; }
.guide details {
  border: 1px solid #c9def9;
  border-radius: 34px;
  background: linear-gradient(#f3f4fb, var(--paper) 70%);
  box-shadow: 0 4px 9px #0003;
}
.guide details + details { margin-top: 32px; }
.guide details[open] { background: linear-gradient(#dfe4fb, #f8f9fd 90%); }
.guide summary {
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  min-height: 118px;
  padding: 24px 102px;
  font-size: 28px;
  cursor: pointer;
}
.guide summary { user-select: none; }
.guide summary::-webkit-details-marker { display: none; }
.guide summary::after {
  content: "";
  flex: 0 0 26px;
  height: 26px;
  background: url(guide-arrow.png) center / contain no-repeat;
}
.guide details[open] summary::after { transform: rotate(180deg); }
.guide p { padding: 0 172px 46px 102px; color: #555; font-size: 26px; line-height: 43px; overflow-wrap: anywhere; }
.privacy {
  width: min(1094px, calc(100% - 48px));
  margin: 112px auto 0;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 48px;
  position: relative;
  z-index: 1;
}
.policy h2 { font-size: 34px; line-height: 45px; padding-bottom: 25px; border-bottom: 5px solid #006cff; }
.policy p { margin-top: 24px; font-size: 23px; line-height: 36px; overflow-wrap: anywhere; }
.theme-toggle {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  gap: 6px;
  flex: 0 0 54px;
  height: 26px;
  padding: 0;
  border: 1px solid #e8e8e8;
  border-radius: 20px;
  background: linear-gradient(#fff, #fafafa);
  box-shadow: 0 1px 4px #0002, inset 0 1px 1px #fff;
}
.theme-toggle img { flex: none; }
.theme-toggle:active { box-shadow: inset 0 1px 3px #0002; }
[data-dark] .theme-toggle {
  border-color: #394354;
  background: linear-gradient(#343d4d, #232a36);
  box-shadow: 0 1px 4px #0006, inset 0 1px 1px #ffffff24;
}
[data-dark] .theme-toggle .theme-sun { filter: grayscale(1) brightness(1.8); }
[data-dark] .theme-toggle .theme-moon { filter: brightness(0) saturate(100%) invert(57%) sepia(96%) saturate(1900%) hue-rotate(183deg); }
[data-dark] { color-scheme: dark; --paper: #171b24; color: #f3f5fc; }
[data-dark] .feature, [data-dark] .guide details { background: #222938; border-color: #394963; }
.theme-preview-clip { position: absolute; }
.theme-preview img { clip-path: url(#theme-card-outlines); }
[data-dark] .policy { background: transparent; border-color: transparent; box-shadow: none; }
[data-dark] .guide p, [data-dark] .setup, [data-dark] .setup span { color: #dce5f3; }
[data-dark] .setup { background: #292e39; border-color: #495267; }
[data-dark] .download::before { background: linear-gradient(var(--paper), #213863); }
[data-dark] .download-footer img { filter: invert(1); }
.download { margin-top: -300px; padding: 478px 0 97px; text-align: center; position: relative; }
.download::before { content: ""; position: absolute; inset: 0; z-index: -2; background: radial-gradient(ellipse 75% 120% at 50% 115%, #c7d9ff, transparent 100%), linear-gradient(var(--paper) 15%, #eef4fd 60%, #b8cff9); }
.download h2 { font-size: 70px; line-height: 86px; font-weight: 700; letter-spacing: .1em; text-indent: .1em; }
.download p { margin-top: 12px; font-size: 34px; line-height: 43px; }
.actions { display: flex; justify-content: center; gap: 56px; margin-top: 54px; }
.actions .button { gap: 16px; width: 238px; min-height: 71px; border: 3px solid var(--blue); border-radius: 25px; font-size: 30px; }
.actions .secondary { color: inherit; background: transparent; }
.actions .secondary:hover { background: #ffffff80; }
.download-footer { width: min(1188px, calc(100% - 48px)); margin: 108px auto 0; text-align: left; }
.download-footer a { display: inline-flex; align-items: center; gap: 18px; font-size: 28px; line-height: 44px; font-weight: 700; }
.download-footer img { width: 44px; }
.copy-line + .copy-line::before { content: " "; }
@media (min-width: 1100px) {
  html { scrollbar-width: none; }
  .feature:last-child p { font-size: 22.5px; }
  .copy-line { display: block; white-space: nowrap; }
  .copy-line + .copy-line::before { content: none; }
  .feature .copy-line:not(:last-child) { text-align: justify; text-align-last: justify; }
}
@media (max-width: 1099px) {
  .hero { padding: 70px 24px 0; }
  .hero h1 { font-size: clamp(34px, 6vw, 66px); line-height: 1.25; }
  .hero-devices { margin-top: 68px; }
  .features { margin-top: 80px; gap: 24px; }
  .feature { min-height: auto; padding: 28px; }
  .feature h2 { font-size: 30px; line-height: 1.3; }
  .feature p, .policy p { font-size: 20px; line-height: 1.65; }
  .setup { margin-top: 76px; padding-inline: 22px; font-size: 21px; line-height: 1.5; }
  .theme-preview { width: 94%; left: 0; margin-top: 85px; }
  .privacy { margin-top: 81px; display: grid; gap: 22px; }
  .policy { min-height: 0; padding: 25px 24px; border: 1px solid #c9def9; border-radius: 30px; background: linear-gradient(#f3f4fb, var(--paper) 70%); box-shadow: 0 4px 12px #0002; }
  .policy p { padding: 0; }
  .download { margin-top: 0; padding: 110px 0 50px; }
  .download h2 { font-size: clamp(36px, 6vw, 70px); line-height: 1.25; }
}
@media (max-width: 600px) {
  .header { width: calc(100% - 28px); gap: 8px; }
  .brand { font-size: 12px; gap: 5px; }
  .brand img { width: 23px; }
  nav { gap: clamp(5px, 2vw, 12px); font-size: 12px; }
  .nav-download { min-width: 0; padding-inline: 5px; font-size: 12px; }
  .hero { padding-top: 52px; }
  .hero p { margin-top: 16px; font-size: 17px; line-height: 1.6; }
  .hero-download { width: min(100%, 270px); min-height: 56px; margin-top: 30px; font-size: 21px; }
  .hero-download svg { width: 27px; }
  .hero-devices { margin-top: 45px; }
  .features { grid-template-columns: 1fr; margin-top: 55px; gap: 18px; }
  .feature { padding: 22px; }
  .feature p, .policy p { font-size: 17px; }
  .setup { margin-top: 48px; font-size: 17px; }
  .theme-preview { margin-top: 55px; }
  .policy h2 { font-size: 27px; line-height: 1.4; }
  .download { padding-top: 78px; }
  .download p { font-size: 23px; }
  .actions { gap: 14px; margin: 24px 20px 0; }
  .actions .button { gap: 8px; min-height: 54px; font-size: 21px; border-radius: 18px; }
  .actions img { width: 20px; }
  .download-footer { margin-top: 52px; }
  .download-footer a { font-size: 20px; }
  .download-footer img { width: 32px; }
  html[lang="en"] .header { flex-wrap: wrap; justify-content: center; padding-block: 8px; }
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

@media (min-width: 1250px) {
  .guide .copy-line { white-space: normal; }
}
@media (min-width: 1100px) and (max-width: 1249px) {
  .guide .copy-line { display: inline; white-space: normal; }
}
@media (max-width: 1099px) {
  .guide { margin-top: 80px; }
  .guide summary, .guide p { padding-inline: 36px; }
  .policy h2 { padding-bottom: 14px; }
  .policy p { margin-top: 14px; }
}
@media (max-width: 600px) {
  .theme-toggle { flex-basis: 38px; height: 23px; gap: 3px; }
  .header { height: auto; min-height: 72px; flex-wrap: wrap; justify-content: center; padding-block: 12px; }
  .guide { margin-top: 56px; }
  .guide h2 { font-size: 30px; line-height: 1.3; margin-bottom: 24px; }
  .guide details { border-radius: 22px; }
  .guide details + details { margin-top: 14px; }
  .guide summary { min-height: 64px; padding: 16px 20px; font-size: 20px; }
  .guide p { padding: 0 20px 20px; font-size: 17px; line-height: 1.65; }
  .privacy { grid-template-columns: 1fr; }
}
html[lang="en"] .hero-download {
  width: fit-content;
  max-width: 100%;
  padding-inline: clamp(16px, 3vw, 32px);
  font-size: clamp(16px, 5.3vw, 28px);
  white-space: nowrap;
}
html[lang="en"] .hero-download svg { flex: none; }
html[lang="en"] .download h2 {
  padding-inline: 20px;
  letter-spacing: .015em;
  text-indent: 0;
  text-wrap: balance;
}
html[lang="en"] .features {
  width: min(1188px, calc(100% - 48px));
}
html[lang="en"] .feature {
  padding-inline: clamp(22px, 4vw, 44px);
}
html[lang="en"] .feature h2 {
  font-size: clamp(24px, 3.1vw, 36px);
  line-height: 1.3;
}
html[lang="en"] .guide p { letter-spacing: -.015em; }

html[lang="en"] .guide p, .guide-filename { letter-spacing: .025em; }

.pointer-smoke {
  position: fixed;
  inset: 0;
  z-index: -1;
  width: 100%;
  height: 100%;
  pointer-events: none;
}

@media (hover: hover) and (pointer: fine) {
  .feature:hover { background-color: #e6f1ff; }
  [data-dark] .feature:hover { background-color: #2b3d57; }
}

@media (hover: hover) and (pointer: fine) and (prefers-reduced-motion: no-preference) {
  .feature { transform: scale(1); will-change: transform; transition: transform 300ms ease-in-out, background-color 300ms ease-in-out; }
  .feature:hover { transform: scale(1.05); }
}

@keyframes content-arrive {
  from { opacity: 0; translate: 0 7px; }
}

@media (hover: hover) and (pointer: fine) {
  .guide details:not([open]):hover { border-color: var(--blue); }
}

@media (prefers-reduced-motion: no-preference) {
  .heading-in-view { animation: content-arrive 340ms ease-out; }
  .guide details { transition: border-color 180ms ease-out; }
  .guide details[open] p { animation: content-arrive 220ms ease-out; }
  .guide summary::after { transition: transform 220ms ease-out; }
  .hero-download, .actions .button {
    transition: translate 180ms ease-out, box-shadow 180ms ease-out, background-color 180ms ease-out;
  }
  .hero-download:active, .actions .button:active { translate: 0 1px; }
}

@media (hover: hover) and (pointer: fine) and (prefers-reduced-motion: no-preference) {
  .hero-download:hover, .actions .button:hover {
    translate: 0 -2px;
    box-shadow: 0 5px 14px #0082fa35;
  }
  .hero-download:hover:active, .actions .button:hover:active {
    translate: 0 1px;
    box-shadow: none;
  }
}

@supports (interpolate-size: allow-keywords) and selector(details::details-content) {
  @media (prefers-reduced-motion: no-preference) {
    .guide details::details-content {
      interpolate-size: allow-keywords;
      block-size: 0;
      overflow: hidden;
      opacity: 0;
      transition: block-size 320ms cubic-bezier(.25, .7, .25, 1),
        opacity 200ms ease-out, content-visibility 320ms allow-discrete;
    }

    .guide details[open]::details-content {
      block-size: auto;
      opacity: 1;
    }

    .guide details[open] p { animation: none; }
  }
}

.hero-title-frame { position: relative; }
.hero-warp-mount { position: absolute; inset: -22% 0; pointer-events: none; }
.hero .hero-warp-mount .warp-text { height: 100%; min-height: 0; pointer-events: auto; }
.hero-warp-mount .warp-text__fallback { display: none; }
.hero-title-frame:has(canvas):not(:has(.warp-text__fallback)) h1 { opacity: 0; }

.warp-text {
  position: relative;
  display: block;
  width: 100%;
  min-height: 220px;
  overflow: hidden;
  isolation: isolate;
  border-radius: inherit;
}

.warp-text canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  display: block;
}

.warp-text__fallback {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0 7%;
  text-align: center;
  white-space: pre-line;
}
