.tutor-demo-form {
  margin: 0 auto;
  background: #ffffff;
  font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
}

.tutor-demo-form__hero {
  position: relative;
  overflow: hidden;
  padding: 40px;
  border-radius: 24px;
  margin-bottom: 80px;
}

.tutor-demo-form__hero-bg,
.tutor-demo-form__hero-bg-sky,
.tutor-demo-form__hero-bg-mask,
.tutor-demo-form__hero-bg-overlay {
  position: absolute;
  inset: 0;
  border-radius: inherit;
}

.tutor-demo-form__hero-bg {
  pointer-events: none;
}

.tutor-demo-form__hero-bg-sky {
  background-image: var(--tutor-demo-hero-sky-url);
  background-position: center top;
  background-repeat: no-repeat;
  background-size: cover;
}

.tutor-demo-form__hero-bg-mask {
  background: linear-gradient(
    180deg,
    rgba(166, 210, 255, 0.28) 0%,
    rgba(214, 233, 255, 0.12) 35%,
    rgba(255, 255, 255, 0) 58%
  );
}

.tutor-demo-form__hero-bg-overlay {
  background: linear-gradient(
    180deg,
    rgba(255, 255, 255, 0) 42%,
    rgba(255, 255, 255, 0.55) 72%,
    #ffffff 100%
  );
}

.tutor-demo-form__inner {
  position: relative;
  z-index: 1;
  min-height: 664px;
  margin: 0 auto;
}

.tutor-demo-form--success .tutor-demo-form__hero {
  display: flex;
  flex-direction: column;
  min-height: 520px;
}

.tutor-demo-form--success .tutor-demo-form__inner {
  display: flex;
  flex: 1;
  flex-direction: column;
  width: 100%;
}

.tutor-demo-form--success .tutor-demo-form__card {
  display: flex;
  flex: 1;
  flex-direction: column;
  justify-content: center;
}

.tutor-demo-form--success .tutor-demo-form__body {
  display: flex;
  flex: 1;
  align-items: center;
  justify-content: center;
}

.tutor-demo-form--success .tutor-demo-form__promo {
  display: none;
}

.tutor-demo-form__card {
  padding: 32px;
  background: #ffffff;
  border-radius: 24px;
}

.tutor-demo-form__header {
  margin-bottom: 16px;
}

.tutor-demo-form__title {
  font-weight: 500;
  font-size: 26px;
  line-height: 32px;
  color: #0f0f0f;
}

.tutor-demo-form__field {
  margin-bottom: 16px;
}

.tutor-demo-form__field--hidden {
  display: none;
}

.tutor-demo-form__label {
  display: block;
  margin-bottom: 6px;
  font-size: 14px;
  font-weight: 500;
  color: #5f6368;
}

.tutor-demo-form__label--sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.tutor-demo-form__input,
.tutor-demo-form__select {
  width: 100%;
  height: 38px;
  padding: 0 14px;
  font-size: 14px;
  line-height: 22px;
  color: #0c111d;
  border-radius: 8px;
  transition:
    border-color 0.15s ease,
    box-shadow 0.15s ease;
}

.tutor-demo-form__input {
  background: #f3f4f6;
  border: 1px solid transparent;
}

.tutor-demo-form__input::placeholder {
  color: #8c8c8c;
}

.tutor-demo-form__input:focus,
.tutor-demo-form__select:focus {
  outline: none;
  border-color: #c6c6c6;
  box-shadow: 0 0 0 3px rgba(0, 0, 0, 0.06);
}

.tutor-demo-form__input:focus {
  background: #ffffff;
}

.tutor-demo-form__select {
  padding-right: 44px;
  background-color: #ffffff;
  border: 1px solid #ececed;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%23333333' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
  background-size: 16px 16px;
  cursor: pointer;
}

.tutor-demo-form__submit {
  display: block;
  width: 100%;
  margin-top: 56px;
  padding: 12px 0;
  font-weight: 500;
  font-size: 16px;
  line-height: 22px;
  color: #ffffff;
  background: #000000;
  border-radius: 50px;
  transition: opacity 0.15s ease;
}

.tutor-demo-form__submit:hover:not(:disabled) {
  opacity: 0.92;
}

.tutor-demo-form__submit:disabled {
  opacity: 0.7;
  cursor: not-allowed;
}

.tutor-demo-form__message {
  display: none;
  margin-top: 18px;
  padding: 12px 16px;
  font-size: 16px;
  line-height: 1.5;
  border-radius: 10px;
}

.tutor-demo-form__message--error {
  color: #9b1c1c;
  background: #fdf2f2;
  border: 1px solid #f8b4b4;
}

.tutor-demo-form__message--error .tutor-demo-form__message-site-label {
  font-weight: 600;
}

.tutor-demo-form__message--error .tutor-demo-form__message-link {
  color: #1d4ed8;
  font-weight: 600;
  word-break: break-all;
}

.tutor-demo-form__success {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: 100%;
  padding: 24px 0;
  text-align: center;
}

.tutor-demo-form__success[hidden] {
  display: none;
}

.tutor-demo-form__success-icon {
  display: block;
  width: 48px;
  height: 48px;
  margin: 0 auto 32px;
}

.tutor-demo-form__success-eyebrow {
  margin: 0 0 8px;
  font-size: 26px;
  line-height: 32px;
  font-weight: 500;
  color: rgba(0, 0, 0, 0.6);
}

