@import url("/mindos-tokens.css");

* {
  box-sizing: border-box;
}
body {
  max-width: 49rem;
  margin: 0 auto;
  padding: 2.25rem clamp(1.25rem, 5vw, 2.5rem) 4rem;
  background: var(--background);
  color: var(--foreground);
  font: var(--mind-text-body)/1.65 var(--mind-font-sans);
}
nav {
  margin-bottom: 1.5rem;
}
h1 {
  margin: 0 0 1rem;
  font-size: var(--mind-text-h1);
  line-height: 1.25;
  letter-spacing: -0.025em;
}
h2 {
  margin: 2rem 0 0.5rem;
  font-size: var(--mind-text-h2);
  line-height: 1.35;
}
p,
li {
  max-width: 68ch;
}
small,
[role="status"] {
  color: var(--muted-foreground);
  font-size: var(--mind-text-caption);
}
a {
  color: var(--primary);
  text-underline-offset: 0.2em;
  overflow-wrap: anywhere;
}
nav a {
  display: inline-flex;
  min-height: 44px;
  align-items: center;
}
button {
  min-height: 44px;
  padding: 0.5rem 1rem;
  border: 1px solid var(--line-strong);
  border-radius: var(--radius-control);
  background: var(--surface);
  color: var(--foreground);
  font: inherit;
  cursor: pointer;
}
button:hover {
  background: var(--surface-subtle);
}
a:focus-visible,
button:focus-visible {
  outline: 2px solid var(--ring);
  outline-offset: 3px;
}
footer {
  margin-top: 2rem;
  border-top: 1px solid var(--border);
  padding-top: 1rem;
  font-size: var(--mind-text-caption);
  color: var(--muted-foreground);
}
pre {
  white-space: pre-wrap;
  overflow-wrap: anywhere;
  font: inherit;
}
