
@font-face{font-family:Mont;src:url(/fonts/mont.woff) format('woff');font-display:swap}
@font-face{font-family:Golos;src:url(/fonts/golos.woff) format('woff');font-weight:600 800;font-display:swap}






body:has(.portal) {
  margin: 0;
  background: #f6f8fc;
  color: #17243b;
}

.portal,
.portal * {
  box-sizing: border-box;
}

.portal {
  max-width: 1120px;
  padding-inline: clamp(20px, 5vw, 64px);
  margin: auto;
  font: 1rem/1.55 Mont, Arial, sans-serif;
}

.portal a {
  color: inherit;
  text-underline-offset: .2em;
}

.portal a:focus-visible {
  outline: 3px solid #e28b00;
  outline-offset: 4px;
}

.portal .skip {
  position: absolute;
  left: 16px;
  top: 0;
  transform: translateY(-125%);
  padding: 10px 16px;
  background: white;
}

.portal .skip:focus { transform: translateY(6px); }

.portal header, .portal footer, .portal .actions, .portal .wordmark {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
}

.portal header {
  min-height: 84px;
  justify-content: space-between;
  border-bottom: 1px solid #d5deeb;
}

.portal .wordmark {
  gap: 10px;
  font: 700 1rem Golos, Arial, sans-serif;
  text-decoration: none;
}

.portal .atom {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  background: #244dcc;
  color: white;
  border-radius: 10px;
  font: 700 1.75rem Golos, sans-serif;
}

.portal .contact {
  padding-block: 10px;
  color: #2349b5;
}

.portal main { padding-block: clamp(44px, 7vw, 92px) clamp(44px, 6vw, 76px); }

.portal h1 {
  margin: 0 0 clamp(26px, 4vw, 44px);
  font: 700 clamp(3.4rem, 8.2vw, 6.5rem)/.98 Golos, Arial, sans-serif;
  letter-spacing: -.014em;
}

.portal h1 span { color: #244dcc; white-space: nowrap; }

.portal .sections {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

.portal section {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  padding: clamp(24px, 3.2vw, 38px);
  border-radius: 22px;
}

.portal .course { color: white; background: #244dcc; }
.portal .individual { background: white; box-shadow: inset 0 0 0 1px #d5deeb; }

.portal h2 {
  margin: 0;
  font: 700 clamp(1.45rem, 2.5vw, 2rem)/1.2 Golos, Arial, sans-serif;
  overflow-wrap: break-word;
}

.portal p { max-width: 38ch; margin: 16px 0 30px; }
.portal .actions { margin-top: auto; gap: 12px 18px; }

.portal .primary, .portal .secondary {
  display: inline-flex;
  min-height: 46px;
  align-items: center;
  font: 700 .96rem/1.25 Golos, Arial, sans-serif;
}

.portal .primary {
  padding: 12px 17px;
  border-radius: 9px;
  background: #244dcc;
  color: white;
  text-decoration: none;
}

.portal .course .primary { background: white; color: #163ba6; }
.portal .primary:hover { box-shadow: inset 0 0 0 2px currentColor; }
.portal .secondary:hover, .portal .contact:hover, .portal footer a:hover { text-decoration-thickness: 2px; }

.portal footer {
  border-top: 1px solid #d5deeb;
  padding-block: 22px;
  gap: 6px 24px;
  color: #455874;
  font-size: .875rem;
}

.portal footer a { padding-block: 6px; }

@media (max-width: 720px) {
  .portal .sections { grid-template-columns: 1fr; }
  .portal section { border-radius: 16px; }
  .portal p { max-width: 50ch; margin-bottom: 22px; }
}

@media (max-width: 420px) {
  .portal header { gap: 4px 10px; min-height: 72px; }
  .portal .wordmark { font-size: .9rem; }
  .portal .contact { font-size: .875rem; }
}
