
:root{
  --bg:#f4f7fb;
  --surface:#ffffff;
  --surface-2:#eef3fa;
  --text:#0f172a;
  --muted:#475569;
  --soft:#64748b;
  --line:#d9e2ef;
  --line-strong:#b9c7db;
  --accent:#1d4ed8;
  --accent-2:#dc2626;
  --accent-3:#0f766e;
  --shadow:0 18px 48px rgba(15,23,42,.08);
  --radius:20px;
  --header-h:72px;
}
*{box-sizing:border-box}
html{scroll-behavior:smooth}
body{
  margin:0;
  font-family:Inter, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  color:var(--text);
  background:
    radial-gradient(circle at top right, rgba(29,78,216,.08), transparent 30%),
    linear-gradient(180deg, #f8fbff 0%, var(--bg) 100%);
  line-height:1.65;
}
img{max-width:100%;display:block}
a{color:var(--accent);text-decoration:none}
a:hover{text-decoration:underline}
.skip-link{
  position:absolute;left:-9999px;top:auto;width:1px;height:1px;overflow:hidden
}
.skip-link:focus{
  position:fixed;left:16px;top:16px;width:auto;height:auto;padding:12px 16px;background:#fff;z-index:1000;border-radius:12px;box-shadow:var(--shadow)
}
.site-header{
  position:sticky;top:0;z-index:30;
  background:rgba(244,247,251,.82);
  backdrop-filter:blur(14px);
  border-bottom:1px solid rgba(185,199,219,.6);
}
.site-header__inner{
  max-width:1600px;margin:0 auto;height:var(--header-h);padding:0 24px;
  display:flex;align-items:center;justify-content:space-between;gap:16px;
}
.brand{display:flex;align-items:center;gap:12px;font-weight:700;color:var(--text)}
.brand img{width:36px;height:36px}
.header-actions{display:flex;align-items:center;gap:12px}
.lang-switch{
  display:inline-flex;align-items:center;justify-content:center;
  padding:10px 16px;border-radius:999px;border:1px solid var(--line-strong);
  background:#fff;color:var(--text);font-weight:600
}
.layout{
  max-width:1600px;
  margin:0 auto;
  display:grid;
  grid-template-columns:320px minmax(0,1fr);
  gap:32px;
  padding:28px 24px 64px;
}
.sidebar{
  position:sticky;top:calc(var(--header-h) + 20px);align-self:start;
  max-height:calc(100vh - var(--header-h) - 40px);
  overflow:auto;
  background:rgba(255,255,255,.82);
  backdrop-filter:blur(8px);
  border:1px solid rgba(185,199,219,.7);
  border-radius:24px;
  box-shadow:var(--shadow);
  padding:20px 18px 22px;
}
.toc-title{
  font-size:.84rem;letter-spacing:.08em;text-transform:uppercase;font-weight:800;color:var(--soft);margin:2px 0 14px
}
.toc-list, .toc-list ol{list-style:none;margin:0;padding:0}
.toc-list > li{padding:6px 0 12px}
.toc-list ol{padding-left:14px;border-left:2px solid var(--surface-2);margin:8px 0 0 8px}
.toc-list li li{padding:4px 0}
.toc-list a{
  display:block;color:var(--muted);padding:6px 8px;border-radius:12px;
  transition:.18s ease;
}
.toc-list a span{color:var(--soft);font-variant-numeric:tabular-nums}
.toc-list a:hover,.toc-list a.active{
  background:var(--surface-2);color:var(--text);text-decoration:none
}
.content{min-width:0}
.hero{
  display:grid;grid-template-columns:minmax(0,1.15fr) minmax(280px,.85fr);gap:28px;
  background:linear-gradient(135deg,#0f172a 0%,#172554 55%,#1d4ed8 100%);
  color:#fff;border-radius:32px;box-shadow:var(--shadow);padding:34px;
}
.eyebrow{
  display:inline-block;margin:0 0 12px;
  font-size:.82rem;font-weight:700;letter-spacing:.08em;text-transform:uppercase;
  color:#bfdbfe
}
.hero h1{
  font-size:clamp(2rem,4vw,3.55rem);
  line-height:1.05;margin:0 0 12px;max-width:15ch
}
.hero__subtitle{
  margin:0 0 12px;font-size:1.08rem;font-weight:600;color:#dbeafe
}
.hero__intro{
  max-width:68ch;margin:0;color:#e2e8f0
}
.hero__meta{
  display:flex;flex-wrap:wrap;gap:10px;margin-top:20px
}
.chip{
  display:inline-flex;padding:8px 12px;border-radius:999px;
  background:rgba(255,255,255,.12);border:1px solid rgba(255,255,255,.15);
  font-size:.92rem;font-weight:600;color:#fff
}
.hero__panel{
  display:flex;align-items:stretch
}
.hero-cards{
  width:100%;display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px
}
.hero-card{
  background:rgba(255,255,255,.1);
  border:1px solid rgba(255,255,255,.14);
  border-radius:22px;padding:18px;min-height:124px;
  display:flex;flex-direction:column;justify-content:space-between
}
.hero-card span{font-size:.82rem;font-weight:700;letter-spacing:.05em;text-transform:uppercase;color:#bfdbfe}
.hero-card strong{font-size:1rem;line-height:1.45;color:#fff}
.overview-banner{
  margin:26px 0 12px;background:rgba(255,255,255,.86);border:1px solid var(--line);
  border-radius:22px;box-shadow:var(--shadow)
}
.overview-banner__steps{
  display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:12px;padding:18px 20px;
  font-weight:700;color:var(--muted);font-size:.95rem
}
.overview-banner__steps span{
  position:relative;padding:10px 14px;background:var(--surface-2);border-radius:14px;text-align:center
}
.content-section{
  margin-top:24px;background:rgba(255,255,255,.9);border:1px solid var(--line);
  border-radius:28px;box-shadow:var(--shadow);padding:28px
}
.section-heading{
  display:flex;align-items:flex-start;gap:16px;border-bottom:1px solid var(--line);padding-bottom:18px;margin-bottom:8px
}
.section-number{
  flex:0 0 auto;display:inline-flex;align-items:center;justify-content:center;
  min-width:44px;height:44px;border-radius:14px;background:var(--surface-2);
  color:var(--accent);font-weight:800
}
.section-heading h2{
  margin:2px 0 0;font-size:clamp(1.5rem,2vw,2rem);line-height:1.15
}
.section-body{display:grid;gap:22px;margin-top:18px}
.subsection{
  padding-top:8px;
}
.subsection + .subsection{
  border-top:1px solid rgba(217,226,239,.75);padding-top:22px
}
.subsection h3{
  margin:0 0 10px;font-size:1.15rem;line-height:1.3;scroll-margin-top:100px
}
.subsection h3 .sub-number{
  color:var(--accent);font-weight:800
}
.content-section h2{scroll-margin-top:100px}
.content-section p{margin:0 0 14px;color:var(--muted)}
.content-section ul,.content-section ol{margin:0 0 16px 20px;color:var(--muted)}
.content-section li{margin:0 0 7px}
.table-wrap{
  overflow:auto;border:1px solid var(--line);border-radius:18px;background:var(--surface);
  margin:14px 0 10px
}
table{width:100%;border-collapse:separate;border-spacing:0;min-width:720px}
thead th{
  position:sticky;top:0;background:#e8eef8;color:#0f172a;font-size:.9rem;text-align:left;
  padding:14px 16px;border-bottom:1px solid var(--line-strong)
}
tbody td, tbody th{
  padding:14px 16px;vertical-align:top;border-bottom:1px solid var(--line);color:var(--muted)
}
tbody tr:last-child td, tbody tr:last-child th{border-bottom:none}
tbody tr:nth-child(even){background:#fbfdff}
.glossary-table table{min-width:0}
.glossary-table th{width:210px}
.callout{
  border-left:5px solid var(--accent-2);
  background:linear-gradient(90deg,rgba(220,38,38,.08),rgba(220,38,38,.02));
  border-radius:16px;padding:16px 18px;margin:12px 0 0
}
.callout p{margin:0;color:#334155;font-weight:600}
code{
  display:inline-block;padding:2px 8px;border-radius:8px;background:#e2e8f0;color:#0f172a;font-family:ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,"Liberation Mono","Courier New",monospace;font-size:.92em
}
.product-grid{
  display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:18px;margin-top:14px
}
.product-card{
  display:grid;grid-template-columns:160px 1fr;gap:18px;align-items:stretch;
  padding:16px;border:1px solid var(--line);border-radius:22px;background:var(--surface);
  transition:transform .18s ease, box-shadow .18s ease, border-color .18s ease;
  box-shadow:0 10px 28px rgba(15,23,42,.05)
}
.product-card:hover{
  text-decoration:none;transform:translateY(-2px);box-shadow:0 18px 40px rgba(15,23,42,.09);border-color:#94a3b8
}
.product-card__media{
  border-radius:18px;background:#0f172a;padding:16px;display:flex;align-items:center;justify-content:center;min-height:120px
}
.product-card__media img{
  max-width:100%;max-height:82px;object-fit:contain
}
.product-card__meta{
  font-size:.8rem;text-transform:uppercase;letter-spacing:.08em;font-weight:800;color:var(--soft);margin-bottom:8px
}
.product-card h4{margin:0 0 8px;font-size:1.06rem;color:var(--text)}
.product-card p{margin:0 0 12px;color:var(--muted)}
.pill{
  display:inline-flex;align-items:center;padding:7px 10px;border-radius:999px;
  background:#eef2ff;color:#312e81;font-size:.82rem;font-weight:700
}
.site-footer{
  border-top:1px solid var(--line);background:rgba(255,255,255,.9)
}
.site-footer__inner{
  max-width:1600px;margin:0 auto;padding:22px 24px 40px;color:var(--muted)
}
.site-footer p{margin:0 0 10px}
@media (max-width:1240px){
  .layout{grid-template-columns:1fr}
  .sidebar{
    position:relative;top:auto;max-height:none;order:-1
  }
}
@media (max-width:940px){
  .hero{grid-template-columns:1fr}
  .product-grid{grid-template-columns:1fr}
}
@media (max-width:760px){
  .site-header__inner,.layout,.site-footer__inner{padding-left:16px;padding-right:16px}
  .layout{padding-top:18px}
  .hero{padding:24px}
  .hero-cards{grid-template-columns:1fr}
  .overview-banner__steps{grid-template-columns:1fr 1fr}
  .content-section{padding:20px}
  .section-heading{gap:12px}
  .product-card{grid-template-columns:1fr}
  .product-card__media{min-height:110px}
}
@media print{
  .site-header,.sidebar,.lang-switch{display:none !important}
  body{background:#fff}
  .layout{display:block;max-width:none;padding:0}
  .content-section,.hero,.overview-banner{box-shadow:none;border:1px solid #ddd}
}
