:root {
  --paper: #f2e9d6;
  --ink: #0e2f7e;
  --muted: #485c81;
  --rule: #d8ccaa;
  --blue: #1e6cc4;
  --sans: "Inter Tight", Arial, sans-serif;
  --serif: "Instrument Serif", Georgia, serif;
  --mono: "JetBrains Mono", monospace;
}
* {
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
  scroll-padding-top: 24px;
}
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--sans);
  -webkit-font-smoothing: antialiased;
}
a {
  color: inherit;
  text-underline-offset: 4px;
}
a:hover {
  color: var(--blue);
}
a:focus-visible,
button:focus-visible,
pre:focus-visible {
  outline: 3px solid var(--blue);
  outline-offset: 5px;
}
::selection {
  background: var(--ink);
  color: var(--paper);
}
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
}
.skip-link {
  position: fixed;
  top: 8px;
  left: 16px;
  z-index: 100;
  padding: 14px;
  background: var(--ink);
  color: white;
  transform: translateY(-150%);
}
.skip-link:focus {
  transform: translateY(0);
}
.site-header {
  background: #0b1b46;
  color: #edf1fa;
  border-bottom: 1px solid #304870;
}
.header-inner {
  max-width: 1280px;
  margin: auto;
  padding: 24px 40px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}
