@charset "utf-8";
/* Visitor homepage (gui/home.tpl). Loaded only on that page. */

.is-home,
#container-page.is-home {
  --srs-page-bg: #fff;
  /* Header, hero, sections and footer all share this side margin, so the
     content runs the full width between the header/footer edges */
  --srs-gutter: 80px;
  background: #fff;
}
.is-home #container-content {
  padding: 0;
}

.srs-home {
  --home-blue: #005bff;
  --home-accent: #008cff;
  --home-navy: #0c2741;
  --home-dark: #08223e;
  --home-ink: #0b1425;
  --home-muted: #586b84;
  --home-line: #dee6ed;
  --home-tint: #f1f6f9;
  --home-circle: #e5eefa;
  font: 16px/1.5 "Helvetica Neue", Helvetica, Arial, sans-serif;
  color: var(--home-ink);
  text-align: left;
}
.srs-home *,
.srs-home *::before,
.srs-home *::after {
  box-sizing: border-box;
}
/* undo main.css defaults for headings, paragraphs, links and forms */
.srs-home h1,
.srs-home h2,
.srs-home h3 {
  margin: 0;
  padding: 0;
  font-family: inherit;
  font-weight: bold;
  color: inherit;
}
.srs-home p {
  margin: 0;
  line-height: 1.5;
}
.srs-home ul,
.srs-home ol {
  margin: 0;
  padding: 0;
  list-style: none;
}
/* buttons are excluded: this would otherwise override their hover colour and weight */
.srs-home a:not(.home-btn),
.srs-home a:not(.home-btn):hover {
  color: inherit;
  font-weight: normal;
}

.home-eyebrow {
  margin-bottom: 10px !important;
  font-size: 13px;
  font-weight: bold;
  letter-spacing: .26em;
  text-transform: uppercase;
  color: var(--home-blue);
}
.home-eyebrow--light {
  color: #fff;
  font-weight: normal;
  letter-spacing: .3em;
}

/* ---------- Hero ---------- */

.home-hero {
  position: relative;
  display: flex;
  align-items: center;
  min-height: clamp(300px, 23.9vw, 460px);
  padding: 40px calc(var(--srs-gutter) + 10px);
  background: var(--home-navy) url(img/home/hero-bg.png) right center / cover no-repeat;
  color: #fff;
}
.home-hero__inner {
  /* stay clear of the chevron on the right of the background */
  max-width: min(680px, 60%);
}
.home-hero h1 {
  font-size: clamp(36px, 4.3vw, 60px);
  line-height: 1.1;
  letter-spacing: -.01em;
}
.home-hero__lead {
  max-width: 600px;
  margin-top: 16px !important;
  font-size: clamp(20px, 2.1vw, 28px);
  line-height: 1.4 !important;
}
.home-hero__lead::after {
  content: "";
  display: block;
  width: 72px;
  height: 3px;
  margin-top: 22px;
  background: var(--home-accent);
}
.home-hero__strap {
  margin-top: 26px !important;
  font-size: 12px;
  font-weight: bold;
  letter-spacing: .3em;
  text-transform: uppercase;
}
.home-hero__words {
  position: absolute;
  top: 64px;
  /* tied to the background image (the chevron scales with the width), not the column */
  right: 6.4%;
  font-size: 12px;
  font-weight: bold;
  line-height: 26px;
  letter-spacing: .04em;
  text-transform: uppercase;
}

/* ---------- Layout ---------- */

.home-wrap {
  padding: 34px var(--srs-gutter) 0;
}
.home-section {
  padding: 40px 20px 44px;
}
.home-section h2,
.home-card h2,
.home-help h2 {
  font-size: 36px;
  line-height: 1.2;
}
.home-section__intro {
  margin-top: 10px !important;
  font-size: 20px;
}

/* ---------- Login / register cards ---------- */

.home-cards {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 22px;
}
.home-card {
  padding: 36px 42px 42px;
  border: 2px solid var(--home-line);
  background: #fff;
}
.home-card--tinted {
  display: flex;
  flex-direction: column;
  background: #f0f5f8;
}
.home-card__intro {
  margin-top: 12px !important;
  font-size: 18px;
}
.home-card__icon {
  display: block;
  margin: 34px auto 34px;
}
.home-card__note {
  margin-bottom: 30px !important;
  font-size: 17px;
  line-height: 1.6 !important;
}
.home-card--tinted .home-btn {
  margin-top: auto;
}

.srs-home .home-login {
  float: none;
  width: auto;
  margin-top: 28px;
  font: inherit;
}
.srs-home .home-login label {
  display: block;
  float: none;
  margin: 0 0 8px;
  text-align: left;
  font-size: 14px;
  font-weight: bold;
}
.home-field {
  position: relative;
  display: flex;
  align-items: center;
  margin-bottom: 24px;
  border: 2px solid #c7d3df;
  border-radius: 2px;
  background: #fff;
  transition: border-color .2s ease;
}
.home-field:focus-within {
  border-color: var(--home-blue);
}
.home-field > img {
  flex: none;
  margin-left: 18px;
}
.srs-home .home-field input {
  flex: 1;
  min-width: 0;
  height: 44px;
  margin: 0;
  padding: 0 14px 0 16px;
  border: 0;
  background: transparent;
  font: 15px "Helvetica Neue", Helvetica, Arial, sans-serif;
  color: var(--home-ink);
  outline: none;
}
.srs-home .home-field input::placeholder {
  color: #6f7f92;
}
.home-field__reveal {
  display: flex;
  margin-right: 12px;
  padding: 6px;
  border: 0;
  background: none;
  color: var(--home-ink);
  cursor: pointer;
  transition: color .15s ease;
}
.home-field__reveal:hover {
  color: var(--home-blue);
}
.home-field__reveal svg {
  width: 22px;
  height: 22px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
}
.home-field__reveal[aria-pressed="true"] {
  color: var(--home-blue);
}
.srs-home .home-link {
  display: inline-block;
  margin: -6px 0 26px;
  color: var(--home-blue);
  text-decoration: underline;
  text-decoration-color: rgba(0, 91, 255, .45);
  text-underline-offset: 2px;
  font-size: 16px;
  transition: text-decoration-color .2s ease;
}
.srs-home .home-link:hover {
  text-decoration-color: currentColor;
}

