/* VeterinaryNutritionists.com — base styles */
:root {
  --bg: #f7f4ee;
  --surface: #ffffff;
  --surface-alt: #efe9de;
  --ink: #1c2622;
  --ink-soft: #4a5550;
  --muted: #6d7671;
  --green: #1f4d3a;
  --green-deep: #163a2b;
  --green-tint: #e3ece6;
  --accent: #c2603a;
  --accent-deep: #a44e2d;
  --line: #ddd5c7;
  --radius: 14px;
  --shadow: 0 1px 2px rgba(28, 38, 34, .06), 0 8px 24px rgba(28, 38, 34, .06);
  --serif: "Fraunces", Georgia, "Times New Roman", serif;
  --sans: "Source Sans 3", -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  --wrap: 1140px;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 18px;
  line-height: 1.65;
}
img, svg { max-width: 100%; display: block; }
a { color: var(--green); text-underline-offset: 3px; }
a:hover { color: var(--accent-deep); }

.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 20px; }

h1, h2, h3 { font-family: var(--serif); font-weight: 600; line-height: 1.15; color: var(--green-deep); margin: 0 0 .5em; letter-spacing: -.01em; }
h1 { font-size: clamp(2.1rem, 4.6vw, 3.4rem); }
h2 { font-size: clamp(1.6rem, 3vw, 2.3rem); }
h3 { font-size: 1.25rem; }
p { margin: 0 0 1em; }

.eyebrow { font-family: var(--sans); font-size: .8rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--accent-deep); margin-bottom: .75rem; display: block; }
.lede { font-size: 1.15rem; color: var(--ink-soft); max-width: 40em; }

/* Header */
.site-header { background: var(--bg); border-bottom: 1px solid var(--line); position: sticky; top: 0; z-index: 20; }
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 70px; }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; color: var(--green-deep); font-family: var(--serif); font-weight: 600; font-size: 1.2rem; }
.brand svg { width: 34px; height: 34px; }
.brand span b { color: var(--accent-deep); font-weight: 600; }
.nav { display: flex; gap: 22px; }
.nav a { text-decoration: none; color: var(--ink-soft); font-weight: 600; font-size: .95rem; }
.nav a:hover { color: var(--green); }
.nav-toggle { display: none; background: none; border: 1px solid var(--line); border-radius: 8px; padding: 6px 10px; font: inherit; font-size: .9rem; color: var(--ink); cursor: pointer; }

