/* Public entry page: proportions and typography of the approved CfaePPP study. */
:root {
  color-scheme: light;
  --ink: #17343b;
  --muted: #5a747a;
  --deep: #245b66;
  --line: #d8e9ec;
}

*, *::before, *::after { box-sizing: border-box; }
body { margin: 0; }
.home-page {
  min-height: 100dvh;
  display: flex;
  flex-direction: column;
  background: #f3f8f9;
  color: var(--ink);
  font-family: Arial, Helvetica, sans-serif;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; }
button, input { font: inherit; }
p, h1, h2, h3 { margin: 0; }
a:focus-visible, button:focus-visible { outline: 3px solid #61b0bc; outline-offset: 5px; }
.home-header {
  height: 88px;
  padding-inline: max(32px, calc((100vw - 1312px) / 2));
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: #fff;
  border-bottom: 1px solid var(--line);
}
.home-brand { display: inline-flex; }
.home-brand img { display: block; width: 180px; height: 44px; }
.home-help { color: var(--muted); font-size: 13px; text-decoration: none; }
.home-help:hover { text-decoration: underline; text-underline-offset: 4px; }
.home-header__actions { display: flex; align-items: center; gap: 24px; }
.home-admin { color: var(--deep); font-size: 13px; font-weight: 600; text-decoration: none; }
.home-admin:hover { text-decoration: underline; text-underline-offset: 4px; }
.home-login { color: var(--deep); font-size: 13px; font-weight: 600; text-decoration: none; }
.home-login:hover { text-decoration: underline; text-underline-offset: 4px; }
.home-main { width: 100%; max-width: 1440px; flex: 1 0 auto; padding: 32px 40px 0; margin-inline: auto; }
.home-shell {
  display: grid;
  grid-template-columns: minmax(0, 654fr) minmax(0, 592fr);
  column-gap: clamp(48px, 7.9167vw, 114px);
  align-items: center;
}
.home-welcome { position: relative; overflow: hidden; border-radius: 16px; background: var(--deep); color: #fff; }
.home-welcome__image, .home-welcome__overlay { position: absolute; inset: 0; width: 100%; height: 100%; }
.home-welcome__image { object-fit: cover; object-position: 60% center; }
.home-welcome__overlay { background: linear-gradient(180deg, rgb(15 49 59 / 85%) 0%, rgb(20 58 68 / 72%) 40%, rgb(20 58 68 / 16%) 76%, rgb(20 58 68 / 8%) 100%); }
.home-welcome__content { position: relative; min-height: 708px; padding: 48px; display: flex; flex-direction: column; }
.eyebrow { color: var(--muted); font-size: 13px; line-height: 20px; font-weight: 400; letter-spacing: .2px; }
.eyebrow--on-dark { color: #c7e4e8; letter-spacing: .4px; }
.home-welcome h1 { margin-top: 46px; font-size: clamp(36px, 3.6vw, 52px); line-height: 1.14; font-weight: 400; letter-spacing: -1.4px; }
.home-welcome__intro { max-width: 370px; margin-top: 24px; font-size: 16px; line-height: 26px; color: #e0eef0; }
.home-pillars { display: grid; grid-template-columns: 140fr 194fr 192fr; gap: 16px; margin-top: 63px; }
.home-pillar { min-width: 0; height: 100px; padding: 18px 22px 22px; border-radius: 10px; display: flex; flex-direction: column; justify-content: space-between; font-size: 19px; }
.home-pillar small { font-size: 12px; color: #b7dde2; }
.home-pillar--first { background: #2f6e79; }
.home-pillar--second { background: #468b96; }
.home-pillar--third { background: #a9d9de; color: var(--deep); font-weight: 600; }
.home-pillar--third small { color: var(--deep); font-weight: 400; }
.home-welcome__rule { margin-top: 68px; border-top: 1px solid #5c9aa4; }
.home-welcome__closing { margin-top: 18px; font-size: 23px; line-height: 30px; }
.home-welcome__caption { margin-top: auto; padding-top: 44px; color: #b7dde2; font-size: 11px; letter-spacing: 2px; line-height: 16px; text-transform: uppercase; }
.home-access { max-width: 440px; width: 100%; padding-block: 32px; }
.home-access h2 { margin-top: 16px; font-size: 38px; line-height: 46px; letter-spacing: -1px; font-weight: 500; }
.home-access__description { max-width: 390px; margin-top: 18px; font-size: 15px; line-height: 25px; color: var(--muted); }
.access-form { margin-top: 47px; }
.access-form label { display: block; font-size: 14px; line-height: 18px; font-weight: 600; margin-bottom: 12px; margin-top: 12px}
.access-form input { display: block; width: 100%; height: 56px; padding: 0 18px; background: #fff; border: 1px solid #9cc7cd; border-radius: 8px; color: var(--ink); }
.access-form input::placeholder { color: var(--muted); opacity: 1; }
.access-form input:focus { outline: 3px solid rgb(97 176 188 / 22%); outline-offset: 2px; border-color: var(--deep); }
.access-form__submit { display: flex; align-items: center; justify-content: space-between; gap: 12px; width: 100%; height: 52px; margin-top: 20px; padding: 0 20px; background: var(--deep); color: #fff; border: 0; border-radius: 8px; font-size: 15px; font-weight: 600; cursor: pointer; transition: background-color 160ms ease; }
.access-form__submit:hover { background: #1b4a54; }
.access-form__submit:active { background: #173e47; }
.access-form__arrow { flex-shrink: 0; }
.access-form__hint { margin-top: 16px; font-size: 13px; line-height: 20px; color: var(--muted); }
.access-form__status { margin-top: 12px; color: var(--muted); font-size: 13px; line-height: 20px; }
.access-form__status:empty { display: none; }
.access-form__status--error { color: #a24848; }
.home-steps { margin-top: 38px; padding-top: 29px; border-top: 1px solid var(--line); }
.home-step { display: grid; grid-template-columns: 40px minmax(0, 1fr); }
.home-step + .home-step { margin-top: 31px; }
.home-step > span { font-size: 12px; line-height: 20px; color: var(--deep); font-weight: 600; }
.home-step h3 { font-size: 16px; line-height: 20px; font-weight: 600; }
.home-step p { margin-top: 10px; font-size: 14px; line-height: 20px; color: var(--muted); }
.home-access__support { margin-top: 36px; padding-top: 24px; border-top: 1px solid var(--line); max-width: 390px; color: var(--muted); font-size: 12px; line-height: 20px; }
.home-footer { width: min(calc(100% - 80px), 1360px); max-width: 1360px; margin: auto auto 0; padding: 20px 24px 30px; display: flex; justify-content: space-between; gap: 20px; border-top: 1px solid var(--line); color: var(--muted); font-size: 12px; line-height: 20px; }
.home-footer__developer { color: #789096; }
.home-footer__legal { display: inline-flex; flex-wrap: wrap; justify-content: flex-end; gap: 8px; }
.home-footer__legal a { color: inherit; text-underline-offset: 3px; }
.home-footer__legal a:hover { color: var(--deep); }
.home-footer__legal-link--disabled { color: #93a5a8; cursor: not-allowed; }

@media (min-width: 901px) and (max-width: 1250px) {
  .home-main { padding-inline: 24px; }
  .home-shell { column-gap: 40px; }
  .home-welcome__content { padding-inline: 28px; }
  .home-pillars { gap: 10px; }
  .home-pillar { padding-inline: 14px; font-size: 17px; }
  .home-welcome h1 { font-size: 36px; }
  .desktop-break { display: none; }
}

@media (max-width: 900px) {
  .home-header { height: 76px; padding-inline: 24px; }
  .home-brand img { width: 145px; height: 36px; }
  .home-main { max-width: 680px; padding: 20px 24px 0; }
  .home-shell { grid-template-columns: minmax(0, 1fr); gap: 36px; }
  .home-welcome { border-radius: 12px; }
  .home-welcome__content { min-height: 300px; padding: 30px 28px; }
  .home-welcome h1 { font-size: 34px; line-height: 41px; margin-top: 24px; }
  .home-welcome__intro { font-size: 14px; line-height: 22px; margin-top: 22px; max-width: 380px; }
  .home-pillars, .home-welcome__rule, .home-welcome__closing, .home-welcome__caption { display: none; }
  .home-access { max-width: none; padding: 0 8px; }
  .home-access > .eyebrow { display: none; }
  .home-access h2 { margin-top: 0; font-size: 29px; line-height: 36px; }
  .home-access__description { font-size: 15px; line-height: 24px; margin-top: 16px; }
  .desktop-break { display: none; }
  .access-form { margin-top: 40px; }
  .home-steps { margin-top: 34px; }
  .home-access__support { margin-top: 34px; }
  .home-footer { width: min(calc(100% - 48px), 680px); max-width: 680px; margin-top: 4px; padding: 20px 32px 24px; flex-wrap: wrap; font-size: 11px; }
}

@media (max-width: 400px) {
  .home-main { padding-inline: 16px; }
  .home-help { font-size: 12px; }
  .home-welcome__content { padding-inline: 24px; }
  .home-welcome h1 { font-size: 30px; line-height: 37px; }
  .home-footer { padding-inline: 24px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition: none !important; }
}