/* ---------- Buttons ---------- */

.srs-home .home-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  width: 100%;
  min-height: 62px;
  margin: 0;
  padding: 12px 24px;
  border: 2px solid transparent;
  border-radius: 2px;
  font: bold 20px/1.2 "Helvetica Neue", Helvetica, Arial, sans-serif;
  text-decoration: none;
  cursor: pointer;
  transition: background-color .2s ease, border-color .2s ease, box-shadow .2s ease;
}
.srs-home .home-btn img {
  transition: transform .2s ease;
}
.srs-home .home-btn--primary:hover img,
.srs-home .home-btn--outline:hover img {
  transform: translateX(4px);
}
.srs-home .home-btn:focus-visible {
  outline: 3px solid var(--home-accent);
  outline-offset: 2px;
}
.srs-home .home-btn--primary {
  background: var(--home-blue);
  color: #fff;
}
.srs-home .home-btn--primary:hover {
  background: #004fdd;
}
.srs-home .home-btn--outline {
  border-color: var(--home-blue);
  background: #fff;
  color: var(--home-blue);
}
.srs-home .home-btn--outline:hover {
  background: #eaf1ff;
}
.srs-home .home-btn--dark {
  width: auto;
  padding: 12px 36px;
  background: var(--home-dark);
  color: #fff;
}
.srs-home .home-btn--dark:hover {
  background: #143a62;
  box-shadow: 0 6px 16px rgba(8, 34, 62, .22);
}
.srs-home .home-btn--dark:hover img {
  transform: translate(2px, -2px);
}

/* ---------- Before you begin ---------- */

.home-tips {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  margin-top: 26px !important;
}
.home-tips li {
  padding: 0 28px;
  border-left: 1px solid #e4ebf1;
}
.home-tips li:first-child {
  padding-left: 0;
  border-left: 0;
}
.home-tips img {
  display: block;
  margin-bottom: 18px;
}
.home-tips h3,
.home-steps h3 {
  margin-bottom: 4px;
  font-size: 18px;
}
.home-tips p,
.home-steps p {
  font-size: 16px;
  color: var(--home-muted);
}

/* ---------- How it works ---------- */

.home-section--tinted {
  margin: 0 -20px;
  padding: 34px 40px 22px;
  background: var(--home-tint);
}
.home-steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px 90px;
  margin-top: 28px !important;
}
.home-steps li {
  position: relative;
  display: flex;
  align-items: flex-start;
  gap: 34px;
}
.home-steps li + li::before {
  content: "";
  position: absolute;
  top: 26px;
  left: -66px;
  width: 30px;
  height: 20px;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 20' fill='none' stroke='%235b9bf0' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M2 10h26M19 2l9 8-9 8'/%3E%3C/svg%3E") center / contain no-repeat;
}
.home-steps__num {
  flex: none;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 73px;
  height: 73px;
  border-radius: 50%;
  background: var(--home-circle);
  color: var(--home-blue);
  font-size: 36px;
  font-weight: bold;
}

/* ---------- Need help ---------- */

.home-help {
  display: flex;
  align-items: center;
  gap: 50px;
  padding: 40px 20px 30px;
}
.home-help__title {
  flex: none;
  padding-right: 50px;
  border-right: 2px solid var(--home-line);
}
.home-help__text {
  flex: 1;
  max-width: 360px;
  font-size: 17px;
  color: var(--home-muted);
}
.home-help .home-btn {
  margin-left: auto;
}

/* ---------- Smaller screens ---------- */

@media (max-width: 1100px) {
  .home-tips {
    grid-template-columns: 1fr 1fr;
    row-gap: 32px;
  }
  .home-tips li:nth-child(3) {
    padding-left: 0;
    border-left: 0;
  }
  .home-steps {
    grid-template-columns: 1fr;
  }
  .home-steps li + li::before {
    display: none;
  }
}

@media (max-width: 800px) {
  #container-page.is-home {
    --srs-gutter: 16px;
  }
  .home-hero {
    padding: 40px 16px;
    background-position: 70% center;
  }
  .home-hero__inner {
    max-width: none;
  }
  .home-hero__words {
    display: none;
  }
  .home-wrap {
    padding: 24px 16px 0;
  }
  .home-cards {
    grid-template-columns: 1fr;
  }
  .home-card {
    padding: 28px 22px 30px;
  }
  .home-section {
    padding: 32px 0;
  }
  .home-section--tinted {
    margin: 0 -16px;
    padding: 30px 16px;
  }
  .home-section h2,
  .home-card h2,
  .home-help h2 {
    font-size: 28px;
  }
  .home-tips {
    grid-template-columns: 1fr;
  }
  .home-tips li {
    padding: 0;
    border-left: 0;
  }
  .home-help {
    flex-direction: column;
    align-items: flex-start;
    gap: 16px;
    padding: 32px 0 24px;
  }
  .home-help__title {
    padding-right: 0;
    border-right: 0;
  }
  .home-help .home-btn {
    margin-left: 0;
  }
}
