:root {
  --accent: #55c7d0;
  --highlight: #feb602;
  --primary: #1149bc;
  --text: #fff;
}

* {
  box-sizing: border-box;
}

html {
  min-height: 100%;
  -webkit-text-size-adjust: 100%;
}

body {
  min-height: 100vh;
  margin: 0;
  font-family: Verdana, Geneva, sans-serif;
  font-size: 14px;
  line-height: 20px;
}

button,
input,
select,
textarea {
  color: inherit;
  font: inherit;
}

button {
  cursor: pointer;
}

img {
  max-width: 100%;
  vertical-align: middle;
}

[hidden] {
  display: none !important;
}

.clean-body {
  color: var(--text);
  background-color: var(--primary);
  background-image:
    linear-gradient(150deg, rgba(0, 0, 0, 0.8) 15%, transparent),
    url("assets/pattern.svg");
  background-position:
    0 0,
    0 0;
  background-repeat: repeat, no-repeat;
  background-size: auto, cover;
  background-attachment: scroll, fixed;
}

.clean-header {
  position: fixed;
  z-index: 10;
  inset: 0 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 24px;
}

.brand-link {
  display: block;
  flex: 0 0 auto;
  line-height: 0;
}

.brand-logo {
  display: block;
  width: 160px;
  height: auto;
}

.header-texas {
  display: block;
  flex: 0 0 auto;
  width: 56px;
  height: auto;
  opacity: 0.45;
  pointer-events: none;
  user-select: none;
}

.clean-main {
  position: absolute;
  z-index: 1;
  inset: 72px 0;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
}

.clean-hero {
  display: flex;
  width: 100%;
  max-width: 1024px;
  align-items: flex-start;
  justify-content: space-between;
}

.clean-hero-content {
  display: flex;
  width: 580px;
  flex-flow: column;
  align-items: flex-start;
  gap: 18px;
  font-size: 16px;
  line-height: 24px;
}

.clean-hero-headline {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 12px;
}

.compensation-image {
  width: 200px;
  height: auto;
}

.clean-hero-pitch,
.clean-hero-thank-you {
  margin: 20px 0 10px;
  font-size: 38px;
  font-weight: 700;
  line-height: 44px;
}

.clean-hero-sub-text {
  opacity: 0.8;
}

.featured-image {
  display: block;
  width: 320px;
  height: auto;
}

.clean-hero-survey {
  width: 370px;
  height: 400px;
}

.clean-form,
.slides {
  width: 100%;
}

.slides {
  min-height: 420px;
}

.clean-slide {
  width: 100%;
  animation: slide-in 180ms ease-out;
}

@keyframes slide-in {
  from {
    opacity: 0;
    transform: translateX(8px);
  }

  to {
    opacity: 1;
    transform: translateX(0);
  }
}

.clean-slide-step-label {
  opacity: 0.5;
  font-size: 12px;
}

.clean-slide-field-label {
  display: block;
  margin: 4px 0 0;
  color: var(--highlight);
  font-size: 16px;
  font-weight: 700;
  line-height: 24px;
}

.clean-radio-list {
  margin-top: 12px;
}

.clean-radio-field {
  display: block;
  margin-bottom: 10px;
  background-color: rgba(0, 0, 0, 0.35);
  font-weight: 700;
}

.clean-radio-field input {
  position: absolute;
  width: 1px;
  height: 1px;
  opacity: 0;
  pointer-events: none;
}

.clean-radio-label {
  display: block;
  width: 100%;
  border: 2px solid transparent;
  padding: 8px;
  cursor: pointer;
  font-weight: 400;
}

.clean-radio-label:hover {
  border-color: #000;
}

.clean-radio-field input:focus-visible + .clean-radio-label {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
}

.clean-radio-field input:checked + .clean-radio-label {
  border-color: var(--accent);
  color: var(--accent);
}

.clean-slide.has-error
  .clean-radio-field
  input:checked
  + .clean-radio-label {
  border-color: #b91c1c;
  color: #fff;
  background-color: #b91c1c;
}

.error-message {
  display: none;
  padding: 4px 8px 8px;
  color: #fff;
  font-size: 12px;
  font-weight: 400;
}

.clean-slide.has-error .error-message {
  display: block;
}

.clean-slide-navigation {
  display: flex;
  width: 100%;
  align-items: center;
  justify-content: flex-end;
  gap: 7px;
  margin-top: 4px;
}

.clean-slide-next-button,
.clean-slide-submit {
  border: 0;
  border-radius: 0;
  color: #000;
  background-color: var(--highlight);
  padding: 9px 15px;
  line-height: inherit;
  transition: opacity 0.3s ease;
}

