* {
  box-sizing: border-box;
}

:root {
  --grey-900: #1f2124;
  --grey-800: #282b2f;
  --grey-700: #32363b;
  --grey-600: #454a51;
  --text: #d9dce1;
  --text-dim: #9aa1ab;
  --royal: #3b5bdb;
  --royal-bright: #5c7cfa;
}

body {
  min-height: 100vh;
  margin: 0;
  padding: 2.5rem 2rem;
  display: flex;
  justify-content: center;
  align-items: flex-start;
  color: var(--text);
  background: var(--grey-900);
  font: 1rem/1.5 system-ui, -apple-system, Segoe UI, Roboto, sans-serif;
}

main {
  width: min(100%, 70rem);
}

h1 {
  margin: 0 0 1.25rem;
  color: #fff;
  font-size: 1.6rem;
  font-weight: 600;
  letter-spacing: 0.01em;
  border-left: 0.25rem solid var(--royal);
  padding-left: 0.75rem;
}

.actions {
  display: flex;
  gap: 0.75rem;
  margin-bottom: 1.75rem;
}

button {
  padding: 0.7rem 1.4rem;
  color: #fff;
  border: 1px solid var(--royal);
  border-radius: 0.35rem;
  background: var(--royal);
  font: inherit;
  font-weight: 500;
  cursor: pointer;
  transition: background 0.15s ease, border-color 0.15s ease;
}

button:hover,
button:focus-visible {
  background: var(--royal-bright);
  border-color: var(--royal-bright);
  outline: none;
}

button:focus-visible {
  box-shadow: 0 0 0 3px rgba(92, 124, 250, 0.35);
}

pre {
  margin: 0;
  padding: 1.25rem;
  overflow-wrap: anywhere;
  white-space: pre-wrap;
  color: var(--text-dim);
  background: var(--grey-800);
  border: 1px solid var(--grey-700);
  border-radius: 0.5rem;
  font: 0.875rem/1.65 ui-monospace, SFMono-Regular, Consolas, monospace;
}
