:root {
  --blue-950: #10244b;
  --blue-800: #164890;
  --blue-700: #1f5fd1;
  --blue-100: #eaf1ff;
  --orange-700: #b94808;
  --orange-600: #d65a0a;
  --ink: #142033;
  --body: #34445b;
  --muted: #66758a;
  --surface: #ffffff;
  --surface-alt: #f5f8fc;
  --line: #d9e2ee;
  --focus: #f0a000;
  --shadow: 0 16px 40px rgb(16 36 75 / 12%);
  --radius: 8px;
  --container: 1180px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--ink);
  background: var(--surface);
  font-family: Inter, "PingFang SC", "Microsoft YaHei", system-ui, sans-serif;
  font-size: 16px;
  line-height: 1.65;
}
a { color: inherit; }
img { display: block; max-width: 100%; }

.skip-link {
  position: fixed;
  top: 12px;
  left: 12px;
  z-index: 100;
  padding: 10px 14px;
  color: #fff;
  background: var(--blue-950);
  transform: translateY(-160%);
}
.skip-link:focus { transform: translateY(0); }
.container { width: min(var(--container), calc(100% - 48px)); margin: 0 auto; }

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  border-bottom: 1px solid rgb(217 226 238 / 82%);
  background: rgb(255 255 255 / 94%);
  backdrop-filter: blur(14px);
}
.header-inner { min-height: 76px; display: flex; align-items: center; justify-content: space-between; gap: 28px; }
.brand { display: inline-flex; min-width: 0; align-items: center; gap: 11px; color: var(--ink); text-decoration: none; }
.brand img { width: 48px; height: 48px; object-fit: contain; }
.brand span { display: grid; line-height: 1.3; }
.brand strong { font-size: 16px; font-weight: 750; }
.brand small { margin-top: 3px; color: var(--muted); font-size: 12px; }
nav { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 8px 22px; }
nav a { color: var(--body); font-size: 14px; font-weight: 650; text-decoration: none; }
nav a:hover { color: var(--blue-700); }

