* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
html {
  scrollbar-width: thin;
  scrollbar-color: rgba(19,117,248,.42) #f1f4f8;
}
::-webkit-scrollbar {
  width: 10px;
  height: 10px;
}
::-webkit-scrollbar-track {
  background: #f1f4f8;
  border-radius: 999px;
}
::-webkit-scrollbar-thumb {
  background: rgba(19,117,248,.42);
  border: 2px solid #f1f4f8;
  border-radius: 999px;
}
::-webkit-scrollbar-thumb:hover {
  background: rgba(19,117,248,.64);
}
body {
  margin: 0;
  font-family: Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif;
  background: #fff;
  color: #202124;
  line-height: 1.62;
}
a { color: inherit; }
.topbar {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  gap: 14px;
  min-height: 52px;
  padding: 0 24px;
  background: rgba(247,248,250,.94);
  border-bottom: 1px solid #edf0f5;
  backdrop-filter: blur(16px);
  overflow: visible;
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  flex: 0 0 auto;
  font-weight: 800;
  font-size: 14px;
  color: #111827;
  text-decoration: none;
  white-space: nowrap;
}
.brand-mark {
  width: 26px;
  height: 26px;
  border-radius: 8px;
  background: #1375f8;
  color: #fff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-weight: 900;
}
.topnav {
  display: flex;
  align-items: center;
  gap: 4px;
  flex: 1 1 auto;
  min-width: 0;
  overflow-x: auto;
  overflow-y: hidden;
  scrollbar-width: thin;
  scrollbar-color: rgba(19,117,248,.34) transparent;
}
.topnav::-webkit-scrollbar {
  height: 7px;
}
.topnav::-webkit-scrollbar-track {
  background: transparent;
}
.topnav::-webkit-scrollbar-thumb {
  background: rgba(19,117,248,.34);
  border: 2px solid rgba(247,248,250,.94);
  border-radius: 999px;
}
.topnav a {
  flex: 0 0 auto;
  padding: 14px 10px 13px;
  color: #666f80;
  text-decoration: none;
  font-size: 13px;
  line-height: 1;
  white-space: nowrap;
  border-bottom: 2px solid transparent;
}
.topnav a:hover,
.topnav a.active {
  color: #111827;
  border-bottom-color: #1375f8;
}
.doc-jump-label {
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: #8a93a3;
  font-size: 11px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: .05em;
}
.doc-jump {
  width: 230px;
  max-width: 28vw;
  height: 36px;
  padding: 0 36px 0 12px;
  border: 1px solid #dce4ef;
  border-radius: 12px;
  background:
    linear-gradient(45deg, transparent 50%, #758195 50%) calc(100% - 18px) 15px / 6px 6px no-repeat,
    linear-gradient(135deg, #758195 50%, transparent 50%) calc(100% - 13px) 15px / 6px 6px no-repeat,
    #fff;
  color: #273142;
  font: inherit;
  font-size: 13px;
  font-weight: 700;
  text-transform: none;
  letter-spacing: 0;
  appearance: none;
  outline: none;
  box-shadow: 0 8px 18px rgba(20,32,54,.05);
}
.doc-jump:focus {
  border-color: #1375f8;
  box-shadow: 0 0 0 3px rgba(19,117,248,.12);
}
.page {
  width: min(1180px, calc(100vw - 32px));
  margin: 0 auto;
  padding: 30px 0 54px;
}
.hero {
  padding: 4px 0 24px;
  max-width: 760px;
}
.kicker {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: #087a2f;
  background: #eaf9ef;
  border-radius: 999px;
  padding: 6px 11px;
  font-size: 13px;
  font-weight: 700;
  margin-bottom: 18px;
}
.hero h1,
.article h1 {
  margin: 0 0 12px;
  font-size: clamp(32px, 5vw, 54px);
  line-height: 1.08;
  letter-spacing: -0.035em;
  color: #1f2328;
}
.hero p,
.article-lead {
  margin: 0;
  color: #596273;
  font-size: 18px;
  max-width: 760px;
}
.docs-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 26px 48px;
  margin-top: 18px;
}
.doc-card {
  position: relative;
  display: flex;
  align-items: center;
  min-height: 96px;
  gap: 18px;
  padding: 22px 22px 22px 24px;
  border: 1px solid #edf0f5;
  border-radius: 24px;
  background: #fff;
  color: inherit;
  text-decoration: none;
  box-shadow: 0 12px 30px rgba(20, 32, 54, .08);
  transition: transform .16s, box-shadow .16s, border-color .16s;
}
.doc-card:hover {
  transform: translateY(-2px);
  border-color: #b7d3ff;
  box-shadow: 0 18px 42px rgba(19, 117, 248, .15);
}
.doc-card h2 {
  margin: 0 0 6px;
  font-size: 19px;
  line-height: 1.25;
  color: #33363d;
}
.doc-card p {
  margin: 0;
  color: #858b96;
  font-size: 15px;
}
.doc-icon {
  margin-left: auto;
  flex: 0 0 48px;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: #f2f4f8;
  color: #1375f8;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}
.doc-icon svg {
  width: 24px;
  height: 24px;
  fill: currentColor;
}
.layout {
  display: grid;
  grid-template-columns: minmax(0, 760px) 300px;
  gap: 54px;
  align-items: start;
}
.article {
  min-width: 0;
  padding-top: 22px;
}
.article-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 18px 0 26px;
}
.pill {
  display: inline-flex;
  align-items: center;
  min-height: 28px;
  padding: 0 10px;
  border-radius: 999px;
  background: #f1f5fb;
  color: #596273;
  font-size: 13px;
  font-weight: 700;
}
.content-card {
  border: 1px solid #edf0f5;
  border-radius: 24px;
  background: #fff;
  box-shadow: 0 12px 30px rgba(20, 32, 54, .06);
  overflow: hidden;
}
.article-section {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 52px;
  gap: 20px;
  padding: 26px 28px;
  border-bottom: 1px solid #edf0f5;
}
.article-section:last-child { border-bottom: 0; }
.article-section h2 {
  margin: 0 0 10px;
  color: #15181d;
  font-size: 22px;
  line-height: 1.28;
  letter-spacing: -.015em;
}
.article-section p {
  margin: 0 0 10px;
  color: #626b7a;
  font-size: 16px;
}
.article-section ul {
  margin: 10px 0 0;
  padding-left: 20px;
  color: #626b7a;
}
.article-section li { margin: 6px 0; }
.section-icon {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: #f2f4f8;
  color: #1375f8;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}
.section-icon svg {
  width: 23px;
  height: 23px;
  fill: currentColor;
}
.aside {
  position: sticky;
  top: 78px;
  padding: 22px;
  border: 1px solid #e5eaf2;
  border-radius: 22px;
  background: #fff;
  box-shadow: 0 10px 28px rgba(20, 32, 54, .05);
}
.aside-title {
  margin: 0 0 14px;
  font-size: 15px;
  color: #8a93a3;
  text-transform: uppercase;
  letter-spacing: .06em;
  font-weight: 800;
}
.side-nav {
  display: flex;
  flex-direction: column;
  gap: 2px;
  max-height: calc(100vh - 160px);
  overflow-y: auto;
  scrollbar-width: thin;
  scrollbar-color: rgba(19,117,248,.34) transparent;
}
.side-nav::-webkit-scrollbar {
  width: 7px;
}
.side-nav::-webkit-scrollbar-track {
  background: transparent;
}
.side-nav::-webkit-scrollbar-thumb {
  background: rgba(19,117,248,.34);
  border-radius: 999px;
}
.side-nav a {
  display: block;
  padding: 9px 10px;
  border-radius: 10px;
  color: #5d6677;
  font-size: 14px;
  line-height: 1.25;
  text-decoration: none;
}
.side-nav a:hover,
.side-nav a.active {
  background: #eef5ff;
  color: #1375f8;
  font-weight: 700;
}
.back-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 20px;
  color: #1375f8;
  text-decoration: none;
  font-weight: 700;
}
.notice {
  margin-top: 28px;
  padding: 18px 20px;
  border: 1px solid #cfe2ff;
  border-radius: 18px;
  background: #f3f8ff;
  color: #4d617c;
}
.footer {
  color: #8992a3;
  font-size: 14px;
  margin-top: 36px;
}
@media (max-width: 980px) {
  .topbar { padding: 8px 14px; gap: 10px; flex-wrap: wrap; }
  .topnav { order: 3; flex-basis: 100%; }
  .doc-jump-label { margin-left: auto; }
  .doc-jump { max-width: 48vw; width: 220px; }
  .page { width: min(100vw - 24px, 760px); padding-top: 22px; }
  .docs-grid { grid-template-columns: 1fr; gap: 16px; }
  .layout { display: flex; flex-direction: column; gap: 22px; }
  .aside { position: static; width: 100%; order: -1; }
  .side-nav { max-height: none; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 620px) {
  .brand span:last-child { display: none; }
  .topbar { padding: 8px 10px; }
  .doc-jump-label span { display: none; }
  .doc-jump { width: calc(100vw - 72px); max-width: none; }
  .topnav a { padding: 13px 8px 12px; font-size: 12px; }
  .hero h1, .article h1 { font-size: 34px; }
  .hero p, .article-lead { font-size: 16px; }
  .doc-card { min-height: 86px; padding: 18px; border-radius: 20px; }
  .doc-icon { width: 42px; height: 42px; flex-basis: 42px; }
  .article-section { grid-template-columns: 1fr; padding: 22px 18px; }
  .section-icon { display: none; }
  .side-nav { grid-template-columns: 1fr; }
}
