/* The content pages: checklists, intervals, Kontrollbuch, sample report.
   Sits on top of /shared/sp-design.css and borrows the landing page's
   vocabulary — paper ground, hairline rules, mono labels — so a visitor who
   arrives on a checklist from Google is visibly on the same site as the app. */

:root { --max: 960px; --prose: 68ch; }
body { font-size: 16px; line-height: 1.6; }
a { color: var(--accent-ink); text-underline-offset: 3px; }
a:hover { color: var(--accent); }

.wrap { max-width: var(--max); margin: 0 auto; padding: 0 24px; }
/* sp-design.css sizes <main> for the app shell (max width, side padding).
   These pages lay out full-width bands with their own .wrap, so undo it. */
main { max-width: none; padding: 0; margin: 0; }

/* --- Navbar (same as the landing page) --- */
.nav { border-bottom: 1px solid var(--rule); background: var(--paper); padding: 18px 0; }
.nav-inner { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; }
.wordmark { font-weight: 600; font-size: 16px; letter-spacing: -0.01em; color: var(--ink); text-decoration: none; }
.nav-serial {
  font-family: var(--font-mono); font-size: 11px; color: var(--faint-soft);
  letter-spacing: 0.04em; text-transform: uppercase; margin-right: 10px;
}
.nav-link {
  font-size: 13px; color: var(--muted); text-decoration: none;
  border-bottom: 1px solid transparent; padding: 10px 0;
}
.nav-link:hover { color: var(--ink); border-color: var(--ink); }

/* --- Page head --- */
.crumbs {
  font-family: var(--font-mono); font-size: 11px; letter-spacing: 0.06em;
  text-transform: uppercase; color: var(--faint); margin: 0 0 28px;
}
.crumbs a { color: var(--faint); text-decoration: none; }
.crumbs a:hover { color: var(--ink); }
.crumbs .sep { color: var(--rule-strong); margin: 0 6px; }

.page-head { padding: 48px 0 40px; border-bottom: 1px solid var(--rule); }
.page-head h1 {
  font-size: clamp(30px, 5vw, 46px); line-height: 1.08; letter-spacing: -0.02em;
  font-weight: 600; max-width: 22ch; margin: 0 0 18px;
}
.lede { font-size: 17px; color: var(--muted); max-width: 60ch; margin: 0 0 22px; }
.meta {
  font-family: var(--font-mono); font-size: 11px; letter-spacing: 0.06em;
  text-transform: uppercase; color: var(--faint); margin: 0;
}

.section-label {
  font-family: var(--font-mono); font-size: 11px; letter-spacing: 0.08em;
  text-transform: uppercase; color: var(--accent); margin: 0 0 12px;
}

/* --- Body sections --- */
.block { padding: 48px 0; border-bottom: 1px solid var(--rule); }
.block h2 {
  font-size: clamp(22px, 3.2vw, 28px); line-height: 1.2; letter-spacing: -0.01em;
  font-weight: 600; margin: 0 0 14px; max-width: 30ch;
}
.block h3 { font-size: 17px; font-weight: 600; margin: 28px 0 8px; }
.prose { max-width: var(--prose); }
.prose p { margin: 0 0 14px; }
.prose ul, .prose ol { margin: 0 0 14px; padding-left: 20px; }
.prose li { margin: 0 0 6px; }
.muted { color: var(--muted); }
.small { font-size: 14px; }

/* --- Notice (liability) --- */
.notice {
  margin: 28px 0 0; padding: 14px 16px; max-width: var(--prose);
  border: 1px solid var(--rule); border-left: 3px solid var(--accent);
  border-radius: var(--radius); background: var(--surface);
  font-size: 14px; color: var(--muted); line-height: 1.55;
}
.notice strong { color: var(--ink); font-weight: 600; }
.notice p { margin: 0 0 6px; }
.notice p:last-child { margin: 0; }

/* --- Buttons (same as the landing page) --- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 46px; padding: 0 22px; font-size: 15px; font-weight: 500;
  border-radius: var(--radius); border: 0; cursor: pointer; font-family: inherit;
  text-decoration: none; transition: background-color .15s, color .15s, border-color .15s;
}
.btn-primary { background: var(--ink); color: var(--paper); }
.btn-primary:hover { background: var(--ink-2); color: var(--paper); }
.btn-primary:active { background: var(--ink-3); }
.btn-ghost { background: transparent; color: var(--ink); border: 1px solid var(--rule-strong); }
.btn-ghost:hover { border-color: var(--ink); color: var(--ink); }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }

/* --- Download card --- */
.download {
  display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 16px 24px; align-items: center;
  padding: 20px 22px; border: 1px solid var(--rule); border-radius: var(--radius-lg);
  background: var(--surface); margin: 0 0 12px;
}
.download h3 { margin: 0 0 4px; font-size: 16px; }
.download p { margin: 0; font-size: 13px; color: var(--faint); }
@media (max-width: 620px) {
  .download { grid-template-columns: 1fr; }
  .download .btn { width: 100%; }
}

