@font-face {
  font-family: "IBM Plex Sans";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("/assets/fonts/ibm-plex-sans-400.woff2") format("woff2");
}
@font-face {
  font-family: "IBM Plex Sans";
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url("/assets/fonts/ibm-plex-sans-500.woff2") format("woff2");
}
@font-face {
  font-family: "IBM Plex Sans";
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url("/assets/fonts/ibm-plex-sans-600.woff2") format("woff2");
}
@font-face {
  font-family: "IBM Plex Sans";
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url("/assets/fonts/ibm-plex-sans-700.woff2") format("woff2");
}
@font-face {
  font-family: "Space Grotesk";
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url("/assets/fonts/space-grotesk-500.woff2") format("woff2");
}
@font-face {
  font-family: "Space Grotesk";
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url("/assets/fonts/space-grotesk-700.woff2") format("woff2");
}
:root {
  color-scheme: dark;
  --bg: #100D24;
  --text: #F1F5F9;
  --muted: #cbd5e1;
  --highlight: #A78BFA;
  --line: #26354E;
  --card: #182235;
  --code: #131B2A;
}
* { box-sizing: border-box; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: "IBM Plex Sans", system-ui, sans-serif;
  font-size: 1.0625rem;
  line-height: 1.65;
}
h1, h2, h3, h4 {
  font-family: "Space Grotesk", system-ui, sans-serif;
  line-height: 1.25;
  color: #fff;
}
a { color: var(--highlight); }
a:hover { color: #06B6D4; }
.skip {
  position: absolute;
  left: 0.75rem;
  top: 0.75rem;
  transform: translateY(-200%);
  background: #fff;
  color: #100D24;
  padding: 0.4rem 0.7rem;
  border-radius: 0.5rem;
  z-index: 2;
}
.skip:focus { transform: none; }
.top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  max-width: 48rem;
  margin: 0 auto;
  padding: 1.25rem 1rem;
}
.brand img { display: block; height: 32px; width: auto; }
.lang a {
  font-weight: 600;
  text-decoration: none;
  border: 1px solid rgb(167 139 250 / 40%);
  border-radius: 0.75rem;
  padding: 0.35rem 0.75rem;
}
.lang a:hover { background: rgb(167 139 250 / 10%); }
main { max-width: 48rem; margin: 0 auto; padding: 0 1rem 3rem; }
.back { margin: 0 0 0.75rem; font-size: 0.95rem; }
h1 { font-size: 2rem; margin: 0 0 1.25rem; }
.article h2, main section h2 { font-size: 1.35rem; margin: 2rem 0 0.75rem; }
.article h3 { font-size: 1.15rem; margin: 1.5rem 0 0.5rem; }
.article h4 { font-size: 1rem; margin: 1.25rem 0 0.5rem; }
main p { margin: 0 0 1rem; }
.article ul, .article ol { margin: 0 0 1rem; padding-left: 1.25rem; }
.article li + li { margin-top: 0.35rem; }
.article { overflow-wrap: anywhere; }
.article hr { border: 0; border-top: 1px solid var(--line); margin: 1.5rem 0; }
code {
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 0.9em;
  background: var(--code);
  padding: 0.1rem 0.35rem;
  border-radius: 0.25rem;
}
.cards { display: grid; gap: 1rem; }
.card {
  display: block;
  text-decoration: none;
  color: inherit;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 1rem;
  padding: 1.25rem 1.25rem 0.35rem;
}
.card:hover { border-color: rgb(167 139 250 / 45%); }
.card h2 { margin: 0 0 0.5rem; font-size: 1.25rem; }
.card p { color: var(--muted); }
footer {
  max-width: 48rem;
  margin: 0 auto;
  padding: 0 1rem 2.5rem;
  color: var(--muted);
  font-size: 0.95rem;
}
footer p { margin: 0; }
:focus-visible { outline: 2px solid #06B6D4; outline-offset: 2px; }
