:root {
  color-scheme: light;
  --bg: #f5f7fc;
  --ink: #101b35;
  --muted: #5b6982;
  --line: #e0e6f0;
  --blue: #315efb;
  --cyan: #16bfd3;
  --surface: #fff;
}

* { box-sizing: border-box; }
html { scroll-padding-top: 28px; scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--ink);
  background: radial-gradient(ellipse 850px 550px at 80% 8%, #e4eeff 0%, transparent 75%), radial-gradient(ellipse 640px 470px at 7% 12%, #e1f7fc 0%, transparent 76%), var(--bg);
  font-family: "Inter", "SF Pro Display", "PingFang SC", "Microsoft YaHei", system-ui, sans-serif;
  font-size: 15px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; text-decoration: none; }
button, input { font: inherit; }
a:focus-visible { outline: 3px solid var(--blue); outline-offset: 5px; }
::selection { background: #cce2ff; color: var(--ink); }
img { max-width: 100%; }
.container { width: min(1180px, calc(100% - 56px)); margin-inline: auto; }
.skip-link { position: absolute; top: 12px; left: 16px; padding: 12px 18px; border-radius: 10px; background: var(--ink); color: white; transform: translateY(-160%); z-index: 5; }
.skip-link:focus { transform: none; }
.site-header { border-bottom: 1px solid rgba(206, 217, 235, .65); background: rgba(248, 250, 255, .76); }
.site-nav { min-height: 86px; display: flex; align-items: center; justify-content: space-between; gap: 20px; }
.brand { display: inline-flex; align-items: center; gap: 10px; font-size: 17px; font-weight: 780; letter-spacing: -.03em; flex-shrink: 0; }
.brand img { width: 32px; height: 32px; border-radius: 50%; object-fit: cover; }
.back-btn { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; padding: 0 14px; border-radius: 11px; font-size: 14px; color: var(--muted); transition: color .2s, background .2s; }
.back-btn:hover { background: #eaf0ff; color: var(--blue); }
.bug-report-link { gap: 10px; min-height: 44px; border-radius: 11px; padding-inline: 17px; border-color: #d9e3fb; background: #edf2ff; color: #284cce !important; font-weight: 700; line-height: 1.45; }
.bug-report-link:hover { background: #e1eaff; border-color: #a5b9fa; }

.hero { padding-top: 70px; }
.hero-intro { text-align: center; max-width: 820px; margin: 0 auto 46px; }
.eyebrow { display: inline-flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 10px; margin: 0 0 23px; color: #506789; font-size: 12px; font-weight: 700; letter-spacing: .07em; }
.platform-dot { width: 7px; height: 7px; border-radius: 50%; background: #058caa; box-shadow: 0 0 0 4px #16bfd31a; }
.version { padding: 3px 8px; border: 1px solid #d0dcf4; border-radius: 6px; color: #3152b2; background: #eef3ff; letter-spacing: 0; }
h1 { font-size: clamp(56px, 8.5vw, 106px); font-weight: 820; line-height: 1.06; letter-spacing: -.065em; margin: 0 0 20px; overflow-wrap: anywhere; }
h1 span { color: var(--blue); }
.hero-subtitle { font-size: clamp(23px, 3.4vw, 36px); font-weight: 740; line-height: 1.45; letter-spacing: -.04em; margin: 0 0 20px; }
.hero-copy { margin: 0 auto; max-width: 710px; font-size: 16px; color: var(--muted); line-height: 1.9; }
.mobile-break { display: none; }
.hero-actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; margin-top: 27px; }
.action { display: inline-flex; align-items: center; justify-content: center; gap: 20px; min-height: 49px; padding: 0 21px; border: 1px solid transparent; border-radius: 12px; font-size: 14px; font-weight: 700; transition: transform .24s, box-shadow .24s, border-color .24s, background .24s; }
.primary-action { color: white; background: var(--blue); box-shadow: 0 6px 18px #315efb26; }
.secondary-action { background: #ffffffc9; border-color: #d9e2f4; }
.action span { transition: transform .24s; }
.action:hover { transform: translateY(-3px); box-shadow: 0 12px 25px #315efb26; }
.primary-action:hover { background: #244bdb; }
.secondary-action:hover { border-color: #abbff7; }
.action:hover span { transform: translateY(2px); }
.download-notice { display: flex; justify-content: center; align-items: center; gap: 7px; margin: 22px 0 0; color: #795528; font-size: 12px; }
.download-notice > span { display: inline-grid; place-items: center; width: 15px; height: 15px; font-size: 10px; border: 1px solid #b59a76; border-radius: 50%; font-weight: 700; }
.release-note { margin: 6px 0 0; color: #64718b; font-size: 12px; }
.app-preview { position:relative; margin:0; border:1px solid var(--site-line); border-radius:var(--site-radius); box-shadow:var(--site-shadow); overflow:hidden; background:var(--site-surface); }
.preview-heading { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 16px 22px; color:var(--site-ink); font-size: 12px; }
.preview-heading > span:first-child { display: inline-flex; align-items: center; gap: 9px; }
.preview-light { width:6px; height:6px; border-radius:50%; background:var(--site-blue); }
.preview-label { color:var(--site-muted); }
.app-preview img { width: 100%; height: auto; display: block; }
.app-preview figcaption { display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; padding: 16px 22px; font-size: 12px; color:var(--site-muted); }
.app-preview figcaption span span { color: #4d6283; margin-inline: 10px; }

.section { margin-top: 96px; }
.section-heading { display: flex; align-items: flex-end; justify-content: space-between; gap: 28px; margin-bottom: 27px; }
.section-kicker { margin: 0 0 12px; color: var(--blue); font-size: 10px; line-height: 1.4; font-weight: 750; letter-spacing: .16em; }
h2 { margin: 0; font-size: clamp(25px, 3vw, 34px); line-height: 1.4; letter-spacing: -.045em; font-weight: 750; }
.section-lead { color: var(--muted); font-size: 14px; line-height: 1.9; margin: 0; }
.feature-grid, .release-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
.feature-card { border: 1px solid var(--line); border-radius: 19px; background: var(--surface); padding: 30px; transition: transform .25s, box-shadow .25s, border-color .25s; }
.feature-icon { width: 48px; height: 48px; display: grid; place-items: center; color: var(--blue); background: #edf2ff; border-radius: 14px; margin-bottom: 34px; transition: background .25s, color .25s, transform .25s; }
.feature-icon svg { width: 25px; height: 25px; }
.feature-card:nth-child(2) .feature-icon { color: #6e52d9; background: #f1edff; }
.feature-card:nth-child(3) .feature-icon { color: #057e9e; background: #e8f8fc; }
.feature-index { margin: 0 0 9px; font-size: 10px; font-weight: 700; letter-spacing: .08em; color: #657691; }
h3 { margin: 0 0 10px; font-size: 19px; line-height: 1.5; letter-spacing: -.03em; }
.feature-card > p:last-child, .release-card p, .flow-step p { color: var(--muted); font-size: 14px; line-height: 1.85; margin: 0; }
.feature-card:hover { transform: translateY(-5px); border-color: #b9cbfa; box-shadow: 0 16px 38px -15px #315efb26; }
.feature-card:hover .feature-icon { transform: translateY(-2px); }

.workflow-panel { background:var(--site-soft); color:var(--site-ink); padding:46px; border:1px solid var(--site-line); border-radius:var(--site-radius); }
.workflow-panel .section-kicker { color:var(--site-blue); }
.workflow-panel .section-lead { color:var(--site-muted); }
.flow { list-style: none; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0 30px; padding: 0; margin: 35px 0 0; }
.flow-step { padding: 24px 0 26px; border-top: 1px solid var(--site-line); min-width: 0; }
.step-number { display: block; font-size: 29px; line-height: 1.3; letter-spacing: -.06em; font-weight: 700; color:var(--site-blue); margin-bottom: 19px; transition: transform .25s, color .25s; }
.flow-step h3 { font-size: 17px; }
.flow-step p { color:var(--site-muted); font-size:14px; }
.flow-step:hover .step-number { transform: translateX(4px); color:var(--site-blue); }

.scenario-grid { display: grid; grid-template-columns: 1.15fr 1fr; gap: 18px; }
.scenario-card { min-width: 0; padding: 32px; border: 1px solid var(--line); border-radius: 19px; background: #fff; }
.scenario-card.recommended { background: linear-gradient(135deg, #edf3ff, #f9fcff); border-color: #d4e2fb; }
.card-label { display: inline-block; font-size: 12px; font-weight: 700; color:var(--site-muted); margin-bottom: 19px; }
.recommended .card-label { color: var(--blue); }
.scenario-card h3 { font-size: 22px; margin-bottom: 22px; }
.scenario-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 11px; color: var(--muted); font-size: 14px; }
.scenario-list li { display: flex; align-items: baseline; gap: 11px; }
.scenario-list li::before { content: ""; width: 5px; height: 5px; border-radius: 50%; background: #9aacc7; flex-shrink: 0; position: relative; top: -2px; }
.recommended .scenario-list li::before { background: var(--blue); }
.tech-section { display: grid; grid-template-columns: 1.3fr 1fr; align-items: center; gap: 52px; padding-block: 34px; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.tech-section h2 { margin-bottom: 15px; }
.tag-row { display: flex; flex-wrap: wrap; align-content: center; gap: 10px; }
.tag { padding: 9px 15px; border: 1px solid #dce4f1; border-radius: 9px; color: #3e506e; background: #fff; font-size: 12px; font-weight: 650; }
.release-version { font-size: 12px; color: #5a6c89; }
.release-card { min-width: 0; border-top: 2px solid #d4dff3; padding: 24px 0; }
.release-card h3 { font-size: 16px; }
.release-card p { font-size: 13px; }
.release-status { display: inline-block; font-size: 10px; padding: 2px 7px; border-radius: 5px; background: #f1e9dc; color: #795528; margin-bottom: 11px; }
code { font-family: "Cascadia Code", Consolas, monospace; font-size: .92em; color: #304dab; background: #eaf0fd; border-radius: 4px; padding: 1px 4px; overflow-wrap: anywhere; word-break: break-word; }
.bug-report-bottom { width: 100%; display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 22px; margin: 62px 0 0; padding: 30px 34px; background: #eaf0ff; border: 1px solid #d6e2fb; border-radius: 19px; }
.bug-report-bottom h2 { font-size: 23px; }
.bug-report-bottom p { font-size: 13px; color: #5b6c8a; margin: 6px 0 0; }
.bug-report-bottom .bug-report-link { background: #fff; border-color: #d6e1f8; }
.site-footer { margin-top: 58px; padding-block: 27px; border-top: 1px solid var(--line); display: flex; justify-content: space-between; flex-wrap: wrap; align-items: center; gap: 12px 24px; color: #687791; font-size: 11px; }
.site-footer p { margin: 0; }
.footer-links { display: flex; flex-wrap: wrap; gap: 8px 16px; }
.footer-links a { display: inline-flex; align-items: center; min-height: 32px; }
.footer-links a:hover { color: var(--blue); }

@media (max-width: 960px) {
  .hero { padding-top: 55px; }
  .section-heading { align-items: flex-start; flex-direction: column; gap: 17px; }
  .feature-card { padding: 24px; }
  .workflow-panel { padding: 32px; }
  .tech-section { gap: 28px; grid-template-columns: 1.15fr 1fr; }
  .release-grid { gap: 23px; }
}
@media (max-width: 720px) {
  .container { width: calc(100% - 36px); }
  .site-nav { min-height: 75px; gap: 10px; }
  .brand { font-size: 15px; gap: 8px; }
  .brand img { width: 28px; height: 28px; }
  .back-btn { padding-inline: 7px; font-size: 13px; gap: 5px; }
  .bug-report-link { font-size: 12px; padding-inline: 12px; }
  .hero { padding-top: 42px; }
  .hero-intro { margin-bottom: 32px; }
  .hero-copy { font-size: 14px; }
  .hero-subtitle { font-size: 25px; }
  .desktop-break { display: none; }
  .app-preview { border-radius: 13px; box-shadow: 0 20px 50px -25px #244a9940, 0 0 0 4px #ffffff6b; }
  .preview-heading, .app-preview figcaption { padding: 12px 15px; font-size: 10px; }
  .app-preview figcaption { gap: 5px; }
  .app-preview figcaption span span { margin-inline: 5px; }
  .section { margin-top: 63px; }
  .feature-grid, .release-grid, .scenario-grid, .tech-section { grid-template-columns: 1fr; }
  .feature-card { padding: 25px; }
  .feature-icon { margin-bottom: 23px; }
  .workflow-panel { padding: 25px; border-radius: 19px; }
  .flow { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 25px; margin-top: 20px; }
  .flow-step p { font-size: 13px; }
  .scenario-card { padding: 25px; }
  .scenario-card h3 { font-size: 20px; }
  .tech-section { gap: 24px; }
  .release-grid { gap: 0; }
  .release-card { padding-block: 23px; }
  .bug-report-bottom { margin-top: 35px; padding: 25px; }
  .site-footer { margin-top: 38px; }
}
@media (max-width: 420px) {
  .site-nav { flex-wrap: wrap; padding-block: 13px; gap: 10px 8px; }
  .bug-report-nav-actions { gap: 2px; }
  .brand { font-size: 14px; }
  .brand img { width: 26px; height: 26px; }
  .back-btn { padding-inline: 4px; font-size: 12px; }
  .bug-report-link { padding-inline: 9px; min-height: 44px; }
  .hero { padding-top: 35px; }
  h1 { font-size: clamp(43px, 15vw, 60px); }
  .eyebrow { font-size: 10px; gap: 8px; }
  .hero-subtitle { font-size: 24px; }
  .mobile-break { display: inline; }
  .action { padding-inline: 15px; font-size: 13px; gap: 12px; }
  .hero-actions { gap: 8px; }
  .release-note { font-size: 11px; }
  .preview-heading { padding-inline: 12px; }
  .preview-label { font-size: 9px; }
  .flow { grid-template-columns: 1fr; }
  .flow-step { padding-block: 22px; }
  .step-number { margin-bottom: 10px; }
  .section-heading { gap: 14px; }
  .workflow-panel, .scenario-card { padding: 22px; }
  .site-footer { font-size: 10px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
  .action:hover, .action:hover span, .feature-card:hover, .feature-card:hover .feature-icon, .flow-step:hover .step-number, .bug-report-link:hover { transform: none; }
}

/* No full-page horizontal scroll for long manifests, large text or touch UI. */
.container { overflow-wrap: anywhere; }
.feature-card, .tech-section > *, .section-heading > * { min-width: 0; }
.action { max-width: 100%; min-width: 0; padding-block: 12px; flex-wrap: wrap; overflow-wrap: anywhere; text-align: center; }
.action > span, .platform-dot, .preview-light, .download-notice > span { flex-shrink: 0; }
.preview-heading { flex-wrap: wrap; }
.preview-heading > span, .tag { min-width: 0; max-width: 100%; }
.download-notice { align-items: baseline; }
.footer-links a { min-height: 44px; max-width: 100%; }
@media (max-width: 1024px) {
  .feature-grid, .release-grid, .flow { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .feature-card { padding: 25px; }
  .section { margin-top: 72px; }
}
@media (max-width: 820px) {
  .container { width: calc(100% - 40px); }
  .tech-section { grid-template-columns: minmax(0, 1fr); gap: 24px; }
  .hero-copy, .section-lead, .feature-card > p:last-child, .scenario-list { font-size: 16px; }
  .flow-step p, .release-card p { font-size: 15px; }
  .preview-heading, .app-preview figcaption, .preview-label { font-size: 12px; }
  .section-kicker { font-size: 12px; }
}
@media (max-width: 680px) {
  .feature-grid, .release-grid, .scenario-grid { grid-template-columns: minmax(0, 1fr); }
  .flow { grid-template-columns: minmax(0, 1fr); gap: 0; }
  .section { margin-top: 56px; }
  .action { font-size: 15px; flex: 0 1 auto; }
  .hero-actions { gap: 12px; }
  .workflow-panel, .scenario-card, .feature-card, .bug-report-bottom { padding: 24px 20px; }
  .download-notice, .release-note { font-size: 13px; }
  .tag { font-size: 13px; }
}
@media (max-width: 420px) {
  .container { width: calc(100% - 32px); }
  .hero-actions .action { flex: 1 1 240px; }
  .preview-heading, .app-preview figcaption { padding-inline: 14px; }
  .site-footer { font-size: 12px; }
}
@media (hover: none) {
  .action:hover, .action:hover span, .feature-card:hover, .feature-card:hover .feature-icon, .flow-step:hover .step-number { transform: none; }
}
