:root {
  color-scheme: dark;
  --background: #090a0e;
  --surface: rgba(255, 255, 255, 0.08);
  --surface-hover: rgba(255, 255, 255, 0.13);
  --border: rgba(255, 255, 255, 0.17);
  --text: #ffffff;
  --secondary-text: rgba(255, 255, 255, 0.68);
  --focus: #ffffff;
  --radius: 16px;
  --content-width: 780px;
}

* { box-sizing: border-box; }

html { background: var(--background); }

body {
  margin: 0;
  min-width: 320px;
  background: var(--background);
  color: var(--text);
  font-family: -apple-system, BlinkMacSystemFont, "SF Pro Display", "SF Pro Text", sans-serif;
  font-size: 16px;
  line-height: 1.8;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

a {
  color: var(--text);
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
}

a:hover { color: var(--secondary-text); }

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

.site-header {
  border-bottom: 1px solid var(--border);
  background: rgba(9, 10, 14, 0.92);
}

.nav {
  width: min(100% - 32px, var(--content-width));
  min-height: 64px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.brand {
  font-weight: 700;
  text-decoration: none;
  white-space: nowrap;
}

.nav-links {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 16px;
}

.nav-links a {
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  color: var(--secondary-text);
}

.nav-links a[aria-current="page"] { color: var(--text); }

main {
  width: min(100% - 32px, var(--content-width));
  margin: 0 auto;
  padding: 48px 0 64px;
}

.page-header { margin-bottom: 32px; }

h1, h2, h3, p { margin-top: 0; }

h1 {
  margin-bottom: 8px;
  font-size: clamp(28px, 7vw, 40px);
  line-height: 1.2;
  letter-spacing: -0.03em;
}

h2 {
  margin-bottom: 16px;
  font-size: 20px;
  line-height: 1.4;
}

h3 {
  margin: 28px 0 8px;
  font-size: 16px;
  line-height: 1.5;
}

.last-updated, .muted { color: var(--secondary-text); }

.card {
  margin-bottom: 16px;
  padding: 24px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
}

.card > :last-child { margin-bottom: 0; }

.lead {
  color: var(--secondary-text);
  font-size: 17px;
  line-height: 1.75;
}

.action-list {
  display: grid;
  gap: 12px;
  margin: 24px 0 16px;
}

.action-link {
  min-height: 48px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 12px 16px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 12px;
  text-decoration: none;
}

.action-link:hover { background: var(--surface-hover); color: var(--text); }
.action-link::after { content: "›"; font-size: 24px; line-height: 1; }

ul { margin: 0 0 16px; padding-left: 1.25em; }
li + li { margin-top: 4px; }

.contact-address { font-style: normal; }

.site-footer {
  width: min(100% - 32px, var(--content-width));
  margin: 0 auto;
  padding: 24px 0 40px;
  border-top: 1px solid var(--border);
  color: var(--secondary-text);
  font-size: 14px;
  line-height: 1.6;
}

@media (max-width: 480px) {
  .nav { align-items: flex-start; flex-direction: column; padding: 12px 0; gap: 4px; }
  .nav-links { justify-content: flex-start; gap: 16px; }
  main { padding-top: 32px; }
  .card { padding: 20px; }
}
