/* VetAnswering — styles.css
   Palette: deep teal primary, warm amber accent, warm off-white background.
   Mobile-first, no frameworks, no images. */

:root {
  --teal-900: #08312d;
  --teal-800: #0b423c;
  --teal-700: #0e5049;
  --teal-600: #14655b;
  --teal-100: #dceeea;
  --teal-050: #eef5f3;
  --amber-500: #e8a33d;
  --amber-600: #cf8a24;
  --amber-text: #8c5d18;
  --ink: #1d2a28;
  --ink-soft: #43534f;
  --bg: #fdfcfa;
  --bg-alt: #f3f6f3;
  --line: #dde5e1;
  --radius: 14px;
  --shadow: 0 10px 30px rgba(8, 49, 45, 0.10);
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
  color: var(--ink);
  background: var(--bg);
  line-height: 1.65;
  font-size: 17px;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3 {
  font-family: "Fraunces", Georgia, "Times New Roman", serif;
  color: var(--teal-900);
  line-height: 1.18;
  margin: 0 0 0.6em;
  font-weight: 600;
}

h1 { font-size: clamp(2.1rem, 5.2vw, 3.4rem); letter-spacing: -0.01em; }
h2 { font-size: clamp(1.6rem, 3.6vw, 2.3rem); }
h3 { font-size: 1.18rem; font-family: "Inter", system-ui, sans-serif; font-weight: 700; letter-spacing: -0.01em; }

p { margin: 0 0 1em; }
a { color: var(--teal-700); }
a:hover { color: var(--teal-600); }

.wrap {
  max-width: 1080px;
  margin: 0 auto;
  padding: 0 22px;
}

.eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.14em;
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--amber-text);
  margin-bottom: 0.9em;
}

/* ---------- Accessibility ---------- */
.skip-link {
  position: absolute;
  left: 16px;
  top: -80px;
  z-index: 50;
  background: var(--teal-800);
  color: #fff;
  padding: 10px 18px;
  border-radius: 999px;
  font-weight: 600;
  text-decoration: none;
  transition: top 0.15s ease;
}
.skip-link:focus { top: 12px; color: #fff; }

:focus-visible {
  outline: 3px solid var(--amber-text);
  outline-offset: 2px;
}
main[tabindex="-1"]:focus { outline: none; }
.site-footer :focus-visible,
.pricing-side :focus-visible,
.callout-safety :focus-visible,
.skip-link:focus-visible {
  outline-color: var(--amber-500);
}

/* ---------- Header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(253, 252, 250, 0.94);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--line);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding-top: 14px;
  padding-bottom: 14px;
  flex-wrap: wrap;
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  color: var(--teal-800);
}
.brand-mark {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  border-radius: 12px;
  background: var(--teal-700);
  color: #fff;
}
.brand-name {
  font-family: "Fraunces", Georgia, serif;
  font-size: 1.35rem;
  font-weight: 700;
  color: var(--teal-900);
}
.site-nav {
  display: flex;
  align-items: center;
  gap: 22px;
  flex-wrap: wrap;
}
.site-nav a {
  text-decoration: none;
  color: var(--ink-soft);
  font-weight: 500;
  font-size: 0.98rem;
}
.site-nav a:hover { color: var(--teal-700); }
.site-nav .nav-cta {
  background: var(--teal-700);
  color: #fff;
  padding: 9px 18px;
  border-radius: 999px;
  font-weight: 600;
}
.site-nav .nav-cta:hover { background: var(--teal-600); color: #fff; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-block;
  text-decoration: none;
  font-weight: 600;
  font-size: 1rem;
  padding: 14px 26px;
  border-radius: 999px;
  border: 2px solid transparent;
  cursor: pointer;
  transition: background 0.15s ease, color 0.15s ease, border-color 0.15s ease;
}
.btn-primary { background: var(--amber-500); color: #23180a; }
.btn-primary:hover { background: var(--amber-600); color: #23180a; }
.btn-ghost { border-color: var(--teal-700); color: var(--teal-700); background: transparent; }
.btn-ghost:hover { background: var(--teal-050); color: var(--teal-700); }
.btn-block { width: 100%; text-align: center; }

/* ---------- Hero ---------- */
.hero {
  background: linear-gradient(180deg, var(--teal-050) 0%, var(--bg) 100%);
  padding: 72px 0 64px;
}
.hero-inner { max-width: 820px; }
.hero-sub { font-size: 1.14rem; color: var(--ink-soft); max-width: 640px; }
.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; margin: 28px 0 40px; }
.stat-card {
  display: flex;
  gap: 22px;
  align-items: flex-start;
  background: #fff;
  border: 1px solid var(--line);
  border-left: 5px solid var(--amber-500);
  border-radius: var(--radius);
  padding: 24px 26px;
  box-shadow: var(--shadow);
}
.stat-number {
  font-family: "Fraunces", Georgia, serif;
  font-size: 2.6rem;
  font-weight: 700;
  color: var(--teal-800);
  margin: 0;
  line-height: 1;
}
.stat-text { margin: 0; color: var(--ink-soft); font-size: 0.99rem; }

