/* Vetted Index: colours from the logo (navy #1b3043, green tick) */
:root {
  --navy: #1b3043;
  --navy-deep: #13233a;
  --green: #3f9a35;
  --green-light: #e9f5e6;
  --ink: #1d2733;
  --muted: #5a6776;
  --line: #dfe5ec;
  --bg: #f5f7f9;
  --card: #ffffff;
  --radius: 10px;
  --font: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; font-family: var(--font); font-size: 1.0625rem; line-height: 1.65; color: var(--ink); background: var(--bg); }
img { max-width: 100%; height: auto; }
a { color: #1d5fa8; text-underline-offset: 2px; }
a:hover { color: var(--navy); }
:focus-visible { outline: 3px solid var(--green); outline-offset: 2px; }
h1, h2, h3 { line-height: 1.25; color: var(--navy); }

.wrap { max-width: 1120px; margin: 0 auto; padding: 0 16px; }
.wrap.narrow { max-width: 820px; }
.skip { position: absolute; left: -9999px; }
.skip:focus { left: 16px; top: 8px; z-index: 10; background: #fff; padding: 8px 12px; border-radius: 6px; }

/* Header */
.site-header { background: var(--navy); border-bottom: 3px solid var(--green); }
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; min-height: 64px; padding-top: 10px; padding-bottom: 10px; }
.brand img { display: block; height: 36px; width: auto; }
.site-header nav { display: flex; align-items: center; gap: 4px 18px; flex-wrap: wrap; }
.site-header nav a { color: #e8eef5; text-decoration: none; font-weight: 500; font-size: 0.95rem; }
.site-header nav a:hover { color: #fff; text-decoration: underline; }
.site-header .nav-cta { background: var(--green); color: #fff; padding: 7px 14px; border-radius: 999px; }
.site-header .nav-cta:hover { background: #358a2c; text-decoration: none; }

/* Buttons and boxes */
.button { display: inline-block; background: var(--green); color: #fff; font-weight: 600; text-decoration: none; padding: 11px 20px; border-radius: 8px; border: 0; font-size: 1rem; cursor: pointer; font-family: inherit; }
.button:hover { background: #358a2c; color: #fff; }
.claim-box { background: var(--green-light); border: 1px solid #bfdfb8; border-left: 5px solid var(--green); border-radius: var(--radius); padding: 22px 24px; margin: 36px 0; }
.claim-box h2 { margin-top: 0; font-size: 1.3rem; }
.claim-box p { margin: 0 0 16px; }

/* Home */
.hero { background: linear-gradient(160deg, var(--navy) 0%, var(--navy-deep) 100%); color: #e8eef5; padding: 48px 0 40px; }
.hero h1 { color: #fff; font-size: clamp(1.7rem, 4.5vw, 2.6rem); margin: 0 0 14px; max-width: 820px; }
.hero .lead { font-size: 1.15rem; max-width: 760px; margin: 0 0 14px; }
.hero-stats { color: #a9c3a4; font-weight: 600; font-size: 0.95rem; margin: 0 0 20px; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chips a { color: #fff; text-decoration: none; border: 1px solid rgba(255,255,255,0.35); border-radius: 999px; padding: 6px 14px; font-size: 0.92rem; }
.chips a:hover { background: rgba(255,255,255,0.12); }
.category { padding: 36px 0 8px; scroll-margin-top: 12px; }
.category-head h2 { margin: 0 0 4px; font-size: 1.5rem; }
.category-head p { margin: 0 0 18px; color: var(--muted); }
.cards { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(290px, 1fr)); gap: 16px; }
.card a { display: flex; flex-direction: column; height: 100%; background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 18px 20px; text-decoration: none; color: var(--ink); transition: border-color .15s, box-shadow .15s; }
.card a:hover { border-color: var(--green); box-shadow: 0 4px 14px rgba(27,48,67,0.08); }
.card h3 { margin: 0 0 8px; font-size: 1.08rem; }
.card p { margin: 0 0 12px; color: var(--muted); font-size: 0.95rem; flex-grow: 1; }
.card-meta { font-size: 0.82rem; color: var(--muted); }
.empty { color: var(--muted); font-style: italic; }
.category-suppliers { margin: 14px 0 0; font-size: 0.95rem; }
.how { padding: 40px 0 0; }
.how-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 16px; }
.how-grid > div { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 18px 20px; }
.how-grid h3 { margin: 0 0 6px; font-size: 1.05rem; }
.how-grid p { margin: 0; color: var(--muted); font-size: 0.95rem; }

/* Guides and text pages */
.breadcrumbs { font-size: 0.88rem; color: var(--muted); padding: 18px 0 0; }
.breadcrumbs a { color: var(--muted); }
.guide, .prose { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 28px 32px 8px; margin: 14px 0 40px; }
.eyebrow { text-transform: uppercase; letter-spacing: .06em; font-size: 0.78rem; font-weight: 700; color: var(--green); margin: 0 0 6px; }
.guide h1, .prose h1 { font-size: clamp(1.6rem, 4vw, 2.2rem); margin: 0 0 10px; }
.guide-meta { color: var(--muted); font-size: 0.9rem; margin: 0 0 8px; padding-bottom: 18px; border-bottom: 1px solid var(--line); }
.guide-body h2, .prose h2, .suppliers h2, .related h2 { font-size: 1.35rem; margin: 34px 0 10px; }
.guide-body h3 { font-size: 1.1rem; margin: 22px 0 6px; }
.guide-body li, .prose li { margin-bottom: 6px; }
.lead { font-size: 1.12rem; color: #33414f; }
.table-wrap { overflow-x: auto; margin: 18px 0 8px; border: 1px solid var(--line); border-radius: 8px; }
table { width: 100%; border-collapse: collapse; font-size: 0.93rem; min-width: 640px; }
th, td { text-align: left; vertical-align: top; padding: 11px 14px; border-bottom: 1px solid var(--line); }
thead th { background: var(--navy); color: #fff; font-weight: 600; }
tbody tr:nth-child(even) { background: #f7f9fb; }
tbody tr:last-child td { border-bottom: 0; }
tbody td:first-child { font-weight: 600; color: var(--navy); }
.suppliers p { color: var(--muted); }
.vendor-list { list-style: none; padding: 0; }
.vendor-list li { border: 1px solid var(--line); border-radius: 8px; padding: 12px 16px; margin-bottom: 10px; }
.vendor-name { font-weight: 700; color: var(--navy); }
.badge { display: inline-block; font-size: 0.75rem; font-weight: 700; color: var(--green); background: var(--green-light); border-radius: 999px; padding: 2px 9px; margin-left: 6px; }
.related ul { padding-left: 20px; }
.not-found { text-align: center; padding-bottom: 28px; }

/* Claim form */
.claim-form { background: #f9fbfc; border: 1px solid var(--line); border-radius: var(--radius); padding: 22px; margin: 22px 0 10px; }
.field { margin-bottom: 16px; flex: 1; min-width: 0; }
.field-row { display: flex; gap: 16px; flex-wrap: wrap; }
.field-row .field { min-width: 220px; }
.field label { display: block; font-weight: 600; font-size: 0.95rem; margin-bottom: 5px; }
.field input, .field select, .field textarea { width: 100%; font: inherit; font-size: 1rem; padding: 10px 12px; border: 1px solid #c3ccd6; border-radius: 7px; background: #fff; color: var(--ink); }
.field.check { display: flex; gap: 10px; align-items: flex-start; }
.field.check input { width: auto; margin-top: 6px; }
.field.check label { font-weight: 500; }
.req { color: #b3261e; }
.form-note { font-size: 0.88rem; color: var(--muted); margin: 14px 0 0; }
.optional { font-weight: 400; color: var(--muted); font-size: 0.88rem; }
/* Trap field for bots: hidden from people and screen readers */
.hp { position: absolute; left: -10000px; top: auto; width: 1px; height: 1px; overflow: hidden; }
.quote-form { background: #f9fbfc; border: 1px solid var(--line); border-radius: var(--radius); padding: 22px; margin: 16px 0 10px; position: relative; }
.claim-form { position: relative; }
.quote-section { border-top: 1px solid var(--line); margin-top: 34px; }
.hero .button { margin-bottom: 6px; }
.message { text-align: left; padding-bottom: 24px; }

/* Footer */
.site-footer { background: var(--navy); color: #c9d5e2; padding: 34px 0 26px; font-size: 0.92rem; margin-top: 40px; }
.site-footer a { color: #e8eef5; }
.footer-grid { display: flex; justify-content: space-between; gap: 24px; flex-wrap: wrap; }
.footer-grid > div { max-width: 460px; }
.footer-grid nav { display: flex; flex-direction: column; gap: 6px; }
.footer-brand { color: #fff; font-weight: 700; font-size: 1.05rem; margin: 0 0 4px; }
.footer-grid p { margin: 0; }
.disclaimer { border-top: 1px solid rgba(255,255,255,0.15); margin: 24px 0 0; padding-top: 18px; font-size: 0.85rem; line-height: 1.55; }
.footer-meta { font-size: 0.82rem; color: #93a5b8; margin: 12px 0 0; }

@media (max-width: 600px) {
  body { font-size: 1rem; }
  .guide, .prose { padding: 20px 18px 4px; border-radius: 0; border-left: 0; border-right: 0; margin-left: -16px; margin-right: -16px; }
  .claim-box { padding: 18px; }
  .hero { padding: 34px 0 30px; }
  .brand img { height: 30px; }
}
