/* Screenline marketing tokens: website/DESIGN.md → this :root. */
:root {
  color-scheme: light;
  --surface: #edf4f7;
  --white: #ffffff;
  --primary: #24465d;
  --foreground: #1f3340;
  --muted: #59717f;
  --border: #d7e3e9;
  --rope: #8094a0;
  --wood: #b89b6e;
  --scrollbar-thumb: #8094a0;
  --scrollbar-hover: #59717f;
  --scrollbar-active: #24465d;
  --scrollbar-track: #edf4f7;
  --font-body: "Segoe UI", "Microsoft YaHei UI", "Microsoft YaHei", system-ui, sans-serif;
  --font-display: "Microsoft YaHei UI", "Microsoft YaHei", "Segoe UI", system-ui, sans-serif;
  --font-utility: "Cascadia Code", Consolas, "Microsoft YaHei UI", monospace;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 32px; scrollbar-gutter: stable; scrollbar-color: var(--scrollbar-thumb) var(--scrollbar-track); scrollbar-width: thin; }
body { margin: 0; background: var(--surface); color: var(--foreground); font-family: var(--font-body); font-size: 16px; line-height: 1.75; -webkit-font-smoothing: antialiased; }
* { scrollbar-color: var(--scrollbar-thumb) var(--scrollbar-track); scrollbar-width: thin; }
::-webkit-scrollbar { width: 10px; height: 10px; }
::-webkit-scrollbar-track { background: var(--scrollbar-track); }
::-webkit-scrollbar-thumb { background: var(--scrollbar-thumb); border: 2px solid var(--scrollbar-track); border-radius: 8px; }
::-webkit-scrollbar-thumb:hover { background: var(--scrollbar-hover); }
::-webkit-scrollbar-thumb:active { background: var(--scrollbar-active); }
a { color: var(--primary); text-decoration-thickness: 1px; text-underline-offset: 4px; cursor: pointer; }
a:hover { text-decoration: underline; }
a:active { opacity: .82; }
button { font: inherit; cursor: pointer; }
button:disabled, [aria-disabled="true"] { cursor: default; opacity: .6; }
:focus-visible { outline: 3px solid var(--primary); outline-offset: 5px; border-radius: 3px; }
[hidden] { display: none !important; }
::selection { background: var(--border); color: var(--primary); }
img { display: block; max-width: 100%; height: auto; }
svg { width: 22px; height: 22px; flex: 0 0 auto; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
h1, h2, h3, p { margin: 0; }
h1, h2 { font-family: var(--font-display); }
h2 { font-size: clamp(32px, 3.5vw, 42px); font-weight: 650; line-height: 1.4; letter-spacing: -.035em; }
h3 { font-size: 19px; font-weight: 600; line-height: 1.55; }
.page-width { width: min(1120px, calc(100% - 80px)); margin-inline: auto; }
.section-space { padding-block: 104px; }
.eyebrow { color: var(--muted); font-size: 13px; font-weight: 500; letter-spacing: .08em; }
.skip-link { position: fixed; z-index: 10; top: 12px; left: 12px; padding: 10px 18px; background: var(--white); border: 1px solid var(--primary); border-radius: 6px; transform: translateY(-160%); }
.skip-link:focus { transform: translateY(0); }
.site-header { min-height: 104px; display: flex; justify-content: space-between; align-items: center; gap: 24px; border-bottom: 1px solid var(--border); }
.brand { display: inline-flex; align-items: center; gap: 12px; text-decoration: none; font-weight: 650; color: var(--primary); flex: 0 0 auto; }
.brand:hover { text-decoration: none; }
.brand img { flex: 0 0 auto; }
.brand-name { font-size: 18px; line-height: 1.5; }
.brand-en { display: block; font-family: "Segoe UI", sans-serif; font-size: 9px; font-weight: 500; letter-spacing: .24em; }
.site-nav { display: flex; align-items: center; gap: 28px; font-size: 14px; }
.site-nav a { text-decoration: none; display: inline-flex; align-items: center; gap: 7px; padding-block: 10px; white-space: nowrap; }
.site-nav a:hover { text-decoration: underline; }
.site-nav .nav-download { font-weight: 650; }
.site-nav .nav-github { padding-left: 26px; border-left: 1px solid var(--border); }
.nav-github svg { width: 19px; height: 19px; }
.hero { text-align: center; padding-top: 76px; }
.hero .eyebrow { display: flex; align-items: center; justify-content: center; gap: 9px; }
.quiet-dot { width: 5px; height: 5px; border-radius: 50%; background: var(--wood); }
h1 { margin-top: 22px; color: var(--primary); font-size: clamp(40px, 5.3vw, 62px); font-weight: 650; line-height: 1.3; letter-spacing: -.045em; }
.hero-description { margin-top: 25px; color: var(--muted); font-size: 17px; line-height: 1.9; }
.hero-actions { display: flex; justify-content: center; align-items: center; gap: 28px; margin-top: 30px; }
.button { min-height: 52px; display: inline-flex; align-items: center; justify-content: center; gap: 10px; padding: 12px 22px; border: 1px solid transparent; border-radius: 7px; font-size: 15px; font-weight: 600; line-height: 1.6; text-decoration: none; transition: background-color 150ms ease, box-shadow 150ms ease; }
.button:hover { text-decoration: none; }
.button:active { box-shadow: inset 0 2px 4px rgb(31 51 64 / 12%); }
.button-primary { color: var(--white); background: var(--primary); }
.button-primary:hover { background: var(--foreground); }
.button-outline { color: var(--primary); background: transparent; border-color: var(--border); }
.button-outline:hover { background: var(--surface); border-color: var(--rope); }
.button svg { width: 20px; height: 20px; }
.text-link { display: inline-flex; align-items: center; gap: 9px; font-size: 14px; font-weight: 550; text-decoration: none; }
.text-link:hover { text-decoration: underline; }
.hero-requirements { margin-top: 18px; color: var(--muted); font-size: 13px; }
.hero-requirements span { margin-inline: 7px; }
.product-preview { margin: 56px 0 0; text-align: left; }
.preview-caption-top { display: flex; align-items: center; justify-content: space-between; gap: 20px; margin-bottom: 14px; padding-inline: 4px; font-size: 12px; color: var(--muted); }
.preview-shortcut { display: inline-flex; align-items: center; font-size: 11px; white-space: nowrap; }
kbd { display: inline-flex; justify-content: center; min-width: 23px; padding: 0 5px; border: 1px solid var(--border); border-radius: 4px; background: rgb(255 255 255 / 65%); font: 10px/1.9 var(--font-utility); color: var(--primary); box-shadow: 0 1px 0 var(--border); }
.preview-shortcut > span { margin-inline: 3px; }
.preview-image { border: 1px solid var(--border); border-radius: 12px; overflow: hidden; background: var(--surface); box-shadow: 0 14px 30px -20px rgb(36 70 93 / 25%); }
.preview-image img { width: 100%; aspect-ratio: 1180 / 278; }
figcaption { margin-top: 13px; text-align: center; color: var(--muted); font-size: 12px; }
.workflow { padding-top: 94px; }
.section-heading .eyebrow { margin-bottom: 17px; }
.workflow .section-heading { display: grid; grid-template-columns: 1fr 1fr; column-gap: 80px; }
.workflow .section-heading .eyebrow { grid-column: 1 / -1; }
.workflow .section-heading > p:last-child { align-self: end; color: var(--muted); font-size: 16px; padding-bottom: 6px; }
.steps { list-style: none; padding: 0; margin: 47px 0 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); }
.step { min-width: 0; padding: 0 28px; border-left: 1px solid var(--border); }
.step:first-child { padding-left: 0; border-left: 0; }
.step:last-child { padding-right: 0; }
.step-number { display: block; color: var(--rope); font-family: var(--font-utility); font-size: 12px; letter-spacing: .08em; margin-bottom: 17px; }
.step p { color: var(--muted); font-size: 14px; line-height: 1.9; margin-top: 13px; }
.shortcut-line { display: flex; flex-wrap: wrap; align-items: center; gap: 4px; margin-top: 24px; color: var(--muted); font-size: 11px; }
.shortcut-line > span:last-child { margin-left: 7px; font-size: 12px; }
.step .text-link { margin-top: 24px; font-size: 12px; }
.local-first { background: var(--white); border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); padding-block: 84px; }
.local-layout { display: grid; grid-template-columns: 1fr 1fr; gap: 80px; }
.local-details { padding-top: 4px; }
.local-detail { display: flex; gap: 18px; }
.local-detail + .local-detail { margin-top: 30px; }
.local-detail svg { margin-top: 4px; color: var(--primary); }
.local-detail h3 { font-size: 16px; }
.local-detail p { margin-top: 8px; font-size: 14px; line-height: 1.85; color: var(--muted); }
.network-note { margin-top: 29px; padding-top: 21px; border-top: 1px solid var(--border); font-size: 12px; line-height: 1.85; color: var(--muted); }
.download-section { display: grid; grid-template-columns: .86fr 1.14fr; gap: 66px; align-items: start; }
.download-intro { padding-top: 15px; }
.download-intro .eyebrow { margin-bottom: 17px; }
.download-intro > p:not(.eyebrow) { margin-top: 23px; color: var(--muted); font-size: 14px; line-height: 1.9; }
.github-fallback { margin-top: 28px; }
.download-panel { min-width: 0; background: var(--white); padding: 30px; border: 1px solid var(--border); border-radius: 12px; }
.download-title-row { display: flex; align-items: baseline; justify-content: space-between; flex-wrap: wrap; gap: 8px; }
.download-title-row h3 { font-family: "Segoe UI", var(--font-body); font-size: 19px; letter-spacing: -.025em; }
.release-version { font-family: var(--font-utility); color: var(--muted); font-size: 12px; }
.download-platform { color: var(--muted); font-size: 12px; margin-top: 6px; }
.download-actions { display: grid; gap: 11px; margin-top: 23px; }
.download-actions .button { width: 100%; }
.download-actions .button-outline { min-height: 46px; font-size: 13px; }
.download-hint { color: var(--muted); font-size: 12px; margin-top: 14px; }
.release-status-line { min-height: 54px; margin-top: 18px; display: flex; align-items: start; gap: 10px; font-size: 12px; line-height: 1.8; color: var(--muted); }
#release-status { flex: 1; overflow-wrap: anywhere; }
.retry-button { flex: 0 0 auto; min-height: 32px; padding: 2px 8px; border: 1px solid var(--border); background: var(--white); color: var(--primary); border-radius: 4px; font-size: 12px; }
.retry-button:hover { background: var(--surface); border-color: var(--rope); }
.retry-button:active { background: var(--border); }
.noscript-message { color: var(--muted); font-size: 12px; margin-block: 12px; }
.release-links { display: flex; flex-wrap: wrap; gap: 8px 18px; min-height: 22px; font-size: 12px; }
.release-links a { text-decoration: none; }
.release-links a:hover { text-decoration: underline; }
.release-links span { color: var(--muted); }
.release-details { margin-top: 19px; border-top: 1px solid var(--border); padding-top: 14px; }
summary { cursor: pointer; }
.release-details summary { color: var(--primary); font-size: 12px; width: fit-content; }
.release-details summary:hover { text-decoration: underline; text-underline-offset: 4px; }
#release-notes { margin: 14px 0 0; max-height: 270px; overflow: auto; white-space: pre-wrap; overflow-wrap: anywhere; font: 12px/1.85 var(--font-body); color: var(--muted); }
.faq-section { border-top: 1px solid var(--border); padding-top: 78px; display: grid; grid-template-columns: .86fr 1.14fr; gap: 66px; }
.faq-section h2 { font-size: 32px; }
.faq-list { min-width: 0; }
.faq-list details { border-bottom: 1px solid var(--border); }
.faq-list details:first-child { border-top: 1px solid var(--border); }
.faq-list summary { list-style: none; display: flex; justify-content: space-between; align-items: center; gap: 20px; min-height: 68px; padding-block: 18px; color: var(--primary); font-size: 14px; font-weight: 550; }
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary::marker { content: ""; }
.faq-list summary:hover { color: var(--foreground); }
.disclosure-icon { position: relative; width: 14px; height: 14px; flex: 0 0 auto; }
.disclosure-icon::before, .disclosure-icon::after { content: ""; position: absolute; left: 1px; top: 6px; width: 12px; height: 1px; background: currentColor; }
.disclosure-icon::after { transform: rotate(90deg); transition: transform 150ms ease; }
details[open] > summary .disclosure-icon::after { transform: rotate(0); }
.faq-answer { padding: 0 27px 21px 0; color: var(--muted); font-size: 13px; line-height: 1.95; }
.faq-answer code { font: 11px/1.8 var(--font-utility); overflow-wrap: anywhere; }
.site-footer { padding-top: 32px; padding-bottom: 30px; border-top: 1px solid var(--border); }
.footer-top { display: flex; justify-content: space-between; align-items: center; gap: 20px; }
.footer-brand { font-size: 14px; gap: 10px; }
.footer-en { font-weight: 400; font-size: 12px; margin-left: 6px; }
.footer-top nav { display: flex; gap: 23px; font-size: 12px; }
.footer-top nav a { text-decoration: none; }
.footer-top nav a:hover { text-decoration: underline; }
.footer-note { margin-top: 24px; font-size: 12px; line-height: 1.9; color: var(--muted); }
.footer-note a { color: inherit; }
.footer-privacy { margin-top: 8px; color: var(--muted); font-size: 12px; line-height: 1.9; }
.footer-caption { margin-top: 12px; color: var(--muted); font-size: 12px; }

