@font-face {
  font-family: 'Soehne';
  src: url('https://newrelic.com/assets/fonts/soehne/soehne-buch.woff2') format('woff2');
  font-weight: 400;
  font-style: normal;
}

@font-face {
  font-family: 'Soehne';
  src: url('https://newrelic.com/assets/fonts/soehne/soehne-kraftig.woff2') format('woff2');
  font-weight: 500;
  font-style: normal;
}

* {
  box-sizing: border-box;
}

body {
  padding: 0;
  margin: 0;
  font-family: 'Soehne';
  line-height: 1.333;
  color: #1d252c;
  background-color: #f9fafa;
}

h1 {
  margin: 0 0 3rem;
  font-size: 3.25rem;
  line-height: 1.077;
  letter-spacing: -0.03em;
  font-weight: 500;
}

h1 span {
  position: relative;
  display: inline-block;
}

h1 span::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 116%;
  padding-bottom: 46%;
  margin-top: 2%;
  background: url('https://newrelic.com/assets/images/bg-circle.svg') no-repeat center center / contain;
}

[lang='pt'] h1 span::before,
[lang='es'] h1 span::before {
  width: 140%;
  padding-bottom: 61%;
}

[lang='kr'] h1 span::before {
  width: 156%;
  padding-bottom: 61%;
}

h2,
.thankyou-content h1 {
  font-size: 1.5rem;
  font-weight: 400;
  letter-spacing: -0.005em;
}

h2 {
  margin: 0 0 2.5rem;
  color: #6a6f74;
}

p,
ul {
  margin: 0;
}

a {
  color: #6a6f74;
}

form {
  margin: 0;
}

label {
  display: none;
}

.btn,
input {
  appearance: none;
  width: 100%;
  padding: 1.1875rem 1.5rem;
  border-radius: 0.25rem;
  border: 1px solid rgb(29 37 44);
  outline: none;
  font-family: inherit;
  font-size: inherit;
  line-height: 1.5rem;
}

input:active,
input:focus {
  box-shadow: rgb(228, 229, 230) 0px 0px 0px 4px;
}

input.btn:focus {
  outline: none;
  border: none;
  border-radius: 2px;
}

.btn {
  box-sizing: border-box;
  display: inline-flex;
  height: 4rem;
  align-items: center;
  justify-content: center;
  white-space: nowrap;
  padding-left: 2rem;
  padding-right: 2rem;
  background-color: #1d252c;
  color: #f9fafa;
  cursor: pointer;
}

.btn-inner {
  height: 1.5rem;
  overflow: hidden;
}

.btn-label {
  display: flex;
  flex-direction: column;
  transition: transform 300ms cubic-bezier(0.4, 0, 0.2, 1);
}

.btn:hover .btn-label {
  transform: matrix(1, 0, 0, 1, 0, -24);
}

.btn-label span {
  display: flex;
  align-items: center;
}

.btn-submit:disabled {
  background: #ccc;
}

input::placeholder {
  color: rgb(106, 111, 116);
}

.hidden {
  display: none;
}

.layout {
  position: relative;
  display: grid;
  align-items: center;
  min-height: 100vh;
  overflow: hidden;
}

.container {
  width: 100%;
  max-width: 78rem;
  margin: 0 auto;
  padding: 0 2.5rem;
}

.header {
  padding: 2rem 0;
  background-color: #1d252c;
}

.logo {
  display: block;
}

.signup-form-wrapper .logo {
  margin-bottom: 2rem;
}

.login {
  font-size: 1.125rem;
  line-height: 1.333;
  color: #6a6f74;
}

.form-field.name {
  margin-bottom: 1.5rem;
}

.form-field.email {
  margin-bottom: 1.5rem;
}

.error-message {
  margin: 0.25rem 0;
  font-size: 0.75rem;
  color: #ff0102;
}

.error input {
  border-color: #ff0102;
}

