:root{
  /* Palette inferred from your logo */
  --brand-blue:#004583;
  --brand-green:#05a535;
  --brand-lime:#a1c510;
  --brand-gray:#9c9c9c;

  --bg:#f6f8fb;
  --surface:#ffffff;
  --text:#0f172a;
  --muted:#475569;
  --border:rgba(15,23,42,.10);
  --shadow:0 10px 30px rgba(2,8,23,.08);
  --radius:18px;
  --radius-lg:26px;
  --max:1160px;
}

/* These utility classes need to exist in site.css to work on both pages */
.surface-pad{
  padding:26px !important;
}

.align-center{
  align-items:center !important;
}

.grid-metrics{
  display:grid !important;
  grid-template-columns:repeat(2,1fr) !important;
  gap:12px !important;
}

.card-left-blue{
  border-left:4px solid var(--brand-blue) !important;
}

.row{
  display:flex !important;
  align-items:center !important;
}

.row-gap{
  gap:10px !important;
}

.t-blue{color:var(--brand-blue) !important}
.t-green{color:var(--brand-green) !important}
.t-lime{color:var(--brand-lime) !important}

*{box-sizing:border-box}
html,body{margin:0;padding:0}
body{
  font-family: system-ui, -apple-system, Segoe UI, Roboto, Ubuntu, Cantarell, "Helvetica Neue", Arial, "Noto Sans", "Liberation Sans", sans-serif;
  color:var(--text);
  background:
    radial-gradient(900px 400px at 15% -10%, rgba(5,165,53,.10), transparent 55%),
    radial-gradient(900px 420px at 85% -12%, rgba(0,69,131,.10), transparent 55%),
    var(--bg);
  line-height:1.5;
}

a{color:inherit; text-decoration:none}
.wrap{max-width:var(--max); margin:0 auto; padding:0 20px;}
.section{padding:54px 0;}
.surface{
  background:var(--surface);
  border:1px solid var(--border);
  border-radius:var(--radius-lg);
  box-shadow:var(--shadow);
}

.kicker{
  display:inline-flex; align-items:center; gap:10px;
  color:var(--brand-blue);
  font-weight:800;
  letter-spacing:.08em;
  text-transform:uppercase;
  font-size:.82rem;
}
.kicker::before{
  content:"";
  width:10px; height:10px; border-radius:999px;
  background:linear-gradient(135deg,var(--brand-green),var(--brand-lime));
  box-shadow:0 0 0 6px rgba(161,197,16,.12);
}

h1,h2,h3{margin:0 0 12px 0; line-height:1.1}
h1{font-size:clamp(2rem, 3.5vw, 3rem)}
h2{font-size:clamp(1.6rem, 2.6vw, 2.2rem)}
h3{font-size:1.15rem}
p{margin:0 0 18px 0; color:var(--muted)}
.lead{font-size:1.08rem; max-width:70ch}

.grid{display:grid; gap:18px}
@media (min-width: 900px){
  .grid-2{grid-template-columns:1.2fr .8fr}
  .grid-3{grid-template-columns:repeat(3,1fr)}
  .grid-4{grid-template-columns:repeat(4,1fr)}
}

.card{
  background:var(--surface);
  border:1px solid var(--border);
  border-radius:var(--radius);
  padding:18px;
  transition: transform .15s ease, box-shadow .15s ease;
}
.card:hover{transform:translateY(-2px); box-shadow:0 14px 40px rgba(2,8,23,.10);}

.pill{
  display:inline-flex; align-items:center;
  gap:8px;
  padding:7px 12px;
  border-radius:999px;
  border:1px solid var(--border);
  background:rgba(0,69,131,.04);
  color:var(--brand-blue);
  font-weight:650;
  font-size:.88rem;
  white-space:nowrap;
  transition: background .15s ease, border-color .15s ease, color .15s ease, transform .15s ease;
}
.pill .dot{
  width:8px; height:8px; border-radius:999px;
  background:var(--brand-lime);
  box-shadow:0 0 0 6px rgba(5,165,53,.12);
  transition: background .15s ease, box-shadow .15s ease;
}
/* ✅ lime hover */
.pill:hover{
  background: var(--brand-lime);
  border-color: rgba(161,197,16,.55);
  color:#06210f;
  transform: translateY(-1px);
}
.pill:hover .dot{
  background: var(--brand-green);
  box-shadow: 0 0 0 6px rgba(5,165,53,.14);
}

.pill-hover-lime:hover{
  background: var(--brand-lime);
  border-color: rgba(161,197,16,.55);
  color:#06210f;
  transform: translateY(-1px);
}
.pill-hover-lime:hover .dot{
  background: var(--brand-green);
  box-shadow: 0 0 0 6px rgba(5,165,53,.14);
}

.btn{
  display:inline-flex; align-items:center; justify-content:center;
  gap:10px;
  padding:12px 16px;
  border-radius:14px;
  border:1px solid var(--border);
  font-weight:800;
  cursor:pointer;
  transition: filter .15s ease, background .15s ease, transform .15s ease, border-color .15s ease;
}
.btn:active{transform:translateY(1px)}
.btn-primary{
  background:linear-gradient(135deg,var(--brand-green),var(--brand-lime));
  color:#06210f;
  border-color:rgba(5,165,53,.25);
}
.btn-primary:hover{filter:brightness(.98)}
.btn-ghost{background:transparent; color:var(--brand-blue);}
.btn-ghost:hover{background:rgba(0,69,131,.06)}

