:root {
  --ink: #09243a;
  --ink-soft: #48677d;
  --muted: #7792a5;
  --line: rgba(18, 91, 135, 0.16);
  --blue: #006fd6;
  --blue-deep: #0055aa;
  --blue-pale: #e7f5fb;
  --cyan: #55cde7;
  --white: #ffffff;
  --surface: rgba(255, 255, 255, 0.78);
  --surface-strong: rgba(255, 255, 255, 0.94);
  --green: #0da573;
  --shadow: 0 24px 70px rgba(27, 85, 118, 0.14);
  --shadow-small: 0 10px 30px rgba(27, 85, 118, 0.12);
  --radius-sm: 8px;
  --radius-md: 16px;
  --radius-lg: 24px;
  --content: min(1180px, calc(100% - 48px));
}

* { box-sizing: border-box; }
html { scroll-behavior: auto; }
body {
  margin: 0;
  min-width: 320px;
  background: #f4f9fc;
  color: var(--ink);
  font-family: "Segoe UI", "Microsoft YaHei UI", "Microsoft YaHei", system-ui, sans-serif;
  -webkit-font-smoothing: antialiased;
  letter-spacing: 0;
}
body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  opacity: 0.24;
  background-image: linear-gradient(rgba(22, 115, 166, 0.07) 1px, transparent 1px), linear-gradient(90deg, rgba(22, 115, 166, 0.07) 1px, transparent 1px);
  background-size: 36px 36px;
  mask-image: linear-gradient(to bottom, black, transparent 72%);
  z-index: -1;
}

a { color: inherit; text-decoration: none; }
button, input { font: inherit; }
button { color: inherit; }
img { display: block; max-width: 100%; }
svg { width: 1.25em; height: 1.25em; }
code { font-family: "Cascadia Code", Consolas, monospace; }

.skip-link {
  position: fixed;
  left: 16px;
  top: -60px;
  z-index: 200;
  padding: 10px 16px;
  border-radius: var(--radius-sm);
  background: var(--ink);
  color: white;
}
.skip-link:focus { top: 12px; }

.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 100;
  padding: 14px 0;
  transition: background-color 180ms ease, box-shadow 180ms ease;
}
.site-header.scrolled {
  background: rgba(244, 249, 252, 0.78);
  box-shadow: 0 1px 0 rgba(17, 92, 134, 0.12);
  backdrop-filter: blur(18px) saturate(130%);
  -webkit-backdrop-filter: blur(18px) saturate(130%);
}
.header-inner {
  width: var(--content);
  height: 62px;
  margin: 0 auto;
  padding: 8px 10px 8px 12px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border: 1px solid rgba(255, 255, 255, 0.88);
  border-radius: var(--radius-md);
  background: rgba(255, 255, 255, 0.68);
  box-shadow: 0 10px 32px rgba(21, 83, 116, 0.1), inset 0 0 0 1px rgba(62, 168, 219, 0.08);
  backdrop-filter: blur(20px) saturate(130%);
  -webkit-backdrop-filter: blur(20px) saturate(130%);
}
.brand { display: inline-flex; align-items: center; gap: 10px; flex-shrink: 0; }
.brand-mark {
  width: 40px;
  height: 40px;
  display: grid;
  place-items: center;
  border-radius: 11px;
  background: var(--blue);
  color: white;
  box-shadow: inset 0 1px rgba(255,255,255,.32);
}
.brand-mark svg { width: 23px; height: 23px; }
.brand strong { display: block; font-size: 15px; line-height: 1.15; }
.brand small { display: block; margin-top: 3px; color: var(--muted); font-size: 8px; letter-spacing: .08em; }
.site-nav { display: flex; align-items: center; gap: 4px; }
.site-nav > a { padding: 11px 14px; color: var(--ink-soft); font-size: 14px; border-radius: 10px; transition: color 160ms ease, background-color 160ms ease; }
.site-nav > a:hover { color: var(--ink); background: rgba(220, 241, 250, 0.72); }
.site-nav .nav-download { margin-left: 8px; padding: 11px 17px; display: flex; align-items: center; gap: 8px; background: var(--blue); color: white; box-shadow: 0 8px 20px rgba(0,111,214,.22); }
.site-nav .nav-download:hover { color: white; background: var(--blue-deep); }
.menu-button { display: none; width: 42px; height: 42px; padding: 10px; border: 0; border-radius: 10px; background: rgba(230,245,251,.9); }
.menu-button span { display: block; height: 2px; margin: 4px 0; background: var(--ink); border-radius: 2px; }

