:root {
  --blue-900: #081928;
  --blue-800: #0b3455;
  --blue-700: #0e4f82;
  --blue-600: #176aa5;
  --steel-900: #171b1f;
  --steel-700: #3b4650;
  --steel-300: #c8d0d8;
  --steel-100: #eef2f5;
  --iron: #2a2f33;
  --sand: #d8c59d;
  --white: #ffffff;
  --link: #0b5790;
  --max-readable: 1180px;
}

* {
  box-sizing: border-box;
}

html {
  min-height: 100%;
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100%;
  font-family: Arial, Helvetica, sans-serif;
  font-size: 16px;
  line-height: 1.55;
  color: var(--steel-900);
  background: var(--steel-100);
}

a {
  color: var(--link);
  text-decoration-thickness: 1px;
  text-underline-offset: 2px;
}

a:hover,
a:focus-visible {
  color: var(--blue-800);
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: var(--blue-900);
  color: var(--white);
  border-bottom: 4px solid var(--sand);
}

.brand-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  width: 100%;
  padding: 14px 24px;
}

.brand-mark img {
  display: block;
  max-width: 100%;
  height: auto;
}

.brand-name {
  display: none;
}

.iso-header {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--white);
  font-weight: 700;
  text-decoration: none;
  white-space: nowrap;
}

.iso-header img {
  display: block;
  height: 46px;
  width: auto;
}

.utility-nav,
.main-nav {
  display: flex;
  align-items: stretch;
  flex-wrap: wrap;
  width: 100%;
}

.utility-nav {
  justify-content: flex-end;
  gap: 1px;
  padding: 0 24px 8px;
}

.main-nav {
  background: var(--blue-700);
  border-top: 1px solid rgba(255, 255, 255, 0.14);
}

.utility-nav a,
.main-nav a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 38px;
  padding: 8px 14px;
  color: var(--white);
  font-weight: 700;
  text-decoration: none;
}

.utility-nav a {
  min-height: 28px;
  color: #d9e6f1;
  font-size: 0.88rem;
  font-weight: 600;
}

.main-nav a {
  flex: 1 1 112px;
  border-right: 1px solid rgba(255, 255, 255, 0.16);
  letter-spacing: 0;
}

.utility-nav a:hover,
.utility-nav a:focus-visible,
.utility-nav a.active,
.main-nav a:hover,
.main-nav a:focus-visible,
.main-nav a.active {
  background: var(--blue-800);
  color: var(--white);
}

.home-hero {
  width: 100%;
  background: var(--iron);
  border-bottom: 4px solid var(--sand);
}

.home-hero img {
  display: block;
  width: 100%;
  max-height: 340px;
  object-fit: cover;
  object-position: center;
}

.page-layout {
  display: grid;
  grid-template-columns: minmax(220px, 290px) minmax(0, 1fr);
  min-height: calc(100vh - 180px);
  width: 100%;
}

.side-rail {
  background: var(--blue-800);
  color: var(--white);
  border-right: 1px solid #08233a;
}

.rail-photo {
  display: block;
  width: 100%;
  height: 170px;
  object-fit: cover;
  border-bottom: 4px solid var(--sand);
}

.section-nav {
  display: grid;
  gap: 1px;
  padding: 18px;
}

.section-nav h2 {
  margin: 0 0 8px;
  color: var(--white);
  font-size: 1rem;
  line-height: 1.2;
  letter-spacing: 0;
}

.section-nav a {
  display: block;
  padding: 8px 10px;
  color: #e7f0f7;
  text-decoration: none;
  border-left: 3px solid transparent;
}

.section-nav a:hover,
.section-nav a:focus-visible,
.section-nav a.active {
  background: rgba(255, 255, 255, 0.09);
  border-left-color: var(--sand);
  color: var(--white);
}

.iso-panel {
  display: block;
  margin: 12px 18px 24px;
  padding: 12px;
  text-align: center;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 4px;
}

.iso-panel img {
  max-width: 100%;
  height: auto;
}

.content {
  width: 100%;
  min-width: 0;
  padding: 34px clamp(18px, 4vw, 56px) 56px;
  background: var(--white);
}

.content > * {
  max-width: var(--max-readable);
}

.content h1,
.content h2,
.content h3,
.content h4 {
  color: var(--blue-900);
  line-height: 1.18;
  letter-spacing: 0;
}

