:root {
  --blue: #1aa9f8;
  --blue-dark: #087fca;
  --blue-soft: #eaf7ff;
  --ink: #0f1923;
  --ink-2: #3d4f5c;
  --muted: #718594;
  --line: #dfeaf1;
  --paper: #ffffff;
  --bg: #f6fafc;
  --green: #128957;
  --orange: #b85f09;
  --font: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Microsoft YaHei", sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--ink);
  background: var(--bg);
  font-family: var(--font);
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; }
a { color: var(--blue-dark); }
a:hover { color: var(--blue); }
.skip-link {
  position: fixed;
  top: 8px;
  left: 8px;
  z-index: 200;
  padding: 10px 14px;
  color: white;
  background: var(--ink);
  border-radius: 8px;
  transform: translateY(-160%);
}
.skip-link:focus { transform: translateY(0); }

.site-nav {
  position: sticky;
  top: 0;
  z-index: 100;
  min-height: 64px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  padding: 10px max(24px, calc((100vw - 1160px) / 2));
  background: rgba(255, 255, 255, .94);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(14px);
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--ink);
  font-size: 18px;
  font-weight: 700;
  text-decoration: none;
  white-space: nowrap;
}
.brand img { width: 34px; height: 34px; border-radius: 10px; }
.nav-links { display: flex; align-items: center; gap: 24px; }
.nav-links a { color: var(--ink-2); font-size: 14px; text-decoration: none; }
.nav-links .nav-download {
  padding: 9px 16px;
  color: white;
  background: var(--blue);
  border-radius: 9px;
  font-weight: 650;
}

