/* VetHubCore marketing site — one stylesheet, no build step.
   Brand tokens mirror the app's tailwind.config.js so the site and the
   product read as one thing. */

:root {
  --pine:    #144E35;
  --spruce:  #1C7A5B;
  --amber:   #F2A41C;
  --bronze:  #9A4E0E;
  --mint:    #CFE6D8;
  --sage:    #EAF0EA;
  --cream:   #F6F4EF;
  --ink:     #1A1614;
  --muted:   #5B5550;
  --rule:    #DFD9CF;
  --white:   #FFFFFF;

  --wrap: 1140px;
  --gap: clamp(1.25rem, 4vw, 2.5rem);

  --step-hero: clamp(2.5rem, 5.4vw, 4.05rem);
  --step-h2:   clamp(1.85rem, 3.6vw, 2.85rem);
  --step-h3:   clamp(1.15rem, 1.8vw, 1.38rem);
  --step-lead: clamp(1.08rem, 1.7vw, 1.32rem);

  --serif-ui: 'Sora', 'Hanken Grotesk', system-ui, sans-serif;
  --body-ui:  'Hanken Grotesk', 'Inter', system-ui, -apple-system, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  background: var(--cream);
  color: var(--ink);
  font-family: var(--body-ui);
  font-size: 1.02rem;
  line-height: 1.68;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }

h1, h2, h3, h4 {
  font-family: var(--serif-ui);
  color: var(--pine);
  line-height: 1.12;
  letter-spacing: -0.02em;
  margin: 0 0 0.55em;
  font-weight: 700;
}

p { margin: 0 0 1.1em; }

a { color: var(--spruce); text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: var(--pine); }

.wrap { width: min(100% - 2.5rem, var(--wrap)); margin-inline: auto; }
.narrow { width: min(100% - 2.5rem, 760px); margin-inline: auto; }

section { padding: clamp(3.2rem, 7vw, 5.6rem) 0; }

/* ── Skip link ─────────────────────────────────────────────── */
.skip {
  position: absolute; left: -9999px; top: 0;
  background: var(--pine); color: #fff; padding: .7rem 1.1rem; z-index: 99;
}
.skip:focus { left: 0; }

:focus-visible { outline: 3px solid var(--amber); outline-offset: 2px; border-radius: 3px; }

/* ── Header ────────────────────────────────────────────────── */
.site-head {
  background: var(--cream);
  border-bottom: 1px solid var(--rule);
  position: sticky; top: 0; z-index: 40;
}
.head-in {
  display: flex; align-items: center; gap: 1.25rem;
  padding: .85rem 0; flex-wrap: wrap;
}
.brand {
  display: inline-flex; align-items: center; gap: .55rem;
  font-family: var(--serif-ui); font-weight: 800; font-size: 1.16rem;
  color: var(--pine); text-decoration: none; letter-spacing: -0.025em;
  margin-right: auto;
}
.brand img { width: 30px; height: 30px; }
.brand span { color: var(--spruce); }

.nav { display: flex; align-items: center; gap: 1.35rem; flex-wrap: wrap; }
.nav a {
  font-family: var(--serif-ui); font-size: .93rem; font-weight: 500;
  color: var(--ink); text-decoration: none;
}
.nav a:hover, .nav a[aria-current="page"] { color: var(--spruce); }
.nav a[aria-current="page"] { text-decoration: underline; text-underline-offset: 5px; }

