:root {
  color-scheme: light;
  font-family: "Geist", "Segoe UI", "Microsoft YaHei", sans-serif;
  color: #142747;
  background: #f5f8fc;
  --muted: #4a5c76;
  --line: #dce5f1;
  --link: #194cb6;
  --navy: #0b2045;
  --surface: #ffffff;
}

* { box-sizing: border-box; }
body { margin: 0; font-size: 15px; line-height: 1.7; }
a { color: var(--link); text-underline-offset: .2em; }
:focus-visible { outline: 3px solid #328bff; outline-offset: 4px; border-radius: 3px; }
h1, h2, h3, p, figure { margin: 0; }
h1, h2, h3 { line-height: 1.25; }
h2 { font-size: clamp(25px, 3vw, 35px); }
h3 { font-size: 20px; }
[id] { scroll-margin-top: 24px; }
.site-width { width: min(1120px, calc(100% - 64px)); margin-inline: auto; }
.skip-link { position: absolute; top: 12px; left: 12px; padding: 8px 12px; background: white; z-index: 2; }
.skip-link:not(:focus) { clip-path: inset(50%); }

.site-header { background: var(--surface); border-bottom: 1px solid var(--line); }
.site-bar { min-height: 74px; display: flex; align-items: center; justify-content: space-between; gap: 12px 24px; }
.wordmark { display: inline-flex; flex: none; align-items: center; gap: 9px; text-decoration: none; color: #122746; font-size: 20px; font-weight: 750; }
.wordmark img { display: block; }
.brand-name { color: var(--muted); font-size: 13px; font-weight: 500; margin-left: 5px; }
.site-nav { display: flex; flex-wrap: wrap; gap: 5px 22px; }
.site-nav a { color: var(--muted); text-decoration: none; font-weight: 600; font-size: 14px; }
.site-nav a:hover { color: var(--link); text-decoration: underline; }
.guide { padding-block: 30px 46px; }

.hero {
  position: relative;
  display: grid;
  grid-template-columns: 1.1fr .9fr;
  gap: 44px;
  align-items: center;
  min-height: 375px;
  overflow: hidden;
  padding: clamp(32px, 5vw, 58px);
  border-radius: 26px;
  color: #fff;
  background:
    radial-gradient(ellipse at 89% 11%, #144e9b 0%, transparent 57%),
    linear-gradient(124deg, #091c3e 10%, #102d59 72%, #0a345a);
}
.hero::after {
  position: absolute; inset: 0; content: ""; pointer-events: none;
  background-image: linear-gradient(#92c7ff11 1px, transparent 1px), linear-gradient(90deg, #92c7ff11 1px, transparent 1px);
  background-size: 26px 26px;
  mask-image: linear-gradient(90deg, transparent 38%, #000 87%);
}
.hero > * { position: relative; z-index: 1; }
.hero-meta { color: #a3ccff; font-size: 13px; font-weight: 650; letter-spacing: .045em; }
.hero h1 { margin: 13px 0 16px; font-size: clamp(37px, 5vw, 64px); letter-spacing: -.035em; }
.hero h1 span { color: #58ddc8; }
.hero-text > p:not(.hero-meta) { max-width: 410px; color: #d5e3f7; font-size: 16px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 25px; }
.button { display: inline-flex; align-items: center; gap: 10px; padding: 9px 15px; border: 1px solid transparent; border-radius: 9px; text-decoration: none; font-weight: 700; }
.button.primary { color: #092d35; background: #77e9d1; }
.button.primary:hover { background: #a6fae7; }
.button.outline { color: #e7f1ff; border-color: #87a6cd; }
.button.outline:hover { background: #fff2; }

.download-example { width: min(100%, 365px); justify-self: end; }
.example-window {
  padding: 21px;
  border: 1px solid #a8ccff;
  border-radius: 15px;
  box-shadow: 0 15px 38px #020e295e, 0 0 0 8px #93beff24;
  background: white;
  color: var(--navy);
}
.example-heading, .example-file { display: flex; align-items: center; gap: 9px; }
.example-heading { font-size: 17px; font-weight: 700; }
.example-heading img { display: block; }
.example-heading small, .example-size { display: block; color: var(--muted); font-size: 12px; font-weight: 500; }
.example-state { margin-left: auto; border-radius: 16px; padding: 3px 9px; white-space: nowrap; color: #075b50; background: #dcf6ef; font-size: 12px; }
.example-state i { display: inline-block; vertical-align: .08em; width: 6px; height: 6px; margin-right: 5px; border-radius: 50%; background: #087765; }
.example-file { justify-content: space-between; margin-top: 22px; }
.example-file span { color: #1b57bf; font-weight: 700; font-variant-numeric: tabular-nums; }
.example-window progress { width: 100%; height: 8px; margin: 10px 0 3px; appearance: none; border: 0; border-radius: 8px; overflow: hidden; }
.example-window progress::-webkit-progress-bar { background: #e3edf9; }
.example-window progress::-webkit-progress-value { border-radius: 8px; background: linear-gradient(90deg, #216aff, #12a996); }
.download-example figcaption { text-align: center; margin-top: 14px; color: #c4dcfb; font-size: 12px; }

.section { margin-top: 55px; }
.section-heading { display: flex; justify-content: space-between; align-items: baseline; flex-wrap: wrap; gap: 5px 18px; margin-bottom: 17px; }
.section-heading p, .section li p, .install-card p, .faq p { color: var(--muted); }
.steps { list-style: none; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); margin: 0; padding: 0; border: 1px solid var(--line); border-radius: 16px; background: var(--surface); }
.steps li { padding: 22px 23px; }
.steps li + li { border-left: 1px solid var(--line); }
.step-index { display: inline-block; margin-bottom: 10px; color: var(--link); font-size: 13px; font-weight: 750; font-variant-numeric: tabular-nums; }
.steps h3, .install-card h3 { margin-bottom: 8px; }
.callout { margin-top: 13px; padding: 13px 16px; background: #e9f8f2; border-left: 3px solid #27a589; border-radius: 0 9px 9px 0; }

.install-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
.install-card { padding: 22px 23px; border: 1px solid var(--line); border-radius: 16px; background: var(--surface); }
.install-card ol { margin: 0 0 12px; padding-left: 21px; }
.install-card li + li { margin-top: 7px; }
code, kbd { color: #17376c; padding: .12em .38em; background: #eaf1fc; border-radius: 4px; font: .92em "Consolas", monospace; overflow-wrap: anywhere; }
.address { user-select: all; }

.faq { border-top: 1px solid var(--line); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { display: flex; align-items: baseline; justify-content: space-between; gap: 14px; list-style-type: none; padding: 15px 2px; cursor: pointer; font-weight: 700; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; color: var(--link); font-size: 18px; }
.faq details[open] summary::after { content: "−"; }
.faq p { padding: 0 28px 12px 2px; }

.contact { display: flex; justify-content: space-between; gap: 18px 32px; align-items: center; margin-top: 52px; padding: 22px 26px; border-radius: 16px; background: #e9f1ff; }
.contact h2 { font-size: 21px; margin-bottom: 7px; }
.contact p { color: var(--muted); }
.contact-links { display: flex; justify-content: end; flex-wrap: wrap; gap: 6px 19px; }
.contact a { overflow-wrap: anywhere; }

.policy { width: min(870px, 100%); margin-inline: auto; }
.policy .hero { display: block; min-height: 0; }
.policy .hero h1 { font-size: clamp(35px, 5vw, 52px); margin-bottom: 11px; }
.policy .hero p { color: #d5e3f7; }
.policy .meta { margin: 18px 0 8px; color: var(--muted); font-size: 13px; }
.policy .nav { display: flex; flex-wrap: wrap; gap: 7px 19px; margin: 10px 0 20px; }
.policy .panel { margin: 14px 0; padding: 22px 24px; border: 1px solid var(--line); border-radius: 14px; background: var(--surface); }
.policy .panel.note { background: #e9f8f2; border-color: #cce8dd; }
.policy h2 { font-size: 21px; margin-bottom: 10px; }
.policy .panel p + p { margin-top: 10px; }
.policy .panel ol, .policy .panel ul { padding-left: 22px; margin: 8px 0; }
.policy .table-scroll { overflow-x: auto; margin: 12px 0; }
.policy table { text-align: left; width: 100%; border-collapse: collapse; font-size: 14px; }
.policy th, .policy td { padding: 9px 11px; vertical-align: top; border-bottom: 1px solid var(--line); }
.policy th { background: #edf4ff; }
.policy td:first-child { min-width: 92px; }
.policy .footer { margin-top: 22px; color: var(--muted); font-size: 13px; }

@media (max-width: 820px) {
  .site-width { width: calc(100% - 40px); }
  .hero { gap: 29px; }
  .steps li, .install-card { padding: 18px; }
}

@media (max-width: 650px) {
  .site-width { width: calc(100% - 28px); }
  .site-bar { flex-wrap: wrap; padding-block: 10px 12px; }
  .site-nav { gap: 5px 15px; }
  .guide { padding-top: 16px; }
  .hero { grid-template-columns: 1fr; min-height: 0; padding: 24px; border-radius: 18px; }
  .hero h1 { margin-block: 10px 12px; font-size: clamp(32px, 8vw, 47px); }
  .download-example { justify-self: start; }
  .example-window { padding: 14px; }
  .section { margin-top: 37px; }
  .steps, .install-grid { grid-template-columns: 1fr; }
  .steps li + li { border-left: 0; border-top: 1px solid var(--line); }
  .contact { flex-direction: column; align-items: start; margin-top: 35px; padding: 18px; }
  .contact-links { justify-content: start; }
  .policy .panel { padding: 16px; }
}

@media print {
  :root { background: white; }
  .site-width { width: 100%; }
  .site-nav, .download-example, .hero-actions { display: none; }
  .hero { display: block; min-height: 0; color: var(--navy); background: white; padding: 0; }
  .hero .hero-meta, .hero-text > p:not(.hero-meta), .policy .hero p { color: var(--muted); }
}

.download-options { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
.download-links { display: flex; flex-wrap: wrap; gap: 8px 16px; margin-top: 14px; font-weight: 650; }
.store-options { list-style: none; margin: 0; padding: 0; }
.store-options li { display: flex; justify-content: space-between; align-items: baseline; gap: 5px 10px; flex-wrap: wrap; }
.store-options li + li { margin-top: 9px; }
.store-status { color: var(--muted); font-size: 13px; }
@media (max-width: 650px) { .download-options { grid-template-columns: 1fr; } }