.tutor-demo-form__success-title {
  margin: 0 0 16px;
  font-size: 26px;
  line-height: 32px;
  font-weight: 500;
  color: #0f0f0f;
}

.tutor-demo-form__success-text {
  margin: 0 0 48px;
  font-size: 16px;
  line-height: 22px;
  font-weight: 400;
  color: rgba(0, 0, 0, 0.7);
}

.tutor-demo-form__success-btn {
  padding: 8px 0;
  min-width: 220px;
  font-weight: 500;
  font-size: 16px;
  line-height: 22px;
  color: #ffffff;
  background: #000000;
  border-radius: 50px;
  transition: opacity 0.15s ease;
}

.tutor-demo-form__success-btn:hover {
  opacity: 0.92;
}

.tutor-demo-form__footer {
  margin-top: 10px;
  font-size: 12px;
  font-weight: 450;
  line-height: 20px;
  text-align: center;
  color: rgba(0, 0, 0, 0.7);
}

.tutor-demo-form__promo {
  margin-top: 34px;
  text-align: center;
}

.tutor-demo-form__brand {
  display: flex;
  justify-content: center;
  margin-bottom: 8px;
}

.tutor-demo-form__logo {
  width: auto;
  max-width: 180px;
  height: auto;
}

.tutor-demo-form__tagline {
  font-size: 12px;
  line-height: 20px;
  font-weight: 450;
  color: #0f0f0f;
}

.tutor-demo-form__gallery {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 8px;
  margin: 8px 0;
  background-color: #ffffff;
  border-radius: 24px;
  padding: 8px;
}

.tutor-demo-form__gallery-item {
  overflow: hidden;
  border-radius: 18px;
  aspect-ratio: 3 / 4;
}

.tutor-demo-form__gallery-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.tutor-demo-form__stat {
  font-size: 14px;
  line-height: 20px;
  color: rgba(0, 0, 0, 0.7);
}

.tutor-demo-form__stat-value {
  font-weight: 500;
}

.tutor-demo-site-footer {
  width: 100vw;
  max-width: 100vw;
  margin-left: calc(50% - 50vw);
  margin-right: calc(50% - 50vw);
  box-sizing: border-box;
  background: #ffffff;
  font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
}

.tutor-demo-site-footer__inner {
  border-top: 1px solid #eeeeee;
  width: 100%;
  max-width: 1280px;
  margin: 0 auto;
  padding-top: 32px;
}

.tutor-demo-site-footer__top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 20px;
}

.tutor-demo-site-footer__brand {
  display: inline-flex;
  flex-shrink: 0;
}

.tutor-demo-site-footer__brand img {
  width: auto;
  height: 48px;
}

.tutor-demo-site-footer__social {
  display: flex;
  align-items: center;
  gap: 16px;
}

.tutor-demo-site-footer__social-link {
  display: inline-flex;
  color: #666666;
  transition: color 0.15s ease;
}

.tutor-demo-site-footer__social-link:hover {
  color: #0f0f0f;
}

.tutor-demo-site-footer__social-link img {
  width: 16px;
  height: 16px;
}

.tutor-demo-site-footer__desc {
  max-width: 354px;
  margin-bottom: 24px;
  font-size: 14px;
  line-height: 20px;
  color: #0f0f0f;
}

.tutor-demo-site-footer__nav {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  margin-bottom: 20px;
}

.tutor-demo-site-footer__nav-link {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-size: 12px;
  line-height: 20px;
  color: rgba(0, 0, 0, 0.7);
  transition: color 0.15s ease;
}

.tutor-demo-site-footer__nav-link:hover {
  color: #0f0f0f;
}

.tutor-demo-site-footer__nav-link--site,
.tutor-demo-site-footer__nav-link--site:hover {
  color: rgba(0, 73, 248, 1);
}

.tutor-demo-site-footer__external-icon {
  flex-shrink: 0;
}

.tutor-demo-site-footer__copyright {
  font-size: 12px;
  line-height: 20px;
  color: rgba(0, 0, 0, 7);
}

@media (max-width: 560px) {
  .tutor-demo-form {
    padding: 16px 12px;
  }

  .tutor-demo-form__hero {
    padding: 32px 12px 40px;
    border-radius: 28px;
  }

  .tutor-demo-form--success .tutor-demo-form__hero {
    min-height: 460px;
  }

  .tutor-demo-form__tagline {
    margin-bottom: 8px;
    font-size: 12px;
    line-height: 20px;
  }

  .tutor-demo-form__card {
    padding: 24px 20px;
    border-radius: 28px;
  }

  .tutor-demo-form__title {
    font-size: 24px;
    line-height: 30px;
  }

  .tutor-demo-form__success-title {
    font-size: 24px;
    line-height: 30px;
  }

  .tutor-demo-form__gallery {
    gap: 8px;
    margin-bottom: 20px;
  }

  .tutor-demo-form__gallery-item {
    border-radius: 14px;
  }

  .tutor-demo-form__stat {
    line-height: 22px;
  }

  .tutor-demo-site-footer__inner {
    padding: 32px 20px;
  }

  .tutor-demo-site-footer__top {
    flex-direction: column;
    align-items: flex-start;
    gap: 20px;
  }
}
