:root {
  color-scheme: dark;
  --bg: #0b0c10;
  --panel: #131419;
  --border: #24262e;
  --text: #ececf1;
  --muted: #9b9ca6;
  --accent: #ffd23f;
  --link: #7aa2ff;
}

* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }

body {
  background: var(--bg);
  color: var(--text);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  line-height: 1.7;
  min-height: 100vh;
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 48px 20px;
}

.box {
  width: 100%;
  max-width: 600px;
  background: var(--panel);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 44px 40px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.35);
}

.box--terms { max-width: 680px; }

h1 {
  margin: 0 0 20px;
  font-size: clamp(2rem, 6vw, 2.7rem);
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.15;
}

.accent { color: var(--accent); }

p {
  margin: 0 0 18px;
  color: var(--muted);
  font-size: 1.05rem;
}

p strong { color: var(--text); font-weight: 600; }

a {
  color: var(--link);
  text-decoration: none;
}
a:hover { text-decoration: underline; }

a:focus-visible {
  outline: 2px solid var(--link);
  outline-offset: 3px;
  border-radius: 3px;
}

.more {
  margin: 28px 0 0;
  font-weight: 600;
}

/* Terms */
.lead {
  margin-bottom: 28px;
  font-size: 1.05rem;
}

.term { margin: 0 0 22px; }

.term h2 {
  margin: 0 0 6px;
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--text);
}

.term p { margin: 0; }

/* 404 */
.code {
  display: inline-block;
  margin: 0 0 8px;
  font-size: 3rem;
  font-weight: 800;
  letter-spacing: -0.03em;
  color: var(--accent);
}