.clean-slide-next-button:hover:not(:disabled),
.clean-slide-submit:hover:not(:disabled) {
  filter: brightness(110%);
}

.clean-slide-back-button {
  border: 0;
  border-radius: 0;
  opacity: 0.75;
  color: #fff;
  background-color: transparent;
  padding: 9px 15px;
  line-height: inherit;
}

.clean-slide-back-button:hover {
  opacity: 1;
}

.is-disabled,
button:disabled {
  cursor: not-allowed;
  opacity: 0.5;
  pointer-events: none;
}

.clean-slide-field-desc {
  margin-top: 8px;
  opacity: 0.9;
  color: #fff;
  font-size: 12px;
}

.clean-textarea,
.clean-select,
.clean-input {
  display: block;
  width: 100%;
  min-height: 38px;
  border: 1px solid var(--primary);
  border-radius: 0;
  margin-bottom: 10px;
  padding: 8px 12px;
  color: #fff;
  background-color: rgba(0, 0, 0, 0.35);
  font-size: 14px;
  line-height: 1.42857;
}

.clean-textarea {
  min-height: 100px;
  margin-top: 8px;
  resize: vertical;
}

.clean-select {
  height: 38px;
  margin-top: 8px;
}

.clean-input {
  height: 38px;
  margin-top: 4px;
}

.clean-textarea::placeholder,
.clean-input::placeholder {
  color: #999;
}

.clean-textarea:focus,
.clean-select:focus,
.clean-input:focus {
  border-color: var(--accent);
  outline: 0;
}

.clean-input.input-error {
  border-color: #b91c1c;
}

.clean-slide-message {
  color: var(--accent);
  font-size: 22px;
  font-weight: 700;
  line-height: 28px;
}

.clean-form-field-split {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 4px;
}

.clean-slide-submit {
  margin-top: 8px;
  padding: 12px 18px;
  font-size: 16px;
  font-weight: 400;
}

.agreement {
  max-width: 790px;
  margin: 0 0 10px;
  color: rgba(255, 255, 255, 0.6);
  font-size: 9px;
  line-height: 12px;
}

.agreement a {
  color: rgba(255, 255, 255, 0.65);
}

.submit-error {
  margin: 12px 0 0;
  color: #ffb4b4;
  font-size: 13px;
  line-height: 18px;
}

.clean-success {
  width: 100%;
  padding: 20px;
  text-align: center;
  background-color: var(--primary);
}

.clean-success a {
  color: var(--highlight);
}

.clean-footer {
  position: fixed;
  z-index: 10;
  inset: auto 0 0;
  display: flex;
  max-width: 1024px;
  align-items: center;
  justify-content: space-between;
  gap: 6px;
  margin-right: auto;
  margin-left: auto;
  padding: 24px 0;
}

.clean-footer-content {
  display: flex;
  flex-flow: column;
  align-items: flex-start;
  justify-content: flex-start;
  gap: 4px;
}

.clean-footer-info {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 6px;
}

.clean-footer-button {
  border: 0;
  color: #fff;
  background-color: transparent;
  padding: 2px;
  font-weight: 700;
}

.clean-footer-copyright {
  opacity: 0.75;
  font-size: 11px;
}

.footer-agreement {
  margin-bottom: 0;
}

.accent-link {
  color: var(--accent) !important;
  text-decoration: none;
}

.clean-footer-links {
  display: flex;
  align-items: center;
  gap: 12px;
}

.clean-footer-links a {
  opacity: 0.75;
  color: #fff;
  font-size: 12px;
  text-decoration: none;
}

.clean-footer-links a:hover {
  opacity: 1;
  text-decoration: underline dashed;
  text-underline-offset: 3px;
}

.faq-modal {
  position: fixed;
  z-index: 100;
  inset: 0 0 0 auto;
  display: flex;
  width: 90%;
  max-width: 400px;
  flex-flow: column;
  align-items: flex-start;
  gap: 12px;
  overflow: visible;
  border: 2px solid var(--accent);
  color: #fff;
  background-color: var(--primary);
  background-image: linear-gradient(rgba(0, 0, 0, 0.71) 15%, transparent);
  transform: translateX(calc(100% + 4px));
  transition: transform 250ms ease;
}

.faq-modal.is-open {
  transform: translateX(0);
}

.faq-modal-title {
  position: absolute;
  inset: 0 0 auto;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 10px;
}

.faq-modal-close-button {
  position: static;
  border: 0;
  color: #fff;
  background-color: var(--accent);
  padding: 9px 15px;
}

.faq-title {
  font-size: 18px;
  font-weight: 700;
}

.modal-content {
  position: absolute;
  inset: 42px 0 0;
  overflow: auto;
  padding: 24px;
}

.faq-item {
  margin-bottom: 12px;
}

