[data-home-hero-actions] {
  --joto-home-hero-action-width: auto;
  display: flex;
  width: auto;
  max-width: 100%;
  flex-wrap: wrap;
  align-items: center;
  align-self: flex-start;
  justify-content: flex-start;
  gap: 12px 16px;
  margin-top: 20px;
}

[data-home-hero-actions] [data-hero-cta] {
  display: inline-flex !important;
  flex: 0 0 auto;
  width: var(--joto-home-hero-action-width) !important;
  min-width: var(--joto-home-hero-action-width);
  max-width: 100%;
  height: 48px;
  min-height: 48px;
  margin: 0 !important;
  padding-inline: 28px;
  white-space: nowrap;
}

[data-home-hero-contact-cta] {
  border: 1px solid rgba(128, 211, 165, 0.72);
  background: rgba(7, 11, 10, 0.52) !important;
  color: #fff !important;
}

[data-home-hero-contact-cta]:hover {
  border-color: #80d3a5;
  background: #80d3a5 !important;
  color: #07110d !important;
}

.joto-solution-contact {
  position: relative;
  width: min(100%, 1440px);
  margin: 0 auto;
  padding: 96px 20px;
  color: #07110d;
}

.joto-solution-contact__grid {
  display: grid;
  gap: 48px;
  border-top: 1px solid rgba(7, 11, 10, 0.25);
  padding-top: 24px;
}

.joto-solution-contact__eyebrow {
  margin: 0;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
}

.joto-solution-contact__title {
  max-width: 620px;
  margin: 24px 0 0;
  font-size: clamp(42px, 6.4vw, 92px);
  font-weight: 500;
  line-height: 0.9;
  letter-spacing: -0.065em;
}

.joto-solution-contact__description {
  max-width: 560px;
  margin: 28px 0 0;
  color: rgba(7, 11, 10, 0.62);
  font-size: 16px;
  line-height: 1.75;
}

.joto-solution-contact__form {
  align-self: start;
  border: 1px solid rgba(255, 255, 255, 0.15);
  background: #07110d;
  padding: 28px;
  color: #fff;
}

.joto-solution-contact__form-header {
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
  padding-bottom: 24px;
}

.joto-solution-contact__form-header h3 {
  margin: 0;
  font-size: 20px;
  font-weight: 500;
  letter-spacing: -0.03em;
}

.joto-solution-contact__form-header p {
  margin: 8px 0 0;
  color: rgba(255, 255, 255, 0.36);
  font-size: 12px;
  font-weight: 400;
  line-height: 1.6;
}

.joto-solution-contact__fields {
  display: grid;
  gap: 22px 20px;
  margin-top: 28px;
}

.joto-solution-contact__field {
  display: grid;
  gap: 9px;
}

.joto-solution-contact__field label {
  color: rgba(255, 255, 255, 0.65);
  font-size: 12px;
}

.joto-solution-contact__field label span {
  color: #80d3a5;
}

.joto-solution-contact__field input,
.joto-solution-contact__field textarea {
  width: 100%;
  box-sizing: border-box;
  border: 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 0;
  outline: 0;
  background: transparent;
  padding: 10px 0 12px;
  color: #fff;
  font: inherit;
}

.joto-solution-contact__field input:focus,
.joto-solution-contact__field textarea:focus {
  border-bottom-color: #80d3a5;
}

.joto-solution-contact__field input[type="email"] {
  direction: ltr;
}

.joto-solution-contact__field input::placeholder,
.joto-solution-contact__field textarea::placeholder {
  color: rgba(255, 255, 255, 0.38);
  font-size: 12px;
  font-weight: 400;
  opacity: 1;
}

.joto-solution-contact__field textarea {
  min-height: 118px;
  resize: vertical;
}

textarea[data-product-prefilled="true"] {
  border-bottom-color: rgba(128, 211, 165, 0.72);
}

.joto-solution-contact__field--full {
  grid-column: 1 / -1;
}

.joto-solution-contact__honeypot {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.joto-solution-contact__actions {
  display: flex;
  align-items: center;
  justify-content: center;
  margin-top: 28px;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  padding-top: 24px;
}

.joto-solution-contact__submit {
  display: inline-flex;
  flex: 0 0 280px;
  width: 280px;
  max-width: 100%;
  height: 48px;
  min-height: 48px;
  align-items: center;
  justify-content: center;
  gap: 18px;
  border: 0;
  border-radius: 999px;
  background: #80d3a5;
  padding: 0 12px;
  color: #07110d;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.08em;
  white-space: nowrap;
  cursor: pointer;
}

.joto-solution-contact__submit-icon {
  display: grid;
  width: 34px;
  height: 34px;
  flex: 0 0 34px;
  place-items: center;
  border-radius: 999px;
  background: #07110d;
  color: #80d3a5;
}

.joto-solution-contact__submit-icon-svg {
  display: block;
  width: 16px;
  height: 16px;
}

.joto-solution-contact__submit:disabled {
  cursor: wait;
  opacity: 0.65;
}

.joto-solution-contact__status {
  min-height: 22px;
  margin: 18px 0 0;
  color: rgba(255, 255, 255, 0.7);
  font-size: 13px;
  line-height: 1.6;
  text-align: center;
}

.joto-solution-contact__status a {
  color: #80d3a5;
  text-decoration: underline;
  text-underline-offset: 3px;
}

#contact [data-home-contact-layout] {
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
  gap: 64px;
  align-items: start;
}

.joto-home-contact__copy {
  min-width: 0;
}

.joto-home-contact__copy h2 {
  max-width: 38rem;
  margin-top: 40px;
  font-size: clamp(2.75rem, 5.5vw, 5.5rem);
  line-height: 0.95;
  letter-spacing: -0.055em;
}

html:lang(en) #contact .joto-home-contact__copy h2 {
  max-width: 32rem;
  font-size: clamp(36px, 3.2vw, 48px) !important;
  line-height: 1.12 !important;
  font-weight: 500;
  letter-spacing: -0.04em;
}

.joto-home-contact__copy > p:last-child {
  max-width: 36rem;
  margin-top: 28px;
}

.joto-home-contact__form-panel {
  min-width: 0;
}

.joto-home-contact__form-panel .joto-solution-contact__form {
  width: 100%;
}

#contact [data-home-contact-links] {
  margin-top: 64px !important;
}

html[dir="rtl"] [data-home-hero-actions] {
  align-self: flex-end;
  flex-direction: row;
  justify-content: flex-end;
}

html[dir="rtl"] .joto-solution-contact__submit {
  flex-direction: row-reverse;
}

@media (min-width: 640px) {
  .joto-solution-contact {
    padding-right: 32px;
    padding-left: 32px;
  }

  .joto-solution-contact__fields {
    grid-template-columns: 1fr 1fr;
  }
}

@media (min-width: 1024px) {
  .joto-solution-contact {
    padding: 128px 48px;
  }

  .joto-solution-contact__grid {
    grid-template-columns: minmax(0, 5fr) minmax(520px, 7fr);
    gap: 64px;
  }

  .joto-solution-contact__form {
    padding: 36px;
  }
}

@media (max-width: 1023px) {
  #contact [data-home-contact-layout] {
    grid-template-columns: minmax(0, 1fr);
    gap: 40px;
  }
}

@media (max-width: 639px) {
  .joto-solution-contact__submit {
    width: 100%;
    max-width: 280px;
  }
}

@media (prefers-reduced-motion: reduce) {
  [data-home-hero-actions] [data-hero-cta] {
    transition: none;
  }
}
