/* Cari design tokens (packages/design-tokens/src/palette.ts), shared by
   every plain page on this site (thanks, privacy, 404). The homepage
   (index.html) carries its own larger stylesheet inline. */
:root {
  color-scheme: dark;
  --canvas: #0a0b0d;
  --raised: #15171b;
  --sunk: #06070a;
  --border: #2a2e36;
  --ink: #f5f7fa;
  --ink-subtle: #9ca3af;
  --ink-muted: #81899c;
  --accent: #36f1a5;
  --display: "Space Grotesk", ui-sans-serif, system-ui, sans-serif;
  --body: "Inter", ui-sans-serif, system-ui, -apple-system, sans-serif;
}
* {
  box-sizing: border-box;
}
body {
  margin: 0;
  background: var(--sunk);
  color: var(--ink);
  font-family: var(--body);
  font-size: 16px;
  line-height: 1.5;
}
h1,
h2 {
  font-family: var(--display);
  text-wrap: balance;
  margin: 0;
}
p {
  margin: 0;
}
a {
  color: var(--ink);
}
:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
}
@media (prefers-reduced-motion: reduce) {
  * {
    animation: none !important;
    transition: none !important;
  }
}

.wrap {
  max-width: 1240px;
  margin: 0 auto;
  padding-inline: clamp(16px, 4vw, 48px);
}
.wordmark {
  font-family: var(--display);
  font-weight: 700;
  font-size: 28px;
  letter-spacing: -.02em;
  display: inline-flex;
  align-items: flex-start;
  text-decoration: none;
  color: var(--ink);
}
.wordmark i {
  font-style: normal;
  position: relative;
}
.wordmark i::after {
  content: "";
  position: absolute;
  left: 50%;
  top: .02em;
  width: .2em;
  height: .2em;
  transform: translateX(-50%);
  background: var(--accent);
  border-radius: 1px;
}
.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding-block: 22px;
  border-bottom: 1px solid #1a1d23;
}

.page {
  min-height: calc(100vh - 160px);
  display: flex;
  align-items: center;
}
.page .wrap {
  max-width: 640px;
  padding-block: 72px;
  display: grid;
  gap: 16px;
}
.page h1 {
  font-size: clamp(28px, 4vw, 40px);
  letter-spacing: -.03em;
  line-height: 1.1;
}
.page h2 {
  font-size: 20px;
  letter-spacing: -.01em;
  margin-top: 12px;
}
.page p {
  color: var(--ink-subtle);
  font-size: 17px;
}
.page ul {
  color: var(--ink-subtle);
  font-size: 17px;
  padding-left: 20px;
  margin: 0;
  display: grid;
  gap: 6px;
}
.page a {
  color: var(--accent);
}
.page .back {
  margin-top: 8px;
  font-size: 15px;
}

.foot {
  border-top: 1px solid #1a1d23;
}
.foot .wrap {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 24px;
  align-items: center;
  justify-content: space-between;
  padding-block: 24px;
  font-size: 14px;
  color: var(--ink-muted);
}
.foot .wordmark {
  font-size: 22px;
}
.foot a {
  color: var(--ink-muted);
}
