:root {
  --ink: #162434;
  --muted: #637187;
  --navy: #0F2744;
  --navy-deep: #0A1B30;
  --accent: #2563EB;
  --accent-dark: #1D4ED8;
  --accent-soft: #EFF6FF;
  --soft: #F5F8FB;
  --line: #D9E3EB;
  --shadow: 0 22px 58px rgba(15, 39, 68, 0.1);
  --max: 1180px;
  --radius: 12px;
}
* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: Inter, "Segoe UI", "PingFang SC", "Microsoft YaHei", sans-serif;
  color: var(--ink); background: #fff; line-height: 1.65;
}
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
ul { list-style: none; }
.skip-link {
  position: absolute; left: -999px; top: 0; background: var(--accent); color: #fff; padding: 8px 12px; z-index: 100;
}
.skip-link:focus { left: 12px; }

.top-strip {
  display: flex; align-items: center; justify-content: center; gap: 16px; flex-wrap: wrap;
  background: var(--navy-deep); color: #B7F5D2; font-size: 13px; padding: 8px 16px;
}
.top-strip strong { color: #fff; font-weight: 600; }
.top-strip a { color: #BFDBFE; text-decoration: underline; }

.site-header {
  position: sticky; top: 0; z-index: 50;
  display: flex; align-items: center; gap: 16px;
  width: min(var(--max), calc(100% - 32px)); margin: 0 auto;
  padding: 12px 0; background: rgba(255,255,255,.92); backdrop-filter: blur(12px);
  border-bottom: 1px solid transparent;
}
.site-header.scrolled { border-bottom-color: var(--line); }
.brand img { height: 44px; width: auto; }
.desktop-nav {
  display: flex; flex-wrap: wrap; gap: 14px; margin-left: auto; font-size: 14px; color: var(--muted);
}
.desktop-nav a:hover { color: var(--accent); }
.channel-hot { font-size: 12px; margin-left: 2px; }
.header-actions { display: flex; align-items: center; gap: 10px; margin-left: 8px; }
.login-link { font-size: 14px; color: var(--muted); }
.menu-button {
  display: none; margin-left: auto; background: #fff; border: 1px solid var(--line);
  border-radius: 8px; padding: 8px 14px; font-size: 14px; cursor: pointer;
}
.mobile-nav {
  display: none; flex-direction: column; gap: 12px;
  width: min(var(--max), calc(100% - 32px)); margin: 0 auto 12px;
  padding: 16px; border: 1px solid var(--line); border-radius: var(--radius); background: #fff;
}
.mobile-nav.open { display: flex; }

.button {
  display: inline-flex; align-items: center; justify-content: center;
  min-height: 44px; padding: 0 20px; border-radius: 8px; font-weight: 700; font-size: 14px;
  border: 1px solid transparent; transition: .2s;
}
.button.small { min-height: 36px; padding: 0 14px; font-size: 13px; }
.button.primary { background: var(--accent); color: #fff; }
.button.primary:hover { background: var(--accent-dark); }
.button.secondary { background: #fff; border-color: var(--line); color: var(--ink); }
.button.secondary:hover { border-color: var(--accent); color: var(--accent); }
.button.light-button { background: #fff; color: var(--navy); }
.button.outline-light { background: transparent; border-color: rgba(255,255,255,.45); color: #fff; }

main { width: min(var(--max), calc(100% - 32px)); margin: 0 auto; }
.hero {
  display: grid; grid-template-columns: 1.05fr .95fr; gap: 36px; align-items: center;
  padding: 48px 0 36px;
  background:
    radial-gradient(700px 380px at 85% 10%, rgba(37,99,235,.12), transparent 60%),
    linear-gradient(180deg, #F8FBFF 0%, #fff 70%);
  margin: 0 calc(50% - 50vw); padding-left: max(16px, calc(50vw - var(--max)/2));
  padding-right: max(16px, calc(50vw - var(--max)/2));
}
.hero h1 {
  font-size: clamp(28px, 4vw, 42px); line-height: 1.2; color: var(--navy);
  letter-spacing: -0.02em; margin-bottom: 14px;
}
.hero-lead { color: var(--muted); font-size: 16px; margin-bottom: 22px; max-width: 48ch; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 22px; }
.hero-metrics {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px;
}
.hero-metrics div {
  background: #fff; border: 1px solid var(--line); border-radius: 10px; padding: 12px;
}
.hero-metrics strong { display: block; font-size: 14px; margin-bottom: 4px; }
.hero-metrics span { font-size: 12px; color: var(--muted); }

.product-panel {
  background: #fff; border: 1px solid var(--line); border-radius: 16px;
  box-shadow: var(--shadow); padding: 14px; overflow: hidden;
}
.panel-head {
  display: flex; align-items: center; gap: 6px; margin-bottom: 12px; color: var(--muted); font-size: 13px;
}
.panel-head span {
  width: 8px; height: 8px; border-radius: 50%; background: #CBD5E1;
}
.panel-head span:nth-child(1) { background: #F87171; }
.panel-head span:nth-child(2) { background: #FBBF24; }
.panel-head span:nth-child(3) { background: #34D399; }
.signal-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin-bottom: 10px; }
.signal-grid article {
  background: var(--soft); border-radius: 10px; padding: 10px 12px;
}
.signal-grid small { color: var(--muted); font-size: 12px; }
.signal-grid strong { display: block; font-size: 13px; margin-top: 2px; }
.flow-row {
  display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 12px;
}
.flow-row span {
  background: var(--accent-soft); color: var(--accent-dark); font-size: 12px; font-weight: 700;
  padding: 4px 10px; border-radius: 999px;
}
.product-panel figure img { width: 100%; border-radius: 10px; }
.product-panel figcaption { font-size: 12px; color: var(--muted); margin-top: 8px; text-align: center; }

.proof-bar {
  display: grid; grid-template-columns: repeat(4, 1fr);
  border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; margin: 8px 0 28px;
}
.proof-bar div {
  padding: 20px 16px; border-right: 1px solid var(--line); background: #fff;
}
.proof-bar div:last-child { border-right: 0; }
.proof-bar strong { display: block; font-size: 20px; color: var(--navy); margin-bottom: 4px; }
.proof-bar span { font-size: 13px; color: var(--muted); }

.section { padding: 48px 0; }
.section.soft { background: var(--soft); margin: 0 calc(50% - 50vw); padding-left: max(16px, calc(50vw - var(--max)/2)); padding-right: max(16px, calc(50vw - var(--max)/2)); }
.section-heading { text-align: center; max-width: 720px; margin: 0 auto 28px; }
.section-heading.align-left { text-align: left; margin-left: 0; }
.section-heading h2 { font-size: clamp(24px, 3vw, 32px); color: var(--navy); margin-bottom: 8px; }
.section-heading p { color: var(--muted); }

.strategy-grid {
  display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px;
}
.strategy-grid a {
  display: block; background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 22px; transition: .2s;
}
.strategy-grid a:hover { transform: translateY(-3px); border-color: #93C5FD; box-shadow: var(--shadow); }
.strategy-grid .strategy-primary { border-color: var(--accent); background: linear-gradient(180deg, #EFF6FF, #fff); }
.strategy-grid span { display: block; color: var(--accent); font-weight: 800; font-size: 13px; margin-bottom: 8px; }
.strategy-grid strong { display: block; font-size: 18px; margin-bottom: 8px; color: var(--navy); }
.strategy-grid p { color: var(--muted); font-size: 14px; margin-bottom: 10px; }
.strategy-grid em { font-style: normal; font-size: 13px; color: var(--accent-dark); font-weight: 600; }
.section-actions { display: flex; flex-wrap: wrap; gap: 16px; margin-top: 18px; justify-content: center; }
.section-actions.strategy-secondary { justify-content: flex-start; }
.text-action { color: var(--accent); font-weight: 650; font-size: 14px; }
.text-action:hover { text-decoration: underline; }

.trust-process-grid {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px;
}
.trust-process-grid article {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 18px;
}
.trust-process-grid span { color: var(--accent); font-weight: 800; font-size: 13px; }
.trust-process-grid strong { display: block; margin: 8px 0 6px; color: var(--navy); }
.trust-process-grid p { font-size: 14px; color: var(--muted); }

.scenario-grid {
  display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px;
}
.scenario-grid a {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 20px; transition: .2s;
}
.scenario-grid a:hover { border-color: var(--accent); }
.scenario-grid strong { display: block; color: var(--navy); margin-bottom: 6px; }
.scenario-grid span { color: var(--muted); font-size: 14px; }

.ecosystem-split {
  display: grid; grid-template-columns: 1.1fr .9fr; gap: 28px; align-items: center;
}
.ecosystem-split h2 { color: var(--navy); font-size: 28px; margin-bottom: 10px; }
.ecosystem-split > div > p { color: var(--muted); margin-bottom: 16px; }
.ecosystem-list { display: grid; gap: 10px; }
.ecosystem-list article {
  background: var(--soft); border: 1px solid var(--line); border-radius: 10px; padding: 14px 16px;
}
.ecosystem-list strong { display: block; margin-bottom: 4px; }
.ecosystem-list span { color: var(--muted); font-size: 14px; }

.final-cta {
  background: linear-gradient(135deg, var(--navy), var(--navy-deep));
  color: #fff; border-radius: 18px; padding: 36px 28px;
  display: flex; align-items: center; justify-content: space-between; gap: 20px; flex-wrap: wrap;
  margin: 20px 0 48px;
}
.final-cta h2 { font-size: 26px; margin-bottom: 8px; }
.final-cta p { color: #CBD5E1; max-width: 52ch; }
.cta-actions { display: flex; flex-wrap: wrap; gap: 10px; }

.site-footer {
  width: min(var(--max), calc(100% - 32px)); margin: 0 auto;
  display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 24px;
  padding: 40px 0 24px; border-top: 1px solid var(--line); color: var(--muted); font-size: 13px;
}
.footer-brand img { height: 40px; width: auto; margin-bottom: 10px; }
.footer-brand p { max-width: 36ch; line-height: 1.7; }
.site-footer strong { display: block; color: var(--ink); margin-bottom: 10px; font-size: 14px; }
.site-footer a, .site-footer span { display: block; margin-bottom: 8px; }
.site-footer a:hover { color: var(--accent); }
.footer-legal { grid-column: 1 / -1; padding-top: 16px; border-top: 1px solid var(--line); display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; }

.floating-cta {
  position: fixed; right: 18px; bottom: 18px; z-index: 60;
  background: var(--accent); color: #fff; font-weight: 700; font-size: 14px;
  padding: 12px 18px; border-radius: 999px; box-shadow: 0 12px 28px rgba(37,99,235,.35);
}
.floating-cta:hover { background: var(--accent-dark); }

/* download page */
.dl-hero {
  padding: 40px 0 28px;
  background: linear-gradient(180deg, #EFF6FF, #fff);
  margin: 0 calc(50% - 50vw); padding-left: max(16px, calc(50vw - var(--max)/2));
  padding-right: max(16px, calc(50vw - var(--max)/2));
}
.dl-hero .badge {
  display: inline-block; background: var(--accent-soft); color: var(--accent-dark);
  font-size: 12px; font-weight: 800; padding: 4px 12px; border-radius: 999px; margin-bottom: 12px;
}
.dl-hero h1 { font-size: clamp(26px, 3.6vw, 36px); color: var(--navy); margin-bottom: 10px; }
.dl-hero p { color: var(--muted); max-width: 56ch; margin-bottom: 18px; }
.platform-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; margin: 24px 0; }
.platform-card {
  border: 1px solid var(--line); border-radius: var(--radius); padding: 18px; background: #fff; text-align: center;
}
.platform-card .hot {
  display: inline-block; font-size: 11px; font-weight: 800; color: var(--accent);
  background: var(--accent-soft); padding: 2px 10px; border-radius: 999px; margin-bottom: 8px;
}
.platform-card h3 { margin-bottom: 6px; }
.platform-card p { font-size: 13px; color: var(--muted); margin-bottom: 12px; min-height: 40px; }
.guide-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; margin-bottom: 36px; }
.guide-card { border: 1px solid var(--line); border-radius: var(--radius); padding: 16px; background: var(--soft); }
.guide-card .n { color: var(--accent); font-weight: 800; font-size: 12px; margin-bottom: 6px; }
.faq-list { display: grid; gap: 10px; max-width: 860px; margin: 0 auto 40px; }
.faq-list details { border: 1px solid var(--line); border-radius: 10px; padding: 14px 16px; background: #fff; }
.faq-list summary { cursor: pointer; font-weight: 700; color: var(--navy); }
.faq-list p { color: var(--muted); margin-top: 8px; font-size: 14px; }

@media (max-width: 920px) {
  .desktop-nav, .header-actions { display: none; }
  .menu-button { display: inline-flex; }
  .hero, .ecosystem-split { grid-template-columns: 1fr; }
  .proof-bar, .trust-process-grid, .platform-grid, .guide-grid { grid-template-columns: 1fr 1fr; }
  .proof-bar div:nth-child(2) { border-right: 0; }
  .site-footer { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 640px) {
  .top-strip > span { display: none; }
  .hero-metrics, .strategy-grid, .scenario-grid, .proof-bar, .trust-process-grid,
  .platform-grid, .guide-grid, .site-footer, .signal-grid { grid-template-columns: 1fr; }
  .proof-bar div { border-right: 0; border-bottom: 1px solid var(--line); }
}
