:root {
  color-scheme: light;
  --page-bg: #fcfcff;
  --page-text: #202033;
  --accent: #457b9d;
  --accent-soft: rgba(69, 123, 157, 0.1);
  --accent-strong: #1d3557;
  --card-bg: #ffffff;
  --card-outline: rgba(32, 32, 51, 0.08);
  --muted: #6f7385;
  --surface: rgba(255, 255, 255, 0.7);
  --mono-bg: rgba(29, 53, 87, 0.08);
  --mono-border: rgba(29, 53, 87, 0.4);
  font-family: 'DM Sans', system-ui, -apple-system, BlinkMacSystemFont,
    'Segoe UI', sans-serif;
  background: var(--page-bg);
  color: var(--page-text);
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  min-height: 100vh;
  background: linear-gradient(135deg, #edf6f9 0%, #fcfcff 50%, #f1f5ff 100%);
}

a {
  color: inherit;
}

img {
  max-width: 100%;
  display: block;
}

h1,
 h2,
 h3 {
  font-family: 'DM Serif Display', 'DM Sans', serif;
  color: var(--accent-strong);
  margin-top: 0;
}

p {
  line-height: 1.5;
}

button,
 a {
  text-decoration: none;
}

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

.error {
  color: #c44536;
  background: rgba(196, 69, 54, 0.1);
  border: 1px solid rgba(196, 69, 54, 0.2);
  padding: 1rem 1.25rem;
  border-radius: 18px;
  font-weight: 500;
}