.hero {
  min-height: 760px;
  padding: 126px 0 0;
  background: #dff2f8;
  border-bottom: 1px solid rgba(20, 94, 135, 0.12);
  overflow: hidden;
}
.hero-inner {
  width: var(--content);
  min-height: 548px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: .88fr 1.12fr;
  align-items: center;
  gap: 44px;
}
.hero-copy { padding: 18px 0 50px; position: relative; z-index: 2; }
.eyebrow, .section-kicker { color: var(--blue-deep); font-size: 13px; font-weight: 700; }
.eyebrow { display: inline-flex; align-items: center; gap: 9px; margin-bottom: 22px; }
.eyebrow span { width: 8px; height: 8px; border-radius: 50%; background: var(--green); box-shadow: 0 0 0 5px rgba(13,165,115,.1); }
.hero h1 { margin: 0; font-size: 56px; line-height: 1.08; font-weight: 760; letter-spacing: 0; }
.hero h1 em { color: var(--blue); font-style: normal; }
.hero-copy > p { max-width: 550px; margin: 24px 0 0; color: var(--ink-soft); font-size: 17px; line-height: 1.8; }
.hero-actions { display: flex; align-items: center; gap: 12px; margin-top: 30px; }
.button {
  min-height: 52px;
  padding: 11px 20px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 11px;
  border: 1px solid transparent;
  border-radius: 14px;
  font-weight: 700;
  transition: transform 160ms ease, background-color 160ms ease, box-shadow 160ms ease;
}
.button:hover { transform: translateY(-2px); }
.button-primary { background: var(--blue); color: white; box-shadow: 0 12px 28px rgba(0,111,214,.24); }
.button-primary:hover { background: var(--blue-deep); box-shadow: 0 15px 32px rgba(0,84,169,.27); }
.button-primary svg { width: 22px; height: 22px; }
.button span { line-height: 1.1; }
.button small { display: block; margin-top: 4px; opacity: .72; font-size: 10px; font-weight: 500; }
.button-secondary { border-color: rgba(24, 106, 153, .2); background: rgba(255,255,255,.58); color: var(--ink); backdrop-filter: blur(12px); }
.button-secondary:hover { background: rgba(255,255,255,.9); }
.hero-copy .hero-note { margin-top: 13px; font-size: 12px; color: var(--muted); }