/* ── Buttons ───────────────────────────────────────────────── */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .5rem;
  font-family: var(--serif-ui); font-weight: 600; font-size: .97rem;
  padding: .82rem 1.5rem; border-radius: 999px;
  text-decoration: none; border: 1.5px solid transparent;
  transition: transform .15s ease, background .15s ease, color .15s ease;
}
.btn:hover { transform: translateY(-1px); }
.btn-primary { background: var(--amber); color: #2A1A11; border-color: var(--amber); }
.btn-primary:hover { background: #ffb62f; color: #2A1A11; }
.btn-pine { background: var(--pine); color: #fff; border-color: var(--pine); }
.btn-pine:hover { background: var(--spruce); color: #fff; }
.btn-ghost { border-color: var(--pine); color: var(--pine); background: transparent; }
.btn-ghost:hover { background: var(--pine); color: #fff; }
.btn-ghost-light { border-color: rgba(255,255,255,.55); color: #fff; }
.btn-ghost-light:hover { background: #fff; color: var(--pine); }
.btn-sm { padding: .6rem 1.15rem; font-size: .9rem; }

.cta-row { display: flex; gap: .8rem; flex-wrap: wrap; align-items: center; }

/* ── Hero ──────────────────────────────────────────────────── */
.hero { background: var(--cream); padding-top: clamp(2.8rem, 6vw, 4.6rem); }
.hero h1 { font-size: var(--step-hero); font-weight: 800; max-width: 19ch; }
.hero .lead { font-size: var(--step-lead); color: var(--muted); max-width: 56ch; }
.hero-grid { display: grid; grid-template-columns: 1.15fr .85fr; gap: clamp(2rem,5vw,4rem); align-items: center; }
@media (max-width: 860px) { .hero-grid { grid-template-columns: 1fr; } }

.eyebrow {
  font-family: var(--serif-ui); font-size: .78rem; font-weight: 700;
  letter-spacing: .13em; text-transform: uppercase; color: var(--bronze);
  margin: 0 0 1rem;
}

.hero-card {
  background: var(--pine); color: #fff; border-radius: 20px;
  padding: 1.9rem 1.75rem; box-shadow: 0 18px 44px -22px rgba(20,78,53,.65);
}
.hero-card h2 { color: #fff; font-size: 1.24rem; margin-bottom: 1rem; }
.hero-card ul { margin: 0; padding: 0; list-style: none; }
.hero-card li {
  padding: .52rem 0 .52rem 1.6rem; position: relative;
  border-top: 1px solid rgba(255,255,255,.14); font-size: .95rem;
}
.hero-card li:first-child { border-top: 0; }
.hero-card li::before {
  content: ""; position: absolute; left: 0; top: 1.08rem;
  width: 8px; height: 8px; border-radius: 50%; background: var(--amber);
}

/* ── Trust strip ───────────────────────────────────────────── */
.strip { background: var(--pine); color: #fff; padding: 1.5rem 0; }
.strip-in { display: flex; gap: 1rem 2.6rem; flex-wrap: wrap; justify-content: center; }
.strip-in span {
  font-family: var(--serif-ui); font-size: .87rem; font-weight: 500;
  color: rgba(255,255,255,.9); display: inline-flex; align-items: center; gap: .5rem;
}
.strip-in span::before { content: "✓"; color: var(--amber); font-weight: 700; }

/* ── Section headers ───────────────────────────────────────── */
.sec-head { max-width: 62ch; margin-bottom: clamp(2rem, 4vw, 3rem); }
.sec-head h2 { font-size: var(--step-h2); }
.sec-head p { color: var(--muted); font-size: 1.08rem; margin-bottom: 0; }

/* ── Module / feature grid ─────────────────────────────────── */
.grid { display: grid; gap: 1.15rem; }
.g3 { grid-template-columns: repeat(3, 1fr); }
.g2 { grid-template-columns: repeat(2, 1fr); }
@media (max-width: 900px) { .g3 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 620px) { .g3, .g2 { grid-template-columns: 1fr; } }

.card {
  background: var(--white); border: 1px solid var(--rule);
  border-radius: 15px; padding: 1.5rem 1.4rem;
}
.card h3 { font-size: var(--step-h3); margin-bottom: .45rem; }
.card p { color: var(--muted); font-size: .96rem; margin-bottom: 0; }
.card .num {
  font-family: var(--serif-ui); font-size: .75rem; font-weight: 700;
  color: var(--spruce); letter-spacing: .1em; display: block; margin-bottom: .7rem;
}

.tint { background: var(--sage); }
.pine-sec { background: var(--pine); color: #fff; }
.pine-sec h2, .pine-sec h3 { color: #fff; }
.pine-sec p { color: rgba(255,255,255,.82); }
.pine-sec .sec-head p { color: rgba(255,255,255,.82); }

/* ── Prose (content pages) ─────────────────────────────────── */
.prose h2 { font-size: var(--step-h2); margin-top: 2.4em; }
.prose h2:first-child { margin-top: 0; }
.prose h3 { font-size: var(--step-h3); margin-top: 1.9em; }
.prose ul, .prose ol { margin: 0 0 1.3em; padding-left: 1.25rem; }
.prose li { margin-bottom: .5em; }
.prose li::marker { color: var(--spruce); }
.prose strong { color: var(--pine); }

/* ── Definition list / FAQ ─────────────────────────────────── */
.faq { border-top: 1px solid var(--rule); }
.faq > div { border-bottom: 1px solid var(--rule); padding: 1.5rem 0; }
.faq h3 { font-size: 1.12rem; margin-bottom: .5rem; }
.faq p { color: var(--muted); margin-bottom: 0; }

/* ── Plan cards ────────────────────────────────────────────── */
.plan {
  background: var(--white); border: 1px solid var(--rule);
  border-radius: 17px; padding: 1.8rem 1.6rem; display: flex; flex-direction: column;
}
.plan.feature { border-color: var(--pine); border-width: 2px; }
.plan h3 { font-size: 1.35rem; margin-bottom: .2rem; }
.plan .who { color: var(--bronze); font-family: var(--serif-ui); font-size: .8rem;
  font-weight: 700; letter-spacing: .1em; text-transform: uppercase; margin-bottom: 1rem; }
.plan ul { list-style: none; margin: 0 0 1.5rem; padding: 0; }
.plan li { padding: .42rem 0 .42rem 1.5rem; position: relative; font-size: .95rem; color: var(--muted); }
.plan li::before {
  content: ""; position: absolute; left: 0; top: .95rem; width: 7px; height: 7px;
  border-radius: 50%; background: var(--spruce);
}
.plan .btn { margin-top: auto; }
.tag {
  display: inline-block; background: var(--mint); color: var(--pine);
  font-family: var(--serif-ui); font-size: .74rem; font-weight: 700;
  letter-spacing: .09em; text-transform: uppercase;
  padding: .28rem .7rem; border-radius: 999px; margin-bottom: .9rem;
}

/* ── Photo band ────────────────────────────────────────────── */
.band { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2rem,5vw,3.5rem); align-items: center; }
@media (max-width: 800px) { .band { grid-template-columns: 1fr; } }
.band img { border-radius: 17px; }

/* ── Footer ────────────────────────────────────────────────── */
.site-foot { background: var(--pine); color: rgba(255,255,255,.78); padding: 3.4rem 0 2rem; }
.foot-grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1fr; gap: 2rem; }
@media (max-width: 780px) { .foot-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 460px) { .foot-grid { grid-template-columns: 1fr; } }
.site-foot h4 {
  color: #fff; font-size: .82rem; letter-spacing: .11em; text-transform: uppercase;
  margin-bottom: .9rem;
}
.site-foot ul { list-style: none; margin: 0; padding: 0; }
.site-foot li { margin-bottom: .45rem; }
.site-foot a { color: rgba(255,255,255,.78); text-decoration: none; font-size: .94rem; }
.site-foot a:hover { color: #fff; text-decoration: underline; }
.site-foot .brand { color: #fff; margin-bottom: .8rem; }
.site-foot .brand span { color: var(--mint); }
.foot-note {
  margin-top: 2.6rem; padding-top: 1.4rem; border-top: 1px solid rgba(255,255,255,.16);
  font-size: .86rem; display: flex; justify-content: space-between; gap: 1rem; flex-wrap: wrap;
}

/* ── Utility ───────────────────────────────────────────────── */
.center { text-align: center; }
.center .sec-head { margin-inline: auto; }
.center .cta-row { justify-content: center; }
.mb0 { margin-bottom: 0; }
.mt2 { margin-top: 2rem; }
