/* Employee Roster: shared site styles. Linked before each page's own <style>, so page rules can override. */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --teal:   #3DBDA8;
  --teal-d: #2A9D8A;
  --teal-text: #1B6F61;
  --teal-light: #7FDCCB;
  --teal-hover: #64CDBB;
  --on-teal: #1E2D3D;
  --muted-on-dark: #9aabbd;
  --cross: #9a4f4f;
  --dark:   #1E2D3D;
  --bg:     #EEF1F4;
  --border: #D5E0E8;
  --white:  #FFFFFF;
  --muted:  #5b6e83;
  --green:  #15803d;
  --red:    #dc2626;
  --radius: 8px;
  --shadow: 0 4px 24px rgba(61,189,168,.15);
}

body { font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif; color: var(--dark); line-height: 1.6; overflow-wrap: break-word; }

/* ── NAV ── */
.site-nav {
  position: sticky; top: 0; z-index: 100;
  background: var(--dark); padding: 0 24px;
  display: flex; align-items: center; justify-content: space-between; height: 60px;
  box-shadow: 0 2px 12px rgba(0,0,0,.2);
}
.nav-brand { color: var(--white); font-weight: 700; font-size: 1.1rem; text-decoration: none; letter-spacing: -.3px; display: flex; align-items: center; gap: 10px; }
.nav-brand img { width: 32px; height: 32px; object-fit: contain; }
.nav-links { display: flex; gap: 8px; align-items: center; }
.nav-links a { color: rgba(255,255,255,.8); text-decoration: none; font-size: .9rem; padding: 6px 12px; border-radius: 6px; transition: color .15s; }
.nav-links a:hover { color: var(--white); }
.nav-links a.nav-active { color: var(--teal) !important; }
.btn-plan:hover { opacity: .85; }

/* ── FOOTER ── */
footer { background: var(--dark); color: var(--muted-on-dark); text-align: center; padding: 36px 24px; font-size: .88rem; }
footer a { color: var(--muted-on-dark); text-decoration: none; }
footer a:hover { color: var(--white); }
.footer-links { display: flex; gap: 20px; justify-content: center; flex-wrap: wrap; margin-bottom: 16px; }

/* ── ACCESSIBILITY & MOBILE NAV ── */
:focus-visible { outline: 2px solid var(--teal-text); outline-offset: 2px; }
.site-nav :focus-visible, footer :focus-visible, .hero :focus-visible { outline-color: var(--teal-light); }
::selection { background: rgba(61,189,168,.3); color: var(--dark); }
.skip-link { position: absolute; left: 16px; top: -64px; z-index: 300; background: var(--white); color: var(--dark); padding: 10px 16px; border-radius: 6px; font-weight: 700; text-decoration: none; }
.skip-link:focus { top: 8px; }
[tabindex="-1"]:focus { outline: none; } /* skip-link and route targets: focus moves there, no ring around the whole region */
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }
.nav-toggle { display: none; }
@media (max-width: 600px) {
  .js .nav-toggle { display: inline-flex; align-items: center; justify-content: center; width: 44px; height: 44px; margin-right: -10px; padding: 0; background: none; border: 0; border-radius: 6px; color: var(--white); cursor: pointer; }
  .nav-toggle[aria-expanded="true"] .nav-icon-open, .nav-toggle[aria-expanded="false"] .nav-icon-close { display: none; }
  .js .site-nav .nav-links { display: none; position: absolute; top: 60px; left: 0; right: 0; flex-direction: column; align-items: stretch; gap: 2px; padding: 8px 16px 16px; background: var(--dark); border-top: 1px solid rgba(255,255,255,.08); box-shadow: 0 12px 24px rgba(0,0,0,.25); }
  .js .site-nav.nav-open .nav-links { display: flex; }
  .js .site-nav .nav-links a { padding: 12px; font-size: 1rem; }
  .js .site-nav .nav-links .btn-plan { margin-top: 8px; }
  /* without JavaScript the links stay visible and wrap instead of collapsing behind the menu button */
  html:not(.js) .site-nav { flex-wrap: wrap; height: auto; padding: 10px 16px; row-gap: 4px; }
  html:not(.js) .site-nav .nav-links { flex-wrap: wrap; gap: 0; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; scroll-behavior: auto !important; }
  a:hover, button:hover, .feature-card:hover { transform: none !important; }
}