.logo {
  width: 111px;
  height: 28px;
  display: block;
}
.header-label,
.header-link {
  font: 10px var(--mono);
  letter-spacing: 0.08em;
}
.header-label {
  color: #a9b9d3;
}
.header-link {
  text-decoration: none;
}
.hero {
  max-width: 860px;
  margin: auto;
  padding: 64px 40px 48px;
}
.eyebrow {
  font: 500 10px/1.6 var(--mono);
  letter-spacing: 0.12em;
  margin: 0;
  color: var(--blue);
}
.hero .eyebrow {
  display: flex;
  align-items: center;
  gap: 10px;
}
.small-mark {
  width: 6px;
  height: 6px;
  background: var(--blue);
  border-radius: 50%;
}
h1 {
  font-size: clamp(26px, 7.8vw, 76px);
  white-space: nowrap;
  font-weight: 450;
  line-height: 0.99;
  letter-spacing: -0.06em;
  margin: 22px 0;
}
h1 em {
  font-family: var(--serif);
  font-weight: 400;
  letter-spacing: -0.035em;
  font-size: 1.12em;
}
.hero-description {
  font-size: 19px;
  line-height: 1.6;
  color: var(--muted);
  max-width: 610px;
  margin: 25px 0;
}
.hero-description strong {
  color: var(--ink);
  font-weight: 550;
}
.hero-actions {
  display: flex;
  gap: 25px;
  align-items: center;
  flex-wrap: wrap;
}
.button {
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  gap: 35px;
  min-height: 48px;
  padding: 14px 22px;
  border-radius: 3px;
  font-size: 14px;
  font-weight: 550;
  text-decoration: none;
}
.cta-arrow {
  font-size: 12px;
  opacity: 0.55;
}
.primary {
  background: var(--ink);
  color: #fff8eb;
}
.primary:hover {
  background: var(--blue);
  color: white;
}
.text-link {
  font-size: 13px;
  font-weight: 550;
  padding: 8px 0;
  display: inline-flex;
  align-items: center;
  gap: 15px;
}
.hero-footnote {
  font: 10px/1.8 var(--mono);
  color: var(--muted);
  margin: 20px 0 0;
}
.hero-footnote span {
  margin: 0 9px;
}
.brief-strip {
  border-top: 1px solid var(--rule);
  border-bottom: 1px solid var(--rule);
  max-width: 780px;
  margin: auto;
  padding: 20px 0;
  display: flex;
  justify-content: space-between;
  gap: 20px;
  align-items: center;
}
.brief-strip p {
  display: flex;
  align-items: center;
  gap: 15px;
  font-size: 13px;
  margin: 0;
}
.brief-strip .eyebrow {
  font-size: 9px;
  color: var(--muted);
}
.brief-strip > a {
  font: 10px var(--mono);
  white-space: nowrap;
}
.guide-content {
  max-width: 860px;
  padding: 0 40px;
  margin: auto;
}
.guide-section {
  padding: 40px 0;
  border-bottom: 1px solid var(--rule);
}
.guide-section:last-child {
  border-bottom: 0;
}
h2 {
  font-size: 34px;
  line-height: 1.1;
  font-weight: 450;
  letter-spacing: -0.035em;
  margin: 15px 0 20px;
}
h3 {
  font-size: 18px;
  font-weight: 550;
  margin: 28px 0 12px;
}
.guide-section p {
  font-size: 15px;
  line-height: 1.7;
  color: var(--muted);
}
.guide-section .eyebrow {
  font-size: 10px;
  color: var(--blue);
}
.guide-section .small-copy {
  font-size: 12px;
  line-height: 1.7;
}
.codebox {
  background: #102955;
  color: #e3eafa;
  border-radius: 4px;
  overflow: hidden;
  margin: 18px 0;
}
.codebar {
  background: #0c234b;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 17px;
  gap: 12px;
  border-bottom: 1px solid #29416b;
  font: 10px var(--mono);
  color: #a7bddb;
}
.copy-button {
  background: none;
  color: #dae6fa;
  border: 1px solid #516889;
  padding: 6px 10px;
  border-radius: 3px;
  cursor: pointer;
  font: 10px var(--mono);
  white-space: nowrap;
}
.copy-button:hover {
  background: #26436d;
}
pre {
  margin: 0;
  padding: 20px;
  overflow: auto;
  line-height: 1.8;
  font-size: 12px;
  tab-size: 4;
}
code {
  font-family: var(--mono);
  font-variant-ligatures: none;
}
p code {
  font-size: 0.83em;
  background: #e6dfd0;
  border-radius: 3px;
  padding: 2px 4px;
  color: var(--ink);
  overflow-wrap: anywhere;
}
.resource-links {
  display: flex;
  align-items: baseline;
  line-height: 1.5;
  gap: 15px 25px;
  flex-wrap: wrap;
  margin: 21px 0;
  font-size: 13px;
  font-weight: 550;
}
.example-note {
  padding: 18px 22px;
  background: #e5e9df;
  border-left: 2px solid #739e93;
  margin-top: 25px;
}
.demo-list {
  padding-left: 19px;
  font-size: 15px;
  line-height: 1.7;
  color: var(--muted);
}
.demo-list li + li {
  margin-top: 9px;
}
strong {
  font-weight: 550;
  color: var(--ink);
}
footer {
  background: #081333;
  color: #edf1fa;
  border-top: 1px solid #304870;
  padding: 28px max(40px, calc((100vw - 1120px) / 2));
  display: flex;
  align-items: center;
  gap: 25px;
}
footer .logo {
  width: 85px;
  height: 22px;
}
footer p {
  margin: 0 auto 0 5px;
  font: italic 18px var(--serif);
}
footer > a:not(:first-child) {
  font-size: 11px;
}
.tok-string {
  color: #a6d5bc;
}
.tok-comment {
  color: #9db1d0;
  font-style: italic;
}
.tok-keyword {
  color: #95bcff;
}
.tok-number {
  color: #e4bb80;
}
@media (max-width: 860px) {
  .brief-strip {
    margin: 0 40px;
  }
}
@media (max-width: 600px) {
  .header-inner {
    padding: 22px 24px;
  }
  .header-label {
    display: none;
  }
  .logo {
    width: 100px;
    height: 25px;
  }
  .hero {
    padding: 42px 24px 34px;
  }
  .hero-description {
    font-size: 17px;
  }
  .hero-actions {
    gap: 16px;
  }
  .hero-footnote {
    font-size: 9px;
  }
  .hero-footnote span {
    margin: 0 4px;
  }
  .brief-strip {
    margin: 0 24px;
    align-items: flex-start;
    flex-direction: column;
    gap: 12px;
  }
  .brief-strip p {
    flex-wrap: wrap;
    gap: 10px;
  }
  .brief-strip .eyebrow {
    flex-basis: 100%;
  }
  .guide-content {
    padding: 0 24px;
  }
  .guide-section {
    padding: 32px 0;
  }
  h2 {
    font-size: 30px;
  }
  pre {
    padding: 16px;
    font-size: 11px;
  }
  .codebar {
    padding: 11px 13px;
    font-size: 9px;
  }
  .example-note {
    padding: 16px;
  }
  footer {
    padding: 25px 24px;
    flex-wrap: wrap;
    gap: 20px;
  }
  footer p {
    font-size: 16px;
    margin-right: 0;
  }
}
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
}
@media print {
  .site-header,
  .hero-actions,
  .copy-button,
  footer {
    display: none;
  }
  .hero {
    padding-top: 0;
  }
  pre {
    white-space: pre-wrap;
    overflow-wrap: anywhere;
  }
  .codebox {
    break-inside: avoid;
  }
  body {
    print-color-adjust: exact;
    -webkit-print-color-adjust: exact;
  }
}

.site-header a:hover,
footer a:hover {
  color: #bdd7ff;
}
.site-header a:focus-visible,
footer a:focus-visible {
  outline-color: #bdd7ff;
}

.credits-card {
  margin-top: 28px;
  padding: 24px;
  background: #f8f2e6;
  border: 1px solid var(--rule);
}
.credits-card h3 {
  margin: 0;
  font-size: 22px;
}
.credits-card p {
  margin: 12px 0 0;
}
@media (max-width: 600px) {
  .credits-card {
    padding: 20px;
  }
}
@media print {
  .credits-card {
    break-inside: avoid;
  }
}