/* ---------- Sections ---------- */
.section { padding: 76px 0; }
.section-alt { background: var(--bg-alt); }
.section h2 { max-width: 640px; }

/* Steps */
.steps {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
  margin-top: 36px;
}
.step {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 28px;
}
.step-num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: var(--teal-700);
  color: #fff;
  font-weight: 700;
  margin-bottom: 14px;
}
.step p { color: var(--ink-soft); margin-bottom: 0; }

.callout {
  margin-top: 28px;
  border-radius: var(--radius);
  padding: 28px;
}
.callout-safety {
  background: var(--teal-800);
  color: #eaf3f1;
}
.callout-safety h3 { color: #fff; }
.callout-safety p { margin-bottom: 0; color: #cfe2de; }

/* Sample placeholder */
.sample-inner {
  display: grid;
  grid-template-columns: 1fr;
  gap: 28px;
  align-items: center;
}
.sample-placeholder {
  border: 2px dashed var(--teal-600);
  border-radius: var(--radius);
  background: #fff;
  padding: 32px 28px;
  text-align: center;
}
.sample-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 62px;
  height: 62px;
  border-radius: 50%;
  background: var(--teal-100);
  color: var(--teal-700);
  margin-bottom: 12px;
}
.sample-title { font-weight: 700; font-size: 1.1rem; color: var(--teal-900); margin-bottom: 4px; }
.sample-text { color: var(--ink-soft); margin-bottom: 0; }

/* Included grid */
.included-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
  margin-top: 36px;
}
.feature {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 26px;
}
.feature h3 { margin-bottom: 0.4em; }
.feature p { color: var(--ink-soft); margin-bottom: 0; }

/* Pricing */
.pricing-card {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 18px;
  overflow: hidden;
  box-shadow: var(--shadow);
  margin-top: 36px;
}
.pricing-main { padding: 36px; }
.price { margin-bottom: 0.4em; }
.price-amount {
  font-family: "Fraunces", Georgia, serif;
  font-size: 3.2rem;
  font-weight: 700;
  color: var(--teal-800);
}
.price-per { color: var(--ink-soft); font-weight: 500; margin-left: 8px; }
.price-list { list-style: none; padding: 0; margin: 18px 0 28px; }
.price-list li {
  padding: 9px 0 9px 30px;
  position: relative;
  border-bottom: 1px solid var(--teal-050);
  color: var(--ink-soft);
}
.price-list li:last-child { border-bottom: none; }
.price-list li::before {
  content: "✓";
  position: absolute;
  left: 2px;
  color: var(--teal-600);
  font-weight: 700;
}
.pricing-side {
  background: var(--teal-800);
  color: #dcebe8;
  padding: 36px;
}
.pricing-side h3 { color: #fff; margin-top: 1.2em; }
.pricing-side h3:first-child { margin-top: 0; }
.pricing-side strong { color: var(--amber-500); }
.pricing-note {
  border-top: 1px solid rgba(255, 255, 255, 0.22);
  padding-top: 16px;
  margin-bottom: 0;
  font-size: 0.95rem;
}

/* FAQ */
.faq-wrap { max-width: 780px; }
.faq-item {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  margin-bottom: 12px;
  padding: 0 24px;
}
.faq-item summary {
  cursor: pointer;
  font-weight: 600;
  color: var(--teal-900);
  padding: 20px 0;
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 14px;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: "+";
  font-size: 1.5rem;
  font-weight: 400;
  color: var(--amber-text);
  line-height: 1;
}
.faq-item[open ] summary::after { content: "–"; }
.faq-item p { color: var(--ink-soft); padding-bottom: 20px; margin: 0; }

/* About */
.about-inner { max-width: 760px; }
.about-inner p { color: var(--ink-soft); font-size: 1.06rem; }
.about-inner strong { color: var(--teal-800); }

/* Contact */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 36px;
}
.contact-copy p { color: var(--ink-soft); }
.contact-form {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 30px;
  box-shadow: var(--shadow);
}
.contact-form label {
  display: block;
  font-weight: 600;
  font-size: 0.95rem;
  margin: 16px 0 6px;
  color: var(--teal-900);
}
.contact-form label:first-child { margin-top: 0; }
.contact-form .optional { font-weight: 400; color: var(--ink-soft); }
.contact-form input,
.contact-form textarea {
  width: 100%;
  font: inherit;
  font-size: 1rem;
  padding: 12px 14px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: var(--bg);
  color: var(--ink);
}
.contact-form input:focus,
.contact-form textarea:focus {
  outline: 2px solid var(--teal-600);
  outline-offset: 1px;
  border-color: var(--teal-600);
}
.contact-form button { margin-top: 22px; }
.form-note { font-size: 0.92rem; color: var(--ink-soft); margin: 14px 0 0; text-align: center; }

