/* FoxHound Threat Intelligence: palette taken from the approved logo */
:root {
  --navy: #011722;          /* logo background, used for header/hero/footer bands */
  --navy-2: #0f1b2d;        /* report navy */
  --orange: #f57a2a;        /* logo orange (on navy) */
  --orange-report: #e3701a;
  --blue: #5bb8f0;          /* logo blue (on navy) */
  --blue-ink: #1b5b8f;      /* blue for links on white (AA) */
  --ink: #10202e;
  --muted: #45566a;
  --line: #d6dee6;
  --bg: #ffffff;
  --bg-alt: #f2f5f8;
  --on-navy: #e8f2fa;
  --on-navy-muted: #b9cad8;
  --radius: 10px;
  --font: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, "Noto Sans", sans-serif;
}

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

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font);
  font-size: 1.0625rem;
  line-height: 1.6;
}

img { max-width: 100%; height: auto; display: block; }

a { color: var(--blue-ink); text-underline-offset: 2px; }
a:hover { text-decoration-thickness: 2px; }

:focus-visible { outline: 3px solid var(--blue-ink); outline-offset: 2px; border-radius: 2px; }
.band :focus-visible { outline-color: var(--orange); }

h1, h2, h3 { line-height: 1.2; margin: 0 0 .6em; }
h1 { font-size: clamp(1.9rem, 5vw, 3rem); letter-spacing: -.01em; }
h2 { font-size: clamp(1.5rem, 3.5vw, 2.1rem); }
h3 { font-size: 1.15rem; }

.wrap { width: 100%; max-width: 1120px; margin: 0 auto; padding: 0 16px; }
.narrow { max-width: 760px; }

.skip-link {
  position: absolute; left: 8px; top: -100px; z-index: 10;
  background: var(--orange); color: var(--navy); padding: 8px 14px; border-radius: 6px; font-weight: 700;
}
.skip-link:focus { top: 8px; }

/* Navy bands: logo sits on its own background colour */
.band { background: var(--navy); color: var(--on-navy); }
.band a { color: var(--on-navy); }

.site-header {
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  padding-top: 14px; padding-bottom: 14px;
}
.brand img { width: 200px; }
@media (min-width: 600px) { .brand img { width: 240px; } }

.site-nav { display: none; gap: 22px; font-size: .95rem; }
.site-nav a { text-decoration: none; color: var(--on-navy-muted); padding: 6px 0; }
.site-nav a:hover { color: var(--on-navy); text-decoration: underline; }
@media (min-width: 900px) { .site-nav { display: flex; } }

.hero { padding-top: 40px; padding-bottom: 64px; max-width: 1120px; }
.hero h1 { max-width: 18ch; color: #fff; }
.hero .lead { font-size: clamp(1.1rem, 2.4vw, 1.3rem); color: var(--on-navy); max-width: 60ch; margin: 0 0 28px; }
.hero-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 24px; }
.hero .text-link { color: var(--blue); font-weight: 600; }
.trust { margin: 22px 0 0; font-size: .9rem; color: var(--on-navy-muted); }

