/* ==========================================================================
   Expiscor Solutions: site styles
   Brand colors come from the Expiscor logo: blue #5085B6, gray #818991.
   ========================================================================== */

:root {
  --brand-blue: #5085b6;          /* logo blue */
  --brand-gray: #818991;          /* logo gray */
  --brand-navy: #16263a;
  --brand-navy-2: #1f3a59;
  --brand-accent: var(--brand-blue);
  --brand-accent-dark: #3d6d99;   /* AA-contrast blue for text and buttons */
  --brand-accent-darker: #335d84;

  --text: #1d2939;
  --text-muted: #5b6b80;
  --bg: #ffffff;
  --bg-alt: #f4f7fa;
  --border: #e3e8ef;

  --radius: 12px;
  --max-width: 1120px;
  --font: "Inter", "Segoe UI", system-ui, -apple-system, Roboto, "Helvetica Neue", Arial, sans-serif;
}

*,
*::before,
*::after { box-sizing: border-box; }

html { scroll-behavior: smooth; scroll-padding-top: 80px; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
}

body {
  margin: 0;
  font-family: var(--font);
  font-size: 1.0625rem;
  line-height: 1.65;
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; height: auto; display: block; }

h1, h2, h3 { line-height: 1.2; color: var(--brand-navy); margin: 0 0 .5em; }
h1 { font-size: clamp(2.25rem, 5vw, 3.5rem); letter-spacing: -0.02em; }
h2 { font-size: clamp(1.75rem, 3.5vw, 2.5rem); letter-spacing: -0.01em; }
h3 { font-size: 1.2rem; }
p  { margin: 0 0 1em; }

a { color: var(--brand-accent-dark); }

.container {
  width: 100%;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 24px;
}

.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  background: var(--brand-navy);
  color: #fff;
  padding: 8px 16px;
  z-index: 100;
}
.skip-link:focus { left: 8px; top: 8px; }

:focus-visible { outline: 3px solid var(--brand-accent); outline-offset: 2px; }

.eyebrow {
  text-transform: uppercase;
  letter-spacing: .12em;
  font-size: .8rem;
  font-weight: 600;
  color: var(--brand-accent-dark);
  margin-bottom: .75em;
}

/* Header ------------------------------------------------------------------ */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 255, 255, .92);
  backdrop-filter: saturate(180%) blur(8px);
  border-bottom: 1px solid var(--border);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  min-height: 68px;
}
.brand { display: block; line-height: 0; }
.brand img { height: 44px; width: auto; }

.nav-links {
  display: flex;
  gap: 28px;
  list-style: none;
  margin: 0;
  padding: 0;
}
.nav-links a {
  color: var(--text);
  text-decoration: none;
  font-weight: 500;
  font-size: .95rem;
}
.nav-links a:hover { color: var(--brand-accent-dark); }

/* Buttons ----------------------------------------------------------------- */
.btn {
  display: inline-block;
  padding: 12px 22px;
  border-radius: 8px;
  font-weight: 600;
  font-size: 1rem;
  text-decoration: none;
  transition: background-color .15s ease, color .15s ease, border-color .15s ease;
}
.btn-primary { background: var(--brand-accent-dark); color: #fff; }
.btn-primary:hover { background: var(--brand-accent-darker); }

/* Hero -------------------------------------------------------------------- */
.hero {
  background:
    radial-gradient(1000px 500px at 85% -10%, rgba(80, 133, 182, .35), transparent 60%),
    linear-gradient(160deg, var(--brand-navy) 0%, var(--brand-navy-2) 100%);
  color: #dbe4ef;
  padding: clamp(72px, 12vw, 140px) 0;
}
.hero h1 { color: #fff; max-width: 16ch; }
.hero .eyebrow { color: #9cc0e2; }
.lead { font-size: 1.2rem; max-width: 60ch; color: #c6d3e2; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 32px; }

/* Sections ---------------------------------------------------------------- */
.section { padding: clamp(64px, 9vw, 112px) 0; }

/* About ------------------------------------------------------------------- */
.about p:not(.eyebrow) { color: var(--text-muted); font-size: 1.15rem; max-width: 62ch; }

/* Footer ------------------------------------------------------------------ */
.site-footer {
  background: var(--brand-navy);
  color: #a9b8cc;
  padding: 36px 0;
  font-size: .9rem;
}
.footer-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}
.footer-inner img { height: 36px; width: auto; }
.footer-inner p { margin: 0; }

/* 404 --------------------------------------------------------------------- */
.not-found {
  min-height: 60vh;
  display: grid;
  place-items: center;
  text-align: center;
  padding: 80px 0;
}
.not-found p { color: var(--text-muted); }

/* Responsive -------------------------------------------------------------- */
@media (max-width: 560px) {
  .container { padding: 0 16px; }
  .header-inner { min-height: 60px; }
  .brand img { height: 30px; }
  .nav-links { gap: 16px; }
  .nav-links a { font-size: .875rem; }
}