/* Footer */
.site-footer {
  background: var(--teal-900);
  color: #c4d8d4;
  padding: 52px 0 44px;
}
.footer-inner {
  display: grid;
  grid-template-columns: 1fr;
  gap: 28px;
}
.footer-brand {
  font-family: "Fraunces", Georgia, serif;
  font-size: 1.4rem;
  font-weight: 700;
  color: #fff;
  margin-bottom: 6px;
}
.footer-line { margin-bottom: 4px; }
.site-footer a { color: #fff; text-decoration: none; }
.site-footer a:hover { color: var(--amber-500); }
.footer-contact p { margin-bottom: 8px; }
.footer-fine { font-size: 0.86rem; color: #8fa8a3; max-width: 480px; margin-bottom: 0; }

/* ---------- Legal / simple pages ---------- */
.legal { max-width: 760px; }
.legal h1 { font-size: clamp(2rem, 4.6vw, 2.9rem); }
.legal h2 { font-size: 1.45rem; margin-top: 1.7em; }
.legal p, .legal li { color: var(--ink-soft); }
.legal strong { color: var(--ink); }
.legal ul { padding-left: 1.25em; margin: 0 0 1em; }
.legal li { margin-bottom: 0.45em; }

.error-page { text-align: center; }
.error-page .eyebrow { margin-bottom: 0.4em; }
.error-page p { color: var(--ink-soft); max-width: 480px; margin-left: auto; margin-right: auto; }

/* ---------- Larger screens ---------- */
@media (min-width: 720px) {
  .steps { grid-template-columns: 1fr 1fr; }
  .included-grid { grid-template-columns: 1fr 1fr; }
  .sample-inner { grid-template-columns: 1.1fr 1fr; }
  .pricing-card { grid-template-columns: 1.25fr 1fr; }
  .contact-grid { grid-template-columns: 1fr 1fr; gap: 52px; }
  .footer-inner { grid-template-columns: 1.2fr 1fr; }
}

@media (min-width: 1024px) {
  .included-grid { grid-template-columns: 1fr 1fr 1fr; }
  .hero { padding: 96px 0 84px; }
}

@media (max-width: 560px) {
  .stat-card { flex-direction: column; gap: 10px; }
  .site-nav { gap: 14px; }
  .site-nav a:not(.nav-cta) { display: none; }
  .site-nav a.nav-cta { display: inline-block; }
  .section { padding: 56px 0; }
}

/* Stat strip + demo tries (added 2026-10-16) */
.stat-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; margin-top: 2rem; }
.stat { border-top: 3px solid var(--teal-900, #0b423c); padding-top: 1rem; }
.stat-num { font-family: "Fraunces", serif; font-weight: 700; font-size: 2.6rem; line-height: 1; color: var(--teal-900, #0b423c); margin-bottom: 0.35em; }
.stat-cap { color: var(--ink-soft); margin-bottom: 0; }
.stat-source { margin-top: 1.75rem; color: var(--ink-soft); font-size: 0.92rem; max-width: 46rem; }
.sample-tries { margin: 0.75rem 0 0.75rem 1.25rem; color: var(--ink-soft); }
.sample-tries li { margin-bottom: 0.45rem; }
@media (max-width: 720px) { .stat-grid { grid-template-columns: 1fr; } }

/* Hero demo line + sample summary card (added 2026-10-16) */
.hero-demo { margin-top: 1.1rem; color: var(--ink-soft); font-size: 1.02rem; }
.hero-demo a { font-weight: 700; color: var(--teal-900, #0b423c); white-space: nowrap; }
.summary-card { grid-column: 1 / -1; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow); padding: 1.4rem 1.6rem; max-width: 640px; }
.summary-head { font-weight: 700; color: var(--teal-900, #0b423c); margin-bottom: 0.8rem; }
.summary-body { margin: 0; }
.summary-body > div { display: flex; gap: 1rem; padding: 0.35rem 0; border-bottom: 1px dashed var(--line); }
.summary-body > div:last-child { border-bottom: none; }
.summary-body dt { flex: 0 0 130px; font-weight: 600; color: var(--ink-soft); }
.summary-body dd { margin: 0; }
.summary-foot { margin-top: 0.8rem; font-size: 0.9rem; color: var(--ink-soft); }

/* Photos (added 2026-10-17) — credits in PHOTO-CREDITS.md */
.hero-photo { margin: 44px 0 0; }
.hero-photo img { display: block; width: 100%; max-width: 100%; height: auto; aspect-ratio: 3 / 2; object-fit: cover; border-radius: var(--radius); box-shadow: var(--shadow); }
.photo-pair { display: grid; grid-template-columns: 1fr; gap: 20px; margin-top: 28px; }
.photo-card { margin: 0; }
.photo-card img { display: block; width: 100%; max-width: 100%; height: auto; aspect-ratio: 4 / 5; object-fit: cover; border-radius: var(--radius); box-shadow: var(--shadow); }
@media (min-width: 720px) { .photo-pair { grid-template-columns: 1fr 1fr; } }

/* Conversion upgrade (2026-10-17) — microtrust, closing CTAs, founding block,
   final CTA band, pricing setup line, sticky mobile call bar */
.microtrust { margin: 0 0 8px; font-weight: 600; color: var(--ink-soft); font-size: 1.02rem; }
.section-close { margin-top: 30px; font-size: 1.05rem; }
.founding p { color: var(--ink-soft); max-width: 700px; }
.founding-cta { margin-top: 24px; }
.founding-note { font-size: 0.95rem; margin-bottom: 0; }
.setup-line { color: var(--ink-soft); margin: 0 0 0.4em; }
.setup-line s { color: var(--ink); }
.cta-band { background: var(--teal-800); color: #eaf3f1; padding: 64px 0; text-align: center; }
.cta-band h2 { color: #fff; max-width: none; }
.cta-band p { color: #cfe2de; max-width: 620px; margin: 0 auto 28px; }
.cta-band-actions { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }
.cta-band .btn-ghost { border-color: #fff; color: #fff; }
.cta-band .btn-ghost:hover { background: rgba(255, 255, 255, 0.10); color: #fff; }

/* Sticky mobile call bar — mobile only */
.mobile-call-bar { display: none; }
@media (max-width: 720px) {
  body { padding-bottom: 62px; }
  .mobile-call-bar {
    display: flex;
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 40;
    box-shadow: 0 -4px 18px rgba(8, 49, 45, 0.18);
  }
  .mobile-call-bar a {
    flex: 1;
    text-align: center;
    padding: 15px 10px;
    font-weight: 700;
    font-size: 1rem;
    text-decoration: none;
  }
  .mobile-call-bar .mcb-call { background: var(--amber-500); color: #23180a; }
  .mobile-call-bar .mcb-form { background: var(--teal-800); color: #fff; }
}
