/* joe-tippens-protocol.com — shared styles */
:root {
  --ink: #1a202c;
  --muted: #4a5568;
  --accent: #2b6cb0;
  --warn-bg: #fffaf0;
  --warn-border: #dd6b20;
  --line: #e2e8f0;
}
* { box-sizing: border-box; }
body {
  margin: 0;
  font-family: Georgia, "Times New Roman", serif;
  color: var(--ink);
  background: #fffdf9;
  line-height: 1.7;
}
header.site {
  border-bottom: 1px solid var(--line);
  background: #fff;
}
header.site .wrap {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem 1.5rem;
}
.wrap { max-width: 46rem; margin: 0 auto; padding: 0 1.25rem; }
.brand {
  font-weight: bold;
  text-decoration: none;
  color: var(--ink);
  padding: 0.9rem 0;
  font-size: 1.05rem;
}
nav.main ul {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 1.1rem;
  margin: 0;
  padding: 0;
  font-family: "Helvetica Neue", Arial, sans-serif;
  font-size: 0.92rem;
}
nav.main a { color: var(--accent); text-decoration: none; }
nav.main a:hover { text-decoration: underline; }
.notice {
  background: var(--warn-bg);
  border-bottom: 1px solid var(--warn-border);
  font-family: "Helvetica Neue", Arial, sans-serif;
  font-size: 0.85rem;
  color: #7b341e;
}
.notice .wrap { padding-top: 0.55rem; padding-bottom: 0.55rem; }
main { padding: 2rem 1.25rem 3rem; max-width: 46rem; margin: 0 auto; }
h1, h2, h3, h4 { font-family: "Helvetica Neue", Arial, sans-serif; line-height: 1.3; }
h1 { font-size: 1.9rem; margin: 0 0 0.75rem; }
h2 { font-size: 1.35rem; margin-top: 2.2rem; }
h3 { font-size: 1.08rem; margin-top: 1.6rem; }
p.lede { font-size: 1.08rem; color: var(--muted); }
.meta {
  font-family: "Helvetica Neue", Arial, sans-serif;
  font-size: 0.85rem;
  color: var(--muted);
  margin-bottom: 2rem;
}
.box {
  border: 1px solid var(--line);
  background: #fff;
  border-radius: 6px;
  padding: 1rem 1.25rem;
  margin: 1.5rem 0;
}
.box.key-points { background: #f0f7ff; border-color: #bee3f8; }
.box.warning {
  background: var(--warn-bg);
  border-color: var(--warn-border);
  font-family: "Helvetica Neue", Arial, sans-serif;
  font-size: 0.95rem;
}
.box.ref { font-size: 0.9rem; }
table { border-collapse: collapse; width: 100%; font-size: 0.92rem; margin: 1.25rem 0; }
th, td { border: 1px solid var(--line); padding: 0.5rem 0.7rem; text-align: left; vertical-align: top; }
th { background: #f7fafc; font-family: "Helvetica Neue", Arial, sans-serif; }
ol.toc { font-family: "Helvetica Neue", Arial, sans-serif; font-size: 0.95rem; }
footer.site {
  border-top: 1px solid var(--line);
  background: #fff;
  font-family: "Helvetica Neue", Arial, sans-serif;
  font-size: 0.85rem;
  color: var(--muted);
}
footer.site .wrap { padding-top: 1.5rem; padding-bottom: 2rem; }
footer.site ul { list-style: none; display: flex; flex-wrap: wrap; gap: 0.4rem 1.3rem; padding: 0; margin: 0 0 1rem; }
footer.site a { color: var(--accent); text-decoration: none; }
footer.site a:hover { text-decoration: underline; }
footer.site p { margin: 0.35rem 0; }
a { color: var(--accent); }
code, .mono { font-family: "SF Mono", Menlo, Consolas, monospace; font-size: 0.9em; }