.hero {
  position: relative;
  display: grid;
  min-height: 84svh;
  isolation: isolate;
  overflow: hidden;
  background: #0d244d url("assets/app-preview.png") center / cover no-repeat;
}
.hero-overlay { position: absolute; inset: 0; z-index: -1; background: rgb(10 31 68 / 89%); }
.hero-content { align-self: center; padding-top: 108px; padding-bottom: 112px; color: #fff; }
.eyebrow, .section-label { margin: 0 0 14px; color: #a6c9ff; font-size: 14px; font-weight: 750; letter-spacing: 0; text-transform: uppercase; }
h1, h2, h3, p { overflow-wrap: anywhere; }
h1 { max-width: 760px; margin: 0; font-size: clamp(44px, 7vw, 84px); line-height: 1.08; letter-spacing: 0; }
.hero-lead { max-width: 660px; margin: 26px 0 0; color: #e8f1ff; font-size: clamp(19px, 2.3vw, 26px); line-height: 1.6; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 34px; }
.button {
  display: inline-flex;
  min-height: 46px;
  align-items: center;
  justify-content: center;
  padding: 10px 18px;
  border: 1px solid transparent;
  border-radius: 7px;
  font-size: 15px;
  font-weight: 750;
  line-height: 1.35;
  text-align: center;
  text-decoration: none;
  transition: background-color 160ms ease, border-color 160ms ease, color 160ms ease, transform 160ms ease;
}
.button:hover { transform: translateY(-1px); }
.button.primary { color: #fff; background: var(--orange-600); }
.button.primary:hover { background: var(--orange-700); }
.button.secondary { color: #fff; border-color: rgb(255 255 255 / 72%); background: transparent; }
.button.secondary:hover { background: rgb(255 255 255 / 12%); }
.hero-note { max-width: 680px; margin: 20px 0 0; color: #c6d8f4; font-size: 14px; }

.section { padding: 104px 0; }
.company-section { background: var(--surface); }
.two-column { display: grid; grid-template-columns: minmax(220px, .75fr) minmax(0, 1.25fr); gap: clamp(36px, 8vw, 130px); }
h2 { max-width: 720px; margin: 0; color: var(--ink); font-size: clamp(30px, 4vw, 50px); line-height: 1.18; letter-spacing: 0; }
.prose { max-width: 680px; color: var(--body); }
.prose p { margin: 0 0 20px; }
.prose p:last-child { margin-bottom: 0; }

.product-section { background: var(--surface-alt); }
.section-heading { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(230px, .6fr); align-items: end; gap: 36px; }
.section-heading > p { max-width: 370px; margin: 0; color: var(--body); }
.section-label { color: var(--blue-800); }
.feature-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; margin-top: 42px; }
.feature-card { min-height: 260px; padding: 28px 24px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface); box-shadow: 0 2px 8px rgb(16 36 75 / 4%); }
.feature-index { display: inline-block; color: var(--orange-700); font-size: 14px; font-weight: 800; }
.feature-card h3 { margin: 42px 0 12px; font-size: 20px; line-height: 1.3; }
.feature-card p { margin: 0; color: var(--body); font-size: 15px; }

.workflow-section { background: var(--surface); }
.workflow-layout { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); align-items: center; gap: clamp(36px, 7vw, 96px); }
.workflow-list { display: grid; gap: 21px; margin: 36px 0 0; padding: 0; list-style: none; counter-reset: workflow; }
.workflow-list li { position: relative; min-height: 56px; padding-left: 64px; counter-increment: workflow; }
.workflow-list li::before { position: absolute; top: 0; left: 0; display: grid; width: 40px; height: 40px; place-items: center; color: var(--blue-800); border: 1px solid #b6ccf6; border-radius: 50%; background: var(--blue-100); content: counter(workflow, decimal-leading-zero); font-size: 12px; font-weight: 800; }
.workflow-list strong, .workflow-list span { display: block; }
.workflow-list strong { font-size: 17px; }
.workflow-list span { margin-top: 4px; color: var(--body); font-size: 15px; }
.product-preview { margin: 0; }
.product-preview img { width: 100%; height: auto; border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow); }
.product-preview figcaption { margin-top: 12px; color: var(--muted); font-size: 13px; }

.security-section { background: var(--blue-950); color: #fff; }
.security-section h2 { color: #fff; }
.security-section .section-label { color: #b4d0ff; }
.security-grid { display: grid; grid-template-columns: minmax(220px, .8fr) minmax(0, 1.2fr); gap: clamp(36px, 8vw, 128px); }
.security-list { border-top: 1px solid rgb(205 220 247 / 28%); }
.security-list > div { display: grid; grid-template-columns: 164px 1fr; gap: 24px; padding: 22px 0; border-bottom: 1px solid rgb(205 220 247 / 28%); }
.security-list strong { color: #fff; font-size: 16px; }
.security-list span { color: #d4e2fb; font-size: 15px; }

.materials-section { padding: 76px 0; background: #eff5ff; }
.materials-inner { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: center; gap: 48px; }
.materials-inner p:not(.section-label) { max-width: 680px; margin: 16px 0 0; color: var(--body); }
.materials-actions { display: grid; justify-items: start; gap: 12px; min-width: 222px; }
.text-link { min-height: 38px; padding: 6px 0; color: var(--blue-800); border-radius: 0; text-decoration: underline; text-underline-offset: 3px; }
.text-link:hover { color: var(--orange-700); }

.site-footer { padding: 44px 0; background: #0d182b; color: #fff; }
.footer-inner { display: flex; align-items: center; justify-content: space-between; gap: 28px; }
.site-footer strong { font-size: 16px; }
.site-footer p { margin: 6px 0 0; color: #b9c5d9; font-size: 14px; }
.footer-links { display: flex; flex-wrap: wrap; gap: 16px 24px; }
.footer-links a { color: #dce7f8; font-size: 14px; text-decoration: none; }
.footer-links a:hover { color: #fff; text-decoration: underline; }

.document-page { background: var(--surface-alt); }
.document-hero { padding: 92px 0 56px; color: #fff; background: var(--blue-950); }
.document-hero h1 { max-width: 850px; font-size: clamp(36px, 5vw, 62px); }
.document-hero p { max-width: 760px; margin: 20px 0 0; color: #d9e6fb; }
.document-main { padding: 64px 0 104px; }
.document-nav { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 40px; }
.document-nav a { padding: 8px 11px; color: var(--blue-800); border: 1px solid #b9cff5; border-radius: 6px; background: #fff; font-size: 14px; text-decoration: none; }
.document-nav a:hover { background: var(--blue-100); }
.document-section { max-width: 920px; padding: 40px 0; border-top: 1px solid var(--line); }
.document-section h2 { font-size: clamp(26px, 3.5vw, 38px); }
.document-section h3 { margin: 30px 0 10px; font-size: 20px; }
.document-section p, .document-section li { color: var(--body); }
.document-section ul { padding-left: 22px; }
.document-downloads { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 30px; }
.document-meta { margin-top: 18px; color: var(--muted); font-size: 14px; }

:focus-visible { outline: 3px solid var(--focus); outline-offset: 3px; }
@media (max-width: 960px) {
  .feature-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .section-heading, .materials-inner { grid-template-columns: 1fr; }
  .materials-actions { min-width: 0; }
}
@media (max-width: 720px) {
  .container { width: min(var(--container), calc(100% - 32px)); }
  .header-inner { min-height: auto; padding: 12px 0; align-items: flex-start; flex-direction: column; gap: 12px; }
  nav { justify-content: flex-start; gap: 6px 18px; }
  nav a { font-size: 13px; }
  .hero { min-height: 80svh; }
  .hero-content { padding-top: 80px; padding-bottom: 70px; }
  .section { padding: 72px 0; }
  .two-column, .workflow-layout, .security-grid { grid-template-columns: 1fr; gap: 30px; }
  .feature-grid { grid-template-columns: 1fr; }
  .feature-card { min-height: auto; }
  .feature-card h3 { margin-top: 28px; }
  .security-list > div { grid-template-columns: 1fr; gap: 4px; }
  .footer-inner { align-items: flex-start; flex-direction: column; }
  .document-hero { padding: 64px 0 44px; }
  .document-main { padding: 42px 0 72px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: 0.01ms !important; animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; }
}
