@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;600;700&family=Fira+Code:wght@400;600&display=swap');

:root {
  --text-color: #0f172a;
  --muted: #52616b;
  --accent: #0ea5e9;
  --border: #e2e8f0;
}

body {
  font-family: 'Inter', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  color: var(--text-color);
  line-height: 1.6;
  max-width: 900px;
  margin: 0 auto;
  padding: 0 6mm;
  position: relative;
}

h1, h2, h3, h4 {
  font-weight: 700;
  color: #0b4f6c;
}

h1 {
  border-bottom: 2px solid var(--border);
  padding-bottom: 0.35rem;
  margin-top: 0;
}

h2 {
  margin-top: 1.8rem;
}

h3, h4 {
  color: #1e293b;
  margin-top: 1.2rem;
}

p {
  margin: 0.4rem 0 0.9rem;
}

a {
  color: var(--accent);
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
}

ul, ol {
  padding-left: 1.3rem;
  margin: 0.3rem 0 0.9rem;
}

li {
  margin: 0.12rem 0;
}

code {
  font-family: 'Fira Code', Menlo, Consolas, monospace;
  background: #f8fafc;
  border: 1px solid var(--border);
  padding: 0.12em 0.4em;
  border-radius: 4px;
}

pre {
  background: #0f172a;
  color: #e2e8f0;
  padding: 1rem;
  border-radius: 6px;
  border: 1px solid #1e293b;
  overflow: auto;
}

pre code {
  background: transparent;
  border: 0;
  padding: 0;
  color: inherit;
}

table {
  width: 100%;
  border-collapse: collapse;
  margin: 1rem 0;
  font-size: 0.95rem;
}

th, td {
  border: 1px solid var(--border);
  padding: 0.6rem 0.8rem;
  vertical-align: top;
}

th {
  background: #f1f5f9;
  text-align: left;
}

blockquote {
  border-left: 3px solid var(--accent);
  background: #f8fafc;
  padding: 0.8rem 1rem;
  color: var(--muted);
  margin: 1rem 0;
}

hr {
  border: none;
  border-top: 1px solid var(--border);
  margin: 1.6rem 0;
}

/* Subtle watermark in the bottom-right corner */
body::after {
  content: '';
  position: fixed;
  right: 12mm;
  bottom: 12mm;
  width: 160px;
  height: 160px;
  background: url('https://www.responsab.com/sites/default/files/responsab-link.svg') no-repeat center;
  background-size: contain;
  opacity: 0.08;
  pointer-events: none;
  z-index: -1;
}