/* Buttons */
.btn { display: inline-block; padding: 13px 22px; border-radius: 999px; font-weight: 700; text-decoration: none; font-size: 1rem; transition: background .15s, color .15s, border-color .15s; }
.btn-primary { background: var(--accent); color: #fff; }
.btn-primary:hover { background: var(--accent-deep); color: #fff; }
.btn-ghost { border: 2px solid var(--green); color: var(--green); }
.btn-ghost:hover { background: var(--green); color: #fff; }

/* Hero */
.hero { padding: 64px 0 56px; }
.hero .wrap { display: grid; grid-template-columns: 1.15fr .85fr; gap: 48px; align-items: center; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin: 28px 0 18px; }
.hero-note { font-size: .9rem; color: var(--muted); display: flex; gap: 8px; align-items: flex-start; max-width: 34em; }
.hero-note svg { flex: none; width: 18px; height: 18px; margin-top: 4px; }
.hero-art { background: var(--green-tint); border-radius: 28px; padding: 28px; aspect-ratio: 1 / 1; display: grid; place-items: center; }

/* Facts strip */
.facts { background: var(--green); color: #f3efe6; }
.facts .wrap { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0; }
.fact { padding: 30px 26px; border-left: 1px solid rgba(255,255,255,.14); }
.fact:first-child { border-left: 0; padding-left: 0; }
.fact strong { display: block; font-family: var(--serif); font-size: 2.1rem; font-weight: 600; color: #fff; line-height: 1.1; margin-bottom: 6px; }
.fact span { font-size: .98rem; color: #d6e2da; }
.fact small { display: block; margin-top: 6px; font-size: .78rem; color: #a9c0b2; }

/* Sections */
.section { padding: 76px 0; }
.section-alt { background: var(--surface-alt); }
.section-head { max-width: 46em; margin-bottom: 36px; }

/* Compare table */
.compare { width: 100%; border-collapse: separate; border-spacing: 0; background: var(--surface); border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); font-size: 1rem; }
.compare th, .compare td { padding: 16px 18px; text-align: left; vertical-align: top; border-bottom: 1px solid var(--line); }
.compare thead th { background: var(--green-deep); color: #fff; font-weight: 700; font-size: .95rem; }
.compare tbody th { font-weight: 700; color: var(--green-deep); width: 22%; }
.compare tbody tr:last-child th, .compare tbody tr:last-child td { border-bottom: 0; }
.compare .hl { background: #f4f8f5; }
.table-scroll { overflow-x: auto; -webkit-overflow-scrolling: touch; border-radius: var(--radius); }

/* Cards */
.grid { display: grid; gap: 20px; }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }
.card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; }
.card h3 { margin-bottom: .35em; }
.card p { font-size: 1rem; color: var(--ink-soft); margin: 0; }
.card .icon { width: 44px; height: 44px; border-radius: 12px; background: var(--green-tint); display: grid; place-items: center; margin-bottom: 14px; }
.card .icon svg { width: 24px; height: 24px; }

/* Steps */
.steps { counter-reset: step; display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.step { position: relative; padding-top: 52px; }
.step::before { counter-increment: step; content: counter(step); position: absolute; top: 0; left: 0; width: 38px; height: 38px; border-radius: 50%; background: var(--accent); color: #fff; font-weight: 700; display: grid; place-items: center; font-family: var(--serif); }
.step h3 { font-size: 1.12rem; }
.step p { font-size: 1rem; color: var(--ink-soft); }

/* Products */
.product { display: flex; flex-direction: column; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.product-top { background: var(--green-tint); padding: 22px 24px; }
.product-tag { display: inline-block; font-size: .75rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--green); background: #fff; padding: 4px 10px; border-radius: 999px; margin-bottom: 10px; }
.product-top h3 { margin: 0; }
.product-body { padding: 20px 24px 24px; display: flex; flex-direction: column; flex: 1; }
.product-body p { font-size: 1rem; color: var(--ink-soft); }
.product-body ul { margin: 0 0 18px; padding-left: 20px; font-size: .97rem; color: var(--ink-soft); }
.product-body .btn { margin-top: auto; text-align: center; }
.disclosure-inline { font-size: .85rem; color: var(--muted); margin-top: 22px; }

/* Callout */
.callout { background: var(--surface); border: 1px solid var(--line); border-left: 5px solid var(--accent); border-radius: var(--radius); padding: 22px 26px; margin-top: 30px; }
.callout p:last-child { margin: 0; }

/* Careers band */
.band { background: var(--green-deep); color: #e8efe9; border-radius: 24px; padding: 44px; display: grid; grid-template-columns: 1.4fr 1fr; gap: 30px; align-items: center; }
.band h2 { color: #fff; }
.band p { color: #cfdcd3; }
.band .btn-primary { justify-self: start; }
.band-links { display: flex; flex-direction: column; align-items: flex-start; gap: 14px; }

/* FAQ */
.faq { max-width: 820px; }
.faq details { background: var(--surface); border: 1px solid var(--line); border-radius: 12px; margin-bottom: 12px; }
.faq summary { cursor: pointer; padding: 18px 22px; font-weight: 700; color: var(--green-deep); list-style: none; display: flex; justify-content: space-between; gap: 16px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font-family: var(--serif); font-size: 1.4rem; line-height: 1; color: var(--accent); }
.faq details[open] summary::after { content: "–"; }
.faq .answer { padding: 0 22px 18px; color: var(--ink-soft); }
.faq .answer p:last-child { margin: 0; }

/* Footer */
.site-footer { background: #13231c; color: #b8c7bd; padding: 52px 0 30px; font-size: .95rem; margin-top: 76px; }
.site-footer a { color: #e3ece6; text-decoration: none; }
.site-footer a:hover { color: #fff; text-decoration: underline; }
.footer-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr; gap: 32px; }
.footer-grid h4 { font-family: var(--sans); font-size: .8rem; letter-spacing: .12em; text-transform: uppercase; color: #fff; margin: 0 0 12px; }
.footer-grid ul { list-style: none; padding: 0; margin: 0; }
.footer-grid li { margin-bottom: 8px; }
.footer-legal { border-top: 1px solid rgba(255,255,255,.1); margin-top: 36px; padding-top: 20px; font-size: .85rem; color: #8fa397; }

/* Responsive */
@media (max-width: 960px) {
  .hero .wrap { grid-template-columns: 1fr; }
  .hero-art { max-width: 380px; aspect-ratio: auto; }
  .grid-4, .steps { grid-template-columns: repeat(2, 1fr); }
  .grid-3 { grid-template-columns: 1fr 1fr; }
  .band { grid-template-columns: 1fr; padding: 34px; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 720px) {
  body { font-size: 17px; }
  .nav { display: none; position: absolute; top: 70px; left: 0; right: 0; background: var(--bg); flex-direction: column; gap: 0; border-bottom: 1px solid var(--line); }
  .nav.open { display: flex; }
  .nav a { padding: 14px 20px; border-top: 1px solid var(--line); }
  .nav-toggle { display: block; }
  .hero { padding: 40px 0; }
  .facts .wrap { grid-template-columns: 1fr; }
  .fact { border-left: 0; border-top: 1px solid rgba(255,255,255,.14); padding: 22px 0; }
  .fact:first-child { border-top: 0; }
  .grid-3, .grid-4, .steps { grid-template-columns: 1fr; }
  .section { padding: 56px 0; }
  .footer-grid { grid-template-columns: 1fr; }
}

/* Inner pages */
.page-hero { padding: 48px 0 28px; border-bottom: 1px solid var(--line); }
.page-hero h1 { max-width: 22em; }
.page-hero .lede { margin-bottom: 0; }
.breadcrumb { font-size: .88rem; color: var(--muted); margin-bottom: 14px; }
.breadcrumb a { color: var(--muted); }
.updated { font-size: .88rem; color: var(--muted); margin-top: 14px; }
.layout { display: grid; grid-template-columns: minmax(0, 1fr) 300px; gap: 48px; padding: 44px 0 20px; }
.prose { max-width: 760px; }
.prose h2 { margin-top: 1.8em; }
.prose h3 { margin-top: 1.4em; }
.prose ul, .prose ol { padding-left: 1.3em; margin: 0 0 1.2em; }
.prose li { margin-bottom: .45em; }
.prose table { width: 100%; border-collapse: collapse; margin: 0 0 1.4em; font-size: .97rem; background: var(--surface); }
.prose th, .prose td { border: 1px solid var(--line); padding: 10px 12px; text-align: left; vertical-align: top; }
.prose th { background: var(--green-tint); color: var(--green-deep); }
.prose .table-scroll { margin-bottom: 1.4em; }
.prose .grid-3 { margin: 10px 0 18px; }
.aside-box { position: sticky; top: 90px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 22px; }
.aside-box h3 { font-size: 1.05rem; }
.aside-box ul { list-style: none; padding: 0; margin: 0; font-size: .95rem; }
.aside-box li { padding: 7px 0; border-top: 1px solid var(--line); }
.aside-box li:first-child { border-top: 0; }
.aside-box a { text-decoration: none; }
.callout-warn { border-left-color: #b4432e; }
@media (max-width: 960px) { .layout { grid-template-columns: 1fr; } .aside-box { position: static; } }
