:root {
  --navy: #00235e;
  --deep: #00163d;
  --green: #b7c82c;
  --ink: #263342;
  --muted: #526172;
  --light: #f3f5f7;
  --line: #d9dfe6;
}
* {
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
  scroll-padding-top: 110px;
}
body {
  margin: 0;
  font-family: Arial, Helvetica, sans-serif;
  font-size: 16px;
  line-height: 1.6;
  color: var(--ink);
  background: #fff;
}
a {
  color: inherit;
  text-decoration: none;
  cursor: pointer;
}
button {
  font: inherit;
  cursor: pointer;
}
img {
  display: block;
  max-width: 100%;
}
.wrap {
  width: min(1240px, calc(100% - 80px));
  margin: auto;
}
.topbar {
  background: var(--navy);
  color: white;
  font-size: 12px;
  padding: 9px 0;
}
.topbar .wrap {
  display: flex;
  justify-content: space-between;
  gap: 24px;
}
header {
  position: sticky;
  top: 0;
  background: #fff;
  border-bottom: 1px solid var(--line);
  z-index: 20;
}
.nav {
  min-height: 96px;
  display: flex;
  align-items: center;
  gap: 24px;
}
.brand {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-shrink: 0;
}
.mark {
  width: 65px;
  height: 60px;
  overflow: hidden;
  display: block;
}
.mark img {
  height: 60px;
  width: auto;
  max-width: none;
}
.brand strong {
  font-size: 29px;
  font-weight: 700;
  letter-spacing: -1.5px;
  line-height: 1;
  color: var(--navy);
}
.brand strong span {
  font-weight: 400;
  margin-left: 0;
}
.brand small {
  display: block;
  font-size: 11px;
  letter-spacing: 0;
  line-height: 1.3;
  color: var(--navy);
  margin-top: 6px;
}
nav {
  display: flex;
  gap: 21px;
  margin-left: auto;
  color: var(--navy);
  font-size: 14px;
}
nav a {
  padding: 10px 0;
  border-bottom: 2px solid transparent;
}
nav a:hover,
nav a:focus-visible {
  border-color: var(--green);
}
.portal {
  font-size: 14px;
  white-space: nowrap;
  color: var(--navy);
  border-left: 1px solid var(--line);
  padding-left: 20px;
}
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  background: var(--green);
  color: var(--deep);
  padding: 12px 22px;
  font-size: 15px;
  font-weight: 700;
  border: 1px solid transparent;
  border-radius: 2px;
  line-height: 1.4;
}
.button:hover {
  background: #a5b81a;
}
.button.small {
  font-size: 13px;
  padding: 10px 14px;
  white-space: nowrap;
  min-height: 42px;
}
.menu-toggle {
  display: none;
}
.hero {
  background: #fff;
  border-bottom: 1px solid var(--line);
}
.hero-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
  padding: 58px 0 50px;
}
.eyebrow {
  font-size: 14px;
  letter-spacing: 0;
  font-weight: 400;
  color: var(--muted);
  margin: 0 0 22px;
}
.hero .eyebrow {
  color: var(--navy);
  padding-left: 14px;
  border-left: 4px solid var(--green);
}
h1,
h2,
h3 {
  color: var(--navy);
  margin: 0;
  font-family: Arial, Helvetica, sans-serif;
}
h1 {
  font-size: 42px;
  line-height: 1.15;
  font-weight: 700;
  letter-spacing: -1.3px;
}
h2 {
  font-size: 30px;
  line-height: 1.25;
  letter-spacing: -0.5px;
}
h3 {
  font-size: 21px;
  line-height: 1.3;
  letter-spacing: 0;
}
.lead {
  font-size: 18px;
  line-height: 1.7;
  color: var(--muted);
  margin: 24px 0 27px;
  max-width: 470px;
}
.actions {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 25px;
}
.text-link {
  font-size: 15px;
  color: var(--navy);
  text-decoration: underline;
  text-underline-offset: 5px;
}
.hero-contact {
  border-top: 1px solid var(--line);
  margin-top: 32px;
  padding-top: 18px;
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.hero-contact span {
  font-size: 13px;
  color: var(--muted);
}
.hero-contact a {
  font-size: 21px;
  font-weight: 700;
  color: var(--navy);
  letter-spacing: 0.2px;
}
.hero-photo {
  height: 395px;
  position: relative;
  margin-bottom: 22px;
}
.hero-photo > img {
  height: 100%;
  width: 100%;
  object-fit: cover;
  border-radius: 0;
}
.hero-photo:before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 5px;
  height: 68px;
  background: var(--green);
}
.photo-note {
  display: block;
  font-size: 12px;
  color: var(--muted);
  margin-top: 7px;
}
.section {
  padding: 62px 0;
}
.courses {
  background: var(--light);
}
.section-heading {
  display: flex;
  justify-content: space-between;
  align-items: start;
  gap: 35px;
  margin-bottom: 32px;
}
.section-heading h2 {
  border-top: 3px solid var(--navy);
  padding-top: 17px;
}
.section-heading > p {
  font-size: 15px;
  line-height: 1.6;
  color: var(--muted);
  margin: 18px 0 0;
}
.course-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}
.course-card {
  display: grid;
  grid-template-columns: 38% 1fr;
  background: white;
  border-bottom: 3px solid var(--navy);
  min-width: 0;
}
.course-image {
  position: relative;
  min-height: 290px;
}
.course-image img {
  height: 100%;
  width: 100%;
  object-fit: cover;
}
.tag {
  position: absolute;
  left: 0;
  top: 16px;
  background: var(--navy);
  color: #fff;
  padding: 4px 12px;
  font-size: 12px;
}
.course-content {
  padding: 25px;
  display: flex;
  flex-direction: column;
  min-width: 0;
}
.course-content h3 {
  font-size: 22px;
  line-height: 1.2;
}
.course-content p {
  color: var(--muted);
  font-size: 15px;
  line-height: 1.6;
  margin: 17px 0 23px;
}
.course-bottom {
  margin-top: auto;
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px;
}
.detail-button {
  border: 1px solid #8799ae;
  color: var(--navy);
  background: white;
  padding: 8px 13px;
  font-size: 14px;
  min-height: 42px;
  border-radius: 2px;
}
.detail-button:hover {
  background: var(--light);
}
.interest {
  font-size: 14px;
  color: var(--navy);
  text-decoration: underline;
  text-underline-offset: 4px;
}
.floating {
  position: fixed;
  right: 22px;
  bottom: 22px;
  display: grid;
  place-items: center;
  width: 52px;
  height: 52px;
  background: var(--green);
  border: 2px solid white;
  color: var(--navy);
  border-radius: 50%;
  z-index: 25;
  box-shadow: 0 2px 8px #00163d25;
}
.floating svg {
  width: 27px;
  height: 27px;
}
.skip {
  position: fixed;
  top: -90px;
  z-index: 100;
  background: white;
  padding: 15px;
}
.skip:focus {
  top: 0;
}
:focus-visible {
  outline: 3px solid #497bbd;
  outline-offset: 4px;
}
dialog {
  max-width: 550px;
  width: calc(100% - 40px);
  border: 0;
  border-top: 5px solid var(--green);
  padding: 35px;
  color: var(--muted);
}
dialog::backdrop {
  background: #00163dbb;
}
dialog h2 {
  font-size: 27px;
}
dialog .close {
  float: right;
  background: none;
  border: 0;
  font-size: 30px;
  color: var(--navy);
  margin: -20px -15px 0 0;
  min-width: 44px;
  min-height: 44px;
}
dialog .eyebrow {
  margin-bottom: 14px;
}
body:has(dialog[open]) {
  overflow: hidden;
}
@media (max-width: 1200px) {
  .nav {
    gap: 18px;
  }
  nav {
    gap: 15px;
  }
  .nav > .button {
    display: none;
  }
  .hero-grid {
    gap: 35px;
  }
  h1 {
    font-size: 38px;
  }
  .course-card {
    grid-template-columns: 34% 1fr;
  }
  .course-content {
    padding: 21px;
  }
  .course-content h3 {
    font-size: 21px;
  }
  .course-bottom {
    gap: 12px;
  }
}
@media (max-width: 900px) {
  .wrap {
    width: calc(100% - 48px);
  }
  .nav {
    gap: 18px;
  }
  .brand strong {
    font-size: 27px;
  }
  .brand small {
    font-size: 10px;
  }
  nav {
    gap: 13px;
    font-size: 13px;
  }
  .portal {
    font-size: 13px;
    padding-left: 12px;
  }
  .hero-grid {
    gap: 28px;
  }
  h1 {
    font-size: 34px;
  }
  .lead {
    font-size: 16px;
  }
  .hero-photo {
    height: 360px;
  }
  .actions {
    gap: 16px;
  }
  .button {
    font-size: 14px;
    padding: 12px 18px;
  }
  .text-link {
    font-size: 14px;
  }
  .course-card {
    grid-template-columns: 1fr;
  }
  .course-image {
    height: 200px;
    min-height: 0;
  }
  .course-content {
    padding: 25px;
  }
}
@media (max-width: 760px) {
  .topbar .wrap > span {
    max-width: 100%;
  }
  .topbar a {
    display: none;
  }
  .topbar {
    font-size: 12px;
  }
  .nav {
    height: 83px;
    min-height: 0;
  }
  .mark {
    height: 53px;
    width: 57px;
  }
  .mark img {
    height: 53px;
  }
  .brand strong {
    font-size: 26px;
  }
  .brand small {
    font-size: 10px;
  }
  .portal {
    margin-left: auto;
    border: 0;
    padding: 0;
    font-size: 13px;
  }
  .menu-toggle {
    display: block;
    order: 4;
    background: none;
    border: 0;
    font-size: 25px;
    color: var(--navy);
    padding: 7px;
    min-height: 44px;
    min-width: 44px;
  }
  nav {
    display: none;
    position: absolute;
    left: 0;
    top: 83px;
    margin: 0;
    width: 100%;
    padding: 16px 24px;
    background: white;
    border-bottom: 1px solid var(--line);
    font-size: 16px;
  }
  nav.open {
    display: flex;
    flex-direction: column;
    gap: 0;
  }
  nav a {
    padding: 10px;
  }
  .hero-grid {
    grid-template-columns: 1fr;
    padding: 36px 0 35px;
    gap: 30px;
  }
  .hero-copy {
    max-width: 600px;
  }
  h1 {
    font-size: 38px;
  }
  .lead {
    font-size: 17px;
    max-width: 560px;
  }
  .hero-contact {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
  }
  .hero-contact span {
    max-width: 200px;
  }
  .hero-photo {
    height: 350px;
  }
  .section {
    padding: 45px 0;
  }
  .section-heading {
    gap: 15px;
    flex-direction: column;
  }
  .section-heading > p {
    margin-top: 0;
  }
  .section-heading h2 {
    padding-top: 14px;
  }
  h2 {
    font-size: 28px;
  }
  .course-grid {
    gap: 20px;
  }
  .course-content {
    padding: 21px;
  }
  .course-content h3 {
    font-size: 21px;
  }
  .course-content p {
    font-size: 16px;
  }
  .course-bottom {
    gap: 16px;
  }
}
@media (max-width: 480px) {
  .wrap {
    width: calc(100% - 36px);
  }
  .topbar {
    font-size: 12px;
    line-height: 1.4;
  }
  .nav {
    gap: 8px;
  }
  .brand small {
    font-size: 9px;
  }
  .brand strong {
    font-size: 25px;
  }
  .mark {
    width: 50px;
    height: 47px;
  }
  .mark img {
    height: 47px;
  }
  .portal {
    max-width: 56px;
    font-size: 12px;
    line-height: 1.3;
    white-space: normal;
  }
  .menu-toggle {
    padding: 5px;
    min-width: 38px;
  }
  h1 {
    font-size: 33px;
    letter-spacing: -0.9px;
  }
  .hero .eyebrow {
    font-size: 14px;
    margin-bottom: 18px;
  }
  .hero-contact {
    align-items: start;
    flex-direction: column;
    gap: 4px;
  }
  .hero-contact span {
    max-width: none;
  }
  .hero-photo {
    height: 265px;
  }
  .actions {
    gap: 18px;
  }
  .course-grid {
    grid-template-columns: 1fr;
  }
  .course-image {
    height: 220px;
  }
  .course-content {
    padding: 24px;
  }
  .course-bottom {
    flex-wrap: nowrap;
    gap: 23px;
  }
  .desktop {
    display: none;
  }
  .floating {
    right: 14px;
    bottom: 14px;
  }
  .section-heading > p {
    font-size: 16px;
  }
}
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
}
@media (max-width: 360px) {
  .brand strong {
    font-size: 21px;
  }
  .brand small {
    font-size: 8px;
  }
  .mark {
    width: 43px;
    height: 41px;
  }
  .mark img {
    height: 41px;
  }
  .portal {
    font-size: 12px;
    max-width: 48px;
  }
  .nav {
    gap: 7px;
  }
  .course-bottom {
    flex-wrap: wrap;
    gap: 14px;
  }
}