.metric{
  padding:14px 16px;
  border-radius:16px;
  border:1px solid var(--border);
  background:linear-gradient(180deg, rgba(0,69,131,.04), rgba(5,165,53,.03));
}
.metric b{display:block; font-size:1.25rem; color:var(--text)}
.metric span{color:var(--muted); font-size:.9rem}

.icon{
  width:44px; height:44px;
  border-radius:14px;
  background:linear-gradient(135deg, rgba(0,69,131,.10), rgba(5,165,53,.10));
  display:grid; place-items:center;
  border:1px solid var(--border);
}
.icon svg{width:22px;height:22px; fill:var(--brand-blue)}
.muted{color:var(--muted)}
.small{font-size:.92rem}
.divider{height:1px; background:var(--border); margin:18px 0}
.tagrow{display:flex; flex-wrap:wrap; gap:10px}

input,select,textarea{
  width:100%;
  padding:12px 12px;
  border-radius:14px;
  border:1px solid var(--border);
  background:#fff;
  font:inherit;
  outline:none;
}
input:focus,select:focus,textarea:focus{
  border-color:rgba(0,69,131,.35);
  box-shadow:0 0 0 5px rgba(0,69,131,.10);
}

/* ===== Header ===== */
.topbar{
  position:sticky; top:0; z-index:50;
  background:rgba(246,248,251,.78);
  backdrop-filter: blur(10px);
  border-bottom:1px solid rgba(15,23,42,.08);
}
.topbar a{ text-decoration:none !important; }
.topbar-inner{
  display:flex; align-items:center; justify-content:space-between;
  padding:12px 0;
  gap:14px;
}
.brand{
  display:flex; align-items:center; gap:12px;
  min-width: 180px;
}
.brand img{height:64px; width:auto; display:block;}
.brand .name{display:flex; flex-direction:column; line-height:1.1;}
.brand .name b{font-size:.98rem}
.brand .name span{font-size:.8rem; color:var(--muted)}

.primary-nav{
  display:flex; align-items:center; gap:12px; flex-wrap:wrap;
  justify-content:flex-end;
}
.primary-nav a{
  padding:8px 10px;
  border-radius:12px;
  font-weight:750;
  color:var(--brand-blue);
  text-decoration:none;
}
.primary-nav a:hover{background:rgba(0,69,131,.06)}

/* ===== Hamburger + Drawer ===== */
.hamburger{
  display:none;
  align-items:center; justify-content:center;
  width:44px; height:44px;
  border-radius:14px;
  border:1px solid var(--border);
  background:transparent;
  cursor:pointer;
}
.hamburger:hover{background:rgba(0,69,131,.06)}
.hamburger svg{width:22px;height:22px; fill:var(--brand-blue)}

.nav-backdrop, .nav-drawer{ display:none; }

@media (max-width: 820px){
  .brand .name{display:none}
  .primary-nav{display:none}
  .hamburger{display:inline-flex}

  .nav-backdrop{ display:block; }
  .nav-drawer{ display:flex; }
}

.nav-backdrop{
  position:fixed; inset:0;
  background: rgba(2,8,23,.35);
  backdrop-filter: blur(2px);
  opacity:0;
  pointer-events:none;
  transition: opacity .18s ease;
  z-index:80;
}

.nav-drawer{
  position:fixed;
  top:0; right:0;
  height:100%;
  width:min(360px, 86vw);
  background:var(--surface);
  border-left:1px solid var(--border);
  box-shadow:0 20px 60px rgba(2,8,23,.22);
  transform: translateX(104%);
  transition: transform .2s ease;
  z-index:90;
  flex-direction:column;
}
.nav-drawer-header{
  display:flex;
  align-items:center;
  justify-content:space-between;
  padding:14px;
  border-bottom:1px solid var(--border);
}

.drawer-brand{
  display:flex;
  align-items:center;
  gap:10px;
}
.drawer-brand img{
  height:44px;
  width:auto;
  display:block;
}

.nav-drawer-links{
  padding:12px;
  display:grid;
  gap:8px;
}
.nav-drawer-links a{
  padding:12px;
  border-radius:14px;
  border:1px solid transparent;
  font-weight:750;
  color:var(--brand-blue);
  text-decoration:none;
}
.nav-drawer-links a:hover{
  background: rgba(0,69,131,.06);
  border-color: rgba(0,69,131,.10);
}
.nav-drawer-footer{
  margin-top:auto;
  padding:12px;
  border-top:1px solid var(--border);
}

body.nav-open{ overflow:hidden; }
body.nav-open .nav-backdrop{
  opacity:1;
  pointer-events:auto;
}
body.nav-open .nav-drawer{
  transform: translateX(0);
}

/* Hero brandmark */
.hero-brandmark{
  display:flex; align-items:center; gap:12px;
  margin-bottom:10px;
}
.hero-brandmark img{height:44px; width:auto; display:block}
.hero-brandmark .wording{display:flex; flex-direction:column; line-height:1.1;}
.hero-brandmark .wording b{font-size:1rem}
.hero-brandmark .wording span{font-size:.85rem; color:var(--muted)}

/* Force consistent top menu link styling */
.topbar .primary-nav a,
.topbar .primary-nav a:visited{
  color: var(--brand-blue) !important;
  font-weight: 750;
  text-decoration: none !important;
}

.topbar .primary-nav a:hover{
  background: rgba(0,69,131,.06);
}

.nav-drawer-links a,
.nav-drawer-links a:visited{
  color: var(--brand-blue) !important;
  font-weight: 750;
  text-decoration: none !important;
}