/* --- Checklist --- */
.cat { margin: 0 0 28px; }
.prose + .cat { margin-top: 24px; }
.cat h3 {
  font-family: var(--font-mono); font-size: 11px; letter-spacing: 0.08em;
  text-transform: uppercase; color: var(--faint); font-weight: 600; margin: 0 0 6px;
}
.items { list-style: none; margin: 0; padding: 0; max-width: 760px; }
.items li {
  display: grid; grid-template-columns: 18px minmax(0, 1fr); gap: 14px;
  padding: 11px 0; border-top: 1px solid var(--rule);
}
.items li:last-child { border-bottom: 1px solid var(--rule); }
.items .box {
  width: 16px; height: 16px; margin-top: 4px; border: 1.5px solid var(--rule-strong);
  border-radius: 3px; background: var(--paper);
}
.items .measure { display: block; font-size: 13px; color: var(--faint); margin-top: 2px; }

/* --- Tables --- */
.table-scroll { overflow-x: auto; margin: 0 0 16px; }
table.grid { border-collapse: collapse; width: 100%; font-size: 14px; background: var(--surface); }
table.grid th, table.grid td {
  text-align: left; vertical-align: top; padding: 10px 12px; border: 1px solid var(--rule);
}
table.grid th {
  font-family: var(--font-mono); font-size: 11px; letter-spacing: 0.06em;
  text-transform: uppercase; color: var(--faint); font-weight: 600; background: var(--paper);
}
table.grid td.c { text-align: center; }
table.grid .dot { display: inline-block; width: 9px; height: 9px; border-radius: 50%; background: var(--accent); }
table.grid.blank td { height: 38px; }

/* --- Type cards --- */
.cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(210px, 1fr)); gap: 12px; }
.card {
  display: flex; flex-direction: column; gap: 6px; padding: 18px; border: 1px solid var(--rule);
  border-radius: var(--radius-lg); background: var(--surface); color: var(--ink); text-decoration: none;
}
.card:hover { border-color: var(--ink); color: var(--ink); }
.card .k { font-family: var(--font-mono); font-size: 11px; letter-spacing: 0.06em; text-transform: uppercase; color: var(--faint); }
.card .t { font-weight: 600; font-size: 16px; line-height: 1.3; }
.card .d { font-size: 13px; color: var(--muted); }

/* --- Sample report previews --- */
.previews { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 16px; }
.previews figure { margin: 0; }
.previews img {
  display: block; width: 100%; height: auto; border: 1px solid var(--rule);
  border-radius: var(--radius); box-shadow: 0 8px 24px rgba(20, 17, 13, .08); background: #fff;
}
.previews figcaption { font-size: 12px; color: var(--faint); margin-top: 8px; }

/* --- App callout --- */
.callout { background: var(--ink); color: var(--paper); padding: 48px 0; }
.callout h2 { color: var(--paper); font-size: clamp(22px, 3.2vw, 28px); margin: 0 0 12px; max-width: 26ch; font-weight: 600; line-height: 1.2; }
.callout p { color: rgba(245, 241, 232, .75); max-width: 58ch; margin: 0 0 22px; }
.callout .section-label { color: var(--paper); opacity: .55; }
.callout .btn-primary { background: var(--paper); color: var(--ink); }
.callout .btn-primary:hover { background: #fff; color: var(--ink); }
.callout .btn-ghost { color: var(--paper); border-color: rgba(245, 241, 232, .35); }
.callout .btn-ghost:hover { color: var(--paper); border-color: var(--paper); }

/* --- Sources --- */
.sources { font-size: 14px; color: var(--muted); padding-left: 20px; max-width: var(--prose); margin: 0; }
.sources li { margin: 0 0 8px; }

/* --- Footer (same as the landing page, plus the resource links) --- */
.foot {
  padding: 32px 0 40px; font-size: 11px; letter-spacing: 0.04em;
  text-transform: uppercase; color: var(--faint);
}
.foot .row { display: flex; flex-wrap: wrap; gap: 4px 18px; margin-bottom: 14px; }
.foot a { color: var(--muted); padding: 10px 0; display: inline-block; text-decoration: none; }
.foot a:hover { color: var(--ink); }
.foot .crosslinks { opacity: .7; font-size: 10px; margin-top: 10px; }
.foot .copy { margin-top: 16px; font-size: 11px; color: var(--faint); }

@media (max-width: 560px) {
  .wrap { padding: 0 20px; }
  .nav-serial { display: none; }
  .page-head { padding: 32px 0 32px; }
  .block { padding: 36px 0; }
}

/* Printing a checklist page gives the list, not the website around it. */
@media print {
  .nav, .foot, .callout, .download, .btn-row, .no-print { display: none !important; }
  body { background: #fff; font-size: 11pt; }
  .page-head, .block { padding: 12pt 0; border: 0; }
  .items li { break-inside: avoid; }
  a { color: inherit; text-decoration: none; }
}

.download .note { margin-top: 6px; font-size: 12px; line-height: 1.45; color: var(--faint); max-width: 60ch; }
.download .note a { color: var(--faint); }
