:root {
  --sky: #1a8cd8; --sky-hover: #1577ba; --sky-soft: #e8f3fc; --link: #0f66a3;
  --ink: #0f2436; --slate: #4a5b6e; --mist: #7a8a9c; --line: #edf2f7; --line-strong: #ccd7e2;
  --base: #f3f8fc; --code: #7dd3fc;
  --font: -apple-system, BlinkMacSystemFont, "PingFang SC", "Microsoft YaHei", "Segoe UI", sans-serif;
  --mono: ui-monospace, "SF Mono", Menlo, Consolas, monospace;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: #fff; color: var(--ink); font: 400 16px/1.7 var(--font); -webkit-font-smoothing: antialiased; }
body.tint { background: var(--base); }
a { color: var(--link); text-decoration: none; }
a:hover { color: var(--ink); }
img { display: block; max-width: 100%; }
h1, h2, p { margin: 0; }
.wrap { max-width: 1440px; margin: 0 auto; padding: 0 80px; }

/* Nav */
.nav { position: sticky; top: 0; z-index: 10; background: rgba(255,255,255,.92); backdrop-filter: blur(12px); border-bottom: 1px solid var(--line); }
.nav .wrap { height: 72px; display: flex; align-items: center; gap: 40px; }
.brand { display: flex; align-items: center; gap: 10px; color: var(--ink); font-weight: 700; font-size: 20px; }
.brand img { width: 32px; height: 32px; object-fit: contain; }
.nav-links { display: flex; gap: 28px; font-size: 14px; font-weight: 500; }
.nav-links a { color: var(--slate); padding: 4px 0; }
.nav-links a:hover, .nav-links a[aria-current="page"] { color: var(--ink); }
.nav-links a[aria-current="page"] { box-shadow: 0 2px 0 var(--sky); }
.nav .btn { margin-left: auto; }

/* Buttons */
.btn { display: inline-flex; align-items: center; gap: 10px; padding: 11px 18px; border-radius: 10px; background: var(--sky); color: #fff; font: 600 14px/1 var(--font); border: 0; cursor: pointer; white-space: nowrap; }
.btn:hover { background: var(--sky-hover); color: #fff; }
.btn.lg { padding: 16px 24px; border-radius: 12px; font-size: 16px; font-weight: 700; }
.btn.glow { box-shadow: 0 8px 24px rgba(26,140,216,.28); }
.btn.ghost { background: #fff; color: var(--ink); box-shadow: inset 0 0 0 1px var(--line-strong); }
.btn.ghost:hover { background: var(--base); }
.btn[aria-disabled="true"] { background: var(--line); color: var(--mist); box-shadow: none; pointer-events: none; }
.btn svg { width: 18px; height: 18px; }

.eyebrow { font-size: 13px; font-weight: 600; letter-spacing: .06em; color: var(--sky); }
.muted { color: var(--slate); }
.small { font-size: 13px; color: var(--mist); }

/* Home: hero */
.hero { position: relative; padding-top: 96px; background: linear-gradient(180deg, var(--base), #fff); overflow: hidden; }
.hero::before { content: ""; position: absolute; right: -180px; top: -220px; width: 760px; height: 760px; border-radius: 50%; background: radial-gradient(circle, rgba(56,169,240,.2), rgba(56,169,240,0) 68%); }
.hero-text { position: relative; display: flex; flex-direction: column; align-items: center; text-align: center; gap: 24px; }
.pill { display: inline-flex; align-items: center; gap: 8px; padding: 7px 14px; border-radius: 999px; background: var(--sky-soft); color: var(--link); font-size: 13px; font-weight: 600; line-height: 1; }
.pill::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--sky); }
.hero h1 { max-width: 980px; font-size: 60px; font-weight: 800; line-height: 1.15; letter-spacing: -.02em; text-wrap: balance; }
.hero p { max-width: 760px; font-size: 19px; color: var(--slate); text-wrap: pretty; }
.actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; margin-top: 8px; }
.window { position: relative; max-width: 1180px; margin: 64px auto 0; border-radius: 20px 20px 0 0; background: var(--ink); padding: 14px 14px 0; box-shadow: 0 -4px 60px rgba(15,36,54,.18); }
.window .dots { display: flex; gap: 7px; padding: 2px 4px 12px; }
.window .dots i { width: 11px; height: 11px; border-radius: 50%; background: #ff5f57; }
.window .dots i:nth-child(2) { background: #febc2e; }
.window .dots i:nth-child(3) { background: #28c840; }
.window img { width: 100%; height: auto; aspect-ratio: 1152 / 586; object-fit: cover; object-position: top left; border-radius: 10px 10px 0 0; }

/* Home: sections */
.section { padding-top: 120px; padding-bottom: 120px; display: flex; flex-direction: column; gap: 56px; }
.section-head { display: flex; flex-direction: column; gap: 14px; max-width: 720px; }
.section-head h2 { font-size: 40px; font-weight: 800; line-height: 1.25; }
.grid3 { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
.step { display: flex; flex-direction: column; gap: 20px; }
.step-shot { aspect-ratio: 4 / 3; border-radius: 20px; background: var(--sky-soft); padding: 20px 0 0 20px; overflow: hidden; }
.step-shot img { width: 150%; max-width: none; border-radius: 10px 0 0 0; box-shadow: 0 8px 24px rgba(15,36,54,.12); }
.step-title { display: flex; align-items: center; gap: 12px; font-size: 22px; font-weight: 700; line-height: 1.2; }
.step-title span { width: 32px; height: 32px; flex: none; border-radius: 50%; background: var(--sky); color: #fff; display: grid; place-items: center; font-size: 14px; }
.step p { font-size: 15px; line-height: 1.75; color: var(--slate); text-wrap: pretty; }

.ability { margin-bottom: 120px; border-radius: 32px; background: var(--base); padding: 72px; display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: 72px; }
.ability-text { display: flex; flex-direction: column; gap: 14px; }
.ability-text h2 { font-size: 36px; font-weight: 800; line-height: 1.3; text-wrap: balance; }
.ability-text p { color: var(--slate); line-height: 1.75; }
.cards2 { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.card { background: #fff; border-radius: 20px; padding: 24px; display: flex; flex-direction: column; gap: 10px; }
.card strong { font-size: 17px; line-height: 1.3; }
.card span, .trust span { font-size: 14px; line-height: 1.7; color: var(--slate); }

.trust { padding-bottom: 120px; gap: 40px; }
.trust div { display: flex; flex-direction: column; gap: 10px; padding-top: 24px; border-top: 2px solid var(--sky); }
.trust strong { font-size: 18px; line-height: 1.3; }

.cta { position: relative; overflow: hidden; margin-bottom: 80px; border-radius: 32px; background: var(--ink); padding: 72px; display: flex; align-items: center; justify-content: space-between; gap: 40px; }
.cta::before { content: ""; position: absolute; right: -120px; bottom: -200px; width: 520px; height: 520px; border-radius: 50%; background: radial-gradient(circle, rgba(56,169,240,.35), rgba(56,169,240,0) 70%); }
.cta div { position: relative; display: flex; flex-direction: column; gap: 12px; }
.cta strong { font-size: 36px; font-weight: 800; line-height: 1.3; color: #fff; }
.cta span { color: #c9ddf0; }
.cta .btn { position: relative; }

/* Footer */
.footer { border-top: 1px solid var(--line); background: #fff; }
.footer .wrap { padding-top: 32px; padding-bottom: 32px; display: flex; align-items: center; justify-content: space-between; gap: 24px; font-size: 13px; color: var(--mist); }
.footer .brand { font-size: 13px; font-weight: 400; color: var(--mist); }
.footer .brand img { width: 22px; height: 22px; }
.footer nav { display: flex; gap: 24px; }
.footer a { color: var(--mist); }
.footer a:hover { color: var(--ink); }

/* Download page */
.page-head { padding-top: 72px; padding-bottom: 40px; display: flex; flex-direction: column; gap: 12px; }
.page-head h1 { font-size: 44px; font-weight: 800; line-height: 1.2; }
.page-head p { font-size: 17px; color: var(--slate); }
.grid2 { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 24px; }
.panel { background: #fff; border-radius: 28px; padding: 36px; display: flex; flex-direction: column; gap: 24px; }
.product { display: flex; align-items: center; gap: 16px; }
.product .icon { width: 56px; height: 56px; flex: none; border-radius: 16px; background: var(--sky-soft); display: grid; place-items: center; }
.product .icon.dark { background: var(--ink); }
.product .icon img { width: 36px; height: 36px; object-fit: contain; }
.product div { display: flex; flex-direction: column; gap: 6px; }
.product strong { font-size: 24px; font-weight: 800; line-height: 1; }
.product span { font-size: 13px; line-height: 1; color: var(--mist); }
.builds { display: flex; flex-direction: column; gap: 10px; }
.build { display: flex; align-items: center; gap: 14px; padding: 16px 18px; border-radius: 16px; background: #fff; box-shadow: inset 0 0 0 1px #dde5ee; }
.build.picked { background: rgba(26,140,216,.06); box-shadow: inset 0 0 0 1.5px var(--sky); }
.build:not(.picked) .btn:not([aria-disabled="true"]) { background: #fff; color: var(--ink); box-shadow: inset 0 0 0 1px var(--line-strong); }
.build > div { flex: 1; display: flex; flex-direction: column; gap: 6px; min-width: 0; }
.build strong { font-size: 15px; font-weight: 600; line-height: 1; }
.build span { font-size: 12px; line-height: 1; color: var(--mist); }
.build .detected { display: none; flex: none; padding: 5px 9px; border-radius: 999px; background: var(--sky-soft); color: var(--link); font-size: 11px; font-weight: 600; }
.build.picked .detected { display: inline; }
.note { padding: 12px 14px; border-radius: 12px; background: var(--base); font-size: 13px; line-height: 1.6; color: var(--slate); }
.checks { display: flex; flex-direction: column; gap: 12px; padding-top: 20px; border-top: 1px solid var(--line); }
.checks ul { display: flex; flex-direction: column; gap: 12px; margin: 0; padding: 0; list-style: none; }
.checks b { font-size: 14px; }
.checks li { display: flex; gap: 10px; font-size: 14px; line-height: 1.6; color: var(--slate); }
.checks li::before { content: "✓"; color: var(--sky); font-weight: 700; }
.install { padding-top: 72px; display: flex; flex-direction: column; gap: 28px; }
.install-head { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 8px; }
.install-head h2 { font-size: 30px; font-weight: 800; line-height: 1.2; }
.grid4 { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
.how { background: #fff; border-radius: 22px; padding: 24px; display: flex; flex-direction: column; gap: 14px; }
.how em { font: 700 13px/1 var(--mono); font-style: normal; color: var(--sky); }
.how strong { font-size: 17px; line-height: 1.35; }
.how span { font-size: 14px; line-height: 1.7; color: var(--slate); }
.how code { align-self: flex-start; padding: 7px 10px; border-radius: 8px; background: var(--ink); color: var(--code); font: 500 12px/1 var(--mono); }
.more { padding-top: 72px; padding-bottom: 96px; }
.more .panel { padding: 32px 36px; gap: 8px; }
.more h2 { font-size: 22px; font-weight: 800; line-height: 1.2; margin-bottom: 12px; }
.log { display: grid; grid-template-columns: 72px minmax(0, 1fr); gap: 16px; padding: 14px 0; border-bottom: 1px solid var(--line); }
.log b { font: 600 13px/1.5 var(--mono); color: var(--mist); }
.log b.now { color: var(--sky); }
.log span { white-space: pre-line; }
#desktop-notes { white-space: pre-line; }
.log span, .qa p { font-size: 14px; line-height: 1.65; color: var(--slate); }
.qa { display: flex; flex-direction: column; gap: 8px; padding: 14px 0; border-bottom: 1px solid var(--line); }
.qa strong { font-size: 15px; font-weight: 600; line-height: 1.4; }
.log:last-child, .qa:last-child { border-bottom: 0; }

@media (max-width: 1100px) {
  .wrap { padding: 0 32px; }
  .hero h1 { font-size: 44px; }
  .ability { grid-template-columns: 1fr; gap: 40px; padding: 48px; }
  .grid4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 760px) {
  .wrap { padding: 0 16px; }
  .nav .wrap { gap: 16px; height: 60px; }
  .nav-links { display: none; }
  .hero { padding-top: 56px; }
  .hero h1 { font-size: 32px; }
  .hero h1 br { display: none; }
  .hero p { font-size: 16px; }
  .window { margin-top: 40px; padding: 8px 8px 0; border-radius: 12px 12px 0 0; }
  .section { padding-top: 72px; padding-bottom: 72px; gap: 32px; }
  .section-head h2, .ability-text h2, .cta strong { font-size: 28px; }
  .grid3, .grid2, .grid4, .cards2 { grid-template-columns: 1fr; }
  .ability { padding: 28px 20px; border-radius: 24px; margin-bottom: 72px; }
  .trust { padding-bottom: 72px; }
  .cta { flex-direction: column; align-items: flex-start; padding: 40px 24px; border-radius: 24px; margin-bottom: 48px; }
  .footer .wrap { flex-direction: column; align-items: flex-start; }
  .page-head { padding-top: 40px; }
  .page-head h1 { font-size: 32px; }
  .panel { padding: 24px 20px; border-radius: 22px; }
  .build { flex-wrap: wrap; }
  .install, .more { padding-top: 48px; }
  .more { padding-bottom: 56px; }
}
