@font-face { font-family: Bricolage; src: url("/bricolage.ttf") format("truetype"); font-display: swap; font-weight: 200 800; }
@font-face { font-family: Atkinson; src: url("/atkinson-regular.ttf") format("truetype"); font-display: swap; font-weight: 400; }
@font-face { font-family: Atkinson; src: url("/atkinson-semibold.ttf") format("truetype"); font-display: swap; font-weight: 600; }
.welcome {
  --ink: #172941; --muted: #4e6072; --blue: #244bc0; --red: #b33821;
  --line: #dce2e7; --sky: #e3eeff; --display: Bricolage, Atkinson, sans-serif;
  color: var(--ink); background: #fff;
  font: 100%/1.45 Atkinson, "Segoe UI", sans-serif;
}
.welcome p { line-height: inherit; }
.welcome { min-height: 100vh; display: flex; flex-direction: column; }
.welcome main { flex: 1; display: flex; flex-direction: column; }
.welcome button, .welcome input { font: inherit; }
.welcome button { cursor: pointer; }
.welcome button, .welcome a { -webkit-tap-highlight-color: transparent; }
.welcome button:focus-visible, .welcome a:focus-visible, .welcome input:focus-visible { outline: 3px solid var(--blue); outline-offset: 3px; }
.welcome .frame { width: min(1192px, calc(100% - 104px)); margin-inline: auto; }
.welcome .masthead { border-bottom: 1px solid var(--line); }
.welcome .masthead .frame { display: flex; align-items: center; justify-content: space-between; gap: 20px; min-height: 84px; }
.welcome .welcome-brand { display: flex; align-items: center; gap: 11px; }
.welcome .mark { width: 36px; height: 36px; }
.welcome .welcome-brand b { font: 760 28px/1 var(--display); letter-spacing: -.035em; }
.welcome .welcome-brand span { margin-left: 9px; padding-left: 18px; border-left: 1px solid #cbd4dd; color: var(--muted); font-size: 15px; }
.welcome .teacher { appearance: none; display: inline-flex; gap: 5px; align-items: center; border: 0; background: transparent; color: var(--muted); min-height: 48px; padding: 4px 0 4px 10px; font-size: 16px; }
.welcome .teacher strong { color: var(--ink); font-weight: 600; }
.welcome .teacher svg { width: 17px; height: 17px; margin-left: 3px; }
.welcome .teacher:hover strong, .welcome .demo:hover span { text-decoration: underline; text-underline-offset: 4px; }
.welcome .teacher.mobile { display: none; }
.welcome .welcome-layout {
  display: grid; grid-template-columns: minmax(0, .88fr) minmax(0, 1.16fr);
  align-items: center; gap: clamp(36px, 5vw, 82px);
  padding-block: clamp(42px, 4.1vw, 65px) clamp(36px, 3.8vw, 60px);
}
.welcome .signin { width: min(100%, 430px); margin-inline: auto; }
.welcome h1 { font: 740 clamp(44px, 4vw, 60px)/1.04 var(--display); letter-spacing: -.038em; text-wrap: balance; }
.welcome .hint { margin-top: 13px; font-size: 18px; color: var(--muted); }
.welcome .login { margin-top: 29px; }
.welcome .field + .field { margin-top: 17px; }
.welcome label { display: block; margin-bottom: 6px; font-weight: 600; font-size: 17px; }
.welcome .input-wrap { position: relative; }
.welcome input {
  width: 100%; height: 54px; padding: 8px 15px; font-size: 19px; color: var(--ink);
  border: 1px solid #8595a3; border-radius: 12px; background: #fbfcfe;
}
.welcome #password { padding-right: 55px; }
.welcome input:focus { border-color: var(--blue); background: white; }
.welcome input[aria-invalid="true"] { border-color: var(--red); }
.welcome .peek { position: absolute; inset: 3px 4px 3px auto; width: 46px; border-radius: 9px; border: 0; background: transparent; color: #53647b; display: grid; place-items: center; }
.welcome .peek:hover { background: #e7eefb; }
.welcome .peek svg { width: 21px; height: 21px; }
.welcome .peek .slash { display: none; }
.welcome .peek[aria-pressed="true"] .slash { display: block; }
.welcome .error { margin-top: 6px; color: var(--red); font-size: 16px; }
.welcome .enter { display: flex; gap: 12px; align-items: center; justify-content: center; width: 100%; min-height: 55px; margin-top: 22px; border: 0; border-radius: 13px; background: var(--blue); color: white; font-size: 19px; font-weight: 600; }
.welcome .enter:hover { background: #183a9f; }
.welcome .enter svg { width: 19px; height: 19px; }
.welcome .demo { display: flex; align-items: center; justify-content: center; gap: 8px; min-height: 48px; margin: 5px auto 0; padding: 4px 11px; border: 0; border-radius: 10px; background: transparent; color: var(--ink); font-weight: 600; font-size: 16px; }
.welcome .demo svg { width: 17px; height: 17px; }
.welcome .illustration { width: 100%; min-width: 0; margin: 0; min-height: 395px; aspect-ratio: 1.32; position: relative; display: grid; place-items: center; isolation: isolate; }
.welcome .illustration::before { content: ""; z-index: -1; position: absolute; inset: 0; background: var(--sky); border-radius: 38% 36px 25% 36px / 39% 36px 32% 36px; }
.welcome .fox { width: 84%; height: auto; display: block; }
.welcome .guide { flex: 1; background: #f5f8fc; }
.welcome .guide .frame { padding-block: 27px 38px; }
.welcome h2 { font: 720 27px/1.18 var(--display); letter-spacing: -.029em; }
.welcome .steps { display: grid; grid-template-columns: 1fr 1.16fr .88fr; gap: clamp(18px, 3.6vw, 54px); margin: 22px 0 0; padding: 0; list-style: none; }
.welcome .steps li { display: flex; gap: 14px; align-items: center; font-size: 18px; line-height: 1.35; }
.welcome .steps li + li { border-left: 1px solid #ced8e2; padding-left: clamp(18px, 3.6vw, 54px); }
.welcome .steps svg { width: 36px; height: 36px; flex: none; color: var(--blue); }
.welcome .steps li:last-child svg { color: var(--red); transform: rotate(12deg); }
.welcome .steps b { font-weight: 600; }
@media (max-width: 1030px) and (min-width: 781px) {
  .welcome .frame { width: calc(100% - 64px); }
  .welcome .welcome-layout { grid-template-columns: 1fr 1fr; gap: 36px; }
  .welcome .illustration { min-height: 0; aspect-ratio: 1.12; }
}
@media (max-width: 780px) {
  .welcome .frame { width: min(530px, calc(100% - 44px)); }
  .welcome .masthead .frame { min-height: 68px; }
  .welcome .welcome-brand { gap: 9px; }
  .welcome .welcome-brand b { font-size: 25px; }
  .welcome .mark { width: 31px; height: 31px; }
  .welcome .welcome-brand span { font-size: 14px; margin-left: 5px; padding-left: 12px; }
  .welcome .teacher.desktop { display: none; }
  .welcome .teacher.mobile { display: inline-flex; padding-left: 0; margin-top: 17px; }
  .welcome .welcome-layout { grid-template-columns: 1fr; gap: 24px; padding-block: 31px 27px; }
  .welcome .signin { width: 100%; }
  .welcome h1 { font-size: clamp(36px, 8.8vw, 48px); }
  .welcome .hint { margin-top: 9px; font-size: 17px; }
  .welcome .login { margin-top: 22px; }
  .welcome .field + .field { margin-top: 15px; }
  .welcome .illustration { min-height: 0; aspect-ratio: 1.88; }
  .welcome .illustration::before { border-radius: 27% 23px 20% 23px / 48% 23px 43% 23px; }
  .welcome .fox { width: 73%; }
  .welcome .guide .frame { padding-block: 24px; }
  .welcome .steps { grid-template-columns: 1fr; gap: 16px; margin-top: 19px; }
  .welcome .steps li + li { border: 0; padding: 0; }
  .welcome .steps li { font-size: 17px; gap: 13px; }
  .welcome .steps svg { width: 29px; height: 29px; }
  .welcome h2 { font-size: 25px; }
}
@media (max-width: 380px) {
  .welcome .welcome-brand span { font-size: 13px; padding-left: 10px; margin-left: 0; }
  .welcome .frame { width: calc(100% - 32px); }
}
