:root {
  color-scheme: light;
  --background: #faf7f2;
  --surface: #fff;
  --ink: #302923;
  --muted: #726b65;
  --red: #a92632;
  --red-hover: #8e1d28;
  --gold: #b7813c;
  --line: #e5d5bd;
  --serif: "Songti SC", "STSong", "Noto Serif CJK SC", "SimSun", serif;
  --sans: -apple-system, BlinkMacSystemFont, "PingFang SC", "Microsoft YaHei", sans-serif;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 28px; }
body { margin: 0; background: var(--surface); color: var(--ink); font-family: var(--sans); font-size: 15px; line-height: 1.65; -webkit-font-smoothing: antialiased; }
body.has-dialog { overflow: hidden; }
button, input { font: inherit; }
button, a, summary { -webkit-tap-highlight-color: transparent; touch-action: manipulation; }
button, summary { cursor: pointer; }
a { color: inherit; text-decoration: none; }
button { color: inherit; }
img, svg { display: block; }
img { max-width: 100%; height: auto; }
h1, h2, h3, p, dl, dd, figure { margin: 0; }
[hidden] { display: none !important; }
:focus-visible { outline: 3px solid var(--gold); outline-offset: 5px; }
.container { width: min(1160px, calc(100% - 96px)); margin-inline: auto; }
.skip-link { position: absolute; left: 16px; top: -80px; z-index: 30; padding: 10px 18px; background: var(--red); color: #fff; border-radius: 6px; }
.skip-link:focus { top: 12px; }
.site-header { background: var(--surface); }
.header-inner { display: flex; align-items: center; justify-content: space-between; min-height: 78px; gap: 24px; }
.brand { display: inline-flex; align-items: center; gap: 12px; flex-shrink: 0; }
.brand img { width: 48px; height: 48px; object-fit: contain; }
.brand span { font-family: var(--serif); font-size: 27px; font-weight: 900; letter-spacing: 2px; line-height: 1.2; }
.site-nav { display: flex; gap: 46px; height: 78px; align-items: center; }
.site-nav a { position: relative; display: flex; align-items: center; height: 100%; font-size: 15px; letter-spacing: 1px; transition: color .2s; }
.site-nav a:hover { color: var(--red); }
.site-nav .nav-download { color: var(--red); }
.site-nav .nav-download::after { content: ""; position: absolute; left: 0; right: 0; bottom: 16px; height: 2px; background: var(--red); }
.download-section { background: var(--background); }
.hero-layout { display: grid; grid-template-columns: minmax(0, 1.7fr) minmax(240px, 1fr); gap: 60px; align-items: center; padding: 58px 48px 42px; }
.hero-copy h1 { font-family: var(--serif); font-size: clamp(52px, 5.6vw, 76px); font-weight: 900; letter-spacing: 4px; line-height: 1.24; }
.hero-slogan { margin-top: 12px; font-family: var(--serif); font-size: clamp(29px, 3.35vw, 43px); color: var(--red); font-weight: 700; line-height: 1.5; white-space: nowrap; }
.hero-description { margin-top: 17px; font-size: 17px; line-height: 1.95; color: #5b534d; }
.download-actions { display: flex; gap: 20px; margin-top: 26px; }
.download-button { display: inline-flex; justify-content: center; align-items: center; gap: 12px; min-height: 64px; border: 1.5px solid var(--red); border-radius: 8px; flex: 1; padding: 12px 18px; font-size: 21px; font-weight: 500; white-space: nowrap; transition: background .2s, color .2s, transform .2s, box-shadow .2s; }
.button-primary { background: var(--red); color: #fff; }
.button-secondary { color: var(--red); background: var(--surface); }
.button-primary:hover { background: var(--red-hover); border-color: var(--red-hover); box-shadow: 0 5px 14px #a926321a; transform: translateY(-2px); }
.button-secondary:hover { background: #f7ebe9; transform: translateY(-2px); }
.download-button:active { transform: translateY(0); }
.platform-icon { width: 26px; height: 28px; flex-shrink: 0; }
.download-help { display: flex; align-items: center; gap: 24px; margin-top: 19px; font-size: 13px; color: var(--muted); }
.download-help a { display: inline-flex; align-items: center; gap: 8px; color: var(--red); padding-left: 24px; border-left: 1px solid var(--line); white-space: nowrap; }
.download-help a:hover { text-decoration: underline; text-underline-offset: 4px; }
.download-help svg { width: 19px; height: 19px; fill: none; stroke: currentColor; stroke-width: 1.4; stroke-linecap: round; stroke-linejoin: round; }
.app-display { justify-self: center; text-align: center; width: 280px; }
.app-icon-tile { width: 280px; aspect-ratio: 1; border-radius: 24px; border: 1px solid #eee2d2; background: var(--surface); padding: 9px; position: relative; isolation: isolate; box-shadow: 0 12px 28px #5d43140a; }
.app-icon-tile::before { content: ""; position: absolute; inset: 22px -18px -20px 22px; background: #f3eadb; border-radius: 23px; z-index: -2; }
.app-icon-tile::after { content: ""; position: absolute; inset: 0; border-radius: inherit; background: var(--surface); z-index: -1; }
.app-icon-tile img { width: 100%; height: 100%; object-fit: contain; border-radius: 16px; }
.app-display figcaption { display: flex; flex-direction: column; gap: 1px; padding-top: 30px; }
.app-display strong { font-family: var(--serif); font-size: 28px; font-weight: 900; letter-spacing: 2px; }
.app-display figcaption span { font-size: 15px; color: var(--muted); }
.app-facts { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); border-top: 1px solid #c8a46e; padding: 22px 0; }
.app-facts > div { text-align: center; padding: 1px 16px; border-right: 1px solid var(--line); }
.app-facts > div:last-child { border-right: 0; }
.app-facts dt { font-size: 13px; color: #665d55; margin-bottom: 3px; }
.app-facts dd { font-family: var(--serif); font-size: 21px; font-weight: 700; line-height: 1.6; }
.install-section { padding: 34px 0 30px; border-bottom: 1px solid var(--line); }
.section-heading { display: flex; align-items: center; justify-content: space-between; gap: 24px; margin-bottom: 25px; }
h2 { font-family: var(--serif); font-size: 30px; font-weight: 900; line-height: 1.4; letter-spacing: 1px; }
.section-heading h2 { font-size: 34px; }
.section-heading p { color: var(--muted); font-size: 15px; margin-top: 5px; }
.platform-tabs { display: flex; gap: 28px; align-self: flex-start; border-bottom: 1px solid var(--line); margin-top: 5px; }
.platform-tabs button { padding: 8px 8px 10px; border: 0; background: none; color: var(--muted); position: relative; font-size: 17px; line-height: 1.6; }
.platform-tabs button[aria-selected="true"] { color: var(--red); }
.platform-tabs button[aria-selected="true"]::after { content: ""; height: 2px; position: absolute; background: var(--red); bottom: -1px; left: 0; right: 0; }
.platform-tabs button:hover { color: var(--red); }
.install-steps { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 52px; list-style: none; padding: 0; margin: 0; }
.install-steps li { display: flex; align-items: flex-start; gap: 19px; position: relative; }
.install-steps li:not(:last-child)::after { content: ""; position: absolute; right: -24px; top: 19px; width: 10px; height: 10px; border-right: 1.5px solid var(--gold); border-top: 1.5px solid var(--gold); transform: rotate(45deg); }
.step-number { display: grid; place-items: center; width: 47px; height: 47px; flex: 0 0 47px; border: 1px solid var(--gold); border-radius: 50%; color: var(--gold); font-family: Georgia, serif; font-size: 21px; line-height: 1; }
.install-steps h3 { font-family: var(--serif); font-size: 19px; font-weight: 700; line-height: 1.6; }
.install-steps p { color: var(--muted); font-size: 13px; line-height: 1.8; margin-top: 3px; }
.no-script-tip { margin-top: 18px; color: var(--muted); }
.details-layout { display: grid; grid-template-columns: 1fr 1fr; padding: 26px 0 25px; }
.app-info { padding-right: 38px; border-right: 1px solid var(--line); }
.faq-section { padding-left: 44px; }
.details-layout h2 { font-size: 25px; margin-bottom: 13px; }
.info-list { font-size: 13px; line-height: 1.85; }
.info-list > div { display: grid; grid-template-columns: 84px 1fr; }
.info-list dt { padding: 1px 14px 1px 0; }
.info-list dd { padding: 1px 0 1px 26px; border-left: 1px solid var(--line); color: var(--muted); }
.faq-item { border-top: 1px solid #e5ded7; }
.faq-item:last-child { border-bottom: 1px solid #e5ded7; }
.faq-item summary { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 10px 8px; font-size: 14px; line-height: 1.7; list-style: none; }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary:hover, .faq-item[open] summary { color: var(--red); }
.plus-icon { flex: 0 0 19px; width: 19px; height: 19px; stroke: currentColor; fill: none; stroke-width: 1.25; stroke-linecap: round; transition: transform .2s; }
.faq-item[open] .plus-icon { transform: rotate(45deg); }
.faq-item p { padding: 0 8px 13px; color: var(--muted); font-size: 13px; line-height: 1.9; }
.site-footer { display: flex; align-items: baseline; justify-content: space-between; gap: 24px; border-top: 1px solid var(--line); padding-block: 15px 20px; color: var(--muted); font-size: 11px; }
.site-footer p:last-child { flex-shrink: 0; }
.browser-prompt { position: fixed; inset: 0; z-index: 50; background: #28201888; display: grid; place-items: center; padding: 24px; overflow-y: auto; overscroll-behavior: contain; backdrop-filter: blur(6px); }
.prompt-card { position: relative; width: min(100%, 410px); padding: 34px 30px 22px; border-radius: 20px; background: #fff; text-align: center; box-shadow: 0 24px 90px #201a2440; margin-block: auto; }
.close-button { position: absolute; right: 10px; top: 10px; width: 40px; height: 40px; display: grid; place-items: center; border: 0; background: transparent; border-radius: 50%; color: var(--muted); }
.close-button:hover { background: var(--background); }
.close-button svg { height: 19px; width: 19px; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; }
.prompt-logo { width: 64px; height: 64px; margin: 0 auto 14px; }
.prompt-card h2 { font-family: var(--sans); font-size: 22px; font-weight: 600; letter-spacing: 0; }
.prompt-card > p { margin-top: 13px; font-size: 14px; color: var(--muted); }
.copy-button { width: 100%; margin-top: 23px; border: 1px solid var(--red); border-radius: 7px; background: var(--red); color: #fff; min-height: 46px; padding: 10px 16px; font-weight: 500; font-size: 15px; }
.copy-button:hover { background: var(--red-hover); }
.prompt-card .copy-feedback { min-height: 22px; margin-top: 8px; font-size: 12px; }
.dismiss-button { border: 0; color: var(--muted); background: none; padding: 8px 20px; font-size: 14px; }
.dismiss-button:hover { color: var(--red); }
#page-link { width: 100%; font-size: 13px; border: 1px solid var(--line); border-radius: 5px; padding: 9px; margin-top: 12px; }
@media (max-width: 1100px) {
  .hero-layout { gap: 40px; padding-inline: 16px; grid-template-columns: minmax(0, 1.6fr) minmax(210px, 1fr); }
  .app-display, .app-icon-tile { width: 240px; }
  .hero-slogan { font-size: 34px; }
  .hero-description { font-size: 15px; }
  .download-button { font-size: 18px; padding-inline: 15px; }
  .download-help { gap: 13px; font-size: 12px; }
  .download-help a { padding-left: 13px; }
  .install-steps { gap: 32px; }
  .install-steps li { gap: 12px; }
  .install-steps li:not(:last-child)::after { right: -18px; }
  .install-steps h3 { font-size: 17px; }
  .install-steps p { font-size: 12px; }
  .faq-section { padding-left: 30px; }
  .app-info { padding-right: 25px; }
}
@media (max-width: 800px) {
  .container { width: calc(100% - 48px); }
  .hero-layout { gap: 28px; padding: 42px 0 32px; grid-template-columns: minmax(0, 1.7fr) minmax(160px, 1fr); }
  .hero-copy h1 { font-size: 52px; }
  .hero-slogan { font-size: 28px; }
  .app-display, .app-icon-tile { width: 190px; }
  .app-icon-tile { border-radius: 20px; padding: 6px; }
  .app-icon-tile::before { inset: 16px -12px -14px 16px; border-radius: 20px; }
  .app-display strong { font-size: 23px; }
  .download-button { min-height: 56px; font-size: 16px; gap: 9px; padding-inline: 12px; }
  .download-actions { gap: 12px; }
  .platform-icon { width: 23px; height: 25px; }
  .download-help { align-items: flex-start; flex-direction: column; gap: 6px; margin-top: 14px; }
  .download-help a { border: 0; padding: 0; }
  .app-facts dd { font-size: 18px; }
  .app-facts dt { font-size: 12px; }
  .install-steps { gap: 28px; }
  .install-steps li { flex-direction: column; gap: 10px; }
  .install-steps li:not(:last-child)::after { right: 8px; top: 18px; }
  .details-layout { grid-template-columns: 1fr; padding: 26px 0; gap: 24px; }
  .app-info { padding: 0; border: 0; }
  .faq-section { padding: 0; }
  .site-footer { flex-direction: column; gap: 7px; }
}
@media (max-width: 600px) {
  html { scroll-padding-top: 20px; }
  .container { width: calc(100% - 40px); }
  .header-inner { min-height: 70px; gap: 12px; }
  .brand { gap: 7px; }
  .brand img { width: 36px; height: 36px; }
  .brand span { font-size: 20px; letter-spacing: 1px; }
  .site-nav { height: 70px; gap: 20px; }
  .site-nav a { font-size: 12px; letter-spacing: 0; }
  .site-nav .nav-download::after { bottom: 14px; }
  .hero-layout { display: flex; flex-direction: column; gap: 25px; padding: 35px 0 28px; text-align: center; }
  .app-display { order: -1; width: 128px; }
  .app-icon-tile { width: 128px; border-radius: 21px; padding: 5px; }
  .app-icon-tile::before { inset: 10px -9px -10px 10px; border-radius: 20px; }
  .app-icon-tile img { border-radius: 15px; }
  .app-display figcaption { display: none; }
  .hero-copy { width: 100%; }
  .hero-copy h1 { font-size: 43px; line-height: 1.3; letter-spacing: 3px; }
  .hero-slogan { font-size: 26px; margin-top: 5px; white-space: normal; }
  .hero-description { font-size: 13px; line-height: 1.95; margin-top: 14px; }
  .download-actions { margin-top: 23px; gap: 12px; }
  .download-button { min-height: 55px; padding: 12px 9px; font-size: 16px; border-radius: 7px; }
  .platform-icon { width: 22px; height: 24px; }
  .download-help { align-items: center; gap: 8px; margin-top: 15px; font-size: 12px; }
  .download-help a { gap: 6px; }
  .download-help svg { width: 17px; height: 17px; }
  .app-facts { grid-template-columns: repeat(2, minmax(0, 1fr)); padding: 4px 0; }
  .app-facts > div { padding: 13px 10px; margin-block: 7px; }
  .app-facts > div:nth-child(2) { border-right: 0; }
  .app-facts > div:nth-child(n+3) { border-top: 1px solid var(--line); margin-top: 0; padding-top: 17px; }
  .app-facts dt { margin-bottom: 2px; }
  .app-facts dd { font-size: 18px; }
  .install-section { padding: 29px 0; }
  .section-heading { gap: 12px; margin-bottom: 25px; align-items: flex-start; }
  .section-heading h2 { font-size: 26px; }
  .section-heading p { font-size: 12px; margin-top: 5px; }
  .platform-tabs { gap: 11px; margin-top: 0; }
  .platform-tabs button { padding: 4px 5px 8px; font-size: 14px; }
  .install-steps { display: flex; flex-direction: column; gap: 25px; }
  .install-steps li { flex-direction: row; gap: 15px; }
  .step-number { width: 40px; height: 40px; flex-basis: 40px; font-size: 18px; }
  .install-steps h3 { font-size: 17px; line-height: 1.5; }
  .install-steps p { font-size: 12px; margin-top: 4px; }
  .install-steps li:not(:last-child)::after { top: 47px; left: 19px; right: auto; width: 1px; height: 17px; transform: none; border: 0; background: var(--line); }
  .details-layout h2 { font-size: 23px; }
  .info-list { font-size: 12px; }
  .info-list > div { grid-template-columns: 75px 1fr; }
  .info-list dd { padding-left: 17px; }
  .faq-item summary { font-size: 13px; padding: 12px 3px; }
  .faq-item p { padding-inline: 3px; font-size: 12px; }
  .site-footer { padding-block: 17px calc(20px + env(safe-area-inset-bottom)); font-size: 10px; }
  .prompt-card { padding-inline: 22px; }
}
@media (max-width: 359px) {
  .container { width: calc(100% - 32px); }
  .site-nav { gap: 13px; }
  .brand span { font-size: 18px; }
  .brand img { width: 31px; height: 31px; }
  .hero-slogan { font-size: 23px; }
  .hero-description { font-size: 12px; }
  .download-button { font-size: 14px; gap: 8px; }
  .section-heading p { font-size: 11px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; }
}
