/* ============================================================================
 * EvCentra public website — global styles. Production build, 2026.
 *   - Inter Variable for UI + display (optical sizing 14-32)
 *   - JetBrains Mono for live data
 *   - Cool-navy shadow system, brand charge gradient for accents only
 *   - All interactive surfaces get :focus-visible rings
 *   - All motion gated behind prefers-reduced-motion
 * ============================================================================ */

@import url("./colors_and_type.css");

* { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  /* Account for sticky header when scrolling to anchors */
  scroll-padding-top: 96px;
  text-size-adjust: 100%;
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  background: var(--bg-app);
  color: var(--fg-default);
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}

/* --------------------------------------------------------------------------
 * Production polish
 * -------------------------------------------------------------------------- */

::selection {
  background: var(--evc-blue-200);
  color: var(--evc-night);
}

:focus { outline: none; }
:focus-visible {
  outline: 2px solid var(--evc-blue-500);
  outline-offset: 3px;
  border-radius: 4px;
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
    scroll-behavior: auto !important;
  }
}

@media print {
  .evc-header, .evc-footer, .hero__bg, .home-hero__glow { display: none !important; }
  body { background: white; color: black; }
  a { color: black; text-decoration: underline; }
}

a { color: var(--evc-blue-600); text-decoration: none; transition: color 120ms var(--easing-standard); }
a:hover { color: var(--evc-blue-700); text-decoration: underline; text-underline-offset: 3px; text-decoration-thickness: 1.5px; }

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

button { font-family: inherit; cursor: pointer; }
button:not(:disabled):active { transform: scale(0.98); }

/* --------------------------------------------------------------------------
 * Skip-link for screen readers + keyboard
 * -------------------------------------------------------------------------- */
.skip-link {
  position: absolute; left: -9999px; top: 0;
  background: var(--evc-night); color: #fff;
  padding: 10px 14px; border-radius: 0 0 8px 0;
  font-family: var(--font-display); font-weight: 600;
}
.skip-link:focus { left: 0; z-index: 1000; }

/* --------------------------------------------------------------------------
 * Header
 * -------------------------------------------------------------------------- */
/* --------------------------------------------------------------------------
 * Header — 2026 production pattern.
 *   Floating capsule, scroll-aware (shrinks + tightens on scroll), live status
 *   dot, dual CTAs (Sign in + Open app), full-screen mobile drawer with
 *   staggered link entrance. Patterned after Linear / Vercel / Resend.
 * -------------------------------------------------------------------------- */
.evc-header {
  position: sticky; top: 14px; z-index: 50;
  padding: 0 20px;
  transition: top 320ms var(--easing-emphasized);
}
.evc-header[data-scroll="scrolled"] { top: 10px; }
.evc-header__inner {
  max-width: 1240px; margin: 0 auto;
  display: flex; align-items: center; gap: 12px;
  padding: 8px 8px 8px 16px;
  background: rgba(255, 255, 255, 0.70);
  backdrop-filter: blur(24px) saturate(180%);
  -webkit-backdrop-filter: blur(24px) saturate(180%);
  border: 1px solid rgba(220, 227, 236, 0.55);
  border-radius: 999px;
  box-shadow:
    0 1px 0 rgba(255,255,255,0.6) inset,
    0 6px 18px rgba(6, 22, 52, 0.06),
    0 1px 2px rgba(6, 22, 52, 0.04);
  transition:
    padding 320ms var(--easing-emphasized),
    background 320ms var(--easing-standard),
    border-color 320ms var(--easing-standard),
    box-shadow 320ms var(--easing-standard);
}
.evc-header[data-scroll="scrolled"] .evc-header__inner {
  padding: 6px 6px 6px 16px;
  background: rgba(255, 255, 255, 0.86);
  border-color: rgba(220, 227, 236, 0.85);
  box-shadow:
    0 1px 0 rgba(255,255,255,0.7) inset,
    0 10px 30px rgba(6, 22, 52, 0.10),
    0 2px 4px rgba(6, 22, 52, 0.05);
}

