:root {
  color-scheme: light;
  --ink-950: #08090b;
  --ink-900: #111318;
  --ink-800: #1c2028;
  --ink-700: #303642;
  --ink-500: #697180;
  --ink-300: #c8cdd6;
  --ink-200: #dde1e7;
  --ink-100: #eceff3;
  --paper: #ffffff;
  --paper-soft: #f6f7f9;
  --signal-blue: #2767f1;
  --signal-blue-dark: #174ec5;
  --signal-blue-soft: #e8efff;
  --signal-green: #167a4f;
  --signal-green-soft: #e7f6ee;
  --signal-amber: #9a6308;
  --signal-amber-soft: #fff3d8;
  --signal-red: #b42332;
  --signal-red-soft: #fdecee;
  --content-wide: min(1240px, calc(100vw - 40px));
  --content-doc: min(1120px, calc(100vw - 40px));
  --reading-width: 720px;
  --radius-card: 8px;
  --radius-control: 6px;
  --header-height: 72px;
  --shadow-float: 0 20px 60px rgba(8, 9, 11, 0.16);
  --shadow-control: 0 8px 22px rgba(8, 9, 11, 0.1);
  font-family: Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Microsoft YaHei", "Noto Sans SC", sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-width: 320px;
  color: var(--ink-900);
  background: var(--paper);
  font-size: 16px;
  line-height: 1.65;
  overflow-x: hidden;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}

body.menu-open {
  overflow: hidden;
}

a {
  color: inherit;
  text-decoration: none;
}

button,
summary,
input,
textarea,
select {
  font: inherit;
}

button,
summary,
a {
  -webkit-tap-highlight-color: transparent;
}

button {
  border: 0;
}

img,
svg {
  display: block;
  max-width: 100%;
}

code,
pre {
  font-family: "SFMono-Regular", Consolas, "Liberation Mono", Menlo, monospace;
}

h1,
h2,
h3,
p,
ul,
ol,
figure,
blockquote {
  margin-top: 0;
}

h1,
h2,
h3 {
  margin-bottom: 0;
  font-weight: 700;
  line-height: 1.12;
  letter-spacing: 0;
  text-wrap: balance;
}

h1 {
  font-size: 72px;
}

h2 {
  font-size: 44px;
}

h3 {
  font-size: 22px;
}

p {
  margin-bottom: 0;
}

ul,
ol {
  padding-left: 1.25rem;
}

:focus-visible {
  outline: 3px solid var(--signal-blue);
  outline-offset: 3px;
}

::selection {
  color: var(--paper);
  background: var(--signal-blue);
}

.skip-link {
  position: fixed;
  top: 10px;
  left: 10px;
  z-index: 1000;
  padding: 10px 14px;
  color: var(--paper);
  background: var(--ink-950);
  border-radius: var(--radius-control);
  transform: translateY(-160%);
  transition: transform 180ms ease;
}

.skip-link:focus {
  transform: translateY(0);
}

.site-container {
  width: var(--content-wide);
  margin-inline: auto;
}

.doc-container {
  width: var(--content-doc);
  margin-inline: auto;
}

.section-band {
  position: relative;
  width: 100%;
  padding-block: 112px;
}

.section-band--paper {
  color: var(--ink-900);
  background: var(--paper);
}

.section-band--soft {
  color: var(--ink-900);
  background: var(--paper-soft);
  border-block: 1px solid var(--ink-100);
}

.section-band--dark {
  color: var(--paper);
  background: var(--ink-950);
}

.section-heading {
  display: grid;
  gap: 20px;
  max-width: 760px;
  margin-bottom: 56px;
}

.section-heading--center {
  margin-inline: auto;
  text-align: center;
}

.section-heading p {
  max-width: 680px;
  color: var(--ink-500);
  font-size: 18px;
}

.section-band--dark .section-heading p {
  color: var(--ink-300);
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  width: fit-content;
  margin: 0;
  color: var(--signal-blue);
  font-size: 13px;
  font-weight: 700;
  line-height: 1.2;
  text-transform: uppercase;
}

.eyebrow::before {
  width: 24px;
  height: 2px;
  content: "";
  background: currentColor;
}

.section-band--dark .eyebrow {
  color: #78a2ff;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.reveal {
  opacity: 1;
  transform: none;
}

.motion-ready .reveal {
  opacity: 0;
  transform: translateY(24px);
}

.motion-ready .reveal.is-visible {
  opacity: 1;
  transform: none;
}

@media (max-width: 1024px) {
  h1 {
    font-size: 56px;
  }

  h2 {
    font-size: 38px;
  }

  .section-band {
    padding-block: 88px;
  }
}

@media (max-width: 720px) {
  :root {
    --content-wide: min(100% - 32px, 1240px);
    --content-doc: min(100% - 32px, 1120px);
    --header-height: 64px;
  }

  h1 {
    font-size: 42px;
  }

  h2 {
    font-size: 32px;
  }

  h3 {
    font-size: 20px;
  }

  .section-band {
    padding-block: 72px;
  }

  .section-heading {
    gap: 16px;
    margin-bottom: 36px;
  }

  .section-heading p {
    font-size: 16px;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }

  .motion-ready .reveal {
    opacity: 1;
    transform: none;
  }
}
