:root {
  --bg: #ffffff;
  --text: #1f1f1f;
  --muted: #555555;
  --border: #d8d8d8;
  --accent: #0b57d0;
  --accent-visited: #6a1b9a;
  --surface: #f7f7f7;
  --max-width: 56rem;
  --space-xs: 0.5rem;
  --space-sm: 0.75rem;
  --space-md: 1rem;
  --space-lg: 1.5rem;
  --space-xl: 2.5rem;
  --radius: 0.5rem;
  --shadow: 0 1px 2px rgba(0, 0, 0, 0.08);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: Arial, Helvetica, sans-serif;
  line-height: 1.65;
  color: var(--text);
  background: var(--bg);
}

.skip-link {
  position: absolute;
  top: -3rem;
  left: 1rem;
  background: #000;
  color: #fff;
  padding: 0.75rem 1rem;
  z-index: 100;
}

.skip-link:focus {
  top: 1rem;
}

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

a:visited {
  color: var(--accent-visited);
}

a:hover,
a:focus {
  text-decoration-thickness: 0.15rem;
}

:focus-visible {
  outline: 3px solid #000;
  outline-offset: 2px;
}

header,
main,
footer {
  width: 100%;
}

.site-header {
  border-bottom: 1px solid var(--border);
  background: var(--surface);
}

.header-inner,
.content,
.footer-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: var(--space-md);
}

.branding {
  margin-bottom: var(--space-md);
}

.site-title {
  margin: 0;
  font-size: 1.8rem;
}

.site-tagline {
  margin: 0.25rem 0 0;
  color: var(--muted);
}

nav ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-md);
}

nav a {
  display: inline-block;
  padding: 0.35rem 0;
  text-decoration: none;
}

nav a[aria-current="page"] {
  font-weight: 700;
  text-decoration: underline;
}

main {
  padding: var(--space-lg) 0;
}

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

.section,
.card,
.notice {
  margin-top: var(--space-xl);
}

.card,
.notice {
  padding: var(--space-lg);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: #fff;
  box-shadow: var(--shadow);
}

.grid {
  display: grid;
  gap: var(--space-lg);
  grid-template-columns: repeat(auto-fit, minmax(16rem, 1fr));
}

h1,
h2,
h3 {
  line-height: 1.3;
}

h1 {
  margin-top: 0;
  font-size: 2rem;
}

h2 {
  font-size: 1.5rem;
  margin-bottom: 0.75rem;
}

h3 {
  font-size: 1.15rem;
  margin-bottom: 0.5rem;
}

p,
ul,
ol {
  margin-top: 0;
}

ul,
ol {
  padding-left: 1.5rem;
}

.meta {
  color: var(--muted);
  font-size: 0.95rem;
}

.callout-list {
  list-style: none;
  padding: 0;
}

.callout-list li {
  margin-bottom: 0.75rem;
  padding-left: 0;
}

footer {
  border-top: 1px solid var(--border);
  margin-top: var(--space-xl);
}

.footer-inner {
  color: var(--muted);
}

.small {
  font-size: 0.95rem;
}

@media (max-width: 48rem) {
  .site-title {
    font-size: 1.55rem;
  }

  h1 {
    font-size: 1.75rem;
  }

  nav ul {
    gap: 0.75rem 1rem;
  }
}
