@font-face {
  font-family: "Archivo";
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
  src: url("fonts/archivo-latin.woff2") format("woff2");
}
@font-face {
  font-family: "Source Serif 4";
  font-style: normal;
  font-weight: 400 600;
  font-display: swap;
  src: url("fonts/source-serif-4-latin.woff2") format("woff2");
}

:root {
  color-scheme: light dark;
  --navy: #002060;
  --ink: #16283f;
  --mid: #41546f;
  --blue: #12459c;
  --ground: #f4f7fb;
  --paper: #fff;
  --line: #c9d7ea;
  --wash: #e8eff9;
  --sans: "Archivo", "Helvetica Neue", Arial, sans-serif;
  --serif: "Source Serif 4", Georgia, "Times New Roman", serif;
  --gutter: clamp(18px, 4.7vw, 52px);
}

@media (prefers-color-scheme: dark) {
  :root {
    --navy: #e6eefa;
    --ink: #e6eefa;
    --mid: #b3c6e2;
    --blue: #a6c8fa;
    --ground: #001229;
    --paper: #051c3d;
    --line: #325078;
    --wash: #0a2450;
  }
}

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

body {
  margin: 0;
  background: var(--ground);
  color: var(--ink);
  font: 400 16px/1.45 var(--sans);
}

h1, h2, p, form { margin: 0; }
a { color: var(--blue); }
button { font: inherit; cursor: pointer; }
:focus-visible { outline: 3px solid #639ced; outline-offset: 3px; }

.skip { position: absolute; left: 12px; top: -120px; }
.skip:focus { top: 10px; padding: 8px; z-index: 1; background: var(--paper); }
.surface {
  max-width: 1152px;
  margin: clamp(0px, 3vw, 44px) auto;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: var(--ground);
}

.bar {
  padding: 16px var(--gutter);
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
  color: #002060;
  background: #fff;
}
.brand { display: flex; align-items: center; gap: clamp(10px, 2.4vw, 24px); }
.brand img { display: block; width: clamp(95px, 17.4vw, 163px); height: auto; }
.brand span {
  border-left: 1px solid #c9d7ea;
  padding-left: clamp(10px, 2.4vw, 24px);
  font-size: clamp(12px, 1.8vw, 16px);
  font-weight: 500;
  line-height: 1.25;
}
.logout { background: #fff; color: #41546f; border: 0; padding: 10px 0; min-height: 44px; font-size: 14px; }
.logout:hover { color: #12459c; text-decoration: underline; }

.hero, .login { display: grid; align-items: stretch; grid-template-columns: minmax(0, .94fr) minmax(0, 1.06fr); border-top: 1px solid #dce5f0; }
.hero { background: #fff; color: #002060; border-bottom: 1px solid var(--line); }
.herotext, .logintext { padding: clamp(22px, 4.7vw, 50px) var(--gutter); align-content: center; }
.hero h1, .login h1, .page h1 {
  font: 600 clamp(34px, 5.2vw, 58px)/1.07 var(--sans);
  letter-spacing: -.045em;
  overflow-wrap: anywhere;
}
.hello { display: flex; align-items: center; gap: 9px; margin-bottom: 9px; color: #41546f; font: 400 clamp(17px, 2.3vw, 22px)/1.3 var(--serif); }
.hello::before { content: ""; flex: 0 0 21px; height: 2px; background: #12459c; }
.modelpanel { display: grid; place-items: center; min-width: 0; padding: 8px 8px 8px 0; background: #fff; }
.modelpanel img { display: block; width: 100%; max-width: 550px; height: auto; }
.login { grid-template-columns: minmax(0, 1.04fr) minmax(0, 1fr); }
.login .modelpanel { padding: 12px; }
.logintext { display: grid; justify-items: start; gap: 20px; }
.login h1, .page h1, .page h2 { color: var(--navy); }
.logintext p { color: var(--mid); max-width: 32ch; font: 400 18px/1.5 var(--serif); }
.signin {
  display: inline-flex; align-items: center; gap: 11px; min-height: 44px;
  border-radius: 5px; background: #002060; color: #fff;
  padding: 12px 16px; text-decoration: none; font-size: 15px; font-weight: 600;
}
.signin:hover { background: #12459c; }
.ms { flex: none; display: grid; grid-template: repeat(2, 8px) / repeat(2, 8px); gap: 1px; }
.ms i:nth-child(1) { background: #f25022; }
.ms i:nth-child(2) { background: #7fba00; }
.ms i:nth-child(3) { background: #00a4ef; }
.ms i:nth-child(4) { background: #ffb900; }

.content, .page { padding: clamp(17px, 3.8vw, 37px) var(--gutter); }
.application {
  display: flex; align-items: center; gap: clamp(12px, 2.2vw, 22px);
  padding: clamp(17px, 3vw, 27px);
  background: var(--paper); color: var(--ink); text-decoration: none;
  border: 1px solid var(--line); border-left: 3px solid var(--blue); border-radius: 6px;
}
.application:hover { border-color: var(--blue); }
.calendar { width: 54px; aspect-ratio: 1; flex: none; display: grid; place-items: center; border-radius: 7px; color: var(--blue); background: var(--wash); }
.calendar-mark {
  display: block; width: 24px; height: 23px; border: 2px solid currentColor; border-radius: 4px;
  background: linear-gradient(currentColor, currentColor) 0 4px / 100% 2px no-repeat,
    radial-gradient(circle, currentColor 1.2px, transparent 1.4px) 2px 6px / 6px 6px;
}
.copy { flex: 1; min-width: 0; overflow-wrap: anywhere; }
.copy strong { display: block; font-size: clamp(18px, 2.6vw, 23px); font-weight: 600; color: var(--navy); letter-spacing: -.03em; }
.copy small { display: block; margin-top: 3px; color: var(--mid); font: 400 clamp(14px, 1.9vw, 17px)/1.4 var(--serif); }
.open { color: var(--blue); white-space: nowrap; font-size: 15px; font-weight: 600; }

.notice { border: 1px solid var(--line); border-radius: 6px; background: var(--paper); padding: 22px; color: var(--mid); font: 400 16px/1.5 var(--serif); overflow-wrap: anywhere; }
.page { display: grid; justify-items: start; gap: 20px; border-top: 1px solid var(--line); }
.page h2 { font: 600 18px/1.35 var(--sans); }
.notice p { margin-top: 8px; }
.back { display: inline-block; padding-block: 10px; font-weight: 600; }

@media (max-width: 600px) {
  .surface { margin: 0 auto; border: none; border-radius: 0; }
  .hero, .login { grid-template-columns: 1fr; }
  .hero .herotext { padding-bottom: 0; }
  .modelpanel { padding: 0 12px; }
  .modelpanel img { max-width: 370px; }
  .login .modelpanel { grid-row: 1; }
  .login .modelpanel img { max-width: 340px; }
  .calendar { width: 40px; }
  .open span { display: none; }
}
@media (max-width: 390px) {
  .bar { gap: 8px; padding: 12px; }
  .brand { gap: 6px; }
  .brand span { max-width: 80px; padding-left: 6px; }
  .logout { font-size: 13px; }
  .content { padding: 14px 10px; }
  .application { gap: 10px; padding: 14px 10px; }
}
