:root {
  color-scheme: light;
  --ink: #071b31;
  --navy: #123b67;
  --blue: #2493e8;
  --blue-dark: #176da8;
  --cyan: #63d5f5;
  --canvas: #f2f9ff;
  --tint: #e8f6ff;
  --line: #cce9fb;
  --muted: #526b82;
  --white: #fff;
  --shadow: 0 22px 70px rgba(28, 111, 170, .13);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--canvas);
  color: var(--ink);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.65;
}
img { max-width: 100%; height: auto; }
a { color: var(--blue-dark); text-underline-offset: 3px; }
a:hover { color: var(--navy); }
.skip-link { position: absolute; left: -9999px; top: 12px; z-index: 10; }
.skip-link:focus { left: 12px; padding: 10px 14px; background: #fff; border-radius: 10px; }
.site-header {
  position: sticky;
  top: 0;
  z-index: 5;
  border-bottom: 1px solid rgba(204, 233, 251, .86);
  background: rgba(242, 249, 255, .92);
  backdrop-filter: blur(16px);
}
.header-inner, .page, .footer-inner { width: min(1180px, calc(100% - 40px)); margin-inline: auto; }
.header-inner { min-height: 74px; display: flex; align-items: center; justify-content: space-between; gap: 22px; }
.brand { display: inline-flex; align-items: center; gap: 11px; color: var(--ink); text-decoration: none; font-weight: 900; font-size: 20px; }
.brand img { width: 38px; height: 38px; border-radius: 11px; object-fit: contain; }
.site-nav { display: flex; align-items: center; justify-content: flex-end; gap: 8px; flex-wrap: wrap; }
.site-nav a { padding: 8px 10px; border-radius: 9px; color: var(--navy); font-size: 14px; font-weight: 750; text-decoration: none; }
.site-nav a[aria-current="page"] { color: var(--blue-dark); background: var(--tint); }
.site-nav .nav-cta { padding: 10px 15px; background: var(--blue); color: #fff; }
.page { padding-block: clamp(34px, 6vw, 76px); }
.breadcrumbs { margin: 0 0 22px; color: var(--muted); font-size: 14px; }
.breadcrumbs ol { display: flex; gap: 8px; flex-wrap: wrap; margin: 0; padding: 0; list-style: none; }
.breadcrumbs li:not(:last-child)::after { content: "/"; margin-left: 8px; color: #8aa1b5; }
.eyebrow { margin: 0 0 12px; color: var(--blue-dark); font-size: 13px; font-weight: 850; letter-spacing: .09em; text-transform: uppercase; }
h1, h2, h3 { color: var(--ink); line-height: 1.12; letter-spacing: -.025em; }
h1 { margin: 0; font-size: clamp(40px, 6vw, 70px); }
h2 { margin: 52px 0 16px; font-size: clamp(28px, 4vw, 40px); }
h3 { margin: 0 0 9px; font-size: 21px; }
p { color: var(--muted); }
.lead { margin: 20px 0 0; max-width: 720px; font-size: clamp(18px, 2.2vw, 22px); }
.hero-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(360px, .86fr); gap: clamp(30px, 6vw, 76px); align-items: center; }
.hero-visual { margin: 0; overflow: hidden; background: #dceef9; border: 1px solid var(--line); border-radius: 26px; box-shadow: var(--shadow); }
.hero-visual img { display: block; width: 100%; aspect-ratio: 16/10; object-fit: cover; }
.hero-visual.product img { aspect-ratio: 16/11; object-fit: contain; background: #fafdff; padding: 14px; }
figcaption { padding: 12px 16px; color: var(--muted); font-size: 13px; }
.actions { display: flex; gap: 11px; flex-wrap: wrap; margin-top: 28px; }
.button { display: inline-flex; align-items: center; min-height: 48px; padding: 12px 18px; border: 1px solid var(--line); border-radius: 12px; background: #fff; color: var(--navy); font-weight: 800; text-decoration: none; }
.button.primary { border-color: var(--blue); background: var(--blue); color: #fff; }
.section-intro { max-width: 720px; }
.card-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; margin-top: 26px; }
.card { overflow: hidden; border: 1px solid var(--line); border-radius: 20px; background: #fff; box-shadow: 0 12px 34px rgba(28, 111, 170, .07); }
.card > img { display: block; width: 100%; aspect-ratio: 16/9; object-fit: cover; }
.card-body { padding: 22px; }
.card .meta { margin: 0 0 8px; color: var(--blue-dark); font-size: 13px; font-weight: 800; }
.card p { margin-bottom: 0; }
.card-link { color: inherit; text-decoration: none; }
.card-link:hover h2, .card-link:hover h3 { color: var(--blue-dark); }
.article-layout { display: grid; grid-template-columns: minmax(0, 760px) minmax(220px, 300px); gap: clamp(38px, 7vw, 84px); align-items: start; }
.article { min-width: 0; }
.article h1 { font-size: clamp(38px, 5.5vw, 64px); }
.article p, .article li { font-size: 17px; }
.article ul, .article ol { padding-left: 24px; color: var(--muted); }
.article li + li { margin-top: 9px; }
.article figure { margin: 34px 0; }
.article figure img { display: block; width: 100%; border: 1px solid var(--line); border-radius: 20px; box-shadow: var(--shadow); }
.byline { display: flex; gap: 9px 16px; flex-wrap: wrap; margin: 18px 0 0; color: var(--muted); font-size: 14px; }
.toc { position: sticky; top: 98px; padding: 22px; border: 1px solid var(--line); border-radius: 18px; background: #fff; }
.toc strong { display: block; margin-bottom: 10px; color: var(--ink); }
.toc a { display: block; padding-block: 5px; font-size: 14px; text-decoration: none; }
.callout { margin: 30px 0; padding: 22px 24px; border-left: 4px solid var(--blue); border-radius: 0 16px 16px 0; background: var(--tint); }
.callout p { margin: 0; color: var(--navy); }
.steps { margin: 24px 0; padding: 0; counter-reset: steps; list-style: none; }
.steps li { position: relative; min-height: 48px; padding: 0 0 24px 62px; counter-increment: steps; }
.steps li::before { content: counter(steps); position: absolute; left: 0; top: -4px; display: grid; width: 42px; height: 42px; place-items: center; border-radius: 12px; background: var(--blue); color: #fff; font-weight: 900; }
.steps strong { color: var(--ink); }
.related { margin-top: 58px; padding: 28px; border: 1px solid var(--line); border-radius: 22px; background: linear-gradient(135deg, #fff, var(--tint)); }
.related h2 { margin-top: 0; font-size: 28px; }
.site-footer { margin-top: 30px; padding: 34px 0 42px; border-top: 1px solid var(--line); background: #eaf6ff; }
.footer-inner { display: flex; justify-content: space-between; gap: 24px; align-items: start; }
.footer-inner p { margin: 0; max-width: 630px; font-size: 13px; }
.footer-links { display: flex; gap: 12px; flex-wrap: wrap; justify-content: flex-end; }
.footer-links a { font-size: 13px; font-weight: 750; text-decoration: none; }

@media (max-width: 900px) {
  .hero-grid, .article-layout { grid-template-columns: 1fr; }
  .hero-visual { max-width: 680px; }
  .toc { position: static; }
  .card-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 680px) {
  .header-inner { min-height: 68px; }
  .site-nav a:not(.nav-cta) { display: none; }
  .page, .header-inner, .footer-inner { width: min(100% - 28px, 1180px); }
  .page { padding-top: 30px; }
  .card-grid { grid-template-columns: 1fr; }
  .footer-inner { display: block; }
  .footer-links { justify-content: flex-start; margin-top: 18px; }
}

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