.product-stage {
  min-width: 640px;
  padding: 10px;
  border: 1px solid rgba(255,255,255,.92);
  border-radius: 20px;
  background: rgba(255,255,255,.62);
  box-shadow: 0 34px 75px rgba(24,78,108,.2), inset 0 0 0 1px rgba(79,190,223,.1);
  transform: perspective(1300px) rotateY(-4deg) rotateX(1deg);
  backdrop-filter: blur(18px);
}
.stage-toolbar { height: 32px; padding: 0 8px; display: flex; align-items: center; gap: 6px; }
.stage-toolbar span { width: 8px; height: 8px; border-radius: 50%; background: #8cb5c7; }
.stage-toolbar span:nth-child(1) { background: #ff7b75; }
.stage-toolbar span:nth-child(2) { background: #ffc65a; }
.stage-toolbar span:nth-child(3) { background: #45c98b; }
.stage-toolbar p { margin: 0 auto; padding-right: 42px; color: var(--muted); font-size: 11px; }
.screenshot-button { position: relative; width: 100%; padding: 0; overflow: hidden; border: 1px solid rgba(31,115,158,.2); border-radius: 12px; background: #c7e3ec; cursor: zoom-in; }
.screenshot-button img { width: 100%; height: auto; aspect-ratio: 1800 / 1140; object-fit: cover; object-position: top left; }
.screenshot-button > span { position: absolute; right: 12px; bottom: 12px; padding: 8px 11px; display: flex; align-items: center; gap: 6px; border-radius: 9px; background: rgba(7,37,57,.8); color: white; font-size: 12px; opacity: 0; transform: translateY(6px); transition: opacity 160ms ease, transform 160ms ease; backdrop-filter: blur(8px); }
.screenshot-button:hover > span, .screenshot-button:focus-visible > span { opacity: 1; transform: none; }
.hero-facts { width: var(--content); margin: 0 auto; min-height: 86px; display: grid; grid-template-columns: repeat(4, 1fr); border-top: 1px solid rgba(22,103,146,.14); }
.hero-facts div { padding: 21px 24px; display: flex; align-items: baseline; gap: 10px; border-right: 1px solid rgba(22,103,146,.14); }
.hero-facts div:first-child { padding-left: 0; }
.hero-facts div:last-child { border-right: 0; }
.hero-facts strong { font-size: 20px; }
.hero-facts span { color: var(--muted); font-size: 12px; }

.section { padding: 104px 0; }
.section-inner { width: var(--content); margin: 0 auto; }
.section-heading { max-width: 660px; margin-bottom: 48px; }
.section-heading h2, .download-inner h2 { margin: 12px 0 14px; font-size: 42px; line-height: 1.15; letter-spacing: 0; }
.section-heading p, .download-inner > div > p { margin: 0; color: var(--ink-soft); font-size: 16px; line-height: 1.75; }
.feature-section { background: #f8fbfd; }
.feature-grid { display: grid; grid-template-columns: repeat(4, 1fr); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.feature-item { position: relative; min-height: 310px; padding: 34px 26px 30px; border-right: 1px solid var(--line); }
.feature-item:last-child { border-right: 0; }
.feature-index { position: absolute; top: 25px; right: 22px; color: #98afbd; font: 12px "Cascadia Code", monospace; }
.feature-icon { width: 48px; height: 48px; display: grid; place-items: center; border: 1px solid rgba(0,111,214,.18); border-radius: 14px; background: var(--blue-pale); color: var(--blue); }
.feature-icon svg { width: 24px; height: 24px; }
.feature-item h3 { margin: 70px 0 12px; font-size: 20px; }
.feature-item p { margin: 0; color: var(--ink-soft); line-height: 1.75; font-size: 14px; }

.guide-section { background: #eaf6fa; }
.guide-layout { display: grid; grid-template-columns: 244px minmax(0, 1fr); gap: 34px; align-items: start; }
.guide-nav { position: sticky; top: 98px; padding: 16px; border: 1px solid rgba(255,255,255,.85); border-radius: var(--radius-md); background: rgba(255,255,255,.62); box-shadow: var(--shadow-small); backdrop-filter: blur(16px); }
.guide-nav > p { margin: 5px 10px 12px; color: var(--muted); font-size: 11px; font-weight: 700; text-transform: uppercase; }
.guide-nav a { min-height: 42px; padding: 10px; display: flex; align-items: center; gap: 10px; border-radius: 10px; color: var(--ink-soft); font-size: 13px; transition: background-color 150ms ease, color 150ms ease; }
.guide-nav a span { color: #8da7b8; font: 10px "Cascadia Code", monospace; }
.guide-nav a:hover { color: var(--blue-deep); background: rgba(255,255,255,.8); }
.guide-nav a.active { color: white; background: var(--blue); box-shadow: 0 7px 18px rgba(0,111,214,.2); }
.guide-nav a.active span { color: rgba(255,255,255,.7); }
.guide-content { min-width: 0; display: grid; gap: 20px; }
.guide-chapter { padding: 36px 40px; scroll-margin-top: 108px; border: 1px solid rgba(255,255,255,.9); border-radius: var(--radius-lg); background: rgba(255,255,255,.76); box-shadow: 0 16px 50px rgba(30,83,112,.09), inset 0 0 0 1px rgba(90,190,222,.06); backdrop-filter: blur(18px); }
.guide-chapter > header { display: flex; align-items: center; gap: 16px; padding-bottom: 26px; border-bottom: 1px solid var(--line); }
.guide-chapter > header > span { width: 48px; height: 48px; display: grid; place-items: center; flex-shrink: 0; border-radius: 14px; background: var(--blue); color: white; font: 14px "Cascadia Code", monospace; }
.guide-chapter header p { margin: 0 0 4px; color: var(--blue); font-size: 11px; font-weight: 700; }
.guide-chapter h3 { margin: 0; font-size: 24px; }
.guide-chapter ol { margin: 28px 0 0; padding: 0; list-style: none; counter-reset: chapter-step; }
.guide-chapter li { position: relative; padding: 0 0 26px 42px; counter-increment: chapter-step; }
.guide-chapter li:last-child { padding-bottom: 0; }
.guide-chapter li::before { content: counter(chapter-step); position: absolute; left: 0; top: -2px; width: 26px; height: 26px; display: grid; place-items: center; border: 1px solid rgba(0,111,214,.22); border-radius: 8px; color: var(--blue); font: 11px "Cascadia Code", monospace; }
.guide-chapter li:not(:last-child)::after { content: ""; position: absolute; left: 13px; top: 30px; bottom: 5px; width: 1px; background: rgba(0,111,214,.16); }
.guide-chapter li strong { display: block; margin-bottom: 5px; font-size: 15px; }
.guide-chapter li p { margin: 0; color: var(--ink-soft); font-size: 14px; line-height: 1.75; }
.guide-chapter code { padding: 2px 5px; border-radius: 5px; background: #edf5f8; color: #175775; font-size: .92em; overflow-wrap: anywhere; }
.chapter-note { margin-top: 26px; padding: 15px 17px; border-left: 3px solid var(--cyan); border-radius: 0 var(--radius-sm) var(--radius-sm) 0; background: #eaf8fc; color: var(--ink-soft); font-size: 13px; line-height: 1.65; }
.chapter-note strong { color: var(--ink); }
.chapter-media { margin: 26px 0 4px; }
.chapter-media button { position: relative; width: 100%; padding: 0; overflow: hidden; border: 1px solid var(--line); border-radius: 12px; background: #dceff4; cursor: zoom-in; }
.chapter-media img { width: 100%; height: auto; max-height: 420px; object-fit: cover; object-position: top; }
.chapter-media span { position: absolute; right: 10px; bottom: 10px; padding: 7px 10px; border-radius: 8px; background: rgba(8,34,52,.78); color: white; font-size: 11px; }

.download-section { padding: 84px 0; background: #0a3149; color: white; }
.download-inner { width: var(--content); margin: 0 auto; display: grid; grid-template-columns: .82fr 1.18fr; gap: 70px; align-items: center; }
.download-inner .section-kicker { color: #78d5ec; }
.download-inner > div > p { color: #b8cedb; }
.download-meta { margin: 20px 0 25px; display: flex; gap: 10px; }
.download-meta span { padding: 6px 9px; border: 1px solid rgba(255,255,255,.14); border-radius: 7px; color: #c7dbe5; font-size: 11px; }
.checksum { padding: 28px; border: 1px solid rgba(255,255,255,.16); border-radius: var(--radius-md); background: rgba(255,255,255,.07); box-shadow: inset 0 1px rgba(255,255,255,.06); backdrop-filter: blur(16px); }
.checksum-head { display: flex; justify-content: space-between; align-items: center; margin-bottom: 14px; }
.checksum-head span { font-size: 13px; font-weight: 700; }
.checksum-head button { padding: 6px 10px; border: 1px solid rgba(255,255,255,.16); border-radius: 7px; background: rgba(255,255,255,.08); color: white; cursor: pointer; }
.checksum > code { display: block; padding: 16px; border-radius: 9px; background: rgba(0,0,0,.2); color: #adf0ff; font-size: 12px; line-height: 1.7; overflow-wrap: anywhere; user-select: all; }
.checksum p { margin: 14px 0 0; color: #a9c2cf; font-size: 12px; line-height: 1.65; }
.checksum p code { color: white; }

.faq-section { background: #f8fbfd; }
.faq-layout { display: grid; grid-template-columns: .72fr 1.28fr; gap: 80px; align-items: start; }
.faq-layout .section-heading { position: sticky; top: 120px; margin-bottom: 0; }
.faq-list { border-top: 1px solid var(--line); }
.faq-list details { border-bottom: 1px solid var(--line); }
.faq-list summary { padding: 23px 4px; display: flex; align-items: center; justify-content: space-between; gap: 20px; cursor: pointer; list-style: none; font-weight: 700; }
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary span { width: 30px; height: 30px; display: grid; place-items: center; flex: 0 0 auto; border: 1px solid var(--line); border-radius: 9px; color: var(--blue); transition: transform 160ms ease; }
.faq-list details[open] summary span { transform: rotate(45deg); }
.faq-list details p { margin: -3px 48px 23px 4px; color: var(--ink-soft); line-height: 1.75; font-size: 14px; }

.site-footer { width: var(--content); margin: 0 auto; padding: 42px 0; display: grid; grid-template-columns: 1fr auto auto; gap: 60px; align-items: center; color: var(--ink-soft); }
.footer-brand .brand-mark { width: 36px; height: 36px; border-radius: 10px; }
.site-footer > div > p { margin: 12px 0 0; font-size: 12px; }
.footer-links { display: flex; gap: 22px; font-size: 13px; }
.footer-links a:hover { color: var(--blue); }
.site-footer > p { margin: 0; font-size: 12px; }

.preview-dialog { width: min(1400px, calc(100% - 40px)); max-height: calc(100vh - 40px); padding: 8px; overflow: visible; border: 1px solid rgba(255,255,255,.35); border-radius: var(--radius-md); background: rgba(217,240,247,.82); box-shadow: 0 30px 100px rgba(0,20,35,.35); backdrop-filter: blur(22px); }
.preview-dialog::backdrop { background: rgba(3,24,37,.66); backdrop-filter: blur(4px); }
.preview-dialog img { width: 100%; max-height: calc(100vh - 58px); object-fit: contain; border-radius: 10px; }
.dialog-close { position: absolute; top: -14px; right: -14px; width: 38px; height: 38px; border: 1px solid rgba(255,255,255,.7); border-radius: 50%; background: var(--ink); color: white; cursor: pointer; }
.toast { position: fixed; right: 24px; bottom: 24px; z-index: 150; padding: 11px 16px; border-radius: 10px; background: var(--ink); color: white; box-shadow: var(--shadow-small); font-size: 13px; opacity: 0; transform: translateY(10px); pointer-events: none; transition: opacity 160ms ease, transform 160ms ease; }
.toast.show { opacity: 1; transform: none; }

.reveal { opacity: 0; transform: translateY(18px); transition: opacity 520ms ease, transform 520ms ease; }
.reveal[data-delay="1"] { transition-delay: 80ms; }
.reveal[data-delay="2"] { transition-delay: 160ms; }
.reveal[data-delay="3"] { transition-delay: 240ms; }
.reveal.visible { opacity: 1; transform: none; }

a:focus-visible, button:focus-visible, summary:focus-visible {
  outline: 3px solid rgba(0, 111, 214, .38);
  outline-offset: 3px;
}

@media (max-width: 1080px) {
  :root { --content: min(940px, calc(100% - 40px)); }
  .hero { min-height: auto; }
  .hero-inner { min-height: 700px; grid-template-columns: 1fr; gap: 12px; padding-top: 40px; }
  .hero-copy { max-width: 720px; padding-bottom: 10px; }
  .product-stage { min-width: 0; width: min(820px, 92vw); margin: 0 auto -90px; transform: none; }
  .hero-facts { margin-top: 118px; }
  .feature-grid { grid-template-columns: repeat(2, 1fr); }
  .feature-item:nth-child(2) { border-right: 0; }
  .feature-item:nth-child(-n+2) { border-bottom: 1px solid var(--line); }
  .guide-layout { grid-template-columns: 210px minmax(0, 1fr); gap: 22px; }
  .faq-layout { gap: 44px; }
}

@media (max-width: 760px) {
  :root { --content: calc(100% - 28px); }
  body::before { background-size: 28px 28px; }
  .site-header { padding: 8px 0; }
  .header-inner { height: 58px; border-radius: 14px; }
  .menu-button { display: block; }
  .site-nav { position: absolute; top: 72px; left: 14px; right: 14px; padding: 8px; display: none; flex-direction: column; align-items: stretch; border: 1px solid rgba(255,255,255,.9); border-radius: 14px; background: rgba(247,252,254,.96); box-shadow: var(--shadow-small); backdrop-filter: blur(20px); }
  .site-nav.open { display: flex; }
  .site-nav > a { padding: 12px 14px; }
  .site-nav .nav-download { margin: 4px 0 0; justify-content: center; }
  .hero { padding-top: 94px; }
  .hero-inner { min-height: auto; padding-top: 32px; }
  .hero-copy { padding: 0; }
  .eyebrow { margin-bottom: 16px; }
  .hero h1 { font-size: 39px; line-height: 1.1; }
  .hero h1 br { display: block; }
  .hero-copy > p { margin-top: 18px; font-size: 15px; line-height: 1.72; }
  .hero-actions { align-items: stretch; flex-direction: column; margin-top: 24px; }
  .button { width: 100%; }
  .hero-copy .hero-note { text-align: center; }
  .product-stage { width: calc(100vw - 20px); margin: 36px -3px -42px; padding: 6px; border-radius: 14px; }
  .stage-toolbar { height: 27px; }
  .screenshot-button { border-radius: 8px; }
  .screenshot-button > span { display: none; }
  .hero-facts { margin-top: 70px; grid-template-columns: repeat(2, 1fr); }
  .hero-facts div { padding: 16px 10px; display: block; border-bottom: 1px solid rgba(22,103,146,.14); }
  .hero-facts div:first-child { padding-left: 10px; }
  .hero-facts div:nth-child(2) { border-right: 0; }
  .hero-facts div:nth-child(n+3) { border-bottom: 0; }
  .hero-facts strong, .hero-facts span { display: block; }
  .hero-facts span { margin-top: 3px; }
  .section { padding: 72px 0; }
  .section-heading { margin-bottom: 32px; }
  .section-heading h2, .download-inner h2 { font-size: 32px; }
  .section-heading p { font-size: 14px; }
  .feature-grid { grid-template-columns: 1fr; }
  .feature-item { min-height: 240px; border-right: 0; border-bottom: 1px solid var(--line); }
  .feature-item:nth-child(3) { border-bottom: 1px solid var(--line); }
  .feature-item:last-child { border-bottom: 0; }
  .feature-item h3 { margin-top: 44px; }
  .guide-layout { display: block; }
  .guide-nav { position: sticky; top: 74px; z-index: 20; margin: 0 -5px 18px; padding: 8px; display: flex; overflow-x: auto; border-radius: 13px; scrollbar-width: none; }
  .guide-nav::-webkit-scrollbar { display: none; }
  .guide-nav > p { display: none; }
  .guide-nav a { flex: 0 0 auto; white-space: nowrap; }
  .guide-chapter { padding: 26px 20px; border-radius: 18px; scroll-margin-top: 140px; }
  .guide-chapter > header { padding-bottom: 20px; }
  .guide-chapter h3 { font-size: 21px; }
  .guide-chapter li { padding-left: 38px; }
  .chapter-media { margin-left: -8px; margin-right: -8px; }
  .download-inner { grid-template-columns: 1fr; gap: 38px; }
  .download-meta { flex-wrap: wrap; }
  .checksum { padding: 20px; }
  .faq-layout { display: block; }
  .faq-layout .section-heading { position: static; margin-bottom: 26px; }
  .faq-list summary { font-size: 14px; }
  .site-footer { padding: 34px 0; display: flex; flex-direction: column; align-items: flex-start; gap: 24px; }
  .footer-links { flex-wrap: wrap; }
  .preview-dialog { width: calc(100% - 16px); padding: 4px; }
  .dialog-close { top: 8px; right: 8px; }
  .toast { right: 14px; left: 14px; bottom: 14px; text-align: center; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
  .reveal { opacity: 1; transform: none; }
}
