/* Rota Pay Check site. One stylesheet, system fonts, no third-party assets. */
:root {
  color-scheme: light dark;
  --bg: #ffffff;
  --surface: #f3f5f2;
  --text: #1a1f1c;
  --muted: #4a524d;
  --border: #c9d0cb;
  --accent: #0a6448;
  --accent-text: #ffffff;
  --focus: #b3420e;
}
@media (prefers-color-scheme: dark) {
  :root {
    --bg: #111513;
    --surface: #1c221f;
    --text: #e9eeeb;
    --muted: #b4beb8;
    --border: #3b4440;
    --accent: #7fd6b2;
    --accent-text: #0c1310;
    --focus: #ffb27a;
  }
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font: 1.0625rem/1.6 -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  overflow-wrap: break-word;
}
.wrap { max-width: 46rem; margin: 0 auto; padding: 0 1rem; }

a { color: var(--accent); text-decoration-thickness: 0.08em; text-underline-offset: 0.15em; }
a:hover { text-decoration-thickness: 0.15em; }
:focus-visible { outline: 3px solid var(--focus); outline-offset: 2px; border-radius: 2px; }

.skip-link {
  position: absolute; left: 0.5rem; top: -4rem;
  background: var(--accent); color: var(--accent-text);
  padding: 0.5rem 1rem; z-index: 10;
}
.skip-link:focus { top: 0.5rem; }

.site-header { border-bottom: 1px solid var(--border); }
.site-header .wrap { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 0.5rem 1.5rem; padding-top: 0.75rem; padding-bottom: 0.75rem; }
.wordmark { font-weight: 700; font-size: 1.15rem; color: var(--text); text-decoration: none; }
.site-header ul, .site-footer ul { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 0.25rem 1rem; }

main { padding: 1.5rem 0 3rem; }
h1 { font-size: clamp(1.75rem, 6vw, 2.5rem); line-height: 1.2; margin: 0.5rem 0 1rem; }
h2 { font-size: 1.4rem; line-height: 1.3; margin: 2.25rem 0 0.75rem; }
h3 { font-size: 1.15rem; margin: 1.5rem 0 0.5rem; }
.lede { font-size: 1.2rem; color: var(--muted); }
.meta { color: var(--muted); font-size: 0.95rem; }

.steps { display: grid; gap: 1rem; padding: 0; list-style: none; }
@media (min-width: 40rem) { .steps { grid-template-columns: repeat(3, 1fr); } }
.card { background: var(--surface); border: 1px solid var(--border); border-radius: 0.5rem; padding: 1rem; }
.card h3 { margin-top: 0; }

.table-scroll { overflow-x: auto; }
table { border-collapse: collapse; width: 100%; font-size: 0.95rem; }
caption { text-align: left; font-weight: 600; padding-bottom: 0.5rem; }
th, td { border: 1px solid var(--border); padding: 0.5rem; text-align: left; vertical-align: top; }
thead th { background: var(--surface); }

blockquote { margin: 1rem 0; padding: 0.5rem 1rem; border-left: 4px solid var(--accent); background: var(--surface); }
blockquote p { margin: 0.25rem 0; }
.cite { font-size: 0.9rem; color: var(--muted); }
code { font-size: 0.95em; }

.site-footer { border-top: 1px solid var(--border); background: var(--surface); padding: 1.5rem 0 2rem; font-size: 0.95rem; }
.site-footer p { margin: 0 0 1rem; }
