:root {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Microsoft YaHei", sans-serif;
  color: #20242c;
  background: #f7f8fb;
  font-synthesis: none;
  font-size: 16px;
  line-height: 1.6;
  --muted: #717680;
  --line: #e9eaed;
  --accent: #98713c;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 28px; }
body {
  margin: 0;
  min-height: 100vh;
  position: relative;
  isolation: isolate;
  background:
    radial-gradient(ellipse 620px 480px at 8% 12%, #e8cf9c55, transparent 75%),
    radial-gradient(ellipse 680px 580px at 96% 30%, #a4bedc50, transparent 75%),
    radial-gradient(ellipse 580px 400px at 20% 85%, #e9d7b52e, transparent 75%),
    linear-gradient(150deg, #faf9f6, #f3f6fb 55%, #fafbfc);
}
body::before {
  content: "";
  position: absolute;
  inset: 0 0 auto;
  height: 850px;
  z-index: -1;
  pointer-events: none;
  background-image: linear-gradient(#52688509 1px, transparent 1px), linear-gradient(90deg, #52688509 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: linear-gradient(#0009, transparent);
}
a { color: inherit; text-decoration: none; }
button { font: inherit; }
button, a, summary { -webkit-tap-highlight-color: transparent; }
button:not(:disabled), summary { cursor: pointer; }
a:focus-visible, button:focus-visible, summary:focus-visible { outline: 3px solid #ad854b; outline-offset: 5px; }
button:disabled { cursor: wait; }
[hidden] { display: none !important; }
.icon-library { position: absolute; width: 0; height: 0; overflow: hidden; }
svg.icon { width: 21px; height: 21px; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; flex-shrink: 0; }
.site-wrap { max-width: 1160px; padding: 0 40px; margin: 0 auto; }
.header { height: 88px; display: flex; align-items: center; justify-content: space-between; border-bottom: 1px solid var(--line); gap: 20px; }
.brand { display: inline-flex; align-items: center; gap: 11px; font-size: 19px; font-weight: 650; min-width: 0; }
.brand img { flex-shrink: 0; border-radius: 9px; }
.brand-tag { font-size: 12px; font-weight: 400; color: var(--muted); padding-left: 14px; border-left: 1px solid #d9dce1; margin-left: 3px; white-space: nowrap; }
nav { display: flex; gap: 28px; font-size: 14px; flex-shrink: 0; }
nav a { padding: 10px 0; color: var(--muted); }
nav a:hover, nav .nav-active { color: #252b34; }
.hero { padding: 54px 0 64px; }
.hero-copy { text-align: center; margin-bottom: 36px; }
.eyebrow { color: var(--accent); font-size: 13px; letter-spacing: 2px; font-weight: 600; margin: 0 0 14px; }
h1 { font-size: clamp(32px, 4vw, 46px); font-weight: 720; line-height: 1.35; letter-spacing: -1.2px; margin: 0; }
h1 span { color: #6b7079; }
.hero-description { color: var(--muted); font-size: 16px; margin: 15px 0 0; }
.download-frame { display: grid; grid-template-columns: 0.9fr 1.1fr; max-width: 940px; margin: 0 auto; border: 1px solid #fff; border-radius: 24px; overflow: hidden; box-shadow: 0 24px 70px -28px #253e653d, 0 2px 8px #253e6508; background: #fff; }
.app-showcase { position: relative; isolation: isolate; overflow: hidden; background: radial-gradient(ellipse at 0 0, #47607880, transparent 65%), radial-gradient(ellipse at 100% 100%, #9c78452e, transparent 65%), linear-gradient(145deg, #192c44, #101c2d 70%); color: #fff; padding: 58px 32px 26px; display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; }
.app-showcase::before, .app-showcase::after {
  content: "";
  position: absolute;
  z-index: -1;
  width: 360px;
  height: 360px;
  border: 1px solid #d5b77e26;
  border-radius: 50%;
  pointer-events: none;
}
.app-showcase::before { top: -190px; right: -170px; box-shadow: 0 0 0 36px #d5b77e06, 0 0 0 72px #d5b77e04; }
.app-showcase::after { bottom: -230px; left: -140px; box-shadow: 0 0 0 42px #b6ccea05, 0 0 0 84px #b6ccea04; }
.app-icon { border-radius: 28px; box-shadow: 0 12px 35px #0004; }
.app-showcase h2 { font-size: 25px; font-weight: 600; margin: 22px 0 7px; letter-spacing: .2px; overflow-wrap: anywhere; }
.app-showcase>p { font-size: 14px; color: #a9b4c3; margin: 0; }
.platform-list { display: flex; gap: 20px; font-size: 13px; color: #d6dde6; margin-top: 29px; }
.platform-list>span { display: flex; align-items: center; gap: 6px; }
.platform-list .icon { width: 17px; height: 17px; color: #d2b889; }
.showcase-bottom { display: flex; gap: 16px; font-size: 12px; color: #929faf; margin-top: 62px; }
.showcase-bottom span+span { border-left: 1px solid #3d4858; padding-left: 16px; }
.download-card { padding: 32px 38px; min-width: 0; }
.card-heading { margin-bottom: 23px; }
.card-heading h2 { font-size: 20px; font-weight: 650; margin: 0; }
.card-heading p { font-size: 14px; color: var(--muted); margin: 5px 0 0; }
.platform-tabs { display: flex; background: #f2f3f5; border-radius: 10px; padding: 4px; gap: 4px; }
.platform-tabs button { display: flex; align-items: center; justify-content: center; gap: 8px; flex: 1; min-height: 44px; border: 0; border-radius: 7px; background: transparent; font-size: 14px; color: #656b75; white-space: nowrap; }
.platform-tabs button[aria-selected=true] { background: white; color: #252b34; box-shadow: 0 1px 5px #202a3b15; font-weight: 600; }
.platform-tabs .icon { width: 19px; height: 19px; }
.release-heading { display: flex; align-items: center; gap: 10px; margin-top: 24px; }
.release-heading h3 { font-size: 16px; font-weight: 600; margin: 0; }
.release-heading span { font-size: 12px; color: #806134; background: #f8f4ec; border-radius: 5px; padding: 2px 7px; overflow-wrap: anywhere; }
.platform-description { font-size: 13px; color: var(--muted); margin: 7px 0 20px; min-height: 21px; }
.button { width: 100%; min-height: 52px; padding: 13px 16px; border-radius: 9px; display: flex; align-items: center; gap: 10px; font-size: 14px; font-weight: 600; transition: background .15s, transform .15s; }
.trailing { margin-left: auto; }
.button-primary { background: #192638; color: #fff; }
.button-primary:not([aria-disabled=true]):hover { background: #2c3d55; transform: translateY(-1px); }
.button[aria-disabled=true] { cursor: not-allowed; }
.button-primary[aria-disabled=true] { background: #edeef1; color: #7a808a; }
.button-secondary { border: 1px solid #dde0e5; color: #394150; background: white; }
.button-secondary:not([aria-disabled=true]):hover { background: #f6f7f9; }
.button-secondary[aria-disabled=true] { color: #7a808a; background: #fafafb; }
.download-status { color: var(--muted); font-size: 12px; margin: 8px 0 0; min-height: 20px; }
.divider { display: flex; align-items: center; gap: 12px; color: #81858e; font-size: 12px; margin: 20px 0; }
.divider:before, .divider:after { content: ""; height: 1px; background: var(--line); flex: 1; }
.card-footnote { text-align: center; font-size: 12px; color: #81858e; margin: 16px 0 0; }
.load-error { background: #fff4f0; color: #983b20; border-radius: 8px; padding: 12px; font-size: 14px; margin-top: 15px; }
.load-error p { margin: 0 0 8px; }
.load-error button { background: white; border: 1px solid #dba18f; color: #983b20; border-radius: 5px; padding: 5px 12px; }
.browser-hint { background: #fff8e9; color: #795711; padding: 16px 20px; border: 1px solid #efdbac; border-radius: 10px; margin-bottom: 28px; font-size: 14px; }
.guide { border-top: 1px solid var(--line); padding: 43px 0 48px; }
.guide-heading { text-align: center; margin-bottom: 28px; }
.guide h2, .faq h2 { font-size: 24px; margin: 0; font-weight: 650; }
.guide-heading>p, .faq-heading>p { font-size: 14px; color: var(--muted); margin: 8px 0 0; }
.steps { list-style: none; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; padding: 0; margin: 0; }
.steps li { padding: 23px 25px; background: #ffffffb8; border: 1px solid #fff; border-radius: 14px; box-shadow: 0 6px 24px #253e6505; }
.step-number { font-size: 13px; font-weight: 600; color: #8d724c; display: inline-flex; align-items: center; justify-content: center; width: 30px; height: 30px; border-radius: 8px; border: 1px solid #e4e0d7; background: #fff; margin-bottom: 15px; font-variant-numeric: tabular-nums; }
.steps h3 { font-size: 16px; font-weight: 600; margin: 0 0 6px; }
.steps p { font-size: 14px; line-height: 1.8; color: var(--muted); margin: 0; }
.faq { padding: 32px 0 54px; display: grid; grid-template-columns: 280px 1fr; gap: 55px; }
.faq h2 { font-size: 22px; }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { list-style: none; display: flex; justify-content: space-between; align-items: center; gap: 16px; font-size: 15px; font-weight: 500; padding: 18px 0; }
.faq details:first-child summary { padding-top: 3px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary .icon { width: 18px; height: 18px; color: #848993; transition: transform .15s; }
.faq details[open] summary .icon { transform: rotate(45deg); }
.faq details p { font-size: 14px; color: var(--muted); margin: 0 32px 18px 0; line-height: 1.9; }
footer { display: flex; gap: 24px; align-items: center; border-top: 1px solid var(--line); padding: 24px 0; font-size: 12px; color: var(--muted); }
.footer-brand { font-size: 14px; font-weight: 550; gap: 8px; color: #535965; }
.footer-brand img { border-radius: 7px; }
footer p { margin: 0; }
footer>a:last-child { margin-left: auto; }
.noscript { position: fixed; bottom: 0; background: #fff4df; padding: 20px; width: 100%; text-align: center; }
.webclip-dialog { width: min(480px, calc(100% - 32px)); max-height: calc(100dvh - 40px); padding: 26px; border: 1px solid var(--line); border-radius: 20px; color: #20242c; background: white; box-shadow: 0 24px 80px #101c2d33; }
.webclip-dialog::backdrop { background: #101c2d80; }
.webclip-heading { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.webclip-heading h2 { font-size: 22px; margin: 0; }
.webclip-heading button { width: 44px; height: 44px; flex-shrink: 0; font-size: 28px; border: 0; background: #f3f4f6; border-radius: 10px; color: #586070; }
#webclip-description { font-size: 14px; color: var(--muted); line-height: 1.9; }
.webclip-steps { padding-left: 22px; margin: 22px 0; }
.webclip-steps li { padding-left: 5px; margin-bottom: 16px; font-size: 15px; }
.webclip-steps li::marker { color: var(--accent); font-weight: 600; }
.webclip-steps p { color: var(--muted); font-size: 14px; margin: 5px 0 0; line-height: 1.8; }
.webclip-note { font-size: 12px; color: var(--muted); line-height: 1.8; margin: 15px 0 0; }

@media (max-width: 950px) {
  .site-wrap { padding: 0 28px; }
  .download-frame { grid-template-columns: .8fr 1.2fr; }
  .download-card { padding: 28px; }
  .app-showcase { padding: 40px 20px 26px; }
  .platform-list { gap: 12px; }
  .app-showcase h2 { font-size: 23px; }
  .faq { grid-template-columns: 220px 1fr; gap: 32px; }
}

@media (max-width: 700px) {
  .site-wrap { padding: 0 20px; }
  .header { height: 74px; gap: 12px; }
  .brand { font-size: 16px; gap: 8px; }
  .brand img { width: 34px; height: 34px; }
  .brand-tag { display: none; }
  nav { gap: 17px; font-size: 13px; }
  .hero { padding: 30px 0 36px; }
  .hero-copy { margin-bottom: 25px; }
  .eyebrow { font-size: 12px; margin-bottom: 9px; }
  h1 { font-size: 30px; letter-spacing: -.8px; }
  .hero-description { font-size: 14px; margin-top: 11px; }
  .download-frame { display: block; max-width: 470px; border-radius: 18px; }
  .app-showcase { display: grid; grid-template-columns: 64px 1fr; column-gap: 16px; padding: 22px 24px; text-align: left; justify-items: start; }
  .app-icon { grid-row: 1 / 3; width: 64px; height: 64px; border-radius: 15px; }
  .app-showcase h2 { margin: 0; font-size: 20px; align-self: end; }
  .app-showcase>p { font-size: 12px; align-self: start; margin-top: 3px; }
  .platform-list, .showcase-bottom { display: none; }
  .download-card { padding: 24px; }
  .card-heading { margin-bottom: 18px; }
  .card-heading h2 { font-size: 18px; }
  .card-heading p { font-size: 13px; }
  .guide { padding: 31px 0; }
  .guide-heading { margin-bottom: 22px; }
  .guide h2, .faq h2 { font-size: 21px; }
  .steps { grid-template-columns: 1fr; gap: 12px; }
  .steps li { position: relative; padding: 18px 18px 18px 64px; }
  .step-number { position: absolute; top: 18px; left: 18px; }
  .steps h3 { font-size: 15px; margin-bottom: 4px; }
  .steps p { font-size: 14px; }
  .faq { display: block; padding: 22px 0 36px; }
  .faq-heading { margin-bottom: 25px; }
  .faq summary { font-size: 14px; padding: 17px 0; }
  footer { flex-wrap: wrap; gap: 15px; padding: 23px 0; }
  .footer-brand img { width: 25px; height: 25px; }
  footer p { margin-left: auto; font-size: 11px; }
  footer>a:last-child { width: 100%; margin: 0; text-align: center; }
}

@media (max-width: 370px) {
  .site-wrap { padding: 0 16px; }
  .header { flex-wrap: wrap; height: auto; padding: 15px 0 11px; gap: 8px; }
  nav { margin-left: 42px; }
  h1 { font-size: 27px; }
  .download-card { padding: 20px; }
  .app-showcase { padding: 20px; column-gap: 12px; }
  .app-showcase h2 { font-size: 18px; }
  .platform-tabs button { font-size: 13px; gap: 6px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *:before, *:after { transition: none !important; }
}