/* Brand */
.evc-brand { display: inline-flex; align-items: center; gap: 9px; text-decoration: none; flex-shrink: 0; }
.evc-brand img {
  width: 28px; height: 28px;
  transition: transform 320ms var(--easing-emphasized);
}
.evc-brand:hover img { transform: rotate(-6deg); }
.evc-brand__word {
  font-family: var(--font-display); font-weight: 700; font-size: 17px;
  letter-spacing: -0.025em; color: var(--evc-night);
  font-variation-settings: "opsz" 18;
}
.evc-brand__word .ev {
  font-style: italic;
  background: var(--evc-gradient-charge);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}

/* Nav */
.evc-nav { display: flex; gap: 2px; justify-content: center; margin-left: 18px; }
.evc-nav a {
  position: relative;
  font-family: var(--font-display); font-weight: 500; font-size: 13.5px;
  color: var(--evc-graphite); text-decoration: none;
  padding: 7px 11px;
  border-radius: 999px;
  letter-spacing: -0.005em;
  white-space: nowrap;
  transition:
    color 160ms var(--easing-standard),
    background 160ms var(--easing-standard);
}
.evc-nav a:hover {
  color: var(--evc-night); text-decoration: none;
  background: rgba(6, 22, 52, 0.045);
}
.evc-nav a[aria-current="page"] {
  color: var(--evc-night); font-weight: 600;
  background: rgba(6, 22, 52, 0.055);
}
.evc-nav a[aria-current="page"]::after { content: none; }

/* CTA group */
.evc-header__cta { display: flex; align-items: center; gap: 8px; flex-shrink: 0; }

.evc-header__sep {
  width: 1px; height: 18px;
  background: var(--evc-cloud);
  margin: 0 2px;
}

/* Live status indicator (Linear / Vercel pattern) */
.evc-status-mini {
  display: inline-flex; align-items: center; gap: 7px;
  padding: 6px 11px 6px 9px;
  border-radius: 999px;
  background: rgba(16, 163, 74, 0.08);
  color: var(--evc-green-700);
  font-family: var(--font-display); font-weight: 500; font-size: 12px;
  letter-spacing: -0.003em;
  text-decoration: none;
  transition: background 160ms var(--easing-standard);
}
.evc-status-mini:hover { background: rgba(16, 163, 74, 0.14); color: var(--evc-green-800); text-decoration: none; }
.evc-status-mini__dot {
  width: 7px; height: 7px; border-radius: 999px;
  background: var(--evc-green-500);
  position: relative;
  flex-shrink: 0;
}
.evc-status-mini__dot::after {
  content: ""; position: absolute; inset: -3px;
  border-radius: 999px;
  background: var(--evc-green-500);
  opacity: 0.4;
  animation: status-pulse 1.8s ease-out infinite;
}
@keyframes status-pulse {
  0%   { transform: scale(0.6); opacity: 0.5; }
  100% { transform: scale(1.8); opacity: 0; }
}

/* Sign in */
.evc-signin {
  font-family: var(--font-display); font-weight: 500; font-size: 13.5px;
  color: var(--evc-night); text-decoration: none;
  padding: 7px 12px; border-radius: 999px;
  letter-spacing: -0.005em;
  transition: background 160ms var(--easing-standard);
}
.evc-signin:hover { background: rgba(6, 22, 52, 0.045); color: var(--evc-night); text-decoration: none; }

/* Gradient app CTA */
.evc-btn-gradient {
  display: inline-flex; align-items: center; gap: 5px;
  padding: 8px 14px 8px 16px;
  border-radius: 999px; border: 0;
  background:
    linear-gradient(180deg, rgba(255,255,255,0.18), rgba(255,255,255,0) 40%),
    var(--evc-gradient-charge);
  background-size: 100% 100%, 200% 100%;
  background-position: 0 0, 0% 50%;
  color: white; text-decoration: none;
  font-family: var(--font-display); font-weight: 600; font-size: 13px;
  letter-spacing: -0.005em;
  box-shadow:
    0 1px 0 rgba(255,255,255,0.25) inset,
    0 0 0 0.5px rgba(6, 22, 52, 0.10),
    0 4px 10px rgba(29, 122, 214, 0.28);
  transition:
    transform 220ms var(--easing-emphasized),
    box-shadow 220ms var(--easing-emphasized),
    background-position 600ms var(--easing-emphasized);
}
.evc-btn-gradient:hover {
  transform: translateY(-1px);
  background-position: 0 0, 100% 50%;
  box-shadow:
    0 1px 0 rgba(255,255,255,0.28) inset,
    0 0 0 0.5px rgba(6, 22, 52, 0.10),
    0 10px 24px rgba(29, 122, 214, 0.38);
  color: white; text-decoration: none;
}
.evc-btn-gradient:active { transform: scale(0.97); }
.evc-btn-gradient svg {
  transition: transform 220ms var(--easing-emphasized);
}
.evc-btn-gradient:hover svg { transform: translateX(2px); }

