:root {
  color-scheme: light;
  --paper: #fff8ef;
  --white: #fff;
  --ink: #22142c;
  --muted: #544554;
  --line: #dfcfc8;
  --orange: #ff653f;
  --lilac: #e0c7ff;
  --lime: #e8f780;
  --cream: #fff1dd;
  font-family: "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "Noto Sans CJK SC", system-ui, sans-serif;
  scroll-behavior: smooth;
}

*, *::before, *::after { box-sizing: border-box; }
body { margin: 0; color: var(--ink); background: var(--paper); }
p, h1, h2, h3, figure { margin: 0; }
a { color: inherit; text-decoration: none; }
img { display: block; }
svg { display: block; width: 1em; height: 1em; fill: none; stroke: currentColor; stroke-width: 1.85; stroke-linecap: round; stroke-linejoin: round; flex: none; }
:focus-visible { outline: 3px solid #2457d6; outline-offset: 5px; }
.shell { width: min(90%, 1380px); margin-inline: auto; }

.skip { position: absolute; top: 12px; left: 12px; z-index: 4; transform: translateY(-160%); padding: 12px 18px; background: var(--white); border-radius: 8px; }
.skip:focus { transform: translateY(0); }
.header-inner, .footer-inner { display: flex; align-items: center; justify-content: space-between; gap: 20px; }
.header-inner { min-height: 77px; }
.brand { display: inline-flex; align-items: center; gap: 13px; font-size: clamp(18px, 2vw, 30px); font-weight: 800; white-space: nowrap; }
.nav { display: flex; align-items: center; gap: clamp(22px, 4vw, 58px); font-size: clamp(15px, 1.35vw, 20px); font-weight: 680; }
.nav-text { padding-block: 10px; }
.nav-text:hover, .footer-inner nav a:hover { text-decoration: underline; text-underline-offset: 5px; }

.button { display: inline-flex; justify-content: center; align-items: center; gap: 11px; min-height: 58px; border: 1.5px solid var(--ink); border-radius: 100px; padding: 10px clamp(18px, 2.2vw, 33px); font-size: clamp(15px, 1.45vw, 22px); font-weight: 750; line-height: 1.35; white-space: nowrap; transition: background-color .15s ease; }
.button svg { font-size: 1.2em; }
.button-dark { background: var(--ink); color: var(--white); }
.button-dark:hover { background: #462b50; }
.button-outline:hover { background: var(--cream); }
.nav-download { min-height: 46px; padding: 7px 23px; font-size: inherit; }

.hero { position: relative; isolation: isolate; background: var(--orange); }
.hero::before, .hero::after { content: ""; position: absolute; z-index: -1; width: clamp(80px, 12vw, 170px); height: clamp(80px, 12vw, 170px); background: linear-gradient(90deg, #fff1dd55 1px, transparent 1px), linear-gradient(#fff1dd55 1px, transparent 1px); background-size: 28px 28px; mask-image: radial-gradient(ellipse at left top, #000 15%, transparent 72%); }
.hero::before { left: 0; top: 0; }
.hero::after { right: 0; bottom: 0; rotate: 180deg; }
.hero-layout { display: grid; grid-template-columns: minmax(0, 45fr) minmax(0, 55fr); gap: clamp(8px, 1.8vw, 26px); align-items: center; padding-block: clamp(20px, 2.6vw, 40px); }
.hero-copy { padding-block: 8px; }
.version { display: inline-block; border-radius: 100px; background: var(--lime); color: var(--ink); padding: 7px 17px 8px; font: 750 clamp(14px, 1.4vw, 21px)/1.25 system-ui, sans-serif; }
.hero h1 { margin-top: 18px; font-size: clamp(50px, 6.45vw, 101px); letter-spacing: -.075em; line-height: 1.11; font-weight: 900; }
.headline-mark { position: relative; isolation: isolate; display: inline-block; white-space: nowrap; }
.headline-mark::after { content: ""; position: absolute; z-index: -1; left: -.05em; right: .37em; bottom: -.095em; height: .19em; background: var(--lilac); border-radius: 65% 52% 45% 28%; rotate: -3deg; }
.lead { margin-top: clamp(25px, 2.4vw, 36px); font-size: clamp(16px, 1.49vw, 23px); line-height: 1.65; font-weight: 630; }
.hero-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 11px clamp(12px, 1.35vw, 21px); margin-top: clamp(20px, 2.7vw, 40px); }
.hero .button { border-width: 2px; }
.hero :focus-visible { outline-color: var(--ink); }
.requirements, .release-info { font-size: clamp(12px, 1.15vw, 17px); line-height: 1.5; color: #3c2029; }
.requirements { margin-top: 15px; }
.requirements span { display: inline-block; padding-inline: 8px; }
.release-info { margin-top: 6px; font-size: clamp(12px, 1.02vw, 15px); }

.stage { position: relative; isolation: isolate; display: grid; place-items: center; min-width: 0; aspect-ratio: 1.3; container-type: inline-size; }
.stage-grid { position: absolute; z-index: -1; top: 50%; left: 51%; width: 96%; aspect-ratio: 1; translate: -50% -50%; background: repeating-conic-gradient(from 2deg, #fff2df 0deg 0.25deg, transparent .25deg 10deg); mask-image: radial-gradient(ellipse at center, #000 0 61%, transparent 72%); }
.stage-grid::after { content: ""; position: absolute; inset: 11% 12% 12%; border-radius: 51% 49% 46% 54% / 53% 47% 53% 47%; background: var(--cream); }
.spark { position: absolute; z-index: 1; width: 8cqw; aspect-ratio: 1; background: var(--ink); clip-path: polygon(50% 0, 63% 37%, 100% 50%, 63% 63%, 50% 100%, 37% 63%, 0 50%, 37% 37%); }
.spark::after { content: ""; position: absolute; inset: 11%; background: var(--lime); clip-path: inherit; }
.spark-top { top: 8%; left: 15%; rotate: 9deg; }
.spark-bottom { width: 6cqw; right: 13%; bottom: 11%; rotate: -10deg; }
.phone { width: 43cqw; aspect-ratio: .62; display: flex; border-radius: 6.5cqw; padding: 1.2cqw; background: var(--ink); box-shadow: 1.15cqw 1.2cqw 0 #4b2039; rotate: 6deg; }
.phone-screen { display: flex; flex: 1; flex-direction: column; min-width: 0; overflow: hidden; border-radius: 5.15cqw; background: #fffaf4; }
.phone-status { position: relative; display: flex; justify-content: space-between; align-items: center; padding: 1.7cqw 2.45cqw 1cqw; font: 650 1.8cqw/1 system-ui, sans-serif; }
.phone-status i { position: absolute; left: 50%; transform: translateX(-50%); width: 1.45cqw; aspect-ratio: 1; border-radius: 50%; background: var(--ink); }
.signal { letter-spacing: .13cqw; }
.phone-title { display: flex; align-items: center; justify-content: space-between; border-bottom: 1px solid #ebe7e2; padding: 1.5cqw 1.7cqw; font-size: 2.65cqw; }
.phone-title svg { font-size: 2.75cqw; }
.chat { flex: 1; padding: 3.6cqw 2.6cqw 1.8cqw; }
.chat p { position: relative; width: fit-content; border-radius: 1.7cqw; padding: 1.5cqw 1.6cqw; background: #eee7f7; font-size: 2.2cqw; font-weight: 650; }
.chat p::after { content: ""; position: absolute; left: -.6cqw; bottom: 0; width: 1.3cqw; height: 1.25cqw; background: inherit; clip-path: polygon(60% 0, 100% 100%, 0 100%); }

.keyboard-panel { margin: 0 1.1cqw 2cqw; padding: 1cqw 1.35cqw 1.4cqw; border-radius: 2.15cqw; border: 1px solid #d5bdf5; background: #f1e5ff; }
.grab { height: .55cqw; width: 5.2cqw; border-radius: 100px; background: #bdbab7; margin: 0 auto 1.3cqw; }
.phone-tabs, .phone-selects { display: grid; align-items: center; gap: 1cqw; }
.phone-tabs { grid-template-columns: repeat(3, 1fr); text-align: center; font-size: 2cqw; color: #5d5752; }
.phone-tabs strong { background: var(--ink); color: var(--white); border-radius: 100px; padding: .55cqw 0; font-weight: 650; }
.phone-selects { grid-template-columns: repeat(2, minmax(0, 1fr)); margin-top: 2cqw; }
.phone-selects span { display: flex; align-items: center; justify-content: space-between; gap: .35cqw; padding: .65cqw 1.45cqw; border: 1px solid #e5e1db; border-radius: 100px; font-size: 1.7cqw; white-space: nowrap; box-shadow: 0 .22cqw .6cqw #2e251609; }
.phone-selects svg { font-size: 1.9cqw; }
.suggestion { background: var(--white); margin-top: 1.65cqw; border: 1px solid #eeeae5; border-radius: 1.5cqw; padding: 1.65cqw 1.65cqw 1.5cqw; }
.suggestion b { display: block; font-size: 2.3cqw; margin-bottom: .7cqw; }
.suggestion p { font-size: 1.9cqw; line-height: 1.55; }
.phone-action { margin-top: 1.35cqw; border-radius: 1.2cqw; background: var(--ink); color: var(--white); text-align: center; padding: 1.05cqw .6cqw; font-size: 2.1cqw; font-weight: 750; }
.floating { position: absolute; display: grid; justify-items: center; gap: .65cqw; padding: 1.65cqw 2.6cqw 2.1cqw; border: max(1px, .34cqw) solid var(--ink); border-radius: 2.7cqw; background: var(--key-color); box-shadow: inset 0 -.85cqw var(--key-edge), .55cqw 1cqw var(--ink); font-size: 3.05cqw; font-weight: 860; white-space: nowrap; }
.floating svg { font-size: 5cqw; stroke-width: 1.9; }
.floating-book { --key-color: var(--lilac); --key-edge: #bb8af4; left: 4%; top: 25%; rotate: -11deg; }
.floating-check { --key-color: var(--lime); --key-edge: #c3d43a; right: 2%; bottom: 27%; rotate: 10deg; }
.stage figcaption { position: absolute; right: 3%; bottom: 1.8%; color: #3c2029; font-size: clamp(11px, 1.7cqw, 14px); font-weight: 650; }

.section { border-top: 1px solid var(--line); padding-block: clamp(30px, 4vw, 62px); }
.section h2 { font-size: clamp(29px, 4.1vw, 62px); font-weight: 850; letter-spacing: -.058em; line-height: 1.22; }
.features { border: 0; }
.feature-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(12px, 1.2vw, 18px); margin-top: clamp(19px, 2.35vw, 36px); }
.feature-grid article { display: flex; gap: clamp(15px, 1.65vw, 26px); align-items: center; padding: clamp(16px, 2.1vw, 30px); border-radius: clamp(16px, 1.65vw, 25px); background: var(--lilac); }
.feature-grid article:nth-child(2) { background: #fff29c; }
.feature-grid article:nth-child(3) { background: #ffccb8; }
.feature-key { display: grid; place-items: center; flex: none; width: clamp(46px, 5.25vw, 80px); aspect-ratio: 1; border: 2px solid var(--ink); border-radius: 22%; background: var(--paper); box-shadow: 3px 4px var(--ink); rotate: -7deg; }
.feature-grid article:nth-child(2) .feature-key { rotate: 5deg; }
.feature-key svg { font-size: clamp(25px, 3vw, 45px); }
.feature-grid h3 { font-size: clamp(21px, 2.45vw, 38px); font-weight: 820; line-height: 1.25; letter-spacing: -.04em; }
.feature-grid p, .install p, .faq p { color: var(--muted); font-size: clamp(14px, 1.3vw, 20px); line-height: 1.65; }
.feature-grid p { margin-top: 5px; }

.install, .faq { display: grid; grid-template-columns: minmax(0, 41fr) minmax(0, 59fr); gap: clamp(18px, 4vw, 64px); }
.install-copy p { margin-top: 19px; max-width: 25em; }
.install-copy .button { margin-top: 24px; min-height: 46px; font-size: 16px; }
.steps { list-style: none; counter-reset: steps; padding: 0; margin: 0; }
.steps li { display: grid; grid-template-columns: auto minmax(0, 1fr); align-items: start; gap: clamp(13px, 2vw, 26px); padding-block: 18px; }
.steps li:first-child { padding-top: 1px; }
.steps li + li { border-top: 1px solid var(--line); }
.steps li::before { counter-increment: steps; content: counter(steps); display: grid; place-items: center; width: 37px; aspect-ratio: 1; border-radius: 50%; background: #ffccb8; color: var(--ink); font: 800 17px/1 system-ui, sans-serif; }
.steps h3 { margin: 3px 0 5px; font-size: clamp(18px, 1.7vw, 26px); font-weight: 760; }

.faq-list { border-top: 1px solid var(--line); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { display: flex; align-items: center; justify-content: space-between; gap: 12px; min-height: 60px; padding-block: 14px; list-style: none; font-size: clamp(16px, 1.48vw, 22px); font-weight: 720; cursor: pointer; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: ""; width: 10px; height: 10px; flex: 0 0 10px; margin-inline: 6px; margin-block-end: 5px; border-bottom: 1.5px solid currentColor; border-right: 1.5px solid currentColor; transform: rotate(45deg); }
.faq details[open] summary::after { margin-block-end: -4px; transform: rotate(225deg); }
.faq details p { padding: 0 25px 16px 0; }

.site-footer { border-top: 1px solid var(--line); }
.footer-inner { min-height: 86px; padding-block: 16px; flex-wrap: wrap; }
.footer-inner .brand { font-size: 17px; }
.footer-inner nav { display: flex; flex-wrap: wrap; gap: 12px clamp(16px, 2vw, 28px); color: var(--muted); font-size: 14px; }

@media (max-width: 1150px) {
  .hero h1 { font-size: clamp(47px, 7.1vw, 86px); }
  .desktop-break { display: none; }
}
@media (max-width: 800px) {
  .shell { width: min(calc(100% - 42px), 620px); }
  .header-inner { min-height: 66px; }
  .brand img { width: 38px; height: 38px; }
  .hero-layout { grid-template-columns: minmax(0, 1fr); gap: 18px; padding-block: 25px 15px; }
  .hero h1 { font-size: clamp(48px, 11.5vw, 76px); margin-top: 15px; }
  .lead { margin-top: 23px; max-width: 29em; }
  .hero-actions { margin-top: 21px; }
  .button { min-height: 48px; }
  .nav { gap: 19px; }
  .nav-download { min-height: 42px; }
  .requirements { margin-top: 12px; }
  .feature-grid { grid-template-columns: 1fr; }
  .feature-grid article { min-height: 98px; }
  .feature-grid p { margin-top: 4px; }
  .install, .faq { grid-template-columns: minmax(0, 1fr); }
  .install-copy p { margin-top: 12px; }
  .install-copy .button { margin-top: 14px; }
  .install { gap: 23px; }
  .steps li:last-child { padding-bottom: 0; }
}
@media (max-width: 510px) {
  .shell { width: calc(100% - 32px); }
  .nav-text { display: none; }
  .brand { gap: 9px; }
  .nav-download { padding-inline: 14px; font-size: 13px; }
  .hero h1 { font-size: clamp(41px, 11.7vw, 60px); }
  .hero-actions { gap: 9px; }
  .hero-actions .button { padding-inline: 13px; gap: 6px; font-size: 14px; }
  .footer-inner { gap: 13px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; transition: none !important; }
}
