/* Before You Hire — minimal, readable, trustworthy */
:root {
  --ink: #1a1a1a;
  --muted: #555;
  --border: #e2e2e0;
  --bg: #fafaf8;
  --card: #ffffff;
  --accent: #1e4d3a;
  --accent-soft: #e8f0ec;
  --warn: #7a3e1d;
  --warn-bg: #faf3ee;
  --max: 42rem;
  --wide: 56rem;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  font-size: 18px;
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  font-family: Georgia, "Times New Roman", serif;
  line-height: 1.65;
  color: var(--ink);
  background: var(--bg);
}

a {
  color: var(--accent);
  text-decoration-thickness: 1px;
  text-underline-offset: 2px;
}

a:hover {
  text-decoration-thickness: 2px;
}

.wrap {
  width: min(100% - 2rem, var(--wide));
  margin-inline: auto;
}

.site-header {
  border-bottom: 1px solid var(--border);
  background: var(--card);
  padding: 1rem 0;
}

.site-header .wrap {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
}

.logo {
  font-family: system-ui, -apple-system, sans-serif;
  font-weight: 700;
  font-size: 1.05rem;
  color: var(--ink);
  text-decoration: none;
  letter-spacing: -0.02em;
}

.logo:hover {
  text-decoration: none;
  color: var(--accent);
}

.nav {
  font-family: system-ui, -apple-system, sans-serif;
  font-size: 0.85rem;
  display: flex;
  gap: 1.25rem;
}

.nav a {
  color: var(--muted);
  text-decoration: none;
}

.nav a:hover {
  color: var(--accent);
  text-decoration: underline;
}

main {
  padding: 2.5rem 0 3.5rem;
}

.hero {
  max-width: var(--max);
  margin-bottom: 2.5rem;
}

.hero h1 {
  font-family: system-ui, -apple-system, sans-serif;
  font-size: clamp(1.75rem, 4vw, 2.25rem);
  line-height: 1.2;
  letter-spacing: -0.03em;
  margin: 0 0 0.75rem;
  font-weight: 700;
}

.lede {
  font-size: 1.1rem;
  color: var(--muted);
  margin: 0;
}

.guide-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 0.75rem;
  max-width: var(--max);
}

.guide-list li a {
  display: block;
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 6px;
  padding: 1rem 1.15rem;
  text-decoration: none;
  color: var(--ink);
  font-family: system-ui, -apple-system, sans-serif;
  font-weight: 600;
  transition: border-color 0.15s ease;
}

.guide-list li a:hover {
  border-color: var(--accent);
  text-decoration: none;
}

.guide-list li a span {
  display: block;
  font-weight: 400;
  font-size: 0.85rem;
  color: var(--muted);
  margin-top: 0.2rem;
}

.section-label {
  font-family: system-ui, -apple-system, sans-serif;
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--muted);
  margin: 0 0 0.75rem;
}

/* Guide pages */
.guide-header {
  max-width: var(--max);
  margin-bottom: 2rem;
}

.guide-header .breadcrumb {
  font-family: system-ui, -apple-system, sans-serif;
  font-size: 0.8rem;
  color: var(--muted);
  margin-bottom: 0.75rem;
}

.guide-header .breadcrumb a {
  color: var(--muted);
}

.guide-header h1 {
  font-family: system-ui, -apple-system, sans-serif;
  font-size: clamp(1.5rem, 3.5vw, 2rem);
  line-height: 1.25;
  letter-spacing: -0.02em;
  margin: 0 0 0.75rem;
}

.guide-header .intro {
  margin: 0;
  color: var(--muted);
}

.prose {
  max-width: var(--max);
}

.prose h2 {
  font-family: system-ui, -apple-system, sans-serif;
  font-size: 1.25rem;
  letter-spacing: -0.02em;
  margin: 2.25rem 0 1rem;
  padding-top: 0.5rem;
  border-top: 1px solid var(--border);
}

.prose h2:first-child {
  border-top: none;
  padding-top: 0;
  margin-top: 0;
}

.question {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 6px;
  padding: 1.15rem 1.25rem;
  margin-bottom: 0.85rem;
}

.question h3 {
  font-family: system-ui, -apple-system, sans-serif;
  font-size: 1rem;
  font-weight: 600;
  margin: 0 0 0.5rem;
  line-height: 1.4;
}

.question .why {
  margin: 0;
  font-size: 0.95rem;
  color: var(--muted);
}

.question .why strong {
  color: var(--ink);
  font-weight: 600;
}

.red-flags {
  background: var(--warn-bg);
  border: 1px solid #edd9cc;
  border-radius: 6px;
  padding: 1.15rem 1.25rem 1.15rem 1.5rem;
  margin: 0 0 1rem;
}

.red-flags li {
  margin-bottom: 0.5rem;
  color: var(--warn);
}

.red-flags li:last-child {
  margin-bottom: 0;
}

.checklist {
  list-style: none;
  padding: 0;
  margin: 0;
}

.checklist li {
  position: relative;
  padding: 0.55rem 0 0.55rem 1.75rem;
  border-bottom: 1px solid var(--border);
  font-family: system-ui, -apple-system, sans-serif;
  font-size: 0.95rem;
}

.checklist li:last-child {
  border-bottom: none;
}

.checklist li::before {
  content: "☐";
  position: absolute;
  left: 0;
  color: var(--accent);
  font-size: 1.1rem;
}

.disclaimer {
  max-width: var(--max);
  margin-top: 2.5rem;
  padding: 1rem 1.15rem;
  background: var(--accent-soft);
  border-radius: 6px;
  font-family: system-ui, -apple-system, sans-serif;
  font-size: 0.8rem;
  color: var(--muted);
  line-height: 1.5;
}

.disclaimer strong {
  color: var(--ink);
}

.other-guides {
  max-width: var(--max);
  margin-top: 2rem;
  font-family: system-ui, -apple-system, sans-serif;
  font-size: 0.9rem;
}

.other-guides ul {
  padding-left: 1.25rem;
  margin: 0.5rem 0 0;
}

.site-footer {
  border-top: 1px solid var(--border);
  padding: 1.5rem 0 2rem;
  font-family: system-ui, -apple-system, sans-serif;
  font-size: 0.8rem;
  color: var(--muted);
}

.site-footer .wrap {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 1.5rem;
  justify-content: space-between;
}

@media (max-width: 480px) {
  html {
    font-size: 17px;
  }

  main {
    padding: 1.75rem 0 2.5rem;
  }

  .question {
    padding: 1rem;
  }
}