/* Burger (mobile) */
.evc-burger {
  display: none;
  width: 36px; height: 36px;
  border-radius: 999px;
  background: rgba(6, 22, 52, 0.04);
  border: 0; color: var(--evc-night);
  align-items: center; justify-content: center;
  transition: background 160ms var(--easing-standard);
}
.evc-burger:hover { background: rgba(6, 22, 52, 0.08); }

/* Mobile drawer */
.evc-mobile-menu {
  position: fixed; inset: 0;
  z-index: 200;
  display: flex;
  background: rgba(6, 22, 52, 0);
  transition: background 320ms var(--easing-standard);
  pointer-events: none;
}
.evc-mobile-menu.open {
  background: rgba(6, 22, 52, 0.50);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  pointer-events: auto;
}
.evc-mobile-menu__panel {
  margin-left: auto;
  width: min(360px, 90vw);
  height: 100%;
  background: linear-gradient(180deg, #061634 0%, #0A1E3C 60%, #102A4F 100%);
  color: white;
  display: flex; flex-direction: column;
  padding: 20px 24px;
  border-left: 1px solid rgba(255,255,255,0.08);
  box-shadow: -24px 0 60px rgba(0,0,0,0.4);
  transform: translateX(100%);
  transition: transform 360ms var(--easing-emphasized);
}
.evc-mobile-menu.open .evc-mobile-menu__panel { transform: translateX(0); }
.evc-mobile-menu__head { display: flex; justify-content: space-between; align-items: center; margin-bottom: 36px; }
.evc-mobile-menu__close {
  width: 36px; height: 36px; border-radius: 999px;
  background: rgba(255,255,255,0.08); border: 0;
  color: white;
  display: inline-flex; align-items: center; justify-content: center;
  transition: background 160ms var(--easing-standard);
}
.evc-mobile-menu__close:hover { background: rgba(255,255,255,0.14); }
.evc-mobile-menu__nav { display: flex; flex-direction: column; gap: 0; flex: 1; }
.evc-mobile-menu__nav a {
  display: flex; align-items: center; justify-content: space-between;
  padding: 18px 4px;
  border-bottom: 1px solid rgba(255,255,255,0.08);
  font-family: var(--font-display); font-weight: 600; font-size: 22px;
  letter-spacing: -0.02em;
  color: white; text-decoration: none;
  opacity: 0; transform: translateX(12px);
  animation: drawer-link-in 380ms var(--easing-out) forwards;
  animation-delay: calc(60ms + var(--i, 0) * 50ms);
  transition: color 160ms var(--easing-standard);
}
.evc-mobile-menu__nav a:hover { color: var(--evc-green-300); text-decoration: none; }
.evc-mobile-menu__nav a svg { opacity: 0.5; transition: 160ms var(--easing-standard); }
.evc-mobile-menu__nav a:hover svg { opacity: 1; transform: translateX(2px); }
@keyframes drawer-link-in {
  to { opacity: 1; transform: translateX(0); }
}
.evc-mobile-menu__foot {
  display: flex; flex-direction: column; gap: 16px;
  padding-top: 20px;
  border-top: 1px solid rgba(255,255,255,0.08);
}
.evc-mobile-menu__foot .evc-status-mini { background: rgba(255,255,255,0.06); color: var(--evc-green-300); align-self: start; }
.evc-mobile-menu__foot .evc-status-mini:hover { background: rgba(255,255,255,0.10); color: var(--evc-green-200); }
.evc-mobile-menu__cta {
  display: inline-block;
  padding: 14px 20px;
  background: var(--evc-gradient-charge);
  color: white; text-decoration: none;
  border-radius: 999px;
  font-family: var(--font-display); font-weight: 600; font-size: 15px;
  text-align: center;
  letter-spacing: -0.005em;
  box-shadow: 0 12px 30px rgba(29, 122, 214, 0.35);
}

/* Responsive */
@media (max-width: 1080px) {
  .evc-status-mini__label { display: none; }
  .evc-status-mini { padding: 6px 9px; }
}
@media (max-width: 980px) {
  .evc-nav { display: none; }
  .evc-status-mini { display: none; }
  .evc-header__sep { display: none; }
  .evc-signin { display: none; }
  .evc-burger { display: inline-flex; }
  .evc-btn-gradient { display: none; }
}
@media (max-width: 480px) {
  .evc-header { padding: 0 12px; }
  .evc-header__inner { padding: 6px 6px 6px 12px; gap: 8px; }
  .evc-brand__word { display: none; }
}

/* --------------------------------------------------------------------------
 * Page sections
 * -------------------------------------------------------------------------- */
.section { padding: 96px 24px; }
.section--tight { padding: 64px 24px; }
.section--alt { background: var(--evc-mist); }
.section--dark {
  background: linear-gradient(180deg, var(--evc-night) 0%, #0A1E3C 60%, var(--evc-navy-500) 100%);
  color: white;
}
.section .container { max-width: 1280px; margin: 0 auto; }
.section .container--narrow { max-width: 840px; margin: 0 auto; }

.eyebrow {
  font-family: var(--font-display); font-weight: 600; font-size: 12px;
  letter-spacing: 0.10em; text-transform: uppercase;
  color: var(--evc-blue-600);
  display: inline-block;
}
.section--dark .eyebrow { color: var(--evc-green-300); }

h1.page-title, .page-title {
  font-family: var(--font-display); font-weight: 600;
  font-size: clamp(40px, 5.4vw, 68px);
  line-height: 1.02; letter-spacing: -0.032em;
  color: var(--evc-night); margin: 14px 0 18px;
  font-variation-settings: "opsz" 32;
  text-wrap: balance;
}
.section--dark .page-title { color: white; }
.page-title .gr {
  font-style: italic;
  background: var(--evc-gradient-charge);
  -webkit-background-clip: text; background-clip: text; color: transparent;
  /* Variable italic looks crisper in Inter */
  font-variation-settings: "opsz" 32;
}

h2.section-title, .section-title {
  font-family: var(--font-display); font-weight: 600;
  font-size: clamp(30px, 3.4vw, 44px);
  line-height: 1.06; letter-spacing: -0.025em;
  color: var(--evc-night); margin: 12px 0 16px;
  font-variation-settings: "opsz" 28;
  text-wrap: balance;
}
.section--dark .section-title { color: white; }

.lede {
  font-family: var(--font-sans); font-size: 19px; line-height: 1.55;
  color: var(--fg-muted); max-width: 640px; margin: 0;
  text-wrap: pretty;
}
.section--dark .lede { color: rgba(255,255,255,0.78); }

/* --------------------------------------------------------------------------
 * Prose for legal / about pages
 * -------------------------------------------------------------------------- */
.prose {
  font-family: var(--font-sans); color: var(--fg-default);
  font-size: 16px; line-height: 1.7;
  max-width: 740px;
}
.prose h2 {
  font-family: var(--font-display); font-weight: 600;
  font-size: 26px; line-height: 1.2; letter-spacing: -0.01em;
  color: var(--evc-night); margin: 56px 0 14px;
}
.prose h3 {
  font-family: var(--font-display); font-weight: 600;
  font-size: 19px; line-height: 1.3; color: var(--evc-night);
  margin: 36px 0 10px;
}
.prose p { margin: 0 0 14px; }
.prose ul, .prose ol { margin: 0 0 18px; padding-left: 22px; }
.prose li { margin: 6px 0; }
.prose strong { color: var(--evc-night); font-weight: 600; }
.prose code { font-family: var(--font-mono); font-size: 14px; background: var(--evc-mist); padding: 2px 6px; border-radius: 4px; }
.prose table { width: 100%; border-collapse: collapse; margin: 20px 0; }
.prose th, .prose td { padding: 10px 12px; text-align: left; border-bottom: 1px solid var(--evc-cloud); font-size: 15px; }
.prose th { font-family: var(--font-display); font-weight: 600; color: var(--evc-night); }
.prose tr:last-child td { border-bottom: none; }

.toc {
  background: var(--evc-mist); border-radius: 14px;
  padding: 20px 24px; margin-bottom: 36px;
}
.toc__head { font-family: var(--font-display); font-weight: 600; font-size: 12px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--fg-muted); margin-bottom: 10px; }
.toc ol { list-style: decimal-leading-zero; padding-left: 28px; margin: 0; }
.toc li { font-size: 14px; padding: 3px 0; }
.toc a { color: var(--evc-ink); text-decoration: none; }
.toc a:hover { color: var(--evc-blue-600); text-decoration: underline; }

.last-updated {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 6px 12px; border-radius: 999px;
  background: var(--evc-mist);
  font-family: var(--font-mono); font-size: 12px; color: var(--fg-muted);
}

/* --------------------------------------------------------------------------
 * Cards
 * -------------------------------------------------------------------------- */
.card {
  background: var(--bg-surface);
  border: 1px solid var(--border-default);
  border-radius: var(--radius-xl);
  padding: 28px;
  box-shadow: var(--shadow-xs);
  transition: box-shadow 280ms var(--easing-out), transform 280ms var(--easing-out), border-color 280ms var(--easing-out);
}
.card:hover { box-shadow: var(--shadow-md); transform: translateY(-3px); border-color: var(--evc-cloud); }
.card-icon {
  width: 48px; height: 48px; border-radius: 14px;
  background: var(--evc-mist); color: var(--evc-blue-600);
  display: inline-flex; align-items: center; justify-content: center;
  margin-bottom: 14px;
}
.card h3 { font-family: var(--font-display); font-weight: 600; font-size: 22px; color: var(--evc-night); margin: 0 0 8px; letter-spacing: -0.01em; }
.card p { margin: 0; color: var(--fg-muted); font-size: 15px; }

.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
@media (max-width: 880px) {
  .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; }
}

