/* =====================================================================
   PROVYDR DESIGN SYSTEM  (pv-ui.css)
   One file, copied into Main, Talents, Events and Admin so all four feel the same.
   Type:   headings Montserrat, body Agrandir (Agrandir Regular and TextBold from fonts/)
   Colour: Provydr green on black and white
   Load it LAST in <head> so it can refine each page's own styles.
   ===================================================================== */
@font-face{font-family:"Agrandir";font-weight:400 500;font-style:normal;font-display:swap;src:url("fonts/Agrandir-Regular.otf") format("opentype")}
@font-face{font-family:"Agrandir";font-weight:600 800;font-style:normal;font-display:swap;src:url("fonts/Agrandir-TextBold.otf") format("opentype")}

:root{
  --pv-green:#1f990c;--pv-green-600:#177009;--pv-green-100:#e8f7e5;--pv-green-glow:rgba(31,153,12,.28);
  --pv-ink:#0a0a0a;--pv-ink-2:#1a1d1a;--pv-text:#101210;--pv-muted:#5f6a62;--pv-line:#e3e8e4;--pv-surface:#f6f8f6;
  --pv-font-head:"Montserrat",system-ui,-apple-system,"Segoe UI",Roboto,sans-serif;
  --pv-font-body:"Agrandir","Montserrat",system-ui,-apple-system,"Segoe UI",Roboto,sans-serif;
  --pv-r-sm:10px;--pv-r:14px;--pv-r-lg:20px;--pv-pill:100px;
  --pv-shadow:0 1px 2px rgba(10,10,10,.05),0 8px 24px -12px rgba(10,10,10,.14);
  --pv-shadow-lg:0 24px 60px -24px rgba(10,10,10,.28);
  --pv-ease:cubic-bezier(.2,.7,.2,1);
}

html{-webkit-text-size-adjust:100%;text-rendering:optimizeLegibility;scroll-behavior:smooth}
body{font-family:var(--pv-font-body);-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;font-feature-settings:"kern","liga"}
button,input,select,textarea{font-family:inherit}
::selection{background:var(--pv-green);color:#fff}

/* ---- Headings: Montserrat, tight and confident ---- */
h1,h2,h3,h4,h5,h6,.display,.pv-h{font-family:var(--pv-font-head);font-weight:800;letter-spacing:-.025em;text-wrap:balance}
h1,h2.display,.hero h1,.page-head h1,.hero2 h1{font-weight:800}
h1,.display{line-height:1.08}
h2{line-height:1.15}h3,h4{line-height:1.25}
p{text-wrap:pretty}

/* ---- Numbers line up in prices and stats ---- */
.price-val,.plan b,.stat b,.dash-stat-val,.pv-num{font-family:var(--pv-font-head);font-variant-numeric:tabular-nums;letter-spacing:-.03em}

/* ---- Buttons: pill, one hover and press behaviour everywhere ---- */
.btn,button.btn,a.btn{border-radius:var(--pv-pill);font-weight:700;letter-spacing:.005em;cursor:pointer;
  transition:background-color .18s var(--pv-ease),border-color .18s var(--pv-ease),color .18s var(--pv-ease),transform .18s var(--pv-ease),box-shadow .18s var(--pv-ease)}
.btn:hover:not(:disabled){transform:translateY(-1px)}
.btn:active:not(:disabled){transform:translateY(0)}
.btn:disabled,.btn[disabled]{opacity:.55;cursor:not-allowed}

/* ---- Keyboard focus you can actually see ---- */
a:focus-visible,button:focus-visible,input:focus-visible,select:focus-visible,textarea:focus-visible,summary:focus-visible,[tabindex]:focus-visible{outline:2px solid var(--pv-green);outline-offset:3px;border-radius:6px}

/* ---- Forms ---- */
input:not([type=checkbox]):not([type=radio]):not([type=range]),select,textarea{border-radius:var(--pv-r-sm)}
input::placeholder,textarea::placeholder{color:#9aa39c}
input:not([type=checkbox]):not([type=radio]):focus,select:focus,textarea:focus{border-color:var(--pv-green);box-shadow:0 0 0 3px var(--pv-green-glow);outline:none}
input[type=checkbox],input[type=radio]{accent-color:var(--pv-green)}

/* ---- Cards lift a little ---- */
.card,.price-card,.product-card,.plan,.stat{transition:box-shadow .2s var(--pv-ease),transform .2s var(--pv-ease),border-color .2s var(--pv-ease)}

/* ---- Images and media never overflow ---- */
img,svg,video,canvas{max-width:100%}
img{height:auto}

/* ---- Thin, quiet scrollbars ---- */
*{scrollbar-width:thin;scrollbar-color:#c5ccc6 transparent}
::-webkit-scrollbar{width:10px;height:10px}::-webkit-scrollbar-thumb{background:#c5ccc6;border-radius:99px;border:3px solid transparent;background-clip:content-box}

/* ---- Small screens: bigger tap targets, no sideways scroll ---- */
@media(max-width:640px){
  html,body{overflow-x:hidden}
  .btn,button.btn,a.btn{min-height:44px}
  input:not([type=checkbox]):not([type=radio]),select{min-height:46px;font-size:16px} /* 16px stops iOS zooming into fields */
}
@media(prefers-reduced-motion:reduce){*,*:before,*:after{animation-duration:.001ms!important;animation-iteration-count:1!important;transition-duration:.001ms!important;scroll-behavior:auto!important}}
@media print{.btn,nav,header .nav,footer{display:none!important}}

/* ---- Titles: Montserrat Bold, body stays Agrandir ---- */
h1,h2,h3,h4,h5,h6,.display,.pv-h,h2.display,.hero h1,.page-head h1,.hero2 h1{font-family:var(--pv-font-head)!important;font-weight:700!important}

/* menu titles in Montserrat (body stays Agrandir) */
.nav a,.nav-links a,.nav-right .btn,.mm a,.mobile-nav a,.hmNav a,.pubNav a,.pubCta,.side a,.side button,.side .tab,.dash-sidebar-item,.nav-link{font-family:var(--pv-font-head,"Montserrat",system-ui,sans-serif)!important;font-weight:600}
