:root {
  --ink: #10233f;
  --muted: #53657a;
  --line: #d8e3ec;
  --paper: #ffffff;
  --soft: #f4f8fb;
  --blue: #0b69d4;
  --blue-dark: #084f9f;
  --cyan: #11b9ca;
  --pink: #dc4b98;
  --green: #167666;
  --code: #0d2037;
  --shadow: 0 18px 50px rgba(16, 35, 63, 0.1);
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; color: var(--ink); background: var(--paper); font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif; font-size: 16px; line-height: 1.65; text-rendering: optimizeLegibility; }
a { color: var(--blue); text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: var(--blue-dark); }
img { max-width: 100%; }
.skip-link { position: absolute; left: -9999px; }
.skip-link:focus { left: 16px; top: 16px; z-index: 100; padding: 10px 14px; color: var(--paper); background: var(--ink); border-radius: 6px; }
.container { width: min(1160px, calc(100% - 40px)); margin: 0 auto; }
.site-header { position: sticky; top: 0; z-index: 20; background: rgba(255,255,255,.96); border-bottom: 1px solid var(--line); backdrop-filter: blur(12px); }
.nav { min-height: 70px; display: flex; align-items: center; gap: 26px; }
.brand { display: inline-flex; align-items: center; gap: 10px; color: var(--ink); font-size: 18px; font-weight: 760; text-decoration: none; white-space: nowrap; }
.brand img { width: 38px; height: 38px; object-fit: contain; }
.nav-links { display: flex; align-items: center; gap: 22px; margin-left: auto; }
.nav-links a { color: var(--muted); font-size: 14px; font-weight: 650; text-decoration: none; }
.nav-links a:hover { color: var(--ink); }
.nav-actions { display: flex; align-items: center; gap: 10px; }
.button { min-height: 42px; display: inline-flex; align-items: center; justify-content: center; padding: 10px 16px; color: var(--paper); background: var(--blue); border: 1px solid var(--blue); border-radius: 7px; font-size: 14px; font-weight: 720; line-height: 1.2; text-decoration: none; }
.button:hover { color: var(--paper); background: var(--blue-dark); border-color: var(--blue-dark); }
.button.secondary { color: var(--ink); background: var(--paper); border-color: var(--line); }
.button.secondary:hover { color: var(--blue-dark); border-color: #a9c6e6; }
.button.small { min-height: 36px; padding: 8px 13px; }
.hero { overflow: hidden; background: var(--soft); border-bottom: 1px solid var(--line); }
.hero-grid { min-height: 610px; display: grid; grid-template-columns: minmax(0,1.25fr) minmax(360px,.75fr); align-items: center; gap: 58px; padding: 72px 0; }
.eyebrow { margin: 0 0 12px; color: var(--green); font-size: 13px; font-weight: 780; letter-spacing: .08em; text-transform: uppercase; }
h1,h2,h3 { margin: 0; line-height: 1.12; letter-spacing: 0; }
h1 { max-width: 760px; font-size: 54px; font-weight: 820; }
h2 { font-size: 36px; font-weight: 790; }
h3 { font-size: 21px; font-weight: 760; }
.lead { max-width: 720px; margin: 22px 0 0; color: var(--muted); font-size: 20px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 30px; }
.hero-note { margin: 18px 0 0; color: var(--muted); font-size: 14px; }
.gateway-panel { position: relative; padding: 26px; color: #eaf5ff; background: var(--code); border: 1px solid #243c59; border-radius: 8px; box-shadow: var(--shadow); }
.panel-label { display: flex; align-items: center; gap: 8px; margin-bottom: 20px; color: #b9cee2; font-size: 12px; font-weight: 760; letter-spacing: .08em; text-transform: uppercase; }
.status-dot { width: 8px; height: 8px; background: #43d3a5; border-radius: 50%; }
.gateway-flow { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 10px; margin-bottom: 22px; }
.flow-node { padding: 12px 10px; color: #eaf5ff; background: #162c48; border: 1px solid #2d4968; border-radius: 6px; font-size: 13px; font-weight: 680; text-align: center; }
.flow-node.active { color: #052336; background: #72e2ed; border-color: #72e2ed; }
.flow-arrow { color: #88a5c1; font-size: 18px; }
.code-block { overflow-x: auto; margin: 0; padding: 18px; color: #cfe8ff; background: #09192c; border: 1px solid #203852; border-radius: 6px; font: 13px/1.7 "Cascadia Code", "SFMono-Regular", Consolas, monospace; white-space: pre; }
.code-key { color: #82e2ed; }
.code-string { color: #ffc6e1; }
.section { padding: 78px 0; }
.section.soft { background: var(--soft); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.section-heading { max-width: 760px; margin-bottom: 38px; }
.section-heading p { margin: 15px 0 0; color: var(--muted); font-size: 18px; }
.feature-grid { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 18px; }
.feature { padding: 24px; background: var(--paper); border: 1px solid var(--line); border-radius: 8px; }
.feature p,.step p,.audience p { margin: 12px 0 0; color: var(--muted); }
.feature-marker { width: 34px; height: 4px; margin-bottom: 18px; background: var(--cyan); border-radius: 4px; }
.feature:nth-child(2) .feature-marker { background: var(--pink); }
.feature:nth-child(3) .feature-marker { background: var(--green); }
.steps { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 24px; }
.step { padding-top: 20px; border-top: 3px solid var(--ink); }
.step-number { display: block; margin-bottom: 14px; color: var(--blue); font-size: 14px; font-weight: 800; }
.audience-grid { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 20px; }
.audience { padding: 26px; background: var(--paper); border-left: 5px solid var(--blue); border-radius: 0 8px 8px 0; box-shadow: 0 5px 18px rgba(16,35,63,.06); }
.audience:nth-child(2) { border-left-color: var(--pink); }
.answer-box { padding: 26px; background: #eef8f6; border: 1px solid #c7e6df; border-radius: 8px; }
.answer-box p { margin: 10px 0 0; color: #365b54; }
.facts { display: grid; grid-template-columns: repeat(4,minmax(0,1fr)); gap: 1px; overflow: hidden; margin-top: 16px; background: var(--line); border: 1px solid var(--line); border-radius: 8px; }
.fact { min-height: 112px; padding: 20px; background: var(--paper); }
.fact strong { display: block; margin-bottom: 8px; font-size: 14px; }
.fact span { color: var(--muted); font-size: 14px; }
.faq-list { display: grid; gap: 12px; }
details { background: var(--paper); border: 1px solid var(--line); border-radius: 8px; }
summary { cursor: pointer; padding: 19px 22px; font-size: 17px; font-weight: 730; }
details p { margin: 0; padding: 0 22px 22px; color: var(--muted); }
.cta { padding: 36px; color: var(--paper); background: var(--ink); border-radius: 8px; }
.cta-grid { display: flex; align-items: center; justify-content: space-between; gap: 30px; }
.cta h2 { font-size: 31px; }
.cta p { max-width: 680px; margin: 12px 0 0; color: #c9d8e8; }
.cta .button { flex: 0 0 auto; background: #77e4ec; border-color: #77e4ec; color: #08243a; }
.cta .button:hover { background: #a2eef3; border-color: #a2eef3; color: #08243a; }
.page-hero { padding: 64px 0 52px; background: var(--soft); border-bottom: 1px solid var(--line); }
.page-hero h1 { font-size: 46px; }
.page-hero .lead { font-size: 19px; }
.breadcrumbs { margin: 0 0 18px; color: var(--muted); font-size: 14px; }
.content-grid { display: grid; grid-template-columns: minmax(0,.72fr) minmax(0,1.28fr); gap: 54px; }
.content-main { min-width: 0; }
.content-main h2 { margin-top: 46px; font-size: 30px; }
.content-main h2:first-child { margin-top: 0; }
.content-main h3 { margin-top: 30px; }
.content-main p,.content-main li { color: #39506a; }
.content-main ul,.content-main ol { padding-left: 22px; }
.content-aside { align-self: start; position: sticky; top: 94px; padding: 22px; background: var(--soft); border: 1px solid var(--line); border-radius: 8px; }
.content-aside h2 { font-size: 18px; }
.content-aside ul { margin: 14px 0 0; padding-left: 19px; }
.content-aside li { margin: 8px 0; color: var(--muted); }
.data-list { display: grid; gap: 12px; margin-top: 24px; }
.data-row { padding: 16px 18px; background: var(--paper); border: 1px solid var(--line); border-radius: 7px; }
.data-row strong { display: block; margin-bottom: 5px; }
.data-row span { color: var(--muted); }
.site-footer { padding: 44px 0; color: #bcd0e3; background: #0b1a2d; }
.footer-grid { display: grid; grid-template-columns: 1.2fr .8fr .8fr; gap: 40px; }
.footer-brand { color: var(--paper); }
.footer-brand p { max-width: 470px; margin: 14px 0 0; color: #9fb7ce; }
.site-footer h2 { margin: 0 0 14px; color: var(--paper); font-size: 15px; }
.site-footer a { color: #c9d8e8; text-decoration: none; }
.site-footer a:hover { color: var(--paper); }
.footer-links { display: grid; gap: 8px; }
.footer-bottom { margin-top: 34px; padding-top: 20px; color: #8da6bd; border-top: 1px solid #243b53; font-size: 13px; }
@media (max-width: 980px) {
  .nav-links { display: none; }
  .nav-actions { margin-left: auto; }
  .hero-grid,.content-grid { grid-template-columns: 1fr; }
  .hero-grid { min-height: auto; padding: 58px 0; }
  h1 { font-size: 46px; }
  .feature-grid,.steps { grid-template-columns: 1fr; }
  .facts { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .content-aside { position: static; }
}
@media (max-width: 680px) {
  .container { width: min(100% - 28px,1160px); }
  .site-header { position: static; }
  .nav { min-height: 64px; }
  .brand span { display: none; }
  .nav-actions .secondary { display: none; }
  h1,.page-hero h1 { font-size: 36px; }
  h2,.content-main h2 { font-size: 28px; }
  .lead { font-size: 18px; }
  .section { padding: 58px 0; }
  .hero-grid { gap: 38px; }
  .gateway-panel { padding: 18px; }
  .gateway-flow { grid-template-columns: 1fr; }
  .flow-arrow { transform: rotate(90deg); text-align: center; }
  .audience-grid,.facts,.footer-grid { grid-template-columns: 1fr; }
  .cta-grid { align-items: flex-start; flex-direction: column; }
  .cta { padding: 28px 24px; }
}