/* --------------------------------------------------------------------------
 * Pulse + flow animations
 * -------------------------------------------------------------------------- */
@keyframes pulse { 0%, 100% { opacity: 1; } 50% { opacity: 0.5; } }
@keyframes flow  { from { background-position: 0% 0; } to { background-position: 200% 0; } }
.dot { display: inline-block; width: 8px; height: 8px; border-radius: 999px; background: var(--evc-green-500); animation: pulse 1.6s ease-in-out infinite; }

/* --------------------------------------------------------------------------
 * Status pill (reused on the live network status banner etc.)
 * -------------------------------------------------------------------------- */
.pill {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 5px 12px 5px 10px; border-radius: 999px;
  font-family: var(--font-display); font-weight: 600; font-size: 12px;
  letter-spacing: 0.04em;
}
.pill--avail { background: #ECFDF3; color: #16A34A; }
.pill--brand { background: rgba(34,197,94,0.14); color: #A6F4C5; }

/* --------------------------------------------------------------------------
 * Footer
 * -------------------------------------------------------------------------- */
.evc-footer {
  background: white;
  padding: 80px 24px 40px;
  border-top: 1px solid var(--evc-mist);
}
.evc-footer__inner { max-width: 1280px; margin: 0 auto; }
.evc-footer__top {
  display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr 1fr; gap: 36px;
  padding-bottom: 48px; border-bottom: 1px solid var(--evc-mist);
}
.evc-footer__brand { max-width: 300px; }
.evc-footer__brand p { font-size: 14px; line-height: 1.55; color: var(--fg-muted); margin: 12px 0 18px; }
.evc-footer__col-head {
  font-family: var(--font-display); font-weight: 600; font-size: 11px;
  letter-spacing: 0.12em; text-transform: uppercase;
  color: var(--evc-night); margin-bottom: 14px;
}
.evc-footer__col ul { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 10px; }
.evc-footer__col a { font-family: var(--font-sans); font-size: 14px; color: var(--fg-muted); text-decoration: none; }
.evc-footer__col a:hover { color: var(--evc-blue-600); }
.evc-footer__bottom {
  padding-top: 24px;
  display: flex; flex-wrap: wrap; gap: 16px; justify-content: space-between;
  font-family: var(--font-display); font-size: 12px; color: var(--fg-muted);
}
.evc-footer__addr { font-family: var(--font-sans); font-size: 13px; color: var(--fg-muted); }
.evc-footer__status { display: inline-flex; align-items: center; gap: 8px; }

@media (max-width: 880px) {
  .evc-footer__top { grid-template-columns: 1fr 1fr; }
}

/* --------------------------------------------------------------------------
 * Crumbs
 * -------------------------------------------------------------------------- */
.crumbs {
  font-family: var(--font-mono); font-size: 12px;
  color: var(--fg-muted); display: flex; gap: 8px; align-items: center;
}
.crumbs a { color: var(--fg-muted); text-decoration: none; }
.crumbs a:hover { color: var(--evc-blue-600); }
.crumbs span { opacity: 0.5; }

/* --------------------------------------------------------------------------
 * Form
 * -------------------------------------------------------------------------- */
.form { display: flex; flex-direction: column; gap: 14px; }
.field { display: flex; flex-direction: column; gap: 6px; }
.field label { font-family: var(--font-display); font-weight: 600; font-size: 13px; color: var(--evc-night); }
.field input, .field textarea, .field select {
  font-family: var(--font-sans); font-size: 15px;
  padding: 12px 14px; border-radius: 10px;
  border: 1px solid var(--border-default); background: white; color: var(--evc-ink);
  transition: border-color 160ms var(--easing-standard), box-shadow 160ms var(--easing-standard);
}
.field textarea { min-height: 140px; resize: vertical; }
.field input:focus, .field textarea:focus, .field select:focus {
  outline: none; border-color: var(--evc-blue-500);
  box-shadow: 0 0 0 4px rgba(29, 122, 214, 0.18);
}
.field__hint { font-size: 12px; color: var(--fg-muted); }

.btn-primary {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  background: var(--evc-blue-500); color: white;
  font-family: var(--font-display); font-weight: 600; font-size: 15px;
  letter-spacing: -0.005em;
  padding: 14px 22px; border-radius: 12px; border: 0;
  box-shadow: 0 4px 12px rgba(29, 122, 214, 0.24), inset 0 1px 0 rgba(255,255,255,0.16);
  cursor: pointer; transition: 180ms var(--easing-emphasized);
}
.btn-primary:hover {
  background: var(--evc-blue-600);
  transform: translateY(-1px);
  box-shadow: 0 8px 20px rgba(29, 122, 214, 0.32), inset 0 1px 0 rgba(255,255,255,0.18);
}
.btn-primary:active { transform: scale(0.98); }
.btn-secondary {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  background: white; color: var(--evc-night);
  font-family: var(--font-display); font-weight: 600; font-size: 15px;
  letter-spacing: -0.005em;
  padding: 13px 20px; border-radius: 12px;
  border: 1px solid var(--border-default);
  cursor: pointer; transition: 180ms var(--easing-standard);
}
.btn-secondary:hover { background: var(--evc-mist); border-color: var(--border-strong); transform: translateY(-1px); }
.btn-secondary:active { transform: scale(0.98); }

/* --------------------------------------------------------------------------
 * Hero (shared shell used on most pages)
 * -------------------------------------------------------------------------- */
/* --------------------------------------------------------------------------
 * Hero (shared shell used on most pages) — floats *under* the sticky header.
 * No negative margin so the floating header reads as truly floating.
 * -------------------------------------------------------------------------- */
.hero {
  position: relative; overflow: hidden;
  background: linear-gradient(180deg, var(--evc-night) 0%, #0A1E3C 60%, var(--evc-navy-500) 100%);
  color: white; padding: 130px 24px 80px;
  /* Subtle floating-card feel: round the hero's bottom corners and inset it */
  margin: -78px 16px 0;
  border-radius: 0 0 32px 32px;
}
.hero__bg {
  position: absolute; inset: 0; opacity: 0.18; pointer-events: none;
}
.hero__bg::before {
  content: "";
  position: absolute; inset: 0;
  background:
    radial-gradient(circle at 70% 20%, rgba(34, 197, 94, 0.22) 0%, transparent 50%),
    radial-gradient(circle at 20% 80%, rgba(29, 122, 214, 0.24) 0%, transparent 50%);
}
.hero__inner { position: relative; max-width: 1280px; margin: 0 auto; }
.hero__inner > * { position: relative; z-index: 1; }

/* Hero is a dark surface — force light copy on everything inside it. */
.hero .page-title,
.hero .section-title,
.hero h1,
.hero h2,
.hero h3 { color: white; }
.hero .lede,
.hero p.lede { color: rgba(255, 255, 255, 0.78); }
.hero .eyebrow { color: var(--evc-green-300); }
.hero a:not(.btn-primary):not(.btn-secondary):not(.evc-btn-gradient) { color: white; }
