/* Static research documents share the marketing site's light palette. */
:root {
  color-scheme: light;
  --background: 40 25% 99%;
  --foreground: 214 42% 13%;
  --primary: 214 55% 17%;
  --muted-foreground: 214 14% 40%;
  --accent: 191 52% 30%;
  --border: 214 18% 88%;
}
* { box-sizing: border-box; }
body {
  margin: 0;
  background: hsl(var(--background));
  color: hsl(var(--foreground));
  font-family: "IBM Plex Sans", system-ui, -apple-system, sans-serif;
  font-size: 16px;
  line-height: 1.7;
}
a { color: hsl(var(--accent)); text-underline-offset: 4px; overflow-wrap: anywhere; }
a:hover { color: hsl(var(--primary)); }
a:focus-visible { outline: 2px solid hsl(var(--accent)); outline-offset: 4px; }
.skip-link { position: absolute; left: 16px; top: -100px; padding: 12px; background: white; }
.skip-link:focus { top: 12px; z-index: 2; }
.site-header { border-bottom: 1px solid hsl(var(--border)); background: white; }
.site-shell {
  max-width: 1280px;
  margin: auto;
  padding: 16px 24px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px 24px;
}
.site-brand { display: inline-flex; align-items: center; gap: 10px; color: hsl(var(--foreground)); font-weight: 600; text-decoration: none; }
.site-brand img { width: 32px; height: 32px; object-fit: contain; }
.site-header nav, .site-footer nav { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 24px; }
.site-header nav a { font-size: 14px; text-decoration: none; }
.site-header .demo-link, a[href$=".pdf"] {
  display: inline-block;
  max-width: 100%;
  padding: 10px 16px;
  border-radius: 6px;
  background: hsl(var(--primary));
  color: white;
  font-size: 14px;
  font-weight: 600;
  line-height: 1.5;
  text-decoration: none;
}
main { min-height: 60vh; }
main > article { max-width: 880px; margin: auto; padding: 64px 24px 80px; }
h1, h2, h3 { line-height: 1.2; font-weight: 600; letter-spacing: -0.015em; text-wrap: balance; overflow-wrap: anywhere; }
h1 { margin: 0 0 24px; font-size: clamp(2rem, 4vw, 3rem); }
h2 { margin: 48px 0 16px; font-size: 1.6rem; }
h3 { margin: 32px 0 12px; font-size: 1.2rem; }
p { margin: 16px 0; overflow-wrap: anywhere; }
main > article > header { margin-bottom: 40px; padding-bottom: 32px; border-bottom: 1px solid hsl(var(--border)); }
ul, ol { padding-left: 24px; }
li { padding-left: 4px; margin: 12px 0; overflow-wrap: anywhere; }
article section + section { margin-top: 40px; }
article footer, article > nav { margin-top: 40px; padding-top: 24px; border-top: 1px solid hsl(var(--border)); color: hsl(var(--muted-foreground)); }
.site-footer { border-top: 1px solid hsl(var(--border)); background: hsl(210 24% 96%); font-size: 14px; }
.site-footer .site-shell { padding-top: 28px; padding-bottom: 28px; }
@media (max-width: 480px) {
  main > article { padding-top: 40px; padding-bottom: 48px; }
  .site-header .site-shell { align-items: flex-start; }
  .site-header nav { width: 100%; justify-content: space-between; gap: 12px; }
  h2 { margin-top: 36px; }
}
@media print {
  .site-header, .site-footer, .skip-link { display: none; }
  body { color: black; background: white; }
  main > article { max-width: none; padding: 0; }
  a { color: inherit; }
}