.faq-item h2 {
  margin: 0;
  font-size: 14px;
  font-style: normal;
  font-weight: 700;
  line-height: 20px;
}

.faq-item p {
  margin: 0 0 10px;
  opacity: 0.75;
  font-size: 12px;
}

.clean-hero-content-full {
  width: 100%;
}

.clean-hero-attention {
  margin-top: 8px;
  opacity: 0.8;
  color: var(--accent);
  font-size: 16px;
  font-weight: 700;
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  clip: rect(0 0 0 0);
  clip-path: inset(50%);
  overflow: hidden;
  white-space: nowrap;
}

@media screen and (min-width: 1280px) {
  .clean-footer,
  .clean-hero {
    max-width: 1140px;
  }

  .clean-footer-button {
    font-size: 16px;
  }

  .clean-hero-content {
    width: 650px;
  }

  .clean-hero-pitch,
  .clean-hero-thank-you {
    font-size: 42px;
    line-height: 52px;
  }

  .clean-hero-sub-text {
    font-size: 18px;
    line-height: 28px;
  }

  .clean-hero-survey {
    width: 420px;
  }

  .clean-slide-step-label {
    font-size: 14px;
  }

  .clean-slide-field-label {
    font-size: 18px;
    line-height: 32px;
  }

  .clean-radio-label,
  .clean-slide-next-button,
  .clean-slide-back-button {
    font-size: 16px;
  }

  .clean-slide-message {
    padding-top: 4px;
    padding-bottom: 4px;
  }

  .clean-hero-attention {
    font-size: 18px;
    line-height: 28px;
  }
}

@media screen and (max-width: 991px) {
  .clean-footer {
    padding-right: 10px;
    padding-left: 10px;
  }

  .clean-hero {
    flex-flow: column;
    align-items: center;
    justify-content: center;
    gap: 22px;
  }

  .clean-hero-content {
    align-items: center;
    justify-content: flex-start;
    gap: 6px;
  }

  .clean-hero-sub-text,
  .clean-slide-step-label,
  .clean-slide-field-label,
  .clean-slide-field-desc,
  .clean-slide-message,
  .clean-hero-attention,
  .clean-hero-thank-you {
    text-align: center;
  }

  .clean-hero-sub-text,
  .clean-hero-attention {
    font-size: 14px;
  }

  .compensation-image {
    max-width: 180px;
  }

  .clean-slide-message {
    padding-bottom: 6px;
  }

  .clean-footer-content {
    display: flex;
    flex-flow: column;
  }
}

@media screen and (max-width: 767px) {
  .clean-header {
    position: static;
  }

  .clean-main {
    position: static;
  }

  .clean-footer {
    position: static;
    flex-flow: column;
    gap: 24px;
    margin-top: 24px;
  }

  .clean-footer-button {
    order: -1;
  }

  .clean-hero-content {
    width: 100%;
    gap: 8px;
  }

  .clean-hero-pitch,
  .clean-hero-thank-you {
    font-size: 28px;
    line-height: 36px;
  }

  .clean-hero-survey {
    border-top: 1px solid rgba(255, 255, 255, 0.2);
    padding-top: 12px;
  }

  .compensation-image {
    max-width: 160px;
  }

  .agreement {
    text-align: center;
  }

  .clean-footer-content {
    align-items: center;
    justify-content: flex-start;
    gap: 6px;
  }

  .clean-footer-info {
    align-items: center;
    justify-content: center;
  }
}

@media screen and (max-width: 479px) {
  .clean-header {
    gap: 6px;
  }

  .brand-logo {
    width: 120px;
  }

  .header-texas {
    width: 44px;
  }

  .clean-footer {
    padding-bottom: 48px;
  }

  .clean-hero-content {
    gap: 10px;
  }

  .clean-hero-headline {
    flex-flow: column;
    gap: 0;
  }

  .clean-hero-pitch,
  .clean-hero-thank-you {
    margin-top: 4px;
    margin-bottom: 0;
    text-align: center;
    font-size: 24px;
    line-height: 30px;
  }

  .clean-hero-sub-text {
    font-size: 12px;
    line-height: 20px;
  }

  .clean-hero-survey {
    width: 100%;
  }

  .clean-slide-next-button {
    padding: 12px 18px;
    font-size: 18px;
    line-height: 22px;
  }

  .clean-slide-navigation {
    align-items: center;
    justify-content: center;
  }

  .compensation-image {
    max-width: 120px;
  }

  .clean-hero-attention {
    font-size: 12px;
    line-height: 20px;
  }

  .clean-footer-info {
    flex-flow: column;
    gap: 2px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .clean-slide {
    animation: none;
  }

  .faq-modal {
    transition: none;
  }
}