.terms-of-service {
  margin: 1.5rem 0 1rem;
  text-align: left;
  font-size: 1.125rem;
  line-height: 1.333;
  color: #6a6f74;
}

.signup-form-wrapper {
  margin-bottom: 2.5rem;
}

.signup-content {
  padding: 3rem 0 0;
}

.signup-content--narrow {
  max-width: 32rem;
  margin: 0 auto;
}

.signup-text ul {
  list-style: none;
  padding: 0;
}

.signup-text li {
  position: relative;
  padding-left: 2rem;
  margin-bottom: 1rem;
  font-size: 0.875rem;
  line-height: 1.5;
  color: #6a6f74;
}

.signup-text li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 5px;
  display: block;
  width: 1rem;
  height: 1rem;
  background-color: #1d252c;
  -webkit-mask-repeat: no-repeat;
  mask-repeat: no-repeat;
  -webkit-mask-image: url('https://newrelic.com/assets/images/tick.svg');
  mask-image: url('https://newrelic.com/assets/images/tick.svg');
  -webkit-mask-size: contain;
  mask-size: contain;
}

.signup-text li:last-child {
  margin-bottom: 0;
}

.signup-text li span {
  display: block;
  color: #1d252c;
}

.social-signup {
  margin-top: 1.5em;
}

.social-signup-separator {
  display: flex;
  align-items: center;
  margin-bottom: 1.5rem;
  text-align: center;
  color: #adadad;
}

.social-signup-separator::before,
.social-signup-separator::after {
  content: '';
  flex: 1 1 0%;
  height: 1px;
  background-color: #adadad;
}

.social-signup-separator::before {
  margin-right: 1.5rem;
}

.social-signup-separator::after {
  margin-left: 1.5rem;
}

.social-signup-buttons {
  display: flex;
  flex-wrap: wrap;
  border: 1px solid #cdd3d5;
  border-radius: 4px;
  overflow: hidden;
}

.social-signup-buttons img {
  height: 24px;
  padding: 2px;
}

.social-signup-buttons .btn {
  flex-basis: 50%;
  flex-grow: 1;
  height: calc(4rem - 2px);
  background-color: #fff;
  border: 0;
  border-radius: 0;
  color: #535e65;
}

.social-signup-buttons .btn:nth-child(even) {
  border-left: 1px solid #cdd3d5;
}

.social-signup-buttons .btn:nth-child(3),
.social-signup-buttons .btn:nth-child(4) {
  border-top: 1px solid #cdd3d5;
}

.footer {
  padding: 2.5rem 0;
  color: #898e91;
  background-color: #1d252c;
}

.footer a {
  color: #898e91;
  text-decoration: none;
}

.footer a:hover {
  text-decoration: underline;
}

.footer ul {
  display: flex;
  flex-wrap: wrap;
  list-style: none;
  margin-bottom: 0.75rem;
  padding: 0;
}

.footer li {
  margin-bottom: 0.75rem;
}

.footer li:not(:last-child) {
  margin-right: 1.5rem;
}

.footer .links a {
  color: #6a6f74;
}

.copyright {
  margin-bottom: 1.5rem;
}

.legal {
  font-size: 0.875rem;
}

.grecaptcha-badge {
  display: none;
}

body.thankyou .layout {
  grid-template-rows: auto 1fr auto;
}

.thankyou-content {
  display: none;
  flex-direction: column;
  justify-content: space-around;
  height: 100%;
  max-width: 28rem;
  margin: 0 auto;
  padding: 5rem 0;
}

.thankyou-content.display {
  display: flex;
}

.thankyou-content p {
  font-size: 1rem;
}

.progress-dots {
  margin-top: 20rem;
  width: 100%;
  max-width: 28rem;
}

.line {
  background-color: rgb(238, 239, 239);
  width: 100%;
  height: 2px;
  margin-bottom: 10px;

  display: flex;
  justify-content: space-between;
}

.dot {
  height: 8px;
  width: 8px;
  border-radius: 8px;
  margin-top: -3px;

  background-color: rgb(203, 207, 207);
}

