body {
  font-family: var(--font-sans);
  font-size: 17px;
  line-height: 1.75;
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

h1 { font-size: 52px; font-weight: 700; line-height: 1.1; letter-spacing: -0.02em; color: var(--secondary); }
h2 { font-size: 40px; font-weight: 700; line-height: 1.15; letter-spacing: -0.015em; color: var(--secondary); }
h3 { font-size: 28px; font-weight: 600; line-height: 1.25; color: var(--secondary); }
h4 { font-size: 20px; font-weight: 600; line-height: 1.35; color: var(--text); }
h5 { font-size: 17px; font-weight: 500; line-height: 1.7; color: var(--text); }

p { color: var(--text-muted); line-height: 1.75; }
p + p { margin-top: 1em; }

a { color: var(--primary); transition: color var(--transition); }
a:hover { color: var(--primary-dark); }

::selection {
  background: rgba(14,116,144,0.12);
  color: var(--secondary);
}

.text-muted { color: var(--text-muted); }
.text-faint { color: var(--text-faint); }
.text-white { color: #fff; }
.text-primary { color: var(--primary); }

.skip-to-content {
  position: absolute; left: -9999px; top: auto;
  width: 1px; height: 1px; overflow: hidden;
  z-index: 9999; padding: 12px 24px;
  background: var(--secondary); color: #fff;
  font-weight: 600; border-radius: var(--radius-sm);
}
.skip-to-content:focus {
  position: fixed; left: 16px; top: 16px;
  width: auto; height: auto; overflow: visible;
}

:focus-visible {
  outline: 2px solid var(--primary);
  outline-offset: 2px;
}

@media (max-width: 768px) {
  body { font-size: 16px; line-height: 1.7; }
  h1 { font-size: 34px; line-height: 1.15; }
  h2 { font-size: 28px; }
  h3 { font-size: 24px; }
  h4 { font-size: 18px; }
}
