/* Stop Septic Smell — Mobile-first baseline */
:root {
  --bg: #ffffff;
  --text: #121212;
  --muted: #5b5b5b;
  --primary: #0b7a75;
  --primary-contrast: #ffffff;
  --surface: #f4f7f7;
  --border: #e2e8e8;
  --link: #0b7a75;
  --link-visited: #085e5a;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
  font-size: 16px;
  line-height: 1.6;
  color: var(--text);
  background: var(--bg);
}

/* Fluid type */
h1 { font-size: clamp(1.75rem, 2.5vw + 1rem, 2.4rem); line-height: 1.2; }
h2 { font-size: clamp(1.35rem, 1.5vw + 1rem, 1.8rem); line-height: 1.3; }
h3 { font-size: 1.15rem; line-height: 1.35; }
p, li { max-width: 70ch; }

/* Layout */
.skip-link {
  position: absolute; left: -9999px; top: auto; width: 1px; height: 1px; overflow: hidden;
}
.skip-link:focus { position: static; width: auto; height: auto; margin: 8px; padding: 8px 12px; background: var(--surface); border: 1px solid var(--border); }

header {
  border-bottom: 1px solid var(--border);
  background: var(--bg);
}
.nav {
  display: flex; align-items: center; gap: 16px; flex-wrap: wrap;
  padding: 12px 16px;
}
.brand { font-weight: 700; letter-spacing: 0.2px; }
.nav a { color: var(--link); text-decoration: none; }
.nav a:hover, .nav a:focus { text-decoration: underline; }

.container { max-width: 820px; padding: 0 18px; margin: 0 auto; }
main { padding: 20px 0 48px; }

footer { border-top: 1px solid var(--border); padding: 20px 16px; background: var(--surface); color: var(--muted); }
footer a { color: inherit; }

/* Components */
.cta {
  background: #e7f5f4;
  border: 1px solid #cfe9e7;
  padding: 16px;
  border-radius: 10px;
  margin: 16px 0;
}
.cta .btn { margin-top: 8px; display: inline-block; }

.btn {
  appearance: none; border: none; cursor: pointer; text-decoration: none;
  background: var(--primary); color: var(--primary-contrast);
  padding: 12px 18px; border-radius: 10px; font-weight: 700;
  min-height: 44px; min-width: 44px; display: inline-flex; align-items: center; justify-content: center;
}
.btn:hover, .btn:focus { filter: brightness(0.95); }

.note { background: var(--surface); border: 1px solid var(--border); padding: 12px; border-radius: 10px; }

/* Tables */
table { width: 100%; border-collapse: collapse; margin: 16px 0; }
th, td { border: 1px solid var(--border); padding: 10px; text-align: left; vertical-align: top; }
thead th { background: #eef6f5; }
tbody tr:nth-child(even) { background: #fafcfc; }

/* Lists spacing */
ul, ol { padding-left: 1.25rem; }
section { margin: 24px 0; }

/* Utility */
.muted { color: var(--muted); }
.grid {
  display: grid; gap: 16px;
}
@media (min-width: 720px) {
  .grid-2 { grid-template-columns: repeat(2, 1fr); }
}

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

/* Code/pre (rare) */
code { background: #f6f8f8; padding: 2px 4px; border-radius: 4px; }
pre { overflow: auto; padding: 12px; background: #f6f8f8; border-radius: 8px; }

