:root { --ink: var(--site-ink, #101b35); --muted: var(--site-muted, #5f6d86); --line: var(--site-line, #dce3f0); --blue: var(--site-blue, #315efb); --card: var(--site-surface, #fff); }
* { box-sizing: border-box; }
html { scroll-padding-top: 28px; }
body { margin: 0; color: var(--ink); background: var(--site-bg, #f5f7fc); font: 16px/1.7 var(--site-font, "Segoe UI", "PingFang SC", "Microsoft YaHei", system-ui, sans-serif); -webkit-font-smoothing: antialiased; }
a:focus-visible, button:focus-visible { outline: 3px solid var(--blue); outline-offset: 5px; }
.wrap { width: min(1180px, calc(100% - 56px)); margin-inline: auto; }
.hero { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, .8fr); align-items: center; gap: 60px; padding: 70px 0 64px; }
.hero > div, .two > *, .download > div { min-width: 0; }
.eyebrow { display: inline-flex; align-items: center; gap: 8px; font-size: 12px; font-weight: 700; line-height: 1.6; color: var(--blue); background: var(--site-soft, #edf2ff); border: 1px solid #d6e0fa; padding: 6px 11px; border-radius: 8px; }
.hero h1 { margin: 24px 0 22px; color: var(--blue); font-size: clamp(40px, 6.5vw, 72px); font-weight: 800; letter-spacing: -.055em; line-height: 1.08; }
.hero h1 span { display: block; color: var(--ink); font-size: .4em; letter-spacing: -.035em; line-height: 1.5; margin-top: 18px; font-weight: 700; }
.lead { font-size: 16px; line-height: 1.85; color: var(--muted); max-width: 650px; }
.badges { display: flex; flex-wrap: wrap; gap: 8px; margin: 24px 0; }
.badge { font-size: 12px; font-weight: 600; color: var(--muted); padding: 6px 10px; background: var(--card); border: 1px solid var(--line); border-radius: 7px; }
.actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 26px; }
.button { max-width: 100%; display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 48px; padding: 12px 18px; border: 1px solid var(--line); border-radius: 12px; font-size: 14px; line-height: 1.5; font-weight: 700; text-align: center; text-decoration: none; transition: transform .22s, box-shadow .22s, border-color .22s; }
.button.primary { color: white; background: var(--blue); border-color: var(--blue); box-shadow: 0 7px 18px #315efb24; }
.button.secondary { color: var(--ink); background: var(--card); }
.button:hover { transform: translateY(-3px); border-color: var(--blue); box-shadow: 0 12px 24px #315efb24; }
.recommend-tag { padding: 3px 7px; border-radius: 999px; font-size: 11px; line-height: 1.2; color: #075985; background: #e0f2fe; }
.button.primary .recommend-tag { color: #075985; background: white; }
.system-recommendation { max-width: 650px; margin-top: 24px; padding: 16px 18px; border-radius: 16px; background: var(--card); border: 1px solid var(--line); }
.system-recommendation[data-state="ready"] { border-color: #8dddc2; background: #f0fdf8; }
.system-recommendation[data-state="warning"] { border-color: #f5cf79; background: #fffbeb; }
.system-recommendation[data-state="unsupported"] { border-color: #fdbaaa; background: #fff7ed; }
.system-status { display: inline-flex; margin-bottom: 8px; padding: 4px 8px; border-radius: 999px; background: #dff5ff; color: #03658c; font-size: 12px; font-weight: 800; }
.system-recommendation strong { display: block; font-size: 17px; }
.system-recommendation p { margin: 5px 0 0; color: #5c7186; font-size: 14px; line-height: 1.55; }
.hero-art { position: relative; display: grid; place-items: center; }
.orb { display: block; width: min(350px, 100%); height: auto; filter: drop-shadow(0 24px 30px #24478526); }
.halo { display: none; }
.cover { display: block; width: 100%; height: auto; border-radius: var(--site-radius, 20px); border: 1px solid var(--line); box-shadow: 0 24px 50px -24px #233f8238; }
.section { padding: 72px 0 0; }
.section-head { max-width: 750px; margin-bottom: 28px; }
.kicker { color: var(--blue); font-size: 11px; font-weight: 750; letter-spacing: .12em; text-transform: uppercase; }
.section h2 { font-size: clamp(26px, 3vw, 34px); letter-spacing: -.04em; line-height: 1.45; margin: 10px 0 16px; }
.section-head p { font-size: 16px; line-height: 1.85; color: var(--muted); margin: 0; }
.grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
.feature, .panel { min-width: 0; background: var(--card); border: 1px solid var(--line); border-radius: var(--site-radius, 20px); padding: 28px; }
.feature { transition: transform .24s, border-color .24s, box-shadow .24s; }
.feature:hover { transform: translateY(-4px); border-color: #b7c8f4; box-shadow: 0 14px 32px -20px #315efb40; }
.feature .num { font-size: 12px; color: var(--blue); font-weight: 750; }
.feature h3 { font-size: 19px; letter-spacing: -.025em; line-height: 1.5; margin: 17px 0 12px; }
.feature p { color: var(--muted); font-size: 15px; line-height: 1.85; margin: 0; }
.gallery { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 22px; align-items: start; }
.gallery figure { margin: 0; min-width: 0; }
.gallery figure:first-child { grid-column: 1 / -1; }
.gallery a { display: block; border-radius: var(--site-radius, 20px); border: 1px solid var(--line); overflow: hidden; background: var(--card); }
.gallery img { display: block; width: 100%; height: auto; aspect-ratio: 16/10; object-fit: contain; background: var(--site-soft, #edf2ff); transition: transform .3s; }
.gallery a:hover img { transform: scale(1.012); }
.gallery figcaption { padding: 12px 4px 4px; color: var(--muted); font-size: 14px; line-height: 1.7; }
.two { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 22px; }
.panel h3 { font-size: 21px; letter-spacing: -.025em; line-height: 1.5; margin: 0 0 16px; }
.panel p, .panel li { color: var(--muted); line-height: 1.85; font-size: 15px; }
.panel ol, .panel ul { padding-left: 20px; }
.specs { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 20px; }
.spec { padding: 14px 0; border-bottom: 1px solid var(--line); font-size: 15px; }
.spec b { display: block; font-size: 12px; color: var(--muted); margin-bottom: 4px; }
.hash { font: 12px/1.8 "Cascadia Code", Consolas, monospace; overflow-wrap: anywhere; background: var(--site-soft, #edf2ff); padding: 14px; border-radius: 10px; color: #304dab; }
code { font-family: "Cascadia Code", Consolas, monospace; font-size: .88em; padding: 2px 5px; border-radius: 5px; background: var(--site-soft, #edf2ff); color: #304dab; overflow-wrap: anywhere; word-break: break-word; }
.note { border-left: 4px solid #f59e0b; background: #fffbeb; padding: 15px 18px; border-radius: 10px; color: #7c5a16; line-height: 1.75; font-size: 14px; }
.ota-footnote { color: var(--muted); font-size: 15px; line-height: 1.85; margin-top: 26px; }
.download { margin: 72px auto 48px; padding: 36px; border: 1px solid var(--line); border-radius: var(--site-radius, 20px); color: var(--ink); background: var(--card); display: flex; align-items: center; justify-content: space-between; gap: 28px; }
.download h2 { margin: 0 0 12px; font-size: 30px; color: var(--blue); letter-spacing: -.04em; line-height: 1.4; }
.download p { margin: 0; color: var(--muted); font-size: 15px; line-height: 1.8; }
.download .actions { margin-top: 0; justify-content: flex-end; }
.download .button { color: var(--blue); background: var(--site-soft, #edf2ff); border-color: #d6e0fa; }
.download .button.recommended { outline: 3px solid #67e8f9; box-shadow: 0 0 0 6px #67e8f929; }
.links { display: flex; gap: 12px 18px; flex-wrap: wrap; }
.text-link { color: var(--blue); text-underline-offset: 3px; }
body.site-unified .bug-report-bottom { width: min(1180px, calc(100% - 56px)); margin: 0 auto 36px; padding: 28px; background: var(--card); border: 1px solid var(--line); border-radius: var(--site-radius, 20px); }
body.site-unified .bug-report-link { color: var(--blue) !important; background: var(--site-soft, #edf2ff); border-color: #d6e0fa; border-radius: 12px; min-height: 44px; }
body.site-unified .bug-report-link:hover { background: #e2eaff; border-color: #aabdff; }
.footer { padding: 28px 0 36px; border-top: 1px solid var(--line); color: var(--muted); font-size: 12px; line-height: 2; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 14px 28px; overflow-wrap: anywhere; }
.footer a { color: inherit; display: inline-block; padding-block: 5px; }
.footer a:hover { color: var(--blue); }
@media (max-width: 960px) {
  .hero { gap: 32px; padding-top: 48px; }
  .grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .download { align-items: flex-start; flex-direction: column; }
  .download .actions { justify-content: flex-start; }
}
@media (max-width: 720px) {
  .wrap, body.site-unified .bug-report-bottom { width: calc(100% - 36px); }
  .hero { grid-template-columns: 1fr; gap: 34px; padding: 38px 0 42px; }
  .hero-art { order: -1; }
  .orb { width: 190px; }
  .hero h1 { font-size: clamp(40px, 9vw, 62px); }
  .eyebrow { font-size: 11px; }
  .section { padding-top: 54px; }
  .section-head p, .lead { font-size: 15px; }
  .grid, .two, .gallery { grid-template-columns: 1fr; }
  .feature, .panel { padding: 24px; }
  .download { margin-top: 54px; padding: 25px; }
  .download .button { width: 100%; }
  .button { font-size: 13px; padding-inline: 15px; }
}
@media (max-width: 380px) { .specs { grid-template-columns: 1fr; } .actions { gap: 9px; } }
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
  .button:hover, .feature:hover, .gallery a:hover img, body.site-unified .bug-report-link:hover { transform: none; }
}

/* Download choices remain separate, readable targets on tablets and phones. */
main, .bug-report-bottom { overflow-wrap: anywhere; }
.eyebrow, .badge, .system-status, .recommend-tag { max-width: 100%; }
.button { min-width: 0; flex-wrap: wrap; overflow-wrap: anywhere; }
.hash { min-width: 0; max-width: 100%; overflow-x: auto; white-space: pre; overflow-wrap: normal; overscroll-behavior-x: contain; -webkit-overflow-scrolling: touch; }
.text-link, .footer a { display: inline-flex; align-items: center; min-height: 44px; max-width: 100%; overflow-wrap: anywhere; }
@media (max-width: 1024px) {
  .hero { grid-template-columns: minmax(0, 1fr); gap: 30px; padding-top: 44px; }
  .hero-art { order: -1; }
  .orb { width: 240px; max-width: 100%; }
  .grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .download { flex-direction: column; align-items: stretch; }
  .download .actions { width: 100%; justify-content: flex-start; }
  .download .button { flex: 1 1 260px; }
}
@media (max-width: 820px) {
  .wrap, body.site-unified .bug-report-bottom { width: calc(100% - 40px); }
  .two { grid-template-columns: minmax(0, 1fr); }
  .section-head p, .lead, .panel p, .panel li, .feature p { font-size: 16px; }
}
@media (max-width: 720px) {
  .grid { grid-template-columns: minmax(0, 1fr); }
  .orb { width: 190px; }
  .button { font-size: 15px; padding: 12px 15px; }
  .actions { align-items: stretch; }
  .actions .button { flex: 1 1 260px; }
  .feature, .panel, .download { padding: 24px 20px; }
  .download .actions { gap: 12px; }
  .links { gap: 6px 18px; }
}
@media (max-width: 420px) {
  .wrap, body.site-unified .bug-report-bottom { width: calc(100% - 32px); }
  .specs { grid-template-columns: minmax(0, 1fr); }
  .system-recommendation { padding: 16px; }
  .hash { padding: 12px; font-size: 13px; }
}
@media (hover: none) { .button:hover, .feature:hover, .gallery a:hover img { transform: none; } }
