:root {
  --navy: #0f172a;
  --navy-2: #1e293b;
  --amber: #d97706;
  --amber-2: #b45309;
  --paper: #fdfcfb;
  --cream: #f6f3ee;
  --line: #e4e0d8;
  --ink: #1c1917;
  --ink-soft: #57534e;
  --green: #1a7f37;
  --yellow: #b45309;
  --red: #b91c1c;
  --radius: 14px;
  --max: 1080px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: "Inter", -apple-system, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  color: var(--ink);
  background: var(--paper);
  line-height: 1.55;
}
img { max-width: 100%; }
a { color: var(--navy); }
.container { max-width: var(--max); margin: 0 auto; padding: 0 24px; }

/* Referee-stripe accent bar */
.stripe-bar {
  height: 6px;
  background: repeating-linear-gradient(90deg, var(--navy) 0 28px, #fff 28px 32px);
}

header.site-header {
  background: var(--navy);
  color: #fff;
}
.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 0;
  max-width: var(--max);
  margin: 0 auto;
  padding-left: 24px;
  padding-right: 24px;
}
.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  color: #fff;
  text-decoration: none;
  font-weight: 800;
  font-size: 19px;
  letter-spacing: -0.01em;
}
.brand .whistle { color: var(--amber); }
.nav-links { display: flex; align-items: center; gap: 26px; }
.nav-links a { color: #cbd5e1; text-decoration: none; font-size: 14.5px; font-weight: 500; }
.nav-links a:hover { color: #fff; }
.nav-cta {
  background: var(--amber);
  color: #1c1917 !important;
  padding: 9px 18px;
  border-radius: 999px;
  font-weight: 700 !important;
}

.hero {
  background: var(--navy);
  color: #fff;
  padding: 64px 0 88px;
}
.hero h1 { font-size: 42px; line-height: 1.15; margin: 0 0 18px; max-width: 640px; letter-spacing: -0.02em; }
.hero p.lede { font-size: 18px; color: #cbd5e1; max-width: 560px; margin: 0 0 30px; }
.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; }

.btn {
  display: inline-block;
  padding: 13px 26px;
  border-radius: 999px;
  font-weight: 700;
  font-size: 15px;
  text-decoration: none;
  border: 2px solid transparent;
  cursor: pointer;
}
.btn-primary { background: var(--amber); color: #1c1917; }
.btn-primary:hover { background: var(--amber-2); }
.btn-outline { background: transparent; border-color: #475569; color: #fff; }
.btn-outline:hover { border-color: #94a3b8; }
.btn-dark { background: var(--navy); color: #fff; }
.btn-dark:hover { background: var(--navy-2); }
.btn:disabled { opacity: .55; cursor: not-allowed; }

.trust-strip {
  background: var(--cream);
  border-bottom: 1px solid var(--line);
  padding: 14px 0;
  font-size: 13.5px;
  color: var(--ink-soft);
  text-align: center;
}
.trust-strip strong { color: var(--ink); }

section { padding: 72px 0; }
section.tight { padding: 48px 0; }
h2.section-title { font-size: 30px; letter-spacing: -0.01em; margin: 0 0 12px; }
p.section-sub { color: var(--ink-soft); font-size: 16.5px; max-width: 620px; margin: 0 0 40px; }

.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 22px; }
@media (max-width: 860px) { .grid-3, .grid-2 { grid-template-columns: 1fr; } .hero h1 { font-size: 32px; } }

.card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 28px;
}
.step-card .step-num {
  display: inline-flex; align-items: center; justify-content: center;
  width: 34px; height: 34px; border-radius: 50%;
  background: var(--navy); color: #fff; font-weight: 800; font-size: 15px;
  margin-bottom: 14px;
}
.step-card h3 { margin: 0 0 8px; font-size: 18px; }
.step-card p { color: var(--ink-soft); margin: 0; font-size: 14.5px; }

.tier-card {
  display: flex; flex-direction: column;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
  padding: 28px;
  position: relative;
}
.tier-card.featured { border: 2px solid var(--navy); box-shadow: 0 10px 30px rgba(15,23,42,.08); }
.tier-card .badge {
  position: absolute; top: -12px; right: 24px;
  background: var(--amber); color: #1c1917; font-size: 12px; font-weight: 800;
  padding: 5px 12px; border-radius: 999px;
}
.tier-card h3 { font-size: 20px; margin: 0 0 4px; }
.tier-card .price { font-size: 34px; font-weight: 800; margin: 6px 0 4px; }
.tier-card .price span { font-size: 14px; font-weight: 500; color: var(--ink-soft); }
.tier-card .blurb { color: var(--ink-soft); font-size: 14px; margin-bottom: 18px; }
.tier-card ul { list-style: none; padding: 0; margin: 0 0 22px; flex: 1; }
.tier-card li { font-size: 14.5px; padding: 7px 0 7px 24px; position: relative; border-top: 1px solid #f1efe9; }
.tier-card li:first-child { border-top: none; }
.tier-card li:before { content: "✓"; position: absolute; left: 0; color: var(--green); font-weight: 800; }
.tier-card .turnaround { font-size: 12.5px; color: var(--ink-soft); margin-top: 10px; text-align: center; }

.faq-item { border-bottom: 1px solid var(--line); padding: 20px 0; }
.faq-item summary { cursor: pointer; font-weight: 700; font-size: 16px; list-style: none; display: flex; justify-content: space-between; align-items: center; }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary:after { content: "+"; font-size: 22px; color: var(--ink-soft); font-weight: 400; }
.faq-item[open] summary:after { content: "–"; }
.faq-item p, .faq-item ul { color: var(--ink-soft); font-size: 15px; margin-top: 12px; }

.sample-report {
  border: 1px solid var(--line); border-radius: var(--radius); background: #fff; overflow: hidden;
}
.sample-report .sr-head { background: var(--cream); padding: 16px 20px; border-bottom: 1px solid var(--line); display:flex; justify-content:space-between; align-items:center;}
.sample-report .sr-body { padding: 22px; }
.grade-chip { width: 36px; height: 36px; border-radius: 50%; color: #fff; font-weight: 800; display:flex; align-items:center; justify-content:center; }
.flag-row { display:flex; gap:12px; padding: 12px 0; border-top: 1px solid #f1efe9; }
.flag-row:first-child { border-top: none; }
.flag-tag { font-size: 10.5px; font-weight: 800; text-transform: uppercase; padding: 3px 8px; border-radius: 6px; height: fit-content; white-space: nowrap; }
.flag-tag.red { background: #fee2e2; color: var(--red); }
.flag-tag.caution { background: #fef3c7; color: var(--yellow); }
.flag-tag.info { background: #e2e8f0; color: #475569; }

form.upload-form { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 28px; }
.field { margin-bottom: 18px; }
.field label { display:block; font-weight: 600; font-size: 14px; margin-bottom: 6px; }
.field input[type="text"], .field input[type="email"], .field select {
  width: 100%; padding: 11px 13px; border: 1px solid #d6d3d1; border-radius: 8px; font-size: 15px; font-family: inherit;
}
.dropzone {
  border: 2px dashed #d6d3d1; border-radius: 10px; padding: 26px; text-align: center; color: var(--ink-soft); font-size: 14px;
  background: var(--cream);
}
.dropzone.dragover { border-color: var(--amber); background: #fff7ed; }
.file-list { list-style: none; padding: 0; margin: 12px 0 0; font-size: 13.5px; }
.file-list li { padding: 4px 0; }
.tier-select { display: grid; gap: 10px; }
.tier-option { border: 1px solid var(--line); border-radius: 10px; padding: 14px 16px; cursor: pointer; display:flex; justify-content:space-between; align-items:center; }
.tier-option input { margin-right: 10px; }
.tier-option.selected { border-color: var(--navy); background: #f8fafc; }
.error-box { background: #fef2f2; border: 1px solid #fecaca; color: var(--red); padding: 12px 16px; border-radius: 8px; font-size: 14px; margin-bottom: 16px; }
.status-box { text-align: center; padding: 60px 20px; }
.spinner { width: 34px; height: 34px; border: 3px solid #e7e5e4; border-top-color: var(--navy); border-radius: 50%; margin: 0 auto 20px; animation: spin 1s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }

footer.site-footer { background: var(--navy); color: #94a3b8; padding: 48px 0 32px; font-size: 13.5px; margin-top: 40px; }
footer.site-footer a { color: #cbd5e1; text-decoration: none; }
footer.site-footer .foot-links { display:flex; gap: 22px; margin-top: 14px; flex-wrap: wrap; }
footer.site-footer .disclaimer { margin-top: 24px; padding-top: 24px; border-top: 1px solid #1e293b; color: #64748b; font-size: 12.5px; max-width: 700px; }

.preview-banner {
  background: #fef3c7;
  color: #78350f;
  text-align: center;
  font-size: 13.5px;
  font-weight: 600;
  padding: 9px 16px;
  border-bottom: 1px solid #fde68a;
}
