:root {
  --navy: #0e3d8c;
  --navy-deep: #0c3274;
  --blue: #1f6fe0;
  --ink: #1c3148;
  --muted: #6d7f95;
  --gold: #f0a202;
  --line: #e3ebf3;
  --bg: #e7eef6;
  --card: #ffffff;
  --serif: "Playfair Display", Georgia, "Times New Roman", serif;
  --sans: "Source Sans 3", "Segoe UI", sans-serif;
  --arab: "Amiri", "Times New Roman", serif;
}

*,
*::before,
*::after { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  min-height: 100vh;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.55;
}

img { max-width: 100%; display: block; }

[hidden] { display: none !important; }

button,
input,
select,
textarea { font: inherit; color: inherit; }

a { color: inherit; }

h1, h2, h3, .serif { font-family: var(--serif); font-weight: 600; color: var(--navy); }

p { margin: 0; }

.skip {
  position: absolute;
  left: 12px;
  top: -48px;
  background: white;
  color: var(--navy);
  padding: 8px 12px;
  border-radius: 8px;
  z-index: 50;
}

.skip:focus { top: 12px; }

.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;
}

:focus-visible {
  outline: 3px solid var(--gold);
  outline-offset: 2px;
}

.page {
  width: min(1120px, calc(100% - 28px));
  margin: 22px auto 36px;
}

.board {
  background: #fff;
  border-radius: 32px;
  box-shadow: 0 16px 50px rgba(22, 55, 100, 0.08);
  padding: 22px 28px 20px;
}

.site-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 8px;
  position: relative;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  color: var(--navy);
  font-weight: 700;
  letter-spacing: 0.01em;
}

.marks {
  display: inline-flex;
  align-items: center;
  gap: 2px;
  flex: none;
}

.brand img,
.marks img {
  width: 46px;
  height: 46px;
  object-fit: contain;
  mix-blend-mode: multiply;
}

.marks-on-dark {
  background: #fff;
  border-radius: 14px;
  padding: 4px 6px;
}

.marks-on-dark img {
  width: 40px;
  height: 40px;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 18px;
}

.site-nav a {
  text-decoration: none;
  color: #3e5168;
  font-weight: 600;
  font-size: 15px;
}

.site-nav a.is-current { color: var(--navy); }

.nav-portal {
  background: var(--navy);
  color: #fff !important;
  border-radius: 999px;
  padding: 8px 14px;
}

.nav-toggle {
  display: none;
  border: 1px solid #d5e0ec;
  background: #fff;
  border-radius: 999px;
  padding: 8px 14px;
  font-weight: 700;
  color: var(--navy);
  cursor: pointer;
}

.eyebrow {
  margin: 0 0 6px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  font-size: 12px;
  color: #8ea0b8;
  font-weight: 700;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border: 0;
  border-radius: 999px;
  padding: 12px 20px;
  background: var(--navy);
  color: #fff;
  font-weight: 700;
  text-decoration: none;
  cursor: pointer;
}

.btn-light {
  background: #fff;
  color: var(--navy);
}

.btn-line {
  background: #fff;
  color: #243044;
  border: 1.5px solid #d5dbe3;
}

.site-foot {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
  margin-top: 28px;
  padding-top: 14px;
  color: #91a0b3;
  font-size: 13px;
}

.site-foot a { color: #60748c; }

@media (max-width: 800px) {
  .board { padding: 16px 16px 12px; border-radius: 22px; }
  .brand img,
  .marks img { width: 36px; height: 36px; }
  .nav-toggle { display: inline-flex; }
  .site-head { flex-wrap: wrap; }
  .site-nav {
    display: none;
    width: 100%;
    flex-direction: column;
    align-items: flex-start;
    padding: 8px 0 4px;
  }
  .site-nav.is-open { display: flex; }
}
