/* ============================================================
   VET COUNCIL — public website styles (loads after app.css)
   Homepage / About / Contact / Privacy / Terms / 404 / Register
   ============================================================ */

/* ---------- site shell ---------- */
.site {
  display: flex; flex-direction: column; min-height: 100dvh;
  background:
    radial-gradient(720px 420px at 88% -6%, rgba(94,234,212,.10), transparent 60%),
    radial-gradient(520px 360px at -8% 30%, rgba(242,169,59,.07), transparent 55%),
    var(--bg);
}

/* ---------- header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 70;
  background: rgba(255,255,255,.82);
  backdrop-filter: blur(16px) saturate(160%);
  -webkit-backdrop-filter: blur(16px) saturate(160%);
  border-bottom: 1px solid var(--line-soft);
}
@supports not (backdrop-filter: blur(1px)) { .site-header { background: #fff; } }
.site-nav {
  max-width: 1200px; margin: 0 auto; padding: 13px 24px;
  display: flex; align-items: center; gap: 28px;
}
.site-links { display: flex; gap: 6px; margin-left: 12px; }
.site-links a {
  padding: 9px 15px; border-radius: 10px;
  font-size: 14.5px; font-weight: 600; color: var(--text-2);
  transition: background .2s, color .2s;
}
.site-links a:hover { background: var(--brand-tint); color: var(--brand); text-decoration: none; }
.site-links a.active { background: var(--brand-tint); color: var(--brand); }
.site-links .ico { width: 14px; height: 14px; }
.site-cta { margin-left: auto; display: flex; gap: 10px; }
.site-menu-btn { display: none; }
.site-links-mobile {
  display: none; /* toggled open via .open class — never rely on the hidden attribute */
  flex-direction: column; gap: 2px;
  padding: 8px 24px 16px; border-top: 1px dashed var(--line);
}
.site-links-mobile.open { display: flex; }
.site-links-mobile a {
  padding: 12px 14px; border-radius: 10px;
  font-weight: 600; color: var(--text-2);
}
.site-links-mobile a:hover { background: var(--brand-tint); text-decoration: none; }
.site-links-mobile .mm-cta { background: var(--brand); color: #fff; }

/* ---------- page scaffolding ---------- */
.site-main { flex: 1; width: 100%; max-width: 1200px; margin: 0 auto; padding: 0 24px 90px; }
.site .appfoot { display: none; }

/* ---------- hero ---------- */
.hero {
  display: grid; grid-template-columns: 1.05fr .95fr; gap: 48px; align-items: center;
  padding: 76px 0 60px;
}
.hero-eyebrow-pill {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 12px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase;
  color: var(--brand); background: var(--brand-tint);
  border: 1px solid rgba(14,122,106,.2);
  padding: 7px 15px; border-radius: 999px; margin-bottom: 20px;
}
.hero h1 {
  font-size: clamp(34px, 5vw, 54px); font-weight: 800; letter-spacing: -.03em; line-height: 1.08;
  max-width: 18ch;
}
.hero h1 em {
  font-style: normal;
  background: linear-gradient(120deg, var(--brand-2), var(--brand) 55%, #C77E12);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.hero .lede { font-size: 17.5px; color: var(--text-2); max-width: 52ch; margin-top: 18px; line-height: 1.7; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 13px; margin-top: 30px; }
.hero-trust { display: flex; flex-wrap: wrap; gap: 8px 18px; margin-top: 26px; align-items: center; color: var(--muted); font-size: 13px; }
.hero-trust .m { display: inline-flex; align-items: center; gap: 6px; }
.hero-trust .ico { width: 15px; height: 15px; color: var(--brand); }

/* hero visual: mini dashboard mock */
.hero-mock {
  position: relative;
  background: var(--surface);
  border: 1px solid var(--line-soft);
  border-radius: var(--r-xl);
  box-shadow: var(--sh-lg);
  padding: 22px;
  display: flex; flex-direction: column; gap: 16px;
  transform: rotate(1.2deg);
  transition: transform .4s var(--ease);
}
.hero-mock:hover { transform: rotate(0deg) translateY(-4px); }
.hero-mock::before {
  content: ""; position: absolute; inset: 0; border-radius: inherit; pointer-events: none;
  background: radial-gradient(300px 180px at 90% -10%, rgba(14,122,106,.07), transparent 60%);
}
.hm-top { display: flex; align-items: center; justify-content: space-between; }
.hm-title { font-family: var(--font-display); font-weight: 800; font-size: 14.5px; letter-spacing: -.01em; }
.hm-row { display: flex; gap: 16px; align-items: center; }
.hm-card {
  flex: 1; min-width: 0;
  background: var(--brand-tint-2); border: 1px solid var(--line-soft);
  border-radius: var(--r-md); padding: 14px 16px;
}
.hm-card b { display: block; font-family: var(--font-display); font-size: 24px; font-weight: 800; letter-spacing: -.02em; }
.hm-card small { color: var(--muted); font-size: 11.5px; letter-spacing: .08em; text-transform: uppercase; font-weight: 700; }
.hm-card.gold { background: var(--gold-soft); border-color: rgba(191,132,38,.25); }
.hm-card.gold b { color: var(--gold-deep); }
.hm-list { display: flex; flex-direction: column; gap: 10px; }
.hm-item { display: flex; align-items: center; gap: 11px; font-size: 12.5px; color: var(--text-2); }
.hm-item .li-ico { width: 30px; height: 30px; border-radius: 9px; }
.hm-item .ico { width: 15px; height: 15px; }
.hm-item .badge { font-size: 10.5px; padding: 2.5px 9px; }
.hm-float {
  position: absolute; right: -18px; bottom: 34px;
  background: var(--surface); border: 1px solid var(--line-soft);
  border-radius: 16px; box-shadow: var(--sh-md);
  padding: 13px 16px; display: flex; gap: 11px; align-items: center;
  animation: floaty 5s ease-in-out infinite;
}
@keyframes floaty { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-7px); } }
.hm-float .ico { color: var(--success); }

/* ---------- stats band ---------- */
.stats-band {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px;
  border-radius: var(--r-xl); overflow: hidden;
  background:
    radial-gradient(520px 300px at 90% -20%, rgba(94,234,212,.14), transparent 60%),
    linear-gradient(148deg, var(--ink-2), var(--ink) 62%);
  color: #EAF5F2; padding: 30px 34px;
}
.sb-item b { display: block; font-family: var(--font-display); font-size: clamp(26px, 3vw, 34px); font-weight: 800; color: var(--mint); font-variant-numeric: tabular-nums; }
.sb-item span { font-size: 12px; letter-spacing: .12em; text-transform: uppercase; color: #7FA39B; font-weight: 600; }

/* ---------- sections ---------- */
.site-section { padding: 68px 0 0; scroll-margin-top: 90px; }
.ss-head { max-width: 60ch; margin-bottom: 34px; }
.ss-kicker {
  font-size: 12px; font-weight: 700; letter-spacing: .18em; text-transform: uppercase;
  color: var(--brand); margin-bottom: 12px; display: flex; align-items: center; gap: 9px;
}
.ss-kicker::before { content: ""; width: 26px; height: 2.5px; border-radius: 2px; background: linear-gradient(90deg, var(--brand-2), var(--brand)); }
.ss-head h2 { font-size: clamp(26px, 3.6vw, 38px); font-weight: 800; letter-spacing: -.025em; line-height: 1.15; }
.ss-head p { color: var(--text-2); margin-top: 12px; font-size: 16px; }

/* steps */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; counter-reset: step; }
.step {
  position: relative; background: var(--surface); border: 1px solid var(--line-soft);
  border-radius: var(--r-lg); padding: 24px 22px; box-shadow: var(--sh-sm);
  transition: transform .3s var(--ease), box-shadow .3s;
}
.step:hover { transform: translateY(-5px); box-shadow: var(--sh-md); }
.step::before {
  counter-increment: step; content: "0" counter(step);
  font-family: var(--font-display); font-weight: 800; font-size: 13px; letter-spacing: .1em;
  color: var(--gold-deep); background: var(--gold-soft);
  border: 1px solid rgba(191,132,38,.3); border-radius: 9px;
  padding: 5px 11px; display: inline-block; margin-bottom: 15px;
}
.step h3 { font-size: 16.5px; font-weight: 700; margin-bottom: 8px; }
.step p { color: var(--muted); font-size: 14px; line-height: 1.65; }
.step .icochip { margin-bottom: 14px; }

/* features bento */
.feat-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.feat {
  background: var(--surface); border: 1px solid var(--line-soft);
  border-radius: var(--r-lg); padding: 26px 24px; box-shadow: var(--sh-sm);
  transition: transform .3s var(--ease), box-shadow .3s, border-color .3s;
}
.feat:hover { transform: translateY(-5px); box-shadow: var(--sh-md); border-color: var(--brand-2); }
.feat.wide { grid-column: span 2; display: grid; grid-template-columns: 64px 1fr; gap: 18px; align-items: start; }
.feat h3 { font-size: 16.5px; font-weight: 700; margin: 14px 0 7px; }
.feat.wide h3 { margin-top: 0; }
.feat p { color: var(--muted); font-size: 14px; line-height: 1.65; }
.feat .pill-row { display: flex; flex-wrap: wrap; gap: 7px; margin-top: 13px; }

/* professions strip */
.prof-strip { display: flex; flex-wrap: wrap; gap: 12px; }
.prof-strip .chip { font-size: 15px; padding: 12px 24px; }

/* CTA band */
.cta-band {
  margin-top: 70px; border-radius: var(--r-xl); overflow: hidden; position: relative;
  background:
    radial-gradient(520px 300px at 88% -16%, rgba(94,234,212,.16), transparent 60%),
    radial-gradient(400px 280px at -6% 120%, rgba(242,169,59,.13), transparent 55%),
    linear-gradient(148deg, var(--ink-2), var(--ink) 62%);
  color: #EAF5F2; padding: 54px 48px;
  display: flex; align-items: center; gap: 32px; flex-wrap: wrap;
}
.cta-band h2 { color: #fff; font-size: clamp(24px, 3.2vw, 34px); font-weight: 800; letter-spacing: -.025em; max-width: 24ch; }
.cta-band p { color: #9FBCB6; margin-top: 10px; max-width: 52ch; }
.cta-band .row { gap: 13px; }

/* ---------- footer ---------- */
.site-footer { background: var(--ink); color: #B9CEC9; margin-top: 40px; }
.sf-grid {
  max-width: 1200px; margin: 0 auto; padding: 54px 24px 34px;
  display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 36px;
}
.sf-brand p { font-size: 13.5px; color: #7FA39B; margin-top: 16px; max-width: 40ch; line-height: 1.7; }
.sf-col h3 {
  font-family: var(--font-display); font-size: 12px; font-weight: 800;
  letter-spacing: .16em; text-transform: uppercase; color: #fff; margin-bottom: 15px;
}
.sf-col a { display: block; color: #9FBAB4; font-size: 14px; padding: 5.5px 0; }
.sf-col a:hover { color: var(--mint); }
.sf-bottom {
  border-top: 1px solid rgba(255,255,255,.08);
  display: flex; flex-wrap: wrap; gap: 10px 26px; justify-content: space-between;
  max-width: 1200px; margin: 0 auto; padding: 20px 24px 26px;
  font-size: 12.5px; color: #628581;
}

/* ---------- generic content page (about/privacy/terms) ---------- */
.page-head { padding: 64px 0 8px; }
.page-head h1 { font-size: clamp(30px, 4.4vw, 44px); font-weight: 800; letter-spacing: -.03em; }
.page-head .lede { color: var(--text-2); font-size: 17px; max-width: 62ch; margin-top: 14px; line-height: 1.7; }
.prose { max-width: 72ch; }
.prose h2 { font-size: 22px; font-weight: 800; letter-spacing: -.02em; margin: 38px 0 12px; }
.prose h3 { font-size: 16.5px; font-weight: 700; margin: 24px 0 8px; }
.prose p, .prose li { color: var(--text-2); font-size: 15.5px; line-height: 1.75; }
.prose ul { padding-left: 22px; margin: 10px 0; }
.prose li { margin: 6px 0; }
.prose li::marker { color: var(--brand-2); }

/* two-col split (about) */
.split { display: grid; grid-template-columns: 1.1fr .9fr; gap: 44px; align-items: start; }
.value-card {
  background: var(--surface); border: 1px solid var(--line-soft);
  border-radius: var(--r-lg); padding: 20px 22px; box-shadow: var(--sh-sm);
  display: flex; gap: 15px; align-items: flex-start; margin-bottom: 14px;
}
.value-card h3 { font-size: 15.5px; font-weight: 700; margin-bottom: 5px; }
.value-card p { color: var(--muted); font-size: 13.5px; line-height: 1.6; }

/* contact */
.contact-grid { display: grid; grid-template-columns: 1fr .85fr; gap: 26px; align-items: start; }
.contact-info-card {
  background:
    radial-gradient(420px 240px at 90% -14%, rgba(94,234,212,.14), transparent 60%),
    linear-gradient(148deg, var(--ink-2), var(--ink) 62%);
  color: #EAF5F2; border-radius: var(--r-xl); padding: 28px;
}
.contact-info-card h2 { color: #fff; font-size: 20px; font-weight: 800; margin-bottom: 18px; }
.cinfo { display: flex; gap: 13px; padding: 12px 0; border-bottom: 1px dashed rgba(255,255,255,.14); }
.cinfo:last-child { border-bottom: 0; }
.cinfo .li-ico { background: rgba(94,234,212,.12); color: var(--mint); }
.cinfo b { display: block; font-size: 13px; color: #fff; }
.cinfo span { font-size: 13px; color: #9FBCB6; }

/* register */
.register-hero { padding: 56px 0 10px; text-align: center; }
.register-hero h1 { font-size: clamp(28px, 4vw, 40px); font-weight: 800; letter-spacing: -.028em; }
.register-hero p { color: var(--text-2); max-width: 56ch; margin: 14px auto 0; }
.reg-card {
  max-width: 640px; margin: 34px auto 0;
  background: var(--surface); border: 1px solid var(--line-soft);
  border-radius: var(--r-xl); box-shadow: var(--sh-md); padding: 30px;
}
.role-toggle { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-bottom: 22px; }
.role-tile {
  border: 1.5px solid var(--line); border-radius: var(--r-md); padding: 16px;
  display: flex; align-items: center; gap: 12px; cursor: pointer;
  background: var(--surface); transition: all .2s var(--ease); text-align: left;
}
.role-tile .ico { width: 22px; height: 22px; color: var(--brand); }
.role-tile strong { display: block; font-family: var(--font-display); font-size: 14.5px; }
.role-tile small { color: var(--muted); font-size: 12px; }
.role-tile.selected { border-color: var(--brand); background: var(--brand-tint-2); box-shadow: 0 0 0 3px rgba(20,184,166,.14); }

/* 404 */
.nf-wrap { text-align: center; padding: 90px 0 40px; }
.nf-code {
  font-family: var(--font-display); font-weight: 800; letter-spacing: -.04em;
  font-size: clamp(90px, 16vw, 170px); line-height: 1;
  background: linear-gradient(130deg, var(--brand-2), var(--brand) 50%, #C77E12);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.nf-wrap h1 { font-size: clamp(22px, 3vw, 30px); font-weight: 800; margin-top: 10px; }
.nf-wrap p { color: var(--muted); max-width: 46ch; margin: 12px auto 26px; }

/* ---------- responsive ---------- */
@media (max-width: 1024px) {
  .hero { grid-template-columns: 1fr; padding-top: 54px; gap: 36px; }
  .hero-mock { transform: none; max-width: 560px; }
  .steps, .feat-grid { grid-template-columns: 1fr 1fr; }
  .stats-band { grid-template-columns: 1fr 1fr; gap: 24px; }
  .split, .contact-grid { grid-template-columns: 1fr; }
  .sf-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 760px) {
  .site-links, .site-cta { display: none; }
  .site-menu-btn { display: grid; margin-left: auto; }
  .site-nav { gap: 12px; }
  .hero { padding-top: 40px; }
  .hero-actions .btn { width: 100%; }
  .hero-mock { padding: 16px; }
  .hm-row { gap: 10px; }
  .hm-row .ring { width: 96px; height: 96px; }
  .hm-row .ring-num { font-size: 18px; }
  .hm-row .ring-num small { font-size: 9px; }
  .hm-card { padding: 11px 12px; }
  .hm-card b { font-size: 19px; }
  .hm-card small { font-size: 10px; letter-spacing: .05em; }
  .hm-float { right: 6px; padding: 10px 12px; }
  .steps, .feat-grid { grid-template-columns: 1fr; }
  .feat.wide { grid-column: span 1; grid-template-columns: 64px 1fr; }
  .stats-band { grid-template-columns: 1fr 1fr; padding: 24px; gap: 18px; }
  .sf-grid { grid-template-columns: 1fr; gap: 26px; padding-top: 40px; }
  .reg-card { padding: 20px; }
  .role-toggle { grid-template-columns: 1fr; }
  .site-main { padding: 0 16px 70px; }
}
@media (max-width: 380px) {
  .hm-row { flex-wrap: wrap; }
  .hm-row .ring-wrap { width: 100%; display: grid; place-items: center; }
}
@media (prefers-reduced-motion: reduce) {
  .hm-float { animation: none; }
}