/* Buttons */
.button {
  display: inline-block; border: 2px solid var(--orange); background: var(--orange); color: var(--navy);
  font: inherit; font-weight: 700; text-decoration: none; padding: 12px 22px; border-radius: 8px; cursor: pointer;
  min-height: 48px;
}
.button:hover { background: #ff9147; border-color: #ff9147; text-decoration: none; }
.band .button { color: var(--navy); }
.button-outline { background: transparent; color: var(--navy-2); border-color: var(--navy-2); }
.button-outline:hover { background: var(--navy-2); border-color: var(--navy-2); color: #fff; }

/* Sections */
.section { padding: 64px 0; }
.section-alt { background: var(--bg-alt); }

.cards { list-style: none; margin: 0; padding: 0; display: grid; gap: 16px; grid-template-columns: 1fr; }
@media (min-width: 640px) { .cards { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1000px) { .cards { grid-template-columns: repeat(3, 1fr); } }
.card {
  background: #fff; border: 1px solid var(--line); border-top: 4px solid var(--orange-report);
  border-radius: var(--radius); padding: 20px;
}
.card:nth-child(even) { border-top-color: var(--blue-ink); }
.card-q { font-weight: 600; margin: 0 0 10px; }
.card-what { color: var(--muted); margin: 0; font-size: .97rem; }
.label { font-weight: 600; color: var(--ink); }

.steps { margin: 0; padding: 0; list-style: none; counter-reset: step; display: grid; gap: 16px; }
@media (min-width: 900px) { .steps { grid-template-columns: repeat(3, 1fr); } }
.steps li {
  counter-increment: step; background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 20px 20px 20px 72px; position: relative;
}
.steps li::before {
  content: counter(step); position: absolute; left: 20px; top: 18px;
  width: 36px; height: 36px; border-radius: 50%; background: var(--navy); color: var(--orange);
  font-weight: 700; display: grid; place-items: center;
}
.steps strong { display: block; font-size: 1.1rem; }

/* Prices: table on wide screens, stacked rows on narrow */
.prices { width: 100%; border-collapse: collapse; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); }
.prices th, .prices td { text-align: left; vertical-align: top; padding: 14px 16px; border-bottom: 1px solid var(--line); }
.prices thead th { background: var(--navy-2); color: #fff; font-size: .95rem; }
.prices tbody th { width: 26%; }
.prices .price { font-weight: 700; white-space: nowrap; font-size: 1.15rem; }
.prices tbody tr:last-child > * { border-bottom: 0; }
@media (max-width: 699px) {
  .prices thead { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
  .prices, .prices tbody, .prices tr, .prices th, .prices td { display: block; width: auto; }
  .prices tr { border-bottom: 1px solid var(--line); padding: 8px 0; }
  .prices tbody tr:last-child { border-bottom: 0; }
  .prices th, .prices td { border: 0; padding: 4px 16px; }
  .prices tbody th { width: auto; font-size: 1.1rem; }
}
.small-print { font-size: .92rem; color: var(--muted); margin-top: 14px; }

.about-grid { display: grid; gap: 24px; align-items: start; }
@media (min-width: 760px) { .about-grid { grid-template-columns: 220px 1fr; } }
.about-icon img { width: 100%; max-width: 220px; border-radius: var(--radius); } /* icon keeps its own navy background */
.credentials { color: var(--muted); font-size: .97rem; }

.faq { margin: 0; }
.faq dt { font-weight: 700; margin-top: 22px; }
.faq dt:first-child { margin-top: 0; }
.faq dd { margin: 4px 0 0; }

/* Form */
.request-form { display: grid; gap: 18px; }
.field label, .check label { font-weight: 600; }
.field input, .field select, .field textarea {
  display: block; width: 100%; margin-top: 6px; font: inherit; color: var(--ink);
  border: 1.5px solid #8696a6; border-radius: 8px; padding: 10px 12px; background: #fff; min-height: 46px;
}
.field textarea { resize: vertical; }
.field input:focus-visible, .field select:focus-visible, .field textarea:focus-visible { border-color: var(--blue-ink); }
.field [aria-invalid="true"] { border-color: #b3261e; }
.help { margin: 6px 0 0; font-size: .92rem; color: var(--muted); }
.req { font-weight: 400; color: var(--muted); font-size: .9rem; }
.check { display: grid; grid-template-columns: 24px 1fr; gap: 10px; align-items: start; }
.check input { width: 22px; height: 22px; margin: 3px 0 0; accent-color: var(--navy-2); }
.check label { font-weight: 400; }
.field-error { margin: 6px 0 0; color: #b3261e; font-weight: 600; font-size: .95rem; }
.check .field-error { grid-column: 2; }
.form-error {
  border: 2px solid #b3261e; background: #fdf0ef; color: #6b1410; border-radius: 8px;
  padding: 14px 16px; margin-bottom: 20px; font-weight: 600;
}
.form-error a { color: #6b1410; }
.form-error[hidden] { display: none; }
.request-form .button { justify-self: start; }

/* Honeypot: off-screen, not display:none (some bots skip hidden fields) */
.hp { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }

/* Inner pages */
.prose h1 { font-size: clamp(1.8rem, 4vw, 2.4rem); }
.prose .meta { color: var(--muted); }
.prose ul { padding-left: 1.2em; }
.prose li { margin-bottom: 8px; }
.simple { width: 100%; border-collapse: collapse; margin: 0 0 1em; font-size: .97rem; }
.simple th, .simple td { text-align: left; vertical-align: top; border: 1px solid var(--line); padding: 10px 12px; }
.simple thead th { background: var(--bg-alt); }
.lead-dark { font-size: 1.2rem; }

/* Footer */
.site-footer { padding: 36px 0 44px; font-size: .92rem; }
.site-footer img { width: 180px; margin-bottom: 14px; }
.site-footer p { margin: 0; color: var(--on-navy-muted); overflow-wrap: anywhere; }
.site-footer a { color: var(--on-navy); }

.verify { border-left: 4px solid var(--orange-report); background: var(--bg-alt); padding: 12px 16px; border-radius: 0 8px 8px 0; font-size: .97rem; }
