@charset "utf-8";

@import url("https://fonts.googleapis.com/css2?family=Source+Sans+3:wght@500;600&family=Source+Serif+4:ital,wght@0,400;0,600;1,400&display=swap");

:root {
  --bg: #f4f8fa;
  --surface: #ffffff;
  --text: #14212d;
  --muted: #4a6678;
  --accent: #0d6b7a;
  --accent-soft: #e3f2f4;
  --border: #c5d6dc;
  --code-bg: #eef3f5;
  --max-width: 44rem;
}

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

body {
  margin: 0;
  font-family: "Source Serif 4", Georgia, "Times New Roman", serif;
  font-size: 1.0625rem;
  line-height: 1.65;
  color: var(--text);
  background: var(--bg);
}

@media (min-width: 50rem) {
  body {
    font-size: 1.125rem;
  }
}

.skip-link {
  position: absolute;
  left: -9999px;
  z-index: 999;
  padding: 0.5rem 1rem;
  background: var(--accent);
  color: #fff;
}
.skip-link:focus {
  left: 1rem;
  top: 1rem;
}

.site-header {
  background: var(--surface);
  border-bottom: 1px solid var(--border);
  position: sticky;
  top: 0;
  z-index: 50;
}

.site-header__inner {
  max-width: 72rem;
  margin: 0 auto;
  padding: 0.85rem 1.25rem;
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 0.75rem 1.5rem;
}

.site-title {
  font-family: "Source Sans 3", system-ui, sans-serif;
  font-weight: 600;
  font-size: 1.15rem;
  color: var(--accent);
  text-decoration: none;
  letter-spacing: -0.02em;
}
.site-title:hover {
  text-decoration: underline;
}

.site-nav ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem 1rem;
  font-family: "Source Sans 3", system-ui, sans-serif;
  font-size: 0.88rem;
}

.site-nav a {
  color: var(--muted);
  text-decoration: none;
}
.site-nav a:hover {
  color: var(--accent);
  text-decoration: underline;
}

.site-main {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 2rem 1.25rem 4rem;
}

.site-footer {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 2rem 1.25rem;
  border-top: 1px solid var(--border);
  font-size: 0.9rem;
  color: var(--muted);
}
.site-footer a {
  color: var(--accent);
}

.prose {
  background: var(--surface);
  padding: 1.75rem 1.75rem 2.25rem;
  border-radius: 6px;
  border: 1px solid var(--border);
  box-shadow: 0 1px 0 rgba(20, 33, 45, 0.04);
}

.prose > h1 {
  font-family: "Source Sans 3", system-ui, sans-serif;
  font-weight: 600;
  font-size: clamp(1.65rem, 4vw, 2rem);
  margin: 0 0 1.25rem;
  letter-spacing: -0.03em;
  line-height: 1.25;
  color: var(--text);
}

.prose h2 {
  font-family: "Source Sans 3", system-ui, sans-serif;
  font-weight: 600;
  font-size: 1.28rem;
  margin: 2rem 0 0.65rem;
  padding-top: 0.25rem;
  border-top: 1px solid var(--border);
  color: #0f3d47;
}

.prose h3 {
  font-family: "Source Sans 3", system-ui, sans-serif;
  font-weight: 600;
  font-size: 1.08rem;
  margin: 1.35rem 0 0.4rem;
}

.prose p,
.prose ul,
.prose ol {
  margin: 0 0 0.85rem;
}

.prose ul,
.prose ol {
  padding-left: 1.35rem;
}

.prose li {
  margin-bottom: 0.35rem;
}

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

.prose code {
  font-family: ui-monospace, "Cascadia Code", "Source Code Pro", monospace;
  font-size: 0.88em;
  background: var(--code-bg);
  padding: 0.12em 0.35em;
  border-radius: 4px;
}

.prose pre {
  background: #0f1c24;
  color: #e8f0f4;
  padding: 1rem 1.1rem;
  border-radius: 6px;
  overflow-x: auto;
  font-size: 0.86rem;
  line-height: 1.5;
}
.prose pre code {
  background: none;
  padding: 0;
  color: inherit;
}

.prose table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.92rem;
  margin: 1rem 0;
}
.prose th,
.prose td {
  border: 1px solid var(--border);
  padding: 0.4rem 0.55rem;
  vertical-align: top;
}
.prose th {
  background: var(--accent-soft);
  text-align: left;
  font-family: "Source Sans 3", system-ui, sans-serif;
  font-weight: 600;
}

.callout {
  background: var(--accent-soft);
  border-left: 4px solid var(--accent);
  padding: 0.85rem 1rem;
  margin: 1.25rem 0;
  border-radius: 0 6px 6px 0;
  font-size: 0.98rem;
}
