:root {
  color-scheme: light;
  font-family: Arial, Helvetica, sans-serif;
  color: #162230;
  background: #f4f7fa;
  --ink: #162230;
  --navy: #09243d;
  --blue: #115f94;
  --green: #2fa84f;
  --panel: #ffffff;
  --line: #dbe4ec;
  --muted: #5c6d7d;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; }
a { color: inherit; }
p { margin: 0; line-height: 1.65; }
.site-header { position: sticky; top: 0; z-index: 20; background: rgba(255,255,255,.96); border-bottom: 1px solid var(--line); }
.nav { width: min(1180px, calc(100vw - 32px)); min-height: 94px; margin: 0 auto; display: flex; align-items: center; justify-content: space-between; gap: 28px; }
.brand { display: flex; align-items: center; text-decoration: none; color: var(--navy); }
.brand img { width: min(430px, 52vw); height: 78px; object-fit: contain; object-position: left center; }
.nav-links { display: flex; align-items: center; justify-content: flex-end; flex-wrap: wrap; gap: 4px; }
.nav-links a { min-height: 38px; display: inline-flex; align-items: center; padding: 9px 12px; border-radius: 4px; text-decoration: none; color: #31475c; font-size: 14px; font-weight: 700; }
.nav-links a:hover, .nav-links a.active { color: var(--blue); background: #e9f2f7; }
.nav-links .portal-link { margin-left: 6px; color: white; background: var(--navy); }
.nav-links .portal-link:hover { color: white; background: var(--blue); }
.menu-toggle { display: none; width: 44px; height: 44px; border: 1px solid var(--line); border-radius: 4px; background: white; color: var(--navy); cursor: pointer; }
.menu-toggle span { display: block; width: 22px; height: 2px; margin: 5px auto; background: currentColor; }
.hero { min-height: 590px; display: grid; align-items: end; color: white; position: relative; overflow: hidden; background: linear-gradient(90deg, rgba(5,20,35,.96) 0%, rgba(5,20,35,.82) 45%, rgba(5,20,35,.2) 100%), url("knowledge-database-hero.png") center / cover no-repeat; }
.hero-content, .section-inner { width: min(1180px, calc(100vw - 32px)); margin: 0 auto; }
.hero-content { display: grid; gap: 18px; padding: 86px 0 62px; }
.hero-copy { max-width: 760px; display: grid; gap: 18px; }
.eyebrow { margin: 0; color: var(--green); font-size: 12px; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; }
h1, h2, h3 { margin: 0; color: var(--navy); letter-spacing: 0; }
.hero h1 { color: white; font-size: clamp(44px, 6vw, 78px); line-height: .98; max-width: 780px; }
h1.page-title { font-size: clamp(38px, 5vw, 64px); line-height: 1.02; }
h2 { font-size: clamp(28px, 4vw, 44px); line-height: 1.08; }
h3 { font-size: 20px; line-height: 1.2; }
.lead { max-width: 690px; color: #dbe8f4; font-size: 19px; }
.actions { display: flex; flex-wrap: wrap; gap: 10px; }
.button { min-height: 44px; display: inline-flex; align-items: center; justify-content: center; padding: 10px 18px; border: 1px solid transparent; border-radius: 4px; background: var(--green); color: white; text-decoration: none; font-weight: 800; }
.button.secondary { color: white; background: transparent; border-color: rgba(255,255,255,.48); }
.button.dark { background: var(--navy); }
.hero-metrics { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); max-width: 720px; margin-top: 26px; border-top: 1px solid rgba(255,255,255,.22); border-bottom: 1px solid rgba(255,255,255,.22); }
.metric { padding: 18px 18px 18px 0; }
.metric strong { display: block; color: white; font-size: 24px; }
.metric span { color: #bdd0df; font-size: 13px; }
.accreditation-strip { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; margin-top: 30px; }
.accreditation-card { min-height: 100%; display: grid; grid-template-rows: 135px auto; gap: 18px; align-items: start; }
.accreditation-logo { height: 135px; display: grid; place-items: center; border: 1px solid var(--line); border-radius: 4px; background: #f8fafc; }
.accreditation-logo img { max-width: 100%; max-height: 110px; object-fit: contain; }
.accreditation-card h3 { min-height: 48px; }
section { padding: 68px 0; }
.band { background: white; }
.section-heading { display: grid; gap: 10px; max-width: 760px; margin-bottom: 28px; }
.muted { color: var(--muted); }
.grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
.grid.two { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.grid.profiles { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.card { background: var(--panel); border: 1px solid var(--line); border-radius: 6px; padding: 24px; }
.card.accent { border-top: 4px solid var(--green); }
.service-card { min-height: 100%; display: grid; grid-template-rows: 165px auto; align-content: start; gap: 0; padding: 0; overflow: hidden; background: white; }
.service-card-link { color: inherit; text-decoration: none; }
.service-card-link:hover { border-color: #b8d2e2; box-shadow: 0 14px 30px rgba(5,20,35,.08); }
.service-card span, .number { color: var(--blue); font-weight: 800; font-size: 13px; }
.service-media { height: 165px; display: grid; place-items: center; background: #eef4f8; border-bottom: 1px solid var(--line); }
.service-media img { width: 100%; height: 100%; object-fit: cover; display: block; }
.service-media.logo img { width: auto; max-width: 82%; height: auto; max-height: 132px; object-fit: contain; }
.service-body { display: grid; gap: 8px; padding: 22px 24px 24px; background: white; }
.service-body ul { margin: 0; padding-left: 18px; color: var(--muted); line-height: 1.55; }
.learn-more { color: var(--blue); font-weight: 800; font-size: 14px; }
.ace-process { position: relative; min-height: 560px; display: grid; place-items: center; margin-top: 12px; }
.ace-loop-svg { position: absolute; inset: 8px 0 0; z-index: 1; width: 100%; height: 530px; overflow: visible; }
.ace-loop-svg .loop-segment { fill: none; stroke: #4776c4; stroke-width: 48; stroke-linecap: round; stroke-linejoin: round; }
.ace-loop-svg .loop-stripes path { fill: none; stroke: white; stroke-width: 8; stroke-linecap: round; stroke-linejoin: round; }
.ace-center { position: relative; z-index: 3; width: 142px; height: 142px; display: grid; place-items: center; text-align: center; border-radius: 50%; background: var(--navy); color: white; padding: 18px; font-weight: 800; box-shadow: 0 16px 34px rgba(5,20,35,.18); }
.ace-step { position: absolute; z-index: 4; width: 220px; min-height: 94px; display: grid; gap: 6px; align-content: start; background: white; border: 1px solid var(--line); border-top: 4px solid var(--green); border-radius: 6px; padding: 14px; box-shadow: 0 12px 28px rgba(5,20,35,.08); }
.ace-step strong { color: var(--navy); }
.ace-step span { color: var(--muted); font-size: 14px; line-height: 1.45; }
.ace-step.one { top: 22px; left: 50%; transform: translateX(-50%); }
.ace-step.two { right: calc(50% - 410px); top: 50%; transform: translateY(-50%); }
.ace-step.three { bottom: 22px; left: 50%; transform: translateX(-50%); }
.ace-step.four { left: calc(50% - 410px); top: 50%; transform: translateY(-50%); }
.profile-card { display: grid; gap: 10px; }
.profile-card .role { color: var(--blue); font-size: 13px; font-weight: 800; }
.split { display: grid; grid-template-columns: 1.05fr .95fr; gap: 34px; align-items: start; }
.portal-panel { background: var(--navy); color: white; overflow: hidden; position: relative; }
.portal-panel h2, .portal-panel h3 { color: white; }
.portal-panel .muted { color: #c6d5e1; }
.portal-panel::after { content: ""; position: absolute; inset: auto -80px -100px auto; width: 260px; height: 260px; border: 1px solid rgba(255,255,255,.16); border-radius: 50%; }
.quote-card { display: grid; gap: 14px; border-left: 4px solid var(--green); }
.quote-card blockquote { margin: 0; color: var(--ink); line-height: 1.62; }
.quote-card cite { color: var(--muted); font-style: normal; font-weight: 800; }
.list { display: grid; gap: 12px; padding: 0; margin: 0; list-style: none; }
.list li { position: relative; padding-left: 20px; line-height: 1.58; }
.list li::before { content: ""; position: absolute; left: 0; top: .72em; width: 8px; height: 8px; background: var(--green); }
.page-hero { background: linear-gradient(135deg, #eef5f8 0%, #ffffff 64%); border-bottom: 1px solid var(--line); }
.page-hero .section-inner { display: grid; gap: 14px; }
.contact-box { display: grid; gap: 14px; }
.map-frame { width: 100%; min-height: 360px; border: 1px solid var(--line); border-radius: 6px; }
.footer { padding: 30px 0; background: #071b2f; color: white; }
.footer .section-inner { display: flex; justify-content: space-between; gap: 18px; flex-wrap: wrap; color: #d5e0ea; font-size: 14px; }
.customer-login-page { min-height: 100vh; display: grid; background: linear-gradient(90deg, rgba(5,20,35,.94) 0%, rgba(5,20,35,.78) 44%, rgba(5,20,35,.2) 100%), url("/assets/customer-login-background.png") center / cover no-repeat; color: white; }
.customer-login-header { width: min(1180px, calc(100vw - 32px)); margin: 0 auto; padding: 24px 0; }
.customer-login-header { display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.customer-login-header img { width: min(380px, 58vw); height: 86px; object-fit: contain; object-position: left center; }
.back-home { width: 44px; height: 44px; display: inline-grid; place-items: center; border: 1px solid rgba(255,255,255,.42); border-radius: 50%; color: white; text-decoration: none; font-size: 28px; line-height: 1; background: rgba(5,20,35,.28); }
.back-home:hover { background: rgba(255,255,255,.14); }
.customer-login-content { width: min(1180px, calc(100vw - 32px)); margin: 0 auto; display: grid; align-items: center; padding: 48px 0 86px; }
.customer-login-panel { width: min(430px, 100%); display: grid; gap: 18px; }
.customer-login-panel h1 { color: white; font-size: clamp(40px, 6vw, 68px); line-height: 1; }
.customer-login-panel p { color: #d7e5f0; font-size: 17px; }
.customer-login-form { display: grid; gap: 12px; margin-top: 8px; }
.customer-login-form label { display: grid; gap: 5px; color: #dbe8f4; font-size: 12px; font-weight: 800; }
.customer-login-form input { min-height: 42px; border: 1px solid rgba(255,255,255,.38); border-radius: 4px; padding: 9px 10px; font: inherit; background: rgba(255,255,255,.95); color: var(--ink); }
.customer-login-form button { min-height: 44px; border: 0; border-radius: 4px; padding: 10px 16px; background: var(--green); color: white; font: inherit; font-weight: 800; cursor: pointer; }
.customer-login-error { display: none; min-height: 18px; margin: 0; color: #ffb4a8; font-size: 13px; font-weight: 800; }
.customer-login-error.visible { display: block; }
.login-note { color: #aebfce; font-size: 13px; }
@media (max-width: 880px) {
  .nav { display: grid; grid-template-columns: 1fr auto; align-items: center; padding: 12px 0; }
  .menu-toggle { display: inline-block; }
  .nav-links { display: none; grid-column: 1 / -1; width: 100%; justify-content: flex-start; padding-top: 10px; }
  .nav-links.open { display: flex; }
  .nav-links a { width: 100%; justify-content: flex-start; }
  .nav-links .portal-link { margin-left: 0; }
  .hero { min-height: 560px; }
  .hero-metrics, .accreditation-strip, .grid, .grid.two, .grid.profiles, .split { grid-template-columns: 1fr; }
  .ace-process { min-height: auto; display: grid; gap: 14px; place-items: stretch; }
  .ace-loop-svg { display: none; }
  .ace-center { width: auto; height: auto; border-radius: 6px; }
  .ace-step, .ace-step.one, .ace-step.two, .ace-step.three, .ace-step.four { position: static; width: auto; min-height: auto; transform: none; }
  .metric { border-top: 1px solid rgba(255,255,255,.18); }
  .customer-login-page { background-position: center; }
}
