*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; font-family: "Source Sans 3", "Segoe UI", Arial, sans-serif; font-size: 17px; line-height: 1.6; }
h1, h2, h3, .site-footer h3 { font-family: "Roboto Condensed", "Arial Narrow", Arial, sans-serif; }
img { max-width: 100%; display: block; }
p { margin: 0 0 1em; }
:focus-visible { outline: 3px solid #f5b700; outline-offset: 2px; }

.container { width: 100%; max-width: 1140px; margin: 0 auto; padding: 0 20px; }
.skip-link { position: absolute; left: -9999px; top: 8px; z-index: 100; background: #f5b700; color: #10213f; padding: 8px 14px; border-radius: 6px; font-weight: 600; }
.skip-link:focus { left: 8px; }
.icon { width: 1em; height: 1em; flex: none; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.visually-hidden { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* Top bar */
.topbar { background: #10213f; color: #c9d3e6; font-size: .85rem; }
.topbar .container { display: flex; justify-content: space-between; align-items: center; gap: 12px; min-height: 38px; flex-wrap: wrap; }
.topbar a { color: #c9d3e6; text-decoration: none; display: inline-flex; align-items: center; gap: 6px; }
.topbar a:hover { color: #fff; }
.topbar-links { display: flex; gap: 18px; flex-wrap: wrap; }

/* Logo + tagline row */
.site-header { background: #f7f7f7; }
.header-top { display: flex; align-items: center; gap: 24px; min-height: 92px; }
.brand { display: flex; align-items: center; gap: 14px; text-decoration: none; margin-right: auto; }
.brand img { height: 50px; width: auto; }
.brand-text { border-left: 1px solid #d5d9e0; padding-left: 14px; line-height: 1.2; }
.brand-text strong { display: block; color: #10213f; font-size: 1.05rem; }
.brand-text span { color: #5a6478; font-size: .8rem; }
.tagline { width: 398px; max-width: 40vw; height: auto; }
.nav-toggle {
  display: none; align-items: center; gap: 8px; background: #fff; border: 1px solid #d5d9e0; border-radius: 8px;
  padding: 8px 12px; font: inherit; font-size: .95rem; color: #10213f; cursor: pointer;
}

/* Search results */
.status { display: inline-flex; align-items: center; gap: 6px; font-size: .82rem; font-weight: 700; padding: 4px 12px; border-radius: 99px; margin-bottom: 12px; }
.status-ok { background: #e6f4ec; color: #1d7a4d; }
.status-none { background: #fff6dd; color: #8a5a00; }
.result-card { scroll-margin-top: 90px; }
.grad-name { display: flex; flex-wrap: wrap; gap: 4px 16px; margin: 0 0 24px; padding: 14px 18px; background: #f4f6fa; border-radius: 8px; }
.grad-name dt { font-weight: 600; color: #5a6478; }
.grad-name dd { margin: 0; font-weight: 700; color: #10213f; font-size: 1.1rem; }
.table-wrap { overflow-x: auto; border: 1px solid #dfe4ee; border-radius: 8px; }
.results-table { width: 100%; border-collapse: collapse; font-size: .95rem; }
.results-table caption { text-align: left; padding: 12px 16px; font-weight: 600; color: #5a6478; font-size: .88rem; border-bottom: 1px solid #dfe4ee; }
.results-table th { text-align: left; background: #192f59; color: #fff; font-weight: 600; padding: 12px 16px; white-space: nowrap; }
.results-table td { padding: 14px 16px; border-top: 1px solid #dfe4ee; vertical-align: top; }
.results-table tbody tr:nth-child(even) { background: #f9fafc; }
.contact-box { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 16px; padding: 18px 20px; background: #f4f6fa; border-radius: 8px; }
.contact-box address { font-style: normal; }
.prototype-msg { margin: 16px 0 0; padding: 12px 14px; border-radius: 8px; background: #e8edf6; color: #10213f; font-size: .92rem; }

/* Footer */
.site-footer { background: #2c3f69 url("../../img/landing/bgfooter-um.jpg") center / cover; color: #e8e8e8; text-align: center; }
.footer-cols { display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px; align-items: start; padding-top: 56px; padding-bottom: 40px; }
.site-footer h3 { color: #fff; font-size: 1.5rem; font-weight: 700; margin: 0 0 22px; }
.site-footer ul { list-style: none; padding: 0; margin: 0; font-size: .9rem; }
.site-footer li + li { margin-top: 8px; }
.site-footer a { color: #e8e8e8; text-decoration: none; }
.site-footer a:hover { color: #fdc800; }
.footer-brand img { width: 150px; height: auto; margin: 0 auto 10px; }
.footer-brand p { margin: 0; font-size: .9rem; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.2); }
.footer-bottom p { margin: 0; padding: 18px 0; font-size: .9rem; line-height: 1.9; }
.footer-bottom a { color: #fdc800; }
.footer-bottom a:hover { color: #fff; }
.footer-bottom .sep { margin: 0 6px; }
.to-top {
  position: fixed; right: 24px; bottom: 24px; z-index: 40; width: 44px; height: 44px; display: grid; place-items: center;
  background: #fdc800; color: #fff; font-size: 22px; border-radius: 2px; box-shadow: 0 2px 8px rgba(0,0,0,.2);
  opacity: 0; visibility: hidden; transition: opacity .2s, visibility .2s;
}
.to-top.show { opacity: 1; visibility: visible; }

@media (max-width: 900px) {
  .nav-toggle { display: inline-flex; }
  .footer-cols { grid-template-columns: 1fr; gap: 40px; }
  .site-footer ul { font-size: 1rem; font-weight: 700; }
}
@media (max-width: 760px) {
  .tagline { display: none; }
  .header-top { min-height: 76px; }
}
@media (max-width: 700px) {
  .table-wrap { border: 0; overflow: visible; }
  .results-table caption { display: block; padding: 0 0 10px; border: 0; }
  .results-table thead { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
  .results-table, .results-table tbody, .results-table tr, .results-table td { display: block; width: 100%; }
  .results-table tr { border: 1px solid #dfe4ee; border-radius: 8px; margin-bottom: 12px; padding: 6px 0; background: #fff !important; }
  .results-table td { border: 0; padding: 6px 16px; display: grid; grid-template-columns: 6.5em 1fr; gap: 12px; }
  .results-table td::before { content: attr(data-label); font-weight: 600; color: #5a6478; }
}
@media (max-width: 600px) {
  body { font-size: 16px; }
  .brand-text { display: none; }
  .topbar-links .hide-sm { display: none; }
  .to-top { right: 16px; bottom: 16px; }
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

/* Menu: instant close when a link is tapped, and section headings land below the sticky menu bar */
.main-nav.no-anim, .main-nav.no-anim * { transition: none !important; }
[id] { scroll-margin-top: 72px; }
@media (max-width: 900px) { [id] { scroll-margin-top: 16px; } }