/* TheWebVet: one stylesheet, no frameworks, no web fonts (fast + private). */
:root {
  --ink: #17231f;
  --muted: #55625d;
  --line: #dfe3dc;
  --bg: #faf8f4;
  --card: #ffffff;
  --green: #1f6f5c;
  --green-dark: #164f42;
  --green-soft: #e6f0ec;
  --orange: #b84f1f;      /* white text = 5.0:1 (WCAG AA) */
  --orange-dark: #a8461a; /* white text = 5.9:1 */
  --red: #b3372c;
  --amber: #8a5700;
  --radius: 14px;
  --serif: "Iowan Old Style", "Palatino Linotype", Palatino, Georgia, serif;
  --sans: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --wrap: 1080px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.6;
  color: var(--ink);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
}
img, svg { max-width: 100%; display: block; }
a { color: var(--green); }
a:hover { color: var(--green-dark); }
:focus-visible { outline: 3px solid var(--orange); outline-offset: 2px; border-radius: 4px; }

.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 20px; }
.skip { position: absolute; left: -999px; }
.skip:focus { left: 12px; top: 12px; background: #fff; padding: 8px 12px; z-index: 10; }

/* Header */
.site-header {
  position: sticky; top: 0; z-index: 5;
  background: rgba(250, 248, 244, 0.94);
  backdrop-filter: blur(6px);
  border-bottom: 1px solid var(--line);
}
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; height: 64px; gap: 16px; }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; color: var(--ink); font-weight: 700; font-size: 19px; letter-spacing: -0.01em; }
.brand svg { width: 32px; height: 32px; }
.brand span b { color: var(--green); font-weight: 700; }
.nav { display: flex; align-items: center; gap: 22px; }
.nav a { color: var(--muted); text-decoration: none; font-size: 15px; }
.nav a:hover { color: var(--ink); }
.nav .btn { color: #fff; }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 48px; padding: 12px 22px;
  border-radius: 999px; border: 2px solid transparent;
  font: 600 16px/1.2 var(--sans); text-decoration: none; cursor: pointer;
  background: var(--orange); color: #fff;
  transition: background 0.15s ease;
}
.btn:hover { background: var(--orange-dark); color: #fff; }
.btn.small { min-height: 40px; padding: 8px 16px; font-size: 15px; }
.btn.ghost { background: transparent; color: var(--ink); border-color: var(--line); }
.btn.ghost:hover { border-color: var(--ink); color: var(--ink); }

/* Hero */
.hero { padding: 64px 0 56px; }
.hero .wrap { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 48px; align-items: center; }
.eyebrow { display: inline-block; font-size: 14px; font-weight: 600; color: var(--green); background: var(--green-soft); padding: 4px 12px; border-radius: 999px; margin-bottom: 18px; }
h1, h2, h3 { font-family: var(--serif); font-weight: 700; letter-spacing: -0.01em; line-height: 1.15; margin: 0 0 14px; }
h1 { font-size: clamp(34px, 5vw, 52px); }
h2 { font-size: clamp(28px, 3.6vw, 38px); }
h3 { font-size: 21px; }
.lead { font-size: 19px; color: var(--muted); max-width: 34em; margin: 0 0 28px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }
.hero-note { margin-top: 16px; font-size: 14px; color: var(--muted); }

/* Example checkup card */
.checkup {
  background: var(--card); border: 1px solid var(--line); border-radius: var(--radius);
  box-shadow: 0 1px 2px rgba(0,0,0,0.04), 0 12px 32px rgba(23,35,31,0.08);
  overflow: hidden;
}
.checkup-head { display: flex; justify-content: space-between; align-items: center; padding: 16px 20px; border-bottom: 1px solid var(--line); }
.checkup-head strong { font-size: 15px; }
.tag { font-size: 12px; font-weight: 600; text-transform: uppercase; letter-spacing: 0.05em; color: var(--muted); border: 1px solid var(--line); padding: 2px 8px; border-radius: 6px; }
.checkup ul { list-style: none; margin: 0; padding: 8px 20px 16px; }
.checkup li { display: grid; grid-template-columns: 66px 1fr; gap: 12px; padding: 12px 0; border-bottom: 1px dashed var(--line); font-size: 15px; }
.checkup li:last-child { border-bottom: 0; }
.checkup li small { display: block; color: var(--muted); font-size: 13.5px; }
.pill { font-size: 11.5px; font-weight: 700; padding: 3px 8px; border-radius: 6px; height: fit-content; white-space: nowrap; justify-self: start; }
.pill.high { background: #fbe9e6; color: var(--red); }
.pill.med { background: #fdf3dd; color: var(--amber); }
.pill.ok { background: var(--green-soft); color: var(--green-dark); }

/* Sections */
section { padding: 64px 0; }
section.alt { background: #fff; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.section-head { max-width: 640px; margin-bottom: 36px; }
.section-head p { color: var(--muted); margin: 0; }

.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.item { padding: 22px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--card); }
.item p { margin: 0; color: var(--muted); font-size: 15.5px; }
.item .icon { width: 40px; height: 40px; border-radius: 10px; background: var(--green-soft); color: var(--green); display: grid; place-items: center; margin-bottom: 14px; }
.item .icon svg { width: 22px; height: 22px; }

.steps { counter-reset: step; display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; list-style: none; padding: 0; margin: 0; }
.steps li { position: relative; padding: 22px 22px 22px 22px; border-left: 3px solid var(--green); background: var(--card); border-radius: 0 var(--radius) var(--radius) 0; }
.steps li::before { counter-increment: step; content: "Step " counter(step); display: block; font-size: 13px; font-weight: 700; color: var(--green); text-transform: uppercase; letter-spacing: 0.06em; margin-bottom: 6px; }
.steps p { margin: 0; color: var(--muted); font-size: 15.5px; }

/* Pricing */
.prices { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; align-items: stretch; }
.price { display: flex; flex-direction: column; padding: 26px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--card); }
.price.featured { border: 2px solid var(--green); }
.price .amount { font-family: var(--serif); font-size: 40px; font-weight: 700; margin: 4px 0 2px; }
.price .terms { font-size: 14px; color: var(--green-dark); font-weight: 600; margin-bottom: 14px; }
.price ul { padding-left: 20px; margin: 0 0 22px; color: var(--muted); font-size: 15.5px; }
.price li { margin-bottom: 6px; }
.price .btn { margin-top: auto; }
.fine { font-size: 14px; color: var(--muted); margin-top: 18px; }

/* Sample */
.sample { display: grid; grid-template-columns: 1fr 1fr; gap: 32px; align-items: center; }
.sample-frame { display: block; text-decoration: none; color: var(--ink); transition: box-shadow 0.15s ease; }
.sample-frame:hover { color: var(--ink); box-shadow: 0 12px 32px rgba(23,35,31,0.1); }
.sample-frame { border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; background: #fff; }
.sample-bar { display: flex; gap: 6px; padding: 10px 12px; border-bottom: 1px solid var(--line); background: #f3f1ec; }
.sample-bar i { width: 10px; height: 10px; border-radius: 50%; background: #d6d2c8; }
.sample-shot { padding: 22px; }
.sample-shot .s-h { font-family: var(--serif); font-size: 22px; font-weight: 700; margin-bottom: 6px; }
.sample-shot .s-p { color: var(--muted); font-size: 14px; margin-bottom: 14px; }
.sample-shot .s-b { display: inline-block; background: #2b5a8a; color: #fff; padding: 8px 14px; border-radius: 8px; font-size: 14px; font-weight: 600; }
.sample-shot .s-row { display: flex; gap: 8px; margin-top: 16px; }
.sample-shot .s-row span { flex: 1; height: 54px; border-radius: 8px; background: #eef2f6; }

/* FAQ */
.faq { max-width: 760px; }
.faq details { border-bottom: 1px solid var(--line); }
.faq details[open] { padding-bottom: 16px; }
.faq summary { padding: 16px 0; min-height: 48px; cursor: pointer; font-weight: 600; font-size: 17.5px; list-style: none; display: flex; justify-content: space-between; gap: 16px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; color: var(--green); font-size: 22px; line-height: 1; }
.faq details[open] summary::after { content: "–"; }
.faq details p { color: var(--muted); margin: 0; }

/* CTA */
.cta { background: var(--green-dark); color: #fff; border-radius: 20px; padding: 44px; display: grid; grid-template-columns: 1.3fr 1fr; gap: 32px; align-items: center; }
.cta h2 { color: #fff; }
.cta p { color: #d4e4de; margin: 0; }
.cta-box { background: rgba(255,255,255,0.07); border: 1px solid rgba(255,255,255,0.18); border-radius: var(--radius); padding: 22px; }
.cta-box ol { margin: 0 0 18px; padding-left: 20px; color: #e8f1ed; font-size: 15.5px; }
.contact-alt { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 12px; margin-top: 16px; }
.email-text { color: #fff; font-size: 15px; word-break: break-all; user-select: all; }
.copy-btn { min-height: 40px; padding: 8px 14px; border-radius: 999px; border: 1px solid rgba(255,255,255,0.45); background: transparent; color: #fff; font: 600 14px/1.2 var(--sans); cursor: pointer; }
.copy-btn:hover { background: rgba(255,255,255,0.12); }
.fb-link { display: inline-block; margin-top: 6px; padding: 10px 0; color: #fff; font-size: 15px; }
.fb-link:hover { color: #d4e4de; }

/* Footer */
.site-footer { padding: 40px 0 48px; color: var(--muted); font-size: 14.5px; }
.site-footer .wrap { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 20px; }
.site-footer nav { display: flex; gap: 18px; flex-wrap: wrap; }
.site-footer a { color: var(--muted); display: inline-block; padding: 12px 0; }
.site-footer nav { align-items: center; }

/* Inner pages (checklist, policies) */
.page-hero { padding: 48px 0 24px; }
.page-hero .lead { margin-bottom: 0; }
.prose { max-width: 760px; }
.prose h2 { margin-top: 40px; }
.prose p, .prose li { color: #2f3b37; }
.prose ul { padding-left: 22px; }
.checklist { list-style: none; padding: 0; margin: 0 0 8px; counter-reset: chk; }
.checklist li { counter-increment: chk; display: grid; grid-template-columns: 34px 1fr; gap: 14px; padding: 18px 0; border-bottom: 1px solid var(--line); }
.checklist li::before { content: counter(chk); width: 30px; height: 30px; border-radius: 50%; background: var(--green-soft); color: var(--green-dark); font-weight: 700; font-size: 14px; display: grid; place-items: center; }
.checklist strong { display: block; font-size: 17.5px; margin-bottom: 2px; }
.checklist p { margin: 0; color: var(--muted); font-size: 15.5px; }
.checklist .how { margin-top: 6px; font-size: 14.5px; color: var(--green-dark); }
.note-box { border: 1px solid var(--line); background: #fff; border-radius: var(--radius); padding: 20px 22px; margin: 28px 0; }
.note-box p { margin: 0; }
.updated { font-size: 14px; color: var(--muted); }
@media print {
  .site-header, .site-footer, .no-print { display: none !important; }
  body { background: #fff; font-size: 12pt; }
  .checklist li { break-inside: avoid; padding: 10px 0; }
}

/* Responsive */
@media (max-width: 900px) {
  .hero .wrap, .sample, .cta { grid-template-columns: 1fr; }
  .grid-3, .steps, .prices { grid-template-columns: 1fr; }
  .nav a:not(.btn) { display: none; }
  .hero { padding: 40px 0; }
  section { padding: 48px 0; }
  .cta { padding: 28px 22px; }
}
@media (max-width: 420px) {
  body { font-size: 16px; }
  .hero-actions .btn { width: 100%; }
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
