:root {
  --navy: #061a40;
  --blue: #00265c;
  --gold: #bb8c32;
  --ink: #263044;
  --line: #d8dce3;
}

* {
  box-sizing: border-box;
}

html,
body {
  min-height: 100%;
}

body {
  margin: 0;
  color: var(--navy);
  background: #fbfbfc;
  font-family: Inter, Arial, sans-serif;
}

.entry-page {
  height: 100vh;
  overflow: hidden;
}

.portal-shell {
  position: relative;
  width: 100%;
  height: 100vh;
  min-height: 100vh;
  overflow: hidden;
  display: flex;
  justify-content: center;
  background: #fff url("images/background-image-1.png") center top / cover no-repeat fixed;
}

.portal-shell::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: radial-gradient(circle at 50% 45%, rgba(255, 255, 255, .3) 0 25%, rgba(255, 255, 255, .05) 58%, rgba(255, 255, 255, .13) 100%);
}

.portal {
  z-index: 1;
  width: 730px;
  padding: 27px 0 14px;
  text-align: center;
}

.brand-header {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.seal {
  width: 122px;
  height: 122px;
  display: block;
  object-fit: contain;
  border-radius: 50%;
  filter: drop-shadow(0 2px 3px rgba(6, 26, 64, .12));
}

h1,
h2,
.company-name {
  font-family: "Cormorant Garamond", Georgia, serif;
}

h1 {
  margin: 15px 0 9px;
  font-size: 48px;
  line-height: 1;
  text-transform: uppercase;
  letter-spacing: 2px;
  font-weight: 700;
}

.title-divider {
  width: 376px;
  display: flex;
  align-items: center;
  gap: 12px;
  color: var(--gold);
}

.title-divider::before,
.title-divider::after {
  content: "";
  flex: 1;
  height: 1px;
  background: var(--gold);
}

.title-divider span {
  font-size: 15px;
}

.company-name {
  margin: 8px 0 0;
  font-size: 29px;
  line-height: 1.1;
  font-weight: 600;
}

.tagline {
  margin: 5px 0 18px;
  color: #475064;
  font-size: 15px;
}

.access-card {
  width: 655px;
  margin: auto;
  padding: 24px 79px 28px;
  border: 1px solid #e0e2e6;
  border-radius: 10px;
  background: rgba(255, 255, 255, .92);
  box-shadow: 0 4px 16px rgba(6, 26, 64, .12);
}

.image-icon {
  display: block;
  object-fit: contain;
  object-position: center;
}

.user-badge {
  width: 150px;
  height: 150px;
  border: 1px solid #e0e3e8;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 16px;
  overflow: hidden;
}

.user-badge img {
  object-fit: contain;
  object-position: center;
  border-radius: 50%;
  margin: auto;
}

.short-rule {
  width: 42px;
  height: 1px;
  margin: 0 auto 17px;
  background: var(--gold);
}

h2 {
  margin: 0;
  font-size: 29px;
  line-height: 1.05;
}

.form-copy {
  margin: 10px 0 19px;
  color: #555e70;
  font-size: 14px;
  line-height: 1.5;
}

.input-wrap {
  height: 53px;
  display: flex;
  align-items: center;
  gap: 12px;
  border: 1px solid #d5d9e0;
  border-radius: 5px;
  padding: 0 14px;
  background: #fff;
  transition: .2s;
}

.input-wrap:focus-within {
  border-color: #8294b2;
  box-shadow: 0 0 0 3px rgba(6, 38, 92, .08);
}

.input-wrap img {
  flex: 0 0 24px;
  width: 24px;
  height: 24px;
  object-fit: contain;
  object-position: center;
  margin: auto 0;
  opacity: .62;
}

input {
  border: 0;
  outline: 0;
  width: 100%;
  height: 100%;
  font: 14px Inter, sans-serif;
  color: var(--navy);
  background: transparent;
}

input::placeholder {
  color: #8a909b;
}

.form-message {
  min-height: 18px;
  margin: 2px 0 0;
  text-align: left;
  color: #a33030;
  font-size: 12px;
}

button {
  width: 100%;
  height: 53px;
  border: 0;
  border-radius: 5px;
  color: #fff;
  background: linear-gradient(100deg, #02183e, #00316c);
  font: 600 15px Inter, sans-serif;
  text-transform: uppercase;
  letter-spacing: 1px;
  cursor: pointer;
  transition: transform .15s, box-shadow .15s;
}

button span {
  display: inline-block;
  margin-left: 10px;
  font-size: 23px;
  vertical-align: -2px;
  font-weight: 400;
}

button:hover {
  transform: translateY(-1px);
  box-shadow: 0 6px 14px rgba(0, 38, 92, .2);
}

.trust-panel {
  width: 735px;
  min-height: 116px;
  margin: 17px auto 0;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  align-items: center;
  border-radius: 7px;
  background: rgba(255, 255, 255, .5);
  box-shadow: 0 5px 25px rgba(6, 26, 64, .025);
}

.trust-item {
  min-height: 61px;
  display: flex;
  align-items: center;
  gap: 15px;
  padding: 0 21px;
  text-align: left;
  border-right: 1px solid #d9dce2;
}

.trust-item:last-child {
  border: 0;
}

.trust-item>img {
  flex: 0 0 66px;
  width: 66px;
  height: 66px;
  object-fit: contain;
  object-position: center;
  margin: auto 0;
}

.trust-item h3 {
  margin: 0 0 6px;
  font-size: 11px;
  text-transform: uppercase;
}

.trust-item p {
  margin: 0;
  color: #4e5668;
  font-size: 10.5px;
  line-height: 1.7;
}

footer {
  margin-top: 22px;
  color: #525968;
  font-size: 10.5px;
  line-height: 1.5;
}

footer p {
  margin: 3px;
}

.entry-mobile-header {
  display: none;
}

.entry-page .portal {
  width: 820px;
  padding-top: 14px;
}

.entry-page .seal {
  width: 102px;
  height: 102px;
}

.entry-page h1 {
  margin-top: 7px;
  font-size: 43px;
}

.entry-page .company-name {
  font-size: 25px;
}

.entry-page .tagline {
  margin-bottom: 10px;
}

.entry-page .access-card {
  width: 600px;
  padding: 14px 68px 16px;
}

.entry-page .user-badge {
  width: 70px;
  height: 70px;
  margin-bottom: 8px;
}

.entry-page .user-badge img {
  width: 70px !important;
  height: 70px !important;
}

.entry-page .short-rule {
  margin-bottom: 9px;
}

.entry-page .form-copy {
  margin: 7px 0 11px;
}

.entry-page .form-message {
  min-height: 13px;
}

.entry-page .input-wrap,
.entry-page button {
  height: 48px;
}

.reviews {
  width: 820px;
  margin: 14px auto 0;
}

.reviews-heading {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 25px;
}

.reviews-heading span {
  width: 80px;
  height: 1px;
  background: var(--gold);
}

.reviews-heading h2 {
  font-size: 17px;
  text-transform: uppercase;
  letter-spacing: .4px;
}

.reviews-subtitle {
  margin: 4px 0 7px;
  color: #5a6272;
  font-size: 12px;
}

.carousel {
  display: grid;
  grid-template-columns: 38px minmax(0, 1fr) 38px;
  align-items: center;
  gap: 8px;
}

.carousel-viewport {
  overflow: hidden;
  padding: 1px;
}

.carousel-track {
  display: flex;
  gap: 12px;
  transition: transform .65s cubic-bezier(.22, .61, .36, 1);
  will-change: transform;
}

.review-card {
  flex: 0 0 calc((100% - 24px)/3);
  min-width: 0;
  height: 148px;
  padding: 13px;
  display: flex;
  gap: 12px;
  border: 1px solid #dfe2e7;
  border-radius: 8px;
  background: rgba(255, 255, 255, .9);
  text-align: left;
  box-shadow: 0 2px 7px rgba(6, 26, 64, .04);
}

.review-card>img {
  flex: 0 0 53px;
  width: 53px;
  height: 53px;
  border-radius: 50%;
  object-fit: cover;
}

.review-content {
  min-width: 0;
  display: flex;
  flex-direction: column;
}

.review-stars {
  color: #cf9736;
  font-size: 15px;
  letter-spacing: 1px;
  line-height: 1;
}

.review-content p {
  flex: 1;
  margin: 7px 0 5px;
  color: #3f4757;
  font-size: 9.5px;
  line-height: 1.5;
}

.review-content strong {
  font-size: 10px;
}

.review-content small {
  margin-top: 7px;
  color: #08763f;
  font-size: 9.5px;
}

.review-content small span {
  width: 14px;
  height: 14px;
  margin-right: 4px;
  display: inline-grid;
  place-items: center;
  border-radius: 50%;
  color: #fff;
  background: #11824b;
  font-size: 9px;
}

.carousel-button {
  width: 36px !important;
  height: 36px !important;
  padding: 0;
  display: grid;
  place-items: center;
  border: 1px solid #e0e3e8;
  border-radius: 50%;
  color: var(--navy);
  background: #fff;
  font: 500 27px/1 Georgia, serif;
  letter-spacing: 0;
  box-shadow: 0 2px 7px rgba(6, 26, 64, .1);
}

.carousel-button:hover {
  transform: scale(1.05);
}

.carousel-dots {
  display: none;
}

.carousel-dots button {
  width: 8px;
  height: 8px;
  padding: 0;
  border-radius: 50%;
  background: #cdd1d8;
  box-shadow: none;
}

.carousel-dots button.is-active {
  background: var(--navy);
}

.entry-page .trust-panel {
  width: 800px;
  min-height: 88px;
  margin-top: 4px;
}

.entry-page .trust-item {
  min-height: 52px;
}

.entry-page footer {
  margin-top: 8px;
}

@media (min-width:1024px) and (max-height:1050px) {
  .portal {
    transform: scale(.9);
    transform-origin: top center;
  }
}

@media (min-width:1024px) and (max-height:850px) {
  .portal {
    transform: scale(.78);
    transform-origin: top center;
  }
}

@media (max-width:1023px) {
  .entry-page {
    height: auto;
    min-height: 100%;
    overflow-x: hidden;
    overflow-y: auto;
  }

  .entry-mobile-header {
    width: 100%;
    min-height: 72px;
    padding: 8px 14px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: nowrap;
    gap: 10px;
    border-bottom: 2px solid var(--navy);
    background: #fff;
  }

  .entry-mobile-header .recovery-brand {
    min-width: 0;
    display: flex;
    align-items: center;
    gap: 8px;
    color: var(--navy);
  }

  .entry-mobile-header .recovery-brand>img {
    width: 52px;
    height: 52px;
    flex: 0 0 52px;
    object-fit: contain;
  }

  .entry-mobile-header .recovery-brand>span,
  .entry-mobile-header .secure-label>span {
    min-width: 0;
    display: flex;
    flex-direction: column;
    text-align: left;
  }

  .entry-mobile-header .recovery-brand strong {
    font: 700 14px/1.1 "Cormorant Garamond", Georgia, serif;
    text-transform: uppercase;
    white-space: nowrap;
  }

  .entry-mobile-header .recovery-brand small {
    margin-top: 4px;
    font-size: 9px;
    white-space: nowrap;
  }

  .entry-mobile-header .secure-label {
    flex: 0 0 auto;
    display: flex;
    align-items: center;
    gap: 6px;
    color: var(--navy);
  }

  .entry-mobile-header .secure-label>img {
    width: 21px;
    height: 21px;
    flex: 0 0 21px;
    object-fit: contain;
  }

  .entry-mobile-header .secure-label strong {
    font-size: 9px;
    line-height: 1.1;
    white-space: nowrap;
  }

  .entry-mobile-header .secure-label small {
    margin-top: 4px;
    font-size: 7px;
    line-height: 1.1;
    white-space: nowrap;
  }

  .portal-shell {
    height: auto;
    min-height: calc(100vh - 68px);
    overflow: visible;
    background-attachment: scroll;
  }

  .entry-page .portal {
    width: 100%;
    padding: 21px 15px 16px;
  }

  .entry-page .seal {
    width: 76px;
    height: 76px;
  }

  .entry-page h1 {
    margin-top: 9px;
    font-size: 25px;
    letter-spacing: .5px;
  }

  .entry-page .title-divider {
    width: 190px;
  }

  .entry-page .company-name {
    font-size: 19px;
  }

  .entry-page .tagline {
    font-size: 12px;
  }

  .entry-page .access-card {
    width: 92%;
    padding: 16px 22px 19px;
  }

  .entry-page .user-badge {
    width: 66px;
    height: 66px;
  }

  .entry-page .user-badge img {
    width: 66px !important;
    height: 66px !important;
  }

  .entry-page h2 {
    font-size: 20px;
  }

  .entry-page .form-copy {
    font-size: 11px;
  }

  .entry-page .input-wrap,
  .entry-page button {
    height: 46px;
  }

  .reviews {
    width: 100%;
    margin-top: 17px;
  }

  .reviews-heading {
    gap: 9px;
  }

  .reviews-heading span {
    width: 38px;
  }

  .reviews-heading h2 {
    font-size: 11px;
    white-space: nowrap;
  }

  .reviews-subtitle {
    font-size: 10px;
  }

  .carousel {
    grid-template-columns: 24px minmax(0, 1fr) 24px;
    gap: 3px;
  }

  .carousel-button {
    width: 23px !important;
    height: 23px !important;
    font-size: 18px;
  }

  .carousel-track {
    gap: 2px;
  }

  .review-card {
    flex-basis: calc((100% - 4px)/3);
    height: 180px;
    padding: 9px 7px 12px;
    gap: 6px;
    flex-direction: column;
    position: relative;
    overflow: hidden;
  }

  .review-card>img {
    width: 38px;
    height: 38px;
    flex: 0 0 38px;
  }

  .review-content {
    flex: 1;
    width: 100%;
  }

  .review-stars {
    position: absolute;
    top: 13px;
    left: 49px;
    margin: 0;
    font-size: 8px;
    letter-spacing: 0;
    white-space: nowrap;
  }

  .review-content p {
    min-height: 0;
    margin: 2px 0 5px;
    display: -webkit-box;
    overflow: hidden;
    -webkit-line-clamp: 6;
    -webkit-box-orient: vertical;
    flex: 1;
    font-size: 7.5px;
    line-height: 1.55;
  }

  .review-content strong {
    margin-top: auto;
    font-size: 7.5px;
    white-space: nowrap;
  }

  .review-content small {
    min-height: 16px;
    margin-top: 5px;
    display: flex;
    align-items: center;
    font-size: 7px;
    line-height: 16px;
    white-space: nowrap;
  }

  .review-content small span {
    flex: 0 0 14px;
  }

  .entry-page .trust-panel {
    width: 100%;
    min-height: 94px;
    grid-template-columns: repeat(3, 1fr);
    padding: 7px;
  }

  .entry-page .trust-item {
    min-height: 65px;
    gap: 5px;
    padding: 5px 7px;
    border-right: 1px solid #d9dce2;
    border-bottom: 0;
  }

  .entry-page .trust-item:last-child {
    border-right: 0;
  }

  .entry-page .trust-item>img {
    width: 38px;
    height: 38px;
    flex-basis: 38px;
  }

  .entry-page .trust-item h3 {
    font-size: 7px;
  }

  .entry-page .trust-item p {
    font-size: 6.5px;
  }

  .entry-page footer {
    margin: 17px 0 5px;
    font-size: 8px;
  }
}