@font-face {
  font-family: "Inter Variable";
  font-style: normal;
  font-display: swap;
  font-weight: 100 900;
  src: url("/fonts/inter-latin-wght-normal.woff2") format("woff2-variations");
}
@font-face {
  font-family: "Manrope Variable";
  font-style: normal;
  font-display: swap;
  font-weight: 200 800;
  src: url("/fonts/manrope-latin-wght-normal.woff2") format("woff2-variations");
}

:root {
  --bg: 246 247 252;
  --surface: 255 255 255;
  --sunken: 240 242 250;
  --ink: 11 16 32;
  --muted: 100 109 134;
  --line: 227 231 241;
  --brand: 91 75 255;
  --brand-fg: 255 255 255;
  --mint: 14 165 120;
  --warn: 217 119 6;
  --shadow: 20 24 60;
  color-scheme: light;
}
@media (prefers-color-scheme: dark) {
  :root {
    --bg: 8 11 22;
    --surface: 15 20 37;
    --sunken: 11 15 29;
    --ink: 237 240 249;
    --muted: 141 150 177;
    --line: 33 40 63;
    --brand: 128 114 255;
    --brand-fg: 10 12 28;
    --mint: 52 211 163;
    --warn: 245 158 11;
    --shadow: 0 0 0;
    color-scheme: dark;
  }
}

* { box-sizing: border-box; }
html { -webkit-font-smoothing: antialiased; scroll-behavior: smooth; }
body {
  margin: 0;
  background: rgb(var(--bg));
  color: rgb(var(--ink));
  font-family: "Inter Variable", ui-sans-serif, system-ui, sans-serif;
  font-feature-settings: "cv11", "ss01";
  line-height: 1.5;
}
h1, h2, h3 {
  font-family: "Manrope Variable", "Inter Variable", ui-sans-serif, system-ui, sans-serif;
  letter-spacing: -0.03em;
  font-weight: 800;
}
a { color: rgb(var(--brand)); }
a:hover { text-decoration: underline; }
::selection { background: rgb(var(--brand) / .25); }
:focus-visible { outline: 2px solid rgb(var(--brand)); outline-offset: 2px; border-radius: 8px; }

.wrap { min-height: 100vh; display: flex; flex-direction: column; }
.site-header, .site-footer { border-color: rgb(var(--line)); }
.site-header { border-bottom: 1px solid rgb(var(--line)); }
.site-footer { border-top: 1px solid rgb(var(--line)); margin-top: auto; }
.bar, .foot-inner, .article {
  width: 100%;
  margin: 0 auto;
  padding-left: 1rem;
  padding-right: 1rem;
}
.bar, .foot-inner { max-width: 72rem; }
.article { max-width: 48rem; padding-top: 3rem; padding-bottom: 4rem; }
@media (min-width: 640px) {
  .bar, .foot-inner, .article { padding-left: 1.5rem; padding-right: 1.5rem; }
}
.bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
  padding-top: 0.85rem;
  padding-bottom: 0.85rem;
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  color: rgb(var(--ink));
  text-decoration: none;
  font-family: "Manrope Variable", "Inter Variable", ui-sans-serif, system-ui, sans-serif;
  font-weight: 800;
  font-size: 1.35rem;
  letter-spacing: -0.03em;
  line-height: 1;
}
.brand:hover { text-decoration: none; }
.nav { display: flex; flex-wrap: wrap; align-items: center; gap: 0.25rem 1.1rem; }
.nav a, .foot-inner a {
  color: rgb(var(--muted));
  text-decoration: none;
  font-size: 0.875rem;
  font-weight: 600;
}
.nav a:hover, .foot-inner a:hover { color: rgb(var(--ink)); text-decoration: none; }
.nav a[aria-current="page"] { color: rgb(var(--ink)); }
.badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  white-space: nowrap;
  border-radius: 999px;
  border: 1px solid rgb(var(--warn) / .3);
  background: rgb(var(--warn) / .1);
  color: rgb(var(--warn));
  font-size: 0.75rem;
  font-weight: 600;
  padding: 0.25rem 0.75rem;
}
.badge-dot { width: 0.375rem; height: 0.375rem; border-radius: 999px; background: rgb(var(--warn)); }
.eyebrow {
  margin: 0;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgb(var(--brand));
}
h1 { margin: 0.5rem 0 0; font-size: clamp(1.875rem, 4vw, 2.25rem); line-height: 1.15; }
.lead { margin: 1rem 0 0; font-size: 1.05rem; line-height: 1.7; color: rgb(var(--muted)); }
h2 { margin: 2rem 0 0.75rem; font-size: 1.25rem; }
.article p, .article li { font-size: 0.98rem; line-height: 1.7; color: rgb(var(--ink) / .9); }
.article ul, .article ol { margin: 0; padding-left: 1.25rem; display: grid; gap: 0.6rem; }
.article p { margin: 0 0 0.9rem; }
.cta {
  display: inline-flex;
  margin-top: 1.75rem;
  border-radius: 0.75rem;
  background: rgb(var(--brand));
  color: rgb(var(--brand-fg));
  font-weight: 600;
  text-decoration: none;
  padding: 0.7rem 1.15rem;
  box-shadow: 0 8px 24px -8px rgb(var(--brand) / .55);
}
.cta:hover { text-decoration: none; filter: brightness(1.05); }
.foot-inner {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: space-between;
  gap: 0.75rem;
  padding-top: 2rem;
  padding-bottom: 2rem;
  font-size: 0.875rem;
  color: rgb(var(--muted));
}
.foot-nav { display: flex; flex-wrap: wrap; align-items: center; gap: 0.5rem 1rem; }
@media (min-width: 640px) {
  .foot-inner { flex-direction: row; align-items: center; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
}
