/* OyeHR marketing site — shared design system (Figtree/Montserrat/Merriweather,
   blue/navy/teal palette). Values replicated from a design-tool mockup export
   (see internal design reference) — colors, spacing, radii and shadows match it,
   but this file is hand-written, responsive CSS, not the mockup's absolute-
   positioned markup. New pages in this family should reuse these classes
   rather than re-declaring the palette inline. */

:root{
  --navy:#052f66;
  --blue:#0a5fc4;
  --blue-dark:#052f66;
  --teal-text:#02634f;
  --teal-bright:#00c4a4;
  --ink:#0c1f3a;
  --muted:#44566e;
  --border:#e1e9f3;
  --bg-light:#f3f7fc;
  --bg-hero-card:#0c3a78;
  --bg-hero-card-border:#1d4a8a;
  --bg-hero-tile:#0a2a57;
  --bg-hero-tile-border:#17407a;
}

*{box-sizing:border-box}
html{overflow-x:hidden}
body{margin:0;background:#fff;color:var(--ink);font-family:'Figtree',system-ui,sans-serif;font-size:17px;line-height:1.6;overflow-x:hidden}
a{color:var(--blue);text-decoration:none}
a:hover{color:var(--navy)}
img{max-width:100%;height:auto}
.heading{font-family:'Montserrat',system-ui,sans-serif;font-weight:700;color:var(--navy);line-height:1.15;letter-spacing:-0.015em;text-wrap:balance;margin:0}
.eyebrow{font-weight:600;font-size:13px;letter-spacing:0.1em;text-transform:uppercase;color:var(--teal-text)}
.lead{color:var(--muted);font-size:18px;line-height:1.6;margin:0}
.wrap{max-width:1200px;margin:0 auto;padding:0 32px;box-sizing:border-box}
.section{padding:88px 0}
.section--tight{padding:48px 0}

/* buttons */
.btn{display:inline-flex;align-items:center;justify-content:center;gap:10px;min-height:48px;padding:0 28px;border-radius:8px;font:600 16px 'Figtree',sans-serif;cursor:pointer;border:0;text-decoration:none;transition:background .15s ease,transform .15s ease}
.btn-primary{background:var(--blue);color:#fff}
.btn-primary:hover{background:var(--navy);color:#fff}
.btn-light{background:#fff;color:var(--navy)}
.btn-light:hover{transform:translateY(-1px)}
.btn-outline{background:#fff;color:var(--navy);border:1.5px solid var(--border)}
.btn-outline:hover{border-color:var(--blue);color:var(--blue)}

/* header */
.site-header{background:#fff;border-bottom:1px solid var(--border);position:sticky;top:0;z-index:20;transition:box-shadow .2s ease,border-color .2s ease}
.site-header.is-scrolled{box-shadow:0 8px 24px rgba(5,47,102,.08);border-bottom-color:transparent}
/* Full-bleed content — unlike every other .wrap (capped at max-width:1200px
   and centered), the header's logo/nav should sit flush against the actual
   viewport edges, not a centered column, on wide screens. Only the inner
   content's horizontal spread changes here; the header bar's own height and
   full-width background are untouched. */
.site-header .wrap{position:relative;max-width:none;margin:0;display:flex;align-items:center;justify-content:flex-end;gap:24px;padding:14px 32px;flex-wrap:wrap;min-height:108px}
/* Taken out of the flex row entirely (position:absolute, vertically centered)
   so it can be much bigger than the nav row itself without stretching the
   row's own layout — .wrap's min-height is sized to exactly contain it
   (logo height + breathing room) so it never overflows the header bar's
   white background/border into the section below. */
.logo-link{position:absolute;left:32px;top:50%;transform:translateY(-50%);z-index:1;display:block;line-height:0}
.logo-link img{display:block;height:100px;width:auto;mix-blend-mode:multiply}
.nav-toggle{display:none;flex:none;margin-left:auto;width:42px;height:42px;align-items:center;justify-content:center;flex-direction:column;gap:4px;border:1px solid var(--border);border-radius:8px;background:#fff;cursor:pointer;padding:0}
.nav-toggle span{display:block;width:18px;height:2px;border-radius:2px;background:var(--navy)}
.nav{display:flex;flex-wrap:wrap;gap:8px 28px;align-items:center;margin-left:auto}
.nav a{display:inline-flex;align-items:center;min-height:44px;color:var(--muted);font-weight:500;font-size:15px}
.nav a:hover{color:var(--blue)}
.nav a.active{color:var(--blue);font-weight:600}
.nav a.btn{min-height:44px;padding:0 22px;font-size:15px}
.nav a.btn-primary{color:#fff}
.nav a.btn-primary:hover{color:#fff}
.nav a.btn-outline{color:var(--navy)}
.nav a.btn-outline:hover{color:var(--blue)}

/* cards */
.card{background:#fff;border:1px solid var(--border);border-radius:14px;padding:22px 24px;display:flex;flex-direction:column;gap:10px}
.card--alt{background:var(--bg-light)}
.card h3{margin:0;font-family:'Montserrat',system-ui,sans-serif;font-weight:600;font-size:17px;color:var(--navy)}
.card p{margin:0;font-size:15px;line-height:1.55;color:var(--muted)}
.card svg{flex:none}

.check-icon{width:22px;height:22px;flex:none}

/* footer — light blue, echoing the blue accent used in the feature sections
   (e.g. the security section's radial gradient) rather than the hero's navy */
.site-footer{border-top:1px solid var(--border);background:#e3ecfb;color:var(--muted)}
.site-footer a{color:var(--muted)}
.site-footer a:hover{color:var(--blue)}
.site-footer a.btn-primary,
.site-footer a.btn-primary:hover{color:#fff}
.site-footer .heading{color:var(--navy)}
.site-footer .footer-col-title{color:var(--navy)}
.site-footer .footer-legal a{color:var(--muted)}
.site-footer .footer-legal a:hover{color:var(--blue)}
.site-footer .cta-banner{border-top:1px solid var(--border)}
.site-footer .footer-bottom{border-top:1px solid var(--border);color:var(--muted)}
.site-footer .footer-bottom a{color:var(--muted)}
.site-footer .footer-bottom a:hover{color:var(--blue)}
/* The logo SVG has no background rect, so the multiply blend used elsewhere
   (to sit the logo on a white card) only muddies its colors against navy —
   plain alpha compositing keeps the blue/green mark readable here. */
.site-footer img[alt*="OyeHR"]{mix-blend-mode:normal !important}
.store-badge{display:inline-flex;align-items:center;gap:12px;min-height:52px;padding:6px 18px 6px 14px;border-radius:10px;background:var(--ink);color:#fff}
.store-badge:hover{background:var(--navy)}
.store-badge span.small{display:block;font-size:11px;letter-spacing:0.04em;color:#c9d9ee}
.store-badge span.big{display:block;font-size:18px;font-weight:600}

@media (max-width:860px){
  .section{padding:56px 0}
  .wrap{padding:0 20px}
}

/* Mobile nav — below this width the inline nav becomes a hamburger-triggered
   dropdown instead of just vanishing (see assets/js/nav-toggle.js). */
@media (max-width:760px){
  .site-header .wrap{padding:10px 20px;min-height:72px}
  .logo-link{left:20px}
  .logo-link img{height:64px}
  .nav-toggle{display:inline-flex}
  .nav{
    position:absolute;top:100%;left:0;right:0;
    flex-direction:column;align-items:stretch;gap:4px;
    background:#fff;border-bottom:1px solid var(--border);
    padding:8px 20px 16px;max-height:0;overflow:hidden;
    box-shadow:0 16px 32px -16px rgba(5,47,102,.2);
    transition:max-height .25s ease;
  }
  .nav.is-open{max-height:420px}
  .nav a{min-height:44px;width:100%}
  .nav a.btn{width:100%;margin-top:4px}
}

/* "The OyeHR app" preview card — a looping live-feeling simulation, no button
   needed: progress bars grow/reset and status pills fade in and out forever. */
@keyframes oyeGrowX{0%{transform:scaleX(0)}25%,90%{transform:scaleX(1)}100%{transform:scaleX(0)}}
@keyframes oyeGrowY{0%{transform:scaleY(0)}25%,90%{transform:scaleY(1)}100%{transform:scaleY(0)}}
@keyframes oyePulse{0%,10%{opacity:.35}30%,85%{opacity:1}100%{opacity:.35}}
.ap-bar-row .fill{transform-origin:left;animation:oyeGrowX 8s ease-out infinite}
.ap-week div span{transform-origin:bottom;animation:oyeGrowY 8s ease-out infinite}
.ap-pill{display:inline-block;animation:oyePulse 6s ease-in-out infinite}
@media (prefers-reduced-motion:reduce){
  .ap-bar-row .fill,.ap-week div span,.ap-pill{animation:none}
}

/* Scroll-triggered slide-in reveal for a "feature row" (copy + image/graphic +
   cards) — see assets/js/reveal.js, which adds .in-view once the .reveal-section
   is ~15% into the viewport. Applies to every section built from this pattern,
   not just one. */
.reveal-section .feature-copy{opacity:0;transform:translateX(-28px);transition:opacity .6s ease,transform .6s ease}
.reveal-section .feature-row>div:not(.feature-copy){opacity:0;transform:translateX(28px);transition:opacity .6s ease .1s,transform .6s ease .1s}
.reveal-section .feature-cards .card{opacity:0;transform:translateY(24px);transition:opacity .5s ease,transform .5s ease}
.reveal-section .feature-cards .card:nth-child(1){transition-delay:.15s}
.reveal-section .feature-cards .card:nth-child(2){transition-delay:.27s}
.reveal-section .feature-cards .card:nth-child(3){transition-delay:.39s}
.reveal-section.in-view .feature-copy,
.reveal-section.in-view .feature-row>div:not(.feature-copy),
.reveal-section.in-view .feature-cards .card{opacity:1;transform:none}
@media (prefers-reduced-motion:reduce){
  .reveal-section .feature-copy,
  .reveal-section .feature-row>div:not(.feature-copy),
  .reveal-section .feature-cards .card{opacity:1;transform:none;transition:none}
}

/* Simple long-form legal/content pages (terms, privacy, cookie policy) —
   shares the header/footer chrome with the landing page, just swaps the
   <main> for plain prose instead of marketing sections. */
.legal-page{max-width:820px;margin:0 auto;padding:56px 24px 80px}
.legal-page h1{font-family:'Montserrat',system-ui,sans-serif;font-weight:700;color:var(--navy);font-size:clamp(28px,4vw,38px);margin:0 0 8px}
.legal-page .legal-updated{color:var(--muted);font-size:14px;margin:0 0 40px}
.legal-page h2{font-family:'Montserrat',system-ui,sans-serif;font-weight:700;color:var(--navy);font-size:20px;margin:36px 0 12px}
.legal-page p,.legal-page li{color:var(--muted);font-size:15.5px;line-height:1.7}
.legal-page ul,.legal-page ol{margin:0 0 16px;padding-left:22px}
.legal-page a{color:var(--blue)}
