:root {
  --active: #0d47a1;
  --border: #e2e8f0;
  --bg: #ffffff;
  --bg-subtle: #f8fafc;
  --bg-accent: #f1f5f9;
  --text: #1e293b;
  --text-muted: #64748b;
  --font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif;
  --line-height: 1.6;
}

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

body {
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-family);
  line-height: var(--line-height);
  margin: 0;
  padding: 0;
}

header, main, footer, section, article, nav, aside {
  display: block;
}

h1, h2, h3, h4, h5, h6 {
  line-height: 1.25;
  margin-top: 1.5rem;
  margin-bottom: 0.75rem;
  color: inherit;
}

h1 { font-size: 2.25rem; }
h2 { font-size: 1.75rem; }
h3 { font-size: 1.35rem; }
h4 { font-size: 1.15rem; }

p {
  margin-top: 0;
  margin-bottom: 1.25rem;
}

a {
  color: var(--active);
  text-decoration: underline;
  text-underline-offset: 3px;
  transition: color 0.15s ease-in-out;
}

a:hover {
  text-decoration: none;
}

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

button, .button, input[type="submit"], input[type="button"] {
  background-color: var(--active);
  color: #fff;
  border: none;
  border-radius: 6px;
  padding: 0.65rem 1.25rem;
  font-size: 1rem;
  font-family: inherit;
  font-weight: 600;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  transition: transform 0.1s ease, box-shadow 0.15s ease, background-color 0.15s ease;
}

button:hover, .button:hover, input[type="submit"]:hover, input[type="button"]:hover {
  filter: brightness(1.08);
  text-decoration: none;
}

table {
  width: 100%;
  border-collapse: collapse;
  margin: 1.5rem 0;
}

th, td {
  padding: 0.75rem 1rem;
  text-align: left;
  border-bottom: 1px solid var(--border);
}

th {
  background-color: var(--bg-accent);
  font-weight: 700;
}

input, textarea, select {
  font-family: inherit;
  font-size: 1rem;
  padding: 0.65rem 0.9rem;
  border: 1px solid var(--border);
  border-radius: 6px;
  width: 100%;
  box-sizing: border-box;
}

input:focus, textarea:focus, select:focus {
  outline: 2px solid var(--active);
  outline-offset: 1px;
}
