/* Shared visual language for this product page; site-theme owns global navigation. */
:root { --ink: var(--site-ink, #101b35); --muted: var(--site-muted, #5f6d86); --line: var(--site-line, #dce3f0); --brand: var(--site-blue, #315efb); --surface: var(--site-surface, #fff); }
* { box-sizing: border-box; }
body { margin: 0; min-height: 100vh; 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 { color: inherit; text-decoration: none; }
a:focus-visible, button:focus-visible { outline: 3px solid var(--brand); outline-offset: 5px; }
.container { width: min(1180px, calc(100% - 56px)); margin-inline: auto; padding-bottom: 32px; }
.hero { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); align-items: center; gap: 50px; padding: 76px 0 40px; min-height: 610px; }
.hero > * { min-width: 0; }
.eyebrow { display: inline-flex; align-items: center; font-size: 12px; font-weight: 700; line-height: 1.65; padding: 6px 11px; margin-bottom: 24px; color: var(--brand); border: 1px solid #d6e0fa; border-radius: 8px; background: var(--site-soft, #edf2ff); }
h1 { margin: 0 0 22px; font-size: clamp(40px, 6.5vw, 72px); line-height: 1.08; font-weight: 800; letter-spacing: -.055em; color: var(--brand); }
.hero-copy { margin: 0 0 24px; color: var(--muted); line-height: 1.85; max-width: 620px; }
.hero-actions, .download-actions { display: flex; flex-wrap: wrap; gap: 9px; }
.pill { padding: 6px 10px; border: 1px solid var(--line); border-radius: 7px; background: var(--surface); color: var(--muted); font-size: 12px; font-weight: 600; }
.download-actions { margin-top: 28px; gap: 12px; }
.download-btn { max-width:100%; overflow-wrap:anywhere; display: inline-flex; align-items: center; justify-content: center; 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; transition: transform .22s, box-shadow .22s, border-color .22s; }
.download-btn.primary { color: white; background: var(--brand); border-color: var(--brand); box-shadow: 0 7px 18px #315efb24; }
.download-btn.secondary { color: var(--ink); background: var(--surface); }
.download-btn:hover { transform: translateY(-3px); border-color: var(--brand); box-shadow: 0 12px 24px #315efb24; }
.download-count { margin: 18px 0 0; font-size: 14px; font-weight: 700; color: #3d5280; }
.release-note { margin: 10px 0 0; color: var(--muted); font-size: 13px; line-height: 1.8; }
.app-preview { min-width: 0; background: var(--surface); border: 1px solid var(--line); border-radius: var(--site-radius, 20px); overflow: hidden; box-shadow: 0 24px 50px -24px #233f8238; }
.app-preview img, .shot img { display: block; width: 100%; height: auto; }
.section { margin: 72px 0; }
.section h2 { font-size: clamp(26px, 3vw, 34px); letter-spacing: -.04em; line-height: 1.45; margin: 0 0 18px; }
.section-lead { margin: 0 0 26px; color: var(--muted); max-width: 790px; line-height: 1.85; }
.grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
.card { min-width: 0; padding: 28px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--site-radius, 20px); transition: transform .24s, border-color .24s, box-shadow .24s; }
.card h3 { margin: 0 0 12px; font-size: 19px; letter-spacing: -.025em; line-height: 1.5; }
.card p { margin: 0; color: var(--muted); font-size: 15px; line-height: 1.85; }
.card:hover { transform: translateY(-4px); border-color: #b7c8f4; box-shadow: 0 14px 32px -20px #315efb40; }
.flow { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; counter-reset: step; }
.flow-step { min-width: 0; padding: 25px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--site-radius, 20px); }
.flow-step::before { counter-increment: step; content: counter(step, decimal-leading-zero); display: block; color: var(--brand); font-size: 24px; line-height: 1.3; font-weight: 750; letter-spacing: -.055em; margin-bottom: 20px; }
.flow-step strong { display: block; font-size: 17px; line-height: 1.55; margin-bottom: 9px; }
.flow-step span { color: var(--muted); font-size: 14px; line-height: 1.85; }
.gallery { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 22px; }
.shot { min-width: 0; border: 1px solid var(--line); border-radius: var(--site-radius, 20px); overflow: hidden; background: var(--surface); }
.shot-caption { padding: 16px 20px; color: var(--muted); font-size: 14px; font-weight: 600; }
.split { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; }
.list { margin: 0; padding-left: 1.25rem; color: var(--muted); line-height: 1.95; font-size: 15px; }
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; }
body.site-unified .bug-report-bottom { width: min(1180px, calc(100% - 56px)); margin: 0 auto 36px; padding: 28px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--site-radius, 20px); }
body.site-unified .bug-report-link { color: var(--brand) !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 { width: min(1180px, calc(100% - 56px)); margin-inline: auto; padding: 28px 0 36px; border-top: 1px solid var(--line); color: var(--muted); font-size: 12px; line-height: 2; overflow-wrap: anywhere; }
footer a { display: inline-block; padding-block: 5px; }
footer a:hover { color: var(--brand); }
@media (max-width: 960px) {
  .hero { grid-template-columns: 1fr; min-height: 0; gap: 34px; padding-top: 50px; }
  .hero-copy { max-width: 760px; }
  .app-preview { width: 100%; }
  .grid, .flow { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 620px) {
  .container, body.site-unified .bug-report-bottom, footer { width: calc(100% - 36px); }
  .hero { padding-top: 38px; gap: 28px; }
  .eyebrow { font-size: 11px; margin-bottom: 20px; }
  .hero-copy { font-size: 15px; }
  .section { margin: 54px 0; }
  .section-lead { font-size: 15px; }
  .grid, .flow, .split, .gallery { grid-template-columns: 1fr; }
  .card, .flow-step { padding: 24px; }
  .download-actions { gap: 10px; }
  .download-btn { font-size: 13px; padding-inline: 15px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition: none !important; animation: none !important; scroll-behavior: auto !important; }
  .card:hover, .download-btn:hover, body.site-unified .bug-report-link:hover { transform: none; }
}

/* Tablet/phone composition and long technical labels share the same safe width. */
.container, .bug-report-bottom { overflow-wrap: anywhere; }
.eyebrow, .pill { max-width: 100%; }
.download-btn { min-width: 0; flex-wrap: wrap; }
footer a { min-height: 44px; display: inline-flex; align-items: center; max-width: 100%; }
@media (max-width: 1024px) {
  .hero { grid-template-columns: minmax(0, 1fr); min-height: 0; gap: 34px; padding-top: 50px; }
  .hero-copy { max-width: 760px; }
  .grid, .flow { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 820px) {
  .container, body.site-unified .bug-report-bottom, footer { width: calc(100% - 40px); }
  .hero-copy, .section-lead, .card p { font-size: 16px; }
  .flow-step span { font-size: 15px; }
}
@media (max-width: 680px) {
  .grid, .flow, .split, .gallery { grid-template-columns: minmax(0, 1fr); }
  .card, .flow-step { padding: 24px 20px; }
  .hero { padding-top: 38px; }
  .download-btn { font-size: 15px; flex: 1 1 240px; }
  .shot-caption { padding: 15px 18px; }
}
@media (max-width: 420px) {
  .container, body.site-unified .bug-report-bottom, footer { width: calc(100% - 32px); }
  .download-actions { gap: 12px; }
}
@media (hover: none) { .card:hover, .download-btn:hover { transform: none; } }