.content h1 {
  margin: 0 0 18px;
  padding-bottom: 12px;
  font-size: 1.9rem;
  border-bottom: 3px solid var(--sand);
}

.content h2 {
  margin-top: 30px;
  font-size: 1.35rem;
}

.content h3 {
  margin-top: 26px;
  font-size: 1.12rem;
}

.content p,
.content ul,
.content ol {
  margin-top: 0;
  margin-bottom: 16px;
}

.content ul,
.content ol {
  padding-left: 24px;
}

.content img {
  max-width: 100%;
  height: auto;
}

.content img[align="right"] {
  float: right;
  margin: 0 0 14px 18px;
}

.content img[align="left"] {
  float: left;
  margin: 0 18px 14px 0;
}

.content table {
  width: auto;
  max-width: 100%;
  border-collapse: collapse;
  overflow-x: auto;
}

.content table[width],
.content table[style] {
  max-width: 100% !important;
}

.content td,
.content th {
  padding: 6px;
  vertical-align: top;
}

.content table[border="1"],
.content table[bordercolor],
.content table[bgcolor] {
  border: 1px solid var(--steel-300);
}

.content table[border="1"] td,
.content table[border="1"] th {
  border: 1px solid var(--steel-300);
}

.content .contextual {
  color: var(--steel-700);
  font-size: 0.92rem;
}

.content .center,
.content .centerb {
  text-align: center;
}

.content .right {
  text-align: right;
}

.content .indentleft {
  margin-left: 10px;
}

.content hr {
  height: 1px;
  border: 0;
  background: var(--steel-300);
}

.content input,
.content textarea,
.content select {
  max-width: 100%;
  padding: 7px 8px;
  border: 1px solid var(--steel-300);
  border-radius: 3px;
  font: inherit;
}

.content textarea {
  width: min(100%, 520px);
}

.content input[type="submit"],
.content input[type="reset"] {
  width: auto;
  background: var(--blue-700);
  color: var(--white);
  border-color: var(--blue-700);
  cursor: pointer;
}

.content input[type="reset"] {
  background: var(--steel-700);
  border-color: var(--steel-700);
}

.site-footer {
  padding: 28px 24px 34px;
  color: #dce8f0;
  text-align: center;
  background: var(--blue-900);
  border-top: 4px solid var(--sand);
}

.site-footer p {
  margin: 0 0 8px;
}

.site-footer a {
  color: #eff6fb;
}

.site-footer hr {
  width: min(100%, 960px);
  margin: 18px auto;
  border: 0;
  border-top: 1px solid rgba(255, 255, 255, 0.2);
}

.copyright {
  color: #b8c6d1;
  font-size: 0.88rem;
}

@media (max-width: 900px) {
  .site-header {
    position: static;
  }

  .brand-row {
    align-items: flex-start;
    flex-direction: column;
    padding: 14px 16px;
  }

  .utility-nav {
    justify-content: flex-start;
    padding: 0 12px 8px;
  }

  .main-nav a {
    flex-basis: 50%;
  }

  .page-layout {
    grid-template-columns: 1fr;
  }

  .side-rail {
    order: 2;
    border-right: 0;
    border-bottom: 4px solid var(--sand);
  }

  .content {
    order: 1;
  }

  .rail-photo {
    height: 150px;
  }

  .section-nav {
    grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
    padding: 14px;
  }

  .section-nav h2 {
    grid-column: 1 / -1;
  }

  .iso-panel {
    max-width: 180px;
  }

  .content {
    padding: 26px 16px 44px;
  }
}

@media (max-width: 560px) {
  body {
    font-size: 15px;
  }

  .iso-header span {
    display: none;
  }

  .brand-name {
    display: block;
    margin-top: 6px;
    color: var(--white);
    font-size: 1.25rem;
    font-weight: 700;
    line-height: 1.1;
    text-decoration: none;
  }

  .utility-nav a,
  .main-nav a {
    justify-content: flex-start;
  }

  .main-nav a {
    flex-basis: 100%;
    min-height: 34px;
  }

  .content h1 {
    font-size: 1.55rem;
  }

  .content img[align="right"],
  .content img[align="left"] {
    float: none;
    display: block;
    margin: 0 0 16px;
  }

  .content table {
    display: block;
    width: 100% !important;
  }

  .content td,
  .content th {
    min-width: 110px;
  }
}