.page-shell { width: min(1160px, calc(100% - 40px)); margin: 0 auto; }
.breadcrumb {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  padding: 24px 0 0;
  color: var(--muted);
  font-size: 13px;
}
.breadcrumb a { text-decoration: none; }
.hero {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(260px, .85fr);
  align-items: center;
  gap: 64px;
  padding: 58px 0 72px;
}
.eyebrow {
  display: inline-flex;
  padding: 6px 12px;
  color: var(--blue-dark);
  background: var(--blue-soft);
  border: 1px solid #b9e5fc;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 650;
}
h1 {
  margin: 18px 0 18px;
  font-size: clamp(38px, 5.6vw, 66px);
  line-height: 1.08;
  letter-spacing: -.035em;
}
.hero-summary {
  max-width: 720px;
  margin: 0;
  color: var(--ink-2);
  font-size: 18px;
  line-height: 1.8;
}
.audience { display: flex; flex-wrap: wrap; gap: 8px; margin: 24px 0 0; }
.audience span {
  padding: 6px 10px;
  color: var(--ink-2);
  background: white;
  border: 1px solid var(--line);
  border-radius: 999px;
  font-size: 13px;
}
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 0 20px;
  border: 1px solid var(--line);
  border-radius: 11px;
  color: var(--ink-2);
  background: white;
  font-weight: 650;
  text-decoration: none;
}
.button.primary { color: white; background: var(--blue); border-color: var(--blue); }
.hero-visual {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 420px;
}
.hero-visual::before {
  content: "";
  position: absolute;
  inset: 8% 0;
  background: radial-gradient(circle, rgba(26, 169, 248, .22), transparent 68%);
}
.hero-visual img {
  position: relative;
  z-index: 1;
  display: block;
  width: min(250px, 68vw);
  height: auto;
  max-height: none;
  object-fit: contain;
  border: 9px solid #17222c;
  border-radius: 34px;
  box-shadow: 0 28px 68px rgba(27, 63, 84, .22);
}
.hero-visual.icon-visual { align-items: center; }
.hero-visual.icon-visual img {
  width: min(300px, 82%);
  height: auto;
  object-fit: contain;
  border: 0;
  border-radius: 64px;
}
.placeholder-visual::before { inset: 5%; }
.screenshot-placeholder {
  position: relative;
  z-index: 1;
  width: min(300px, 78vw);
  aspect-ratio: 1080 / 2376;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 12px;
  padding: 28px;
  color: var(--ink-2);
  text-align: center;
  background: linear-gradient(180deg, #fff, #f1f9fe);
  border: 2px dashed #8fd3f6;
  border-radius: 34px;
  box-shadow: 0 24px 54px rgba(27, 63, 84, .12);
}
.screenshot-placeholder span {
  padding: 5px 10px;
  color: var(--blue-dark);
  background: var(--blue-soft);
  border-radius: 999px;
  font-size: 12px;
  font-weight: 700;
}
.screenshot-placeholder strong { max-width: 220px; font-size: 18px; line-height: 1.5; }
.screenshot-placeholder small { max-width: 210px; color: var(--muted); line-height: 1.6; }

.content-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 260px;
  gap: 64px;
  align-items: start;
  padding-bottom: 80px;
}
.article { min-width: 0; }
.note {
  padding: 22px 24px;
  border: 1px solid #b9e5fc;
  border-left: 4px solid var(--blue);
  border-radius: 12px;
  background: var(--blue-soft);
  color: var(--ink-2);
  line-height: 1.75;
}
.note strong { color: var(--ink); }
.content-section { padding: 48px 0; border-bottom: 1px solid var(--line); scroll-margin-top: 86px; }
.content-section:first-of-type { padding-top: 22px; }
h2 { margin: 0 0 18px; font-size: clamp(26px, 3vw, 36px); letter-spacing: -.02em; }
h3 { margin: 24px 0 10px; font-size: 19px; }
.content-section p, .content-section li { color: var(--ink-2); font-size: 16px; line-height: 1.85; }
.content-section ul, .content-section ol { padding-left: 22px; }
.content-section li + li { margin-top: 7px; }
.product-shot-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}
.product-shot {
  margin: 0;
  padding: 12px;
  background: white;
  border: 1px solid var(--line);
  border-radius: 18px;
}
.product-shot img {
  display: block;
  width: 100%;
  max-height: 620px;
  object-fit: contain;
  object-position: top;
  background: var(--blue-soft);
  border-radius: 12px;
}
.product-shot figcaption {
  padding: 12px 4px 2px;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.6;
}
.steps { display: grid; gap: 14px; counter-reset: steps; margin-top: 22px; }
.step {
  position: relative;
  padding: 20px 20px 20px 64px;
  background: white;
  border: 1px solid var(--line);
  border-radius: 14px;
}
.step::before {
  counter-increment: steps;
  content: counter(steps);
  position: absolute;
  left: 20px;
  top: 19px;
  width: 28px;
  height: 28px;
  display: grid;
  place-items: center;
  color: white;
  background: var(--blue);
  border-radius: 50%;
  font-size: 13px;
  font-weight: 700;
}
.step strong { display: block; margin-bottom: 4px; }
.step p { margin: 0; font-size: 15px; }
.prompt {
  margin: 18px 0;
  padding: 20px;
  overflow-x: auto;
  color: #e5f3fb;
  background: #172531;
  border-radius: 12px;
  white-space: pre-wrap;
  font: 14px/1.75 ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  user-select: all;
}
.config-details { margin-top: 16px; }
.config-details summary { cursor: pointer; color: var(--blue-dark); font-weight: 700; }
.matrix { width: 100%; border-collapse: collapse; margin: 22px 0; background: white; }
.matrix th, .matrix td { padding: 13px 14px; border: 1px solid var(--line); text-align: left; vertical-align: top; }
.matrix th { background: var(--blue-soft); }
.matrix td { color: var(--ink-2); line-height: 1.55; }
.faq-list { display: grid; gap: 12px; }
.faq-list details { padding: 18px 20px; background: white; border: 1px solid var(--line); border-radius: 12px; }
.faq-list summary { cursor: pointer; font-weight: 700; }
.faq-list p { margin: 12px 0 0; font-size: 15px; }
.related-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
.related-card {
  display: block;
  padding: 19px;
  color: var(--ink);
  background: white;
  border: 1px solid var(--line);
  border-radius: 13px;
  text-decoration: none;
}
.related-card span { display: block; margin-top: 6px; color: var(--muted); font-size: 13px; }
.side-nav {
  position: sticky;
  top: 94px;
  padding: 20px;
  background: white;
  border: 1px solid var(--line);
  border-radius: 14px;
}
.side-nav strong { display: block; margin-bottom: 12px; font-size: 13px; }
.side-nav a { display: block; padding: 7px 0; color: var(--muted); font-size: 13px; text-decoration: none; }
.side-nav .updated { margin: 18px 0 0; padding-top: 14px; border-top: 1px solid var(--line); color: var(--muted); font-size: 12px; line-height: 1.65; }
.page-cta {
  margin: 64px 0 0;
  padding: 36px;
  color: white;
  background: linear-gradient(135deg, #087fca, #1aa9f8);
  border-radius: 20px;
}
.page-cta h2 { margin-bottom: 10px; }
.page-cta p { color: rgba(255, 255, 255, .86); }
.page-cta .button { margin-top: 10px; color: var(--blue-dark); }

.site-footer {
  padding: 36px max(24px, calc((100vw - 1160px) / 2));
  color: rgba(255, 255, 255, .72);
  background: var(--ink);
  font-size: 13px;
}
.footer-top { display: flex; justify-content: space-between; gap: 24px; margin-bottom: 20px; }
.footer-links { display: flex; flex-wrap: wrap; gap: 18px; }
.footer-links a { color: rgba(255, 255, 255, .72); text-decoration: none; }

@media (max-width: 820px) {
  .nav-links a:not(.nav-download) { display: none; }
  .hero { grid-template-columns: 1fr; gap: 36px; padding: 42px 0 56px; }
  .hero-visual { min-height: 360px; }
  .content-layout { grid-template-columns: 1fr; gap: 0; }
  .side-nav { display: none; }
}

@media (max-width: 560px) {
  .page-shell { width: min(100% - 28px, 1160px); }
  .site-nav { padding: 10px 14px; }
  .brand { font-size: 16px; }
  h1 { font-size: 40px; }
  .hero-summary { font-size: 16px; }
  .hero-visual { min-height: 310px; }
  .related-grid { grid-template-columns: 1fr; }
  .product-shot-grid { grid-template-columns: 1fr; }
  .matrix { display: block; overflow-x: auto; }
  .page-cta { padding: 28px 22px; }
  .footer-top { flex-direction: column; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
}
