#site-footer {
  --footer-bg: #0d1117;
  --footer-fg: #c9d1d9;
  --footer-muted: #8b949e;
  --footer-link: #b8d9f5;
  --footer-border: #21262d;
}

/* Base reset */
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

:root {
  --bg: #ffffff;
  --fg: #1b1f23;
  --muted: #57606a;
  --brand: #c00; /* print cyan accent adjusted to brand tone */
  --brand-ink: #0b6bcb;
  --border: #d0d7de;
  --radius: 12px;
}

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
}

body {
  font-family: system-ui, -apple-system, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  color: var(--fg);
  background: var(--bg);
  line-height: 1.6;
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}

main {
  flex: 1;
}

.skip-link {
  position: absolute;
  left: -999px;
  top: 0;
  background: var(--brand-ink);
  color: #fff;
  padding: 8px 12px;
  border-radius: 0 0 8px 0;
  z-index: 100;
}
.skip-link:focus {
  left: 0;
}

a {
  color: var(--brand-ink);
  transition: color 0.15s ease;
}
a:hover {
  color: #0857a3;
}

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.9rem 1.5rem;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--border);
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 1.15rem;
  font-weight: 600;
  color: var(--fg);
  text-decoration: none;
}
.brand strong {
  color: var(--brand);
}
.site-header nav {
  display: flex;
  gap: 1.25rem;
}
.site-header nav a {
  text-decoration: none;
  font-weight: 500;
  color: var(--muted);
  padding: 0.25rem 0.1rem;
}
.site-header nav a:hover,
.site-header nav a.active {
  color: var(--fg);
}

/* Hero */
.hero {
  padding: 4.5rem 1.5rem;
  text-align: center;
  background: linear-gradient(180deg, #eef6ff 0%, #ffffff 100%);
}
.hero h1 {
  font-size: clamp(2rem, 5vw, 3.2rem);
  line-height: 1.15;
  max-width: 16ch;
  margin: 0 auto 1rem;
}
.hero p.tagline {
  font-size: 1.15rem;
  color: var(--muted);
  max-width: 52ch;
  margin: 0 auto 2rem;
}
.btn {
  display: inline-block;
  padding: 0.7rem 1.4rem;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 600;
  background: var(--brand-ink);
  color: #fff;
}
.btn:hover {
  background: #0857a3;
  color: #fff;
}

/* Sections */
.section {
  padding: 3.5rem 1.5rem;
  max-width: 1080px;
  margin: 0 auto;
  width: 100%;
}
.section h2 {
  font-size: 1.7rem;
  margin-bottom: 1.5rem;
}

.grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1.25rem;
}
.card {
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.4rem;
  background: #fafbfc;
}
.card h3 {
  margin-bottom: 0.5rem;
}
.card p {
  color: var(--muted);
  font-size: 0.95rem;
}

/* Footer */
.site-footer {
  background: var(--footer-bg, #0d1117);
  color: var(--footer-fg, #c9d1d9);
  padding: 2rem 1.5rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.6rem;
  text-align: center;
}
.site-footer p {
  color: var(--footer-muted, #8b949e);
  font-size: 0.9rem;
}
.site-footer a {
  color: var(--footer-link, #b8d9f5);
  text-decoration: none;
}
.site-footer a:hover {
  text-decoration: underline;
}

@media (max-width: 640px) {
  .site-header {
    flex-direction: column;
    gap: 0.6rem;
  }
  .hero {
    padding: 3rem 1.25rem;
  }
}