@media (min-width: 1400px) { .hero { padding-top: 88px; } }
@media (max-width: 1000px) {
  .page-width { width: calc(100% - 64px); }
  .site-nav { gap: 21px; }
  .site-nav .nav-github { padding-left: 20px; }
  .download-section, .faq-section { grid-template-columns: .8fr 1.2fr; gap: 36px; }
  .download-panel { padding: 25px; }
  .local-layout { gap: 46px; }
  .step { padding-inline: 22px; }
}
@media (max-width: 720px) {
  .page-width { width: calc(100% - 40px); }
  .site-header { min-height: 85px; gap: 15px; }
  .brand { gap: 9px; }
  .brand img { width: 36px; height: 36px; }
  .brand-name { font-size: 16px; }
  .brand-en { font-size: 8px; }
  .site-nav { gap: 19px; font-size: 12px; }
  .site-nav a { min-height: 44px; }
  .site-nav a:first-child, .site-nav .nav-github { display: none; }
  .hero { padding-top: 51px; }
  .hero .eyebrow { font-size: 11px; letter-spacing: .025em; }
  h1 { font-size: clamp(30px, 8.7vw, 44px); letter-spacing: -.045em; margin-top: 24px; line-height: 1.45; }
  .hero-description { margin-top: 21px; font-size: 15px; line-height: 1.95; }
  .hero-actions { margin-top: 25px; gap: 17px; flex-direction: column; }
  .hero-actions .button { min-width: 245px; }
  .hero-secondary { font-size: 12px; }
  .hero-requirements { font-size: 12px; margin-top: 19px; }
  .hero-requirements span { margin-inline: 3px; }
  .product-preview { margin-top: 34px; }
  .preview-caption-top { padding: 0; margin-bottom: 10px; font-size: 12px; }
  .preview-shortcut { font-size: 9px; }
  .preview-shortcut kbd { min-width: 17px; font-size: 8px; padding-inline: 3px; }
  .preview-shortcut > span { margin-inline: 1px; }
  .preview-shortcut .shortcut-description { display: none; }
  .preview-image { border-radius: 8px; }
  .preview-image img { width: 690px; max-width: none; height: auto; margin-left: calc((100% - 690px) / 2); }
  figcaption { font-size: 12px; margin-top: 10px; }
  .section-space { padding-block: 66px; }
  h2 { font-size: 32px; line-height: 1.45; }
  .eyebrow { font-size: 12px; }
  .section-heading .eyebrow { margin-bottom: 15px; }
  .workflow .section-heading { display: block; }
  .workflow .section-heading > p:last-child { font-size: 14px; margin-top: 19px; }
  .workflow .section-heading > p:last-child br { display: none; }
  .steps { grid-template-columns: 1fr; margin-top: 31px; }
  .step, .step:first-child, .step:last-child { padding: 25px 0; border-left: none; border-top: 1px solid var(--border); }
  .step:last-child { padding-bottom: 0; }
  .step-number { margin-bottom: 9px; font-size: 11px; }
  .step h3 { font-size: 18px; }
  .step p { margin-top: 11px; font-size: 14px; line-height: 1.95; }
  .shortcut-line, .step .text-link { margin-top: 17px; }
  .local-first { padding-block: 61px; }
  .local-layout { grid-template-columns: 1fr; gap: 31px; }
  .local-detail { gap: 15px; }
  .local-detail p { font-size: 14px; }
  .network-note { font-size: 12px; }
  .download-section { grid-template-columns: 1fr; gap: 29px; }
  .download-intro { padding-top: 0; }
  .download-intro > p:not(.eyebrow) { margin-top: 19px; font-size: 14px; }
  .github-fallback { margin-top: 18px; font-size: 13px; }
  .download-panel { padding: 23px 21px; border-radius: 10px; }
  .download-title-row h3 { font-size: 18px; }
  .download-platform { font-size: 12px; }
  .download-hint { font-size: 12px; }
  .download-actions .button-primary { font-size: 14px; padding-inline: 12px; }
  .release-status-line { min-height: 60px; }
  .release-links { gap: 7px 15px; font-size: 12px; }
  .faq-section { grid-template-columns: 1fr; gap: 29px; }
  .faq-section h2 { font-size: 30px; }
  .faq-list summary { font-size: 13px; min-height: 65px; gap: 13px; }
  .faq-answer { font-size: 13px; }
  .footer-top { align-items: flex-start; flex-direction: column; gap: 23px; }
  .footer-top nav { gap: 25px; }
  .footer-top nav a { display: inline-flex; align-items: center; min-height: 32px; }
  .footer-note { margin-top: 18px; font-size: 12px; }
}
@media (max-width: 359px) {
  .page-width { width: calc(100% - 32px); }
  .site-nav { gap: 13px; }
  .site-nav a[href="#questions"] { display: none; }
  .hero .eyebrow { font-size: 10px; }
  h1 { font-size: 27px; }
  .preview-caption-top { gap: 7px; font-size: 9px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
}
@media (forced-colors: active) {
  * { scrollbar-color: auto; }
  .button { border-color: ButtonText; }
  .quiet-dot { background: CanvasText; }
  .disclosure-icon::before, .disclosure-icon::after { background: ButtonText; }
  :focus-visible { outline-color: Highlight; }
}
