/* Tygart Field Guides — shared stylesheet */
:root {
  --ink: #1a1a1a;
  --muted: #5c5c5c;
  --accent: #0f5fbf;
  --line: #e3e3e3;
  --wash: #f7f7f5;
  --max: 46rem;
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: Georgia, "Times New Roman", serif;
  color: var(--ink);
  line-height: 1.65;
  background: #fff;
}
.site-header {
  border-bottom: 1px solid var(--line);
  background: var(--wash);
}
.site-header .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}
.brand {
  font-family: -apple-system, "Segoe UI", Helvetica, Arial, sans-serif;
  font-weight: 700;
  font-size: 0.95rem;
  letter-spacing: 0.02em;
  text-decoration: none;
  color: var(--ink);
  text-transform: uppercase;
}
.brand small { font-weight: 400; color: var(--muted); text-transform: none; letter-spacing: 0; }
.wrap { max-width: var(--max); margin: 0 auto; padding: 1rem 1.25rem; }
main .wrap { padding-top: 2rem; padding-bottom: 3rem; }
h1, h2, h3 { font-family: -apple-system, "Segoe UI", Helvetica, Arial, sans-serif; line-height: 1.25; }
h1 { font-size: 2rem; margin: 0.25rem 0 1rem; }
h2 { font-size: 1.35rem; margin: 2.2rem 0 0.6rem; }
h3 { font-size: 1.05rem; margin: 1.6rem 0 0.4rem; }
.kicker {
  font-family: -apple-system, "Segoe UI", Helvetica, Arial, sans-serif;
  font-size: 0.78rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
  margin: 0 0 0.5rem;
}
.dek { font-size: 1.15rem; color: var(--muted); margin: 0 0 1.5rem; }
.meta { font-size: 0.85rem; color: var(--muted); margin: 0 0 2rem; }
p { margin: 0 0 1.1rem; }
ul, ol { margin: 0 0 1.1rem; padding-left: 1.4rem; }
li { margin-bottom: 0.45rem; }
a { color: var(--accent); }
a:hover { text-decoration-thickness: 2px; }
table { border-collapse: collapse; width: 100%; margin: 1.2rem 0; font-size: 0.92rem; }
th, td { border: 1px solid var(--line); padding: 0.55rem 0.7rem; text-align: left; vertical-align: top; }
th { background: var(--wash); font-family: -apple-system, "Segoe UI", Helvetica, Arial, sans-serif; }
blockquote {
  border-left: 3px solid var(--accent);
  margin: 1.4rem 0;
  padding: 0.2rem 0 0.2rem 1rem;
  color: var(--muted);
}
.card-grid { display: grid; gap: 1rem; margin: 1.5rem 0; }
.guide-card {
  border: 1px solid var(--line);
  border-radius: 6px;
  padding: 1.1rem 1.25rem;
  background: #fff;
  text-decoration: none;
  color: var(--ink);
  display: block;
}
.guide-card:hover { border-color: var(--accent); }
.guide-card h2 { margin: 0 0 0.35rem; font-size: 1.1rem; }
.guide-card p { margin: 0; color: var(--muted); font-size: 0.95rem; }
.guide-card .tag {
  display: inline-block;
  font-family: -apple-system, "Segoe UI", Helvetica, Arial, sans-serif;
  font-size: 0.72rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 0.4rem;
}
.sources { background: var(--wash); border: 1px solid var(--line); border-radius: 6px; padding: 1rem 1.25rem; }
.sources h2 { margin-top: 0.4rem; }
.disclaimer { font-size: 0.88rem; color: var(--muted); border-top: 1px solid var(--line); padding-top: 1rem; margin-top: 2.5rem; }
.download { display: inline-block; margin: 0.5rem 0 1.5rem; font-family: -apple-system, "Segoe UI", Helvetica, Arial, sans-serif; }
.site-footer { border-top: 1px solid var(--line); background: var(--wash); color: var(--muted); font-size: 0.85rem; }
.site-footer a { color: var(--muted); }
@media (max-width: 560px) { h1 { font-size: 1.6rem; } table { font-size: 0.82rem; } }

/* Lead-capture form ("Get the field notes") */
.lead-card {
  border: 1px solid var(--line);
  border-radius: 6px;
  background: var(--wash);
  padding: 1.5rem 1.5rem 1.75rem;
  margin: 2.5rem 0 0;
}
.lead-card h2 { margin-top: 0.25rem; }
.lead-dek { color: var(--muted); }
.field { margin: 0 0 1rem; }
.field label {
  display: block;
  font-family: -apple-system, "Segoe UI", Helvetica, Arial, sans-serif;
  font-size: 0.85rem;
  font-weight: 600;
  margin-bottom: 0.35rem;
}
.field .optional { font-weight: 400; color: var(--muted); }
.field input,
.field textarea {
  width: 100%;
  font: inherit;
  font-size: 0.95rem;
  padding: 0.6rem 0.7rem;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: #fff;
  color: var(--ink);
}
.field input:focus,
.field textarea:focus {
  outline: 2px solid var(--accent);
  outline-offset: 1px;
  border-color: var(--accent);
}
.turnstile-slot { margin: 1rem 0; min-height: 65px; }
#lead-form button[type="submit"] {
  font-family: -apple-system, "Segoe UI", Helvetica, Arial, sans-serif;
  font-size: 0.95rem;
  font-weight: 600;
  color: #fff;
  background: var(--accent);
  border: none;
  border-radius: 6px;
  padding: 0.7rem 1.6rem;
  cursor: pointer;
}
#lead-form button[type="submit"]:disabled { opacity: 0.6; cursor: default; }
.form-note { font-size: 0.9rem; color: var(--muted); min-height: 1.4em; }
