/* 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; }
}
