/* VetVeri — brand / platform site
   Brand palette: foundation navy #14507d (dominant) + the four-color family
   accents from the wheat mark — blue #6fb4e0, teal #39d3bd, coral #ff6a4d.
   Teal is the main interactive accent; blue/coral appear as tasteful echoes.
   Dependency-free, responsive, system fonts only. */

:root {
  --ink: #10222f;
  --ink-2: #3a586d;
  --muted: #6d8598;
  --line: #dbe5ee;
  --bg: #ffffff;
  --bg-soft: #f0f5f9;

  /* Foundation navy */
  --brand: #14507d;
  --brand-700: #0f3f63;
  --brand-800: #0c334f;

  /* Family accents (from the wheat mark) */
  --blue: #6fb4e0;
  --blue-tint: #e0eef8;
  --teal: #39d3bd;
  --teal-ink: #0e7c6b;      /* darkened teal for small text on white */
  --teal-tint: #d9f6f0;
  --coral: #ff6a4d;
  --coral-ink: #c2402a;     /* darkened coral for small text on tints */
  --coral-tint: #ffe6df;
  --navy-tint: #dfe9f2;

  --accent: var(--teal);
  --radius: 14px;
  --radius-lg: 22px;
  --shadow: 0 1px 2px rgba(12,51,79,.06), 0 12px 30px -12px rgba(12,51,79,.22);
  --shadow-soft: 0 1px 2px rgba(12,51,79,.05), 0 8px 24px -16px rgba(12,51,79,.28);
  --maxw: 1120px;
  --font: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, "Noto Sans", sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font);
  color: var(--ink);
  background: var(--bg);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img { max-width: 100%; display: block; }
a { color: var(--brand); text-decoration: none; }
a:hover { text-decoration: underline; }

/* Visible focus for keyboard users — teal brand ring */
a:focus-visible,
button:focus-visible,
.btn:focus-visible {
  outline: 3px solid var(--teal);
  outline-offset: 2px;
  border-radius: 6px;
}

.container { width: 100%; max-width: var(--maxw); margin-inline: auto; padding-inline: 22px; }
.container.narrow { max-width: 760px; }

.skip-link { position: absolute; left: -999px; top: 0; background: var(--brand); color: #fff; padding: 10px 16px; border-radius: 0 0 10px 0; z-index: 200; }
.skip-link:focus { left: 0; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .5rem;
  background: var(--brand); color: #fff; font-weight: 600;
  padding: 12px 20px; border-radius: 999px; border: 1px solid transparent;
  cursor: pointer; transition: transform .12s ease, box-shadow .2s ease, background .2s ease;
  box-shadow: var(--shadow-soft); white-space: nowrap;
}
.btn:hover { background: var(--brand-700); text-decoration: none; transform: translateY(-1px); }
.btn:active { transform: translateY(0); }
.btn-lg { padding: 15px 28px; font-size: 1.02rem; }
.btn-sm { padding: 9px 16px; font-size: .92rem; }
.btn-ghost { background: transparent; color: var(--brand); border-color: var(--line); box-shadow: none; }
.btn-ghost:hover { background: var(--bg-soft); color: var(--brand); }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(255,255,255,.88); backdrop-filter: saturate(180%) blur(10px);
  border-bottom: 1px solid var(--line);
}
/* Four-color family stripe — echo of the wheat mark */
.site-header::before {
  content: ""; display: block; height: 3px;
  background: linear-gradient(90deg,
    var(--blue) 0 25%, var(--teal) 25% 50%, var(--coral) 50% 75%, var(--brand) 75% 100%);
}
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 16px; height: 66px; }
.brand { display: inline-flex; align-items: center; gap: 10px; font-size: 1.18rem; color: var(--ink); }
.brand:hover { text-decoration: none; }
.brand-mark { display: inline-flex; line-height: 0; }
.brand-mark img { width: 36px; height: 36px; border-radius: 9px; box-shadow: 0 4px 10px rgba(20,80,125,.28); }
.brand-name { letter-spacing: -.01em; font-weight: 600; }
.brand-name strong { color: var(--teal-ink); }