.complete {
  background-color: #0095a9;
}

.dot-labels {
  width: 100%;
  display: flex;
  justify-content: space-between;

  font-size: 12px;
}

.dot-label {
  min-width: 80px;
}

.dot-label-incomplete {
  color: rgb(142, 148, 148);
}

.dot-label-center {
  text-align: center;
}

.dot-label-right {
  text-align: right;
}

.sr-only {
  position: absolute;
  width: 0.0625rem;
  height: 0.0625rem;
  padding: 0;
  margin: -0.0625rem;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border-width: 0;
}

.form-field.field-hide {
  visibility: hidden;
  max-height: 0px;
  transition-property: max-height;
  transition-duration: 300ms;
  transition-timing-function: ease-in-out;
  margin-bottom: 0;
}

.form-field.field-show {
  visibility: visible;
  max-height: 4rem;
  transition-property: max-height;
  transition-duration: 300ms;
  transition-timing-function: ease-in-out;
}

@media only screen and (min-width: 48em) {
  body .signup {
    color: #f9fafa;
    background-color: #1d252c;
  }

  h1 {
    width: 80%;
    margin-bottom: 1.5rem;
    font-size: 3.5rem;
    letter-spacing: -0.02em;
    color: #1d252c;
  }

  h1 span::before {
    width: 121%;
    padding-bottom: 48%;
    margin-top: 0;
  }

  h2 {
    position: relative;
    padding: 0;
    margin-bottom: 7rem;
    padding-left: 2rem;
    color: #898e91;
  }

  h2::after {
    content: '';
    position: absolute;
    right: 85%;
    top: 88%;
    width: 104px;
    height: 104px;
    background: url('https://newrelic.com/assets/images/bg-arrow.svg') center center / contain;
  }

  .signup-content {
    display: grid;
    gap: 1.5rem;
    grid-template-columns: repeat(12, 1fr);
    align-items: center;
    min-height: 100vh;
    padding-bottom: 3rem;
  }

  .signup-form-wrapper {
    grid-column: 1/8;
    padding: 2.5rem;
    margin-bottom: 0;
    background-color: #f9fafa;
    border-radius: 16px;
    box-shadow: 0px 4px 32px rgba(84, 86, 90, 0.16);
  }

  .signup-content--narrow .signup-form-wrapper {
    grid-column: 1/-1;
  }

  .terms-of-service {
    margin-bottom: 1.125rem;
    font-size: 0.875rem;
    line-height: 1.5;
    letter-spacing: -0.005em;
  }

  .terms-of-service a {
    display: inline-block;
  }

  .login {
    font-size: 0.875rem;
    line-height: 1.5;
  }

  .signup-text {
    grid-column: 9/-1;
  }

  .signup-text li {
    color: #898e91;
  }

  .signup-text li::before {
    background-color: #f9fafa;
  }

  .signup-text li span {
    color: #f9fafa;
  }
}

@media only screen and (min-width: 62em) {
  body {
    font-size: 1.125rem;
  }

  .signup-form-wrapper {
    grid-column: 2/8;
  }

  .signup-text {
    grid-column: 9/12;
  }

  .social-signup-buttons {
    flex-wrap: nowrap;
  }

  .social-signup-buttons .btn {
    flex-basis: auto;
  }

  .social-signup-buttons .btn:nth-child(3),
  .social-signup-buttons .btn:nth-child(4) {
    border-top: 0;
  }

  .social-signup-buttons .btn:not(:first-child) {
    border-left: 1px solid #cdd3d5;
  }

  .links,
  .legal {
    display: flex;
    justify-content: space-between;
  }

  .links ul:first-child {
    order: 2;
  }

  .copyright {
    margin-bottom: 0;
  }
}

@media only screen and (max-width: 47.938em) {
  .signup-text {
    margin-left: -40px;
    margin-right: -40px;
    padding: 40px;
    background-color: #f1f2f2;
  }
}
