/* HireProof — mobile-first, dependency-free styles */

:root {
  --ink: #1a2332;
  --muted: #5b6b82;
  --line: #e3e9f2;
  --bg: #ffffff;
  --bg-alt: #f5f8fc;
  --accent: #0f7b4f;
  --accent-dark: #0a5f3d;
  --warn: #b7791f;
  --bad: #c0392b;
  --radius: 10px;
}

* { box-sizing: border-box; }

body {
  margin: 0;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  color: var(--ink);
  background: var(--bg);
  line-height: 1.6;
  font-size: 16px;
}

.wrap {
  max-width: 720px;
  margin: 0 auto;
  padding: 0 20px;
}

/* ---------- header ---------- */

.site-header {
  border-bottom: 1px solid var(--line);
  background: var(--bg);
  position: sticky;
  top: 0;
  z-index: 10;
}

.site-header .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 12px;
  padding-bottom: 12px;
}

.brand {
  font-weight: 800;
  font-size: 1.25rem;
  color: var(--ink);
  text-decoration: none;
}

.site-header nav a {
  color: var(--muted);
  text-decoration: none;
  margin-left: 16px;
  font-size: 0.95rem;
}

.site-header nav a:hover { color: var(--ink); }

/* ---------- hero ---------- */

.hero {
  padding: 56px 0 48px;
  background: linear-gradient(180deg, #0e2a1f 0%, #123c2a 100%);
  color: #fff;
  text-align: center;
}

.kicker {
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-size: 0.8rem;
  color: #9fd8b8;
  margin: 0 0 12px;
}

.hero h1 {
  font-size: 2.1rem;
  line-height: 1.15;
  margin: 0 0 16px;
}

.lede {
  font-size: 1.05rem;
  color: #dcefe4;
  margin: 0 auto 24px;
  max-width: 32rem;
}

.privacy-note {
  font-size: 0.85rem;
  color: #a9cdb8;
  margin: 16px 0 0;
}

/* ---------- buttons ---------- */

.btn {
  display: inline-block;
  background: var(--accent);
  color: #fff;
  text-decoration: none;
  border: none;
  cursor: pointer;
  padding: 12px 24px;
  border-radius: var(--radius);
  font-weight: 700;
  font-size: 1rem;
  font-family: inherit;
  text-align: center;
}

.btn:hover { background: var(--accent-dark); }

.btn-big {
  padding: 14px 32px;
  font-size: 1.1rem;
}

.btn-full { width: 100%; }

.btn-outline {
  background: transparent;
  color: var(--accent);
  border: 2px solid var(--accent);
}

.btn-outline:hover { background: var(--accent); color: #fff; }

/* ---------- sections ---------- */

.section { padding: 48px 0; }

.section-alt { background: var(--bg-alt); }

.section h2 {
  font-size: 1.6rem;
  margin: 0 0 8px;
}

.section-intro {
  color: var(--muted);
  margin: 0 0 24px;
}

/* ---------- scan tool ---------- */

.field-label {
  display: block;
  font-weight: 700;
  margin: 20px 0 8px;
}

.field-label .optional {
  font-weight: 400;
  color: var(--muted);
  font-size: 0.9rem;
}

textarea {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 12px;
  font-size: 0.95rem;
  font-family: inherit;
  line-height: 1.5;
  resize: vertical;
  background: #fff;
}

textarea:focus {
  outline: 2px solid var(--accent);
  border-color: var(--accent);
}

#run-scan { margin-top: 20px; }

.results { margin-top: 32px; }

.scan-error {
  background: #fdecea;
  border: 1px solid #f5c6c0;
  color: var(--bad);
  padding: 12px 16px;
  border-radius: var(--radius);
}

.honest-microcopy {
  font-size: 0.85rem;
  color: var(--muted);
  border-left: 3px solid var(--line);
  padding-left: 12px;
  margin: 24px 0 0;
}

/* ---------- score card ---------- */

.score-card {
  border-radius: var(--radius);
  padding: 24px 20px;
  text-align: center;
  color: #fff;
  margin-bottom: 24px;
}

.score-card.v-great { background: #0f7b4f; }
.score-card.v-good  { background: #2e7d32; }
.score-card.v-warn  { background: #b7791f; }
.score-card.v-bad   { background: #c0392b; }

.score-number {
  font-size: 3.2rem;
  font-weight: 800;
  line-height: 1;
}

.score-number span {
  font-size: 1.2rem;
  font-weight: 400;
  opacity: 0.8;
}

.score-label {
  font-size: 1.25rem;
  font-weight: 700;
  margin: 8px 0 4px;
}

.score-text {
  margin: 0;
  opacity: 0.95;
  font-size: 0.95rem;
}

/* ---------- checks ---------- */

.results h3 {
  font-size: 1.15rem;
  margin: 28px 0 12px;
}

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

.check {
  border: 1px solid var(--line);
  border-left-width: 5px;
  border-radius: var(--radius);
  padding: 12px 16px;
  margin-bottom: 12px;
  background: #fff;
}

.check-pass { border-left-color: var(--accent); }
.check-warn { border-left-color: var(--warn); }
.check-fail { border-left-color: var(--bad); }

.check-head {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 4px;
}

.check-badge {
  font-size: 0.75rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  padding: 3px 8px;
  border-radius: 999px;
  white-space: nowrap;
}

.check-pass .check-badge { background: #e2f3e9; color: var(--accent-dark); }
.check-warn .check-badge { background: #fbf0d9; color: var(--warn); }
.check-fail .check-badge { background: #fdecea; color: var(--bad); }

.check p { margin: 0; font-size: 0.93rem; color: var(--muted); }

.fix-list { padding-left: 20px; margin: 0 0 24px; }
.fix-list li { margin-bottom: 10px; }

.upsell {
  background: var(--bg-alt);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 20px;
  margin-top: 8px;
}

.upsell p { margin: 0 0 12px; }

/* ---------- pricing ---------- */

.plans {
  display: grid;
  gap: 20px;
}

.plan {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 24px 20px;
}

.plan-featured {
  border: 2px solid var(--accent);
  position: relative;
}

.plan-tag {
  display: inline-block;
  background: var(--accent);
  color: #fff;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  padding: 4px 10px;
  border-radius: 999px;
  margin: 0 0 8px;
}

.plan h3 { margin: 0 0 4px; font-size: 1.25rem; }

.price {
  font-size: 2rem;
  font-weight: 800;
  margin: 0 0 12px;
  color: var(--accent-dark);
}

.plan ul {
  margin: 0 0 16px;
  padding-left: 20px;
}

.plan li { margin-bottom: 6px; }

.plan .btn { width: 100%; }

.delivery {
  font-size: 0.85rem;
  color: var(--muted);
  margin: 0 0 12px;
}

.alt-pay {
  font-size: 0.85rem;
  color: var(--muted);
  margin: 12px 0 0;
}

/* ---------- FAQ ---------- */

.faq details {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  margin-bottom: 12px;
  background: #fff;
}

.faq summary {
  padding: 14px 16px;
  font-weight: 700;
  cursor: pointer;
  list-style: none;
}

.faq summary::-webkit-details-marker { display: none; }

.faq summary::after {
  content: "+";
  float: right;
  color: var(--accent);
  font-weight: 800;
}

.faq details[open] summary::after { content: "–"; }

.faq details p {
  padding: 0 16px 16px;
  margin: 0;
  color: var(--muted);
}

/* ---------- footer ---------- */

.site-footer {
  border-top: 1px solid var(--line);
  padding: 32px 0;
  text-align: center;
  color: var(--muted);
  font-size: 0.9rem;
}

.site-footer .fine {
  font-size: 0.8rem;
  margin: 8px 0 0;
}

/* ---------- wider screens ---------- */

@media (min-width: 640px) {
  .hero h1 { font-size: 2.8rem; }
  .plans { grid-template-columns: repeat(3, 1fr); align-items: start; }
  .plan .btn { width: auto; }
  .btn-full { width: 100%; }
}
