:root{
  --bg:#ffffff;
  --surface:#f6f7f9;
  --text:#0b1220;
  --muted:#334155;
  --line:rgba(2,6,23,.14);
  --brand:#0b3b8f;
  --brand2:#0f766e;
  --shadow: 0 10px 26px rgba(2,6,23,.08);
  --r:18px;
}

*{box-sizing:border-box}
html{scroll-behavior:smooth}
@media (prefers-reduced-motion: reduce){ html{scroll-behavior:auto} }

body{
  margin:0;
  font-family: ui-sans-serif, system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
  color:var(--text);
  background:var(--bg);
  line-height:1.55;
}

a{color:inherit}
a:hover{text-decoration:underline}

.container{width:min(1120px, 92%); margin:0 auto}

/* Accessibility */
.skip-link{ position:absolute; left:-999px; top:auto; width:1px; height:1px; overflow:hidden; }
.skip-link:focus{
  left:16px; top:12px; width:auto; height:auto;
  padding:10px 12px; background:#fff;
  border:2px solid var(--brand);
  border-radius:12px; z-index:9999;
  box-shadow: var(--shadow);
  text-decoration:none; font-weight:800;
}
:focus-visible{ outline: 3px solid var(--brand); outline-offset: 3px; }
.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;
}

/* Header */
.topbar{
  position:sticky; top:0; z-index:50;
  background: rgba(255,255,255,.92);
  backdrop-filter: blur(10px);
  border-bottom:1px solid var(--line);
}
.nav{
  display:flex; align-items:center; justify-content:space-between;
  padding:14px 0; gap:14px; flex-wrap:wrap;
}
.brand{
  display:flex; align-items:center; gap:12px;
  font-weight:850; letter-spacing:.2px;
  text-decoration:none;
}
.brand-mark{
  width:34px; height:34px; border-radius:10px;
  object-fit:contain; background:#fff;
  border:1px solid var(--line);
}
.nav-toggle{
  display:none;
  border:1px solid var(--line);
  background:#fff;
  padding:10px 12px;
  border-radius:12px;
  font-weight:750;
}
.navlinks{ display:flex; align-items:center; gap:8px; }
.navlinks a{
  color:var(--muted);
  padding:10px 12px;
  border-radius:12px;
  border:1px solid transparent;
  text-decoration:none;
}
.navlinks a[aria-current="page"]{
  color:var(--text);
  background: rgba(11,59,143,.06);
  border-color: rgba(11,59,143,.18);
}

/* Layout */
.hero{
  padding:54px 0 26px;
  background: linear-gradient(180deg, rgba(11,59,143,.06), transparent 60%);
}
.kicker{ color:var(--muted); font-weight:700; letter-spacing:.2px; text-transform:uppercase; font-size:.9rem; }
h1{ margin:10px 0 12px; font-size: clamp(2rem, 4vw, 3rem); line-height:1.08; }
.lede{ color:var(--muted); font-size:1.06rem; max-width: 75ch; }

.section{ padding:34px 0; }
.section h2{ margin:0 0 12px; font-size:1.55rem; }
.section p{ margin:0; color:var(--muted); }

.card{
  background:#fff;
  border:1px solid var(--line);
  border-radius: var(--r);
  box-shadow: var(--shadow);
}
.card.pad{ padding:16px; }

.grid{
  display:grid;
  grid-template-columns: repeat(4, 1fr);
  gap:14px;
  margin-top:14px;
}
.tile{ padding:16px; }

.tile h3{ margin:12px 0 6px; font-size:1.06rem; }
.tile p{ margin:0; color:var(--muted); }

.logo-square{
  width:140px;
  height:140px;
  border-radius: 16px;
  border:1px solid var(--line);
  background: var(--surface);
  overflow:hidden;
  display:flex;
  align-items:center;
  justify-content:center;
}
.logo-square img{
  width:100%;
  height:100%;
  object-fit:contain;
  background:#fff;
}
.logo-square.cover img{ object-fit:cover; }

.logo-row{
  display:flex;
  gap:14px;
  align-items:flex-start;
  flex-wrap:wrap;
}

.btn{
  display:inline-flex; align-items:center; justify-content:center;
  padding:12px 14px;
  border-radius:14px;
  border:1px solid var(--line);
  background:#fff;
  font-weight:780;
  text-decoration:none;
}
.btn:hover{ background:#fafafa; text-decoration:none; }
.btn.primary{
  border-color: transparent;
  background: linear-gradient(135deg, var(--brand), var(--brand2));
  color:#fff;
}
.btn.primary:hover{ filter:brightness(1.03); }
.cta{ display:flex; gap:12px; flex-wrap:wrap; margin-top:16px; }

.meta{ margin-top:10px; display:flex; flex-wrap:wrap; gap:8px; }
.pill{
  display:inline-flex;
  padding:7px 10px;
  border-radius:999px;
  border:1px solid var(--line);
  background: rgba(11,59,143,.04);
  color:var(--muted);
  font-weight:650;
  font-size:.92rem;
  text-decoration:none;
}
.pill:hover{ text-decoration:underline; }
.pill.link{ color: var(--brand); font-weight:800; background: rgba(11,59,143,.06); }

.actions{ display:flex; gap:10px; flex-wrap:wrap; margin-top:12px; }
.link{ color: var(--brand); font-weight:800; text-decoration:none; }
.link:hover{ text-decoration:underline; }

.panel{
  background: var(--surface);
  border:1px solid var(--line);
  border-radius: var(--r);
  padding:16px;
}

.two-col{
  display:grid;
  grid-template-columns: 1.2fr .8fr;
  gap:14px;
  margin-top:14px;
}
.two-col.equal{ grid-template-columns: 1fr 1fr; }

hr{ border:0; height:1px; background: var(--line); margin:14px 0; }

/* Footer (no email/phone) */
.footer{
  margin-top:22px;
  border-top:1px solid var(--line);
  padding:26px 0 34px;
  color:var(--muted);
}
.footer-grid{
  display:grid;
  grid-template-columns: 1.2fr .8fr;
  gap:14px;
  align-items:start;
}
.footer a{ color:var(--muted); }
.footer a:hover{ color:var(--text); }

/* Company header layout (uniform) */
.company-head{ padding-top: 18px; }
.company-top{
  display:flex;
  gap:14px;
  flex-wrap:wrap;
  align-items:flex-start;
  justify-content:space-between;
}
.company-title{ margin:0; font-size: clamp(1.7rem, 3vw, 2.25rem); }
.company-sub{ margin:10px 0 0; color:var(--muted); max-width: 85ch; }

/* Media block */
.media-wide{
  width:100%;
  border:1px solid var(--line);
  border-radius: var(--r);
  overflow:hidden;
  background: var(--surface);
}
.media-wide img{
  width:100%;
  height:auto;
  display:block;
  object-fit:cover;
}

/* Mobile */
@media (max-width: 980px){
  .grid{ grid-template-columns: 1fr; }
  .two-col{ grid-template-columns: 1fr; }

  .nav-toggle{ display:inline-flex; }
  .navlinks{
    display:none;
    width:100%;
    padding:10px 0 14px;
    border-top:1px solid var(--line);
    margin-top:10px;
    flex-direction:column;
    align-items:stretch;
    gap:6px;
  }
  .navlinks.open{ display:flex; }
}
