:root { color-scheme: light; }

body {
  margin: 0;
  background: #f7f7f8;
  color: #18181b;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;
  line-height: 1.45;
}

.shell {
  max-width: 46rem;
  margin: 0 auto;
  padding: 1.25rem 1rem 3rem;
}

h1 {
  font-size: 1.7rem;
  font-weight: 700;
  letter-spacing: -0.04em;
}

.tools { margin: 0 0 1rem; }

.tools a {
  color: #18181b;
  font-weight: 700;
}

iframe.benzina {
  display: block;
  width: 100%;
  border: 0;
  background: transparent;
}

.spacer { height: 110vh; }

p.note { color: #71717a; }

.piece { margin-top: 2.5rem; }

.piece h2 {
  margin: 0 0 0.2rem;
  font-size: 1.15rem;
  letter-spacing: -0.03em;
}

.piece p { margin: 0 0 0.75rem; }

.piece code { font-size: 0.92rem; }

.snippet {
  margin: 0 0 0.85rem;
  border: 1px solid #e4e4e7;
  background: #fff;
}

.snippet-bar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.65rem 0.75rem;
  padding: 0.4rem 0.65rem;
  border-bottom: 1px solid #e4e4e7;
}

.snippet-bar p {
  margin: 0;
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: -0.02em;
}

.snippet-bar button {
  margin-left: auto;
  border: 0;
  background: #18181b;
  color: #fff;
  font: inherit;
  font-size: 0.82rem;
  font-weight: 700;
  line-height: 1.2;
  padding: 0.35rem 0.7rem;
  cursor: pointer;
}

.snippet-bar button:hover { background: #3f3f46; }

.copy-note {
  font-size: 0.82rem;
  font-weight: 700;
  color: #3f3f46;
}

.snippet pre {
  margin: 0;
  padding: 0.7rem 0.75rem;
  overflow: auto;
  font-size: 0.78rem;
  line-height: 1.45;
  color: #3f3f46;
}

.snippet pre code {
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: inherit;
  white-space: pre;
}

:focus-visible {
  outline: 2px solid #1c1915;
  outline-offset: 3px;
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}
