/* core/base.css */
*, *::before, *::after {
  box-sizing: border-box;
}

:root {
  color-scheme: light dark;
  font-size: 16px;
}

html, body {
  margin: 0;
  padding: 0;
}

body {
  font-family: "Roboto", "Segoe UI", "Tahoma", "Verdana", sans-serif;
  line-height: 1.65;
  background: var(--bg);
  color: var(--text);
  min-height: 100vh;
}

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

a {
  color: inherit;
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
}

.container {
  width: min(1400px, 92vw);
  margin: 0 auto;
}

.skip-link {
  position: absolute;
  left: -999px;
  top: auto;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.skip-link:focus {
  position: static;
  width: auto;
  height: auto;
  padding: 0.5rem 0.75rem;
  background: var(--surface);
  border: 2px solid var(--primary);
  border-radius: 8px;
}

main {
  display: block;
}

.section {
  padding: 3.5rem 0;
}

.section-title {
  font-size: clamp(1.4rem, 2vw, 2rem);
  margin: 0 0 1rem 0;
}

.kicker {
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-size: 0.75rem;
}

.surface {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 18px;
  box-shadow: var(--shadow);
}

.rounded {
  border-radius: 18px;
}

.text-muted {
  color: var(--muted);
}

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