*,
*::before,
*::after {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  padding: 0;
  min-height: 100vh;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 15px;
  line-height: 1.5;
}

h1,
h2,
h3 {
  font-family: var(--font-ui);
  font-weight: 600;
  letter-spacing: 0.02em;
  margin: 0;
}

.label-mono {
  font-family: var(--font-mono);
  letter-spacing: 0.08em;
  color: var(--muted);
  text-transform: uppercase;
  font-size: 12px;
}

.container {
  max-width: 960px;
  margin: 0 auto;
  padding: var(--space-6) var(--space-5);
}

.panel {
  background: var(--panel);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-panel);
  padding: var(--space-5);
}

a {
  color: var(--accent);
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
}

button {
  font-family: var(--font-ui);
  cursor: pointer;
  border: none;
  background: transparent;
  color: inherit;
}

button:disabled {
  cursor: not-allowed;
  opacity: 0.6;
}

.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;
}