.primary-nav { display: flex; align-items: center; gap: 26px; }
.primary-nav a { color: var(--ink-2); font-weight: 500; }
.primary-nav a:hover { color: var(--brand); text-decoration: none; }
.primary-nav a.btn { color: #fff; }
.primary-nav a.btn:hover { color: #fff; }

.nav-toggle { display: none; flex-direction: column; gap: 5px; background: none; border: 0; padding: 8px; cursor: pointer; }
.nav-toggle span { width: 24px; height: 2px; background: var(--ink); border-radius: 2px; transition: .25s; }
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ---------- Hero ---------- */
.hero {
  position: relative; overflow: hidden;
  background:
    radial-gradient(1100px 520px at 85% -12%, rgba(57,211,189,.14), transparent 60%),
    radial-gradient(900px 520px at 4% -8%, rgba(111,180,224,.18), transparent 55%),
    linear-gradient(180deg, var(--bg-soft), var(--bg) 80%);
  border-bottom: 1px solid var(--line);
}
/* Decorative wheat mark, faded into the hero corner */
.hero-mark {
  position: absolute; top: -70px; right: -80px; width: 460px;
  opacity: .12; transform: rotate(9deg);
  pointer-events: none; user-select: none;
}
.hero-inner { position: relative; max-width: 820px; margin-inline: auto; text-align: center; padding: 96px 0 92px; }
.eyebrow { text-transform: uppercase; letter-spacing: .12em; font-size: .76rem; font-weight: 700; color: var(--teal-ink); margin: 0 0 14px; }
.hero h1 { font-size: clamp(2.2rem, 5vw, 3.6rem); line-height: 1.08; letter-spacing: -.02em; margin: 0 0 20px; }
.hero h1 .hl {
  color: var(--brand);
  background: linear-gradient(transparent 68%, var(--teal-tint) 68%);
  border-radius: 4px;
}
.lede { font-size: 1.16rem; color: var(--ink-2); margin: 0 auto 30px; max-width: 56ch; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; margin-bottom: 24px; }
.hero-meta { display: flex; gap: 10px; justify-content: center; flex-wrap: wrap; color: var(--muted); font-size: .92rem; }

/* ---------- Sections ---------- */
.section { padding: 84px 0; }
.section-alt { background: var(--bg-soft); }
.section-head { max-width: 640px; margin: 0 auto 48px; text-align: center; }
.section-head h2 { font-size: clamp(1.7rem, 3vw, 2.3rem); letter-spacing: -.02em; margin: 0 0 12px; line-height: 1.15; color: var(--brand-800); }
.section-sub { color: var(--ink-2); font-size: 1.06rem; margin: 0; }

.grid { display: grid; gap: 20px; }

/* Products */
.products { grid-template-columns: 1fr 1fr; gap: 24px; }
.product {
  position: relative; background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg);
  padding: 30px 28px; box-shadow: var(--shadow-soft); transition: transform .15s ease, box-shadow .2s ease;
}
.product.live { border-color: var(--teal-tint); box-shadow: 0 0 0 1px var(--teal-tint), var(--shadow-soft); }
.product:hover { transform: translateY(-3px); box-shadow: var(--shadow); }
.product-head { display: flex; align-items: center; gap: 14px; margin-bottom: 16px; }
.product-mark { width: 48px; height: 48px; display: grid; place-items: center; border-radius: 12px; line-height: 0; flex-shrink: 0; }
.product-mark.vh img { width: 48px; height: 48px; border-radius: 12px; box-shadow: 0 4px 12px rgba(20,80,125,.22); }
.product-mark.ghost { background: var(--bg-soft); color: var(--muted); font-size: 1.6rem; font-weight: 300; border: 1px dashed var(--line); }
.product-head h3 { margin: 0 0 4px; font-size: 1.4rem; letter-spacing: -.01em; }
.badge { display: inline-block; font-size: .72rem; font-weight: 700; text-transform: uppercase; letter-spacing: .06em; padding: 3px 10px; border-radius: 999px; }
.badge-live { background: var(--teal-tint); color: #0b6155; }
.badge-soon { background: var(--coral-tint); color: var(--coral-ink); }
.product > p { color: var(--ink-2); margin: 0 0 16px; }
.product-points { list-style: none; padding: 0; margin: 0 0 20px; display: grid; gap: 8px; }
.product-points li { position: relative; padding-left: 24px; color: var(--ink-2); font-size: .96rem; }
.product-points li::before {
  content: ""; position: absolute; left: 0; top: 7px; width: 13px; height: 7px;
  border-left: 2.4px solid var(--teal); border-bottom: 2.4px solid var(--teal);
  transform: rotate(-45deg); border-radius: 1px;
}
.product-points.muted-points li::before { border-color: var(--muted); }
.product-link { font-weight: 600; color: var(--brand); }

/* Values — the four cards pick up the four family colors */
.values { grid-template-columns: repeat(4, 1fr); }
.card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 26px 22px; box-shadow: var(--shadow-soft); transition: transform .15s ease, box-shadow .2s ease;
}
.card:hover { transform: translateY(-3px); box-shadow: var(--shadow); }
.card .icon { width: 46px; height: 46px; display: grid; place-items: center; font-size: 1.35rem; background: var(--teal-tint); border-radius: 12px; margin-bottom: 16px; }
.values .card:nth-child(1) .icon { background: var(--blue-tint); }
.values .card:nth-child(2) .icon { background: var(--teal-tint); }
.values .card:nth-child(3) .icon { background: var(--coral-tint); }
.values .card:nth-child(4) .icon { background: var(--navy-tint); }
.card h3 { margin: 0 0 8px; font-size: 1.14rem; letter-spacing: -.01em; }
.card p { margin: 0; color: var(--ink-2); font-size: .96rem; }

/* About */
.about { text-align: center; }
.about p { font-size: 1.08rem; color: var(--ink-2); margin: 0 0 16px; }

/* CTA */
.section-cta {
  background:
    radial-gradient(900px 420px at 88% 0%, rgba(57,211,189,.16), transparent 55%),
    linear-gradient(135deg, var(--brand), var(--brand-800));
  color: #fff; text-align: center;
}
.cta-inner { max-width: 680px; margin-inline: auto; }
.section-cta h2 { font-size: clamp(1.8rem, 3.2vw, 2.5rem); margin: 0 0 14px; letter-spacing: -.02em; }
.section-cta p { color: rgba(255,255,255,.9); font-size: 1.08rem; margin: 0 0 26px; }
.section-cta .btn { background: var(--teal); color: var(--brand-800); }
.section-cta .btn:hover { background: #5fe0cc; }
.section-cta .btn-ghost { background: transparent; color: #fff; border-color: rgba(255,255,255,.45); }
.section-cta .btn-ghost:hover { background: rgba(255,255,255,.12); }
.section-cta .btn:focus-visible { outline-color: #fff; }
.cta-actions { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }

/* ---------- Footer ---------- */
.site-footer { background: var(--brand-800); color: #bcd2e2; padding-top: 48px; }
.footer-inner { display: flex; justify-content: space-between; gap: 30px; flex-wrap: wrap; padding-bottom: 28px; border-bottom: 1px solid rgba(255,255,255,.12); }
.footer-lockup { display: inline-flex; align-items: center; gap: 10px; }
.footer-lockup img { width: 30px; height: 30px; border-radius: 8px; }
.footer-brand .brand-name { color: #fff; font-size: 1.2rem; }
.footer-brand .brand-name strong { color: var(--teal); }
.footer-brand p { margin: 10px 0 0; max-width: 38ch; }
.footer-links { display: flex; flex-wrap: wrap; gap: 14px 26px; align-items: center; }
.footer-links a { color: #bcd2e2; }
.footer-links a:hover { color: #fff; }
.footer-base { padding: 18px 0 28px; }
.footer-base .muted { color: #7391a8; }

.muted { color: var(--muted); }
.small { font-size: .86rem; }

/* ---------- Responsive ---------- */
@media (max-width: 920px) {
  .values { grid-template-columns: 1fr 1fr; }
  .hero-inner { padding: 70px 0 72px; }
  .hero-mark { width: 340px; top: -60px; right: -90px; opacity: .1; }
}
@media (max-width: 640px) {
  .nav-toggle { display: flex; }
  .primary-nav {
    position: absolute; top: 69px; left: 0; right: 0; flex-direction: column; align-items: stretch;
    gap: 4px; background: #fff; border-bottom: 1px solid var(--line); padding: 12px 22px 20px;
    box-shadow: var(--shadow); transform: translateY(-12px); opacity: 0; pointer-events: none; transition: .2s;
  }
  .primary-nav.open { transform: translateY(0); opacity: 1; pointer-events: auto; }
  .primary-nav a { padding: 12px 6px; border-bottom: 1px solid var(--line); }
  .primary-nav a.btn { margin-top: 8px; border-bottom: 0; }
  .products { grid-template-columns: 1fr; }
  .values { grid-template-columns: 1fr; }
  .section { padding: 60px 0; }
  .footer-inner { flex-direction: column; }
  .hero-mark { width: 240px; top: -50px; right: -80px; opacity: .09; }
}
@media (prefers-reduced-motion: reduce) {
  * { scroll-behavior: auto !important; transition: none !important; }
}
