:root {
  --bg: #f4f6f8;
  --surface: #ffffff;
  --text: #222222;
  --muted: #555555;
  --border: #dddddd;
  --accent: #000000;
  --radius: 10px;
  --shadow: 0 0 0 1px #e5e7eb;
  --maxw: 960px;
}

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

html,
body {
  height: 100%;
}

body {
  margin: 0;
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--text);
  background: var(--bg);
  line-height: 1.6;
}

a {
  color: var(--accent);
  text-decoration: underline;
  text-underline-offset: 0.2em;
}

a:hover {
  text-decoration-thickness: 2px;
}

.skip-link {
  position: absolute;
  left: -999px;
  top: 0;
  background: var(--surface);
  color: var(--text);
  padding: 0.75rem 1rem;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  z-index: 10;
}

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

.container {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 0 1.5rem;
}

.site-shell {
  padding: 2rem 0 3.5rem;
}

.card {
  background: var(--surface);
  box-shadow: var(--shadow);
  padding: 2.5rem 0;
}

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

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1rem 0;
}

.brand {
  display: inline-flex;
  align-items: center;
  text-decoration: none;
}

.brand-logo {
  display: block;
  width: 100%;
  max-width: 320px;
  height: auto;
}

.site-nav {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  justify-content: flex-end;
}

.nav-link {
  text-decoration: none;
  padding: 0.4rem 0.6rem;
  border-radius: 8px;
  border: 1px solid transparent;
}

.nav-link[aria-current="page"] {
  border-color: var(--border);
  background: #f9fafb;
}

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

h1 {
  font-size: 2.1rem;
  margin: 0 0 1rem;
}

h2 {
  margin: 2.5rem 0 1rem;
  font-size: 1.25rem;
}

h3 {
  margin: 1.5rem 0 0.75rem;
  font-size: 1.05rem;
}

p {
  max-width: 720px;
  margin: 0 0 1rem;
}

ul,
ol {
  max-width: 720px;
  padding-left: 1.2rem;
  margin: 0 0 1rem;
}

li {
  margin: 0.25rem 0;
}

.lead {
  font-size: 1.1rem;
  color: var(--muted);
}

.cta-row {
  margin-top: 1.75rem;
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

.button {
  display: inline-block;
  padding: 0.75rem 1.25rem;
  border: 2px solid var(--accent);
  text-decoration: none;
  color: var(--accent);
  font-weight: 600;
  border-radius: 8px;
}

.button.primary {
  background: var(--accent);
  color: #ffffff;
}

.callout {
  margin-top: 2rem;
  border: 1px solid var(--border);
  background: #f9fafb;
  border-radius: var(--radius);
  padding: 1.25rem;
}

.contact-box {
  margin-top: 2rem;
  padding: 1.5rem;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  max-width: 720px;
}

.site-footer {
  margin-top: 3.5rem;
  padding-top: 2rem;
  border-top: 1px solid var(--border);
  font-size: 0.9rem;
  color: var(--muted);
}

.footer-inner {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  justify-content: space-between;
  padding-bottom: 1rem;
}

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

@media (min-width: 768px) {
  h1 {
    font-size: 2.35rem;
  }

  .brand-logo {
    max-width: 360px;
  }
}
